1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 07:47:25 +08:00
osu-lazer/osu.Game/Localisation/MultiplayerResultsScreenStrings.cs

19 lines
675 B
C#
Raw Normal View History

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.
using osu.Framework.Localisation;
namespace osu.Game.Localisation
{
public static class MultiplayerResultsScreenStrings
{
private const string prefix = @"osu.Game.Resources.Localisation.MultiplayerResultsScreen";
/// <summary>
/// "Team {0} wins!"
/// </summary>
public static LocalisableString TeamWins(string winner) => new TranslatableString(getKey(@"team_wins"), @"Team {0} wins!", winner);
private static string getKey(string key) => $@"{prefix}:{key}";
}
}