Fixed localization setup
This commit is contained in:
parent
28b19d72e9
commit
49ed50f6cc
@ -5,4 +5,6 @@ import locale
|
||||
from platform_utils import paths
|
||||
|
||||
def setup():
|
||||
gettext.install("music-dl", localedir=os.path.join(paths.app_path(), "locales"))
|
||||
lang = locale.getdefaultlocale()[0]
|
||||
os.environ["lang"] = lang
|
||||
gettext.install("musicdl", localedir=os.path.join(paths.app_path(), "locales"))
|
Loading…
Reference in New Issue
Block a user