mirror of
https://github.com/ppy/osu
synced 2025-01-05 13:50:03 +00:00
Partly localise Kudosu section.
This commit is contained in:
parent
148eb890ff
commit
2545275f71
@ -12,6 +12,8 @@ using osu.Game.Graphics.Containers;
|
||||
using osu.Game.Graphics.Sprites;
|
||||
using osu.Game.Users;
|
||||
using osu.Framework.Allocation;
|
||||
using osu.Game.Resources.Localisation.Web;
|
||||
using osu.Framework.Localisation;
|
||||
|
||||
namespace osu.Game.Overlays.Profile.Sections.Kudosu
|
||||
{
|
||||
@ -37,7 +39,7 @@ namespace osu.Game.Overlays.Profile.Sections.Kudosu
|
||||
private class CountTotal : CountSection
|
||||
{
|
||||
public CountTotal()
|
||||
: base("Total Kudosu Earned")
|
||||
: base(UsersStrings.ShowExtraKudosuTotal)
|
||||
{
|
||||
DescriptionText.AddText("Based on how much of a contribution the user has made to beatmap moderation. See ");
|
||||
DescriptionText.AddLink("this page", "https://osu.ppy.sh/wiki/Kudosu");
|
||||
@ -56,7 +58,7 @@ namespace osu.Game.Overlays.Profile.Sections.Kudosu
|
||||
set => valueText.Text = value.ToString("N0");
|
||||
}
|
||||
|
||||
public CountSection(string header)
|
||||
public CountSection(LocalisableString header)
|
||||
{
|
||||
RelativeSizeAxes = Axes.X;
|
||||
AutoSizeAxes = Axes.Y;
|
||||
|
Loading…
Reference in New Issue
Block a user