summaryrefslogtreecommitdiff
path: root/src/bin/e_intl.h
diff options
context:
space:
mode:
authorSebastian Dransfeld <sd@tango.flipp.net>2008-01-10 07:43:01 +0000
committerSebastian Dransfeld <sd@tango.flipp.net>2008-01-10 07:43:01 +0000
commit3330befa8a52114b83c69f7ee163bc209beadb37 (patch)
tree6a7e5708756685587e389afc476e273e5c81ccea /src/bin/e_intl.h
parentfd0f6ce1b9319d3d78baa9281426f95ba58d651e (diff)
downloadenlightenment-3330befa8a52114b83c69f7ee163bc209beadb37.tar.gz
Create a define which can be used to wrap internal E stuff. This works as
the define is created in config.h which isn't exported. This will break modules which still uses _() to wrap NLS strings. It is an error that they use it as modules strings wont be defined in E's domain. Modules should use D_() and define it to lock up strings in their own domain. SVN revision: 33426
Diffstat (limited to 'src/bin/e_intl.h')
-rw-r--r--src/bin/e_intl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/e_intl.h b/src/bin/e_intl.h
index b4b8719dc7..764b5cad4e 100644
--- a/src/bin/e_intl.h
+++ b/src/bin/e_intl.h
@@ -3,8 +3,10 @@
*/
#ifdef E_TYPEDEFS
+#if E_INTERNAL
#define _(str) gettext(str)
#define d_(str, dom) dgettext(PACKAGE dom, str)
+#endif
/* This macro is used to just mark string for translation, this is useful
* for string lists which are not dynamically allocated