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");
|
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-01-07 05:34:42 +08:00
|
|
|
|
French
|
2015-01-03 15:20:34 +08:00
|
|
|
|
};
|
|
|
|
|
return languages;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|