2021-07-18 01:35:54 +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
{
2021-07-18 10:12:24 +08:00
public static class NamedOverlayComponentStrings
2021-07-18 01:35:54 +08:00
{
2021-07-18 10:12:24 +08:00
private const string prefix = @"osu.Game.Resources.Localisation.NamedOverlayComponent" ;
2021-07-18 01:35:54 +08:00
2021-07-18 02:38:15 +08:00
/// <summary>
/// "browse for new beatmaps"
/// </summary>
2021-07-20 07:24:02 +08:00
public static LocalisableString BeatmapListingDescription = > new TranslatableString ( getKey ( @"beatmap_listing_description" ) , @"browse for new beatmaps" ) ;
2021-07-18 02:38:15 +08:00
2021-07-18 01:35:54 +08:00
/// <summary>
/// "track recent dev updates in the osu! ecosystem"
/// </summary>
2021-07-20 07:24:02 +08:00
public static LocalisableString ChangelogDescription = > new TranslatableString ( getKey ( @"changelog_description" ) , @"track recent dev updates in the osu! ecosystem" ) ;
2021-07-18 02:23:12 +08:00
2021-07-18 02:44:09 +08:00
/// <summary>
2023-12-28 02:09:20 +08:00
/// "view your friends and spectate other players"
2021-07-18 02:44:09 +08:00
/// </summary>
2023-12-28 02:09:20 +08:00
public static LocalisableString DashboardDescription = > new TranslatableString ( getKey ( @"dashboard_description" ) , @"view your friends and spectate other players" ) ;
2021-07-18 02:44:09 +08:00
2021-07-18 02:32:23 +08:00
/// <summary>
2023-12-28 02:09:20 +08:00
/// "find out who's the best right now"
2021-07-18 02:32:23 +08:00
/// </summary>
2021-07-20 07:24:02 +08:00
public static LocalisableString RankingsDescription = > new TranslatableString ( getKey ( @"rankings_description" ) , @"find out who's the best right now" ) ;
2021-07-18 02:32:23 +08:00
2021-07-18 02:23:12 +08:00
/// <summary>
/// "get up-to-date on community happenings"
/// </summary>
2021-07-20 07:24:02 +08:00
public static LocalisableString NewsDescription = > new TranslatableString ( getKey ( @"news_description" ) , @"get up-to-date on community happenings" ) ;
2021-07-18 01:35:54 +08:00
2021-07-19 20:02:39 +08:00
/// <summary>
/// "knowledge base"
/// </summary>
2021-07-20 07:24:02 +08:00
public static LocalisableString WikiDescription = > new TranslatableString ( getKey ( @"wiki_description" ) , @"knowledge base" ) ;
2021-07-19 19:23:26 +08:00
2023-12-28 02:09:20 +08:00
private static string getKey ( string key ) = > $@"{prefix}:{key}" ;
2021-07-18 01:35:54 +08:00
}
}