iPhone plural EOF \n moved to Twine

This commit is contained in:
Dwayne Bailey 2024-08-08 13:43:48 +01:00
parent 4e81e493ae
commit 5a4c229b00

View file

@ -63,9 +63,9 @@ sed -i "" -E '/^$/d' $iphone_stringsdict
# Remove comments - these don't roundtrip in Weblate
sed -i "" -E '/^<!--/d' $iphone_stringsdict
# Add missing EOF newline
for stringdict_file in $iphone_stringsdict; do
echo >> "$stringdict_file"
done
#for stringdict_file in $iphone_stringsdict; do
# echo >> "$stringdict_file"
#done
# Remove 'other' translation form for languages that don't have it in Weblate
sed -i "" -E '/<key>other<\/key>/,+1d' iphone/Maps/LocalizedStrings/{be,pl,ru,uk}.lproj/Localizable.stringsdict