mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 17:07:38 +08:00
55 lines
1.9 KiB
C#
55 lines
1.9 KiB
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 LoginPanelStrings
|
|
{
|
|
private const string prefix = @"osu.Game.Resources.Localisation.LoginPanel";
|
|
|
|
/// <summary>
|
|
/// "Do not disturb"
|
|
/// </summary>
|
|
public static LocalisableString DoNotDisturb => new TranslatableString(getKey(@"do_not_disturb"), @"Do not disturb");
|
|
|
|
/// <summary>
|
|
/// "Appear offline"
|
|
/// </summary>
|
|
public static LocalisableString AppearOffline => new TranslatableString(getKey(@"appear_offline"), @"Appear offline");
|
|
|
|
/// <summary>
|
|
/// "Signed in"
|
|
/// </summary>
|
|
public static LocalisableString SignedIn => new TranslatableString(getKey(@"signed_in"), @"Signed in");
|
|
|
|
/// <summary>
|
|
/// "Sign out"
|
|
/// </summary>
|
|
public static LocalisableString SignOut => new TranslatableString(getKey(@"sign_out"), @"Sign out");
|
|
|
|
/// <summary>
|
|
/// "Account"
|
|
/// </summary>
|
|
public static LocalisableString Account => new TranslatableString(getKey(@"account"), @"Account");
|
|
|
|
/// <summary>
|
|
/// "Remember username"
|
|
/// </summary>
|
|
public static LocalisableString RememberUsername => new TranslatableString(getKey(@"remember_username"), @"Remember username");
|
|
|
|
/// <summary>
|
|
/// "Stay signed in"
|
|
/// </summary>
|
|
public static LocalisableString StaySignedIn => new TranslatableString(getKey(@"stay_signed_in"), @"Stay signed in");
|
|
|
|
/// <summary>
|
|
/// "Register"
|
|
/// </summary>
|
|
public static LocalisableString Register => new TranslatableString(getKey(@"register"), @"Register");
|
|
|
|
private static string getKey(string key) => $@"{prefix}:{key}";
|
|
}
|
|
}
|