Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2c2aff6

Browse files
committed
Update source code comment about when to use gettext_noop().
1 parentc5f4b98 commit2c2aff6

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
#definegettext_noop(x) (x)
106110

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp