1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-13 08:32:57 +08:00

Use localised string

This commit is contained in:
Bartłomiej Dach 2024-02-07 13:38:05 +01:00
parent 3f51148719
commit 706a16677c
No known key found for this signature in database

View File

@ -5,6 +5,7 @@ using osu.Framework.Graphics;
using osu.Framework.Graphics.Cursor; using osu.Framework.Graphics.Cursor;
using osu.Framework.Graphics.Sprites; using osu.Framework.Graphics.Sprites;
using osu.Framework.Localisation; using osu.Framework.Localisation;
using osu.Game.Resources.Localisation.Web;
namespace osu.Game.Scoring.Drawables namespace osu.Game.Scoring.Drawables
{ {
@ -13,7 +14,7 @@ namespace osu.Game.Scoring.Drawables
/// </summary> /// </summary>
public partial class UnrankedPerformancePointsPlaceholder : SpriteText, IHasTooltip public partial class UnrankedPerformancePointsPlaceholder : SpriteText, IHasTooltip
{ {
public LocalisableString TooltipText => "pp is not awarded for this score"; // todo: replace with localised string ScoresStrings.StatusNoPp. public LocalisableString TooltipText => ScoresStrings.StatusNoPp;
public UnrankedPerformancePointsPlaceholder() public UnrankedPerformancePointsPlaceholder()
{ {