PowerToys/Wox.Core/Resource/AvailableLanguages.cs

50 lines
2.0 KiB
C#
Raw Normal View History

2019-02-25 22:34:00 +08:00
using System.Collections.Generic;
namespace Wox.Core.Resource
{
internal static class AvailableLanguages
{
public static Language English = new Language("en", "English");
public static Language Chinese = new Language("zh-cn", "中文");
public static Language Chinese_TW = new Language("zh-tw", "中文(繁体)");
public static Language Ukrainian = new Language("uk-UA", "Українська");
public static Language Russian = new Language("ru", "Русский");
2015-11-28 05:04:13 +08:00
public static Language French = new Language("fr", "Français");
public static Language Japanese = new Language("ja", "日本語");
2016-05-24 03:48:20 +08:00
public static Language Dutch = new Language("nl", "Dutch");
2016-06-11 07:16:45 +08:00
public static Language Polish = new Language("pl", "Polski");
public static Language Danish = new Language("da", "Dansk");
public static Language German = new Language("de", "Deutsch");
public static Language Korean = new Language("ko", "한국어");
2018-07-15 11:24:47 +08:00
public static Language Serbian = new Language("sr", "Srpski");
public static Language Portuguese_BR = new Language("pt-br", "Português (Brasil)");
public static Language Italian = new Language("it", "Italiano");
public static Language Norwegian_Bokmal = new Language("nb-NO", "Norsk Bokmål");
2019-02-25 22:34:00 +08:00
public static Language Slovak = new Language("sk", "Slovenský");
public static List<Language> GetAvailableLanguages()
{
List<Language> languages = new List<Language>
{
English,
Chinese,
2015-09-05 05:35:52 +08:00
Chinese_TW,
Ukrainian,
2015-09-05 05:35:52 +08:00
Russian,
French,
2016-05-24 03:48:20 +08:00
Japanese,
2016-06-11 07:16:45 +08:00
Dutch,
Polish,
Danish,
German,
2018-07-15 11:24:47 +08:00
Korean,
Serbian,
Portuguese_BR,
Italian,
Norwegian_Bokmal
};
return languages;
}
}
2019-02-25 22:34:00 +08:00
}