summaryrefslogtreecommitdiff
path: root/sendto/plugins/upnp/upnp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sendto/plugins/upnp/upnp.c')
-rw-r--r--sendto/plugins/upnp/upnp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sendto/plugins/upnp/upnp.c b/sendto/plugins/upnp/upnp.c
index b7000c9..7b6775b 100644
--- a/sendto/plugins/upnp/upnp.c
+++ b/sendto/plugins/upnp/upnp.c
@@ -201,6 +201,11 @@ init (NstPlugin *plugin)
GtkCellRenderer *renderer;
char *upload_cmd;
+#ifdef ENABLE_NLS
+ bindtextdomain (GETTEXT_PACKAGE, MATELOCALEDIR);
+ bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
+#endif /* ENABLE_NLS */
+
upload_cmd = g_find_program_in_path ("gupnp-upload");
if (upload_cmd == NULL)
return FALSE;