ps: add gettext support

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola
2011-10-09 13:52:57 +02:00
parent f90e436b88
commit 4bd36d1483
12 changed files with 311 additions and 392 deletions

View File

@ -59,7 +59,7 @@ const char *select_bits_setup(void){
simple_select = 0;
break;
default:
return "Process selection options conflict.";
return _("Process selection options conflict.");
break;
}
return NULL;
@ -83,7 +83,7 @@ static int proc_was_listed(proc_t *buf){
while(sn){
switch(sn->typecode){
default:
printf("Internal error in ps! Please report this bug.\n");
printf(_("Internal error in ps! Please report this bug.\n"));
#define return_if_match(foo,bar) \
i=sn->n; while(i--) \