Changed: Use default Qt translations from QRC
This commit is contained in:
parent
ae17566d34
commit
ec5c5027a2
12 changed files with 56055 additions and 3 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
6647
code/ryzom/tools/client/client_config_qt/translations/qtbase_de.ts
Normal file
6647
code/ryzom/tools/client/client_config_qt/translations/qtbase_de.ts
Normal file
File diff suppressed because it is too large
Load diff
8085
code/ryzom/tools/client/client_config_qt/translations/qtbase_es.ts
Normal file
8085
code/ryzom/tools/client/client_config_qt/translations/qtbase_es.ts
Normal file
File diff suppressed because it is too large
Load diff
6632
code/ryzom/tools/client/client_config_qt/translations/qtbase_fr.ts
Normal file
6632
code/ryzom/tools/client/client_config_qt/translations/qtbase_fr.ts
Normal file
File diff suppressed because it is too large
Load diff
6658
code/ryzom/tools/client/client_config_qt/translations/qtbase_ru.ts
Normal file
6658
code/ryzom/tools/client/client_config_qt/translations/qtbase_ru.ts
Normal file
File diff suppressed because it is too large
Load diff
|
@ -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>
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
6647
code/ryzom/tools/client/ryzom_installer/translations/qtbase_de.ts
Normal file
6647
code/ryzom/tools/client/ryzom_installer/translations/qtbase_de.ts
Normal file
File diff suppressed because it is too large
Load diff
8085
code/ryzom/tools/client/ryzom_installer/translations/qtbase_es.ts
Normal file
8085
code/ryzom/tools/client/ryzom_installer/translations/qtbase_es.ts
Normal file
File diff suppressed because it is too large
Load diff
6632
code/ryzom/tools/client/ryzom_installer/translations/qtbase_fr.ts
Normal file
6632
code/ryzom/tools/client/ryzom_installer/translations/qtbase_fr.ts
Normal file
File diff suppressed because it is too large
Load diff
6658
code/ryzom/tools/client/ryzom_installer/translations/qtbase_ru.ts
Normal file
6658
code/ryzom/tools/client/ryzom_installer/translations/qtbase_ru.ts
Normal file
File diff suppressed because it is too large
Load diff
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue