]> granicus.if.org Git - procps-ng/commit
nls: add functions which take translations to be used
authorSami Kerola <kerolasa@iki.fi>
Wed, 7 Dec 2011 12:27:21 +0000 (13:27 +0100)
committerSami Kerola <kerolasa@iki.fi>
Tue, 20 Dec 2011 16:30:53 +0000 (17:30 +0100)
commitc862a4caa51dcaba34ebb7bcf0b74ad0ad9c3c74
treee807802669368300ec8bc925c06b7dd7105f2260
parentb40353c91e0a895a442ba43f04909036a3b13ce7
nls: add functions which take translations to be used

Add the following three functions to most of the commands.

setlocale (LC_ALL, "");
bindtextdomain(PACKAGE, LOCALEDIR);
textdomain(PACKAGE);

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>
pgrep.c
pmap.c
ps/display.c
pwdx.c
skill.c
sysctl.c
tload.c
uptime.c
vmstat.c
w.c
watch.c