aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/translation/qtbase_fr.ts
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2019-09-09 15:59:49 +0200
committerMitch Curtis <mitch.curtis@qt.io>2019-09-11 14:02:15 +0200
commitc18c7bd7f9596e5ad3d13876a91203e1ceba2544 (patch)
tree76eea6eb3c24ae4aab5ac22925b2e71caa46c05c /tests/auto/translation/qtbase_fr.ts
parent1fec97053884d998442710a5d4258ffb6bed8955 (diff)
DialogButtonBox: fix standard buttons not being translated
When calling QQmlEngine::retranslate() after component completion, buttons in a DialogButtonBox were not being retranslated. For now the only way to be notified of language change events is by installing an event filter on the application, but in the future we can use the solution to QTBUG-78141 instead. Change-Id: Ibc435c3829945489adcbaa8a813013fe735a9c38 Fixes: QTBUG-75085 Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Diffstat (limited to 'tests/auto/translation/qtbase_fr.ts')
-rw-r--r--tests/auto/translation/qtbase_fr.ts22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/auto/translation/qtbase_fr.ts b/tests/auto/translation/qtbase_fr.ts
new file mode 100644
index 00000000..a2a05a07
--- /dev/null
+++ b/tests/auto/translation/qtbase_fr.ts
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.1" language="fr_FR">
+<context>
+ <name>QPlatformTheme</name>
+ <message>
+ <source>Save</source>
+ <translation>Enregistrer</translation>
+ </message>
+ <message>
+ <source>Discard</source>
+ <translation>Ne pas tenir compte</translation>
+ </message>
+</context>
+<context>
+ <name>QGnomeTheme</name>
+ <message>
+ <source>&amp;Save</source>
+ <translation>&amp;Enregistrer</translation>
+ </message>
+</context>
+</TS>