mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2026-09-03 20:53:09 -05:00
Update all angular translation files
This commit is contained in:
@@ -9,7 +9,7 @@ npm run build:embed
|
||||
cd client
|
||||
npm run ng -- extract-i18n --out-file src/locale/angular.xlf
|
||||
|
||||
locales=$(find client/src/locale -type f | grep -e 'angular\.[^.]\+\.xlf' | sed 's#^client/src/locale/angular.##' | sed 's/\.xlf$//' | sort -u | tr '\n' ' ')
|
||||
locales=$(find src/locale -type f | grep -e 'angular\.[^.]\+\.xlf' | sed 's#^src/locale/angular.##' | sed 's/\.xlf$//' | sort -u | tr '\n' ' ')
|
||||
|
||||
# Merge new translations in other language files
|
||||
node ./node_modules/.bin/xliffmerge -p ./.xliffmerge.json $locales
|
||||
|
||||
Reference in New Issue
Block a user