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:
neon
2026-08-27 18:29:42 +00:00
parent e81848f654
commit 5ff6bdfecb
5 changed files with 183 additions and 88 deletions
+1 -1
View File
@@ -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