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

Ali Abdallah aliov at xfce.org
Fri Oct 24 08:41:38 CEST 2008


Author: aliov
Date: 2008-10-24 06:41:38 +0000 (Fri, 24 Oct 2008)
New Revision: 5783

Modified:
   xfce4-power-manager/trunk/po/xfce4-power-manager.pot
   xfce4-power-manager/trunk/src/xfpm-battery-icon.c
   xfce4-power-manager/trunk/src/xfpm-hal.c
   xfce4-power-manager/trunk/src/xfpm-main.c
Log:
Correct some blank space

Modified: xfce4-power-manager/trunk/po/xfce4-power-manager.pot
===================================================================
--- xfce4-power-manager/trunk/po/xfce4-power-manager.pot	2008-10-23 23:49:19 UTC (rev 5782)
+++ xfce4-power-manager/trunk/po/xfce4-power-manager.pot	2008-10-24 06:41:38 UTC (rev 5783)
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-10-23 14:49+0200\n"
+"POT-Creation-Date: 2008-10-24 08:37+0200\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"
@@ -28,22 +28,22 @@
 msgid "Adapter is offline"
 msgstr ""
 
-#: xfpm-ac-adapter.c:357 xfpm-battery.c:920
+#: xfpm-ac-adapter.c:357 xfpm-battery.c:922
 msgid "Are you sure you want to hibernate the system"
 msgstr ""
 
-#: xfpm-ac-adapter.c:359 xfpm-ac-adapter.c:395 xfpm-battery.c:815
-#: xfpm-battery.c:922 xfpm-battery.c:957 xfpm-settings.c:463
+#: xfpm-ac-adapter.c:359 xfpm-ac-adapter.c:395 xfpm-battery.c:817
+#: xfpm-battery.c:924 xfpm-battery.c:959 xfpm-settings.c:463
 #: xfpm-settings.c:930 xfpm-settings.c:959 xfpm-settings.c:982
 msgid "Hibernate"
 msgstr ""
 
-#: xfpm-ac-adapter.c:371 xfpm-battery.c:935
+#: xfpm-ac-adapter.c:371 xfpm-battery.c:937
 msgid "Are you sure you want to suspend the system"
 msgstr ""
 
-#: xfpm-ac-adapter.c:373 xfpm-ac-adapter.c:412 xfpm-battery.c:937
-#: xfpm-battery.c:972 xfpm-settings.c:928 xfpm-settings.c:957
+#: xfpm-ac-adapter.c:373 xfpm-ac-adapter.c:412 xfpm-battery.c:939
+#: xfpm-battery.c:974 xfpm-settings.c:928 xfpm-settings.c:957
 #: xfpm-settings.c:980
 msgid "Suspend"
 msgstr ""
@@ -60,7 +60,7 @@
 msgid "You are running on Battery"
 msgstr ""
 
-#: xfpm-battery-icon.c:353
+#: xfpm-battery-icon.c:353 xfpm-battery-icon.c:535 xfpm-battery-icon.c:539
 msgid "Battery is discharging"
 msgstr ""
 
@@ -76,7 +76,7 @@
 msgid "Your battery is fully charged"
 msgstr ""
 
-#: xfpm-battery-icon.c:393 xfpm-battery.c:782 xfpm-driver.c:300
+#: xfpm-battery-icon.c:393 xfpm-battery.c:784 xfpm-driver.c:300
 #: xfpm-driver.c:888
 msgid "Xfce power manager"
 msgstr ""
@@ -89,76 +89,72 @@
 msgid "%"
 msgstr ""
 
-#: xfpm-battery-icon.c:508
-msgid " Battery fully charged"
+#: xfpm-battery-icon.c:509
+msgid "Battery fully charged"
 msgstr ""
 
-#: xfpm-battery-icon.c:515
-msgid " Battery charge level"
+#: xfpm-battery-icon.c:516
+msgid "Battery charge level"
 msgstr ""
 
