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

Ali Abdallah aliov at xfce.org
Tue Nov 4 19:33:14 CET 2008


Author: aliov
Date: 2008-11-04 18:33:14 +0000 (Tue, 04 Nov 2008)
New Revision: 5970

Modified:
   xfce4-power-manager/trunk/po/xfce4-power-manager.pot
   xfce4-power-manager/trunk/src/xfpm-ac-adapter.c
   xfce4-power-manager/trunk/src/xfpm-battery.c
   xfce4-power-manager/trunk/src/xfpm-driver.c
   xfce4-power-manager/trunk/src/xfpm-hal.c
   xfce4-power-manager/trunk/src/xfpm-main.c
Log:
remove \n from some strings

Modified: xfce4-power-manager/trunk/po/xfce4-power-manager.pot
===================================================================
--- xfce4-power-manager/trunk/po/xfce4-power-manager.pot	2008-11-04 18:32:18 UTC (rev 5969)
+++ xfce4-power-manager/trunk/po/xfce4-power-manager.pot	2008-11-04 18:33:14 UTC (rev 5970)
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-11-04 11:03+0100\n"
+"POT-Creation-Date: 2008-11-04 19:31+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"
@@ -29,7 +29,7 @@
 msgstr ""
 
 #: ../src/xfpm-ac-adapter.c:358 ../src/xfpm-battery.c:908
-msgid "Are you sure you want to hibernate the system ?"
+msgid "Are you sure you want to hibernate the system?"
 msgstr ""
 
 #. Hibernate menu option
@@ -42,7 +42,7 @@
 msgstr ""
 
 #: ../src/xfpm-ac-adapter.c:372 ../src/xfpm-battery.c:923
-msgid "Are you sure you want to suspend the system ?"
+msgid "Are you sure you want to suspend the system?"
 msgstr ""
 
 #. Suspend menu option
@@ -58,7 +58,7 @@
 msgstr ""
 
 #: ../src/xfpm-battery.c:770 ../src/xfpm-battery.c:1271
-#: ../src/xfpm-battery-icon.c:426 ../src/xfpm-main.c:229
+#: ../src/xfpm-battery-icon.c:426 ../src/xfpm-main.c:232
 #: ../src/xfpm-driver.c:304 ../src/xfpm-driver.c:317 ../src/xfpm-driver.c:912
 msgid "Xfce power manager"
 msgstr ""
@@ -431,42 +431,42 @@
 "may not work"
 msgstr ""
 
-#: ../src/xfpm-main.c:163 ../src/xfpm-main.c:183
+#: ../src/xfpm-main.c:163 ../src/xfpm-main.c:184
 #, c-format
 msgid "Type '%s --help' for usage."
 msgstr ""
 
 #: ../src/xfpm-main.c:182
 #, c-format
-msgid "Too much arguments\n"
+msgid "Too many arguments"
 msgstr ""
 
-#: ../src/xfpm-main.c:197 ../src/xfpm-main.c:250
+#: ../src/xfpm-main.c:198 ../src/xfpm-main.c:254
 #, c-format
-msgid "Xfce power manager is not running\n"
+msgid "Xfce power manager is not running"
 msgstr ""
 
-#: ../src/xfpm-main.c:199
-msgid "Xfce4 Power Manager is not running, do you want to launch it now ?"
+#: ../src/xfpm-main.c:201
+msgid "Xfce4 Power Manager is not running, do you want to launch it now "
 msgstr ""
 
-#: ../src/xfpm-main.c:201
+#: ../src/xfpm-main.c:203
 msgid "Run"
 msgstr ""
 
-#: ../src/xfpm-main.c:222
+#: ../src/xfpm-main.c:224
 #, c-format
-msgid "Xfce power manager is already running\n"
+msgid "Xfce power manager is already running"
 msgstr ""
 
-#: ../src/xfpm-main.c:230
+#: ../src/xfpm-main.c:233
 msgid ""
 "Unable to run Xfce4 power manager, make sure the hardware abstract layer and "
 "the message bus daemon are running"
 msgstr ""
 
-#: ../src/xfpm-main.c:234
-msgid "Unable to load xfce4 power manager\n"
+#: ../src/xfpm-main.c:237
+msgid "Unable to load xfce4 power manager"
 msgstr ""
 
 #: ../src/xfpm-driver.c:291
