[gnome-control-center] power: Add context for the battery levels
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] power: Add context for the battery levels
- Date: Sun, 22 Apr 2012 11:58:22 +0000 (UTC)
commit 42aa44c68eab4d9e91c4dc1e61132efab9077e91
Author: Bastien Nocera <hadess hadess net>
Date: Mon Mar 26 17:01:33 2012 +0200
power: Add context for the battery levels
https://bugzilla.gnome.org/show_bug.cgi?id=672738
panels/power/cc-power-panel.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/panels/power/cc-power-panel.c b/panels/power/cc-power-panel.c
index 2c4f4ef..630c664 100644
--- a/panels/power/cc-power-panel.c
+++ b/panels/power/cc-power-panel.c
@@ -555,33 +555,33 @@ add_device_secondary (CcPowerPanel *panel,
case UP_DEVICE_STATE_CHARGING:
case UP_DEVICE_STATE_PENDING_CHARGE:
/* TRANSLATORS: secondary battery */
- status = g_string_new(_("Charging"));
+ status = g_string_new(C_("Battery power", "Charging"));
break;
case UP_DEVICE_STATE_DISCHARGING:
case UP_DEVICE_STATE_PENDING_DISCHARGE:
if (percentage < 10 && show_caution)
{
/* TRANSLATORS: secondary battery */
- status = g_string_new (_("Caution"));
+ status = g_string_new (C_("Battery power", "Caution"));
}
else if (percentage < 30)
{
/* TRANSLATORS: secondary battery */
- status = g_string_new (_("Low"));
+ status = g_string_new (C_("Battery power", "Low"));
}
else
{
/* TRANSLATORS: secondary battery */
- status = g_string_new (_("Good"));
+ status = g_string_new (C_("Battery power", "Good"));
}
break;
case UP_DEVICE_STATE_FULLY_CHARGED:
/* TRANSLATORS: primary battery */
- status = g_string_new(_("Charging - fully charged"));
+ status = g_string_new(C_("Battery power", "Charging - fully charged"));
break;
case UP_DEVICE_STATE_EMPTY:
/* TRANSLATORS: primary battery */
- status = g_string_new(_("Empty"));
+ status = g_string_new(C_("Battery power", "Empty"));
break;
default:
status = g_string_new (up_device_state_to_string (state));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]