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", "中文(繁体)");
|
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");
|
2015-01-03 15:20:34 +08:00
|
|
|
|
|
|
|
|
|
public static List<Language> GetAvailableLanguages()
|
|
|
|
|
{
|
|
|
|
|
List<Language> languages = new List<Language>
|
|
|
|
|
{
|
|
|
|
|
English,
|
|
|
|
|
Chinese,
|
2015-09-05 05:35:52 +08:00
|
|
|
|
Chinese_TW,
|
|
|
|
|
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,
|
|
|
|
|
Polish
|
2016-05-24 03:48:20 +08:00
|
|
|
|
|
2015-01-03 15:20:34 +08:00
|
|
|
|
};
|
|
|
|
|
return languages;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|