aboutsummaryrefslogtreecommitdiff
path: root/src/include/c.h
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2005-02-22 04:43:23 +0000
committerBruce Momjian <bruce@momjian.us>2005-02-22 04:43:23 +0000
commit0542b1e2fee5fe7c7fa1a83fa9fe81618b2bc69e (patch)
treeeb42bea6234c92d377cb52257855b4b882120e78 /src/include/c.h
parent64011b4dce7db05bd7bb1911fe81fcc8f2da75e1 (diff)
downloadpostgresql-0542b1e2fee5fe7c7fa1a83fa9fe81618b2bc69e.tar.gz
postgresql-0542b1e2fee5fe7c7fa1a83fa9fe81618b2bc69e.zip
Use _() macro consistently rather than gettext(). Add translation
macros around strings that were missing them.
Diffstat (limited to 'src/include/c.h')
-rw-r--r--src/include/c.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/c.h b/src/include/c.h
index 0430dcf449a..58fe0f9f9a1 100644
--- a/src/include/c.h
+++ b/src/include/c.h
@@ -12,7 +12,7 @@
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/c.h,v 1.179 2005/02/15 01:03:47 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/c.h,v 1.180 2005/02/22 04:41:51 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -91,6 +91,8 @@
/* Must be before gettext() games below */
#include <locale.h>
+#define _(x) gettext((x))
+
#ifdef ENABLE_NLS
#include <libintl.h>
#else