[Goodies-commits] r5814 - in xfce4-power-manager/trunk: po src

Ali Abdallah aliov at xfce.org
Sun Oct 26 10:29:54 CET 2008


Author: aliov
Date: 2008-10-26 09:29:54 +0000 (Sun, 26 Oct 2008)
New Revision: 5814

Modified:
   xfce4-power-manager/trunk/po/xfce4-power-manager.pot
   xfce4-power-manager/trunk/src/xfpm-settings.c
Log:
Fix missing gettext _(), thanks to Mike Massonnet

Modified: xfce4-power-manager/trunk/po/xfce4-power-manager.pot
===================================================================
--- xfce4-power-manager/trunk/po/xfce4-power-manager.pot	2008-10-26 08:30:02 UTC (rev 5813)
+++ xfce4-power-manager/trunk/po/xfce4-power-manager.pot	2008-10-26 09:29:54 UTC (rev 5814)
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-10-25 09:56+0200\n"
+"POT-Creation-Date: 2008-10-26 10:26+0100\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: LANGUAGE <LL at li.org>\n"
@@ -287,7 +287,7 @@
 msgstr ""
 
 #: xfpm-settings.c:433
-msgid "Ups configuration"
+msgid "UPS configuration"
 msgstr ""
 
 #: xfpm-settings.c:433
@@ -295,6 +295,10 @@
 msgstr ""
 
 #: xfpm-settings.c:437
+msgid "Consider UPS charge critical"
+msgstr ""
+
+#: xfpm-settings.c:437
 msgid "Consider battery charge critical"
 msgstr ""
 
@@ -312,7 +316,7 @@
 msgstr ""
 
 #: xfpm-settings.c:479
-msgid "Enable ups charge notification"
+msgid "Enable UPS charge notification"
 msgstr ""
 
 #: xfpm-settings.c:479
@@ -320,7 +324,7 @@
 msgstr ""
 
 #: xfpm-settings.c:493
-msgid "Enable power save on ups power"
+msgid "Enable power save on UPS power"
 msgstr ""
 
 #: xfpm-settings.c:493
@@ -348,7 +352,7 @@
 msgstr ""
 
 #: xfpm-settings.c:617
-msgid "CPU governor settings on ups power"
+msgid "CPU governor settings on UPS power"
 msgstr ""
 
 #: xfpm-settings.c:617

Modified: xfce4-power-manager/trunk/src/xfpm-settings.c
===================================================================
--- xfce4-power-manager/trunk/src/xfpm-settings.c	2008-10-26 08:30:02 UTC (rev 5813)
+++ xfce4-power-manager/trunk/src/xfpm-settings.c	2008-10-26 09:29:54 UTC (rev 5814)
@@ -430,11 +430,11 @@
     
     table = gtk_table_new(4,2,TRUE);
     gtk_widget_show(table);
-    frame = xfce_create_framebox(ups_found ? _("Ups configuration") :_("Battery configuration"), &align);
+    frame = xfce_create_framebox(ups_found ? _("UPS configuration") :_("Battery configuration"), &align);
     gtk_widget_show(frame);
     gtk_container_set_border_width(GTK_CONTAINER(frame),BORDER);
     
-    label = gtk_label_new(ups_found ? ("Consider ups charge critical"):_("Consider battery charge critical"));
+    label = gtk_label_new(ups_found ? _("Consider UPS charge critical"):_("Consider battery charge critical"));
     gtk_widget_show(label);
     gtk_table_attach_defaults(GTK_TABLE(table),label,0,1,0,1);
     
@@ -476,7 +476,7 @@
 
 #ifdef HAVE_LIBNOTIFY
     GtkWidget *notify_bt;        
-    label = gtk_label_new(ups_found ? _("Enable ups charge notification") :_("Enable battery state notification"));
+    label = gtk_label_new(ups_found ? _("Enable UPS charge notification") :_("Enable battery state notification"));
     gtk_widget_show(label);
     gtk_table_attach_defaults(GTK_TABLE(table),label,0,1,2,3);
     notify_bt = gtk_check_button_new();
@@ -490,7 +490,7 @@
 	{
 		// Power Save Profile
 		GtkWidget *power_save;        
-		label = gtk_label_new(ups_found ? _("Enable power save on ups power") : _("Enable power save on battery power"));
+		label = gtk_label_new(ups_found ? _("Enable power save on UPS power") : _("Enable power save on battery power"));
 		gtk_widget_show(label);
 		gtk_table_attach_defaults(GTK_TABLE(table),label,0,1,2,3);
 		power_save = gtk_check_button_new();
@@ -614,7 +614,7 @@
     guint current_governor = xfconf_channel_get_uint(channel,ON_BATT_CPU_GOV_CFG,POWERSAVE);
     gboolean enable = xfconf_channel_get_bool(channel,CPU_FREQ_SCALING_CFG,TRUE);
     
-    frame = xfce_create_framebox(ups ? _("CPU governor settings on ups power") : _("CPU governor settings on battery power"), &align);
+    frame = xfce_create_framebox(ups ? _("CPU governor settings on UPS power") : _("CPU governor settings on battery power"), &align);
     gtk_container_set_border_width(GTK_CONTAINER(frame),BORDER);
     gtk_widget_show(frame);
     




More information about the Goodies-commits mailing list