diff options
author | Benno Schulenberg | 2013-10-05 23:19:55 +0200 |
---|---|---|
committer | Karel Zak | 2013-10-08 15:27:36 +0200 |
commit | ce0e6110b65cfb8047b586737173abd1d3443aad (patch) | |
tree | e2a7128b0babb97ffaa5efbade2357f23329c225 /sys-utils/wdctl.c | |
parent | wdctl: gettextize and pluralize one forgotten message (diff) | |
download | kernel-qcow2-util-linux-ce0e6110b65cfb8047b586737173abd1d3443aad.tar.gz kernel-qcow2-util-linux-ce0e6110b65cfb8047b586737173abd1d3443aad.tar.xz kernel-qcow2-util-linux-ce0e6110b65cfb8047b586737173abd1d3443aad.zip |
wdctl: pluralize one thrice-repeated message
Also put in one hard space, to keep text and number separated when
the translated string should be too long.
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Diffstat (limited to 'sys-utils/wdctl.c')
-rw-r--r-- | sys-utils/wdctl.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sys-utils/wdctl.c b/sys-utils/wdctl.c index 71309188e..c0953c9c8 100644 --- a/sys-utils/wdctl.c +++ b/sys-utils/wdctl.c @@ -450,11 +450,14 @@ static void print_oneline(struct wdinfo *wd, uint32_t wanted, static void show_timeouts(struct wdinfo *wd) { if (wd->has_timeout) - printf(_("%-15s%2i seconds\n"), _("Timeout:"), wd->timeout); + printf(P_("%-14s %2i second\n", "%-14s %2i seconds\n", wd->timeout), + _("Timeout:"), wd->timeout); if (wd->has_pretimeout) - printf(_("%-15s%2i seconds\n"), _("Pre-timeout:"), wd->pretimeout); + printf(P_("%-14s %2i second\n", "%-14s %2i seconds\n", wd->pretimeout), + _("Pre-timeout:"), wd->pretimeout); if (wd->has_timeleft) - printf(_("%-15s%2i seconds\n"), _("Timeleft:"), wd->timeleft); + printf(P_("%-14s %2i second\n", "%-14s %2i seconds\n", wd->timeleft), + _("Timeleft:"), wd->timeleft); } int main(int argc, char *argv[]) |