Pruning the part of a locale name after the first '_' should now be redundant, as QLocale::uiLanguages() now includes the resulting truncations. It may do so later in the sequence than the pruning used here, where the pruned version either might be a bad choice (due to being in a script incompatible with what we started on, e.g. pruning pa_PK to pa, which uses a different script) or would also arise from some later, more specific, entry (as when uiLanguages() is expanded from {en_NL, en_150}, where checking en immediately after en_NL would bypass the more specific en_150 when present). Change-Id: I4c7c199ca16a8e4803843547c5a689cea11af1f2 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> (cherry picked from commit 9574e8cbef06b3b55d1f651b09d134aef7150aba) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
…
…
Description
Languages
C++
84.3%
HTML
4.9%
C
3.9%
CMake
3.6%
Objective-C++
2%
Other
0.8%