diff options
author | Bruce Momjian <bruce@momjian.us> | 2008-07-03 02:49:54 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2008-07-03 02:49:54 +0000 |
commit | 2c2aff6acd20710d59baed54fd1c20e47a5cfb53 (patch) | |
tree | 994ae085ad0b9657bc977d235d5dde0d59a584c5 /src | |
parent | c5f4b98faeeb8b41b2fd8335b91bb94b7cff3a25 (diff) | |
download | postgresql-2c2aff6acd20710d59baed54fd1c20e47a5cfb53.tar.gz postgresql-2c2aff6acd20710d59baed54fd1c20e47a5cfb53.zip |
Update source code comment about when to use gettext_noop().
Diffstat (limited to 'src')
-rw-r--r-- | src/include/c.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/include/c.h b/src/include/c.h index d8fa1d25d20..51e6216f7c6 100644 --- a/src/include/c.h +++ b/src/include/c.h @@ -12,7 +12,7 @@ * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/c.h,v 1.228 2008/06/24 17:58:27 tgl Exp $ + * $PostgreSQL: pgsql/src/include/c.h,v 1.229 2008/07/03 02:49:54 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -99,8 +99,12 @@ #endif /* - * Use this to mark strings to be translated by gettext, in places where - * you don't want an actual function call to occur (eg, constant tables). + * Use this to mark string constants as needing translation at some later + * time, rather than immediately. This is useful for cases where you need + * access to the original string and translated string, and for cases where + * immediate translation is not possible, like when initializing global + * variables. + * http://www.gnu.org/software/autoconf/manual/gettext/Special-cases.html */ #define gettext_noop(x) (x) |