Add update translations script. (#2173)

This commit is contained in:
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

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