Skip to content
Snippets Groups Projects
Commit 0af2390a authored by Matthias Aßhauer's avatar Matthias Aßhauer
Browse files

pre-translate-po: automatically translate environment variables

parent 5bbeeed5
No related branches found
No related tags found
No related merge requests found
Source diff could not be displayed: it is too large. Options to address this: view the blob.
......@@ -24506,9 +24506,9 @@ msgstr ""
 
#. type: Labeled list
#: en/git-config.txt:282
#, no-wrap
#, ignore-same, no-wrap
msgid "GIT_CONFIG"
msgstr ""
msgstr "GIT_CONFIG"
 
#. type: Plain text
#: en/git-config.txt:286
......@@ -24520,9 +24520,9 @@ msgstr ""
 
#. type: Labeled list
#: en/git-config.txt:287
#, no-wrap
#, ignore-same, no-wrap
msgid "GIT_CONFIG_NOSYSTEM"
msgstr ""
msgstr "GIT_CONFIG_NOSYSTEM"
 
#. type: Plain text
#: en/git-config.txt:290
......@@ -35985,9 +35985,9 @@ msgstr ""
 
#. type: Labeled list
#: en/git-fsck.txt:148
#, no-wrap
#, ignore-same, no-wrap
msgid "GIT_OBJECT_DIRECTORY"
msgstr ""
msgstr "GIT_OBJECT_DIRECTORY"
 
#. type: Plain text
#: en/git-fsck.txt:150
......@@ -35996,9 +35996,9 @@ msgstr ""
 
#. type: Labeled list
#: en/git-fsck.txt:151
#, no-wrap
#, ignore-same, no-wrap
msgid "GIT_INDEX_FILE"
msgstr ""
msgstr "GIT_INDEX_FILE"
 
#. type: Plain text
#: en/git-fsck.txt:153
......@@ -36007,7 +36007,7 @@ msgstr "utilisé pour spécifier le fichier d'index de l'index"
 
#. type: Labeled list
#: en/git-fsck.txt:154
#, no-wrap
#, ignore-same, no-wrap
msgid "GIT_ALTERNATE_OBJECT_DIRECTORIES"
msgstr "GIT_ALTERNATE_OBJECT_DIRECTORIES"
 
......@@ -50903,9 +50903,9 @@ msgstr "VARIABLES D'ENVIRONNEMENT :"
 
#. type: Labeled list
#: en/git-remote-ext.txt:61 en/git-remote-fd.txt:33
#, no-wrap
#, ignore-same, no-wrap
msgid "GIT_TRANSLOOP_DEBUG"
msgstr ""
msgstr "GIT_TRANSLOOP_DEBUG"
 
#. type: Plain text
#: en/git-remote-ext.txt:63 en/git-remote-fd.txt:35
......@@ -50920,9 +50920,9 @@ msgstr ""
 
#. type: Labeled list
#: en/git-remote-ext.txt:67
#, no-wrap
#, ignore-same, no-wrap
msgid "GIT_EXT_SERVICE"
msgstr ""
msgstr "GIT_EXT_SERVICE"
 
#. type: Plain text
#: en/git-remote-ext.txt:70
......@@ -50933,9 +50933,9 @@ msgstr ""
 
#. type: Labeled list
#: en/git-remote-ext.txt:71
#, no-wrap
#, ignore-same, no-wrap
msgid "GIT_EXT_SERVICE_NOPREFIX"
msgstr ""
msgstr "GIT_EXT_SERVICE_NOPREFIX"
 
#. type: Plain text
#: en/git-remote-ext.txt:74
......@@ -66396,9 +66396,9 @@ msgstr ""
 
#. type: Labeled list
#: en/git-var.txt:34
#, no-wrap
#, ignore-same, no-wrap
msgid "GIT_AUTHOR_IDENT"
msgstr ""
msgstr "GIT_AUTHOR_IDENT"
 
#. type: Plain text
#: en/git-var.txt:36
......@@ -66407,9 +66407,9 @@ msgstr ""
 
#. type: Labeled list
#: en/git-var.txt:37
#, no-wrap
#, ignore-same, no-wrap
msgid "GIT_COMMITTER_IDENT"
msgstr ""
msgstr "GIT_COMMITTER_IDENT"
 
#. type: Plain text
#: en/git-var.txt:39
......@@ -66418,9 +66418,9 @@ msgstr ""
 
#. type: Labeled list
#: en/git-var.txt:40
#, no-wrap
#, ignore-same, no-wrap
msgid "GIT_EDITOR"
msgstr ""
msgstr "GIT_EDITOR"
 
#. type: Plain text
#: en/git-var.txt:48
......@@ -66442,9 +66442,9 @@ msgstr ""
 
#. type: Labeled list
#: en/git-var.txt:52
#, no-wrap
#, ignore-same, no-wrap
msgid "GIT_PAGER"
msgstr ""
msgstr "GIT_PAGER"
 
#. type: Plain text
#: en/git-var.txt:60
Source diff could not be displayed: it is too large. Options to address this: view the blob.
......@@ -10,7 +10,8 @@ def main (f):
for entry in po:
if (re.fullmatch(r'-[-a-z0-9[\]]+', entry.msgid)) \
or re.fullmatch(r'((linkgit:)?(git[-a-z0-9[\]]+|mail)(\[[157]\]|\([157]\))(,|;)?(\n| )?)+', entry.msgid) \
or re.fullmatch(r'`[a-zA-Z-_]+`|(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_.]+', entry.msgid):
or re.fullmatch(r'`[a-zA-Z-_]+`|(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_.]+', entry.msgid)\
or re.fullmatch(r'`?GIT_[A-Z_]+`?', entry.msgid):
entry.msgstr = entry.msgid
entry.flags.append("ignore-same")
flags = set(entry.flags)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment