Go to file
Jüri Valdmann af7e756155 Return "en" for QLocale::c().bcp47Name()
Currently QLocale::c().bcp47Name() returns "C" which, according to [BCP47], is
not a valid language tag. In particular it does not conform to the ABNF grammar
in section 2.1 which specifies a minimum length of 2 characters for all language
tags.

[BCP47]: https://tools.ietf.org/html/bcp47

This patch changes the return value to "en" seeing as the documentation for
QLocale::Language states that the C language is identical in behavior to
English.

Task-number: QTBUG-61949
Change-Id: I2a381def8fb7156467e01d105da92bb1f4821204
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2017-07-26 08:22:51 +00:00
bin don't include injected headers into linker version script 2016-10-14 09:00:29 +00:00
config.tests configure: Remove test for unused feature "mremap" 2017-07-10 18:00:38 +00:00
dist Remove mention of reverted fix 2017-06-28 11:54:29 +02:00
doc Doc: add tutorials to overview page Qt Widgets 2017-07-03 10:35:44 +00:00
examples Regular Expression Example: Add context menu 2017-07-19 20:58:19 +00:00
lib
mkspecs Add executable name to description of Qt tools (Windows) 2017-07-19 13:38:01 +00:00
qmake qmake: fix warning about duplicate references in project file 2017-07-20 21:24:29 +00:00
src Return "en" for QLocale::c().bcp47Name() 2017-07-26 08:22:51 +00:00
tests Return "en" for QLocale::c().bcp47Name() 2017-07-26 08:22:51 +00:00
util QtCore: include mocs 2017-05-05 03:03:30 +00:00
.gitattributes
.gitignore GitIgnore config.status.bat and config.tests/.qmake.stash 2017-06-13 05:58:30 +00:00
.qmake.conf Bump version 2017-07-03 07:22:45 +00:00
.tag
config_help.txt Restore behavior of using libEGL and libGLESv2 as default for angle 2017-05-11 08:35:54 +00:00
configure Allow using Xcode Command Line Tools to build Qt 2017-06-29 02:00:12 +00:00
configure.bat configure: balk at any of {{,X}QMAKESPEC,QMAKE{PATH,FEATURES}} being set 2017-04-21 09:22:27 +00:00
configure.json configure: Remove test for unused feature "mremap" 2017-07-10 18:00:38 +00:00
configure.pri build the configure tests in the top-level build dir 2017-06-12 09:55:39 +00:00
header.BSD
header.BSD-OLD
header.COMM
header.FDL
header.FDL-OLD
header.GPL
header.GPL-EXCEPT
header.LGPL
header.LGPL3
header.LGPL3-COMM
header.LGPL21
header.LGPL-NOGPL2
header.LGPL-ONLY
INSTALL
LGPL_EXCEPTION.txt
LICENSE.FDL
LICENSE.GPL2
LICENSE.GPL3
LICENSE.GPL3-EXCEPT
LICENSE.GPLv3
LICENSE.LGPL3
LICENSE.LGPLv3
LICENSE.LGPLv21
LICENSE.PREVIEW.COMMERCIAL
qtbase.pro nuke configure -host-option 2016-12-13 18:55:59 +00:00
sync.profile Merge remote-tracking branch 'origin/5.8' into 5.9 2017-03-13 15:55:44 +01:00