1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-13 15:27:30 +08:00

Rename localisable string

This commit is contained in:
Bartłomiej Dach 2024-02-05 18:05:21 +01:00
parent 8e82327509
commit 2932184d24
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -162,7 +162,7 @@ namespace osu.Game.Localisation
/// <summary>
/// "Shrink game to avoid cameras and notches"
/// </summary>
public static LocalisableString ShrinkGameOnMobile => new TranslatableString(getKey(@"shrink_game_on_mobile"), @"Shrink game to avoid cameras and notches");
public static LocalisableString ShrinkGameToSafeArea => new TranslatableString(getKey(@"shrink_game_to_safe_area"), @"Shrink game to avoid cameras and notches");
private static string getKey(string key) => $@"{prefix}:{key}";
}

View File

@ -115,7 +115,7 @@ namespace osu.Game.Overlays.Settings.Sections.Graphics
},
safeAreaConsiderationsCheckbox = new SettingsCheckbox
{
LabelText = GraphicsSettingsStrings.ShrinkGameOnMobile,
LabelText = GraphicsSettingsStrings.ShrinkGameToSafeArea,
Current = osuConfig.GetBindable<bool>(OsuSetting.SafeAreaConsiderations),
},
new SettingsSlider<float, UIScaleSlider>