X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=scripts%2Fi18n%2Fpull-hook.sh;h=3d57040cc0b6281ae19de8da558b525f4c1acc0b;hb=f07d6385b4b46c3254898292a8a53ed415b8d49b;hp=dec426b88e98a624ac1d463dc073006b738a2bb6;hpb=e945b184a0f29b47c33bbd05578f3493ca9c8e6c;p=github%2FChocobozzz%2FPeerTube.git diff --git a/scripts/i18n/pull-hook.sh b/scripts/i18n/pull-hook.sh index dec426b88..3d57040cc 100755 --- a/scripts/i18n/pull-hook.sh +++ b/scripts/i18n/pull-hook.sh @@ -4,7 +4,6 @@ set -eu # Zanata does not support inner elements in , so we hack these special elements # This regex translate the converted elements to initial Angular elements -#sed -i 's/\<x id=\(.\+\?\)\/\>//g' client/src/locale/target/* for i in 1 2 3; do perl -pi -e 's|<x id=(.+?)/>([^"])|\2|g' client/src/locale/target/*.xml