From: chavonadelal <156101927+chavonadelal@users.noreply.github.com> Date: Fri, 26 Jul 2024 18:47:07 +0000 (+0300) Subject: Localization of the title of the job (#30353) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=582e6d2010730d675afc5a9df2ecff11f7160db5;p=space-station-14.git Localization of the title of the job (#30353) --- diff --git a/Content.Server/CharacterInfo/CharacterInfoSystem.cs b/Content.Server/CharacterInfo/CharacterInfoSystem.cs index 3099b2f90f..3d83a66705 100644 --- a/Content.Server/CharacterInfo/CharacterInfoSystem.cs +++ b/Content.Server/CharacterInfo/CharacterInfoSystem.cs @@ -31,7 +31,7 @@ public sealed class CharacterInfoSystem : EntitySystem var entity = args.SenderSession.AttachedEntity.Value; var objectives = new Dictionary>(); - var jobTitle = "No Profession"; + var jobTitle = Loc.GetString("character-info-no-profession"); string? briefing = null; if (_minds.TryGetMind(entity, out var mindId, out var mind)) { diff --git a/Resources/Locale/en-US/character-info/components/character-info-component.ftl b/Resources/Locale/en-US/character-info/components/character-info-component.ftl index 07a0dd696a..b515c36c5a 100644 --- a/Resources/Locale/en-US/character-info/components/character-info-component.ftl +++ b/Resources/Locale/en-US/character-info/components/character-info-component.ftl @@ -1,3 +1,4 @@ character-info-title = Character character-info-roles-antagonist-text = Antagonist Roles character-info-objectives-label = Objectives +character-info-no-profession = No Profession