From 369998639b37b5de46ab1b19b3dd6ca6c2b77d34 Mon Sep 17 00:00:00 2001 From: Kai Koehne Date: Thu, 28 Jun 2018 15:38:01 +0200 Subject: 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 Reviewed-by: Kai Koehne --- examples/qml/qml-i18n/i18n/qml_en.ts | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 examples/qml/qml-i18n/i18n/qml_en.ts (limited to 'examples/qml') diff --git a/examples/qml/qml-i18n/i18n/qml_en.ts b/examples/qml/qml-i18n/i18n/qml_en.ts new file mode 100644 index 0000000000..eb9b75f7bf --- /dev/null +++ b/examples/qml/qml-i18n/i18n/qml_en.ts @@ -0,0 +1,4 @@ + + + + -- cgit v1.2.3