1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 02:07:34 +08:00
osu-lazer/osu.Game/Localisation/HeaderDescriptionStrings.cs
2021-07-18 02:44:46 +08:00

30 lines
1.1 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 HeaderDescriptionStrings
{
private const string prefix = @"osu.Game.Resources.Localisation.HeaderDescription";
/// <summary>
/// "track recent dev updates in the osu! ecosystem"
/// </summary>
public static LocalisableString Changelog => new TranslatableString(getKey(@"changelog"), @"track recent dev updates in the osu! ecosystem");
/// <summary>
/// "find out who's the best right now"
/// </summary>
public static LocalisableString Rankings => new TranslatableString(getKey(@"rankings"), @"find out who's the best right now");
/// <summary>
/// "get up-to-date on community happenings"
/// </summary>
public static LocalisableString News => new TranslatableString(getKey(@"news"), @"get up-to-date on community happenings");
private static string getKey(string key) => $"{prefix}:{key}";
}
}