osu/osu.Game/Localisation/MultiplayerTeamResultsScreenStrings.cs

25 lines
902 B
C#
Raw Normal View History

2021-08-11 06:32:10 +00: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.
using osu.Framework.Localisation;
namespace osu.Game.Localisation
{
2021-08-12 18:38:24 +00:00
public static class MultiplayerTeamResultsScreenStrings
2021-08-11 06:32:10 +00:00
{
2021-08-12 18:38:24 +00:00
private const string prefix = @"osu.Game.Resources.Localisation.MultiplayerTeamResultsScreen";
2021-08-11 06:32:10 +00:00
/// <summary>
/// "Team {0} wins!"
/// </summary>
public static LocalisableString TeamWins(string winner) => new TranslatableString(getKey(@"team_wins"), @"Team {0} wins!", winner);
2021-08-12 18:38:24 +00: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 06:32:10 +00:00
private static string getKey(string key) => $@"{prefix}:{key}";
}
2022-06-17 07:37:17 +00:00
}