mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-14 11:39:16 +08:00
d7d2efd58e
* Add japanese Support. * I add following language file * Plugins/Wox.Plugin.WebSearch/Languages/ja.xaml * Wox/Languages/ja.xaml
28 lines
941 B
C#
28 lines
941 B
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 List<Language> GetAvailableLanguages()
|
|
{
|
|
List<Language> languages = new List<Language>
|
|
{
|
|
English,
|
|
Chinese,
|
|
Chinese_TW,
|
|
Russian,
|
|
French,
|
|
Japanese
|
|
};
|
|
return languages;
|
|
}
|
|
}
|
|
} |