Skip to content

Commit

Permalink
Merge pull request #36 from GCES-Pydemic/HOTFIX_footnote-locale
Browse files Browse the repository at this point in the history
Hotfix to footnote bug
  • Loading branch information
Samuel Borges committed Oct 22, 2020
2 parents 250b5a4 + 8d0d1f5 commit d1ac181
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pydemic_ui/i18n.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def run():
import os

lang = os.environ.get("PYDEMIC_LANG") or os.environ.get("LANG")
set_i18n("en_US.UTF-8" if lang == "C" else lang) # en_US is the default language
set_i18n("en_US.UTF-8" if lang == "C" or "C.UTF-8" else lang) # en_US is the default language


def gettext_lazy(st):
Expand Down

0 comments on commit d1ac181

Please sign in to comment.