1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 19:52:55 +08:00

Use newly create localised strings for buttons

This commit is contained in:
Bastian Pedersen 2023-06-25 21:03:07 +02:00
parent 59fa46bbdd
commit a7153478d6

View File

@ -17,6 +17,7 @@ using osu.Framework.Graphics.UserInterface;
using osu.Game.Graphics;
using osu.Game.Graphics.UserInterface;
using osu.Game.Graphics.UserInterfaceV2;
using osu.Game.Localisation;
using osu.Game.Online.Multiplayer;
using osuTK;
@ -56,7 +57,7 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer.Match
base.Action = this.ShowPopover;
TooltipText = "Countdown settings";
TooltipText = MultiplayerCountdownButtonStrings.CountdownSettings;
}
[BackgroundDependencyLoader]
@ -112,7 +113,7 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer.Match
flow.Add(new RoundedButton
{
RelativeSizeAxes = Axes.X,
Text = $"Start match in {duration.Humanize()}",
Text = MultiplayerCountdownButtonStrings.StartMatchInTime(duration.Humanize()),
BackgroundColour = colours.Green,
Action = () =>
{
@ -127,7 +128,7 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer.Match
flow.Add(new RoundedButton
{
RelativeSizeAxes = Axes.X,
Text = "Stop countdown",
Text = MultiplayerCountdownButtonStrings.StopCountdown,
BackgroundColour = colours.Red,
Action = () =>
{