mirror of
https://github.com/ppy/osu
synced 2024-12-28 01:42:57 +00:00
symbol renaming
Co-authored-by: frenzibyte <frenzibyte@gmail.com>
This commit is contained in:
parent
5fc1397564
commit
57eed88601
@ -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}";
|
||||
}
|
@ -15,7 +15,7 @@ namespace osu.Game.Overlays.BeatmapListing
|
||||
public BeatmapListingTitle()
|
||||
{
|
||||
Title = PageTitleStrings.MainBeatmapsetsControllerIndex;
|
||||
Description = HeaderDescriptionStrings.BeatmapListing;
|
||||
Description = NamedOverlayComponentStrings.BeatmapListingDescription;
|
||||
IconTexture = "Icons/Hexacons/beatmap";
|
||||
}
|
||||
}
|
||||
|
@ -118,7 +118,7 @@ namespace osu.Game.Overlays.Changelog
|
||||
public ChangelogHeaderTitle()
|
||||
{
|
||||
Title = LayoutStrings.MenuHomeChangelogIndex;
|
||||
Description = HeaderDescriptionStrings.Changelog;
|
||||
Description = NamedOverlayComponentStrings.ChangelogDescription;
|
||||
IconTexture = "Icons/Hexacons/devtools";
|
||||
}
|
||||
}
|
||||
|
@ -18,7 +18,7 @@ namespace osu.Game.Overlays.Dashboard
|
||||
public DashboardTitle()
|
||||
{
|
||||
Title = HomeStrings.UserTitle;
|
||||
Description = HeaderDescriptionStrings.Dashboard;
|
||||
Description = NamedOverlayComponentStrings.DashboardDescription;
|
||||
IconTexture = "Icons/Hexacons/social";
|
||||
}
|
||||
}
|
||||
|
@ -65,7 +65,7 @@ namespace osu.Game.Overlays.News
|
||||
public NewsHeaderTitle()
|
||||
{
|
||||
Title = LayoutStrings.MenuHomeNewsIndex;
|
||||
Description = HeaderDescriptionStrings.News;
|
||||
Description = NamedOverlayComponentStrings.NewsDescription;
|
||||
IconTexture = "Icons/Hexacons/news";
|
||||
}
|
||||
}
|
||||
|
@ -34,7 +34,7 @@ namespace osu.Game.Overlays.Rankings
|
||||
public RankingsTitle()
|
||||
{
|
||||
Title = LayoutStrings.MenuRankingsDefault;
|
||||
Description = HeaderDescriptionStrings.Rankings;
|
||||
Description = NamedOverlayComponentStrings.RankingsDescription;
|
||||
IconTexture = "Icons/Hexacons/rankings";
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user