]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/i18n/pull-hook.sh
Rename messages locale to angular
[github/Chocobozzz/PeerTube.git] / scripts / i18n / pull-hook.sh
index dec426b88e98a624ac1d463dc073006b738a2bb6..3d57040cc0b6281ae19de8da558b525f4c1acc0b 100755 (executable)
@@ -4,7 +4,6 @@ set -eu
 
 # Zanata does not support inner elements in <source>, so we hack these special elements
 # This regex translate the converted elements to initial Angular elements
-#sed -i 's/\&lt;x id=\(.\+\?\)\/\&gt;/<x id=\1\/>/g' client/src/locale/target/*
 
 for i in 1 2 3; do
     perl -pi -e 's|&lt;x id=(.+?)/&gt;([^"])|<x id=\1/>\2|g' client/src/locale/target/*.xml