Files
qemu/ui
Alberto Garcia 5644f6f924 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>
(cherry picked from commit 2cb5d2a47c)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
2015-10-20 22:51:42 -05:00
..
2012-12-19 08:31:31 +01:00
2012-12-19 08:31:30 +01:00
2015-05-29 11:11:38 +02:00
2015-05-29 11:43:29 +02:00
2015-06-22 18:20:40 +02:00
2015-05-05 10:48:26 +02:00
2014-09-16 08:07:05 +02:00