Group :: Graphical desktop/XFce
RPM: xfce4-power-manager
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: xfce4-power-manager-1.0.10-alt-fix-translation.patch
Download
Download
From 1940c6f8ee787cdf4b883334401474d5975e8703 Mon Sep 17 00:00:00 2001
From: Mikhail Efremov <sem@altlinux.org>
Date: Wed, 4 May 2011 16:36:14 +0400
Subject: [PATCH 1/2] Add more strings for translation.
---
xfce4-power-manager/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);
}
--
1.7.4.5