mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +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:
@@ -15,3 +15,6 @@ grep --include='strings.xml' -r "\\\\[^n\"'’]" .
|
||||
|
||||
# check for usage of a single `&` - this has to be an `&`
|
||||
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" .
|
||||
|
||||
Reference in New Issue
Block a user