„Szerkesztővita:Margotbean” változatai közötti eltérés

Innen: Stardew Valley Wiki
Ugrás a navigációhoz Ugrás a kereséshez
54. sor: 54. sor:
 
I do not know the intention, it seems an error.
 
I do not know the intention, it seems an error.
 
[[Szerkesztő:Mihokjol|Mihokjol]] ([[Szerkesztővita:Mihokjol|vita]]) 2022. július 10., 12:26 (UTC)
 
[[Szerkesztő:Mihokjol|Mihokjol]] ([[Szerkesztővita:Mihokjol|vita]]) 2022. július 10., 12:26 (UTC)
 +
:There are two different cloud decals, and neither is available from the furniture catalogue. I suppose both of them could be listed on one line, but it looks better to have them on two lines (especially on narrow screens like mobile phones). That's the only reason, it's not an error. You can format the Hungarian page differently if you like. :) [[Szerkesztő:Margotbean|margotbean]] ([[Szerkesztővita:Margotbean|vita]]) 2022. július 10., 14:44 (UTC)

A lap 2022. július 10., 14:44-kori változata

Ez az oldal a Szerkesztő:Margotbean megbeszélésre van..
  • Írjuk be és dátumozzuk be az üzeneteinket négy hullámos vonal beírásával (~~~~).
  • Helyezzünk új szöveget a régi szöveg alá.
  • Legyen udvarias.
  • Tegyük fel, hogy mindenki jóhiszemű.
  • Ne töröljünk a beszélgetéseket.

Question about syntax 01

Hello Margotbean,

I feel a bit confused about the naming of the items in the infoboxes.

  • The day before yesterday you corrected my edit in Coffee Bean from "name = Coffee Bean" to "eng = Coffee Bean". It is a simple Infobox. I thought it is general. So I corrected the infoboxes of every item I edited.
  • Today you corrected my edit in Triple Shot Expresso from "eng = Triple Shot Expresso2 to "name = Tripla eszpresszó". It is an infobox cooking. So it differs from the above.

Is there a rule to differentiate between infoboxes regarding naming? What you suggest me to follow? Where to use "eng" with english name and where to use "name" with the hungarian.

I hope you can help me in the topic.

Thank you for your reply.

Mihokjol (vita) 2022. július 6., 19:04 (UTC)

Oh boy... I know it's confusing, and all infobox templates should be the same. Unfortunately they're not. Sablon:Infobox and Sablon:Infobox fish require "eng" to work properly. Sablon:Infobox cooking requires "name" because it is transcluded onto other pages. I think (without checking them all) that most others will accept "name" and "image" --or-- "eng" without problems. Sablon:Infobox cooking is the odd one.
You can check the documentation on the English page, there is a link on every Template page, and that may help. The documentation should tell you which to use. If you find an error in the documentation, I can update it! :)
I hope this helps... margotbean (vita) 2022. július 7., 14:13 (UTC)

Question about syntax 02

Hello Margotbean,

I started to translate the page Travelling Cart. The cart itself offers plenty of items from which many are automatically translated. The other half are not done so. These are mainly the furnitures. The situation is the same on the Furnitures page. Or if I edit a page of a specific furniture, e.g.: Country Lamp in English it shows the image, but in hungarian no. Vidéki lámpa With this I have to edit (translate) at least in three places the same information for all of the furnitures. I know I can do it by adding |alt=Vidéki lámpa|. But three times...

Can this be solved somehow? Can I do it somehow? For Recipes there is a working solution with |RecipeRow.

Thanks for the reply. Mihokjol (vita) 2022. július 8., 12:55 (UTC)

Sablon:Name needs to be updated to v1.5. If all furniture is added to Sablon:Name, then that will solve the problem for the Traveling Cart and the Furniture pages. For individual pages like "Vidéki lámpa", you have to add "image" to the infobox, there's no way to make it easier.
Do you have access to the game's data files? If not, there are instructions about how to 'unpack' them here (in English): https://stardewvalleywiki.com/Modding:Editing_XNB_files#Unpack_game_files
After that, the file Furniture.hu-HU.json will contain all the English and Hungarian names. It can be opened in any text editor. For me, I put them in a spreadsheet (like Microsoft Excel) and tweak them there, then copy/paste the final version into templates like Sablon:Name and Sablon:Description. Doing all that is on my "to do" list, but there's been so little activity on the Hungarian wiki, it got moved down the list, and I haven't done it yet.
I can do it if it sounds like too much to you! Please let me know, so we're not both working on the same thing. Also, let me know if anything I've said is unclear. Thank you! margotbean (vita) 2022. július 8., 14:17 (UTC)

Double item in Furniture Catalogue

Hello Margotbean,

I think there is a doubled item in the Furniture Catalogue. The Cloud Decal mentioned twice among the Unavailable Furnitures. The links lead to the same page. I do not know the intention, it seems an error. Mihokjol (vita) 2022. július 10., 12:26 (UTC)

There are two different cloud decals, and neither is available from the furniture catalogue. I suppose both of them could be listed on one line, but it looks better to have them on two lines (especially on narrow screens like mobile phones). That's the only reason, it's not an error. You can format the Hungarian page differently if you like. :) margotbean (vita) 2022. július 10., 14:44 (UTC)