mirror of
https://github.com/ppy/osu.git
synced 2025-02-22 15:22:56 +08:00
Add localisation support
This commit is contained in:
parent
dc210d59b5
commit
c8b13b726d
@ -188,6 +188,11 @@ namespace osu.Game.Localisation
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public static LocalisableString AudioTrack => new TranslatableString(getKey(@"audio_track"), @"Audio Track");
|
public static LocalisableString AudioTrack => new TranslatableString(getKey(@"audio_track"), @"Audio Track");
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// "Update all difficulties"
|
||||||
|
/// </summary>
|
||||||
|
public static LocalisableString ResourcesUpdateAllDifficulties => new TranslatableString(getKey(@"resources_update_all_difficulties"), @"Update all difficulties");
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// "Click to select a track"
|
/// "Click to select a track"
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -66,7 +66,7 @@ namespace osu.Game.Screens.Edit.Setup
|
|||||||
updateAllDifficultiesButton = new RoundedButton
|
updateAllDifficultiesButton = new RoundedButton
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.X,
|
RelativeSizeAxes = Axes.X,
|
||||||
Text = "Update all difficulties",
|
Text = EditorSetupStrings.ResourcesUpdateAllDifficulties,
|
||||||
Action = updateAllDifficulties,
|
Action = updateAllDifficulties,
|
||||||
Enabled = { Value = false },
|
Enabled = { Value = false },
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user