1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 10:47:28 +08:00
osu-lazer/osu.Game/Localisation/MultiplayerResultsScreenStrings.cs
2021-08-11 15:32:14 +09:00

19 lines
675 B
C#

// 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}";
}
}