Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Qt 5 compatibility of our Qt translation use
With modularization of Qt 5 some - but not all - of the qt_<locale>.ts files have become so-called meta catalogues which no longer contain actual translations but refer to other more specific ts files like qtbase_<locale>.ts . To successfully load a meta catalogue all of its referenced translations must be available. As we do not want to bundle them all and we now try to load the old qt_<locale>.ts file first and then fall back to loading qtbase_<locale>.ts if that failed. See http://doc.qt.io/qt-5/linguist-programmers.html#deploying-translations for more information Fixes #1785
- Loading branch information
Showing
1 changed file
with
19 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters