From e27bfd101da5d208c9fad6f6d0c94f4d7322fade Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sat, 17 Nov 2012 11:49:21 +0100 Subject: uptime: gettextize an overlooked string, and normalize another * src/uptime.c: Add calls to gettext() and select_plural(). --- src/uptime.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/uptime.c') 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); -- cgit v1.2.3-54-g00ecf