Skip to content
Snippets Groups Projects
Commit 10881886 authored by Jean-Noël Avila's avatar Jean-Noël Avila
Browse files

Add ignore-translated flag to automatic untranslated content

parent ac482b0a
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
This diff is collapsed.
......@@ -12,6 +12,7 @@ def main (f):
or re.fullmatch(r'((linkgit:)?git-[-a-z0-9[\]]+(\[1\]|\(1\))(\n| )?)+', entry.msgid) \
or re.fullmatch(r'`[A-Z-_]+`|(core|branch|diff)\.[a-zA-Z]+', entry.msgid):
entry.msgstr = entry.msgid
entry.flags.append("ignore-translated")
if 'fuzzy' in entry.flags:
entry.flags.remove('fuzzy')
entry.previous_msgid = None
......
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