mirror of
https://github.com/ppy/osu.git
synced 2025-03-10 22:57:19 +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>
|
/// </summary>
|
||||||
public static LocalisableString Default => new TranslatableString(getKey(@"default"), @"Default");
|
public static LocalisableString Default => new TranslatableString(getKey(@"default"), @"Default");
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// "Rename"
|
||||||
|
/// </summary>
|
||||||
|
public static LocalisableString Rename => new TranslatableString(getKey(@"rename"), @"Rename");
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// "Export"
|
/// "Export"
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static LocalisableString Export => new TranslatableString(getKey(@"export"), @"Export");
|
public static LocalisableString Export => new TranslatableString(getKey(@"export"), @"Export");
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// "Delete"
|
||||||
|
/// </summary>
|
||||||
|
public static LocalisableString Delete => new TranslatableString(getKey(@"delete"), @"Delete");
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// "Width"
|
/// "Width"
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -165,7 +165,7 @@ namespace osu.Game.Overlays.Settings.Sections
|
|||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load()
|
private void load()
|
||||||
{
|
{
|
||||||
Text = "Rename";
|
Text = CommonStrings.Rename;
|
||||||
Action = this.ShowPopover;
|
Action = this.ShowPopover;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -193,7 +193,7 @@ namespace osu.Game.Overlays.Settings.Sections
|
|||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load()
|
private void load()
|
||||||
{
|
{
|
||||||
Text = "Export";
|
Text = CommonStrings.Export;
|
||||||
Action = export;
|
Action = export;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -231,7 +231,7 @@ namespace osu.Game.Overlays.Settings.Sections
|
|||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load()
|
private void load()
|
||||||
{
|
{
|
||||||
Text = "Delete";
|
Text = CommonStrings.Delete;
|
||||||
Action = delete;
|
Action = delete;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user