Attempt to fix all unlocalized lines (#40284)

* missing-localization

* cmd

* fix: fixed patron page throwing exception due to unexpected patron tier in yaml

* Revert "fix: fixed patron page throwing exception due to unexpected patron tier in yaml"

This reverts commit 28458c78b1f2eed30fda898ec26059b27f1766f1.

* review and update

* no cmd

* fix

* fix 99

---------

Co-authored-by: pa.pecherskij <pa.pecherskij@interfax.ru>
This commit is contained in:
Pok
2025-10-11 00:57:38 +03:00
committed by GitHub
parent 9ae4068432
commit dca80238f0
29 changed files with 188 additions and 104 deletions

View File

@@ -226,7 +226,7 @@ public sealed partial class BanPanel : DefaultWindow
var roleGroupCheckbox = new Button
{
Name = $"{groupName}GroupCheckbox",
Text = "Ban all",
Text = Loc.GetString("role-bans-ban-group"),
Margin = new Thickness(0, 0, 5, 0),
ToggleMode = true,
};
@@ -391,7 +391,7 @@ public sealed partial class BanPanel : DefaultWindow
TimeLine.Text = args.Text;
if (!double.TryParse(args.Text, out var result))
{
ExpiresLabel.Text = "err";
ExpiresLabel.Text = Loc.GetString("ban-panel-expiry-error");
ErrorLevel |= ErrorLevelEnum.Minutes;
TimeLine.ModulateSelfOverride = Color.Red;
UpdateSubmitEnabled();

View File

@@ -166,7 +166,7 @@ public sealed class AdminLogsEui : BaseEui
ClydeWindow = _clyde.CreateWindow(new WindowCreateParameters
{
Maximized = false,
Title = "Admin Logs",
Title = Loc.GetString("admin-logs-title"),
Monitor = monitor,
Width = 1100,
Height = 400

View File

@@ -100,11 +100,11 @@ public sealed partial class CreditsWindow : DefaultWindow
var container = new BoxContainer { Orientation = LayoutOrientation.Horizontal };
var previousPageButton = new Button { Text = "Previous Page" };
var previousPageButton = new Button { Text = Loc.GetString("credits-window-previous-page-button") };
previousPageButton.OnPressed +=
_ => PopulateAttributions(attributionsContainer, count - AttributionsSourcesPerPage);
var nextPageButton = new Button { Text = "Next Page" };
var nextPageButton = new Button { Text = Loc.GetString("credits-window-next-page-button") };
nextPageButton.OnPressed +=
_ => PopulateAttributions(attributionsContainer, count + AttributionsSourcesPerPage);

View File

@@ -58,7 +58,7 @@
StyleClasses="LabelBig" />
<BoxContainer Orientation="Horizontal"
Margin="0 0 0 5">
<Label Text="{Loc 'crew-monitoring-user-interface-job'}"
<Label Text="{Loc 'crew-monitoring-ui-job-label'}"
FontColorOverride="DarkGray" />
<TextureRect Name="PersonJobIcon"
TextureScale="2 2"

View File

@@ -4,11 +4,11 @@
<BoxContainer Orientation="Vertical" HorizontalExpand="True">
<humanoid:MarkingPicker Name="MarkingPickerWidget" />
<BoxContainer>
<CheckBox Name="MarkingForced" Text="Force" Pressed="True" />
<CheckBox Name="MarkingIgnoreSpecies" Text="Ignore Species" Pressed="True" />
<CheckBox Name="MarkingForced" Text="{Loc humanoid-marking-modifier-force}" Pressed="True" />
<CheckBox Name="MarkingIgnoreSpecies" Text="{Loc humanoid-marking-modifier-ignore-species}" Pressed="True" />
</BoxContainer>
<Collapsible HorizontalExpand="True">
<CollapsibleHeading Title="Base layers" />
<CollapsibleHeading Title="{Loc humanoid-marking-modifier-base-layers}" />
<CollapsibleBody HorizontalExpand="True">
<BoxContainer Name="BaseLayersContainer" Orientation="Vertical" HorizontalExpand="True" />
</CollapsibleBody>

View File

@@ -118,7 +118,7 @@ public sealed partial class HumanoidMarkingModifierWindow : DefaultWindow
});
_enable = new CheckBox
{
Text = "Enable",
Text = Loc.GetString("humanoid-marking-modifier-enable"),
HorizontalAlignment = HAlignment.Right
};
@@ -134,8 +134,8 @@ public sealed partial class HumanoidMarkingModifierWindow : DefaultWindow
OnStateChanged!();
};
var lineEditBox = new BoxContainer();
lineEditBox.AddChild(new Label { Text = "Prototype id: "});
var lineEditBox = new BoxContainer { SeparationOverride = 4 };
lineEditBox.AddChild(new Label { Text = Loc.GetString("humanoid-marking-modifier-prototype-id") });
// TODO: This line edit should really be an options / dropdown selector, not text.
_lineEdit = new() { MinWidth = 200 };

View File

@@ -62,7 +62,7 @@ public sealed partial class CrewMonitoringNavMapControl : NavMapControl
continue;
if (!LocalizedNames.TryGetValue(netEntity, out var name))
name = "Unknown";
name = Loc.GetString("navmap-unknown-entity");
var message = name + "\n" + Loc.GetString("navmap-location",
("x", MathF.Round(blip.Coordinates.X)),

View File

@@ -1,7 +1,7 @@
<controls:FancyWindow xmlns="https://spacestation14.io"
xmlns:ui="clr-namespace:Content.Client.Medical.CrewMonitoring"
xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls"
Title="{Loc 'crew-monitoring-user-interface-title'}"
Title="{Loc crew-monitoring-ui-title}"
Resizable="False"
SetSize="1210 700"
MinSize="1210 700">
@@ -11,12 +11,12 @@
<BoxContainer Orientation="Vertical" Margin="0 0 10 0">
<controls:StripeBack>
<PanelContainer>
<Label Name="StationName" Text="Unknown station" Align="Center" Margin="0 5 0 3"/>
<Label Name="StationName" Text="{Loc crew-monitoring-ui-no-station-label}" Align="Center" Margin="0 5 0 3"/>
</PanelContainer>
</controls:StripeBack>
<LineEdit Name="SearchLineEdit" HorizontalExpand="True"
PlaceHolder="{Loc crew-monitor-filter-line-placeholder}" />
PlaceHolder="{Loc crew-monitoring-ui-filter-line-placeholder}" />
<ScrollContainer Name="SensorScroller"
VerticalExpand="True"
@@ -29,7 +29,7 @@
<!-- Table rows are filled by code -->
</BoxContainer>
<Label Name="NoServerLabel"
Text="{Loc 'crew-monitoring-user-interface-no-server'}"
Text="{Loc crew-monitoring-ui-no-server-label}"
StyleClasses="LabelHeading"
FontColorOverride="Red"
HorizontalAlignment="Center"
@@ -42,8 +42,8 @@
<BoxContainer Orientation="Vertical">
<PanelContainer StyleClasses="LowDivider" />
<BoxContainer Orientation="Horizontal" Margin="10 2 5 0" VerticalAlignment="Bottom">
<Label Text="{Loc 'crew-monitoring-user-interface-flavor-left'}" StyleClasses="WindowFooterText" />
<Label Text="{Loc 'crew-monitoring-user-interface-flavor-right'}" StyleClasses="WindowFooterText"
<Label Text="{Loc crew-monitoring-ui-flavor-left-label}" StyleClasses="WindowFooterText" />
<Label Text="{Loc crew-monitoring-ui-flavor-right-label}" StyleClasses="WindowFooterText"
HorizontalAlignment="Right" HorizontalExpand="True" Margin="0 0 5 0" />
<TextureRect StyleClasses="NTLogoDark" Stretch="KeepAspectCentered"
VerticalAlignment="Center" HorizontalAlignment="Right" SetSize="19 19"/>

View File

@@ -155,7 +155,7 @@ public sealed partial class CrewMonitoringWindow : FancyWindow
HorizontalExpand = true,
};
deparmentLabel.SetMessage(Loc.GetString("crew-monitoring-user-interface-no-department"));
deparmentLabel.SetMessage(Loc.GetString("crew-monitoring-ui-no-department-label"));
deparmentLabel.StyleClasses.Add(StyleNano.StyleClassTooltipActionDescription);
SensorsTable.AddChild(deparmentLabel);

View File

@@ -1,24 +1,24 @@
<controls:FancyWindow xmlns="https://spacestation14.io"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls"
Title="NPC debug"
Title="{Loc npc-debug-overlay-window-title}"
MinSize="200 200">
<BoxContainer Name="Options" Orientation="Vertical" Margin="8 8">
<controls:StripeBack>
<Label Text="NPC" HorizontalAlignment="Center"/>
<Label Text="{Loc npc-debug-overlay-window-section-npc-label}" HorizontalAlignment="Center"/>
</controls:StripeBack>
<BoxContainer Name="NPCBox" Orientation="Vertical">
<CheckBox Name="NPCThonk" Text="Thonk"/>
<CheckBox Name="NPCThonk" Text="{Loc npc-debug-overlay-window-show-htn-tree-checkbox}"/>
</BoxContainer>
<controls:StripeBack>
<Label Text="Pathfinder" HorizontalAlignment="Center"/>
<Label Text="{Loc npc-debug-overlay-window-section-pathfinder-label}" HorizontalAlignment="Center"/>
</controls:StripeBack>
<BoxContainer Name="PathfinderBox" Orientation="Vertical">
<CheckBox Name="PathCrumbs" Text="Breadcrumbs"/>
<CheckBox Name="PathPolys" Text="Polygons"/>
<CheckBox Name="PathNeighbors" Text="Neighbors"/>
<CheckBox Name="PathRouteCosts" Text="Route costs"/>
<CheckBox Name="PathRoutes" Text="Routes"/>
<CheckBox Name="PathCrumbs" Text="{Loc npc-debug-overlay-window-path-breadcrumbs-checkbox}"/>
<CheckBox Name="PathPolys" Text="{Loc npc-debug-overlay-window-path-polygons-checkbox}"/>
<CheckBox Name="PathNeighbors" Text="{Loc npc-debug-overlay-window-path-neighbors-checkbox}"/>
<CheckBox Name="PathRouteCosts" Text="{Loc npc-debug-overlay-window-path-route-costs-checkbox}"/>
<CheckBox Name="PathRoutes" Text="{Loc npc-debug-overlay-window-path-routes-checkbox}"/>
</BoxContainer>
</BoxContainer>
</controls:FancyWindow>

View File

@@ -9,7 +9,7 @@
<!-- Station name -->
<controls:StripeBack>
<PanelContainer>
<Label Name="StationName" Text="Unknown station" StyleClasses="LabelBig" Align="Center"/>
<Label Name="StationName" Text="{Loc 'station-map-unknown-station'}" StyleClasses="LabelBig" Align="Center"/>
</PanelContainer>
</controls:StripeBack>

View File

@@ -11,7 +11,7 @@ public sealed class StatValuesEui : BaseEui
public StatValuesEui()
{
_window = new StatsWindow();
_window.Title = "Melee stats";
_window.Title = Loc.GetString("stat-values-ui-title");
_window.OpenCentered();
_window.OnClose += Closed;
}

View File

@@ -232,7 +232,7 @@ public sealed class AHelpUIController: UIController, IOnSystemChanged<BwoinkSyst
helper.ClydeWindow = _clyde.CreateWindow(new WindowCreateParameters
{
Maximized = false,
Title = "Admin Help",
Title = Loc.GetString("bwoink-admin-title"),
Monitor = monitor,
Width = 900,
Height = 500

View File

@@ -1,47 +1,47 @@
<DefaultWindow Title="{Loc Make Ghost Role}"
<DefaultWindow Title="{Loc make-ghost-roles-window-title}"
xmlns="https://spacestation14.io">
<BoxContainer Orientation="Vertical">
<BoxContainer Orientation="Horizontal">
<Label Name="RoleEntityLabel" Text="Entity" />
<Label Name="RoleEntityLabel" Text="{Loc make-ghost-roles-window-entity-label}" />
<Label Name="RoleEntity" Text="" />
</BoxContainer>
<BoxContainer Orientation="Horizontal">
<Label Name="RoleNameLabel" Text="Role Name" />
<Label Name="RoleNameLabel" Text="{Loc make-ghost-roles-window-role-name-label}" />
<LineEdit Name="RoleName" HorizontalExpand="True" />
</BoxContainer>
<BoxContainer Orientation="Horizontal">
<Label Name="RoleDescriptionLabel" Text="Role Description" />
<Label Name="RoleDescriptionLabel" Text="{Loc make-ghost-roles-window-role-description-label}" />
<LineEdit Name="RoleDescription" HorizontalExpand="True" />
</BoxContainer>
<BoxContainer Orientation="Horizontal">
<Label Name="RoleRulesLabel" Text="Role Rules" />
<Label Name="RoleRulesLabel" Text="{Loc make-ghost-roles-window-role-rules-label}" />
<LineEdit Name="RoleRules" HorizontalExpand="True" Text="{Loc ghost-role-component-default-rules}" />
</BoxContainer>
<BoxContainer Orientation="Horizontal">
<Label Name="MakeSentientLabel" Text="Make Sentient" />
<Label Name="MakeSentientLabel" Text="{Loc make-ghost-roles-window-make-sentient-label}" />
<CheckBox Name="MakeSentientCheckbox" />
</BoxContainer>
<BoxContainer Orientation="Horizontal">
<Label Name="RaffleLabel" Text="Raffle Role?" />
<Label Name="RaffleLabel" Text="{Loc make-ghost-roles-window-raffle-role-label}" />
<OptionButton Name="RaffleButton" />
</BoxContainer>
<BoxContainer Name="RaffleCustomSettingsContainer" Orientation="Vertical" Visible="False">
<BoxContainer Orientation="Horizontal">
<Label Name="RaffleInitialDurationLabel" Text="Initial Duration (s)" />
<Label Name="RaffleInitialDurationLabel" Text="{Loc make-ghost-roles-window-initial-duration-label}" />
<SpinBox Name="RaffleInitialDuration" HorizontalExpand="True" />
</BoxContainer>
<BoxContainer Orientation="Horizontal">
<Label Name="RaffleJoinExtendsDurationByLabel" Text="Joins Extend By (s)" />
<Label Name="RaffleJoinExtendsDurationByLabel" Text="{Loc make-ghost-roles-window-join-extends-by-label}" />
<SpinBox Name="RaffleJoinExtendsDurationBy" HorizontalExpand="True" />
</BoxContainer>
<BoxContainer Orientation="Horizontal">
<Label Name="RaffleMaxDurationLabel" Text="Max Duration (s)" />
<Label Name="RaffleMaxDurationLabel" Text="{Loc make-ghost-roles-window-max-duration-label}" />
<SpinBox Name="RaffleMaxDuration" HorizontalExpand="True" />
</BoxContainer>
</BoxContainer>
<BoxContainer Orientation="Horizontal">
<Button Name="MakeButton" Text="Make" />
<Button Name="MakeButton" Text="{Loc make-ghost-roles-window-make-button}" />
</BoxContainer>
</BoxContainer>

View File

@@ -62,8 +62,8 @@ namespace Content.Client.UserInterface.Systems.Ghost.Controls.Roles
RaffleMaxDuration.ValueChanged += OnRaffleDurationChanged;
RaffleButton.AddItem("Don't raffle", RaffleDontRaffleId);
RaffleButton.AddItem("Custom settings", RaffleCustomRaffleId);
RaffleButton.AddItem(Loc.GetString("make-ghost-roles-window-raffle-not-button"), RaffleDontRaffleId);
RaffleButton.AddItem(Loc.GetString("make-ghost-roles-window-raffle-custom-settings-button"), RaffleCustomRaffleId);
var raffleProtos =
_prototypeManager.EnumeratePrototypes<GhostRoleRaffleSettingsPrototype>();
@@ -74,7 +74,7 @@ namespace Content.Client.UserInterface.Systems.Ghost.Controls.Roles
_rafflePrototypes.Add(raffleProto);
var s = raffleProto.Settings;
var label =
$"{raffleProto.ID} (initial {s.InitialDuration}s, max {s.MaxDuration}s, join adds {s.JoinExtendsDurationBy}s)";
Loc.GetString("make-ghost-roles-window-raffle-settings-label", ("id", raffleProto.ID), ("initialDuration", s.InitialDuration), ("maxDuration", s.MaxDuration), ("joinExtendsDurationBy", s.JoinExtendsDurationBy));
RaffleButton.AddItem(label, idx++);
}
@@ -92,7 +92,7 @@ namespace Content.Client.UserInterface.Systems.Ghost.Controls.Roles
if (RaffleInitialDuration.Value > RaffleMaxDuration.Value)
{
MakeButton.Disabled = true;
MakeButton.ToolTip = "The initial duration must not exceed the maximum duration.";
MakeButton.ToolTip = Loc.GetString("make-ghost-roles-window-raffle-warning-tooltip");
}
else
{

View File

@@ -111,7 +111,7 @@ public sealed class StorageWindow : BaseWindow
HorizontalExpand = true,
Name = "StorageLabel",
ClipText = true,
Text = "Dummy",
Text = Loc.GetString("comp-storage-window-dummy"),
StyleClasses =
{
"FancyWindowTitle",

View File

@@ -69,7 +69,7 @@ public sealed partial class AdminVerbSystem
{
Verb bolt = new()
{
Text = bolts.BoltsDown ? "Unbolt" : "Bolt",
Text = Loc.GetString(bolts.BoltsDown ? "admin-verbs-unbolt" : "admin-verbs-bolt"),
Category = VerbCategory.Tricks,
Icon = bolts.BoltsDown
? new SpriteSpecifier.Texture(new("/Textures/Interface/AdminActions/unbolt.png"))
@@ -91,7 +91,7 @@ public sealed partial class AdminVerbSystem
{
Verb emergencyAccess = new()
{
Text = airlockComp.EmergencyAccess ? "Emergency Access Off" : "Emergency Access On",
Text = Loc.GetString(airlockComp.EmergencyAccess ? "admin-verbs-emergency-access-off" : "admin-verbs-emergency-access-on"),
Category = VerbCategory.Tricks,
Icon = new SpriteSpecifier.Texture(new("/Textures/Interface/AdminActions/emergency_access.png")),
Act = () =>
@@ -111,7 +111,7 @@ public sealed partial class AdminVerbSystem
{
Verb rejuvenate = new()
{
Text = "Rejuvenate",
Text = Loc.GetString("admin-verbs-rejuvenate"),
Category = VerbCategory.Tricks,
Icon = new SpriteSpecifier.Texture(new("/Textures/Interface/AdminActions/rejuvenate.png")),
Act = () =>
@@ -129,7 +129,7 @@ public sealed partial class AdminVerbSystem
{
Verb makeIndestructible = new()
{
Text = "Make Indestructible",
Text = Loc.GetString("admin-verbs-make-indestructible"),
Category = VerbCategory.Tricks,
Icon = new SpriteSpecifier.Texture(new("/Textures/Interface/VerbIcons/plus.svg.192dpi.png")),
Act = () =>
@@ -146,7 +146,7 @@ public sealed partial class AdminVerbSystem
{
Verb makeVulnerable = new()
{
Text = "Make Vulnerable",
Text = Loc.GetString("admin-verbs-make-vulnerable"),
Category = VerbCategory.Tricks,
Icon = new SpriteSpecifier.Texture(new("/Textures/Interface/VerbIcons/plus.svg.192dpi.png")),
Act = () =>
@@ -164,7 +164,7 @@ public sealed partial class AdminVerbSystem
{
Verb refillBattery = new()
{
Text = "Refill Battery",
Text = Loc.GetString("admin-verbs-refill-battery"),
Category = VerbCategory.Tricks,
Icon = new SpriteSpecifier.Texture(new("/Textures/Interface/AdminActions/fill_battery.png")),
Act = () =>
@@ -179,7 +179,7 @@ public sealed partial class AdminVerbSystem
Verb drainBattery = new()
{
Text = "Drain Battery",
Text = Loc.GetString("admin-verbs-drain-battery"),
Category = VerbCategory.Tricks,
Icon = new SpriteSpecifier.Texture(new("/Textures/Interface/AdminActions/drain_battery.png")),
Act = () =>
@@ -194,7 +194,7 @@ public sealed partial class AdminVerbSystem
Verb infiniteBattery = new()
{
Text = "Infinite Battery",
Text = Loc.GetString("admin-verbs-infinite-battery"),
Category = VerbCategory.Tricks,
Icon = new SpriteSpecifier.Texture(new("/Textures/Interface/AdminActions/infinite_battery.png")),
Act = () =>
@@ -215,7 +215,7 @@ public sealed partial class AdminVerbSystem
{
Verb blockUnanchor = new()
{
Text = "Block Unanchoring",
Text = Loc.GetString("admin-verbs-block-unanchoring"),
Category = VerbCategory.Tricks,
Icon = new SpriteSpecifier.Texture(new("/Textures/Interface/VerbIcons/anchor.svg.192dpi.png")),
Act = () =>
@@ -233,7 +233,7 @@ public sealed partial class AdminVerbSystem
{
Verb refillInternalsO2 = new()
{
Text = "Refill Internals Oxygen",
Text = Loc.GetString("admin-verbs-refill-internals-oxygen"),
Category = VerbCategory.Tricks,
Icon = new SpriteSpecifier.Rsi(new("/Textures/Objects/Tanks/oxygen.rsi"), "icon"),
Act = () =>
@@ -248,7 +248,7 @@ public sealed partial class AdminVerbSystem
Verb refillInternalsN2 = new()
{
Text = "Refill Internals Nitrogen",
Text = Loc.GetString("admin-verbs-refill-internals-nitrogen"),
Category = VerbCategory.Tricks,
Icon = new SpriteSpecifier.Rsi(new("/Textures/Objects/Tanks/red.rsi"), "icon"),
Act = () =>
@@ -263,7 +263,7 @@ public sealed partial class AdminVerbSystem
Verb refillInternalsPlasma = new()
{
Text = "Refill Internals Plasma",
Text = Loc.GetString("admin-verbs-refill-internals-plasma"),
Category = VerbCategory.Tricks,
Icon = new SpriteSpecifier.Rsi(new("/Textures/Objects/Tanks/plasma.rsi"), "icon"),
Act = () =>
@@ -281,7 +281,7 @@ public sealed partial class AdminVerbSystem
{
Verb refillInternalsO2 = new()
{
Text = "Refill Internals Oxygen",
Text = Loc.GetString("admin-verbs-refill-internals-oxygen"),
Category = VerbCategory.Tricks,
Icon = new SpriteSpecifier.Rsi(new("/Textures/Objects/Tanks/oxygen.rsi"), "icon"),
Act = () => RefillEquippedTanks(args.User, Gas.Oxygen),
@@ -293,7 +293,7 @@ public sealed partial class AdminVerbSystem
Verb refillInternalsN2 = new()
{
Text = "Refill Internals Nitrogen",
Text = Loc.GetString("admin-verbs-refill-internals-nitrogen"),
Category = VerbCategory.Tricks,
Icon = new SpriteSpecifier.Rsi(new("/Textures/Objects/Tanks/red.rsi"), "icon"),
Act = () => RefillEquippedTanks(args.User, Gas.Nitrogen),
@@ -305,7 +305,7 @@ public sealed partial class AdminVerbSystem
Verb refillInternalsPlasma = new()
{
Text = "Refill Internals Plasma",
Text = Loc.GetString("admin-verbs-refill-internals-plasma"),
Category = VerbCategory.Tricks,
Icon = new SpriteSpecifier.Rsi(new("/Textures/Objects/Tanks/plasma.rsi"), "icon"),
Act = () => RefillEquippedTanks(args.User, Gas.Plasma),
@@ -318,7 +318,7 @@ public sealed partial class AdminVerbSystem
Verb sendToTestArena = new()
{
Text = "Send to test arena",
Text = Loc.GetString("admin-verbs-send-to-test-arena"),
Category = VerbCategory.Tricks,
Icon = new SpriteSpecifier.Texture(new("/Textures/Interface/VerbIcons/eject.svg.192dpi.png")),
@@ -339,7 +339,7 @@ public sealed partial class AdminVerbSystem
{
Verb grantAllAccess = new()
{
Text = "Grant All Access",
Text = Loc.GetString("admin-verbs-grant-all-access"),
Category = VerbCategory.Tricks,
Icon = new SpriteSpecifier.Rsi(new("/Textures/Objects/Misc/id_cards.rsi"), "centcom"),
Act = () =>
@@ -354,7 +354,7 @@ public sealed partial class AdminVerbSystem
Verb revokeAllAccess = new()
{
Text = "Revoke All Access",
Text = Loc.GetString("admin-verbs-revoke-all-access"),
Category = VerbCategory.Tricks,
Icon = new SpriteSpecifier.Rsi(new("/Textures/Objects/Misc/id_cards.rsi"), "default"),
Act = () =>
@@ -372,7 +372,7 @@ public sealed partial class AdminVerbSystem
{
Verb grantAllAccess = new()
{
Text = "Grant All Access",
Text = Loc.GetString("admin-verbs-grant-all-access"),
Category = VerbCategory.Tricks,
Icon = new SpriteSpecifier.Rsi(new("/Textures/Objects/Misc/id_cards.rsi"), "centcom"),
Act = () =>
@@ -387,7 +387,7 @@ public sealed partial class AdminVerbSystem
Verb revokeAllAccess = new()
{
Text = "Revoke All Access",
Text = Loc.GetString("admin-verbs-revoke-all-access"),
Category = VerbCategory.Tricks,
Icon = new SpriteSpecifier.Rsi(new("/Textures/Objects/Misc/id_cards.rsi"), "default"),
Act = () =>
@@ -405,13 +405,13 @@ public sealed partial class AdminVerbSystem
{
Verb adjustStack = new()
{
Text = "Adjust Stack",
Text = Loc.GetString("admin-verbs-adjust-stack"),
Category = VerbCategory.Tricks,
Icon = new SpriteSpecifier.Texture(new("/Textures/Interface/AdminActions/adjust-stack.png")),
Act = () =>
{
// Unbounded intentionally.
_quickDialog.OpenDialog(player, "Adjust stack", $"Amount (max {_stackSystem.GetMaxCount(stack)})", (int newAmount) =>
_quickDialog.OpenDialog(player, Loc.GetString("admin-verbs-adjust-stack"), Loc.GetString("admin-verbs-dialog-adjust-stack-amount", ("max", _stackSystem.GetMaxCount(stack))), (int newAmount) =>
{
_stackSystem.SetCount(args.Target, newAmount, stack);
});
@@ -424,7 +424,7 @@ public sealed partial class AdminVerbSystem
Verb fillStack = new()
{
Text = "Fill Stack",
Text = Loc.GetString("admin-verbs-fill-stack"),
Category = VerbCategory.Tricks,
Icon = new SpriteSpecifier.Texture(new("/Textures/Interface/AdminActions/fill-stack.png")),
Act = () =>
@@ -440,12 +440,12 @@ public sealed partial class AdminVerbSystem
Verb rename = new()
{
Text = "Rename",
Text = Loc.GetString("admin-verbs-rename"),
Category = VerbCategory.Tricks,
Icon = new SpriteSpecifier.Texture(new("/Textures/Interface/AdminActions/rename.png")),
Act = () =>
{
_quickDialog.OpenDialog(player, "Rename", "Name", (string newName) =>
_quickDialog.OpenDialog(player, Loc.GetString("admin-verbs-dialog-rename-title"), Loc.GetString("admin-verbs-dialog-rename-name"), (string newName) =>
{
_metaSystem.SetEntityName(args.Target, newName);
});
@@ -458,12 +458,12 @@ public sealed partial class AdminVerbSystem
Verb redescribe = new()
{
Text = "Redescribe",
Text = Loc.GetString("admin-verbs-redescribe"),
Category = VerbCategory.Tricks,
Icon = new SpriteSpecifier.Texture(new("/Textures/Interface/AdminActions/redescribe.png")),
Act = () =>
{
_quickDialog.OpenDialog(player, "Redescribe", "Description", (LongString newDescription) =>
_quickDialog.OpenDialog(player, Loc.GetString("admin-verbs-dialog-redescribe-title"), Loc.GetString("admin-verbs-dialog-redescribe-description"), (LongString newDescription) =>
{
_metaSystem.SetEntityDescription(args.Target, newDescription.String);
});
@@ -476,12 +476,12 @@ public sealed partial class AdminVerbSystem
Verb renameAndRedescribe = new()
{
Text = "Redescribe",
Text = Loc.GetString("admin-verbs-rename-and-redescribe"),
Category = VerbCategory.Tricks,
Icon = new SpriteSpecifier.Texture(new("/Textures/Interface/AdminActions/rename_and_redescribe.png")),
Act = () =>
{
_quickDialog.OpenDialog(player, "Rename & Redescribe", "Name", "Description",
_quickDialog.OpenDialog(player, Loc.GetString("admin-verbs-dialog-rename-and-redescribe-title"), Loc.GetString("admin-verbs-dialog-rename-name"), Loc.GetString("admin-verbs-dialog-redescribe-description"),
(string newName, LongString newDescription) =>
{
var meta = MetaData(args.Target);
@@ -501,7 +501,7 @@ public sealed partial class AdminVerbSystem
{
Verb barJobSlots = new()
{
Text = "Bar job slots",
Text = Loc.GetString("admin-verbs-bar-job-slots"),
Category = VerbCategory.Tricks,
Icon = new SpriteSpecifier.Texture(new("/Textures/Interface/AdminActions/bar_jobslots.png")),
Act = () =>
@@ -520,7 +520,7 @@ public sealed partial class AdminVerbSystem
Verb locateCargoShuttle = new()
{
Text = "Locate Cargo Shuttle",
Text = Loc.GetString("admin-verbs-locate-cargo-shuttle"),
Category = VerbCategory.Tricks,
Icon = new SpriteSpecifier.Rsi(new("/Textures/Clothing/Head/Soft/cargosoft.rsi"), "icon"),
Act = () =>
@@ -543,7 +543,7 @@ public sealed partial class AdminVerbSystem
{
Verb refillBattery = new()
{
Text = "Refill Battery",
Text = Loc.GetString("admin-verbs-refill-battery"),
Category = VerbCategory.Tricks,
Icon = new SpriteSpecifier.Texture(new("/Textures/Interface/AdminActions/fill_battery.png")),
Act = () =>
@@ -564,7 +564,7 @@ public sealed partial class AdminVerbSystem
Verb drainBattery = new()
{
Text = "Drain Battery",
Text = Loc.GetString("admin-verbs-drain-battery"),
Category = VerbCategory.Tricks,
Icon = new SpriteSpecifier.Texture(new("/Textures/Interface/AdminActions/drain_battery.png")),
Act = () =>
@@ -585,7 +585,7 @@ public sealed partial class AdminVerbSystem
Verb infiniteBattery = new()
{
Text = "Infinite Battery",
Text = Loc.GetString("admin-verbs-infinite-battery"),
Category = VerbCategory.Tricks,
Icon = new SpriteSpecifier.Texture(new("/Textures/Interface/AdminActions/infinite_battery.png")),
Act = () =>
@@ -615,7 +615,7 @@ public sealed partial class AdminVerbSystem
{
Verb haltMovement = new()
{
Text = "Halt Movement",
Text = Loc.GetString("admin-verbs-halt-movement"),
Category = VerbCategory.Tricks,
Icon = new SpriteSpecifier.Texture(new("/Textures/Interface/AdminActions/halt.png")),
Act = () =>
@@ -638,7 +638,7 @@ public sealed partial class AdminVerbSystem
{
Verb unpauseMap = new()
{
Text = "Unpause Map",
Text = Loc.GetString("admin-verbs-unpause-map"),
Category = VerbCategory.Tricks,
Icon = new SpriteSpecifier.Texture(new("/Textures/Interface/AdminActions/play.png")),
Act = () =>
@@ -655,7 +655,7 @@ public sealed partial class AdminVerbSystem
{
Verb pauseMap = new()
{
Text = "Pause Map",
Text = Loc.GetString("admin-verbs-pause-map"),
Category = VerbCategory.Tricks,
Icon = new SpriteSpecifier.Texture(new("/Textures/Interface/AdminActions/pause.png")),
Act = () =>
@@ -675,7 +675,7 @@ public sealed partial class AdminVerbSystem
{
Verb snapJoints = new()
{
Text = "Snap Joints",
Text = Loc.GetString("admin-verbs-snap-joints"),
Category = VerbCategory.Tricks,
Icon = new SpriteSpecifier.Texture(new("/Textures/Interface/AdminActions/snap_joints.png")),
Act = () =>
@@ -693,7 +693,7 @@ public sealed partial class AdminVerbSystem
{
Verb minigunFire = new()
{
Text = "Make Minigun",
Text = Loc.GetString("admin-verbs-make-minigun"),
Category = VerbCategory.Tricks,
Icon = new SpriteSpecifier.Rsi(new("/Textures/Objects/Weapons/Guns/HMGs/minigun.rsi"), "icon"),
Act = () =>
@@ -712,12 +712,12 @@ public sealed partial class AdminVerbSystem
{
Verb setCapacity = new()
{
Text = "Set Bullet Amount",
Text = Loc.GetString("admin-verbs-set-bullet-amount"),
Category = VerbCategory.Tricks,
Icon = new SpriteSpecifier.Rsi(new("/Textures/Objects/Fun/caps.rsi"), "mag-6"),
Act = () =>
{
_quickDialog.OpenDialog(player, "Set Bullet Amount", $"Amount (standard {ballisticAmmo.Capacity}):", (string amount) =>
_quickDialog.OpenDialog(player, Loc.GetString("admin-verbs-dialog-set-bullet-amount-title"), Loc.GetString("admin-verbs-dialog-set-bullet-amount-amount", ("cap", ballisticAmmo.Capacity)), (string amount) =>
{
if (!int.TryParse(amount, out var result))
return;

View File

@@ -1,3 +1,4 @@
# Generic verbs
delete-verb-get-data-text = Delete
edit-solutions-verb-get-data-text = Edit Solutions
explode-verb-get-data-text = Explode
@@ -18,3 +19,47 @@ toolshed-verb-mark = Mark
toolshed-verb-mark-description = Places this entity into the $marked variable, a list of entities, replacing its prior value.
export-entity-verb-get-data-text = Export sprite
# Tools verbs
admin-verbs-rejuvenate = Rejuvenate
admin-verbs-make-indestructible = Make Indestructible
admin-verbs-make-vulnerable = Make Vulnerable
admin-verbs-refill-battery = Refill Battery
admin-verbs-drain-battery = Drain Battery
admin-verbs-infinite-battery = Infinite Battery
admin-verbs-block-unanchoring = Block Unanchoring
admin-verbs-refill-internals-oxygen = Refill Internals Oxygen
admin-verbs-refill-internals-nitrogen = Refill Internals Nitrogen
admin-verbs-refill-internals-plasma = Refill Internals Plasma
admin-verbs-send-to-test-arena = Send to test arena
admin-verbs-grant-all-access = Grant All Access
admin-verbs-revoke-all-access = Revoke All Access
admin-verbs-adjust-stack = Adjust Stack
admin-verbs-fill-stack = Fill Stack
admin-verbs-rename = Rename
admin-verbs-redescribe = Redescribe
admin-verbs-rename-and-redescribe = Rename & Redescribe
admin-verbs-bar-job-slots = Bar job slots
admin-verbs-locate-cargo-shuttle = Locate Cargo Shuttle
admin-verbs-halt-movement = Halt Movement
admin-verbs-unpause-map = Unpause Map
admin-verbs-pause-map = Pause Map
admin-verbs-snap-joints = Snap Joints
admin-verbs-make-minigun = Make Minigun
admin-verbs-set-bullet-amount = Set Bullet Amount
# Toggles verbs
admin-verbs-bolt = Bolt
admin-verbs-unbolt = Unbolt
admin-verbs-emergency-access-on = Emergency Access On
admin-verbs-emergency-access-off = Emergency Access Off
# Dialogs verbs
admin-verbs-dialog-adjust-stack-amount = Amount (max {$max})
admin-verbs-dialog-rename-title = Rename
admin-verbs-dialog-rename-name = Name
admin-verbs-dialog-redescribe-title = Redescribe
admin-verbs-dialog-redescribe-description = Description
admin-verbs-dialog-rename-and-redescribe-title = Rename & Redescribe
admin-verbs-dialog-set-bullet-amount-title = Set Bullet Amount
admin-verbs-dialog-set-bullet-amount-amount = Amount (standard {$cap})

View File

@@ -1,4 +1,5 @@
bwoink-user-title = Admin Message
bwoink-admin-title = Admin Help
bwoink-system-starmute-message-no-other-users = *System: Nobody is available to receive your message. Try pinging Game Admins on Discord.

View File

@@ -8,5 +8,6 @@ comp-storage-cant-drop = You can't let go of { THE($entity) }!
comp-storage-window-title = Storage Item
comp-storage-window-weight = { $weight }/{ $maxWeight }, Max Size: {$size}
comp-storage-window-slots = Slots: { $itemCount }/{ $maxCount }, Max Size: {$size}
comp-storage-window-dummy = Dummy
comp-storage-verb-open-storage = Open Storage
comp-storage-verb-close-storage = Close Storage

View File

@@ -11,6 +11,8 @@ credits-window-codebases-section-title = Space Station 13 Codebases
credits-window-original-remake-team-section-title = Original Space Station 13 Remake Team
credits-window-immortals-title = In Memoriam
credits-window-special-thanks-section-title = Special Thanks
credits-window-previous-page-button = Previous Page
credits-window-next-page-button = Next Page
credits-window-attributions-directory = [color=white]Directory:[/color] {$directory}
credits-window-attributions-files = [color=white]Files:[/color] {$files}

View File

@@ -0,0 +1,21 @@
make-ghost-roles-window-title = Make Ghost Role
make-ghost-roles-window-entity-label = Entity
make-ghost-roles-window-role-name-label = Role Name
make-ghost-roles-window-role-description-label = Role Description
make-ghost-roles-window-role-rules-label = Role Rules
make-ghost-roles-window-make-sentient-label = Make Sentient
make-ghost-roles-window-initial-duration-label = Initial Duration (s)
make-ghost-roles-window-join-extends-by-label = Joins Extend By (s)
make-ghost-roles-window-max-duration-label = Max Duration (s)
make-ghost-roles-window-make-button = Make
# Raffle
make-ghost-roles-window-raffle-not-button = Don't raffle
make-ghost-roles-window-raffle-custom-settings-button = Custom settings
make-ghost-roles-window-raffle-role-label = Raffle Role?
make-ghost-roles-window-raffle-settings-label = {$id} (initial {$initialDuration}s, max {$maxDuration}s, join adds {$joinExtendsDurationBy}s)
make-ghost-roles-window-raffle-warning-tooltip = The initial duration must not exceed the maximum duration.

View File

@@ -77,6 +77,7 @@ ban-panel-permanent = Permanent
ban-panel-ip-hwid-tooltip = Leave empty and check the checkbox below to use last connection's details
ban-panel-severity = Severity:
ban-panel-erase = Erase chat messages and player from round
ban-panel-expiry-error = err
# Ban string
server-ban-string = {$admin} created a {$severity} severity server ban that expires {$expires} for [{$name}, {$ip}, {$hwid}], with reason: {$reason}

View File

@@ -1,21 +1,14 @@
## UI
crew-monitoring-user-interface-title = Crew Monitoring Console
crew-monitoring-ui-title = Crew Monitoring Console
crew-monitor-filter-line-placeholder = Filter
crew-monitoring-ui-filter-line-placeholder = Filter
crew-monitoring-user-interface-name = Name
crew-monitoring-user-interface-job = Job:
crew-monitoring-user-interface-status = Status
crew-monitoring-user-interface-location = Location
crew-monitoring-ui-job-label = Job:
crew-monitoring-ui-no-server-label = Server not found
crew-monitoring-user-interface-alive = Alive
crew-monitoring-user-interface-dead = Dead
crew-monitoring-user-interface-no-info = N/A
crew-monitoring-ui-no-department-label = Unknown
crew-monitoring-ui-no-station-label = Unknown station
crew-monitoring-user-interface-no-server = Server not found
crew-monitoring-user-interface-no-department = Unknown
crew-monitoring-user-interface-flavor-left = In case of an emergency, contact station medical staff immediately
crew-monitoring-user-interface-flavor-right = v1.7
crew-monitoring-ui-flavor-left-label = In case of an emergency, contact station medical staff immediately
crew-monitoring-ui-flavor-right-label = v1.7

View File

@@ -2,6 +2,7 @@ station-map-window-title = Station map
station-map-user-interface-flavor-left = Don't panic
station-map-user-interface-flavor-right = v1.42
station-map-filter-placeholder = Search by name
station-map-unknown-station = Unknown station
nav-beacon-window-title = Station Beacon
nav-beacon-toggle-visible = Visible

View File

@@ -0,0 +1,11 @@
npc-debug-overlay-window-title = NPC debug
npc-debug-overlay-window-section-npc-label = NPC
npc-debug-overlay-window-section-pathfinder-label = Pathfinder
npc-debug-overlay-window-show-htn-tree-checkbox = Thonk
npc-debug-overlay-window-path-breadcrumbs-checkbox = Breadcrumbs
npc-debug-overlay-window-path-polygons-checkbox = Polygons
npc-debug-overlay-window-path-neighbors-checkbox = Neighbors
npc-debug-overlay-window-path-route-costs-checkbox = Route costs
npc-debug-overlay-window-path-routes-checkbox = Routes

View File

@@ -12,6 +12,12 @@ marking-slot-add = Add
marking-slot-remove = Remove
marking-slot = Slot {$number}
humanoid-marking-modifier-force = Force
humanoid-marking-modifier-ignore-species = Ignore Species
humanoid-marking-modifier-base-layers = Base layers
humanoid-marking-modifier-enable = Enable
humanoid-marking-modifier-prototype-id = Prototype id:
# Categories
markings-category-Special = Special

View File

@@ -2,3 +2,4 @@
navmap-recenter = Recenter
navmap-toggle-beacons = Show departments
navmap-location = Location: [x = {$x}, y = {$y}]
navmap-unknown-entity = Unknown

View File

@@ -0,0 +1 @@
stat-values-ui-title = Melee stats