~neon/qt/qttranslations

Viewing all changes in revision 96.

  • Committer: Jan Arve Sæther
  • Author(s): Jan Arve Saether
  • Date: 2015-02-06 10:00:22 UTC
  • Revision ID: git-v1:dc511a947ab16429682e4887f95f94fc8bcb6fd2
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>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: