Skip to content

Commit

Permalink
Remove deprecated gettext API
Browse files Browse the repository at this point in the history
  • Loading branch information
znjameswu committed May 8, 2023
1 parent ffe471c commit 70f70b3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion setup/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ def __init__(self, engine):
locale.setlocale(locale.LC_ALL, "")
localedir = os.getenv("IBUS_LOCALEDIR")
gettext.bindtextdomain("ibus-pinyin", localedir)
gettext.bind_textdomain_codeset("ibus-pinyin", "UTF-8")

self.__bus = IBus.Bus()
self.__config = self.__bus.get_config()
Expand Down

0 comments on commit 70f70b3

Please sign in to comment.