mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 15:22:55 +08: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";
|
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>
|
/// <summary>
|
||||||
/// "track recent dev updates in the osu! ecosystem"
|
/// "track recent dev updates in the osu! ecosystem"
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
// 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.
|
// 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
|
namespace osu.Game.Overlays.BeatmapListing
|
||||||
{
|
{
|
||||||
public class BeatmapListingHeader : OverlayHeader
|
public class BeatmapListingHeader : OverlayHeader
|
||||||
@ -11,8 +14,8 @@ namespace osu.Game.Overlays.BeatmapListing
|
|||||||
{
|
{
|
||||||
public BeatmapListingTitle()
|
public BeatmapListingTitle()
|
||||||
{
|
{
|
||||||
Title = "beatmap listing";
|
Title = PageTitleStrings.MainBeatmapsetsControllerIndex;
|
||||||
Description = "browse for new beatmaps";
|
Description = HeaderDescriptionStrings.BeatmapListing;
|
||||||
IconTexture = "Icons/Hexacons/beatmap";
|
IconTexture = "Icons/Hexacons/beatmap";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user