aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-unicode-i18n.h
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/e-unicode-i18n.h')
-rw-r--r--e-util/e-unicode-i18n.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/e-util/e-unicode-i18n.h b/e-util/e-unicode-i18n.h
new file mode 100644
index 0000000000..e8281891bc
--- /dev/null
+++ b/e-util/e-unicode-i18n.h
@@ -0,0 +1,17 @@
+#ifndef _E_UNICODE_I18N_H
+#define _E_UNICODE_I18N_H
+
+#include <libgnome/gnome-defs.h>
+#include <libgnome/gnome-i18n.h>
+
+const char *e_utf8_gettext (const char *string);
+const char *e_utf8_dgettext (const char *domain, const char *string);
+
+#undef U_
+#ifdef GNOME_EXPLICIT_TRANSLATION_DOMAIN
+# define U_(domain,string) e_utf8_dgettext (domain, string)
+#else
+# define U_(string) e_utf8_gettext (string)
+#endif
+
+#endif /* _E_UNICODE_I18N_H */