symbol renaming

Co-authored-by: frenzibyte <frenzibyte@gmail.com>
This commit is contained in:
kj415j45
2021-07-18 10:12:24 +08:00
parent 5fc1397564
commit 57eed88601
6 changed files with 12 additions and 12 deletions

View File

@ -5,34 +5,34 @@ using osu.Framework.Localisation;
namespace osu.Game.Localisation
{
public static class HeaderDescriptionStrings
public static class NamedOverlayComponentStrings
{
private const string prefix = @"osu.Game.Resources.Localisation.HeaderDescription";
private const string prefix = @"osu.Game.Resources.Localisation.NamedOverlayComponent";
/// <summary>
/// "browse for new beatmaps"
/// </summary>
public static LocalisableString BeatmapListing => new TranslatableString(getKey(@"beatmap_listing"), @"browse for new beatmaps");
public static LocalisableString BeatmapListingDescription => new TranslatableString(getKey(@"beatmap_listing"), @"browse for new beatmaps");
/// <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");
public static LocalisableString ChangelogDescription => 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");
public static LocalisableString DashboardDescription => 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");
public static LocalisableString RankingsDescription => 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");
public static LocalisableString NewsDescription => new TranslatableString(getKey(@"news"), @"get up-to-date on community happenings");
private static string getKey(string key) => $"{prefix}:{key}";
}