diff options
Diffstat (limited to 'release/scripts/modules/bl_i18n_utils/import_po_from_branches.py')
-rwxr-xr-x | release/scripts/modules/bl_i18n_utils/import_po_from_branches.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/modules/bl_i18n_utils/import_po_from_branches.py b/release/scripts/modules/bl_i18n_utils/import_po_from_branches.py index f42b45e7d4e..956d2e96154 100755 --- a/release/scripts/modules/bl_i18n_utils/import_po_from_branches.py +++ b/release/scripts/modules/bl_i18n_utils/import_po_from_branches.py @@ -84,8 +84,8 @@ def main(): trans.append(m.msgstr) trans = rtl_preprocess.log2vis(trans) for k, t in zip(keys, trans): - msgs[k].msgstr = t - msgs.write(kinf='PO', dest=out_po) + msgs.msgs[k].msgstr = t + msgs.write(kind='PO', dest=out_po) # Also copies org po! shutil.copy(po, out_raw_po) print("{:<10}: {:>6.1%} done, enough translated messages, processed and copied to trunk." |