Mercurial > pidgin
diff libpurple/core.c @ 16063:fa8aeab4ca5a
Hopefully prevent libpurple causing problems for 3rd party UIs if they also
use gettext for i18n. Use dgettext & dngettext in libpurple to explicitly
specify the text domain to use.
Currently, with no split of strings for libpurple/pidgin/finch, we are using
'pidgin' as the gettext domain everywhere.
Hopefully this didn't break anything.
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Wed, 11 Apr 2007 14:46:04 +0000 |
parents | 32c366eeeb99 |
children | 786edf5e2144 |
line wrap: on
line diff
--- a/libpurple/core.c Wed Apr 11 13:38:05 2007 +0000 +++ b/libpurple/core.c Wed Apr 11 14:46:04 2007 +0000 @@ -70,6 +70,9 @@ g_return_val_if_fail(ui != NULL, FALSE); g_return_val_if_fail(purple_get_core() == NULL, FALSE); +#ifdef ENABLE_NLS + bindtextdomain(PACKAGE, LOCALEDIR); +#endif #ifdef _WIN32 wpurple_init(); #endif