summaryrefslogtreecommitdiff
path: root/battstat/battstat_applet.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-12-29 13:20:17 +0100
committerraveit65 <[email protected]>2021-01-07 18:35:10 +0100
commitd5b116f704848c7224d1cd339be478ecaccdec96 (patch)
tree576099d2e69b329aaf81e15b79efd7e78591ddf1 /battstat/battstat_applet.c
parentad76d1dfe9b31be3d9c3bad10712594eb3926ecb (diff)
downloadmate-applets-d5b116f704848c7224d1cd339be478ecaccdec96.tar.bz2
mate-applets-d5b116f704848c7224d1cd339be478ecaccdec96.tar.xz
Don't leave any round bracket at line end
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"