mirror of
https://github.com/ppy/osu.git
synced 2026-06-03 00:20:23 +08:00
Add localisation to Collections string on SongSelect
This commit is contained in:
@@ -232,7 +232,7 @@ namespace osu.Game.Screens.SelectV2
|
||||
if (manageCollectionsDialog != null)
|
||||
collectionItems.Add(new OsuMenuItem("Manage...", MenuItemType.Standard, manageCollectionsDialog.Show));
|
||||
|
||||
items.Add(new OsuMenuItem("Collections") { Items = collectionItems });
|
||||
items.Add(new OsuMenuItem(CommonStrings.Collections) { Items = collectionItems });
|
||||
|
||||
if (beatmapSet.Beatmaps.Any(b => b.Hidden))
|
||||
items.Add(new OsuMenuItem("Restore all hidden", MenuItemType.Standard, () => songSelect?.RestoreAllHidden(beatmapSet)));
|
||||
|
||||
@@ -904,7 +904,7 @@ namespace osu.Game.Screens.SelectV2
|
||||
|
||||
collectionItems.Add(new OsuMenuItem("Manage...", MenuItemType.Standard, () => manageCollectionsDialog?.Show()));
|
||||
|
||||
yield return new OsuMenuItem("Collections") { Items = collectionItems };
|
||||
yield return new OsuMenuItem(CommonStrings.Collections) { Items = collectionItems };
|
||||
}
|
||||
|
||||
public void ManageCollections() => collectionsDialog?.Show();
|
||||
|
||||
Reference in New Issue
Block a user