mirror of
https://github.com/bookorbit/bookorbit.git
synced 2026-11-03 00:11:37 -06:00
ci(i18n): stop the crowdin sync failing on a single translator edit
Fail the nightly export only when a catalog loses far more than churn explains, rewrite a Crowdin em dash to the hyphen the source uses instead of discarding the translation, and report a rejected message as a rejection rather than a lost one. See docs/LOCALIZATION.md.
This commit is contained in:
@@ -87,7 +87,7 @@ jobs:
|
||||
echo >> "$PR_BODY"
|
||||
cat "$REJECTION_REPORT" >> "$PR_BODY"
|
||||
cat "$REJECTION_REPORT" >> "$GITHUB_STEP_SUMMARY"
|
||||
echo "::warning::Crowdin returned translations that failed catalog validation; they were omitted and are listed in the pull request body."
|
||||
echo "::warning::Some messages fall back to English in this export; they are listed in the pull request body."
|
||||
fi
|
||||
|
||||
- name: Create translation pull request
|
||||
|
||||
Reference in New Issue
Block a user