Add ability to easily mention users in chat by right clicking username

This commit is contained in:
Joseph Madamba
2023-01-17 09:47:42 -08:00
parent 9415de5cf3
commit 97bd76efc6
3 changed files with 19 additions and 0 deletions

View File

@ -19,6 +19,11 @@ namespace osu.Game.Localisation
/// </summary>
public static LocalisableString HeaderDescription => new TranslatableString(getKey(@"header_description"), @"join the real-time discussion");
/// <summary>
/// "Mention"
/// </summary>
public static LocalisableString MentionUser => new TranslatableString(getKey(@"mention_user"), @"Mention");
private static string getKey(string key) => $"{prefix}:{key}";
}
}