[Xfce4-commits] <xfce4-power-manager:master> Add more strings for translation.

Ali Abdallah noreply at xfce.org
Thu May 5 15:10:01 CEST 2011


Updating branch refs/heads/master
         to d3c7a2c2b3af8458289c3524af6b614ad62e33c6 (commit)
       from f3671687c06758b192b64476e54900dfd6460b38 (commit)

commit d3c7a2c2b3af8458289c3524af6b614ad62e33c6
Author: Mikhail Efremov <sem at altlinux.org>
Date:   Wed May 4 16:36:14 2011 +0400

    Add more strings for translation.

 src/xfpm-battery.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/xfpm-battery.c b/src/xfpm-battery.c
index 18da99c..9d8bbd9 100644
--- a/src/xfpm-battery.c
+++ b/src/xfpm-battery.c
@@ -219,7 +219,7 @@ xfpm_battery_get_message_from_battery_state (XfpmBattery *battery)
 		    
 		    est_time_str = xfpm_battery_get_time_string (battery->priv->time_to_full);
 		    
-		    msg = g_strdup_printf ("%s (%i%%)\n%s until is fully charged.", tmp, battery->priv->percentage, est_time_str);
+		    msg = g_strdup_printf (_("%s (%i%%)\n%s until is fully charged."), tmp, battery->priv->percentage, est_time_str);
 		    g_free (est_time_str);
 		    g_free (tmp);
 		}
@@ -239,7 +239,7 @@ xfpm_battery_get_message_from_battery_state (XfpmBattery *battery)
 			
 			est_time_str = xfpm_battery_get_time_string (battery->priv->time_to_empty);
 			
-			msg = g_strdup_printf ("%s (%i%%)\nEstimated time left is %s.", tmp, battery->priv->percentage, est_time_str);
+			msg = g_strdup_printf (_("%s (%i%%)\nEstimated time left is %s."), tmp, battery->priv->percentage, est_time_str);
 			g_free (tmp);
 			g_free (est_time_str);
 		    }



More information about the Xfce4-commits mailing list