Všechna hlášení
Hlášení Golfie
#136391: "Use $-variables in text templates instead of splitting sentence into different text templates"
implemented: Tento návrh byl implementován
1
Čeho se toto hlášení týká?
Co se stalo? Prosím vyberte níže
Podnět: podle mého názoru by následující významně vylepšilo hru
Detailní popis
• Prosím popiš svůj návrh přesně a konzistentně, aby bylo snadné pochopit, co máš na mysli.
This suggestion helps to translate the texts of the game into many different languages:
For sentences like "Thomas completed the hole in 5 strokes", you currently use several different text templates:
player_name AND "completed the hole in" AND "strokes"
Volunteer translators are therefore translation these text templates separate, e.g. German: "strokes" = "Schläge". But the whole sentence in German would be "Thomas hat das Loch in 5 Schlägen geschafft".
Please use one single text template, e.g.:
"${player_name} completed the hole in ${number_strokes} strokes"
This helps tranlation the whole sentence and the translator can place the $-variables at the position that best fits in the target language. (in this example: "${player_name} hat das Loch in ${number_strokes} Schlägen geschafft")
Same with "got a":
Instead of player_name + "got a" + "lost ball", please use text templates like "${player_name} got a ${lost_ball}" and "${player_name} got a ${combo}"
When you use separate text templates for different object (lost ball and combo), it allows to translate the word "a" using the correct gender, which is based on the following word (lost_ball and combo have different gramatical gender in some languages). In German: "a lost ball" = "einen Aus-Ball", but "a combo" = "eine Kombo".
• Jaký prohlížeč používáte?
Google Chrome v128
Historie hlášení
Thomas • Tento návrh zatím nebyl analyzován vývojáři:
1. zář 2024 12:13 • F5 (refresh) does not solve this problem, it must be fixed by the developer, as he/she defines the text templates, and the volunteer translators can only work around using ugly constructs.
vincentcroquette • Tento návrh byl implementován:
8. bře 2025 23:22 • It has just been implemented. However, it might not display properly due to an ongoing issue with translation rendering.
Doplňte tuto zprávu
Prosím přidej sem cokoli, co by mohlo být relevantní pro reprodukci této chyby nebo pochopení tvého návrhu:
- ID dalšího stolu / ID tahu
- Byla chyba odstraněna stisknutím F5?
- Objevila se tato chyba častěji? Pokaždé? Náhodně?
- Pokud máš snímek obrazvky zobrazující tuto chybu (doporučujeme!), můžeš použít Imgur.com pro nahrání obrázku a pak odkaz na tento obrázek na Imguru zkopírovat a vložit sem.