]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Localization of the slot (#31008)
authorto4no_fix <156101927+chavonadelal@users.noreply.github.com>
Thu, 15 Aug 2024 00:06:32 +0000 (03:06 +0300)
committerGitHub <noreply@github.com>
Thu, 15 Aug 2024 00:06:32 +0000 (20:06 -0400)
localization of the slot

Content.Client/Humanoid/SingleMarkingPicker.xaml.cs
Resources/Locale/en-US/preferences/ui/markings-picker.ftl

index be3130a58bdbc4c2970cc3dfcb27dcf1c8b225f4..093bfdcf4136678906d53da206522ac8f82269d0 100644 (file)
@@ -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)
             {
index ae7f401a4bacff747c8b4c2a82ed83251ddd23c0..0e192c1294f68409ad952d85f91984d82aa58ff1 100644 (file)
@@ -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