Commit c0765385 authored by Grigory Fedorov's avatar Grigory Fedorov

webtranslateit script updated to new project tree.

parent 6a970afe
unzip -o 1218-xabber.zip -d ../
perl -p -i.bak -w -e 's/&([l|g]t;)/&$1/g' $(find ../res/ -path ../res/values*.xml)
perl -p -i.bak -w -e "s/\\\\\\\\'/\\\\'/g" $(find ../res/ -path ../res/values*.xml)
perl -p -i.bak -w -e 's/ (<resources)/$1/g' $(find ../res/ -path ../res/values*.xml)
find ../res/ -type f -name "*.bak" -exec rm -f {} \;
unzip -o 1218-xabber.zip -d ../app/src/main/
perl -p -i.bak -w -e 's/&amp;([l|g]t;)/&$1/g' $(find ../app/src/main/res/ -path ../app/src/main/res/values*.xml)
perl -p -i.bak -w -e "s/\\\\\\\\'/\\\\'/g" $(find ../app/src/main/res/ -path ../app/src/main/res/values*.xml)
perl -p -i.bak -w -e 's/ (<resources)/$1/g' $(find ../app/src/main/res/ -path ../app/src/main/res/values*.xml)
find ../app/src/main/res/ -type f -name "*.bak" -exec rm -f {} \;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment