From 582e6d2010730d675afc5a9df2ecff11f7160db5 Mon Sep 17 00:00:00 2001 From: chavonadelal <156101927+chavonadelal@users.noreply.github.com> Date: Fri, 26 Jul 2024 21:47:07 +0300 Subject: [PATCH] Localization of the title of the job (#30353) --- Content.Server/CharacterInfo/CharacterInfoSystem.cs | 2 +- .../character-info/components/character-info-component.ftl | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Content.Server/CharacterInfo/CharacterInfoSystem.cs b/Content.Server/CharacterInfo/CharacterInfoSystem.cs index 3099b2f90fc962..3d83a6670574df 100644 --- a/Content.Server/CharacterInfo/CharacterInfoSystem.cs +++ b/Content.Server/CharacterInfo/CharacterInfoSystem.cs @@ -31,7 +31,7 @@ private void OnRequestCharacterInfoEvent(RequestCharacterInfoEvent msg, EntitySe 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 07a0dd696a389c..b515c36c5a5795 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