2019-02-25 22:34:00 +08:00
|
|
|
using System.Collections.Generic;
|
2015-01-03 15:20:34 +08:00
|
|
|
|
2016-01-08 04:04:37 +08:00
|
|
|
namespace Wox.Core.Resource
|
2015-01-03 15:20:34 +08:00
|
|
|
{
|
|
|
|
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", "中文(繁体)");
|
2016-10-11 13:47:34 +08:00
|
|
|
public static Language Ukrainian = new Language("uk-UA", "Українська");
|
2015-09-05 05:38:28 +08:00
|
|
|
public static Language Russian = new Language("ru", "Русский");
|
2015-11-28 05:04:13 +08:00
|
|
|
public static Language French = new Language("fr", "Français");
|
2016-02-09 22:30:54 +08:00
|
|
|
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");
|
2016-07-28 02:41:49 +08:00
|
|
|
public static Language Danish = new Language("da", "Dansk");
|
|
|
|
public static Language German = new Language("de", "Deutsch");
|
2017-03-02 07:17:39 +08:00
|
|
|
public static Language Korean = new Language("ko", "한국어");
|
2018-07-15 11:24:47 +08:00
|
|
|
public static Language Serbian = new Language("sr", "Srpski");
|
2018-07-20 01:53:12 +08:00
|
|
|
public static Language Portuguese_BR = new Language("pt-br", "Português (Brasil)");
|
2018-08-11 18:45:46 +08:00
|
|
|
public static Language Italian = new Language("it", "Italiano");
|
2018-08-27 22:37:43 +08:00
|
|
|
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ý");
|
2015-01-03 15:20:34 +08:00
|
|
|
|
|
|
|
public static List<Language> GetAvailableLanguages()
|
|
|
|
{
|
|
|
|
List<Language> languages = new List<Language>
|
|
|
|
{
|
2016-10-11 13:47:34 +08:00
|
|
|
English,
|
|
|
|
Chinese,
|
2015-09-05 05:35:52 +08:00
|
|
|
Chinese_TW,
|
2016-10-11 13:47:34 +08:00
|
|
|
Ukrainian,
|
2015-09-05 05:35:52 +08:00
|
|
|
Russian,
|
2016-02-09 22:30:54 +08:00
|
|
|
French,
|
2016-05-24 03:48:20 +08:00
|
|
|
Japanese,
|
2016-06-11 07:16:45 +08:00
|
|
|
Dutch,
|
2016-07-28 02:41:49 +08:00
|
|
|
Polish,
|
|
|
|
Danish,
|
2017-03-02 07:17:39 +08:00
|
|
|
German,
|
2018-07-15 11:24:47 +08:00
|
|
|
Korean,
|
2018-07-20 01:53:12 +08:00
|
|
|
Serbian,
|
|
|
|
Portuguese_BR,
|
2018-08-27 22:37:43 +08:00
|
|
|
Italian,
|
|
|
|
Norwegian_Bokmal
|
2015-01-03 15:20:34 +08:00
|
|
|
};
|
|
|
|
return languages;
|
|
|
|
}
|
|
|
|
}
|
2019-02-25 22:34:00 +08:00
|
|
|
}
|