diff options
author | Bruce Momjian | 2008-07-03 02:49:54 +0000 |
---|---|---|
committer | Bruce Momjian | 2008-07-03 02:49:54 +0000 |
commit | 345a3e3493e64d651107ec63940618e78ab81c09 (patch) | |
tree | a4a95fe6cafe7f0f102a8e0fbaa5e8176a8e096a | |
parent | c3ca775e3f983d21746ad0ea9ff1b33872c01352 (diff) |
Update source code comment about when to use gettext_noop().
-rw-r--r-- | src/include/c.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/include/c.h b/src/include/c.h index 6fb48c6979..2087c537da 100644 --- a/src/include/c.h +++ b/src/include/c.h @@ -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) |