summaryrefslogtreecommitdiffstats
path: root/translations/qtbase_cs.ts
diff options
context:
space:
mode:
authorJan Arve Saether <jan-arve.saether@theqtcompany.com>2015-02-04 11:23:55 +0100
committerJan Arve Sæther <jan-arve.saether@theqtcompany.com>2015-02-06 10:00:22 +0000
commitdc511a947ab16429682e4887f95f94fc8bcb6fd2 (patch)
tree619ccd9e31e1bd4c01172e966809c6af09670596 /translations/qtbase_cs.ts
parent22680333bd6748106afce258255e1201ae5493f8 (diff)
Fix regression from Qt4 with layout direction
In order to resolve Right-to-Left layout from the translation file, we used to check if the result of QApplication::tr("QT_LAYOUT_DIRECTION") was the string "RTL". During modularization this changed context (using the wrong QCoreApplication::tr()), but the translation files didn't change. It turns out that it didn't make much sense to use that context, since the layout direction can only be changed on the QGuiApplication. We therefore have changed the context to QGuiApplication (in qtbase), and we must therefore update the relevant translation files. Change-Id: Iacea23da32a3d4128c259d7e8aad1823801dfd5f Task-number: QTBUG-43447 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'translations/qtbase_cs.ts')
-rw-r--r--translations/qtbase_cs.ts13
1 files changed, 8 insertions, 5 deletions
diff --git a/translations/qtbase_cs.ts b/translations/qtbase_cs.ts
index 669bcc4..b160d64 100644
--- a/translations/qtbase_cs.ts
+++ b/translations/qtbase_cs.ts
@@ -371,11 +371,6 @@ Stiskněte Esc pro zrušení</translation>
<comment>QSystemSemaphore</comment>
<translation>%1: Vyvolání ftok se nezdařilo</translation>
</message>
- <message>
- <source>QT_LAYOUT_DIRECTION</source>
- <comment>Translate this string to the string &apos;LTR&apos; in left-to-right languages or to &apos;RTL&apos; in right-to-left languages (such as Hebrew and Arabic) to get proper widget layout.</comment>
- <translation>LTR</translation>
- </message>
</context>
<context>
<name>QCupsJobWidget</name>
@@ -1497,6 +1492,14 @@ Přesto chcete soubor smazat?</translation>
</message>
</context>
<context>
+ <name>QGuiApplication</name>
+ <message>
+ <source>QT_LAYOUT_DIRECTION</source>
+ <comment>Translate this string to the string &apos;LTR&apos; in left-to-right languages or to &apos;RTL&apos; in right-to-left languages (such as Hebrew and Arabic) to get proper widget layout.</comment>
+ <translation>LTR</translation>
+ </message>
+</context>
+<context>
<name>QHostInfo</name>
<message>
<source>No host name given</source>