aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/translation/qml_jp.ts
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2020-02-11 09:47:12 +0100
committerAndy Shaw <andy.shaw@qt.io>2020-03-05 07:52:21 +0100
commit814682bb9a5c9ccaff30662dd757cd827f39aad0 (patch)
treed956947d620da0bded609556bd577157f33078b3 /tests/auto/translation/qml_jp.ts
parent20c35f9a2b5fd970d43efc98c324e1e4c9dd153d (diff)
Update the current text after a translator is installed
This ensures that if the model is updated due to a retranslate that it gets the updated string and the ComboBox shows it correctly. Change-Id: Iecbc18a1051d6db13035b3efa393d9bf97788dd9 Fixes: QTBUG-82020 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'tests/auto/translation/qml_jp.ts')
-rw-r--r--tests/auto/translation/qml_jp.ts28
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/auto/translation/qml_jp.ts b/tests/auto/translation/qml_jp.ts
new file mode 100644
index 00000000..303c142f
--- /dev/null
+++ b/tests/auto/translation/qml_jp.ts
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.1" language="ja_JP">
+<context>
+ <name>main</name>
+ <message>
+ <location filename="../main.qml" line="8"/>
+ <source>Hello World</source>
+ <translation>こんにちは世界</translation>
+ </message>
+ <message>
+ <location filename="../main.qml" line="12"/>
+ <source>Hello Text</source>
+ <translation>ハローテキスト</translation>
+ </message>
+ <message>
+ <location filename="../main.qml" line="35"/>
+ <source>Hello</source>
+ <translation>こんにちは</translation>
+ </message>
+ <message>
+ <location filename="../main.qml" line="38"/>
+ <source>ListView</source>
+ <translation>リストビュー</translation>
+ </message>
+</context>
+</TS>
+