- fix app crash for the case that there are no translation files
- fixed some forgotten strings to be prepared for internationalization in ToolCalculators - fixed Tools menu no longer working due of changes - added some test translation for the ToolCalculators (in Romanian) - fixed bug in ToolCutOut where for each tool invocation the signals were reconnected
This commit is contained in:
@@ -59,10 +59,13 @@ import tclCommands
|
||||
|
||||
# from ParseFont import *
|
||||
|
||||
from gettext import *
|
||||
import gettext
|
||||
import FlatCAMTranslation as fcTranslate
|
||||
fcTranslate.apply_language('FlatCAMApp')
|
||||
|
||||
fcTranslate.apply_language('FlatCAMApp')
|
||||
import builtins
|
||||
if '_' not in builtins.__dict__:
|
||||
_ = gettext.gettext
|
||||
|
||||
########################################
|
||||
## App ##
|
||||
|
||||
Reference in New Issue
Block a user