We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a996151 commit cba76c2Copy full SHA for cba76c2
kazam/app.py
@@ -828,8 +828,11 @@ def run_counter(self):
828
def setup_translations(self):
829
gettext.bindtextdomain("kazam", "/usr/share/locale")
830
gettext.textdomain("kazam")
831
+ locale.bindtextdomain("kazam", "/usr/share/locale")
832
+ locale.textdomain("kazam")
833
+ currentLocale = locale.getlocale()
834
try:
- locale.setlocale(locale.LC_ALL, "")
835
+ locale.setlocale(locale.LC_ALL, currentLocale)
836
except Exception as e:
837
logger.exception("EXCEPTION: Setlocale failed, no language support.")
838
0 commit comments