Skip to content

Commit

Permalink
- postfix 'locale' subdirectory to fix translation issues
Browse files Browse the repository at this point in the history
  • Loading branch information
trigg committed May 19, 2024
1 parent 5b8dfbd commit 30d0ea6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/script/arch-update-tray.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
french_translation_file = os.path.join(
path, "locale", "fr", "LC_MESSAGES", "Arch-Update.mo")
if os.path.isfile(french_translation_file):
path = os.path.join(path, 'locale')
t = gettext.translation('Arch-Update', localedir=path, fallback=True)
_ = t.gettext
break
Expand Down

0 comments on commit 30d0ea6

Please sign in to comment.