From 7438fb72bcbfbbd2e6093eb01c0bbd873c7d2d11 Mon Sep 17 00:00:00 2001 From: Ryan Holmes Date: Sat, 25 Jul 2020 12:40:12 -0400 Subject: [PATCH] revert compile_lang, don't have access to config here... will need to fix --- scripts/compile_lang.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/compile_lang.py b/scripts/compile_lang.py index 4863bef89..34566ec46 100644 --- a/scripts/compile_lang.py +++ b/scripts/compile_lang.py @@ -1,6 +1,5 @@ import os, glob import msgfmt -import config import sys @@ -9,6 +8,6 @@ locale_path = os.path.abspath(os.path.join(script_dir, '..', 'locale')) for name in glob.iglob(locale_path + '/**'): if not os.path.isfile(name): - path = os.path.join(locale_path, name, 'LC_MESSAGES', config.CATALOG) + path = os.path.join(locale_path, name, 'LC_MESSAGES', 'lang') sys.argv[1:] = [path + '.po'] msgfmt.main()