summaryrefslogtreecommitdiffstats
path: root/include/exec/user
diff options
context:
space:
mode:
authorAlberto Garcia2015-09-10 17:19:32 +0200
committerGerd Hoffmann2015-09-15 12:27:41 +0200
commit2cb5d2a47c655331bcf0ab16bab8fe4701182c58 (patch)
tree356a5f0efc67349a411cd7bde7e47aff18d8a1d3 /include/exec/user
parentgtk: don't grab input when entering fullscreen. (diff)
downloadqemu-2cb5d2a47c655331bcf0ab16bab8fe4701182c58.tar.gz
qemu-2cb5d2a47c655331bcf0ab16bab8fe4701182c58.tar.xz
qemu-2cb5d2a47c655331bcf0ab16bab8fe4701182c58.zip
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 'include/exec/user')
0 files changed, 0 insertions, 0 deletions