1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-26 05:12:57 +08:00
osu-lazer/osu.Game/Overlays/BeatmapListing/SearchLanguage.cs

76 lines
2.4 KiB
C#
Raw Normal View History

2020-04-21 14:37:50 +08:00
// 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.
2022-06-17 15:37:17 +08:00
#nullable disable
2021-06-16 14:58:07 +08:00
using osu.Framework.Localisation;
using osu.Framework.Utils;
2021-06-16 14:58:07 +08:00
using osu.Game.Resources.Localisation.Web;
2020-04-21 14:37:50 +08:00
namespace osu.Game.Overlays.BeatmapListing
{
[HasOrderedElements]
public enum SearchLanguage
{
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.LanguageAny))]
2020-04-21 14:37:50 +08:00
[Order(0)]
Any,
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.LanguageUnspecified))]
[Order(14)]
Unspecified,
2020-04-21 14:37:50 +08:00
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.LanguageEnglish))]
2020-04-21 14:37:50 +08:00
[Order(1)]
English,
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.LanguageJapanese))]
2020-04-21 14:37:50 +08:00
[Order(6)]
Japanese,
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.LanguageChinese))]
2020-04-21 14:37:50 +08:00
[Order(2)]
Chinese,
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.LanguageInstrumental))]
2020-06-13 14:48:30 +08:00
[Order(12)]
2020-04-21 14:37:50 +08:00
Instrumental,
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.LanguageKorean))]
2020-04-21 14:37:50 +08:00
[Order(7)]
Korean,
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.LanguageFrench))]
2020-04-21 14:37:50 +08:00
[Order(3)]
French,
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.LanguageGerman))]
2020-04-21 14:37:50 +08:00
[Order(4)]
German,
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.LanguageSwedish))]
2020-04-21 14:37:50 +08:00
[Order(9)]
Swedish,
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.LanguageSpanish))]
2020-04-21 14:37:50 +08:00
[Order(8)]
Spanish,
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.LanguageItalian))]
2020-04-21 14:37:50 +08:00
[Order(5)]
2020-06-13 14:48:30 +08:00
Italian,
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.LanguageRussian))]
2020-06-13 14:48:30 +08:00
[Order(10)]
Russian,
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.LanguagePolish))]
2020-06-13 14:48:30 +08:00
[Order(11)]
2020-06-13 15:20:34 +08:00
Polish,
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.LanguageOther))]
[Order(13)]
Other
2020-04-21 14:37:50 +08:00
}
}