mirror of
https://github.com/ppy/osu
synced 2025-01-04 13:22:08 +00:00
Add localisation for BeatmapListingHeader
This commit is contained in:
parent
3b48975f1e
commit
f588607ed9
@ -9,6 +9,11 @@ namespace osu.Game.Localisation
|
||||
{
|
||||
private const string prefix = @"osu.Game.Resources.Localisation.HeaderDescription";
|
||||
|
||||
/// <summary>
|
||||
/// "browse for new beatmaps"
|
||||
/// </summary>
|
||||
public static LocalisableString BeatmapListing => new TranslatableString(getKey(@"beatmap_listing"), @"browse for new beatmaps");
|
||||
|
||||
/// <summary>
|
||||
/// "track recent dev updates in the osu! ecosystem"
|
||||
/// </summary>
|
||||
|
@ -1,6 +1,9 @@
|
||||
// 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.Game.Localisation;
|
||||
using osu.Game.Resources.Localisation.Web;
|
||||
|
||||
namespace osu.Game.Overlays.BeatmapListing
|
||||
{
|
||||
public class BeatmapListingHeader : OverlayHeader
|
||||
@ -11,8 +14,8 @@ namespace osu.Game.Overlays.BeatmapListing
|
||||
{
|
||||
public BeatmapListingTitle()
|
||||
{
|
||||
Title = "beatmap listing";
|
||||
Description = "browse for new beatmaps";
|
||||
Title = PageTitleStrings.MainBeatmapsetsControllerIndex;
|
||||
Description = HeaderDescriptionStrings.BeatmapListing;
|
||||
IconTexture = "Icons/Hexacons/beatmap";
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user