mirror of
https://github.com/ppy/osu.git
synced 2026-05-20 16:41:43 +08:00
Revert "Remove duplicated string" and move string to CollectionsStrings
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
using System;
|
||||
using osu.Framework.Allocation;
|
||||
using osu.Framework.Extensions.LocalisationExtensions;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Framework.Graphics.Containers;
|
||||
using osu.Framework.Graphics.Shapes;
|
||||
@@ -80,7 +81,7 @@ namespace osu.Game.Collections
|
||||
{
|
||||
Anchor = Anchor.Centre,
|
||||
Origin = Anchor.Centre,
|
||||
Text = CollectionsStrings.ManageCollections,
|
||||
Text = CollectionsStrings.ManageCollectionsTitle.ToSentence(),
|
||||
Font = OsuFont.GetFont(size: 30),
|
||||
Padding = new MarginPadding { Vertical = 10 },
|
||||
},
|
||||
|
||||
@@ -9,6 +9,11 @@ namespace osu.Game.Localisation
|
||||
{
|
||||
private const string prefix = @"osu.Game.Resources.Localisation.Collections";
|
||||
|
||||
/// <summary>
|
||||
/// "Manage collections"
|
||||
/// </summary>
|
||||
public static LocalisableString ManageCollectionsTitle => new TranslatableString(getKey(@"manage_collections_title"), @"Manage collections");
|
||||
|
||||
/// <summary>
|
||||
/// "Collection"
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user