Skip to content

Commit 1d7dfb1

Browse files
committed
Document usage of gettext_noop().
1 parent d73e041 commit 1d7dfb1

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/include/c.h

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* Portions Copyright (c) 1996-2005, 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.178 2004/12/31 22:03:18 pgsql Exp $
15+
* $PostgreSQL: pgsql/src/include/c.h,v 1.179 2005/02/15 01:03:47 momjian Exp $
1616
*
1717
*-------------------------------------------------------------------------
1818
*/
@@ -96,6 +96,12 @@
9696
#else
9797
#define gettext(x) (x)
9898
#endif
99+
100+
/*
101+
* These strings are to be translation via xgettext. We can't
102+
* call gettext() because it is located in variable initialization and
103+
* a function call can not be used.
104+
*/
99105
#define gettext_noop(x) (x)
100106

101107

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy