Localization code + Russian localization

This commit is contained in:
Евгений Титаренко 2024-01-29 21:02:33 +03:00
parent d14bc6359e
commit 5950f7f5bf
9 changed files with 133 additions and 1 deletions

View file

@ -16,7 +16,9 @@ public partial class WinScreen : TextureRect
Visible = true;
TextLabel.Text =
$"It took you\n{Manager.GetAttempts()} attempts\nand {Manager.GetFormattedTimeElapsed()}\nto finish the game.";
string.Format(Tr("It took you\n{0} attempts\nand {1}\nto finish the game."),
Manager.GetAttempts(),
Manager.GetFormattedTimeElapsed());
}
public override void _Input(InputEvent @event)