2021-04-20 16:06:26 +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.
|
|
|
|
|
|
|
|
using System.ComponentModel;
|
2022-07-16 09:42:33 +08:00
|
|
|
using JetBrains.Annotations;
|
2021-04-20 16:06:26 +08:00
|
|
|
|
|
|
|
namespace osu.Game.Localisation
|
|
|
|
{
|
2022-07-16 09:42:33 +08:00
|
|
|
[UsedImplicitly(ImplicitUseTargetFlags.WithMembers)]
|
2021-04-20 16:06:26 +08:00
|
|
|
public enum Language
|
|
|
|
{
|
2021-06-14 15:51:17 +08:00
|
|
|
[Description(@"English")]
|
2021-04-20 16:06:26 +08:00
|
|
|
en,
|
|
|
|
|
2021-06-16 16:25:30 +08:00
|
|
|
// TODO: Requires Arabic glyphs to be added to resources (and possibly also RTL support).
|
|
|
|
// [Description(@"اَلْعَرَبِيَّةُ")]
|
|
|
|
// ar,
|
|
|
|
|
2021-06-16 22:14:48 +08:00
|
|
|
[Description(@"Беларуская мова")]
|
|
|
|
be,
|
2021-06-16 16:25:30 +08:00
|
|
|
|
|
|
|
[Description(@"Български")]
|
|
|
|
bg,
|
|
|
|
|
|
|
|
[Description(@"Česky")]
|
|
|
|
cs,
|
|
|
|
|
|
|
|
[Description(@"Dansk")]
|
|
|
|
da,
|
|
|
|
|
|
|
|
[Description(@"Deutsch")]
|
|
|
|
de,
|
|
|
|
|
2021-06-16 22:14:48 +08:00
|
|
|
[Description(@"Ελληνικά")]
|
|
|
|
el,
|
2021-06-16 16:25:30 +08:00
|
|
|
|
|
|
|
[Description(@"español")]
|
|
|
|
es,
|
|
|
|
|
|
|
|
[Description(@"Suomi")]
|
|
|
|
fi,
|
|
|
|
|
|
|
|
[Description(@"français")]
|
|
|
|
fr,
|
|
|
|
|
|
|
|
[Description(@"Magyar")]
|
|
|
|
hu,
|
|
|
|
|
|
|
|
[Description(@"Bahasa Indonesia")]
|
|
|
|
id,
|
|
|
|
|
|
|
|
[Description(@"Italiano")]
|
|
|
|
it,
|
|
|
|
|
2021-06-14 15:51:17 +08:00
|
|
|
[Description(@"日本語")]
|
2021-06-16 16:25:30 +08:00
|
|
|
ja,
|
|
|
|
|
|
|
|
[Description(@"한국어")]
|
|
|
|
ko,
|
|
|
|
|
|
|
|
[Description(@"Nederlands")]
|
|
|
|
nl,
|
|
|
|
|
|
|
|
[Description(@"Norsk")]
|
|
|
|
no,
|
|
|
|
|
|
|
|
[Description(@"polski")]
|
|
|
|
pl,
|
|
|
|
|
|
|
|
[Description(@"Português")]
|
|
|
|
pt,
|
|
|
|
|
|
|
|
[Description(@"Português (Brasil)")]
|
|
|
|
pt_br,
|
|
|
|
|
|
|
|
[Description(@"Română")]
|
|
|
|
ro,
|
|
|
|
|
|
|
|
[Description(@"Русский")]
|
|
|
|
ru,
|
|
|
|
|
|
|
|
[Description(@"Slovenčina")]
|
|
|
|
sk,
|
|
|
|
|
|
|
|
[Description(@"Svenska")]
|
2021-06-16 18:01:58 +08:00
|
|
|
sv,
|
2021-06-16 16:25:30 +08:00
|
|
|
|
|
|
|
[Description(@"ไทย")]
|
|
|
|
th,
|
|
|
|
|
2021-06-19 14:07:37 +08:00
|
|
|
// Tagalog has no associated localisations yet, and is not supported on Xamarin platforms or Windows versions <10.
|
|
|
|
// Can be revisited if localisations ever arrive.
|
|
|
|
//[Description(@"Tagalog")]
|
|
|
|
//tl,
|
2021-06-16 16:25:30 +08:00
|
|
|
|
|
|
|
[Description(@"Türkçe")]
|
|
|
|
tr,
|
|
|
|
|
2021-06-16 22:14:48 +08:00
|
|
|
[Description(@"Українська мова")]
|
|
|
|
uk,
|
2021-06-16 16:25:30 +08:00
|
|
|
|
|
|
|
[Description(@"Tiếng Việt")]
|
2021-06-16 18:01:58 +08:00
|
|
|
vi,
|
2021-06-16 16:25:30 +08:00
|
|
|
|
|
|
|
[Description(@"简体中文")]
|
|
|
|
zh,
|
|
|
|
|
2021-06-25 00:31:13 +08:00
|
|
|
// Traditional Chinese (Hong Kong) is listed in web sources but has no associated localisations,
|
|
|
|
// and was wrongly falling back to Simplified Chinese.
|
|
|
|
// Can be revisited if localisations ever arrive.
|
|
|
|
// [Description(@"繁體中文(香港)")]
|
|
|
|
// zh_hk,
|
2021-06-16 16:25:30 +08:00
|
|
|
|
|
|
|
[Description(@"繁體中文(台灣)")]
|
2022-04-19 13:30:45 +08:00
|
|
|
zh_hant,
|
|
|
|
|
|
|
|
#if DEBUG
|
|
|
|
[Description(@"Debug (show raw keys)")]
|
2022-04-19 15:49:41 +08:00
|
|
|
debug
|
2022-04-19 13:30:45 +08:00
|
|
|
#endif
|
2021-04-20 16:06:26 +08:00
|
|
|
}
|
|
|
|
}
|