Skip to content

Commit 9eacc4a

Browse files
committed
gmoccapy: move spaces out of translatable strings
to make it more robust against wrong translations
1 parent 8beac1b commit 9eacc4a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/emc/usr_intf/gmoccapy/gmoccapy.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ def __init__(self, argv):
488488
except:
489489
tb = traceback.format_exc()
490490
LOG.error(tb)
491-
self.notification.add_message(_("Error in ") + rcfile + "\n" \
491+
self.notification.add_message(_("Error in") + " " + rcfile + "\n" \
492492
+ _("Please check the console output."), ALERT_ICON)
493493

494494
# Custom css file, e.g.:
@@ -509,7 +509,7 @@ def __init__(self, argv):
509509
except:
510510
tb = traceback.format_exc()
511511
LOG.error(tb)
512-
self.notification.add_message(_("Error in ") + css_file + "\n" \
512+
self.notification.add_message(_("Error in") + " " + css_file + "\n" \
513513
+ _("Please check the console output."), ALERT_ICON)
514514

515515

0 commit comments

Comments
 (0)