Add update translations script. (#2173)
This commit is contained in:
parent
f7fa1f10f9
commit
11b7525c41
1 changed files with 13 additions and 0 deletions
13
scripts/update_translations.sh
Executable file
13
scripts/update_translations.sh
Executable 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
|
Loading…
Reference in a new issue