wxwidgets/tests/intl
Vadim Zeitlin 2ca76449bf Fail if environment variables define unknown locale under Unix
Don't always "succeed" in wxUILocale::UseDefault() and, consequently, in
wxLocale::Init(wxLANGUAGE_DEFAULT), under Unix systems, even if the
locale couldn't actually be set, as it can happen if the environment
variables contain a locale which is not supported on the current system,
e.g. a "mixed" locale such as "en_FR", or even a completely invalid
string such as "bloordyblop", which still used to succeed.

For now only fix it for reasonably modern systems with locale_t support,
it could be done even for the ancient ones without it later too if
anybody still cares about them.

Closes #23218.
2023-02-06 00:11:31 +01:00
..
fr Removed ellipsis from "About..." occurrences. 2012-01-20 16:51:09 +00:00
ja Strip mnemonics from CJK translations of menu items too 2016-06-26 18:36:11 +02:00
intltest.cpp Fail if environment variables define unknown locale under Unix 2023-02-06 00:11:31 +01:00