From b48ac8439d84e77e0bb82a0a59b5abefbd3535dc Mon Sep 17 00:00:00 2001 From: to4no_fix <156101927+chavonadelal@users.noreply.github.com> Date: Thu, 15 Aug 2024 03:06:32 +0300 Subject: [PATCH] Localization of the slot (#31008) localization of the slot --- Content.Client/Humanoid/SingleMarkingPicker.xaml.cs | 2 +- Resources/Locale/en-US/preferences/ui/markings-picker.ftl | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Content.Client/Humanoid/SingleMarkingPicker.xaml.cs b/Content.Client/Humanoid/SingleMarkingPicker.xaml.cs index be3130a58b..093bfdcf41 100644 --- a/Content.Client/Humanoid/SingleMarkingPicker.xaml.cs +++ b/Content.Client/Humanoid/SingleMarkingPicker.xaml.cs @@ -283,7 +283,7 @@ public sealed partial class SingleMarkingPicker : BoxContainer for (var i = 0; i < PointsUsed; i++) { - SlotSelector.AddItem($"Slot {i + 1}", i); + SlotSelector.AddItem(Loc.GetString("marking-slot", ("number", $"{i + 1}")), i); if (i == _slot) { diff --git a/Resources/Locale/en-US/preferences/ui/markings-picker.ftl b/Resources/Locale/en-US/preferences/ui/markings-picker.ftl index ae7f401a4b..0e192c1294 100644 --- a/Resources/Locale/en-US/preferences/ui/markings-picker.ftl +++ b/Resources/Locale/en-US/preferences/ui/markings-picker.ftl @@ -10,6 +10,7 @@ marking-used = {$marking-name} marking-used-forced = {$marking-name} (Forced) marking-slot-add = Add marking-slot-remove = Remove +marking-slot = Slot {$number} # Categories