1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-30 20:44:08 +08:00

Add localisation support

This commit is contained in:
Salman Alshamrani
2024-11-24 00:45:17 -05:00
Unverified
parent dc210d59b5
commit c8b13b726d
2 changed files with 6 additions and 1 deletions
@@ -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>
@@ -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 },
}