summaryrefslogtreecommitdiffstats
path: root/translations/qtbase_uk.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_uk.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_uk.ts')
-rw-r--r--translations/qtbase_uk.ts13
1 files changed, 8 insertions, 5 deletions
diff --git a/translations/qtbase_uk.ts b/translations/qtbase_uk.ts
index a1544a5..58187e8 100644
--- a/translations/qtbase_uk.ts
+++ b/translations/qtbase_uk.ts
@@ -1011,11 +1011,6 @@ Press ESC to cancel</source>
<comment>QSystemSemaphore</comment>
<translation>%1: збій ftok</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>
@@ -2147,6 +2142,14 @@ Do you want to delete it anyway?</source>
</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>