mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 19:03:08 +08:00
Add localisation support for new button string
This commit is contained in:
parent
b7abab6d8a
commit
be995f1359
@ -34,6 +34,11 @@ namespace osu.Game.Localisation
|
||||
/// </summary>
|
||||
public static LocalisableString AddPreset => new TranslatableString(getKey(@"add_preset"), @"Add preset");
|
||||
|
||||
/// <summary>
|
||||
/// "Use current mods"
|
||||
/// </summary>
|
||||
public static LocalisableString UseCurrentMods => new TranslatableString(getKey(@"use_current_mods"), @"Use current mods");
|
||||
|
||||
private static string getKey(string key) => $@"{prefix}:{key}";
|
||||
}
|
||||
}
|
||||
|
@ -94,7 +94,7 @@ namespace osu.Game.Overlays.Mods
|
||||
{
|
||||
Anchor = Anchor.TopCentre,
|
||||
Origin = Anchor.TopCentre,
|
||||
Text = "Use Current Mods",
|
||||
Text = ModSelectOverlayStrings.UseCurrentMods,
|
||||
Action = useCurrentMods
|
||||
},
|
||||
saveButton = new ShearedButton
|
||||
|
Loading…
Reference in New Issue
Block a user