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;
|
2021-01-28 05:01:56 +08:00
|
|
|
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
|
|
|
|
{
|
2021-07-31 06:38:54 +08:00
|
|
|
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.LanguageAny))]
|
2020-04-21 14:37:50 +08:00
|
|
|
[Order(0)]
|
|
|
|
Any,
|
|
|
|
|
2021-07-31 06:38:54 +08:00
|
|
|
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.LanguageUnspecified))]
|
2020-06-15 17:45:50 +08:00
|
|
|
[Order(14)]
|
|
|
|
Unspecified,
|
2020-04-21 14:37:50 +08:00
|
|
|
|
2021-07-31 06:38:54 +08:00
|
|
|
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.LanguageEnglish))]
|
2020-04-21 14:37:50 +08:00
|
|
|
[Order(1)]
|
|
|
|
English,
|
|
|
|
|
2021-07-31 06:38:54 +08:00
|
|
|
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.LanguageJapanese))]
|
2020-04-21 14:37:50 +08:00
|
|
|
[Order(6)]
|
|
|
|
Japanese,
|
|
|
|
|
2021-07-31 06:38:54 +08:00
|
|
|
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.LanguageChinese))]
|
2020-04-21 14:37:50 +08:00
|
|
|
[Order(2)]
|
|
|
|
Chinese,
|
|
|
|
|
2021-07-31 06:38:54 +08:00
|
|
|
[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,
|
|
|
|
|
2021-07-31 06:38:54 +08:00
|
|
|
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.LanguageKorean))]
|
2020-04-21 14:37:50 +08:00
|
|
|
[Order(7)]
|
|
|
|
Korean,
|
|
|
|
|
2021-07-31 06:38:54 +08:00
|
|
|
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.LanguageFrench))]
|
2020-04-21 14:37:50 +08:00
|
|
|
[Order(3)]
|
|
|
|
French,
|
|
|
|
|
2021-07-31 06:38:54 +08:00
|
|
|
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.LanguageGerman))]
|
2020-04-21 14:37:50 +08:00
|
|
|
[Order(4)]
|
|
|
|
German,
|
|
|
|
|
2021-07-31 06:38:54 +08:00
|
|
|
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.LanguageSwedish))]
|
2020-04-21 14:37:50 +08:00
|
|
|
[Order(9)]
|
|
|
|
Swedish,
|
|
|
|
|
2021-07-31 06:38:54 +08:00
|
|
|
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.LanguageSpanish))]
|
2020-04-21 14:37:50 +08:00
|
|
|
[Order(8)]
|
|
|
|
Spanish,
|
|
|
|
|
2021-07-31 06:38:54 +08:00
|
|
|
[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,
|
|
|
|
|
2021-07-31 06:38:54 +08:00
|
|
|
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.LanguageRussian))]
|
2020-06-13 14:48:30 +08:00
|
|
|
[Order(10)]
|
|
|
|
Russian,
|
|
|
|
|
2021-07-31 06:38:54 +08:00
|
|
|
[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,
|
|
|
|
|
2021-07-31 06:38:54 +08:00
|
|
|
[LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.LanguageOther))]
|
2020-06-15 17:45:50 +08:00
|
|
|
[Order(13)]
|
|
|
|
Other
|
2020-04-21 14:37:50 +08:00
|
|
|
}
|
|
|
|
}
|