Files
evolution/e-util/e-unicode-i18n.h
Chyla Zbigniew b74947b0a0 Added e-unicode-i18n.c and e-unicode-i18n.h.
* Makefile.am (libeutil_la_SOURCES): Added e-unicode-i18n.c and
e-unicode-i18n.h.

* e-unicode-i18n.[ch]: New files with two extra functions
(e_utf8_gettext, e_utf8_dgettext) and U_() macro.
Should be used instead of _() if we need UTF-8 string.

svn path=/trunk/; revision=12459
2001-08-24 22:18:06 +00:00

18 lines
441 B
C

#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 */