Add basic mod preset column implementation

This commit is contained in:
Bartłomiej Dach
2022-07-22 21:05:02 +02:00
parent b2f8934117
commit 6a67d76d7c
3 changed files with 173 additions and 0 deletions

View File

@ -0,0 +1,19 @@
// 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 ModPresetColumnStrings
{
private const string prefix = @"osu.Game.Resources.Localisation.ModPresetColumn";
/// <summary>
/// "Personal Presets"
/// </summary>
public static LocalisableString PersonalPresets => new TranslatableString(getKey(@"personal_presets"), @"Personal Presets");
private static string getKey(string key) => $@"{prefix}:{key}";
}
}