Made menus translatable.
This commit is contained in:
+516
-516
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -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
|
||||
|
||||
+1
-1
@@ -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>
|
||||
|
||||
+1
-1
@@ -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();
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user