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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user