Skip to content

ci: check translations with smtranslate - #46

Merged
Rushaway merged 1 commit into
mainfrom
ci/translations-check
Sep 30, 2026
Merged

Rushaway merged 1 commit into
mainfrom
ci/translations-check

Conversation

@Rushaway

@Rushaway Rushaway commented Sep 30, 2026 •

Copy link
Copy Markdown
Member

Adds a Translations workflow (.github/workflows/translations.yml) that runs srcdslab/smtranslate@v1 on game/addons/sourcemod/translations when translations change.

CI only: this PR touches no translation or plugin file. The translation fixes are in #45.

  • Languages already used in the translations are required for every phrase.
  • Issues show up as annotations (inline on PR diffs) and in the job summary.

Blocking level

Controlled by the TRANSLATIONS_FAIL_ON repository variable (Settings → Secrets and variables → Actions → Variables), no workflow change needed:

Value Job fails on
unset / error errors only (default)
warning errors and warnings
never nothing (report only)

Merge order

Merge #45 first. On current main, the chi {3} and tr {1] errors fixed there would fail this check. With #45 applied: 0 error(s), 115 warning(s) (languages: en, chi, da, de, es, fr, hu, nl, no, pl, pt, ru, sv, tr).

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Rushaway
Rushaway force-pushed the ci/translations-check branch from b258284 to 2684216 Compare September 30, 2026 13:03
@Rushaway
Rushaway merged commit d1de29f into main Sep 30, 2026
2 of 4 checks passed
@Rushaway
Rushaway deleted the ci/translations-check branch September 30, 2026 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant