2016-01-06 14:45:08 +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");
|
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,
|
|
|
|
|
Serbian
|
2015-01-03 15:20:34 +08:00
|
|
|
|
};
|
|
|
|
|
return languages;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|