Skip to content

Commit

Permalink
gmoccapy: move spaces out of translatable strings
Browse files Browse the repository at this point in the history
to make it more robust against wrong translations
  • Loading branch information
hansu committed Nov 13, 2024
1 parent 8beac1b commit 9eacc4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/emc/usr_intf/gmoccapy/gmoccapy.py
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ def __init__(self, argv):
except:
tb = traceback.format_exc()
LOG.error(tb)
self.notification.add_message(_("Error in ") + rcfile + "\n" \
self.notification.add_message(_("Error in") + " " + rcfile + "\n" \
+ _("Please check the console output."), ALERT_ICON)

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


Expand Down

0 comments on commit 9eacc4a

Please sign in to comment.