- some strings were left outside the translation formatting - fixed

- finished the replacement of '_' symbols throughout the app which conflicted with the _() function used by the i18n
This commit is contained in:
Marius Stanciu
2019-03-11 20:00:07 +02:00
parent e54ee9b569
commit 255254a292
6 changed files with 67 additions and 63 deletions

View File

@@ -5360,13 +5360,13 @@ class FlatCAMCNCjob(FlatCAMObj, CNCjob):
try:
dir_file_to_save = self.app.get_last_save_folder() + '/' + str(name)
filename, _ = QtWidgets.QFileDialog.getSaveFileName(
caption="Export Machine Code ...",
filename, _f = QtWidgets.QFileDialog.getSaveFileName(
caption=_("Export Machine Code ..."),
directory=dir_file_to_save,
filter=_filter_
)
except TypeError:
filename, _ = QtWidgets.QFileDialog.getSaveFileName(caption=_("Export Machine Code ..."), filter=_filter_)
filename, _f = QtWidgets.QFileDialog.getSaveFileName(caption=_("Export Machine Code ..."), filter=_filter_)
filename = str(filename)