Add update translations script. (#2173)

pull/2174/head
Dessalines 2022-03-29 16:54:16 +00:00 committed by GitHub
parent f7fa1f10f9
commit 11b7525c41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 0 deletions

13
scripts/update_translations.sh Executable file
View File

@ -0,0 +1,13 @@
#!/bin/bash
set -e
pushd ../../lemmy-translations
git fetch weblate
git merge weblate/main
git push
popd
git submodule update --remote
git add ../crates/utils/translations
git commit -m"Updating translations."
git push