[Goodies-commits] r7384 - in xfce4-screenshooter/trunk: . lib po

Jerome Guelfucci jeromeg at xfce.org
Thu May 21 12:34:08 CEST 2009


Author: jeromeg
Date: 2009-05-21 10:34:08 +0000 (Thu, 21 May 2009)
New Revision: 7384

Modified:
   xfce4-screenshooter/trunk/ChangeLog
   xfce4-screenshooter/trunk/lib/sexy-url-label.c
   xfce4-screenshooter/trunk/lib/sexy-url-label.h
   xfce4-screenshooter/trunk/po/POTFILES.in
Log:
	* lib/sexy-url-label.{c,h}: mark some strings as translatable and
	  include the libxfce4util header to have the "_" translation
		function.
	* po/POTFILES.in: add the new translatable files. 


Modified: xfce4-screenshooter/trunk/ChangeLog
===================================================================
--- xfce4-screenshooter/trunk/ChangeLog	2009-05-21 10:21:48 UTC (rev 7383)
+++ xfce4-screenshooter/trunk/ChangeLog	2009-05-21 10:34:08 UTC (rev 7384)
@@ -1,5 +1,12 @@
 2009-05-21 jeromeg
 
+	* lib/sexy-url-label.{c,h}: mark some strings as translatable and
+	  include the libxfce4util header to have the "_" translation
+		function.
+	* po/POTFILES.in: add the new translatable files. 
+
+2009-05-21 jeromeg
+
 	* lib/screenshooter-zimagez.c:
 	  - remove (open_zimagez_link) and use (open_url_hook) in all
 		  cases.

Modified: xfce4-screenshooter/trunk/lib/sexy-url-label.c
===================================================================
--- xfce4-screenshooter/trunk/lib/sexy-url-label.c	2009-05-21 10:21:48 UTC (rev 7383)
+++ xfce4-screenshooter/trunk/lib/sexy-url-label.c	2009-05-21 10:34:08 UTC (rev 7384)
@@ -173,7 +173,7 @@
 	priv->popup_menu = gtk_menu_new();
 
 	/* Open Link */
-	item = gtk_image_menu_item_new_with_mnemonic("_Open Link");
+	item = gtk_image_menu_item_new_with_mnemonic(_("_Open Link"));
 	gtk_widget_show(item);
 	gtk_menu_shell_append(GTK_MENU_SHELL(priv->popup_menu), item);
 
@@ -185,7 +185,7 @@
 	gtk_widget_show(image);
 
 	/* Copy Link Address */
-	item = gtk_image_menu_item_new_with_mnemonic("Copy _Link Address");
+	item = gtk_image_menu_item_new_with_mnemonic(_("Copy _Link Address"));
 	gtk_widget_show(item);
 	gtk_menu_shell_append(GTK_MENU_SHELL(priv->popup_menu), item);
 

Modified: xfce4-screenshooter/trunk/lib/sexy-url-label.h
===================================================================
--- xfce4-screenshooter/trunk/lib/sexy-url-label.h	2009-05-21 10:21:48 UTC (rev 7383)
+++ xfce4-screenshooter/trunk/lib/sexy-url-label.h	2009-05-21 10:34:08 UTC (rev 7384)
@@ -26,6 +26,7 @@
 typedef struct _SexyUrlLabelClass SexyUrlLabelClass;
 
 #include <gtk/gtk.h>
+#include <libxfce4util/libxfce4util.h>
 
 #define SEXY_TYPE_URL_LABEL (sexy_url_label_get_type())
 #define SEXY_URL_LABEL(obj) \

Modified: xfce4-screenshooter/trunk/po/POTFILES.in
===================================================================
--- xfce4-screenshooter/trunk/po/POTFILES.in	2009-05-21 10:21:48 UTC (rev 7383)
+++ xfce4-screenshooter/trunk/po/POTFILES.in	2009-05-21 10:34:08 UTC (rev 7384)
@@ -1,5 +1,7 @@
+lib/screenshooter-dialogs.c
 lib/screenshooter-utils.c
-lib/screenshooter-dialogs.c
+lib/screenshooter-zimagez.c
+lib/sexy-url-label.c
 src/main.c
 src/xfce4-screenshooter.desktop.in.in
 panel-plugin/screenshooter-plugin.c




More information about the Goodies-commits mailing list