Skip to content

fix(translations): group target names - #70

Merged
Rushaway merged 4 commits into
masterfrom
fix/audit-followup
Nov 3, 2026
Merged

Rushaway merged 4 commits into
masterfrom
fix/audit-followup

Conversation

@Rushaway

@Rushaway Rushaway commented Nov 1, 2026 •

Copy link
Copy Markdown
Member

Part of #69. The code fixes are in #73, stacked on this PR: merge this one first.

Changes

  • "Sprayed Target Sprays" and "Removed Target Sprays" now declare the target as {1:t}. The code passes sTargetName when it is a phrase key, and "_s", sTargetName for a plain player name. No phrase added.

Checks

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

Rushaway and others added 2 commits November 1, 2026 00:55
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>
Translation audit follow-up (srcdslab/.github#6).

Co-Authored-By: WareZ57 <7504466+WareZ57@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings November 1, 2026 10:24

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.

🟢 Approval recommended

The review did not surface a concern that needs action before approval.

No open issues 🎉

What changed in this PR

Addresses #69 on top of translation PR #68 by localizing group target names and restoring crosshair-based spray banning.

Changes:

  • Uses nested translations for group targets while preserving plain player names.
  • Enables argument-free sm_banspray for in-game admins, retaining the console usage check.
  • Removes duplicate ban logging and bumps the plugin version to 3.2.15.
File Description
addons/​sourcemod/​translations/​SprayManager.phrases.txt Updated as part of this pull request.
addons/​sourcemod/​scripting/​SprayManager.sp Updated as part of this pull request.
addons/​sourcemod/​scripting/​modules/​module_commands.inc Updated as part of this pull request.

Review effort: Balanced

Base automatically changed from feat/translations to master November 1, 2026 11:39
@Rushaway Rushaway changed the title fix: group target names and the sm_banspray crosshair trace fix(translations): group target names Nov 3, 2026
@Rushaway
Rushaway merged commit 2b86d6a into master Nov 3, 2026
8 checks passed
@Rushaway
Rushaway deleted the fix/audit-followup branch November 3, 2026 20:25
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