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

Merge pull request #14093 from Game4all/profile-overlay-pp-weighting

Localise top rank scores weighting in profile overlay
This commit is contained in:
Dean Herbert 2021-08-02 01:41:47 +09:00 committed by GitHub
commit 4a0ca1d65f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,6 +3,7 @@
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Localisation;
using osu.Game.Graphics;
using osu.Game.Graphics.Sprites;
using osu.Game.Resources.Localisation.Web;
@ -52,7 +53,7 @@ namespace osu.Game.Overlays.Profile.Sections.Ranks
new OsuSpriteText
{
Font = OsuFont.GetFont(size: 12),
Text = UsersStrings.ShowExtraTopRanksPpWeight(weight.ToString("0%"))
Text = UsersStrings.ShowExtraTopRanksPpWeight(weight.ToLocalisableString("0%"))
}
}
};