Skip to content

feat(translations): translate hard-coded messages - #43

Merged
Rushaway merged 1 commit into
masterfrom
feat/translations
Nov 1, 2026
Merged

Rushaway merged 1 commit into
masterfrom
feat/translations

Conversation

@Rushaway

Copy link
Copy Markdown
Member

Follow-up of srcdslab/.github#5: the messages players and admins read were hard-coded English. They now go through a translation file with en, fr, ru, es, de, pt and chi.

Changes

  • 4 phrases (config reload replies and the "admins online/offline" line). Version 2.1.11.
  • Left in English: the "Admin" fallback group name (compared with the color config keys) and the Disconnected: %d AdminId fallback.

Checks

  • smtranslate check --languages en,fr,ru,es,de,pt,chi: 0 errors, 0 warnings.
  • Builds with spcomp 1.12 and the CI dependencies, no new warnings.

Move the hard-coded chat, reply, menu and HUD messages into a phrase file
with en, fr, ru, es, de, pt and chi (srcdslab/.github#5).

Co-Authored-By: WareZ57 <7504466+WareZ57@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings October 31, 2026 23:50

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@Rushaway
Rushaway merged commit 147c860 into master Nov 1, 2026
9 checks passed
@Rushaway
Rushaway deleted the feat/translations branch November 1, 2026 11:32
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.

2 participants