mirror of
https://github.com/deltachat/deltachat-android.git
synced 2025-10-03 09:49:21 +02:00
check translation for bad lineends (#2389)
`<br>` lineends are not allowed in strings.xml and lead to compile errors as "terminating tag missing". (adding these checks as this pop up from time to time and is easily overseen)
This commit is contained in:
parent
d45d1fc958
commit
8b308ca3be
1 changed files with 3 additions and 0 deletions
|
@ -15,3 +15,6 @@ grep --include='strings.xml' -r "\\\\[^n\"'’]" .
|
||||||
|
|
||||||
# check for usage of a single `&` - this has to be an `&`
|
# check for usage of a single `&` - this has to be an `&`
|
||||||
grep --include='strings.xml' -r "&[^a]" .
|
grep --include='strings.xml' -r "&[^a]" .
|
||||||
|
|
||||||
|
# single <br> is not needed - and not allowed in xml, leading to error "matching end tag missing"
|
||||||
|
grep --include='strings.xml' -r "<br" .
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue