diff --git a/scripts/check-translations.sh b/scripts/check-translations.sh index cc22fc458..ee90db118 100755 --- a/scripts/check-translations.sh +++ b/scripts/check-translations.sh @@ -2,7 +2,8 @@ echo potential errors, if any: # a space after the percent sign # results in an IllegalFormatException in getString() -grep --include='strings.xml' -r '\% ' . +grep --include='strings.xml' -r '\% [12]' . +grep --include='strings.xml' -r '\%[$]' . grep --include='strings.xml' -r '\$ ' . grep --include='strings.xml' -r ' \$' .