Closed Aswn closed 2 years ago
You can reorder parameters if you need for the translation. See https://wiki.openttd.org/en/Archive/Source/OpenTTDDevBlackBook/Format%20of%20langfiles#changing-word-order It's quickly mentionned at the end of https://translator.openttd.org/static/docs/strings.html#string-commands section
In your example it would be ... from {1:STRING} to {2:STRING} {0:STRING} ...
en string: {BIG_FONT}{BLACK}Subsidy withdrawn:{}{}{STRING} service from {STRING} to {STRING} is no longer subsidised
string with context: {BIG_FONT}{BLACK}Subsidy withdrawn:{}{}{STRING1} service from {STRING2} to {STRING3} is no longer subsidised
context translated to: {BIG_FONT}{BLACK}Subsidy withdrawn:{}{} from {STRING2} to {STRING3} {STRING1} service is no longer subsidised
But I dont believe the context is translated properly in the current output. can someone clarify this or am I missing something?