mirror of
https://github.com/ppy/osu.git
synced 2024-11-14 15:17:27 +08:00
Rename localisable string
This commit is contained in:
parent
8e82327509
commit
2932184d24
@ -162,7 +162,7 @@ namespace osu.Game.Localisation
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// "Shrink game to avoid cameras and notches"
|
/// "Shrink game to avoid cameras and notches"
|
||||||
/// </summary>
|
/// </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}";
|
private static string getKey(string key) => $@"{prefix}:{key}";
|
||||||
}
|
}
|
||||||
|
@ -115,7 +115,7 @@ namespace osu.Game.Overlays.Settings.Sections.Graphics
|
|||||||
},
|
},
|
||||||
safeAreaConsiderationsCheckbox = new SettingsCheckbox
|
safeAreaConsiderationsCheckbox = new SettingsCheckbox
|
||||||
{
|
{
|
||||||
LabelText = GraphicsSettingsStrings.ShrinkGameOnMobile,
|
LabelText = GraphicsSettingsStrings.ShrinkGameToSafeArea,
|
||||||
Current = osuConfig.GetBindable<bool>(OsuSetting.SafeAreaConsiderations),
|
Current = osuConfig.GetBindable<bool>(OsuSetting.SafeAreaConsiderations),
|
||||||
},
|
},
|
||||||
new SettingsSlider<float, UIScaleSlider>
|
new SettingsSlider<float, UIScaleSlider>
|
||||||
|
Loading…
Reference in New Issue
Block a user