Changed: Use default Qt translations from QRC

--HG--
branch : develop
feature/pipeline-tools
kervala 8 years ago
parent 47654fcd9a
commit 122066e7ee

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

@ -6,5 +6,9 @@
<file>ryzom_configuration_fr.qm</file>
<file>ryzom_configuration_hu.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>
</RCC>

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

@ -4,5 +4,9 @@
<file>ryzom_installer_es.qm</file>
<file>ryzom_installer_fr.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>
</RCC>

Loading…
Cancel
Save