1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 10:52:53 +08:00

Localise "sort by" string in overlays

This commit is contained in:
smoogipoo 2021-06-16 16:21:36 +09:00
parent b24730efdb
commit fafd936c93

View File

@ -18,6 +18,7 @@ using JetBrains.Annotations;
using System; using System;
using osu.Framework.Extensions; using osu.Framework.Extensions;
using osu.Framework.Localisation; using osu.Framework.Localisation;
using osu.Game.Resources.Localisation.Web;
namespace osu.Game.Overlays namespace osu.Game.Overlays
{ {
@ -54,7 +55,7 @@ namespace osu.Game.Overlays
Anchor = Anchor.CentreLeft, Anchor = Anchor.CentreLeft,
Origin = Anchor.CentreLeft, Origin = Anchor.CentreLeft,
Font = OsuFont.GetFont(size: 12, weight: FontWeight.SemiBold), Font = OsuFont.GetFont(size: 12, weight: FontWeight.SemiBold),
Text = @"Sort by" Text = SortStrings.Default
}, },
CreateControl().With(c => CreateControl().With(c =>
{ {