1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-19 03:42:55 +08:00

Adjust localisation string name + formatting

This commit is contained in:
Dan Balasescu 2024-08-05 12:29:56 +09:00
parent b0757a13c2
commit f92e2094c1
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -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}";
}

View File

@ -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.