diff --git a/Content.Client/Lathe/UI/LatheMenu.cs b/Content.Client/Lathe/UI/LatheMenu.cs index c37aacb060..c76aba0168 100644 --- a/Content.Client/Lathe/UI/LatheMenu.cs +++ b/Content.Client/Lathe/UI/LatheMenu.cs @@ -39,7 +39,7 @@ namespace Content.Client.Lathe.UI Owner = owner; - Title = "Lathe Menu"; // TODO Replace this with the name of the lathe itself + Title = Loc.GetString("lathe-menu-title"); // TODO Replace this with the name of the lathe itself var vBox = new BoxContainer { @@ -58,21 +58,21 @@ namespace Content.Client.Lathe.UI QueueButton = new Button() { - Text = "Queue", + Text = Loc.GetString("lathe-menu-queue"), TextAlign = Label.AlignMode.Center, SizeFlagsStretchRatio = 1, }; ServerConnectButton = new Button() { - Text = "Server list", + Text = Loc.GetString("lathe-menu-server-list"), TextAlign = Label.AlignMode.Center, SizeFlagsStretchRatio = 1, }; ServerSyncButton = new Button() { - Text = "Sync", + Text = Loc.GetString("lathe-menu-sync"), TextAlign = Label.AlignMode.Center, SizeFlagsStretchRatio = 1, }; @@ -93,7 +93,7 @@ namespace Content.Client.Lathe.UI _searchBar = new LineEdit() { - PlaceHolder = "Search Designs", + PlaceHolder = Loc.GetString("lathe-menu-search-designs"), HorizontalExpand = true, SizeFlagsStretchRatio = 3 }; @@ -102,7 +102,7 @@ namespace Content.Client.Lathe.UI var filterButton = new Button() { - Text = "Filter", + Text = Loc.GetString("lathe-menu-search-filter"), TextAlign = Label.AlignMode.Center, SizeFlagsStretchRatio = 1, Disabled = true, @@ -127,7 +127,7 @@ namespace Content.Client.Lathe.UI _amountLineEdit = new LineEdit() { - PlaceHolder = "Amount", + PlaceHolder = Loc.GetString("lathe-menu-search-amount"), Text = "1", HorizontalExpand = true, }; diff --git a/Content.Client/Lathe/UI/LatheQueueMenu.cs b/Content.Client/Lathe/UI/LatheQueueMenu.cs index b30603c5f5..8976772798 100644 --- a/Content.Client/Lathe/UI/LatheQueueMenu.cs +++ b/Content.Client/Lathe/UI/LatheQueueMenu.cs @@ -23,7 +23,7 @@ namespace Content.Client.Lathe.UI { Owner = owner; SetSize = MinSize = (300, 450); - Title = Loc.GetString("lathequeue-menu-title"); + Title = Loc.GetString("lathe-queue-menu-title"); var vBox = new BoxContainer { @@ -97,7 +97,7 @@ namespace Content.Client.Lathe.UI { _icon.Texture = Texture.Transparent; _nameLabel.Text = "-------"; - _description.Text = Loc.GetString("lathequeue-menu-not-producing-text"); + _description.Text = Loc.GetString("lathe-queue-menu-not-producing-text"); } public void PopulateList() diff --git a/Content.Server/Ghost/Roles/Components/GhostRoleComponent.cs b/Content.Server/Ghost/Roles/Components/GhostRoleComponent.cs index e0ca0966c6..0ae16f1c69 100644 --- a/Content.Server/Ghost/Roles/Components/GhostRoleComponent.cs +++ b/Content.Server/Ghost/Roles/Components/GhostRoleComponent.cs @@ -31,7 +31,7 @@ namespace Content.Server.Ghost.Roles.Components [Access(typeof(GhostRoleSystem), Other = AccessPermissions.ReadWriteExecute)] // FIXME Friends public string RoleName { - get => _roleName; + get => Loc.GetString(_roleName); set { _roleName = value; @@ -43,7 +43,7 @@ namespace Content.Server.Ghost.Roles.Components [Access(typeof(GhostRoleSystem), Other = AccessPermissions.ReadWriteExecute)] // FIXME Friends public string RoleDescription { - get => _roleDescription; + get => Loc.GetString(_roleDescription); set { _roleDescription = value; diff --git a/Resources/Locale/en-US/ghost/roles/ghost-role-component.ftl b/Resources/Locale/en-US/ghost/roles/ghost-role-component.ftl index 48c63d85d8..eb38b0f298 100644 --- a/Resources/Locale/en-US/ghost/roles/ghost-role-component.ftl +++ b/Resources/Locale/en-US/ghost/roles/ghost-role-component.ftl @@ -3,3 +3,8 @@ ghost-role-component-default-rules = You don't remember any of your previous lif You are allowed to remember knowledge about the game in general, such as how to cook, how to use objects, etc. You are absolutely [color=red]NOT[/color] allowed to remember, say, the name, appearance, etc. of your previous character. +ghost-role-information-mouse-name = Mouse +ghost-role-information-mouse-description = A hungry and mischievous mouse. + +ghost-role-information-giant-spider-name = Giant spider +ghost-role-information-giant-spider-description = Wreak havoc on the station's inhabitants! diff --git a/Resources/Locale/en-US/lathe/ui/lathe-menu.ftl b/Resources/Locale/en-US/lathe/ui/lathe-menu.ftl new file mode 100644 index 0000000000..acf8bebe10 --- /dev/null +++ b/Resources/Locale/en-US/lathe/ui/lathe-menu.ftl @@ -0,0 +1,7 @@ +lathe-menu-title = Lathe Menu +lathe-menu-queue = Queue +lathe-menu-server-list = Server list +lathe-menu-sync = Sync +lathe-menu-search-designs = Search designs +lathe-menu-search-filter = Filter +lathe-menu-search-amount = Amount diff --git a/Resources/Locale/en-US/lathe/ui/lathe-queue-menu.ftl b/Resources/Locale/en-US/lathe/ui/lathe-queue-menu.ftl new file mode 100644 index 0000000000..978d6dc1ad --- /dev/null +++ b/Resources/Locale/en-US/lathe/ui/lathe-queue-menu.ftl @@ -0,0 +1,2 @@ +lathe-queue-menu-title = Lathe Queue +lathe-queue-menu-not-producing-text = Not producing anything. diff --git a/Resources/Locale/en-US/lathe/ui/lathequeue-menu.ftl b/Resources/Locale/en-US/lathe/ui/lathequeue-menu.ftl deleted file mode 100644 index 29f4c22941..0000000000 --- a/Resources/Locale/en-US/lathe/ui/lathequeue-menu.ftl +++ /dev/null @@ -1,2 +0,0 @@ -lathequeue-menu-title = Lathe Queue -lathequeue-menu-not-producing-text = Not producing anything. diff --git a/Resources/Prototypes/Entities/Mobs/NPCs/animals.yml b/Resources/Prototypes/Entities/Mobs/NPCs/animals.yml index 4da0da6c1f..68d6e0a9cc 100644 --- a/Resources/Prototypes/Entities/Mobs/NPCs/animals.yml +++ b/Resources/Prototypes/Entities/Mobs/NPCs/animals.yml @@ -746,8 +746,8 @@ components: - type: GhostTakeoverAvailable makeSentient: true - name: mouse - description: A hungry and mischievous mouse. + name: ghost-role-information-mouse-name + description: ghost-role-information-mouse-description - type: Speech speechSounds: Squeak - type: Sprite @@ -1326,8 +1326,8 @@ - UnarmedAttackHostiles - type: GhostTakeoverAvailable makeSentient: true - name: giant spider - description: Wreak havoc on the station's inhabitants! + name: ghost-role-information-giant-spider-name + description: ghost-role-information-giant-spider-description - type: entity name: possum