mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 19:42:24 +02:00
Add french
This commit is contained in:
parent
b1d40cff89
commit
510fefb194
6 changed files with 2273 additions and 44 deletions
|
@ -4,4 +4,8 @@ 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/\<x id=\([^\/]\+\?\)\/\>/<x id=\1\/>/g' client/src/locale/target/*
|
||||
#sed -i 's/\<x id=\(.\+\?\)\/\>/<x id=\1\/>/g' client/src/locale/target/*
|
||||
|
||||
for i in 1 2 3; do
|
||||
perl -pi -e 's|<x id=(.+?)/>([^"])|<x id=\1/>\2|g' client/src/locale/target/*
|
||||
done
|
Loading…
Add table
Add a link
Reference in a new issue