Re: Strings with context wrongly translated in gok

2006-09-14 Thread Abel Cheung
On 9/14/06, Wouter Bolsterlee <[EMAIL PROTECTED]> wrote: > > Looks like gok is not using Q_() macros, and just strips > > "anything|" returned from the string returned by gettext > > call. So that means translating it into > > > > msgstr "level 2|" > > The strings are supposed to include pu

Re: Strings with context wrongly translated in gok

2006-09-14 Thread Wouter Bolsterlee
På Thu, Sep 14, 2006 at 12:12:45PM +0800, Abel Cheung skrev: > if (has_level_2) > { > gok_modifier_add ("level2"); > level2_string = g_utf8_strchr (level2_string, -1, '|'); > if (level2_string) ++level2_string; /* works because '|' is one byte > */ > has_level_2 = s

Strings with context wrongly translated in gok

2006-09-13 Thread Abel Cheung
Surprise, surprise. (answer below) On 9/14/06, Runa B <[EMAIL PROTECTED]> wrote: > > When the msgid is "some prefix|" without an actual string, the translated > > msgstr becomes "" if no content is needed (see the translator comments in > > the gok .po files). Although "" is correct, this cou