qt6-bb10/tests/auto
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
..
android
bic/data Binary compatibility files for QtBase (5.8.0) 2017-02-14 12:42:20 +00:00
cmake tests: Unify license to GPL-EXCEPT 2017-04-03 07:18:46 +00:00
compilerwarnings/data
concurrent Adapt to the C++ SIC introduced by P0012: noexcept overloading 2017-02-17 13:57:30 +00:00
corelib Return "en" for QLocale::c().bcp47Name() 2017-07-26 08:22:51 +00:00
dbus Use QSharedPointer::create() more 2017-07-19 13:40:42 +00:00
gui Fix race condition in the processEvents test 2017-07-19 12:29:53 +00:00
guiapplauncher
installed_cmake
network Use QSharedPointer::create() more 2017-07-19 13:40:42 +00:00
opengl Switch to RGB(A|X)8888[_Premultiplied] for QOpenGLFBO readbacks on GLES 2017-03-28 11:17:52 +00:00
other Convert features.dockwidget to QT_[REQUIRE_]CONFIG 2017-07-25 11:23:58 +00:00
printsupport tst_QPrinter: Run in temporary directory 2017-07-03 06:49:10 +00:00
shared Make self-contained test of condensed font matching and width 2016-10-16 00:11:13 +00:00
sql Stabilize tst_QSqlThread::readWriteThreading 2017-05-18 21:18:02 +00:00
testlib Fix tst_Selftest on QEMU 2017-03-31 07:09:46 +00:00
tools Merge qt_error_string and QSystemError 2017-07-18 15:51:22 +00:00
widgets Convert features.tabbar to QT_[REQUIRE_]CONFIG 2017-07-25 11:24:02 +00:00
xml Merge remote-tracking branch 'origin/5.7' into 5.8 2016-11-01 06:02:55 +01:00
auto.pro Remove remains of wince in .pro files 2017-07-03 05:32:51 +00:00
network-settings.h Merge remote-tracking branch 'origin/5.6' into 5.7 2016-05-06 15:36:44 +02:00