Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2012-07-18 18:03:10 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2012-07-18 18:03:10 +0400
commit1fc3f91016003fa5856bf987e7f2f8340def6c7a (patch)
treea96df0904a6fcf74efdda2843c4752cb2b893335 /release/scripts/modules/bl_i18n_utils
parentc0e004bd61c45811f99a886d8818a7764109c5ec (diff)
Some small fixes (grrr, python imports...).
Diffstat (limited to 'release/scripts/modules/bl_i18n_utils')
-rwxr-xr-xrelease/scripts/modules/bl_i18n_utils/merge_po.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/release/scripts/modules/bl_i18n_utils/merge_po.py b/release/scripts/modules/bl_i18n_utils/merge_po.py
index b09e4daefbc..51e587ca4c8 100755
--- a/release/scripts/modules/bl_i18n_utils/merge_po.py
+++ b/release/scripts/modules/bl_i18n_utils/merge_po.py
@@ -31,16 +31,17 @@
import sys
try:
+ import settings
import utils
except:
- from . import utils
+ from . import (settings, utils)
def main():
import argparse
parser = argparse.ArgumentParser(description="" \
"Merge one or more .po files into the first dest one.\n" \
- "If a msgkey (msgid, msgctxt) is present in more than " \
+ "If a msgkey (msgctxt, msgid) is present in more than " \
"one merged po, the one in the first file wins, unless " \
"it’s marked as fuzzy and one later is not.\n" \
"The fuzzy flag is removed if necessary.\n" \