osu/osu.Game/Localisation/HeaderDescriptionStrings.cs

40 lines
1.6 KiB
C#
Raw Normal View History

2021-07-17 17:35:54 +00: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
{
2021-07-17 18:23:12 +00:00
public static class HeaderDescriptionStrings
2021-07-17 17:35:54 +00:00
{
2021-07-17 18:23:12 +00:00
private const string prefix = @"osu.Game.Resources.Localisation.HeaderDescription";
2021-07-17 17:35:54 +00:00
/// <summary>
/// "browse for new beatmaps"
/// </summary>
public static LocalisableString BeatmapListing => new TranslatableString(getKey(@"beatmap_listing"), @"browse for new beatmaps");
2021-07-17 17:35:54 +00:00
/// <summary>
/// "track recent dev updates in the osu! ecosystem"
/// </summary>
2021-07-17 18:23:12 +00:00
public static LocalisableString Changelog => new TranslatableString(getKey(@"changelog"), @"track recent dev updates in the osu! ecosystem");
/// <summary>
/// "view your friends and other information"
/// </summary>
public static LocalisableString Dashboard => new TranslatableString(getKey(@"dashboard"), @"view your friends and other information");
/// <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");
2021-07-17 18:23:12 +00:00
/// <summary>
/// "get up-to-date on community happenings"
/// </summary>
public static LocalisableString News => new TranslatableString(getKey(@"news"), @"get up-to-date on community happenings");
2021-07-17 17:35:54 +00:00
private static string getKey(string key) => $"{prefix}:{key}";
}
}