OpenTTD / eints

WebTranslator for OpenTTD and its add-ons
GNU General Public License v2.0
5 stars 11 forks source link

Unable to use STRING1 or anyother non standard modifiers in translations #29

Closed Aswn closed 3 years ago

Aswn commented 3 years ago

When i try to use STRING1 or STRING2 or RAW_STRING in translations from the base string, an error is shown.

Steps to replicate: (Translation to ta_IN) STR_TIMETABLE_TRAVEL_FOR_ESTIMATED Base lang string: Travel (for {STRING1}, not timetabled) Translation: பயணம் ({STRING1}, நேர அட்டவணை இடப்படாதது)

Throws the following error: Error: String command for position 0 is wrong, base language uses {STRING}, the translation uses {STRING1}

I am unable to save string unless these modifiers are corrected to STRING

glx22 commented 3 years ago

In translation you just need to replace them with {STRING}, all other kind are for master file only

TrueBrain commented 3 years ago

Seems the error needs to be more clear for new people :)

Wuzzy2 commented 3 years ago

Seems the error needs to be more clear for new people :)

I agree, I stumbled over this as well, I had to look it up in the manual to see what was going on. :-(

Eddi-z commented 3 years ago

my suggestion would be to just show all {STRINGn} as {STRING} to the translators.