Changeset - 19735bc60455
[Not reviewed]
default
0 1 0
Mads Kiilerich (mads) - 6 years ago 2019-11-13 12:28:19
mads@kiilerich.com
Grafted from: 52eafdb4531d
i18n: also strip '# #, fuzzy' from header comment - it might appear when verifying branches are in sync
1 file changed with 3 insertions and 0 deletions:
0 comments (0 inline, 0 general)
scripts/i18n_utils.py
Show inline comments
 
@@ -38,12 +38,15 @@ header_comment_strip_re = re.compile(r''
 
    [#][ ]FIRST[ ]AUTHOR[ ]<EMAIL@ADDRESS>,[ ]\d+[.] \n
 
    (?:[#] \n)?
 
    |
 
    ^
 
    (?:[#] \n)?
 
    [#],[ ]fuzzy \n
 
    |
 
    ^
 
    [#][ ][#],[ ]fuzzy \n
 
    ''',
 
    re.MULTILINE|re.VERBOSE)
 

	
 
header_normalize_re = re.compile(r'''
 
    ^ "
 
    (POT-Creation-Date|PO-Revision-Date|Last-Translator|Language-Team|X-Generator|Generated-By|Project-Id-Version):
0 comments (0 inline, 0 general)