Merge pull request #608 from return42/fix-translation-commit

[fix] weblate: separate commit description from commit body
This commit is contained in:
Alexandre Flament 2021-12-17 11:59:38 +01:00 committed by GitHub
commit 5c710e1285
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

2
manage
View File

@ -229,7 +229,7 @@ weblate.translations.commit() {
-d "searx/translations"
# git add/commit (no push)
commit_body=$(cd "${TRANSLATIONS_WORKTREE}"; git log --pretty=format:'%h - %as - %aN <%ae>' "${existing_commit_hash}..HEAD")
commit_message=$(echo -e "[translations] update\n${commit_body}")
commit_message=$(echo -e "[translations] update from Weblate\n\n${commit_body}")
git add searx/translations
git commit -m "${commit_message}"
)