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, 19 Feb 2010 14:55:29 +0000 (14:55 +0000)
commit23e1a90360ddea4da8eba3b78da4661fb130f07e
treef4cb1be2e961e054b0353904aefecc7ae1b2f394
parent2abb2ba8ca2d82a40cc96583fb7dd3dea7b37c7a
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).
hivex/Makefile.am
hivex/hivexget.c
hivex/hivexml.c