bug-standards
[Top][All Lists]
Advanced

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

Re: [PATCH] standards: rewrite section on quoting


From: Paolo Bonzini
Subject: Re: [PATCH] standards: rewrite section on quoting
Date: Fri, 23 Dec 2011 09:22:49 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110930 Thunderbird/7.0.1

On 12/23/2011 06:54 AM, Paul Eggert wrote:
Here's a proposed patch that attempts to address the above issues.

Index: standards.texi
===================================================================
RCS file: /sources/gnustandards/gnustandards/standards.texi,v
retrieving revision 1.210
diff -c -r1.210 standards.texi
*** standards.texi      23 Dec 2011 00:30:29 -0000      1.210
--- standards.texi      23 Dec 2011 05:50:22 -0000
***************
*** 2374,2380 ****
   * System Functions::            Portability and ``standard'' library 
functions.
   * Internationalization::        Techniques for internationalization.
   * Character Set::               Use ASCII by default.
! * Quote Characters::            Use `...' in the C locale.
   * Mmap::                        How you can safely use @code{mmap}.
   @end menu

--- 2374,2380 ----
   * System Functions::            Portability and ``standard'' library 
functions.
   * Internationalization::        Techniques for internationalization.
   * Character Set::               Use ASCII by default.
! * Quote Characters::            Use "..." or '...' in the C locale.
   * Mmap::                        How you can safely use @code{mmap}.
   @end menu

***************
*** 3049,3060 ****
   around each string that might need translation---like this:

   @example
! printf (gettext ("Processing file `%s'..."));
   @end example

   @noindent
   This permits GNU gettext to replace the string @code{"Processing file
! `%s'..."} with a translated version.

   Once a program uses gettext, please make a point of writing calls to
   @code{gettext} when you add new strings that call for translation.
--- 3049,3060 ----
   around each string that might need translation---like this:

   @example
! printf (gettext ("Processing file \"%s\"..."), file);
   @end example

   @noindent
   This permits GNU gettext to replace the string @code{"Processing file
! \"%s\"..."} with a translated version.

This is ugly... do you really dislike apostrophe quotes so much?

Otherwise looks great.

Paolo



reply via email to

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