Solved Incorrect hardwood quantity in NotEnoughWood2 dialogue [Linux]

mouahrara

Greenhorn
Information:
  • OS Version: Unix 6.10.10.1
  • Stardew Valley Version: 1.6.9 'beta' (build 24290)
  • Code Decompiled with: Avalonia ILSpy 7.2 RC

Description:
The dialog box that informs players of insufficient hardwood for the second upgrade of the farmhouse does not consistently display the correct quantity of hardwood across different languages. This issue occurs because the game's code calls Game1.content.LoadString("Strings\\Locations:ScienceHouse_Carpenter_NotEnoughWood2", "100"), passing '100' as a parameter. However, in several languages, this parameter is ignored, and '150' is displayed instead :
Code:
      Locations.json:  "ScienceHouse_Carpenter_NotEnoughWood2": "Sorry... You have the money, but I also need {0} pieces of hardwood.",
Locations.de-DE.json:  "ScienceHouse_Carpenter_NotEnoughWood2": "Entschuldige... Du hast das Geld, aber ich brauche auch 150 Stücke Hartholz.",
Locations.es-ES.json:  "ScienceHouse_Carpenter_NotEnoughWood2": "Lo siento... Tienes el dinero, pero también necesito 150 trozos de madera noble.",
Locations.fr-FR.json:  "ScienceHouse_Carpenter_NotEnoughWood2": "Désolée... tu as l’argent, mais il me faut aussi 150 morceaux de bois dur.",
Locations.hu-HU.json:  "ScienceHouse_Carpenter_NotEnoughWood2": "Sajnálom... Van rá pénzed, de szükségem van még {0} darab keményfára.",
Locations.it-IT.json:  "ScienceHouse_Carpenter_NotEnoughWood2": "Mi spiace... I soldi li hai, ma mi servono anche 150 pezzi di legno duro.",
Locations.ja-JP.json:  "ScienceHouse_Carpenter_NotEnoughWood2": "ごめんなさい… お金は あるみたいだけど、 硬木が 150個 いるのよ。",
Locations.ko-KR.json:  "ScienceHouse_Carpenter_NotEnoughWood2": "미안... 돈은 되는데, 단단한 나무도 150개 필요해.",
Locations.pt-BR.json:  "ScienceHouse_Carpenter_NotEnoughWood2": "Desculpe... você tem o dinheiro, mas também preciso de 150 peças de madeira de lei.",
Locations.ru-RU.json:  "ScienceHouse_Carpenter_NotEnoughWood2": "Прости... Деньги у тебя есть, но мне еще нужно {0} ед. твердой древесины.",
Locations.tr-TR.json:  "ScienceHouse_Carpenter_NotEnoughWood2": "Üzgünüm... Paran var ama bana ayrıyeten {0} parça kereste lazım.",
Locations.zh-CN.json:  "ScienceHouse_Carpenter_NotEnoughWood2": "抱歉……你虽然有足够的钱,但我同时还需要 {0} 块硬木。",
 
Top