Skip to content

Commit

Permalink
Adds an introductory message to the user-facing ahelp chat window (sp…
Browse files Browse the repository at this point in the history
…ace-wizards#33348)

* Adds an introductory message to the user-facing ahelp chat window

* Update Resources/Locale/en-US/administration/bwoink.ftl

* Update Resources/Locale/en-US/administration/bwoink.ftl

---------

Co-authored-by: chromiumboy <[email protected]>
  • Loading branch information
deathride58 and chromiumboy authored Dec 9, 2024
1 parent 38c35d8 commit 5ab8e46
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -572,6 +572,10 @@ private void EnsureInit(bool relayActive)
_window.OnClose += () => { OnClose?.Invoke(); };
_window.OnOpen += () => { OnOpen?.Invoke(); };
_window.Contents.AddChild(_chatPanel);

var introText = Loc.GetString("bwoink-system-introductory-message");
var introMessage = new SharedBwoinkSystem.BwoinkTextMessage( _ownerId, SharedBwoinkSystem.SystemUserId, introText);
Receive(introMessage);
}

public void Dispose()
Expand Down
8 changes: 7 additions & 1 deletion Resources/Locale/en-US/administration/bwoink.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,15 @@ bwoink-user-title = Admin Message
bwoink-system-starmute-message-no-other-users = *System: Nobody is available to receive your message. Try pinging Game Admins on Discord.
bwoink-system-messages-being-relayed-to-discord =
Your messages are being relayed to the admins via Discord.
All messages are relayed to game administrators via Discord.
Issues may be handled without a response.
bwoink-system-introductory-message =
Please describe the issue that you have encountered in detail. Assume that the game administrator who is resolving the problem does not have first-hand knowledge of what has occurred.
Please do not ask for special events or punishments for other players.
Any bugs and other related issues should be reported through Discord or Github.
Misuse of this message system may result in disciplinary action.
bwoink-system-typing-indicator = {$players} {$count ->
[one] is
*[other] are
Expand Down

0 comments on commit 5ab8e46

Please sign in to comment.