diff options
Diffstat (limited to 'scripts/import_po.py')
| -rwxr-xr-x | scripts/import_po.py | 1 |
1 files changed, 1 insertions, 0 deletions
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) |
