skill: exclude debugging strings from nls

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2012-01-22 01:23:10 +01:00
parent 2b99362139
commit 7fc80ffa42

12
skill.c
View File

@ -187,11 +187,9 @@ static void show_lists(void)
{ {
int i; int i;
/* Translation Hint: the following few messages to "CMD" are fprintf(stderr, "signal: %d\n", sig_or_pri);
* for debugging, and does not have to be translated. */
fprintf(stderr, _("signal: %d\n"), sig_or_pri);
fprintf(stderr, _("%d TTY: "), tty_count); fprintf(stderr, "%d TTY: ", tty_count);
if (ttys) { if (ttys) {
i = tty_count; i = tty_count;
while (i--) { while (i--) {
@ -201,7 +199,7 @@ static void show_lists(void)
} else } else
fprintf(stderr, "\n"); fprintf(stderr, "\n");
fprintf(stderr, _("%d UID: "), uid_count); fprintf(stderr, "%d UID: ", uid_count);
if (uids) { if (uids) {
i = uid_count; i = uid_count;
while (i--) while (i--)
@ -209,7 +207,7 @@ static void show_lists(void)
} else } else
fprintf(stderr, "\n"); fprintf(stderr, "\n");
fprintf(stderr, _("%d PID: "), pid_count); fprintf(stderr, "%d PID: ", pid_count);
if (pids) { if (pids) {
i = pid_count; i = pid_count;
while (i--) while (i--)
@ -217,7 +215,7 @@ static void show_lists(void)
} else } else
fprintf(stderr, "\n"); fprintf(stderr, "\n");
fprintf(stderr, _("%d CMD: "), cmd_count); fprintf(stderr, "%d CMD: ", cmd_count);
if (cmds) { if (cmds) {
i = cmd_count; i = cmd_count;
while (i--) while (i--)