GNU bug report logs - #22686
An empty string marked for translation

Previous Next

Package: coreutils;

Reported by: Göran Uddeborg <goeran <at> uddeborg.se>

Date: Mon, 15 Feb 2016 19:12:02 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 22686-done <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: Göran Uddeborg <goeran <at> uddeborg.se>,
 22686-done <at> debbugs.gnu.org
Subject: Re: bug#22686: An empty string marked for translation
Date: Mon, 15 Feb 2016 13:10:40 -0800
On 15/02/16 11:10, Göran Uddeborg wrote:
> On line 955 of src/stty.c there is an empty string marked for
> translation.
> 
> 	  fputs (_("\
>     "), stdout);
> 
> This might actually be harmful.  Po files use the translation of the
> empty string as a header.  So depending on the gettext implementation,
> it might be replaced by a header which I'm sure isn't intended.
> (Maybe GNU gettext guards against this, I haven't investigated.  But
> even if so, it is still pretty pointless to mark it for translation.)

Ouch it does output the header when translating (so not for English).
I pushed the fix in your name:
http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=v8.25-6-g222e830

thanks!
Pádraig.






This bug report was last modified 9 years and 102 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.