Changed: Use default Qt translations from QRC

--HG--
branch : develop
This commit is contained in:
kervala 2016-09-20 17:37:02 +02:00
parent 47654fcd9a
commit 122066e7ee
12 changed files with 56055 additions and 3 deletions

View file

@ -67,7 +67,7 @@ int main(sint32 argc, char **argv)
// load Qt default translations // load Qt default translations
QTranslator qtTranslator; QTranslator qtTranslator;
if (qtTranslator.load(locale, "qt", "_", ":/translations")) if (qtTranslator.load(locale, "qtbase", "_", ":/translations"))
{ {
QApplication::installTranslator(&qtTranslator); QApplication::installTranslator(&qtTranslator);
} }

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -6,5 +6,9 @@
<file>ryzom_configuration_fr.qm</file> <file>ryzom_configuration_fr.qm</file>
<file>ryzom_configuration_hu.qm</file> <file>ryzom_configuration_hu.qm</file>
<file>ryzom_configuration_ru.qm</file> <file>ryzom_configuration_ru.qm</file>
<file>qtbase_de.qm</file>
<file>qtbase_es.qm</file>
<file>qtbase_fr.qm</file>
<file>qtbase_ru.qm</file>
</qresource> </qresource>
</RCC> </RCC>

View file

@ -122,14 +122,14 @@ int main(int argc, char *argv[])
// load application translations // load application translations
QTranslator localTranslator; QTranslator localTranslator;
if (localTranslator.load(locale, "ryzom_installer", "_", "translations")) if (localTranslator.load(locale, "ryzom_installer", "_", ":/translations"))
{ {
QApplication::installTranslator(&localTranslator); QApplication::installTranslator(&localTranslator);
} }
// load Qt default translations // load Qt default translations
QTranslator qtTranslator; QTranslator qtTranslator;
if (qtTranslator.load(locale, "qt", "_", "translations")) if (qtTranslator.load(locale, "qtbase", "_", ":/translations"))
{ {
QApplication::installTranslator(&qtTranslator); QApplication::installTranslator(&qtTranslator);
} }

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -4,5 +4,9 @@
<file>ryzom_installer_es.qm</file> <file>ryzom_installer_es.qm</file>
<file>ryzom_installer_fr.qm</file> <file>ryzom_installer_fr.qm</file>
<file>ryzom_installer_ru.qm</file> <file>ryzom_installer_ru.qm</file>
<file>qtbase_de.qm</file>
<file>qtbase_es.qm</file>
<file>qtbase_fr.qm</file>
<file>qtbase_ru.qm</file>
</qresource> </qresource>
</RCC> </RCC>