Skip to content
This repository has been archived by the owner on May 22, 2019. It is now read-only.

Commit

Permalink
Add fallback for gettext function
Browse files Browse the repository at this point in the history
  • Loading branch information
lots0logs committed Nov 19, 2017
1 parent 533a6f3 commit ce5456a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/antergos-alerts.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,11 @@ def setup_gettext()-> None:


def get_localized_alert_message() -> tuple:
try:
_()
except Exception:
_ = lambda x: x

subject = _('ATTENTION: Antergos System Message')

part1 = _('A new Antergos Alert has been issued.')
Expand Down

0 comments on commit ce5456a

Please sign in to comment.