Update Transifex fixup script

This commit is contained in:
cketti 2023-02-15 13:38:37 +01:00
parent 5d08cd4ab8
commit e48c734628

View file

@ -21,3 +21,6 @@ perl -i -pe 's/"><\/string>/"\/>/g' $FILE
# Escape single and double quotes (but not in comments or the xml tag)
perl -i -pe 's/([^\\])'\''/\1\\'\''/g unless /(<!--|xml)/' $FILE
# Use double quotes for 'message_view_recipient_prefix' value to retain trailing space
perl -i -pe 's/<string name="message_view_recipient_prefix">(.* )<\/string>/<string name="message_view_recipient_prefix">"\1"<\/string>/' $FILE