2021-04-20 08:06:26 +00: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 01:42:33 +00:00
|
|
|
using JetBrains.Annotations;
|
2021-04-20 08:06:26 +00:00
|
|
|
|
|
|
|
namespace osu.Game.Localisation
|
|
|
|
{
|
2022-07-16 01:42:33 +00:00
|
|
|
[UsedImplicitly(ImplicitUseTargetFlags.WithMembers)]
|
2021-04-20 08:06:26 +00:00
|
|
|
public enum Language
|
|
|
|
{
|
2021-06-14 07:51:17 +00:00
|
|
|
[Description(@"English")]
|
2021-04-20 08:06:26 +00:00
|
|
|
en,
|
|
|
|
|
2021-06-16 08:25:30 +00:00
|
|
|
// TODO: Requires Arabic glyphs to be added to resources (and possibly also RTL support).
|
|
|
|
// [Description(@"اَلْعَرَبِيَّةُ")]
|
|
|
|
// ar,
|
|
|
|
|
2021-06-16 14:14:48 +00:00
|
|
|
[Description(@"Беларуская мова")]
|
|
|
|
be,
|
2021-06-16 08:25:30 +00:00
|
|
|
|
|
|
|
[Description(@"Български")]
|
|
|
|
bg,
|
|
|
|
|
|
|
|
[Description(@"Česky")]
|
|
|
|
cs,
|
|
|
|
|
|
|
|
[Description(@"Dansk")]
|
|
|
|
da,
|
|
|
|
|
|
|
|
[Description(@"Deutsch")]
|
|
|
|
de,
|
|
|
|
|
2021-06-16 14:14:48 +00:00
|
|
|
[Description(@"Ελληνικά")]
|
|
|
|
el,
|
2021-06-16 08:25:30 +00: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 07:51:17 +00:00
|
|
|
[Description(@"日本語")]
|
2021-06-16 08:25:30 +00: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 10:01:58 +00:00
|
|
|
sv,
|
2021-06-16 08:25:30 +00:00
|
|
|
|
|
|
|
[Description(@"ไทย")]
|
|
|
|
th,
|
|
|
|
|
2021-06-19 06:07:37 +00: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 08:25:30 +00:00
|
|
|
|
|
|
|
[Description(@"Türkçe")]
|
|
|
|
tr,
|
|
|
|
|
2021-06-16 14:14:48 +00:00
|
|
|
[Description(@"Українська мова")]
|
|
|
|
uk,
|
2021-06-16 08:25:30 +00:00
|
|
|
|
|
|
|
[Description(@"Tiếng Việt")]
|
2021-06-16 10:01:58 +00:00
|
|
|
vi,
|
2021-06-16 08:25:30 +00:00
|
|
|
|
|
|
|
[Description(@"简体中文")]
|
|
|
|
zh,
|
|
|
|
|
2021-06-24 16:31:13 +00: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 08:25:30 +00:00
|
|
|
|
|
|
|
[Description(@"繁體中文(台灣)")]
|
2022-04-19 05:30:45 +00:00
|
|
|
zh_hant,
|
|
|
|
|
|
|
|
#if DEBUG
|
|
|
|
[Description(@"Debug (show raw keys)")]
|
2022-04-19 07:49:41 +00:00
|
|
|
debug
|
2022-04-19 05:30:45 +00:00
|
|
|
#endif
|
2021-04-20 08:06:26 +00:00
|
|
|
}
|
|
|
|
}
|