Skip to content

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

Open
Rushaway wants to merge 1 commit into
masterfrom
feat/translations
Open

Rushaway wants to merge 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

  • 15 phrases (friends/admins/VIP target replies); the plugin gets an OnPluginStart that loads them. Version 1.5.6 (fix(security): query the Steam Web API over HTTPS #40 makes the same bump: whichever is merged second needs 1.5.7).
  • The AddMultiTargetFilter descriptions stay English: other plugins look them up in their own phrase files.

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:49

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.

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