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>2013-02-25 20:06:59 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2013-02-25 20:06:59 +0400
commit095062f0c59de44d3b9960b3c034ff20cb093fbe (patch)
treeb897f88c361f68b57a7d0c416bce33e519cd260b /release
parent8291a4fe08919be115f0d9a6ab68e2823c492495 (diff)
Tame that stupid py code not to eat existing fuzzies in po’s when updating from POT file!
Diffstat (limited to 'release')
-rw-r--r--release/scripts/modules/bl_i18n_utils/utils.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/release/scripts/modules/bl_i18n_utils/utils.py b/release/scripts/modules/bl_i18n_utils/utils.py
index 8d5cf76d476..5bb0a072ccb 100644
--- a/release/scripts/modules/bl_i18n_utils/utils.py
+++ b/release/scripts/modules/bl_i18n_utils/utils.py
@@ -430,7 +430,6 @@ class I18nMessages:
msg, refmsg = self.msgs[key], ref.msgs[key]
msg.sources = refmsg.sources
msg.is_commented = refmsg.is_commented
- msg.is_fuzzy = refmsg.is_fuzzy
msgs[key] = msg
# Next process new keys.
@@ -438,8 +437,6 @@ class I18nMessages:
with concurrent.futures.ProcessPoolExecutor() as exctr:
for key, msgid in exctr.map(get_best_similar,
tuple((nk, use_similar, tuple(similar_pool.keys())) for nk in new_keys)):
- #for key, msgid in map(get_best_similar,
- #tuple((nk, use_similar, tuple(similar_pool.keys())) for nk in new_keys)):
if msgid:
# Try to get the same context, else just get one...
skey = (key[0], msgid)