projects
/
m17n
/
m17n-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67c1d9e
)
Include <libintl.h> and define _.
author
handa
<handa>
Thu, 21 Sep 2006 11:06:06 +0000
(11:06 +0000)
committer
handa
<handa>
Thu, 21 Sep 2006 11:06:06 +0000
(11:06 +0000)
src/internal.h
patch
|
blob
|
history
diff --git
a/src/internal.h
b/src/internal.h
index
37bff5c
..
3bb67fa
100644
(file)
--- a/
src/internal.h
+++ b/
src/internal.h
@@
-35,6
+35,13
@@
extern int m17n__gui_initialized;
extern int mdebug_hook ();
+#if ENABLE_NLS
+#include <libintl.h>
+#define _(String) dgettext ("m17n-lib", String)
+#else
+#define _(String) (String)
+#endif
+
/** Return with code RET while setting merror_code to ERR. */
#define MERROR(err, ret) \