mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
uptime: gettextize an overlooked string, and normalize another
* src/uptime.c: Add calls to gettext() and select_plural().
This commit is contained in:
1 parent
119d9f7ed7
commit
e27bfd101d
1 file changed
+2
-2
+2
-2
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user