From 4e3224c012df9f74f010eb92203520515e8537b9 Mon Sep 17 00:00:00 2001 From: Dererk Date: Wed, 11 Nov 2015 16:34:34 -0300 Subject: Imported Upstream version 7.7.3 --- scripts/import_po.py | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/import_po.py') diff --git a/scripts/import_po.py b/scripts/import_po.py index 0429b42..2f887c5 100755 --- a/scripts/import_po.py +++ b/scripts/import_po.py @@ -15,6 +15,7 @@ if 'nopull' not in sys.argv: trans_files = glob(os.path.join('translations', 'nikola.messages', '*.po')) for fname in trans_files: lang = os.path.splitext(os.path.basename(fname))[0].lower() + lang = lang.replace('@', '_') outf = os.path.join('nikola', 'data', 'themes', 'base', 'messages', 'messages_{0}.py'.format(lang)) po = polib.pofile(fname) -- cgit v1.2.3