Changed: Use default Qt translations from QRC

This commit is contained in:
kervala 2016-09-20 17:37:02 +02:00
parent 3ae90854ea
commit a8b28aa24c
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
QTranslator qtTranslator;
if (qtTranslator.load(locale, "qt", "_", ":/translations"))
if (qtTranslator.load(locale, "qtbase", "_", ":/translations"))
{
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_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>

View file

@ -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);
}

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_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>