Localize jobs (#8968)
* Localize job supervisors * Rename supervisors file * Localize job names * Remove localization for fallback job name * Use LocalizedName for Job * Fix job names case
This commit is contained in:
@@ -23,7 +23,7 @@ namespace Content.Server.Roles
|
||||
public Job(Mind.Mind mind, JobPrototype jobPrototype) : base(mind)
|
||||
{
|
||||
Prototype = jobPrototype;
|
||||
Name = jobPrototype.Name;
|
||||
Name = jobPrototype.LocalizedName;
|
||||
CanBeAntag = jobPrototype.CanBeAntag;
|
||||
}
|
||||
|
||||
@@ -40,7 +40,7 @@ namespace Content.Server.Roles
|
||||
if(Prototype.RequireAdminNotify)
|
||||
chatMgr.DispatchServerMessage(session, Loc.GetString("job-greet-important-disconnect-admin-notify"));
|
||||
|
||||
chatMgr.DispatchServerMessage(session, Loc.GetString("job-greet-supervisors-warning", ("jobName", Name), ("supervisors", Prototype.Supervisors)));
|
||||
chatMgr.DispatchServerMessage(session, Loc.GetString("job-greet-supervisors-warning", ("jobName", Name), ("supervisors", Loc.GetString(Prototype.Supervisors))));
|
||||
|
||||
if(Prototype.JoinNotifyCrew && Mind.CharacterName != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user