summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasper Huijsmans <jbhuijsmans@home.nl>2004-09-18 20:50:57 +0000
committerJasper Huijsmans <jbhuijsmans@home.nl>2004-09-18 20:50:57 +0000
commitb81d72132ce1e637f693f951e3a5f54b5e2b389b (patch)
tree55b79a675c6cb7396cbb385ce5f79251a622cd00
parentbaf8867ac83252beb772e0fd4869c1dc1da7bf2c (diff)
downloadxfwm4-b81d72132ce1e637f693f951e3a5f54b5e2b389b.tar.gz
Fix translations for mcs plugins
(Old svn revision: 11952)
-rw-r--r--mcs-plugin/plugin.c2
-rw-r--r--mcs-plugin/xfwm4_plugin.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/mcs-plugin/plugin.c b/mcs-plugin/plugin.c
index c3df700d1..622d6e3fc 100644
--- a/mcs-plugin/plugin.c
+++ b/mcs-plugin/plugin.c
@@ -129,6 +129,8 @@ run_dialog (McsPlugin * mcs_plugin)
return;
}
+ xfce_textdomain(GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR, "UTF-8");
+
dialog =
gtk_dialog_new_with_buttons (_("Workspaces"), NULL,
GTK_DIALOG_NO_SEPARATOR, GTK_STOCK_CLOSE,
diff --git a/mcs-plugin/xfwm4_plugin.c b/mcs-plugin/xfwm4_plugin.c
index e252daa8e..1b9d7b93c 100644
--- a/mcs-plugin/xfwm4_plugin.c
+++ b/mcs-plugin/xfwm4_plugin.c
@@ -2204,6 +2204,8 @@ run_dialog (McsPlugin * mcs_plugin)
is_running = TRUE;
+ xfce_textdomain(GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR, "UTF-8");
+
dialog = create_dialog (mcs_plugin);
setup_dialog (dialog);
}