Skip to content

fix(translations): load Swedish, fix phrase typo and add missing translations - #46

Merged
Rushaway merged 3 commits into
masterfrom
fix/translations
Sep 30, 2026
Merged

Rushaway merged 3 commits into
masterfrom
fix/translations

Conversation

@Rushaway

Copy link
Copy Markdown
Member

Closes #45

Fixes

  • Swedish was never loaded: sv/lilac.phrases.txt used the "se" key, which isn't a SourceMod language id. The 19 keys are now "sv".
  • Chinese kick_ban_generic was never used: chi/ and zho/ defined kick_ban_genetic (typo).
  • French ban_noisemaker read "Spam deGénérateur de bruit infini détecté"; it's now "Générateur de bruit infini détecté".
  • Remove #format from the language files. It's already defined in the English file, which SourceMod uses for format parameters.

Missing translations

Add the 74 translations that were missing in some language files: ban_nolerp, ban_noisemaker, ban_macro, kick_macro, chat_invalid_characters, chat_wide_char_spam, kick_bad_name, ban_name_newline, admin_chat_warning_generic. The new strings follow each file's existing tone (e.g. formal German), but they were machine-translated, so a review by native speakers is welcome.

Checked with smtranslate: 0 errors, 0 warnings.

🤖 Generated with Claude Code

…slations

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings September 29, 2026 22:13

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 reached their quota limit.

@Rushaway
Rushaway merged commit 97b40dd into master Sep 30, 2026
8 checks passed
@Rushaway
Rushaway deleted the fix/translations branch September 30, 2026 09:27
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.

Translation issues: Swedish never loaded, typo in a Chinese phrase name

2 participants