diff options
Diffstat (limited to 'scripts/import_po.py')
| -rwxr-xr-x[-rw-r--r--] | scripts/import_po.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/import_po.py b/scripts/import_po.py index 6514391..89e1089 100644..100755 --- a/scripts/import_po.py +++ b/scripts/import_po.py @@ -12,7 +12,7 @@ os.system("tx pull -a") 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() - outf = os.path.join('nikola', 'data', 'themes', 'default', + outf = os.path.join('nikola', 'data', 'themes', 'base', 'messages', 'messages_{0}.py'.format(lang)) po = polib.pofile(fname) lines = """# -*- encoding:utf-8 -*- |
