1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-03 17:59:37 +02:00

Format xliff files

This commit is contained in:
Chocobozzz 2025-05-30 14:21:22 +02:00
parent af859056da
commit f85e1a57d4
No known key found for this signature in database
GPG key ID: 583A612D890159BE
65 changed files with 579114 additions and 241021 deletions

View file

@ -14,6 +14,14 @@ locales=$(find src/locale -type f | grep -e 'angular\.[^.]\+\.xlf' | sed 's#^src
# Merge new translations in other language files
node ./node_modules/.bin/xliffmerge -p ./.xliffmerge.json $locales
(
cd src/locale
for file in angular.*.xlf; do
xmllint --format $file > "$file.tmp" && mv "$file.tmp" "$file"
done
)
# Add our strings too
cd ../
npm run i18n:create-custom-files