@@ -493,111 +493,111 @@
 msgstr ""
 
 #: ../src/xfpm-driver.c:1220
-msgid "Failed to load power manager configuration using defaults"
+msgid "Failed to load power manager configuration, using defaults"
 msgstr ""
 
 #: ../src/xfpm-hal.c:172
 #, c-format
-msgid "Error monitoring HAL events\n"
+msgid "Error monitoring HAL events"
 msgstr ""
 
-#: ../src/xfpm-hal.c:260 ../src/xfpm-hal.c:277
+#: ../src/xfpm-hal.c:261 ../src/xfpm-hal.c:280
 #, c-format
-msgid "Unable to connect to DBus %s\n"
+msgid "Unable to connect to DBus: %s"
 msgstr ""
 
-#: ../src/xfpm-hal.c:266
-msgid "HAL is not running or not responding\n"
+#: ../src/xfpm-hal.c:268
+msgid "HAL is not running or not responding"
 msgstr ""
 
-#: ../src/xfpm-hal.c:411
+#: ../src/xfpm-hal.c:415
 #, c-format
-msgid "Unable to watch device using HAL %s\n"
+msgid "Unable to watch device using HAL: %s"
 msgstr ""
 
-#: ../src/xfpm-hal.c:628
+#: ../src/xfpm-hal.c:633
 msgid "No back-end for your operating system"
 msgstr ""
 
-#: ../src/xfpm-hal.c:632
+#: ../src/xfpm-hal.c:637
 msgid "No hibernate script found"
 msgstr ""
 
-#: ../src/xfpm-hal.c:636
+#: ../src/xfpm-hal.c:641
 msgid "No suspend script found"
 msgstr ""
 
-#: ../src/xfpm-hal.c:640
+#: ../src/xfpm-hal.c:645
 msgid "No suspend method found"
 msgstr ""
 
-#: ../src/xfpm-hal.c:644
+#: ../src/xfpm-hal.c:649
 msgid "No hibernate method found"
 msgstr ""
 
-#: ../src/xfpm-hal.c:670 ../src/xfpm-hal.c:760 ../src/xfpm-hal.c:854
-#: ../src/xfpm-hal.c:903 ../src/xfpm-hal.c:953 ../src/xfpm-hal.c:1005
-#: ../src/xfpm-hal.c:1057 ../src/xfpm-hal.c:1103
+#: ../src/xfpm-hal.c:675 ../src/xfpm-hal.c:765 ../src/xfpm-hal.c:859
+#: ../src/xfpm-hal.c:908 ../src/xfpm-hal.c:958 ../src/xfpm-hal.c:1010
+#: ../src/xfpm-hal.c:1062 ../src/xfpm-hal.c:1108
 #, c-format
 msgid "Out of memory"
 msgstr ""
 
-#: ../src/xfpm-hal.c:702
+#: ../src/xfpm-hal.c:707
 #, c-format
 msgid "Message hibernate didn't get a reply"
 msgstr ""
 
-#: ../src/xfpm-hal.c:723
+#: ../src/xfpm-hal.c:728
 #, c-format
 msgid "System failed to hibernate"
 msgstr ""
 
-#: ../src/xfpm-hal.c:729 ../src/xfpm-hal.c:821
+#: ../src/xfpm-hal.c:734 ../src/xfpm-hal.c:826
 #, c-format
 msgid "Error occured while trying to suspend"
 msgstr ""
 
-#: ../src/xfpm-hal.c:732 ../src/xfpm-hal.c:824
+#: ../src/xfpm-hal.c:737 ../src/xfpm-hal.c:829
 #, c-format
 msgid "Unknown reply from the message daemon"
 msgstr ""
 
-#: ../src/xfpm-hal.c:793
+#: ../src/xfpm-hal.c:798
 #, c-format
 msgid "Message suspend didn't get a reply"
 msgstr ""
 
-#: ../src/xfpm-hal.c:815
+#: ../src/xfpm-hal.c:820
 #, c-format
 msgid "System failed to suspend"
 msgstr ""
 
-#: ../src/xfpm-hal.c:874
+#: ../src/xfpm-hal.c:879
 #, c-format
 msgid "No reply from HAL daemon to set monitor brightness level"
 msgstr ""
 
