diff options
author | Kai Koehne <kai.koehne@qt.io> | 2018-06-28 15:38:01 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2018-07-17 08:55:11 +0000 |
commit | 369998639b37b5de46ab1b19b3dd6ca6c2b77d34 (patch) | |
tree | 684a4d9dccb42a353707a10f923b5c0120c7ac1f /examples/quick/demos/photoviewer/qml.qrc | |
parent | 33a9fb9f4b577f8417a51379ead9008763325107 (diff) |
i18n examples: Add en translation dummies
We endorse using QTranslator::install(const QLocale&...), because
it tries loading translations from all QLocale::uiLanguages() instead
of the commonly used QLocale::system().name() setup.
Anyhow, the first method requires an English translation - otherwise
a second favorite language might be used.
Pave the way to making the switch by adding (empty) English translations
to our examples.
Task-number: QTBUG-69196
Change-Id: Ie85be875e34e29e80c1693bbf477b962e35a7d87
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Diffstat (limited to 'examples/quick/demos/photoviewer/qml.qrc')
-rw-r--r-- | examples/quick/demos/photoviewer/qml.qrc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/quick/demos/photoviewer/qml.qrc b/examples/quick/demos/photoviewer/qml.qrc index 8abefc6212..49f0b27e50 100644 --- a/examples/quick/demos/photoviewer/qml.qrc +++ b/examples/quick/demos/photoviewer/qml.qrc @@ -15,5 +15,6 @@ <file>PhotoViewerCore/script/script.js</file> <file>i18n/qml_fr.qm</file> <file>i18n/qml_de.qm</file> + <file>i18n/qml_en.qm</file> </qresource> </RCC> |