summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gksu/libcaja-gksu.c4
-rw-r--r--image-converter/image-converter.c4
-rw-r--r--open-terminal/open-terminal.c4
-rw-r--r--sendto/caja-sendto-module.c4
-rw-r--r--sendto/plugins/caja-burn/caja-burn.c5
-rw-r--r--sendto/plugins/emailclient/emailclient.c5
-rw-r--r--sendto/plugins/gajim/gajim.c5
-rw-r--r--sendto/plugins/pidgin/pidgin.c5
-rw-r--r--sendto/plugins/removable-devices/removable-devices.c5
-rw-r--r--sendto/plugins/upnp/upnp.c5
-rw-r--r--share/caja-share.c4
-rw-r--r--wallpaper/caja-wallpaper-command.c4
-rw-r--r--xattr-tags/caja-xattr-tags-extension.c4
13 files changed, 58 insertions, 0 deletions
diff --git a/gksu/libcaja-gksu.c b/gksu/libcaja-gksu.c
index 675a6e0..e996ae5 100644
--- a/gksu/libcaja-gksu.c
+++ b/gksu/libcaja-gksu.c
@@ -274,6 +274,10 @@ caja_module_initialize (GTypeModule *module)
{
g_print ("Initializing caja-gksu extension\n");
gksu_context_menu_register_type (module);
+#ifdef ENABLE_NLS
+ bindtextdomain (GETTEXT_PACKAGE, MATELOCALEDIR);
+ bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
+#endif /* ENABLE_NLS */
}
void
diff --git a/image-converter/image-converter.c b/image-converter/image-converter.c
index 35a55eb..a3fd248 100644
--- a/image-converter/image-converter.c
+++ b/image-converter/image-converter.c
@@ -40,6 +40,10 @@ caja_module_initialize (GTypeModule *module)
caja_image_converter_register_type (module);
type_list[0] = CAJA_TYPE_IMAGE_CONVERTER;
+#ifdef ENABLE_NLS
+ bindtextdomain (GETTEXT_PACKAGE, MATELOCALEDIR);
+ bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
+#endif /* ENABLE_NLS */
}
void
diff --git a/open-terminal/open-terminal.c b/open-terminal/open-terminal.c
index d478958..073d438 100644
--- a/open-terminal/open-terminal.c
+++ b/open-terminal/open-terminal.c
@@ -40,6 +40,10 @@ caja_module_initialize (GTypeModule *module)
caja_open_terminal_register_type (module);
type_list[0] = CAJA_TYPE_OPEN_TERMINAL;
+#ifdef ENABLE_NLS
+ bindtextdomain (GETTEXT_PACKAGE, MATELOCALEDIR);
+ bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
+#endif /* ENABLE_NLS */
}
void
diff --git a/sendto/caja-sendto-module.c b/sendto/caja-sendto-module.c
index ed580ba..dc453ae 100644
--- a/sendto/caja-sendto-module.c
+++ b/sendto/caja-sendto-module.c
@@ -37,6 +37,10 @@ caja_module_initialize (GTypeModule*module)
{
g_print ("Initializing caja-sendto extension\n");
caja_nste_register_type (module);
+#ifdef ENABLE_NLS
+ bindtextdomain (GETTEXT_PACKAGE, MATELOCALEDIR);
+ bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
+#endif /* ENABLE_NLS */
}
void
diff --git a/sendto/plugins/caja-burn/caja-burn.c b/sendto/plugins/caja-burn/caja-burn.c
index b9cbb53..80aa7d5 100644
--- a/sendto/plugins/caja-burn/caja-burn.c
+++ b/sendto/plugins/caja-burn/caja-burn.c
@@ -50,6 +50,11 @@ gboolean init (NstPlugin *plugin)
g_print ("Init caja burn plugin\n");
+#ifdef ENABLE_NLS
+ bindtextdomain (GETTEXT_PACKAGE, MATELOCALEDIR);
+ bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
+#endif /* ENABLE_NLS */
+
it = gtk_icon_theme_get_default ();
gtk_icon_theme_append_search_path (it, DATADIR "/brasero/icons");
diff --git a/sendto/plugins/emailclient/emailclient.c b/sendto/plugins/emailclient/emailclient.c
index e325289..cfcf8a9 100644
--- a/sendto/plugins/emailclient/emailclient.c
+++ b/sendto/plugins/emailclient/emailclient.c
@@ -81,6 +81,11 @@ init (NstPlugin *plugin)
g_print ("Init email client plugin\n");
+#ifdef ENABLE_NLS
+ bindtextdomain (GETTEXT_PACKAGE, MATELOCALEDIR);
+ bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
+#endif /* ENABLE_NLS */
+
app_info = g_app_info_get_default_for_uri_scheme ("mailto");
if (app_info) {
mail_cmd = g_strdup(g_app_info_get_executable (app_info));
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()) {
diff --git a/sendto/plugins/pidgin/pidgin.c b/sendto/plugins/pidgin/pidgin.c
index 7b7b107..d06fd41 100644
--- a/sendto/plugins/pidgin/pidgin.c
+++ b/sendto/plugins/pidgin/pidgin.c
@@ -83,6 +83,11 @@ init (NstPlugin *plugin)
g_print ("Init pidgin plugin\n");
+#ifdef ENABLE_NLS
+ bindtextdomain (GETTEXT_PACKAGE, MATELOCALEDIR);
+ bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
+#endif /* ENABLE_NLS */
+
error = NULL;
connection = dbus_g_bus_get (DBUS_BUS_SESSION, &error);
if(error != NULL) {
diff --git a/sendto/plugins/removable-devices/removable-devices.c b/sendto/plugins/removable-devices/removable-devices.c
index 1b09b19..0144be7 100644
--- a/sendto/plugins/removable-devices/removable-devices.c
+++ b/sendto/plugins/removable-devices/removable-devices.c
@@ -151,6 +151,11 @@ init (NstPlugin *plugin)
{
g_print ("Init removable-devices plugin\n");
+#ifdef ENABLE_NLS
+ bindtextdomain (GETTEXT_PACKAGE, MATELOCALEDIR);
+ bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
+#endif /* ENABLE_NLS */
+
vol_monitor = g_volume_monitor_get ();
cb = gtk_combo_box_new ();
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;
diff --git a/share/caja-share.c b/share/caja-share.c
index 67c43c3..c2be439 100644
--- a/share/caja-share.c
+++ b/share/caja-share.c
@@ -1258,6 +1258,10 @@ caja_module_initialize (GTypeModule *module)
g_print ("Initializing caja-share extension\n");
caja_share_register_type (module);
+#ifdef ENABLE_NLS
+ bindtextdomain (GETTEXT_PACKAGE, MATELOCALEDIR);
+ bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
+#endif /* ENABLE_NLS */
}
/* Perform module-specific shutdown. */
diff --git a/wallpaper/caja-wallpaper-command.c b/wallpaper/caja-wallpaper-command.c
index f93211b..d7bea89 100644
--- a/wallpaper/caja-wallpaper-command.c
+++ b/wallpaper/caja-wallpaper-command.c
@@ -39,6 +39,10 @@ caja_module_initialize (GTypeModule*module)
{
g_print ("Initializing caja-wallpaper extension\n");
caja_cwe_register_type (module);
+#ifdef ENABLE_NLS
+ bindtextdomain (GETTEXT_PACKAGE, MATELOCALEDIR);
+ bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
+#endif /* ENABLE_NLS */
}
void
diff --git a/xattr-tags/caja-xattr-tags-extension.c b/xattr-tags/caja-xattr-tags-extension.c
index a7f6d03..a00dc8d 100644
--- a/xattr-tags/caja-xattr-tags-extension.c
+++ b/xattr-tags/caja-xattr-tags-extension.c
@@ -261,6 +261,10 @@ caja_module_initialize (GTypeModule *module)
{
g_print ("Initializing caja-xattr-tags extension\n");
caja_xattr_tags_register_type (module);
+#ifdef ENABLE_NLS
+ bindtextdomain (GETTEXT_PACKAGE, MATELOCALEDIR);
+ bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
+#endif /* ENABLE_NLS */
}
void