mirror of
https://github.com/leozide/leocad
synced 2025-01-17 18:11:42 +01:00
Made menus translatable.
This commit is contained in:
parent
564ef5b82c
commit
641a476726
6 changed files with 3920 additions and 1980 deletions
File diff suppressed because it is too large
Load diff
|
@ -236,4 +236,4 @@ FORMS += \
|
|||
qt/lc_qfinddialog.ui
|
||||
OTHER_FILES +=
|
||||
RESOURCES += leocad.qrc
|
||||
TRANSLATIONS = resources/leocad_pt_BR.ts
|
||||
TRANSLATIONS = resources/leocad_pt.ts
|
||||
|
|
|
@ -67,6 +67,6 @@
|
|||
<file>resources/piece_show_later.png</file>
|
||||
<file>resources/time_add_keys.png</file>
|
||||
<file>resources/library.zip</file>
|
||||
<file>resources/leocad_pt_BR.qm</file>
|
||||
<file>resources/leocad_pt.qm</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
|
|
@ -133,7 +133,7 @@ int main(int argc, char *argv[])
|
|||
QCoreApplication::setApplicationVersion(LC_VERSION_TEXT);
|
||||
|
||||
QTranslator Translator;
|
||||
Translator.load(QString("leocad_") + QLocale::system().name() + ".qm", ":/resources");
|
||||
Translator.load(QString("leocad_") + QLocale::system().name().section('_', 0, 0) + ".qm", ":/resources");
|
||||
app.installTranslator(&Translator);
|
||||
|
||||
g_App = new lcApplication();
|
||||
|
|
3401
resources/leocad_pt.ts
Normal file
3401
resources/leocad_pt.ts
Normal file
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue