1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 12:57:36 +08:00
osu-lazer/osu.Game/Localisation/RulesetSettingsStrings.cs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
1.1 KiB
C#
Raw Normal View History

2021-10-12 13:31:08 +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 RulesetSettingsStrings
{
private const string prefix = @"osu.Game.Resources.Localisation.RulesetSettings";
/// <summary>
/// "Rulesets"
/// </summary>
public static LocalisableString Rulesets => new TranslatableString(getKey(@"rulesets"), @"Rulesets");
/// <summary>
/// "None"
/// </summary>
2022-08-09 22:35:19 +08:00
public static LocalisableString BorderNone => new TranslatableString(getKey(@"none"), @"None");
/// <summary>
/// "Corners"
/// </summary>
2022-08-09 22:35:19 +08:00
public static LocalisableString BorderCorners => new TranslatableString(getKey(@"corners"), @"Corners");
/// <summary>
/// "Full"
/// </summary>
2022-08-09 22:35:19 +08:00
public static LocalisableString BorderFull => new TranslatableString(getKey(@"full"), @"Full");
2021-10-12 13:31:08 +08:00
private static string getKey(string key) => $@"{prefix}:{key}";
}
}