mirror of
https://github.com/ppy/osu
synced 2024-12-09 08:30:36 +00:00
Use description correctly
Required for localisation
This commit is contained in:
parent
a83afd00b5
commit
75cb0d093b
@ -69,7 +69,7 @@ namespace osu.Game.Overlays.BeatmapSet
|
||||
Margin = new MarginPadding { Bottom = 8 },
|
||||
Origin = Anchor.BottomCentre,
|
||||
Anchor = Anchor.BottomCentre,
|
||||
Text = value.GetDescription() + " Ranking",
|
||||
Text = value.GetDescription(),
|
||||
Font = OsuFont.GetFont(weight: FontWeight.Regular),
|
||||
},
|
||||
box = new Box
|
||||
|
@ -1,13 +1,22 @@
|
||||
// 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 System.ComponentModel;
|
||||
|
||||
namespace osu.Game.Screens.Select.Leaderboards
|
||||
{
|
||||
public enum BeatmapLeaderboardScope
|
||||
{
|
||||
[Description("Local Ranking")]
|
||||
Local,
|
||||
|
||||
[Description("Country Ranking")]
|
||||
Country,
|
||||
|
||||
[Description("Global Ranking")]
|
||||
Global,
|
||||
|
||||
[Description("Friend Ranking")]
|
||||
Friend,
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user