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;
|
2021-07-19 11:23:26 +00:00
|
|
|
using osu.Game.Resources.Localisation.Web;
|
2021-07-17 17:35:54 +00:00
|
|
|
|
|
|
|
namespace osu.Game.Localisation
|
|
|
|
{
|
2021-07-18 02:12:24 +00:00
|
|
|
public static class NamedOverlayComponentStrings
|
2021-07-17 17:35:54 +00:00
|
|
|
{
|
2021-07-18 02:12:24 +00:00
|
|
|
private const string prefix = @"osu.Game.Resources.Localisation.NamedOverlayComponent";
|
2021-07-17 17:35:54 +00:00
|
|
|
|
2021-07-19 11:23:26 +00:00
|
|
|
/// <inheritdoc cref="PageTitleStrings.MainBeatmapsetsControllerIndex"/>
|
|
|
|
public static LocalisableString BeatmapListingTitle => PageTitleStrings.MainBeatmapsetsControllerIndex;
|
|
|
|
|
2021-07-17 18:38:15 +00:00
|
|
|
/// <summary>
|
|
|
|
/// "browse for new beatmaps"
|
|
|
|
/// </summary>
|
2021-07-18 02:12:24 +00:00
|
|
|
public static LocalisableString BeatmapListingDescription => new TranslatableString(getKey(@"beatmap_listing"), @"browse for new beatmaps");
|
2021-07-17 18:38:15 +00:00
|
|
|
|
2021-07-19 12:45:03 +00:00
|
|
|
/// <inheritdoc cref="PageTitleStrings.MainBeatmapsetsControllerShow"/>
|
|
|
|
public static LocalisableString BeatmapSetTitle => PageTitleStrings.MainBeatmapsetsControllerShow;
|
|
|
|
|
2021-07-19 11:23:26 +00:00
|
|
|
/// <inheritdoc cref="PageTitleStrings.MainChangelogControllerDefault"/>
|
|
|
|
public static LocalisableString ChangelogTitle => PageTitleStrings.MainChangelogControllerDefault;
|
|
|
|
|
2021-07-17 17:35:54 +00:00
|
|
|
/// <summary>
|
|
|
|
/// "track recent dev updates in the osu! ecosystem"
|
|
|
|
/// </summary>
|
2021-07-18 02:12:24 +00:00
|
|
|
public static LocalisableString ChangelogDescription => new TranslatableString(getKey(@"changelog"), @"track recent dev updates in the osu! ecosystem");
|
2021-07-17 18:23:12 +00:00
|
|
|
|
2021-07-19 11:23:26 +00:00
|
|
|
/// <inheritdoc cref="PageTitleStrings.MainHomeControllerIndex"/>
|
|
|
|
public static LocalisableString DashboardTitle => PageTitleStrings.MainHomeControllerIndex;
|
|
|
|
|
2021-07-17 18:44:09 +00:00
|
|
|
/// <summary>
|
|
|
|
/// "view your friends and other information"
|
|
|
|
/// </summary>
|
2021-07-18 02:12:24 +00:00
|
|
|
public static LocalisableString DashboardDescription => new TranslatableString(getKey(@"dashboard"), @"view your friends and other information");
|
2021-07-17 18:44:09 +00:00
|
|
|
|
2021-07-19 11:23:26 +00:00
|
|
|
/// <inheritdoc cref="PageTitleStrings.MainRankingControllerDefault"/>
|
|
|
|
public static LocalisableString RankingsTitle => PageTitleStrings.MainRankingControllerDefault;
|
|
|
|
|
2021-07-17 18:32:23 +00:00
|
|
|
/// <summary>
|
|
|
|
/// "find out who's the best right now"
|
|
|
|
/// </summary>
|
2021-07-18 02:12:24 +00:00
|
|
|
public static LocalisableString RankingsDescription => new TranslatableString(getKey(@"rankings"), @"find out who's the best right now");
|
2021-07-17 18:32:23 +00:00
|
|
|
|
2021-07-19 11:23:26 +00:00
|
|
|
/// <inheritdoc cref="PageTitleStrings.MainNewsControllerDefault"/>
|
|
|
|
public static LocalisableString NewsTitle => PageTitleStrings.MainNewsControllerDefault;
|
|
|
|
|
2021-07-17 18:23:12 +00:00
|
|
|
/// <summary>
|
|
|
|
/// "get up-to-date on community happenings"
|
|
|
|
/// </summary>
|
2021-07-18 02:12:24 +00:00
|
|
|
public static LocalisableString NewsDescription => new TranslatableString(getKey(@"news"), @"get up-to-date on community happenings");
|
2021-07-17 17:35:54 +00:00
|
|
|
|
2021-07-19 11:23:26 +00:00
|
|
|
/// <inheritdoc cref="LayoutStrings.MenuHelpGetWiki"/>
|
2021-07-19 12:02:39 +00:00
|
|
|
public static LocalisableString WikiTitle => PageTitleStrings.MainWikiControllerDefault;
|
2021-07-19 11:23:26 +00:00
|
|
|
|
2021-07-19 12:02:39 +00:00
|
|
|
/// <summary>
|
|
|
|
/// "knowledge base"
|
|
|
|
/// </summary>
|
|
|
|
public static LocalisableString WikiDescription => new TranslatableString(getKey(@"wiki"), @"knowledge base");
|
2021-07-19 11:23:26 +00:00
|
|
|
|
2021-07-17 17:35:54 +00:00
|
|
|
private static string getKey(string key) => $"{prefix}:{key}";
|
|
|
|
}
|
|
|
|
}
|