PowerToys/Wox.Core/Resource/AvailableLanguages.cs
2016-07-27 20:41:49 +02:00

37 lines
1.3 KiB
C#

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 Russian = new Language("ru", "Русский");
public static Language French = new Language("fr", "Français");
public static Language Japanese = new Language("ja", "日本語");
public static Language Dutch = new Language("nl", "Dutch");
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 List<Language> GetAvailableLanguages()
{
List<Language> languages = new List<Language>
{
English,
Chinese,
Chinese_TW,
Russian,
French,
Japanese,
Dutch,
Polish,
Danish,
German
};
return languages;
}
}
}