所有案件
Golfie的案件
#136391: "Use $-variables in text templates instead of splitting sentence into different text templates"
implemented: 此建议已获实施
1
这个案件是关于哪方面的?
发生什么事? 请从下方选择
建议:依我来看,接下来的这些方法十分有助于改善游戏的实现
细节描述
• 请简明而精确地解释您的建议,以便让人明白您想表达的意思。
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".
• 您正使用哪一款浏览器呢?
Google Chrome v128
案件历史
Thomas • 此建议尚未被开发者分析过:
2024年9月 1日 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 • 此建议已获实施:
2025年3月 8日 23:22 • It has just been implemented. However, it might not display properly due to an ongoing issue with translation rendering.
增加一些新内容到这篇报告
任何可能重现这项漏洞或了解你的建议之相关资讯,都请在此填写:
- 其他的游戏桌 ID / 移动 ID
- 按 F5 是否解决了这个问题?
- 问题是否发生了好几次?还是每次都发生?还是时好时坏?
- 如果你有这个系统漏洞发生时的屏幕截图(画质不要太差),你可以使用Imgur.com来把它上传到网络,然后将链接复制/粘贴到这里来。