Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 2c2aff6

Browse files
committed
Update source code comment about when to use gettext_noop().
1 parent c5f4b98 commit 2c2aff6

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/include/c.h

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
1313
* Portions Copyright (c) 1994, Regents of the University of California
1414
*
15-
* $PostgreSQL: pgsql/src/include/c.h,v 1.228 2008/06/24 17:58:27 tgl Exp $
15+
* $PostgreSQL: pgsql/src/include/c.h,v 1.229 2008/07/03 02:49:54 momjian Exp $
1616
*
1717
*-------------------------------------------------------------------------
1818
*/
@@ -99,8 +99,12 @@
9999
#endif
100100

101101
/*
102-
* Use this to mark strings to be translated by gettext, in places where
103-
* you don't want an actual function call to occur (eg, constant tables).
102+
* Use this to mark string constants as needing translation at some later
103+
* time, rather than immediately. This is useful for cases where you need
104+
* access to the original string and translated string, and for cases where
105+
* immediate translation is not possible, like when initializing global
106+
* variables.
107+
* http://www.gnu.org/software/autoconf/manual/gettext/Special-cases.html
104108
*/
105109
#define gettext_noop(x) (x)
106110

0 commit comments

Comments
 (0)