Set locale in C programs so l10n works (RHBZ#559962).
authorRichard Jones <rjones@redhat.com>
Fri, 29 Jan 2010 14:56:13 +0000 (14:56 +0000)
committerRichard Jones <rjones@redhat.com>
Fri, 29 Jan 2010 15:11:59 +0000 (15:11 +0000)
commita6025c11d97ed5802b3729a93d224d2baa20ff12
tree6dd670b706070e29496a62052447b22086434c0b
parent088d0c53cfe0dcb20b87707a9055175b2fd6b72f
Set locale in C programs so l10n works (RHBZ#559962).

This commit adds the calls to setlocale &c to all of the current
C programs.

It also adds l10n support to hivexget and hivexml which lacked them
previously.

To test this, try:

LANG=pa_IN.UTF-8 guestfish --cmd-help

(You can only do this test after installing the package, or at
least the 'pa.mo' mo-file in the correct place).
fish/Makefile.am
fish/fish.c
fuse/Makefile.am
fuse/guestmount.c
hivex/Makefile.am
hivex/hivexget.c
hivex/hivexml.c
test-tool/Makefile.am
test-tool/test-tool.c