]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Localization of the title of the job (#30353)
authorchavonadelal <156101927+chavonadelal@users.noreply.github.com>
Fri, 26 Jul 2024 18:47:07 +0000 (21:47 +0300)
committerGitHub <noreply@github.com>
Fri, 26 Jul 2024 18:47:07 +0000 (14:47 -0400)
Content.Server/CharacterInfo/CharacterInfoSystem.cs
Resources/Locale/en-US/character-info/components/character-info-component.ftl

index 3099b2f90fc9622838f2b0b96c88522c69420080..3d83a6670574dfdf3616cf8f04a6a1822b9c443c 100644 (file)
@@ -31,7 +31,7 @@ public sealed class CharacterInfoSystem : EntitySystem
         var entity = args.SenderSession.AttachedEntity.Value;
 
         var objectives = new Dictionary<string, List<ObjectiveInfo>>();
-        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))
         {
index 07a0dd696a389cf0cb0a5f90555324ccbb2c1688..b515c36c5a5795fb1e35e02239f1a6aa5395ae03 100644 (file)
@@ -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