2022-08-09 14:43:26 +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 ToolbarStrings
{
private const string prefix = @"osu.Game.Resources.Localisation.Toolbar" ;
/// <summary>
/// "Connection interrupted, will try to reconnect..."
/// </summary>
2022-08-09 14:57:16 +08:00
public static LocalisableString AttemptingToReconnect = > new TranslatableString ( getKey ( @"attempting_to_reconnect" ) , @"Connection interrupted, will try to reconnect..." ) ;
2022-08-09 14:43:26 +08:00
/// <summary>
/// "Connecting..."
/// </summary>
public static LocalisableString Connecting = > new TranslatableString ( getKey ( @"connecting" ) , @"Connecting..." ) ;
2022-10-11 16:59:07 +08:00
/// <summary>
/// "home"
/// </summary>
2023-01-16 07:19:47 +08:00
public static LocalisableString HomeHeaderTitle = > new TranslatableString ( getKey ( @"home_header_title" ) , @"home" ) ;
2022-10-11 16:59:07 +08:00
/// <summary>
/// "return to the main menu"
/// </summary>
2023-01-16 07:19:47 +08:00
public static LocalisableString HomeHeaderDescription = > new TranslatableString ( getKey ( @"home_header_description" ) , @"return to the main menu" ) ;
2022-10-11 16:59:07 +08:00
/// <summary>
2023-01-16 07:19:06 +08:00
/// "play some {0}"
2022-10-11 16:59:07 +08:00
/// </summary>
2023-01-16 07:19:06 +08:00
public static LocalisableString PlaySomeRuleset ( string arg0 ) = > new TranslatableString ( getKey ( @"play_some_ruleset" ) , @"play some {0}" , arg0 ) ;
2022-10-11 16:59:07 +08:00
2022-08-09 14:43:26 +08:00
private static string getKey ( string key ) = > $@"{prefix}:{key}" ;
}
}