##// END OF EJS Templates
i18n: fix "% inside _()" problems...
i18n: fix "% inside _()" problems Before this patch, "contrib/check-code.py" can't detect these problems, because the regexp pattern to detect "% inside _()" doesn't suppose the case that the format string and "%" aren't placed in the same line. This patch replaces "\s" in that regexp pattern with "[ \t\n]" to detect "% inside _()" problems in such case. "[\s\n]" can't be used in this purpose, because "\s" is automatically replaced with "[ \t]" by "_preparepats()" and "\s" in "[]" causes nested "[]" unexpectedly.

File last commit:

r16438:28a90cdf default
r20868:5db105f2 stable
Show More
__init__.py
0 lines | 0 B | text/x-python | PythonLexer