mirror of
https://github.com/ppy/osu.git
synced 2026-05-26 06:49:54 +08:00
Add localisation for skin management buttons in settings
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user