Legend of Wesmere 1.11.15 file wesnoth-low.po

Having trouble with the game? Report issues and get help here. Read this first!

Moderators: Forum Moderators, Developers

Forum rules
Before reporting issues in this section, you must read the following topic:
Post Reply
Pepe
Posts: 58
Joined: July 7th, 2014, 6:50 am
Location: Spain

Legend of Wesmere 1.11.15 file wesnoth-low.po

Post by Pepe »

I am translating this file and i have this at lines 314,315:

msgid "$left_behind_{NAME} and $l3_store_{NAME}[$i].name"
msgstr "$left_behind_{NAME} y $l3_store_{NAME}[$i].name"

and this at lines 325, 330

msgid ""
"Before Kalenz left the Ka’lian he had ordered $left_behind_kalenz to stay "
"and guard it."
msgstr ""
"Antes de dejar el Ka’lian, Kalenz ordenó a $left_behind_kalenz quedarse "
"atrás y defenderlo."

When i test translation "in game" i see the word "and" at thanslated text. It looks like if line 315 (with thanslation) is not used in variable and it is used line 314 text in english.

Scenary 9 Bounty Hunters

Thanks for help

Pepe
----------------------

AI
Developer
Posts: 2394
Joined: January 31st, 2008, 8:38 pm

Re: Legend of Wesmere 1.11.15 file wesnoth-low.po

Post by AI »

The bug here is that macros break translatable strings. That is, the string that is translated is not the same one that the engine eventually encounters.

In your case, that means the untranslated version is eventually interpolated in the second string. It seems to have never worked:
#17626 [Gna.org], [rev]48409[/rev]/b57ffb45e7307ab3e969583fc888e4a2d61a7bce

Pepe
Posts: 58
Joined: July 7th, 2014, 6:50 am
Location: Spain

Re: Legend of Wesmere 1.11.15 file wesnoth-low.po

Post by Pepe »

Will it be fixed by witting lines 325-330 like this?

msgid ""
"Before Kalenz left the Ka’lian he had ordered $left_behind_{NAME} and $l3_store_{NAME}[$i].name to stay "
"and guard it."
msgstr ""
"Antes de dejar el Ka’lian, Kalenz ordenó a $left_behind_{NAME} y $l3_store_{NAME}[$i].name quedarse "
"atrás y defenderlo."

Or those variables have lost their previous values?

Sorry but i cant red WML: I' m just a translator.

Thanks for help

Pepe
----------------------

User avatar
zookeeper
WML Wizard
Posts: 9742
Joined: September 11th, 2004, 10:40 pm
Location: Finland

Re: Legend of Wesmere 1.11.15 file wesnoth-low.po

Post by zookeeper »

Right now, you can't fix it in the translation; the actual strings are broken and need to be fixed. Just leave it untranslated for now.

Post Reply