Skip to content

Commit

Permalink
Detect uppercase characters and punctuation marks in translation urls
Browse files Browse the repository at this point in the history
  • Loading branch information
saivann committed Dec 17, 2014
1 parent 34edbe8 commit 826a6a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 826a6a1

Please sign in to comment.