Add tools/fix-apostrophes.sh and run it
This commit is contained in:
parent
f062de9092
commit
911b95dc87
@ -10,6 +10,6 @@
|
|||||||
<string-array name="themeNames">
|
<string-array name="themeNames">
|
||||||
<item>Sombre</item>
|
<item>Sombre</item>
|
||||||
<item>Clair</item>
|
<item>Clair</item>
|
||||||
<item>Clair (avec barre d'action sombre)</item>
|
<item>Clair (avec barre d\'action sombre)</item>
|
||||||
</string-array>
|
</string-array>
|
||||||
</resources>
|
</resources>
|
||||||
|
5
F-Droid/tools/fix-apostrophes.sh
Executable file
5
F-Droid/tools/fix-apostrophes.sh
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/bash -x
|
||||||
|
|
||||||
|
# Fix apostrophes in strings not preceded by a backslash
|
||||||
|
|
||||||
|
sed -i "/\\(item\\|string\\)/s/\\([^\\]\\)'/\\1\\\\'/g" res/values*/{strings,array}.xml
|
Loading…
x
Reference in New Issue
Block a user