mirror of
https://github.com/ppy/osu.git
synced 2025-03-10 22:17:20 +08:00
Add localisation for skin management buttons in settings
This commit is contained in:
parent
3f211e33b8
commit
574f2363ff
@ -39,11 +39,21 @@ namespace osu.Game.Localisation
|
||||
/// </summary>
|
||||
public static LocalisableString Default => new TranslatableString(getKey(@"default"), @"Default");
|
||||
|
||||
/// <summary>
|
||||
/// "Rename"
|
||||
/// </summary>
|
||||
public static LocalisableString Rename => new TranslatableString(getKey(@"rename"), @"Rename");
|
||||
|
||||
/// <summary>
|
||||
/// "Export"
|
||||
/// </summary>
|
||||
public static LocalisableString Export => new TranslatableString(getKey(@"export"), @"Export");
|
||||
|
||||
/// <summary>
|
||||
/// "Delete"
|
||||
/// </summary>
|
||||
public static LocalisableString Delete => new TranslatableString(getKey(@"delete"), @"Delete");
|
||||
|
||||
/// <summary>
|
||||
/// "Width"
|
||||
/// </summary>
|
||||
|
@ -165,7 +165,7 @@ namespace osu.Game.Overlays.Settings.Sections
|
||||
[BackgroundDependencyLoader]
|
||||
private void load()
|
||||
{
|
||||
Text = "Rename";
|
||||
Text = CommonStrings.Rename;
|
||||
Action = this.ShowPopover;
|
||||
}
|
||||
|
||||
@ -193,7 +193,7 @@ namespace osu.Game.Overlays.Settings.Sections
|
||||
[BackgroundDependencyLoader]
|
||||
private void load()
|
||||
{
|
||||
Text = "Export";
|
||||
Text = CommonStrings.Export;
|
||||
Action = export;
|
||||
}
|
||||
|
||||
@ -231,7 +231,7 @@ namespace osu.Game.Overlays.Settings.Sections
|
||||
[BackgroundDependencyLoader]
|
||||
private void load()
|
||||
{
|
||||
Text = "Delete";
|
||||
Text = CommonStrings.Delete;
|
||||
Action = delete;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user