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:
authorCampbell Barton <ideasman42@gmail.com>2018-07-03 07:58:34 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-07-03 07:58:34 +0300
commit00fc1d70a70694973c53d4974ed21ef888532d0a (patch)
tree5c40fa7d2a915c764b244fbed591fae5b4072a74 /release/scripts/modules/bl_i18n_utils
parente856eb7e8b65a7391c89b0938de49bb7d781f5dc (diff)
parent8c15d612a5cdfe39233c7f2b7556742091c82558 (diff)
Merge branch 'master' into blender2.8
Diffstat (limited to 'release/scripts/modules/bl_i18n_utils')
-rwxr-xr-xrelease/scripts/modules/bl_i18n_utils/merge_po.py19
1 files changed, 11 insertions, 8 deletions
diff --git a/release/scripts/modules/bl_i18n_utils/merge_po.py b/release/scripts/modules/bl_i18n_utils/merge_po.py
index ecb26123999..7e3c8a42b17 100755
--- a/release/scripts/modules/bl_i18n_utils/merge_po.py
+++ b/release/scripts/modules/bl_i18n_utils/merge_po.py
@@ -43,14 +43,17 @@ else:
# XXX This is a quick hack to make it work with new I18n... objects! To be reworked!
def main():
import argparse
- parser = argparse.ArgumentParser(description=
- "Merge one or more .po files into the first dest one.\n"
- "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"
- "All other comments are never modified.\n"
- "Commented messages in dst will always remain commented, and commented messages are never merged "
- "from sources.")
+ parser = argparse.ArgumentParser(
+ description=(
+ "Merge one or more .po files into the first dest one.\n"
+ "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"
+ "All other comments are never modified.\n"
+ "Commented messages in dst will always remain commented, and commented messages are never merged "
+ "from sources."
+ ),
+ )
parser.add_argument('-s', '--stats', action="store_true", help="Show statistics info.")
parser.add_argument('-r', '--replace', action="store_true",
help="Replace existing messages of same \"level\" already in dest po.")