Skip to content

Commit

Permalink
Revert ui string to use hard coded string
Browse files Browse the repository at this point in the history
  • Loading branch information
Coppertine committed Oct 11, 2024
1 parent 64c818c commit 5c6de15
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions osu.Game.Rulesets.Tau/Localisation/UiStrings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,6 @@ public class UiStrings
/// </summary>
public static LocalisableString ResumeMessage => new TranslatableString(getKey(@"resume_overlay_message"), @"Move the cursor to the highlighted area.");

/// <summary>
/// "Performance Breakdown"
/// </summary>
public static LocalisableString PerformanceBreakdown => new TranslatableString(getKey(@"performance_breakdown"), @"Performance Breakdown");

private static string getKey(string key) => $@"{prefix}:{key}";
}
}
2 changes: 1 addition & 1 deletion osu.Game.Rulesets.Tau/TauRuleset.cs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public override LocalisableString GetDisplayNameForHitResult(HitResult result)

public override StatisticItem[] CreateStatisticsForScore(ScoreInfo score, IBeatmap playableBeatmap) => new[]
{
new StatisticItem(UiStrings.PerformanceBreakdown, () => new PerformanceBreakdownChart(score, playableBeatmap)
new StatisticItem("Performance Breakdown", () => new PerformanceBreakdownChart(score, playableBeatmap)
{
RelativeSizeAxes = Axes.X,
AutoSizeAxes = Axes.Y,
Expand Down

0 comments on commit 5c6de15

Please sign in to comment.