diff options
author | Benno Schulenberg <bensberg@justemail.net> | 2012-11-17 11:49:21 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2013-01-12 13:36:29 +0000 |
commit | e27bfd101da5d208c9fad6f6d0c94f4d7322fade (patch) | |
tree | c8e73bac77b2bfc1d74ccdfb4f80faeb4038ee8d /src/uptime.c | |
parent | 119d9f7ed7c153a4f5c8c03e072ca0436b03f424 (diff) | |
download | coreutils-e27bfd101da5d208c9fad6f6d0c94f4d7322fade.tar.xz |
uptime: gettextize an overlooked string, and normalize another
* src/uptime.c: Add calls to gettext() and select_plural().
Diffstat (limited to 'src/uptime.c')
-rw-r--r-- | src/uptime.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/uptime.c b/src/uptime.c index 06b1b2a9f..8e8f2ca68 100644 --- a/src/uptime.c +++ b/src/uptime.c @@ -146,9 +146,9 @@ print_uptime (size_t n, const STRUCT_UTMP *this) select_plural (updays)), updays, uphours, upmins); else - printf ("up %2d:%02d, ", uphours, upmins); + printf (_("up %2d:%02d, "), uphours, upmins); } - printf (ngettext ("%lu user", "%lu users", entries), + printf (ngettext ("%lu user", "%lu users", select_plural (entries)), (unsigned long int) entries); loads = getloadavg (avg, 3); |