nls: improve translations and provide translator help comments
Reference: http://www.freelists.org/post/procps/backporting,1 Reported-by: Jim Warner <james.warner@comcast.net> Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
1 parent
7b6084451d
commit
0022b6ec5d
15 files changed
+153
-49
No files matched your search
@@ -303,7 +303,7 @@ static void __attribute__ ((__noreturn__))
|
||||
{
|
||||
fputs(USAGE_HEADER, out);
|
||||
fprintf(out,
|
||||
" %s [options]\n", program_invocation_short_name);
|
||||
_(" %s [options]\n"), program_invocation_short_name);
|
||||
fputs(USAGE_OPTIONS, out);
|
||||
fputs(_(" -h, --no-header do not print header\n"), out);
|
||||
fputs(_(" -u, --no-current ignore current process username\n"), out);
|
||||
@@ -422,13 +422,15 @@ int main(int argc, char **argv)
|
||||
if (header) {
|
||||
/* print uptime and headers */
|
||||
print_uptime();
|
||||
printf("%-*s TTY ", userlen, "USER");
|
||||
/* Translation Hint: Following five uppercase messages are
|
||||
* headers. Try to keep alignment intact. */
|
||||
printf(_("%-*s TTY "), userlen, _("USER"));
|
||||
if (from)
|
||||
printf("FROM ");
|
||||
printf(_("FROM "));
|
||||
if (longform)
|
||||
printf(" LOGIN@ IDLE JCPU PCPU WHAT\n");
|
||||
printf(_(" LOGIN@ IDLE JCPU PCPU WHAT\n"));
|
||||
else
|
||||
printf(" IDLE WHAT\n");
|
||||
printf(_(" IDLE WHAT\n"));
|
||||
}
|
||||
|
||||
utmpname(UTMP_FILE);
|
||||
|
||||
Reference in new issue
Block a user