]> Untitled Git - lemmy.git/commitdiff
Add update translations script. (#2173)
authorDessalines <dessalines@users.noreply.github.com>
Tue, 29 Mar 2022 16:54:16 +0000 (16:54 +0000)
committerGitHub <noreply@github.com>
Tue, 29 Mar 2022 16:54:16 +0000 (16:54 +0000)
scripts/update_translations.sh [new file with mode: 0755]

diff --git a/scripts/update_translations.sh b/scripts/update_translations.sh
new file mode 100755 (executable)
index 0000000..71c62e9
--- /dev/null
@@ -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