[xiph-commits] r16014 - trunk/planarity

xiphmont at svn.xiph.org xiphmont at svn.xiph.org
Tue May 19 14:55:02 PDT 2009


Author: xiphmont
Date: 2009-05-19 14:55:01 -0700 (Tue, 19 May 2009)
New Revision: 16014

Added:
   trunk/planarity/nls.h
Modified:
   trunk/planarity/version.h
Log:
Commit missed internationalization macro header


Added: trunk/planarity/nls.h
===================================================================
--- trunk/planarity/nls.h	                        (rev 0)
+++ trunk/planarity/nls.h	2009-05-19 21:55:01 UTC (rev 16014)
@@ -0,0 +1,18 @@
+#ifdef ENABLE_NLS
+#include "gettext.h"
+#include <locale.h>
+#include <libintl.h>
+
+#define GT_DOMAIN X_GT_DOMAIN(UGT_DOMAIN)
+#define X_GT_DOMAIN(x) XX_GT_DOMAIN(x)
+#define XX_GT_DOMAIN(x) #x
+
+#define GT_DIR X_GT_DIR(UGT_DIR)
+#define X_GT_DIR(x) XX_GT_DIR(x)
+#define XX_GT_DIR(x) #x
+
+#define _(x) gettext(x)
+#else
+#define _(x) x
+#endif
+

Modified: trunk/planarity/version.h
===================================================================
--- trunk/planarity/version.h	2009-05-18 22:00:34 UTC (rev 16013)
+++ trunk/planarity/version.h	2009-05-19 21:55:01 UTC (rev 16014)
@@ -1,2 +1,2 @@
 #define VERSION "$Id$ "
-/* DO NOT EDIT: Automated versioning hack [Thu May 14 17:14:50 EDT 2009] */
+/* DO NOT EDIT: Automated versioning hack [Tue May 19 21:57:10 Local time zone must be set--see zic manual page 2009] */



More information about the commits mailing list