[Xfce-i18n] xfce4-trigger-launcher: new strings

Daichi Kawahata daichi at xfce.org
Fri May 5 17:28:45 CEST 2006


On Sun, 30 Apr 2006 14:28:21 +0200 (MEST)
Danny Milosavljevic wrote:

> Hi,

Hi,

> I forgot one:
> 
> xfce4-trigger-launcher
> 
> Configuration dialog
> 
> New strings: 
>   "Icon:"

Seems like i18n doesn't work in the certain places
(xfce4-trigger-launcher-plugin.jpg), also gives a core
by the bus error once per the panel exit
(a stack trace log: xfce4-trigger-launcher.bt).

At least, I've confirmed the attached patch doesn't help.
I have a similar problem in xfce4-mixer.

Regards,
-- 
Daichi

Language Codes: http://www.w3.org/WAI/ER/IG/ert/iso639.htm
Country Codes: http://www.ics.uci.edu/pub/ietf/http/related/iso3166.txt
-------------- next part --------------
Index: xfce-trigger-launcher-options.c
===================================================================
--- xfce-trigger-launcher-options.c	(revision 21476)
+++ xfce-trigger-launcher-options.c	(working copy)
@@ -1,5 +1,7 @@
 #include <gtk/gtk.h>
+#include <libxfce4util/libxfce4util.h>
 #include <libxfcegui4/libxfcegui4.h>
+
 #include "xfce-trigger-launcher-options.h"
 #include "xfce-launcher-command-entry.h"
 #include "xfce-file-chooser-button.h"
Index: triggerlauncher.c
===================================================================
--- triggerlauncher.c	(revision 21476)
+++ triggerlauncher.c	(working copy)
@@ -11,6 +11,7 @@
 #include <signal.h>
 
 #include <gtk/gtk.h>
+#include <libxfce4util/libxfce4util.h>
 #include <libxfcegui4/libxfcegui4.h>
 
 #include <libxfce4panel/xfce-panel-plugin.h>
@@ -708,7 +709,7 @@
 {
     TriggerLauncherData* data1;
     
-    xfce_textdomain (GETTEXT_PACKAGE, LOCALEDIR, "UTF-8"); 
+    xfce_textdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR, "UTF-8"); 
 
     DBG ("Construct: %s", PLUGIN_NAME);
     
Index: Makefile.am
===================================================================
--- Makefile.am	(revision 21476)
+++ Makefile.am	(working copy)
@@ -22,7 +22,6 @@
 
 xfce4_trigger_launcher_plugin_CFLAGS =						\
 	-DPACKAGE_LOCALE_DIR=\"$(localedir)\"				\
-	-DLOCALEDIR=\"$(localedir)\"                                    \
 	@XFCE4_PANEL_CFLAGS@                                            \
 	@XFCE4_GUI_CFLAGS@
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xfce4-trigger-launcher-plugin.bt.bz2
Type: application/x-bzip2
Size: 7231 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce-i18n/attachments/20060506/fc942f97/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xfce4-trigger-launcher-plugin.jpg
Type: image/jpeg
Size: 26687 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce-i18n/attachments/20060506/fc942f97/attachment.jpg>


More information about the Xfce-i18n mailing list