[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Comment not extracted to po file

From: Jim Meyering
Subject: Re: Comment not extracted to po file
Date: Tue, 24 Feb 2009 11:17:44 +0100

Pádraig Brady wrote:
> Göran Uddeborg wrote:
>> In coreutils 7.1, in src/system.h, there is this nicely commented
>> piece of code:
>>   /* TRANSLATORS: Replace LANG_CODE in this URL with your language code
>>      <http://translationproject.org/team/LANG_CODE.html> to form one of
>>      the URLs at http://translationproject.org/team/.  Otherwise, replace
>>      the entire URL with your translation team's email address.  */
>>   if (hard_locale (LC_MESSAGES))
>>     printf (_("Report %s translation bugs to "
>>            "<http://translationproject.org/team/>\n"),
>>          last_component (program_name));
>> Unfortunately, the comment is not picked up by xgettext, apparently
>> because it is before the "if" line.  If you would move the comment
>> below that line, your nice message would be included in the po files
>> immediately available for all us translators! :-)
> How about the attached.
> I haven't tested it as I'm afraid it'll spin my CPU for hours.
> cheers,
> Pádraig.
>>From c86be7ea06e30367e9036ae73682aefe7f66c4a3 Mon Sep 17 00:00:00 2001
> From: =?utf-8?q?P=C3=A1draig=20Brady?= <address@hidden>
> Date: Tue, 24 Feb 2009 09:47:00 +0000
> Subject: [PATCH] 
> =?utf-8?q?Ensure=20comment=20for=20translators=20is=20included=20in=20po=20file
> =20Issue=20reported=20by=20G=C3=B6ran=20Uddeborg=20<address@hidden>?=
> * src/system.h: Move the translator comment adjacent
> to the translated string.

That looks fine, but please insert a blank line in the log before
the "Reported by ..." one.  Then the summary (Subject: above)
will look better.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]