diff options
| author | 2013-11-20 16:58:50 -0300 | |
|---|---|---|
| committer | 2013-11-20 16:58:50 -0300 | |
| commit | ca94afc07df55cb7fc6fe3b4f3011877b7881195 (patch) | |
| tree | d81e1f275aa77545f33740723f307a83dde2e0b4 /scripts/import_po.py | |
| parent | f794eee787e9cde54e6b8f53e45d69c9ddc9936a (diff) | |
Imported Upstream version 6.2.1upstream/6.2.1
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 -*- |
