Skip to content

Commit a6832d6

Browse files
committed
gmoccapy: further translation optimizations
1 parent 5eca8fe commit a6832d6

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/emc/usr_intf/gmoccapy/gmoccapy.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3735,7 +3735,7 @@ def _parse_increment(self, btn_name):
37353735
def show_try_errors(self):
37363736
exc_type, exc_value, exc_traceback = sys.exc_info()
37373737
formatted_lines = traceback.format_exc().splitlines()
3738-
LOG.error(_("{0}").format(formatted_lines[0]))
3738+
LOG.error("{0}".format(formatted_lines[0]))
37393739
traceback.print_tb(exc_traceback, limit=1, file=sys.stdout)
37403740
LOG.debug(formatted_lines[-1])
37413741

@@ -4615,7 +4615,7 @@ def on_spc_rapid_value_changed(self, widget, data=None):
46154615
# this are the MDI thinks we need
46164616
def on_btn_delete_clicked(self, widget, data=None):
46174617
message = _("Do you really want to delete the MDI history?\n")
4618-
message += _("This will not delete the MDI History file, but will"
4618+
message += _("This will not delete the MDI History file, but will\n"
46194619
"delete the listbox entries for this session.")
46204620
result = self.dialogs.yesno_dialog(self, message, _("Attention!!"))
46214621
if result:
@@ -5494,8 +5494,8 @@ def on_tool_change(self, widget):
54945494
def on_btn_delete_tool_clicked(self, widget, data=None):
54955495
selected_tool = self.widgets.tooledit1.get_selected_row()
54965496
if self.stat.tool_in_spindle == selected_tool:
5497-
message = _("You are trying to delete the tool mounted in the spindle\n")
5498-
message += _("This is not allowed, please change tool prior to delete it.")
5497+
message = _("You are trying to delete the tool mounted in the spindle.\n"
5498+
"This is not allowed, please change tool prior to delete it.")
54995499
self.dialogs.warning_dialog(self, _("Warning Tool can not be deleted!"), message)
55005500
return
55015501
self.widgets.tooledit1.delete_selected_row(widget)

0 commit comments

Comments
 (0)