From c38d2ef80923738339a7e98f76f0e06e747045c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20A=C3=9Fhauer?= <mha1993@live.de> Date: Sat, 28 Sep 2019 09:49:04 +0200 Subject: [PATCH] pre-translate-po: process fixed values of git check-attr's info field MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Matthias A횩hauer <mha1993@live.de> --- po/documentation.de.po | 13 ++++++------- po/documentation.es_MX.po | 12 ++++++------ po/documentation.fr.po | 12 ++++++------ po/documentation.nb_NO.po | 12 ++++++------ po/documentation.pot | 12 ++++++------ po/documentation.pt_BR.po | 12 ++++++------ po/documentation.pt_PT.po | 12 ++++++------ po/documentation.ru.po | 12 ++++++------ po/documentation.zh_HANT.po | 12 ++++++------ scripts/pre-translate-po | 2 +- 10 files changed, 55 insertions(+), 56 deletions(-) diff --git a/po/documentation.de.po b/po/documentation.de.po index f5120bd..ccd4251 100644 --- a/po/documentation.de.po +++ b/po/documentation.de.po @@ -10854,9 +10854,9 @@ msgstr "" #. type: Labeled list #: en/git-check-attr.txt:60 -#, no-wrap, priority:100 +#, ignore-same, no-wrap, priority:100 msgid "'unspecified'" -msgstr "" +msgstr "'unspecified'" #. type: Plain text #: en/git-check-attr.txt:61 @@ -10866,10 +10866,9 @@ msgstr "" #. type: Labeled list #: en/git-check-attr.txt:61 -#, fuzzy, no-wrap, priority:100 -#| msgid "--unset" +#, ignore-same, no-wrap, priority:100 msgid "'unset'" -msgstr "--unset" +msgstr "'unset'" #. type: Plain text #: en/git-check-attr.txt:62 @@ -10879,9 +10878,9 @@ msgstr "" #. type: Labeled list #: en/git-check-attr.txt:62 -#, no-wrap, priority:100 +#, ignore-same, no-wrap, priority:100 msgid "'set'" -msgstr "" +msgstr "'set'" #. type: Plain text #: en/git-check-attr.txt:63 diff --git a/po/documentation.es_MX.po b/po/documentation.es_MX.po index a29965b..a17931f 100644 --- a/po/documentation.es_MX.po +++ b/po/documentation.es_MX.po @@ -10663,9 +10663,9 @@ msgstr "" #. type: Labeled list #: en/git-check-attr.txt:60 -#, no-wrap, priority:100 +#, ignore-same, no-wrap, priority:100 msgid "'unspecified'" -msgstr "" +msgstr "'unspecified'" #. type: Plain text #: en/git-check-attr.txt:61 @@ -10675,9 +10675,9 @@ msgstr "" #. type: Labeled list #: en/git-check-attr.txt:61 -#, no-wrap, priority:100 +#, ignore-same, no-wrap, priority:100 msgid "'unset'" -msgstr "" +msgstr "'unset'" #. type: Plain text #: en/git-check-attr.txt:62 @@ -10687,9 +10687,9 @@ msgstr "" #. type: Labeled list #: en/git-check-attr.txt:62 -#, no-wrap, priority:100 +#, ignore-same, no-wrap, priority:100 msgid "'set'" -msgstr "" +msgstr "'set'" #. type: Plain text #: en/git-check-attr.txt:63 diff --git a/po/documentation.fr.po b/po/documentation.fr.po index b72f5b5..42a3465 100644 --- a/po/documentation.fr.po +++ b/po/documentation.fr.po @@ -10758,9 +10758,9 @@ msgstr "" #. type: Labeled list #: en/git-check-attr.txt:60 -#, no-wrap, priority:100 +#, ignore-same, no-wrap, priority:100 msgid "'unspecified'" -msgstr "" +msgstr "'unspecified'" #. type: Plain text #: en/git-check-attr.txt:61 @@ -10770,9 +10770,9 @@ msgstr "" #. type: Labeled list #: en/git-check-attr.txt:61 -#, no-wrap, priority:100 +#, ignore-same, no-wrap, priority:100 msgid "'unset'" -msgstr "" +msgstr "'unset'" #. type: Plain text #: en/git-check-attr.txt:62 @@ -10782,9 +10782,9 @@ msgstr "" #. type: Labeled list #: en/git-check-attr.txt:62 -#, no-wrap, priority:100 +#, ignore-same, no-wrap, priority:100 msgid "'set'" -msgstr "" +msgstr "'set'" #. type: Plain text #: en/git-check-attr.txt:63 diff --git a/po/documentation.nb_NO.po b/po/documentation.nb_NO.po index b1e74ce..8011f6e 100644 --- a/po/documentation.nb_NO.po +++ b/po/documentation.nb_NO.po @@ -10618,9 +10618,9 @@ msgstr "" #. type: Labeled list #: en/git-check-attr.txt:60 -#, no-wrap, priority:100 +#, ignore-same, no-wrap, priority:100 msgid "'unspecified'" -msgstr "" +msgstr "'unspecified'" #. type: Plain text #: en/git-check-attr.txt:61 @@ -10630,9 +10630,9 @@ msgstr "" #. type: Labeled list #: en/git-check-attr.txt:61 -#, no-wrap, priority:100 +#, ignore-same, no-wrap, priority:100 msgid "'unset'" -msgstr "" +msgstr "'unset'" #. type: Plain text #: en/git-check-attr.txt:62 @@ -10642,9 +10642,9 @@ msgstr "" #. type: Labeled list #: en/git-check-attr.txt:62 -#, no-wrap, priority:100 +#, ignore-same, no-wrap, priority:100 msgid "'set'" -msgstr "" +msgstr "'set'" #. type: Plain text #: en/git-check-attr.txt:63 diff --git a/po/documentation.pot b/po/documentation.pot index 1a15cc3..c5e4117 100644 --- a/po/documentation.pot +++ b/po/documentation.pot @@ -10618,9 +10618,9 @@ msgstr "" #. type: Labeled list #: en/git-check-attr.txt:60 -#, no-wrap, priority:100 +#, ignore-same, no-wrap, priority:100 msgid "'unspecified'" -msgstr "" +msgstr "'unspecified'" #. type: Plain text #: en/git-check-attr.txt:61 @@ -10630,9 +10630,9 @@ msgstr "" #. type: Labeled list #: en/git-check-attr.txt:61 -#, no-wrap, priority:100 +#, ignore-same, no-wrap, priority:100 msgid "'unset'" -msgstr "" +msgstr "'unset'" #. type: Plain text #: en/git-check-attr.txt:62 @@ -10642,9 +10642,9 @@ msgstr "" #. type: Labeled list #: en/git-check-attr.txt:62 -#, no-wrap, priority:100 +#, ignore-same, no-wrap, priority:100 msgid "'set'" -msgstr "" +msgstr "'set'" #. type: Plain text #: en/git-check-attr.txt:63 diff --git a/po/documentation.pt_BR.po b/po/documentation.pt_BR.po index 6610fe6..17efb8c 100644 --- a/po/documentation.pt_BR.po +++ b/po/documentation.pt_BR.po @@ -10877,9 +10877,9 @@ msgstr "<path> 챕 o caminho de um arquivo sendo consultado, <atributo> 챕 um atr #. type: Labeled list #: en/git-check-attr.txt:60 -#, no-wrap, priority:100 +#, ignore-same, no-wrap, priority:100 msgid "'unspecified'" -msgstr "'n찾o especificado'" +msgstr "'unspecified'" #. type: Plain text #: en/git-check-attr.txt:61 @@ -10889,9 +10889,9 @@ msgstr "quando o atributo n찾o est찼 definido para o path." #. type: Labeled list #: en/git-check-attr.txt:61 -#, no-wrap, priority:100 +#, ignore-same, no-wrap, priority:100 msgid "'unset'" -msgstr "'n찾o definido'" +msgstr "'unset'" #. type: Plain text #: en/git-check-attr.txt:62 @@ -10901,9 +10901,9 @@ msgstr "quando o atributo 챕 definido como falso." #. type: Labeled list #: en/git-check-attr.txt:62 -#, no-wrap, priority:100 +#, ignore-same, no-wrap, priority:100 msgid "'set'" -msgstr "'conjunto'" +msgstr "'set'" #. type: Plain text #: en/git-check-attr.txt:63 diff --git a/po/documentation.pt_PT.po b/po/documentation.pt_PT.po index 72cadc6..fcb64ce 100644 --- a/po/documentation.pt_PT.po +++ b/po/documentation.pt_PT.po @@ -10617,9 +10617,9 @@ msgstr "" #. type: Labeled list #: en/git-check-attr.txt:60 -#, no-wrap, priority:100 +#, ignore-same, no-wrap, priority:100 msgid "'unspecified'" -msgstr "" +msgstr "'unspecified'" #. type: Plain text #: en/git-check-attr.txt:61 @@ -10629,9 +10629,9 @@ msgstr "" #. type: Labeled list #: en/git-check-attr.txt:61 -#, no-wrap, priority:100 +#, ignore-same, no-wrap, priority:100 msgid "'unset'" -msgstr "" +msgstr "'unset'" #. type: Plain text #: en/git-check-attr.txt:62 @@ -10641,9 +10641,9 @@ msgstr "" #. type: Labeled list #: en/git-check-attr.txt:62 -#, no-wrap, priority:100 +#, ignore-same, no-wrap, priority:100 msgid "'set'" -msgstr "" +msgstr "'set'" #. type: Plain text #: en/git-check-attr.txt:63 diff --git a/po/documentation.ru.po b/po/documentation.ru.po index ea726d1..72d08b2 100644 --- a/po/documentation.ru.po +++ b/po/documentation.ru.po @@ -10628,9 +10628,9 @@ msgstr "" #. type: Labeled list #: en/git-check-attr.txt:60 -#, no-wrap, priority:100 +#, ignore-same, no-wrap, priority:100 msgid "'unspecified'" -msgstr "" +msgstr "'unspecified'" #. type: Plain text #: en/git-check-attr.txt:61 @@ -10640,9 +10640,9 @@ msgstr "" #. type: Labeled list #: en/git-check-attr.txt:61 -#, no-wrap, priority:100 +#, ignore-same, no-wrap, priority:100 msgid "'unset'" -msgstr "" +msgstr "'unset'" #. type: Plain text #: en/git-check-attr.txt:62 @@ -10652,9 +10652,9 @@ msgstr "" #. type: Labeled list #: en/git-check-attr.txt:62 -#, no-wrap, priority:100 +#, ignore-same, no-wrap, priority:100 msgid "'set'" -msgstr "" +msgstr "'set'" #. type: Plain text #: en/git-check-attr.txt:63 diff --git a/po/documentation.zh_HANT.po b/po/documentation.zh_HANT.po index 397c9e1..455ace8 100644 --- a/po/documentation.zh_HANT.po +++ b/po/documentation.zh_HANT.po @@ -10117,9 +10117,9 @@ msgstr "" #. type: Labeled list #: en/git-check-attr.txt:60 -#, no-wrap, priority:100 +#, ignore-same, no-wrap, priority:100 msgid "'unspecified'" -msgstr "" +msgstr "'unspecified'" #. type: Plain text #: en/git-check-attr.txt:61 @@ -10129,9 +10129,9 @@ msgstr "" #. type: Labeled list #: en/git-check-attr.txt:61 -#, no-wrap, priority:100 +#, ignore-same, no-wrap, priority:100 msgid "'unset'" -msgstr "" +msgstr "'unset'" #. type: Plain text #: en/git-check-attr.txt:62 @@ -10141,9 +10141,9 @@ msgstr "" #. type: Labeled list #: en/git-check-attr.txt:62 -#, no-wrap, priority:100 +#, ignore-same, no-wrap, priority:100 msgid "'set'" -msgstr "" +msgstr "'set'" #. type: Plain text #: en/git-check-attr.txt:63 diff --git a/scripts/pre-translate-po b/scripts/pre-translate-po index a19ea46..f8cb4e4 100755 --- a/scripts/pre-translate-po +++ b/scripts/pre-translate-po @@ -8,7 +8,7 @@ def main (f, d=None): po = polib.pofile(f, wrapwidth=0) option_re = re.compile(r'-[-a-z0-9[\]]+') linkgit_re = re.compile(r'((linkgit:)?(git[-a-z0-9[\]]+|mail)(\[[157]\]|\([157]\))(,|;)?(\n| )?)+') - quoted_re = re.compile(r'`[a-zA-Z-_]+`|\'(oneline|short|medium|full(er)?|email|raw)\'|(user|transfer|submodule|stash|status|splitIndex|showbranch|sendemail|repack|remote|receive|push|merge(tool)?|mailinfo|log|interactive|instaweb|i18n|help|gui|gitweb|fastimport|format|fetch|diff(tool)?|credential|commit|column|core|branch|apply|color|git-p4)\.[a-zA-Z_.]+|araxis|bc3?|codecompare|deltawalker|guiffy|meld|diff(use|merge)|(exam|g?vim|t?k|open|xx)?diff[23]?|(ec?|p4|s|tortoise|win)merge|update|create|delete|verify|option|resolve|recursive|octopus|ours|subtree|theirs|patience|diff-algorithm=\[[a-z\|]+\]|ignore-(space-change|all-space|(cr|space)-at-eol)|(no-)?renormalize|no-renames') + quoted_re = re.compile(r'`[a-zA-Z-_]+`|\'(oneline|short|medium|full(er)?|email|raw|(un)?set|unspecified)\'|(user|transfer|submodule|stash|status|splitIndex|showbranch|sendemail|repack|remote|receive|push|merge(tool)?|mailinfo|log|interactive|instaweb|i18n|help|gui|gitweb|fastimport|format|fetch|diff(tool)?|credential|commit|column|core|branch|apply|color|git-p4)\.[a-zA-Z_.]+|araxis|bc3?|codecompare|deltawalker|guiffy|meld|diff(use|merge)|(exam|g?vim|t?k|open|xx)?diff[23]?|(ec?|p4|s|tortoise|win)merge|update|create|delete|verify|option|resolve|recursive|octopus|ours|subtree|theirs|patience|diff-algorithm=\[[a-z\|]+\]|ignore-(space-change|all-space|(cr|space)-at-eol)|(no-)?renormalize|no-renames') env_var_re = re.compile(r'`?GIT_[A-Z_\d]+`?') if not d is None: po_file=polib.pofile(d) -- GitLab