summaryrefslogtreecommitdiff
path: root/src/include/c.h
diff options
context:
space:
mode:
authorPeter Eisentraut2001-06-02 18:25:18 +0000
committerPeter Eisentraut2001-06-02 18:25:18 +0000
commite54203646176167271dc50a7b8f7bbe0d3ea6e75 (patch)
tree06e6275b18f1d14afeda777f12f31a75d3c8b527 /src/include/c.h
parent58193c5f37838b49043925437e3c99711ca66407 (diff)
Native Language Support (NLS)
Use --enable-nls to turn it on; see installation instructions for details. See developer's guide how to make use of it in programs and how to add translations. psql sources have been almost fully prepared and an incomplete German translation has been provided. In the backend, only elog() calls are currently translatable, and the provided German translation file is more of a placeholder.
Diffstat (limited to 'src/include/c.h')
-rw-r--r--src/include/c.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/include/c.h b/src/include/c.h
index b7fb0768c8..fa8811d314 100644
--- a/src/include/c.h
+++ b/src/include/c.h
@@ -12,7 +12,7 @@
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: c.h,v 1.93 2001/05/30 14:15:27 momjian Exp $
+ * $Id: c.h,v 1.94 2001/06/02 18:25:18 petere Exp $
*
*-------------------------------------------------------------------------
*/
@@ -68,6 +68,11 @@
#include <SupportDefs.h>
#endif
+#ifdef ENABLE_NLS
+#include <libintl.h>
+#else
+#define gettext(x) (x)
+#endif
/* ----------------------------------------------------------------
* Section 1: hacks to cope with non-ANSI C compilers