qt6-bb10/tests/auto/corelib/kernel/qtranslator
Edward Welbourne ccffe9b8ca Add tests that zh-TW now correctly prefers zh-TW over zh translation
The bug, QTBUG-121418, was actually fixed earlier by commit
84afaafc9c6968dd76fcadc5392065d340543521 (or, for 6.8, commit
8c40e8cf12), but escaped our attention
at the time.

On picking to 6.8, where the issue is fixed in QTranslator rather than
QLocale::uiLanguages(), omit the truncated entries from tests of the
latter. Also add commit 84afaafc9c6968dd76fcadc5392065d340543521's new
tst_QTranslator::loadLocale_data() "System, mixed dialects" test-case,
which commit 8c40e8cf12 skipped, despite
actually making it work.

Fixes: QTBUG-121418
Change-Id: Ie24eb172674189079aede7a39584ea760aac1b0c
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
(cherry picked from commit 12f8ebf5cbdc9089564a93001926d20908bd1785)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit ee65d651a4cda48a9ed9636aecd45306d0f737d0)
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2025-01-17 20:15:04 +01:00
..
.gitignore
CMakeLists.txt QTranslator: rewrite loadLocale test, include failing cases 2024-10-10 11:21:41 +00:00
dependencies_la.qm Enable modularization of translation files. 2012-07-12 18:30:35 +02:00
dependencies_la.ts Enable modularization of translation files. 2012-07-12 18:30:35 +02:00
hellotr_empty.qm Allow loading of empty translation files 2018-07-12 08:54:33 +00:00
hellotr_empty.ts Allow loading of empty translation files 2018-07-12 08:54:33 +00:00
hellotr_la.qm QTranslator: Expose language of translation file 2020-02-10 15:14:55 +00:00
hellotr_la.ts
msgfmt_from_po.qm
tst_qtranslator.cpp Add tests that zh-TW now correctly prefers zh-TW over zh translation 2025-01-17 20:15:04 +01:00