wxwidgets/src
Lauri Nurmi 829f181ccd Get preferred UI languages from the LANGUAGE variable on *nix
Obey the LANGUAGE environment variable (if set), which is GNU
gettext's primary way of determining language preference. Apparently
ignored by wx until now, even though wx attempts to be a
reimplementation of GNU gettext.

The LANGUAGE variable may contain a list of preferred languages,
so use that list to find the best translation.

GNU gettext has supported multiple preferred languages since forever
(at least 15 years), and therefore it is odd that this wasn't already
implemented in 01f953efb2. Instead,
it was implied that Unix does not support such. (Even if GNU is not
Unix, nothing stops a wxWidgets app supporting such nevertheless.)

Closes https://github.com/wxWidgets/wxWidgets/pull/948
2018-09-29 18:14:20 +02:00
..
aui Revert wxAuiDefaultDockArt::DrawIcon API change 2018-09-22 14:44:00 +02:00
common Get preferred UI languages from the LANGUAGE variable on *nix 2018-09-29 18:14:20 +02:00
dfb Deprecate Set{Height,Width,Depth} for other platforms as well 2018-09-23 20:02:21 -07:00
expat@6b2e0e6802 Avoid bogus warning when running Expat configure 2018-02-03 15:29:26 +01:00
generic Move wxUSE_ENH_METAFILE check inside wx/msw/enhmeta.h itself 2018-09-26 14:47:45 +02:00
gtk Deprecate Set{Height,Width,Depth} for other platforms as well 2018-09-23 20:02:21 -07:00
gtk1 Fix wxGTK1 build after wxFont API changes 2018-09-17 15:24:42 +02:00
html Add wxHtmlContainerCell::Detach() 2018-08-25 21:16:55 +02:00
jpeg@e951f6ed63 Exclude unnecessary files in the submodules from release archives 2017-11-16 23:37:36 +01:00
motif Add missing wxFont constructor to wxMotif 2018-09-19 22:02:47 +02:00
msw Move wxUSE_ENH_METAFILE check inside wx/msw/enhmeta.h itself 2018-09-26 14:47:45 +02:00
osx Preserve wxGraphicsContext settings while resetting the clipping 2018-09-27 22:57:41 +02:00
png@a016282f47 Exclude unnecessary files in the submodules from release archives 2017-11-16 23:37:36 +01:00
propgrid Provide wxPGChoices ctor, Add(), Set() overloads taking wxStrings 2018-09-29 17:13:00 +02:00
qt Deprecate Set{Height,Width,Depth} for other platforms as well 2018-09-23 20:02:21 -07:00
regex Work around signed/unsigned comparison warnings in regex code 2017-05-27 18:36:24 +02:00
ribbon Fix ribbon panel size after calling Realize() again 2018-09-23 16:04:58 +02:00
richtext Use fractional point sizes in wxRichText code 2018-09-17 15:24:42 +02:00
stc Always include wx/display.h (also when wxUSE_DISPLAY=0) 2018-07-19 09:52:44 +02:00
tiff@aa65abe076 Generate wxEVT_SEARCHCTRL_SEARCH_BTN when Enter is pressed 2018-01-30 02:03:47 +01:00
univ More use of wxFALLTHROUGH 2018-05-11 10:19:47 -07:00
unix Fix wxGTK1 build after wxFont API changes 2018-09-17 15:24:42 +02:00
x11 Deprecate Set{Height,Width,Depth} for other platforms as well 2018-09-23 20:02:21 -07:00
xml wx/xml: Implement line-ending modes for xml saves 2017-05-30 14:31:59 +02:00
xrc Fix wxUnknownControlContainer background handling 2018-09-20 19:19:15 +02:00
zlib@5888671274 Use zlib submodule with "wx_zlib_" prefix 2017-12-08 02:38:47 +01:00