diff options
| author | 2015-11-11 16:34:34 -0300 | |
|---|---|---|
| committer | 2015-11-11 16:34:34 -0300 | |
| commit | 4e3224c012df9f74f010eb92203520515e8537b9 (patch) | |
| tree | 19322dc0c595268cb6864f21d7e92fd93cb826e9 /scripts/import_po.py | |
| parent | 787b97a4cb24330b36f11297c6d3a7a473a907d0 (diff) | |
Imported Upstream version 7.7.3upstream/7.7.3
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) |
