mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-27 19:10:52 +00:00
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
|
||||
QTranslator qtTranslator;
|
||||
if (qtTranslator.load(locale, "qt", "_", ":/translations"))
|
||||
if (qtTranslator.load(locale, "qtbase", "_", ":/translations"))
|
||||
{
|
||||
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_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);
|
||||
}
|
||||
|
|
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_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…
Reference in a new issue