[Xfce4-commits] <xfce4-diskperf-plugin:master> Fix translations not working, patch from Mike Massonnet (#6343)

Landry Breuil noreply at xfce.org
Tue Apr 3 16:36:05 CEST 2012


Updating branch refs/heads/master
         to 614be858629a24cd730679e38fc795f9456fb817 (commit)
       from 009d2de7be7390f289413f5a6f62868f2e404cde (commit)

commit 614be858629a24cd730679e38fc795f9456fb817
Author: Landry Breuil <landry at xfce.org>
Date:   Tue Apr 3 14:48:13 2012 +0200

    Fix translations not working, patch from Mike Massonnet (#6343)

 panel-plugin/main.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/panel-plugin/main.c b/panel-plugin/main.c
index 507c8b3..f2df208 100644
--- a/panel-plugin/main.c
+++ b/panel-plugin/main.c
@@ -1121,6 +1121,7 @@ static void diskperf_set_orientation (XfcePanelPlugin *plugin,
 static void diskperf_construct (XfcePanelPlugin *plugin)
 {
     diskperf_t *diskperf = diskperf_create_control (plugin);
+    xfce_textdomain(GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR, "UTF-8");
 
     g_signal_connect (plugin, "free-data", G_CALLBACK (diskperf_free), 
                       diskperf);


More information about the Xfce4-commits mailing list