Sophie

Sophie

distrib > Fedora > 16 > x86_64 > media > updates-src > by-pkgid > 6fbbfac04a44f78715f1c5b19a278f7a > files > 8

xfce4-power-manager-1.0.10-2.fc16.src.rpm

From d3c7a2c2b3af8458289c3524af6b614ad62e33c6 Mon Sep 17 00:00:00 2001
From: Mikhail Efremov <sem@altlinux.org>
Date: Wed, 04 May 2011 12:36:14 +0000
Subject: Add more strings for translation.

---
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);
 		    }
--
cgit