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:
bjoern 2022-09-30 15:36:30 +02:00 committed by GitHub
parent d45d1fc958
commit 8b308ca3be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,3 +15,6 @@ grep --include='strings.xml' -r "\\\\[^n\"']" .
# check for usage of a single `&` - this has to be an `&amp;`
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" .