Files
dify-docs-archived/lang-check/git-tcommit.sh
AllenWriter c4b7cef2af i18n: translate scripts (#513)
* i18n: translate scripts

* i18n: translate scripts
2025-02-14 16:09:22 +08:00

11 lines
237 B
Bash
Executable File

#!/bin/bash
# Execute the language check script
if bash ./lang-check/git-diff.sh; then
# Check passed, submission executed
git commit -m "$*"
else
# Check failed
echo "Language check failed, commit aborted"
exit 1
fi