Repository navigation
Conversation
Translation audit from srcdslab/.github#5, reviewed and completed. Co-Authored-By: WareZ57 <7504466+WareZ57@users.noreply.github.com>
…e use of the commands Translation audit follow-up (srcdslab/.github#6). Co-Authored-By: WareZ57 <7504466+WareZ57@users.noreply.github.com>
Member
Author
|
Split into one PR per scope, each based on master (most of the translation work already landed with #107):
Each one bumps the patch version (8.1.1 to 8.1.6, in this order), so after each merge the next one needs its |
This was referenced Nov 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #109.
Stacked on #107, this plugin's translation PR: merge #107 first. GitHub then retargets this PR to
master; refresh it by mergingmaster(overlapping lines: keep this branch's side).Changes
allchat.phrases.txt: 131 phrases added in en, fr, ru, es, de, pt and chi, after the existing chat format phrases (kept byte for byte). The SourceMod phrases "Exit", "Player no longer available" and "Command is in-game only" are reused.%Twith the viewing player; thesm_msaypanel is built per player for its "Exit" item. All usage lines share one "Usage: {1}" phrase, the command syntax stays untranslated. Enabled/disabled texts and admin chat labels use one phrase per case.PrintToChatOrReply()helper: chat for players, command reply for the server console. Used by the tag and color set functions, so thesm_force*commands work from the console and rcon.sm_pstatusreplies withCReplyToCommand, and the in-game-only commands reply withReplyToCommandinstead ofPrintToServer.SetColor()fails, so no false "Successfully set" message.sm_cccimportreplacefiledeletes theKeyValueshandle when the file is missing.client ? GetClientUserId(client) : 0likesm_cccimportreplacefile, andsm_cccbanstores the issuer name with%N("Console" for the server). The requests and callbacks treat userid 0 as the server console: they only drop a request when a real player left, the console uses retry slot 0, whichSQL_BeginRequest()now resets, and the "replace list full" and "import failed" messages go to the server console.CPrintToChat. The unban, reset and force tag/color menus open the admin menu only once.Not changed
addons/sourcemod/scripting/CustomChatColors.sp:3936and:4083("congrats you broke it"): unreachable fallback of the menu handlers, every item is handled above. Left as is.Checks
smtranslate check --languages en,fr,ru,es,de,pt,chi: 0 errors, 0 warnings.