-#: xfpm-battery-icon.c:522
-msgid " Battery is charging "
+#: xfpm-battery-icon.c:523
+msgid "Battery is charging "
 msgstr ""
 
-#: xfpm-battery-icon.c:534
-msgid " Running on battery"
+#: xfpm-battery-icon.c:535
+msgid "Running on battery"
 msgstr ""
 
-#: xfpm-battery-icon.c:534 xfpm-battery-icon.c:538
-msgid " Battery is discharging"
+#: xfpm-battery-icon.c:545
+msgid "Battery charge level is low"
 msgstr ""
 
-#: xfpm-battery-icon.c:544
-msgid " Battery charge level is low"
+#: xfpm-battery-icon.c:550
+msgid "Battery charge level is critical"
 msgstr ""
 
-#: xfpm-battery-icon.c:549
-msgid " Battery charge level is critical"
-msgstr ""
-
-#: xfpm-battery-icon.c:568
+#: xfpm-battery-icon.c:569
 msgid ""
 "\n"
 "Estimated time left"
 msgstr ""
 
-#: xfpm-battery-icon.c:573
+#: xfpm-battery-icon.c:574
 msgid ""
 "\n"
 "Estimated time to charge"
 msgstr ""
 
-#: xfpm-battery-icon.c:577
+#: xfpm-battery-icon.c:578
 msgid "hours"
 msgstr ""
 
-#: xfpm-battery-icon.c:577
+#: xfpm-battery-icon.c:578
 msgid "hour"
 msgstr ""
 
-#: xfpm-battery-icon.c:578
+#: xfpm-battery-icon.c:579
 msgid "minutes"
 msgstr ""
 
-#: xfpm-battery-icon.c:578
+#: xfpm-battery-icon.c:579
 msgid "minute"
 msgstr ""
 
-#: xfpm-battery.c:777
+#: xfpm-battery.c:779
 msgid ""
 "Your battery charge level is critical save your work to avoid losing data"
 msgstr ""
 
-#: xfpm-battery.c:792
+#: xfpm-battery.c:794
 msgid "Shutdown the system"
 msgstr ""
 
-#: xfpm-battery.c:800
+#: xfpm-battery.c:802
 msgid "Hibernate the system"
 msgstr ""
 
-#: xfpm-battery.c:822 xfpm-settings.c:459 xfpm-settings.c:932
+#: xfpm-battery.c:824 xfpm-settings.c:459 xfpm-settings.c:932
 #: xfpm-settings.c:961 xfpm-settings.c:984
 msgid "Shutdown"
 msgstr ""
@@ -242,7 +238,7 @@
 msgstr ""
 
 #: xfpm-hal.c:701 xfpm-hal.c:792
-msgid "Unknow reply from the message daemon"
+msgid "Unknown reply from the message daemon"
 msgstr ""
 
 #: xfpm-hal.c:761
@@ -294,7 +290,7 @@
 #: xfpm-main.c:269
 msgid ""
 "Unable to run Xfce4 power manager, make sure the hardware abstract layer and "
-"the message bus daemon are running "
+"the message bus daemon are running"
 msgstr ""
 
 #: xfpm-settings.c:433

Modified: xfce4-power-manager/trunk/src/xfpm-battery-icon.c
===================================================================
--- xfce4-power-manager/trunk/src/xfpm-battery-icon.c	2008-10-23 23:49:19 UTC (rev 5782)
+++ xfce4-power-manager/trunk/src/xfpm-battery-icon.c	2008-10-24 06:41:38 UTC (rev 5783)
@@ -501,25 +501,26 @@
     
     sprintf(tip,"%i",remaining_per);
     strcat(tip,_("%"));
