mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-21 22:27:08 +00:00
Add update translations script. (#2173)
This commit is contained in:
parent
f7fa1f10f9
commit
11b7525c41
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