Submitter | phabricator |
---|---|
Date | Oct. 6, 2019, 4:06 p.m. |
Message ID | <8959bce6bd2000db00d6ed9fd4545ca8@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/42031/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/contrib/check-code.py b/contrib/check-code.py --- a/contrib/check-code.py +++ b/contrib/check-code.py @@ -508,7 +508,7 @@ [ \t\n#]* (?# any strings/comments might precede a string, which # contains translatable message) - ((['"]|\'\'\'|""")[ \npq%bAPMxno]*(['"]|\'\'\'|""")[ \t\n#]+)* + b?((['"]|\'\'\'|""")[ \npq%bAPMxno]*(['"]|\'\'\'|""")[ \t\n#]+)* (?# sequence consisting of below might precede translatable message # - formatting string: "% 10s", "%05d", "% -3.2f", "%*s", "%%" ... # - escaped character: "\\", "\n", "\0" ...