2023-06-26 03:02:41 +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
{
2023-06-26 12:38:34 +08:00
public static class MultiplayerMatchStrings
2023-06-26 03:02:41 +08:00
{
2023-06-26 12:38:34 +08:00
private const string prefix = @"osu.Game.Resources.Localisation.MultiplayerMatchStrings" ;
2023-06-26 03:02:41 +08:00
/// <summary>
/// "Stop countdown"
/// </summary>
public static LocalisableString StopCountdown = > new TranslatableString ( getKey ( @"stop_countdown" ) , @"Stop countdown" ) ;
/// <summary>
/// "Countdown settings"
/// </summary>
public static LocalisableString CountdownSettings = > new TranslatableString ( getKey ( @"countdown_settings" ) , @"Countdown settings" ) ;
/// <summary>
2023-06-26 12:38:34 +08:00
/// "Start match in {0}"
2023-06-26 03:02:41 +08:00
/// </summary>
2023-06-26 12:38:34 +08:00
public static LocalisableString StartMatchWithCountdown ( string humanReadableTime ) = > new TranslatableString ( getKey ( @"start_match_width_countdown" ) , @"Start match in {0}" , humanReadableTime ) ;
2023-06-26 03:02:41 +08:00
private static string getKey ( string key ) = > $@"{prefix}:{key}" ;
}
}