mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 09:07:25 +08:00
08f1280aa8
Also applied to `Language` while at it.
123 lines
2.6 KiB
C#
123 lines
2.6 KiB
C#
// 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 JetBrains.Annotations;
|
|
|
|
namespace osu.Game.Localisation
|
|
{
|
|
[UsedImplicitly(ImplicitUseTargetFlags.WithMembers)]
|
|
public enum Language
|
|
{
|
|
[Description(@"English")]
|
|
en,
|
|
|
|
// TODO: Requires Arabic glyphs to be added to resources (and possibly also RTL support).
|
|
// [Description(@"اَلْعَرَبِيَّةُ")]
|
|
// ar,
|
|
|
|
[Description(@"Беларуская мова")]
|
|
be,
|
|
|
|
[Description(@"Български")]
|
|
bg,
|
|
|
|
[Description(@"Česky")]
|
|
cs,
|
|
|
|
[Description(@"Dansk")]
|
|
da,
|
|
|
|
[Description(@"Deutsch")]
|
|
de,
|
|
|
|
[Description(@"Ελληνικά")]
|
|
el,
|
|
|
|
[Description(@"español")]
|
|
es,
|
|
|
|
[Description(@"Suomi")]
|
|
fi,
|
|
|
|
[Description(@"français")]
|
|
fr,
|
|
|
|
[Description(@"Magyar")]
|
|
hu,
|
|
|
|
[Description(@"Bahasa Indonesia")]
|
|
id,
|
|
|
|
[Description(@"Italiano")]
|
|
it,
|
|
|
|
[Description(@"日本語")]
|
|
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")]
|
|
sv,
|
|
|
|
[Description(@"ไทย")]
|
|
th,
|
|
|
|
// 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,
|
|
|
|
[Description(@"Türkçe")]
|
|
tr,
|
|
|
|
[Description(@"Українська мова")]
|
|
uk,
|
|
|
|
[Description(@"Tiếng Việt")]
|
|
vi,
|
|
|
|
[Description(@"简体中文")]
|
|
zh,
|
|
|
|
// 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,
|
|
|
|
[Description(@"繁體中文(台灣)")]
|
|
zh_hant,
|
|
|
|
#if DEBUG
|
|
[Description(@"Debug (show raw keys)")]
|
|
debug
|
|
#endif
|
|
}
|
|
}
|