Removed old Loc.GetString() use instances (#4155)
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using Content.Server.Chat.Managers;
|
||||
using Content.Server.Chat.Managers;
|
||||
using Content.Server.Roles;
|
||||
using Robust.Shared.IoC;
|
||||
using Robust.Shared.Localization;
|
||||
@@ -11,7 +11,7 @@ namespace Content.Server.Traitor
|
||||
{
|
||||
}
|
||||
|
||||
public override string Name => "Syndicate Agent";
|
||||
public override string Name => Loc.GetString("traitor-role-name");
|
||||
public override bool Antagonist => true;
|
||||
|
||||
public void GreetTraitor(string[] codewords)
|
||||
@@ -19,8 +19,8 @@ namespace Content.Server.Traitor
|
||||
if (Mind.TryGetSession(out var session))
|
||||
{
|
||||
var chatMgr = IoCManager.Resolve<IChatManager>();
|
||||
chatMgr.DispatchServerMessage(session, Loc.GetString("Hello Agent!"));
|
||||
chatMgr.DispatchServerMessage(session, Loc.GetString("Your codewords are: {0}", string.Join(", ",codewords)));
|
||||
chatMgr.DispatchServerMessage(session, Loc.GetString("traitor-role-greeting"));
|
||||
chatMgr.DispatchServerMessage(session, Loc.GetString("traitor-role-codewords", ("codewords", string.Join(", ",codewords))));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user