uptime: gettextize an overlooked string, and normalize another

* src/uptime.c: Add calls to gettext() and select_plural().
This commit is contained in:
Benno Schulenberg authored and Pádraig Brady committed 2013-01-12 13:36:29 +00:00
1 parent 119d9f7ed7
commit e27bfd101d
1 file changed
+2 -2
+2 -2
View File
@@ -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);