mirror of
https://github.com/SK-la/Ez2Lazer.git
synced 2026-03-15 03:20:27 +00:00
Localise "running" in DigitalClockDisplay (#36589)
This commit is contained in:
@@ -39,6 +39,11 @@ namespace osu.Game.Localisation
|
||||
/// </summary>
|
||||
public static LocalisableString PlaySomeRuleset(string arg0) => new TranslatableString(getKey(@"play_some_ruleset"), @"play some {0}", arg0);
|
||||
|
||||
/// <summary>
|
||||
/// "running"
|
||||
/// </summary>
|
||||
public static LocalisableString TimeRunning => new TranslatableString(getKey(@"time_running"), @"running");
|
||||
|
||||
private static string getKey(string key) => $@"{prefix}:{key}";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,6 +10,7 @@ using osu.Framework.Graphics;
|
||||
using osu.Framework.Graphics.Containers;
|
||||
using osu.Game.Graphics;
|
||||
using osu.Game.Graphics.Sprites;
|
||||
using osu.Game.Localisation;
|
||||
using osuTK;
|
||||
|
||||
namespace osu.Game.Overlays.Toolbar
|
||||
@@ -76,7 +77,7 @@ namespace osu.Game.Overlays.Toolbar
|
||||
{
|
||||
new OsuSpriteText
|
||||
{
|
||||
Text = "running",
|
||||
Text = ToolbarStrings.TimeRunning,
|
||||
Font = OsuFont.Default.With(size: 10, weight: FontWeight.SemiBold),
|
||||
},
|
||||
gameTime = new OsuSpriteText
|
||||
|
||||
Reference in New Issue
Block a user