summaryrefslogtreecommitdiff
path: root/sendto/plugins/gajim
diff options
context:
space:
mode:
Diffstat (limited to 'sendto/plugins/gajim')
-rw-r--r--sendto/plugins/gajim/gajim.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sendto/plugins/gajim/gajim.c b/sendto/plugins/gajim/gajim.c
index d80c50a..ffa5f91 100644
--- a/sendto/plugins/gajim/gajim.c
+++ b/sendto/plugins/gajim/gajim.c
@@ -262,6 +262,11 @@ init (NstPlugin *plugin)
{
g_print ("Init gajim plugin\n");
+#ifdef ENABLE_NLS
+ bindtextdomain (GETTEXT_PACKAGE, MATELOCALEDIR);
+ bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
+#endif /* ENABLE_NLS */
+
/* connect to gajim dbus service */
jid_table = g_hash_table_new (g_str_hash, g_str_equal);
if (!init_dbus()) {