[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] three gettext noops
From: |
David Lawrence Ramsey |
Subject: |
Re: [Nano-devel] three gettext noops |
Date: |
Wed, 14 Jun 2006 09:41:36 -0400 |
User-agent: |
Thunderbird 1.5.0.4 (X11/20060516) |
Benno Schulenberg wrote:
> While checking the Dutch translation, yesterday I finally noticed that
> the "[Backup]" and "[... Format]" strings do not actually get
> translated. Attached patch fixes this. As these strings are not
> defined in arrays but in code paths, there is no need for the gettext
> noops (plus the later getting of the translated string).
>
> If you don't want to make too many changes shortly before a release,
> the second patch makes the minimally required changes.
Good catch. I've applied the first of these to CVS. It's a needed fix,
and since the strings were marked with gettext no-ops anyway,
translating them properly won't add to the .po files.
> (I've tried putting "_()" around formatstr and backupstr instead, but
> that results in the po-file header being spewed. Apparently not all
> is well with gettext.)
That's a known behavior. Translating "" is not always guaranteed to get
you "".