Added german and danish language support

This commit is contained in:
Tobias Tschinkowitz 2016-07-27 20:41:49 +02:00
parent 1eb549b137
commit e42a22d1f2
3 changed files with 14 additions and 5 deletions

View file

@ -12,6 +12,8 @@ namespace Wox.Core.Resource
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()
{
@ -24,7 +26,9 @@ namespace Wox.Core.Resource
French,
Japanese,
Dutch,
Polish
Polish,
Danish,
German
};
return languages;

View file

@ -25,7 +25,7 @@
<system:String x:Key="maxShowResults">Maximale Anzahl Ergebnissen</system:String>
<system:String x:Key="ignoreHotkeysOnFullscreen">Ignoriere Tastenkombination wenn Fenster im Vollbildmodus ist</system:String>
<system:String x:Key="pythonDirectory">Python-Verzeichnis</system:String>
<system:String x:Key="autoUpdates">Automatische Aktuallisierung</system:String>
<system:String x:Key="autoUpdates">Automatische Aktualisierung</system:String>
<system:String x:Key="selectPythonDirectory">Auswählen</system:String>
<system:String x:Key="hideOnStartup">Verstecke Wox bei Systemstart</system:String>
@ -40,13 +40,13 @@
<system:String x:Key="plugin_query_time">Abfragezeit: {0}ms</system:String>
<!--Setting Theme-->
<system:String x:Key="theme">Thema</system:String>
<system:String x:Key="browserMoreThemes">Suche nach weiteren Themas</system:String>
<system:String x:Key="theme">Theme</system:String>
<system:String x:Key="browserMoreThemes">Suche nach weiteren Themes</system:String>
<system:String x:Key="helloWox">Hallo Wox</system:String>
<system:String x:Key="queryBoxFont">Abfragebox Schriftart</system:String>
<system:String x:Key="resultItemFont">Ergebnis Schriftart</system:String>
<system:String x:Key="windowMode">Fenstermodus</system:String>
<system:String x:Key="opacity">Druchsichtigkeit</system:String>
<system:String x:Key="opacity">Transparenz</system:String>
<!--Setting Hotkey-->
<system:String x:Key="hotkey">Tastenkombination</system:String>

View file

@ -274,6 +274,11 @@
<SubType>Designer</SubType>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Languages\da.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Page Include="MainWindow.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>