1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 09:17:51 +08:00

fix formatting

This commit is contained in:
Loreos7 2024-02-03 02:02:21 +03:00
parent 4d324a3057
commit 24e5c7ed42
2 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ namespace osu.Game.Localisation
/// <summary>
/// "Based on the last {0} play(s), the suggested offset is {1} ms"
/// </summary>
public static LocalisableString SuggestedOffsetValueReceived(int plays, double? value) => new TranslatableString(getKey(@"suggested_offset_value_received"), @"Based on the last {0} play(s), the suggested offset is {1} ms", plays, value);
public static LocalisableString SuggestedOffsetValueReceived(int plays, string value) => new TranslatableString(getKey(@"suggested_offset_value_received"), @"Based on the last {0} play(s), the suggested offset is {1} ms", plays, value);
/// <summary>
/// "Apply suggested offset"

View File

@ -156,7 +156,7 @@ namespace osu.Game.Overlays.Settings.Sections.Audio
{
hintText.Text = SuggestedOffset.Value == null
? AudioSettingsStrings.SuggestedOffsetNote
: AudioSettingsStrings.SuggestedOffsetValueReceived(averageHitErrorHistory.Count, SuggestedOffset.Value);
: AudioSettingsStrings.SuggestedOffsetValueReceived(averageHitErrorHistory.Count, $"{SuggestedOffset.Value:N0}");
applySuggestion.Enabled.Value = SuggestedOffset.Value != null;
}