mirror of
https://github.com/ppy/osu.git
synced 2025-01-19 02:52:54 +08:00
Adjust localisation string name + formatting
This commit is contained in:
parent
b0757a13c2
commit
f92e2094c1
@ -27,7 +27,7 @@ namespace osu.Game.Localisation
|
||||
/// <summary>
|
||||
/// "press enter to type message..."
|
||||
/// </summary>
|
||||
public static LocalisableString IngameInputPlaceholder => new TranslatableString(getKey("input.ingameplaceholder"), "press enter to type message...");
|
||||
public static LocalisableString InGameInputPlaceholder => new TranslatableString(getKey(@"in_game_input_placeholder"), @"press enter to type message...");
|
||||
|
||||
private static string getKey(string key) => $"{prefix}:{key}";
|
||||
}
|
||||
|
@ -43,7 +43,7 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer
|
||||
Background.Alpha = 0.2f;
|
||||
|
||||
TextBox.FocusLost = () => expandedFromTextBoxFocus.Value = false;
|
||||
TextBox.PlaceholderText = ChatStrings.IngameInputPlaceholder;
|
||||
TextBox.PlaceholderText = ChatStrings.InGameInputPlaceholder;
|
||||
}
|
||||
|
||||
protected override bool OnHover(HoverEvent e) => true; // use UI mouse cursor.
|
||||
|
Loading…
Reference in New Issue
Block a user