summaryrefslogtreecommitdiff
path: root/battstat/battstat_applet.c
diff options
context:
space:
mode:
Diffstat (limited to 'battstat/battstat_applet.c')
-rw-r--r--battstat/battstat_applet.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/battstat/battstat_applet.c b/battstat/battstat_applet.c
index f3b54c68..d89583ff 100644
--- a/battstat/battstat_applet.c
+++ b/battstat/battstat_applet.c
@@ -181,26 +181,26 @@ get_remaining (BatteryStatus *info)
else
if (hours == 0)
if (!info->on_ac_power)
- return g_strdup_printf (ngettext (
- "%d minute (%d%%) remaining",
- "%d minutes (%d%%) remaining",
- mins), mins, info->percent);
+ return g_strdup_printf (ngettext ("%d minute (%d%%) remaining",
+ "%d minutes (%d%%) remaining",
+ mins),
+ mins, info->percent);
else
- return g_strdup_printf (ngettext (
- "%d minute until charged (%d%%)",
- "%d minutes until charged (%d%%)",
- mins), mins, info->percent);
+ return g_strdup_printf (ngettext ("%d minute until charged (%d%%)",
+ "%d minutes until charged (%d%%)",
+ mins),
+ mins, info->percent);
else if (mins == 0)
if (!info->on_ac_power)
- return g_strdup_printf (ngettext (
- "%d hour (%d%%) remaining",
- "%d hours (%d%%) remaining",
- hours), hours, info->percent);
+ return g_strdup_printf (ngettext ("%d hour (%d%%) remaining",
+ "%d hours (%d%%) remaining",
+ hours),
+ hours, info->percent);
else
- return g_strdup_printf (ngettext (
- "%d hour until charged (%d%%)",
- "%d hours until charged (%d%%)",
- hours), hours, info->percent);
+ return g_strdup_printf (ngettext ("%d hour until charged (%d%%)",
+ "%d hours until charged (%d%%)",
+ hours),
+ hours, info->percent);
else
if (!info->on_ac_power)
/* TRANSLATOR: "%d %s %d %s" are "%d hours %d minutes"