Add a script to fix format problems automatically

This commit is contained in:
Daniel Martí 2014-04-25 10:22:42 +02:00
parent 82b188a2ac
commit 9bd33003a0
2 changed files with 6 additions and 1 deletions

View File

@ -150,7 +150,7 @@ Opis i inne szczegóły będą tu dostępne gdy zaktualizujesz repozytorium</str
<string name="repo_confirm_delete_body">Usunięcie repozytorium oznacza, że aplikacje z niego nie będą dłużej dostępne w F-Droid.
Uwaga: Wszystkie poprzednio zainstalowane aplikacje zostaną na urządzeniu.</string>
<string name="repo_disabled_notification">Zablokowane \"%1%s\".
<string name="repo_disabled_notification">Zablokowane \"%1$s\".
Aby zainstalować aplikacje z tego repozytorium musisz je włączyć ponownie.</string>
<string name="minsdk_or_later">%s lub później</string>

5
tools/fix-formats.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash -x
# Fix StringFormatMatches programmatically
sed -i 's/\(%[0-9]\)%\([a-z]\)/\1$\2/g' res/values*/*.xml