1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-03 17:23:57 +08:00

Allow localisation of accuracy display on pause screen

This commit is contained in:
Dean Herbert
2025-10-22 13:56:38 +09:00
Unverified
parent 0644543e28
commit 2ec0cbe5db
+3 -2
View File
@@ -23,7 +23,6 @@ using osuTK;
using osuTK.Graphics;
using osu.Game.Localisation;
using osu.Game.Utils;
using osu.Game.Localisation.HUD;
namespace osu.Game.Screens.Play
{
@@ -233,10 +232,12 @@ namespace osu.Game.Screens.Play
playInfoText.AddText(GameplayMenuOverlayStrings.SongProgress);
playInfoText.AddText($"{progress}%", cp => cp.Font = cp.Font.With(weight: FontWeight.Bold));
}
if (gameplayState != null)
{
playInfoText.NewLine();
playInfoText.AddText("Accuracy: ");
playInfoText.AddText(SongSelectStrings.Accuracy);
playInfoText.AddText(": ");
playInfoText.AddText(gameplayState!.ScoreProcessor.Accuracy.Value.FormatAccuracy(), cp => cp.Font = cp.Font.With(weight: FontWeight.Bold));
}
}