mirror of
https://github.com/ppy/osu.git
synced 2026-06-09 00:04:32 +08:00
Merge pull request #33065 from bdach/tag-localisations
Use localised strings for user/mapper tags on beatmap set overlay
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
||||
// See the LICENCE file in the repository root for full licence text.
|
||||
|
||||
using System.ComponentModel;
|
||||
using osu.Framework.Localisation;
|
||||
using osu.Game.Resources.Localisation.Web;
|
||||
|
||||
@@ -9,10 +8,10 @@ namespace osu.Game.Overlays.BeatmapSet
|
||||
{
|
||||
public enum MetadataType
|
||||
{
|
||||
[Description("User Tags")] // TODO: use translated string after osu-resources update
|
||||
[LocalisableDescription(typeof(BeatmapsetsStrings), nameof(BeatmapsetsStrings.ShowInfoUserTags))]
|
||||
UserTags,
|
||||
|
||||
[Description("Mapper Tags")] // TODO: use translated string after osu-resources update
|
||||
[LocalisableDescription(typeof(BeatmapsetsStrings), nameof(BeatmapsetsStrings.ShowInfoMapperTags))]
|
||||
MapperTags,
|
||||
|
||||
[LocalisableDescription(typeof(BeatmapsetsStrings), nameof(BeatmapsetsStrings.ShowInfoSource))]
|
||||
|
||||
Reference in New Issue
Block a user