[PATCH 3/4] print.c: Attempt a gettext() fix when printing translated "Gas Used"

Dirk Hohndel dirk at hohndel.org
Mon Feb 11 11:24:53 PST 2013


Salvador Cuñat <salvador.cunat at gmail.com> writes:

> On Sun, Feb 10, 2013 at 03:57:50PM -0800, Dirk Hohndel wrote:
>> Something else is going wrong. NC should mark the text and then
>> provide context for the translator. So let's not remove that.
>> 
>> /D
>> 
>> 
>> 
>> On February 10, 2013 3:49:23 PM "Lubomir I. Ivanov"
>> <neolit123 at gmail.com> wrote:
>> >From: "Lubomir I. Ivanov" <neolit123 at gmail.com>
>> >
>> >print_tanks():
>> >It seems the macro call NC_("Amount","Gas Used") does not generate
>> >an entry in the .po file, which makes the bg_BG print have "Gas Used" in
>>
>
> Not only in bg_BG, it's the same, at least, in es_ES.

Yes, apparently the NC_ macro is broken (which seems obvious looking at
the actual header file).
I'll take the patch but add a comment so that the translators still get
the required context.

What a pain.

/D


More information about the subsurface mailing list