- WIP for internationalization

This commit is contained in:
Marius Stanciu
2019-03-07 18:04:11 +02:00
committed by Marius
parent 94d2fb23e2
commit 934d971002
17 changed files with 59 additions and 6 deletions

View File

@@ -278,10 +278,6 @@ class App(QtCore.QObject):
self.FC_light_blue = '#a5a5ffbf'
self.FC_dark_blue = '#0000ffbf'
# needs to install the app default language before the GUI is initialized otherwise we get errors
# because FlatCAM will not understand the _() funtion
self.on_language_apply(lang='English')
QtCore.QObject.__init__(self)
self.ui = FlatCAMGUI(self.version, self.beta, self)
@@ -3278,8 +3274,6 @@ class App(QtCore.QObject):
:return:
"""
self.report_usage("on_language_apply()")
name = ''
if lang is None: