[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] CVS: Games/Pingus/src gettext.h,1.2,1.3
From: |
torangan |
Subject: |
[Pingus-CVS] CVS: Games/Pingus/src gettext.h,1.2,1.3 |
Date: |
18 Aug 2003 21:44:38 -0000 |
Update of /var/lib/cvs/Games/Pingus/src
In directory dark:/tmp/cvs-serv3053
Modified Files:
gettext.h
Log Message:
Make use of HAVE_GETTEXT macro
Index: gettext.h
===================================================================
RCS file: /var/lib/cvs/Games/Pingus/src/gettext.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- gettext.h 17 Jun 2003 14:09:20 -0000 1.2
+++ gettext.h 18 Aug 2003 21:44:36 -0000 1.3
@@ -21,8 +21,13 @@
#include <config.h>
-#define _(String) gettext(String)
-#define N_(String) gettext_noop(String)
+#ifdef HAVE_GETTEXT
+# define _(String) gettext(String)
+# define N_(String) gettext_noop(String)
+#else
+# define _(String) String
+# define N_(String) String
+#endif
/* NLS can be disabled through the configure --disable-nls option. */
#if ENABLE_NLS
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src gettext.h,1.2,1.3,
torangan <=
- Prev by Date:
[Pingus-CVS] CVS: Games/Pingus/src/gui gui_surface_button.cxx, 1.1, NONE
- Next by Date:
[Pingus-CVS] CVS: Games/Pingus/src pingus_main.cxx, 1.97, 1.98 plf.cxx, 1.16, 1.17 plf_res_mgr.cxx, 1.6, 1.7 plf_res_mgr.hxx, 1.4, 1.5 theme.cxx, 1.18, 1.19 xml_pdf.cxx, 1.8, 1.9
- Previous by thread:
[Pingus-CVS] CVS: Games/Pingus/src/gui gui_surface_button.cxx, 1.1, NONE
- Next by thread:
[Pingus-CVS] CVS: Games/Pingus/src pingus_main.cxx, 1.97, 1.98 plf.cxx, 1.16, 1.17 plf_res_mgr.cxx, 1.6, 1.7 plf_res_mgr.hxx, 1.4, 1.5 theme.cxx, 1.18, 1.19 xml_pdf.cxx, 1.8, 1.9
- Index(es):