chaso137 / wot-xvm

Automatically exported from code.google.com/p/wot-xvm
GNU General Public License v3.0
0 stars 0 forks source link

Localization: error with Capture #470

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Error with capture localization

Using:

 // Capture
"Capturers: <b><font color='#FFCC66'>{{tanks}}</font></b> Timeleft: <b><font 
color='#FFCC66'>{{time}}</font><b>": "Capturers: <b><font 
color='#FFCC66'>{{tanks}}</font></b> Timeleft: <b><font 
color='#FFCC66'>{{time}}</font><b>",

If I change the value "timeleft" in other language, still in battle is showing 
in english.

What I see is not a "variable" in xvm config to get the correct language.

ACTUAL xvm config:

"Capturers: <b><font color='#FFCC66'>{{tanks}}</font></b> Timeleft: <b><font 
color='#FFCC66'>{{time}}</font><b>",

Thanks.

Original issue reported on code.google.com by MarceloB...@gmail.com on 3 Aug 2013 at 8:26

GoogleCodeExporter commented 9 years ago
It works only when in captureBar.xc is default value set in "extra" (for both, 
ally and enemy). 
Otherwise key in lang file...
"Capturers: <font color='#FFCC66'>{{tanks}}</font> Timeleft: <font 
color='#FFCC66'>{{time}}</font>": "translated value" 
...didn't mach, because value from "extra" field in captureBar.xc is used for 
searching translation in language file.

Original comment by maca.pa...@gmail.com on 8 Aug 2013 at 10:58

GoogleCodeExporter commented 9 years ago
Close if this is fixed.

Original comment by ilitvinov87@gmail.com on 19 Aug 2013 at 4:34

GoogleCodeExporter commented 9 years ago
will be simplified by new macros

Original comment by maca.pa...@gmail.com on 19 Aug 2013 at 4:54