Репозиторий Sisyphus
Последнее обновление: 17 января 2020 | Пакетов: 17498 | Посещений: 16544789
en ru br
Репозитории ALT
S:1.6.5-alt2
5.1: 0.8.4.2-alt0.M51.1
www.altlinux.org/Changes

Группа :: Графические оболочки/XFce
Пакет: xfce4-power-manager

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: xfce4-power-manager-1.0.10-alt-fix-translation.patch
Скачать


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
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin