diff options
author | Alberto Garcia <berto@igalia.com> | 2015-09-10 18:19:32 +0300 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2015-09-15 12:27:41 +0200 |
commit | 2cb5d2a47c655331bcf0ab16bab8fe4701182c58 (patch) | |
tree | 356a5f0efc67349a411cd7bde7e47aff18d8a1d3 /stubs | |
parent | 78aee081122837cb488b12657a00deeb676b4730 (diff) |
gtk: use setlocale() for LC_MESSAGES only
The QEMU code is not internationalized and assumes that it runs under
the C locale, but if we use the GTK+ UI we'll end up importing the
locale settings from the environment. This can break things, such as
the JSON generator and iotest 120 in locales that use a decimal comma.
We do however have translations for a few simple strings for the GTK+
menu items, so in order to run QEMU using the C locale, and yet have a
translated UI let's use setlocale() for LC_MESSAGES only.
Cc: qemu-stable@nongnu.org
Signed-off-by: Alberto Garcia <berto@igalia.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'stubs')
0 files changed, 0 insertions, 0 deletions