-#: ../src/xfpm-hal.c:921
+#: ../src/xfpm-hal.c:926
 #, c-format
 msgid "No reply from HAL daemon to get monitor brightness level"
 msgstr ""
 
-#: ../src/xfpm-hal.c:971
+#: ../src/xfpm-hal.c:976
 #, c-format
 msgid "No reply from HAL daemon to get available cpu governors"
 msgstr ""
 
-#: ../src/xfpm-hal.c:1023
+#: ../src/xfpm-hal.c:1028
 #, c-format
 msgid "No reply from HAL daemon to get current cpu governor"
 msgstr ""
 
-#: ../src/xfpm-hal.c:1076
+#: ../src/xfpm-hal.c:1081
 #, c-format
 msgid "No reply from HAL daemon to set cpu governor"
 msgstr ""
 
-#: ../src/xfpm-hal.c:1122
+#: ../src/xfpm-hal.c:1127
 #, c-format
 msgid "No reply from HAL daemon to set power save profile"
 msgstr ""

Modified: xfce4-power-manager/trunk/src/xfpm-ac-adapter.c
===================================================================
--- xfce4-power-manager/trunk/src/xfpm-ac-adapter.c	2008-11-04 18:32:18 UTC (rev 5969)
+++ xfce4-power-manager/trunk/src/xfpm-ac-adapter.c	2008-11-04 18:33:14 UTC (rev 5970)
@@ -355,7 +355,7 @@
 xfpm_ac_adapter_hibernate_callback(GtkWidget *widget,XfpmAcAdapter *adapter)
 {
     gboolean ret = 
-    xfce_confirm(_("Are you sure you want to hibernate the system ?"),
+    xfce_confirm(_("Are you sure you want to hibernate the system?"),
                 GTK_STOCK_YES,
                 _("Hibernate"));
     
@@ -369,7 +369,7 @@
 xfpm_ac_adapter_suspend_callback(GtkWidget *widget,XfpmAcAdapter *adapter)
 {
     gboolean ret = 
-    xfce_confirm(_("Are you sure you want to suspend the system ?"),
+    xfce_confirm(_("Are you sure you want to suspend the system?"),
                 GTK_STOCK_YES,
                 _("Suspend"));
     

Modified: xfce4-power-manager/trunk/src/xfpm-battery.c
===================================================================
--- xfce4-power-manager/trunk/src/xfpm-battery.c	2008-11-04 18:32:18 UTC (rev 5969)
+++ xfce4-power-manager/trunk/src/xfpm-battery.c	2008-11-04 18:33:14 UTC (rev 5970)
@@ -905,7 +905,7 @@
 xfpm_battery_hibernate_callback(GtkWidget *widget,XfpmBattery *batt)
 {
     gboolean ret = 
-    xfce_confirm(_("Are you sure you want to hibernate the system ?"),
+    xfce_confirm(_("Are you sure you want to hibernate the system?"),
                 GTK_STOCK_YES,
                 _("Hibernate"));
     
@@ -920,7 +920,7 @@
 xfpm_battery_suspend_callback(GtkWidget *widget,XfpmBattery *batt)
 {
     gboolean ret = 
-    xfce_confirm(_("Are you sure you want to suspend the system ?"),
+    xfce_confirm(_("Are you sure you want to suspend the system?"),
                 GTK_STOCK_YES,
                 _("Suspend"));
     

Modified: xfce4-power-manager/trunk/src/xfpm-driver.c
===================================================================
--- xfce4-power-manager/trunk/src/xfpm-driver.c	2008-11-04 18:32:18 UTC (rev 5969)
+++ xfce4-power-manager/trunk/src/xfpm-driver.c	2008-11-04 18:33:14 UTC (rev 5970)
@@ -1217,7 +1217,7 @@
     if ( !xfconf_init(&g_error) )
     {
         g_critical("xfconf init failed: %s using default settings\n",g_error->message);
-        xfpm_popup_message(_("Xfce4 Power Manager"),_("Failed to load power manager configuration "\
+        xfpm_popup_message(_("Xfce4 Power Manager"),_("Failed to load power manager configuration, "\
                             "using defaults"),GTK_MESSAGE_WARNING);
         g_error_free(g_error);
         

Modified: xfce4-power-manager/trunk/src/xfpm-hal.c
===================================================================
--- xfce4-power-manager/trunk/src/xfpm-hal.c	2008-11-04 18:32:18 UTC (rev 5969)
+++ xfce4-power-manager/trunk/src/xfpm-hal.c	2008-11-04 18:33:14 UTC (rev 5970)
@@ -169,7 +169,8 @@
     // If this happens then nobody cares
     if ( !xfpm_hal_monitor(xfpm_hal) ) 
     {
-        g_printerr(_("Error monitoring HAL events\n"));
+        g_printerr(_("Error monitoring HAL events"));
+		g_print("\n");
         priv->connected = FALSE;
     } 
     else
@@ -257,13 +258,15 @@
     
     if ( !priv->connection || dbus_error_is_set(&error) )
     {
-        g_critical(_("Unable to connect to DBus %s\n"),error.message);
+        g_critical(_("Unable to connect to DBus: %s"),error.message);
+		g_print("\n");
         return FALSE;
     }
     
     if ( !xfpm_dbus_name_has_owner(priv->connection,HAL_DBUS_SERVICE) )
     {
-        g_critical(_("HAL is not running or not responding\n"));
+        g_critical(_("HAL is not running or not responding"));
+		g_print("\n");
         return FALSE;
     }
     priv->ctx = libhal_ctx_new();
@@ -274,7 +277,8 @@
     libhal_ctx_init(priv->ctx,&error);
     
     if ( dbus_error_is_set(&error) ) {
-        g_printerr(_("Unable to connect to DBus %s\n"),error.message);
+        g_printerr(_("Unable to connect to DBus: %s"),error.message);
+		g_print("\n");
         return FALSE;
     }    
     
@@ -408,7 +412,8 @@
     libhal_device_property_watch_all(priv->ctx,&error);        
 
     if ( dbus_error_is_set(&error) ) {
-        g_printerr(_("Unable to watch device using HAL %s\n"),error.message);
+        g_printerr(_("Unable to watch device using HAL: %s"),error.message);
+		g_print("\n");
         return FALSE;
     }
     

Modified: xfce4-power-manager/trunk/src/xfpm-main.c
===================================================================
--- xfce4-power-manager/trunk/src/xfpm-main.c	2008-11-04 18:32:18 UTC (rev 5969)
+++ xfce4-power-manager/trunk/src/xfpm-main.c	2008-11-04 18:33:14 UTC (rev 5970)
@@ -179,7 +179,8 @@
 
 	if ( run + quit + config + version > 1 )
 	{
-		g_printerr(_("Too much arguments\n"));
+		g_printerr(_("Too many arguments"));
+		g_printerr("\n");
 		g_printerr(_("Type '%s --help' for usage."), G_LOG_DOMAIN);
 		g_printerr("\n");
 		return EXIT_FAILURE;
@@ -194,9 +195,10 @@
         }
         if ( reply != 1 )
         {
-            g_print(_("Xfce power manager is not running\n"));
+            g_print(_("Xfce power manager is not running"));
+			g_print("\n");
             gboolean ret = 
-            xfce_confirm(_("Xfce4 Power Manager is not running, do you want to launch it now ?"),
+            xfce_confirm(_("Xfce4 Power Manager is not running, do you want to launch it now "),
                         GTK_STOCK_YES,
                         _("Run"));
             if ( ret ) 
@@ -219,7 +221,8 @@
         
         if ( reply == 1 )
         {
-            g_print(_("Xfce power manager is already running\n"));
+            g_print(_("Xfce power manager is already running"));
+			g_print("\n")
             return EXIT_SUCCESS;
         }
         XfpmDriver *driver = xfpm_driver_new();
@@ -231,7 +234,8 @@
                               "make sure the hardware abstract layer and the message bus daemon "\
 							  "are running"),
                               GTK_MESSAGE_ERROR);
-            g_error(_("Unable to load xfce4 power manager\n"));        
+            g_error(_("Unable to load xfce4 power manager"));
+			g_print("\n");
             g_object_unref(driver);
             return EXIT_FAILURE;
         }
@@ -247,7 +251,8 @@
         
         if ( reply == 0 )
         {
-            g_print(_("Xfce power manager is not running\n"));
+            g_print(_("Xfce power manager is not running"));
+			g_print("\n");
             return EXIT_SUCCESS;
         }
         return EXIT_SUCCESS;




More information about the Goodies-commits mailing list