+	strcat(tip," ");
     
     // battery is full
     if ( is_charging == FALSE && is_discharging == FALSE && battery_icon->last_full == charge )
     {
-        strcat(tip,_(" Battery fully charged"));
+        strcat(tip,_("Battery fully charged"));
         xfpm_battery_icon_update(battery_icon,FULL,remaining_per,ac_adapter_present);
     }
     
     // battery is not dis/charging but is not full also
     if ( is_charging == FALSE && is_discharging == FALSE && battery_icon->last_full != charge )
     {
-        strcat(tip,_(" Battery charge level"));
+        strcat(tip,_("Battery charge level"));
         xfpm_battery_icon_update(battery_icon,NOT_FULL,remaining_per,ac_adapter_present);
     }
     
     //battery is charging
     if ( is_charging == TRUE && is_discharging == FALSE )
     {
-        strcat(tip,_(" Battery is charging "));
+        strcat(tip,_("Battery is charging "));
         xfpm_battery_icon_update(battery_icon,CHARGING,remaining_per,ac_adapter_present);
     }
     
@@ -531,22 +532,22 @@
             if ( !ac_adapter_present )
             {
                 strcat(tip,
-                battery_icon->type == PRIMARY ? _(" Running on battery"): _(" Battery is discharging"));
+                battery_icon->type == PRIMARY ? _("Running on battery"): _("Battery is discharging"));
             }
             else
             {
-                strcat(tip,_(" Battery is discharging"));
+                strcat(tip,_("Battery is discharging"));
             }
             xfpm_battery_icon_update(battery_icon,DISCHARGING,remaining_per,ac_adapter_present);
         } 
         else if ( remaining_per <= ( critical_level+10 ) && remaining_per > critical_level )
         {
-            strcat(tip,_(" Battery charge level is low"));
+            strcat(tip,_("Battery charge level is low"));
             xfpm_battery_icon_update(battery_icon,LOW,20,ac_adapter_present);
         }
         else if ( remaining_per <= critical_level )
         {
-            strcat(tip,_(" Battery charge level is critical"));
+            strcat(tip,_("Battery charge level is critical"));
             xfpm_battery_icon_update(battery_icon,CRITICAL,0,ac_adapter_present);
         }
     }

Modified: xfce4-power-manager/trunk/src/xfpm-hal.c
===================================================================
--- xfce4-power-manager/trunk/src/xfpm-hal.c	2008-10-23 23:49:19 UTC (rev 5782)
+++ xfce4-power-manager/trunk/src/xfpm-hal.c	2008-10-24 06:41:38 UTC (rev 5783)
@@ -698,7 +698,7 @@
         g_set_error(gerror,0,0,_("Error occured while trying to suspend"));
         return FALSE;	
     default:
-        g_set_error(gerror,0,0,_("Unknow reply from the message daemon"));
+        g_set_error(gerror,0,0,_("Unknown reply from the message daemon"));
         dbus_message_unref(reply);
         return FALSE;	
     }
@@ -789,7 +789,7 @@
         g_set_error(gerror,0,0,_("Error occured while trying to suspend"));
         return FALSE;	
     default:
-        g_set_error(gerror,0,0,_("Unknow reply from the message daemon"));
+        g_set_error(gerror,0,0,_("Unknown reply from the message daemon"));
         dbus_message_unref(reply);
         return FALSE;	
     }

Modified: xfce4-power-manager/trunk/src/xfpm-main.c
===================================================================
--- xfce4-power-manager/trunk/src/xfpm-main.c	2008-10-23 23:49:19 UTC (rev 5782)
+++ xfce4-power-manager/trunk/src/xfpm-main.c	2008-10-24 06:41:38 UTC (rev 5783)
@@ -268,7 +268,7 @@
             xfpm_popup_message(_("Xfce4 power manager"),
                               _("Unable to run Xfce4 power manager, " \
                               "make sure the hardware abstract layer and the message bus daemon "\
-							  "are running "),
+							  "are running"),
                               GTK_MESSAGE_ERROR);
             g_error("Unable to load xfce4 power manager driver\n");        
             g_object_unref(driver);




More information about the Goodies-commits mailing list