Skip to content

Commit

Permalink
Add back hide common string using new ToSentence() extension method
Browse files Browse the repository at this point in the history
  • Loading branch information
Joehuu committed Jun 4, 2022
1 parent 58c8562 commit 4b54fed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion osu.Game/Screens/Select/Carousel/DrawableCarouselBeatmap.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Extensions.Color4Extensions;
using osu.Framework.Extensions.LocalisationExtensions;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Colour;
using osu.Framework.Graphics.Containers;
Expand Down Expand Up @@ -244,7 +245,7 @@ public MenuItem[] ContextMenuItems
}

if (hideRequested != null)
items.Add(new OsuMenuItem("Hide", MenuItemType.Destructive, () => hideRequested(beatmapInfo)));
items.Add(new OsuMenuItem(CommonStrings.ButtonsHide.ToSentence(), MenuItemType.Destructive, () => hideRequested(beatmapInfo)));

return items.ToArray();
}
Expand Down

0 comments on commit 4b54fed

Please sign in to comment.