Bug #6356

validation issue...

Added by planetmaker about 6 years ago. Updated about 6 years ago.

Status:ClosedStart date:2013-09-09
Priority:HighDue date:
Assignee:-% Done:

100%

Category:-
Target version:-

Description

https://translator.openttdcoop.org/string/xussrset/ru_RU/STR_2TE116U_PURCHASE_HINT is currently invalid. A suggested fixed translation is {BLACK}Серия:{GOLD} 2ТЭ116У {YELLOW}«Ушка»{}{BLACK}Тип: {RED}грузовой{GOLD} тепловоз{}{BLACK}СМЕ:{GOLD} до 4 секций{}{BLACK}Выпуск:{GOLD} 2007-...{}{BLACK}Производство:{GOLD} ЛТСЗ {}{GOLD}1-2 ливреи
which as far as I see is valid. Yet it is rejected for no reason I see.
Also after rejection the existing translation is shown again, not this changed version, thus I have to type it all again instead of being able to fix it

History

#1 Updated by Alberth about 6 years ago

That link is not accessible by me, can you paste what gets validated against what?

Also, I relaxed reuirements of non-positional commands in r272 (monday-morning very early), don't know when that became active.

Basically, stuff like colours needs to be there (if {RED} in base string there must be {RED} in the translation too, and a translation cannot have colours not in the base string), but wrong counts is not reported as error but as warning.
I think this is better for eg RTL <-> LTR languages etc.

#2 Updated by George about 6 years ago

Alberth wrote:

That link is not accessible by me, can you paste what gets validated against what?

{BLACK}Серия:{GOLD} 2ТЭ116У {YELLOW}«Ушка»{}{BLACK}Тип: {RED}грузовой{GOLD} тепловоз{}{BLACK}СМЕ:{GOLD} до 4 секций{}{BLACK}Выпуск:{GOLD} 2007-...{}{GOLD}1-2 ливреи

#3 Updated by Alberth about 6 years ago

  • % Done changed from 0 to 100
  • Status changed from Confirmed to Closed

Empty non-default cases are allowed values now

Also available in: Atom PDF