Detect uppercase characters and punctuation marks in translation urls

This commit is contained in:
Saivann 2014-12-16 19:33:46 -05:00
parent 34edbe8461
commit 826a6a13b7

View file

@ -107,7 +107,7 @@ check-for-non-ascii-urls:
## characters or spaces.
$S find _translations -name '*.yml' | while read file \
; do grep -H . $$file | sed -n -e '/url:/,$$p' \
| grep -P '[^\x00-\x7f]|[a-z\-] [a-z\-]' \
| grep -P ': +[a-z0-9\-]+: +.*([^\x00-\x7f]|[^a-z0-9\-"]).*$$' \
; done | eval $(ERROR_ON_OUTPUT)
check-for-broken-kramdown-tables: