1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-20 20:33:21 +08:00

Add localisation support

This commit is contained in:
Salman Alshamrani 2024-11-24 00:45:17 -05:00
parent dc210d59b5
commit c8b13b726d
2 changed files with 6 additions and 1 deletions

View File

@ -188,6 +188,11 @@ namespace osu.Game.Localisation
/// </summary>
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>
/// "Click to select a track"
/// </summary>

View File

@ -66,7 +66,7 @@ namespace osu.Game.Screens.Edit.Setup
updateAllDifficultiesButton = new RoundedButton
{
RelativeSizeAxes = Axes.X,
Text = "Update all difficulties",
Text = EditorSetupStrings.ResourcesUpdateAllDifficulties,
Action = updateAllDifficulties,
Enabled = { Value = false },
}