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