GNU bug report logs - #13665
Question about the translation of double_to_human

Previous Next

Package: coreutils;

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

Date: Sat, 9 Feb 2013 18:44:01 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

Full log


Message #22 received at 13665 <at> debbugs.gnu.org (full text, mbox):

From: Bernhard Voelker <mail <at> bernhard-voelker.de>
To: Pádraig Brady <P <at> draigBrady.com>
Cc: Paul Eggert <eggert <at> cs.ucla.edu>, goeran <at> uddeborg.se, 13665 <at> debbugs.gnu.org
Subject: Re: bug#13665: Question about the translation of double_to_human
Date: Sun, 10 Feb 2013 18:15:30 +0100
On 02/10/2013 05:28 PM, Pádraig Brady wrote:
> I've cleaned this up in the attached so that both use the same
> method to output the messages, and both now enable these messages
> with the the same ---debug option.
> Also translations are removed from these messages,
> and a syntax check added to stop future translations sneaking in in future.

Great work, thanks.

Minor nit:
> diff --git a/cfg.mk b/cfg.mk
> index fbc64b4..09858a1 100644
> --- a/cfg.mk
> +++ b/cfg.mk
> @@ -521,6 +521,13 @@ sc_THANKS_in_duplicates:
>  	    && { echo '$(ME): remove the above names from THANKS.in'	\
>  		  1>&2; exit 1; } || :
>  
> +# Look for developer diagnostics that are marked for translation.
> +# This won't find any for which devmsg's format string is on a separate line.
> +sc_marked_devdiagnostics:
> +	@prohibit='\<devmsg *\(.*_\(' \
> +	halt='found marked developer diagnostic(s)'                     \
> +	  $(_sc_search_regexp)
> +

Shouldn't it be this pattern instead?
-	@prohibit='\<devmsg *\(.*_\(' \
+	@prohibit='\<devmsg *\( *_\(' \

And: do we need to reference Goeran's message to the ML?

Other than that:
+1

Have a nice day,
Berny




This bug report was last modified 12 years and 163 days ago.

Previous Next


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