Script remove superfluos whitespace from Android files for Weblate
This commit is contained in:
parent
69d2ed9b1d
commit
5742ca6d7d
1 changed files with 2 additions and 0 deletions
|
@ -34,6 +34,8 @@ echo "$iphone_strings" | wc -l
|
|||
|
||||
# Adapt \n to incluce a line break like Weblate does
|
||||
sed -i "" -E '/<string /s/\\n/\n\\n/g' $android_strings_xml
|
||||
# Remove blank lines before <! SECTION...
|
||||
sed -i "" -E '/^$/d' $android_strings_xml
|
||||
|
||||
## Prepare iPhone files for Weblate
|
||||
|
||||
|
|
Reference in a new issue