2021-08-11 14:32:10 +08:00
|
|
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
|
2022-06-17 15:37:17 +08:00
|
|
|
#nullable disable
|
|
|
|
|
2021-08-11 14:32:10 +08:00
|
|
|
using osu.Framework.Localisation;
|
|
|
|
|
|
|
|
namespace osu.Game.Localisation
|
|
|
|
{
|
2021-08-13 02:38:24 +08:00
|
|
|
public static class MultiplayerTeamResultsScreenStrings
|
2021-08-11 14:32:10 +08:00
|
|
|
{
|
2021-08-13 02:38:24 +08:00
|
|
|
private const string prefix = @"osu.Game.Resources.Localisation.MultiplayerTeamResultsScreen";
|
2021-08-11 14:32:10 +08:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// "Team {0} wins!"
|
|
|
|
/// </summary>
|
|
|
|
public static LocalisableString TeamWins(string winner) => new TranslatableString(getKey(@"team_wins"), @"Team {0} wins!", winner);
|
|
|
|
|
2021-08-13 02:38:24 +08:00
|
|
|
/// <summary>
|
|
|
|
/// "The teams are tied!"
|
|
|
|
/// </summary>
|
|
|
|
public static LocalisableString TheTeamsAreTied => new TranslatableString(getKey(@"the_teams_are_tied"), @"The teams are tied!");
|
|
|
|
|
2021-08-11 14:32:10 +08:00
|
|
|
private static string getKey(string key) => $@"{prefix}:{key}";
|
|
|
|
}
|
2022-06-17 15:37:17 +08:00
|
|
|
}
|