mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 23:24:04 +09:00
Handle ties in team vs. results screen
This commit is contained in:
@ -5,15 +5,20 @@ using osu.Framework.Localisation;
|
||||
|
||||
namespace osu.Game.Localisation
|
||||
{
|
||||
public static class MultiplayerResultsScreenStrings
|
||||
public static class MultiplayerTeamResultsScreenStrings
|
||||
{
|
||||
private const string prefix = @"osu.Game.Resources.Localisation.MultiplayerResultsScreen";
|
||||
private const string prefix = @"osu.Game.Resources.Localisation.MultiplayerTeamResultsScreen";
|
||||
|
||||
/// <summary>
|
||||
/// "Team {0} wins!"
|
||||
/// </summary>
|
||||
public static LocalisableString TeamWins(string winner) => new TranslatableString(getKey(@"team_wins"), @"Team {0} wins!", winner);
|
||||
|
||||
/// <summary>
|
||||
/// "The teams are tied!"
|
||||
/// </summary>
|
||||
public static LocalisableString TheTeamsAreTied => new TranslatableString(getKey(@"the_teams_are_tied"), @"The teams are tied!");
|
||||
|
||||
private static string getKey(string key) => $@"{prefix}:{key}";
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user