mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 09:46:12 +00:00
Detect uppercase characters and punctuation marks in translation urls
This commit is contained in:
parent
34edbe8461
commit
826a6a13b7
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -107,7 +107,7 @@ check-for-non-ascii-urls:
|
||||||
## characters or spaces.
|
## characters or spaces.
|
||||||
$S find _translations -name '*.yml' | while read file \
|
$S find _translations -name '*.yml' | while read file \
|
||||||
; do grep -H . $$file | sed -n -e '/url:/,$$p' \
|
; 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)
|
; done | eval $(ERROR_ON_OUTPUT)
|
||||||
|
|
||||||
check-for-broken-kramdown-tables:
|
check-for-broken-kramdown-tables:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue