1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 12:53:11 +08:00

Add localisation for BeatmapSetHeader

This commit is contained in:
kj415j45 2021-07-19 20:45:03 +08:00
parent 3a4da6b867
commit fe7aa73aad
2 changed files with 5 additions and 1 deletions

View File

@ -18,6 +18,9 @@ namespace osu.Game.Localisation
/// </summary>
public static LocalisableString BeatmapListingDescription => new TranslatableString(getKey(@"beatmap_listing"), @"browse for new beatmaps");
/// <inheritdoc cref="PageTitleStrings.MainBeatmapsetsControllerShow"/>
public static LocalisableString BeatmapSetTitle => PageTitleStrings.MainBeatmapsetsControllerShow;
/// <inheritdoc cref="PageTitleStrings.MainChangelogControllerDefault"/>
public static LocalisableString ChangelogTitle => PageTitleStrings.MainChangelogControllerDefault;

View File

@ -7,6 +7,7 @@ using osu.Framework.Extensions.Color4Extensions;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Effects;
using osu.Game.Beatmaps;
using osu.Game.Localisation;
using osu.Game.Rulesets;
using osuTK;
using osuTK.Graphics;
@ -54,7 +55,7 @@ namespace osu.Game.Overlays.BeatmapSet
{
public BeatmapHeaderTitle()
{
Title = "beatmap info";
Title = NamedOverlayComponentStrings.BeatmapSetTitle;
IconTexture = "Icons/Hexacons/beatmap";
}
}