diff --git a/installer/PowerToysSetup/Product.wxs b/installer/PowerToysSetup/Product.wxs index dee4bedd4..54d558219 100644 --- a/installer/PowerToysSetup/Product.wxs +++ b/installer/PowerToysSetup/Product.wxs @@ -874,20 +874,6 @@ - - - - - - - - - - - - - - @@ -906,20 +892,6 @@ - - - - - - - - - - - - - - @@ -936,20 +908,6 @@ - - - - - - - - - - - - - - @@ -967,20 +925,6 @@ - - - - - - - - - - - - - - @@ -999,20 +943,6 @@ - - - - - - - - - - - - - - @@ -1029,20 +959,6 @@ - - - - - - - - - - - - - - @@ -1059,9 +975,6 @@ - - - diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Calculator/Languages/de.xaml b/src/modules/launcher/Plugins/Microsoft.Plugin.Calculator/Languages/de.xaml deleted file mode 100644 index 150a7f8b1..000000000 --- a/src/modules/launcher/Plugins/Microsoft.Plugin.Calculator/Languages/de.xaml +++ /dev/null @@ -1,10 +0,0 @@ - - - Rechner - Stellt mathematische Berechnungen bereit.(Versuche 5*3-2 in Wox) - Keine Zahl (NaN) - Ausdruck falsch oder nicht vollständig (Klammern vergessen?) - Diese Zahl in die Zwischenablage kopieren - \ No newline at end of file diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Calculator/Languages/en.xaml b/src/modules/launcher/Plugins/Microsoft.Plugin.Calculator/Languages/en.xaml deleted file mode 100644 index cf7d16ecb..000000000 --- a/src/modules/launcher/Plugins/Microsoft.Plugin.Calculator/Languages/en.xaml +++ /dev/null @@ -1,10 +0,0 @@ - - - Calculator - Allows to do mathematical calculations.(Try 5*3-2 in Wox) - Not a number (NaN) - Expression wrong or incomplete (Did you forget some parentheses?) - Copy this number to the clipboard - \ No newline at end of file diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Calculator/Languages/pl.xaml b/src/modules/launcher/Plugins/Microsoft.Plugin.Calculator/Languages/pl.xaml deleted file mode 100644 index a1d8fcb36..000000000 --- a/src/modules/launcher/Plugins/Microsoft.Plugin.Calculator/Languages/pl.xaml +++ /dev/null @@ -1,8 +0,0 @@ - - - Kalkulator - Szybkie wykonywanie obliczeń matematycznych. (Spróbuj wpisać 5*3-2 w oknie Woxa) - - \ No newline at end of file diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Calculator/Languages/tr.xaml b/src/modules/launcher/Plugins/Microsoft.Plugin.Calculator/Languages/tr.xaml deleted file mode 100644 index c4a8992c3..000000000 --- a/src/modules/launcher/Plugins/Microsoft.Plugin.Calculator/Languages/tr.xaml +++ /dev/null @@ -1,10 +0,0 @@ - - - Hesap Makinesi - Matematiksel hesaplamalar yapmaya yarar. (5*3-2 yazmayı deneyin) - Sayı değil (NaN) - İfade hatalı ya da eksik. (Parantez koymayı mı unuttunuz?) - Bu sayıyı panoya kopyala - \ No newline at end of file diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Calculator/Languages/zh-cn.xaml b/src/modules/launcher/Plugins/Microsoft.Plugin.Calculator/Languages/zh-cn.xaml deleted file mode 100644 index aa6093346..000000000 --- a/src/modules/launcher/Plugins/Microsoft.Plugin.Calculator/Languages/zh-cn.xaml +++ /dev/null @@ -1,8 +0,0 @@ - - - 计算器 - 为Wox提供数学计算能力。(试着在Wox输入 5*3-2) - - \ No newline at end of file diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Calculator/Languages/zh-tw.xaml b/src/modules/launcher/Plugins/Microsoft.Plugin.Calculator/Languages/zh-tw.xaml deleted file mode 100644 index f4be6f567..000000000 --- a/src/modules/launcher/Plugins/Microsoft.Plugin.Calculator/Languages/zh-tw.xaml +++ /dev/null @@ -1,8 +0,0 @@ - - - 計算機 - 為 Wox 提供數學計算功能。(試著在 Wox 輸入 5*3-2) - - diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Calculator/LocProject.json b/src/modules/launcher/Plugins/Microsoft.Plugin.Calculator/LocProject.json new file mode 100644 index 000000000..ba16778e9 --- /dev/null +++ b/src/modules/launcher/Plugins/Microsoft.Plugin.Calculator/LocProject.json @@ -0,0 +1,14 @@ +{ + "Projects": [ + { + "LanguageSet": "Azure_Languages", + "LocItems": [ + { + "SourceFile": "src\\modules\\launcher\\Plugins\\Microsoft.Plugin.Calculator\\Properties\\Resources.resx", + "CopyOption": "LangIDOnName", + "OutputPath": "src\\modules\\launcher\\Plugins\\Microsoft.Plugin.Calculator\\Properties" + } + ] + } + ] +} diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Calculator/Main.cs b/src/modules/launcher/Plugins/Microsoft.Plugin.Calculator/Main.cs index ab69ee5dc..b0a5737ec 100644 --- a/src/modules/launcher/Plugins/Microsoft.Plugin.Calculator/Main.cs +++ b/src/modules/launcher/Plugins/Microsoft.Plugin.Calculator/Main.cs @@ -62,12 +62,12 @@ namespace Microsoft.Plugin.Calculator if (result.ToString() == "NaN") { - result = Context.API.GetTranslation("wox_plugin_calculator_not_a_number"); + result = Properties.Resources.wox_plugin_calculator_not_a_number; } if (result is Function) { - result = Context.API.GetTranslation("wox_plugin_calculator_expression_not_complete"); + result = Properties.Resources.wox_plugin_calculator_expression_not_complete; } if (!string.IsNullOrEmpty(result?.ToString())) @@ -81,7 +81,7 @@ namespace Microsoft.Plugin.Calculator Title = roundedResult.ToString(CultureInfo.CurrentCulture), IcoPath = IconPath, Score = 300, - SubTitle = Context.API.GetTranslation("wox_plugin_calculator_copy_number_to_clipboard"), + SubTitle = Properties.Resources.wox_plugin_calculator_copy_number_to_clipboard, Action = c => { var ret = false; @@ -94,7 +94,7 @@ namespace Microsoft.Plugin.Calculator } catch (ExternalException) { - MessageBox.Show("Copy failed, please try later"); + MessageBox.Show(Properties.Resources.wox_plugin_calculator_copy_failed); } }); thread.SetApartmentState(ApartmentState.STA); @@ -167,12 +167,12 @@ namespace Microsoft.Plugin.Calculator public string GetTranslatedPluginTitle() { - return Context.API.GetTranslation("wox_plugin_calculator_plugin_name"); + return Properties.Resources.wox_plugin_calculator_plugin_name; } public string GetTranslatedPluginDescription() { - return Context.API.GetTranslation("wox_plugin_calculator_plugin_description"); + return Properties.Resources.wox_plugin_calculator_plugin_description; } public void Dispose() diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Calculator/Microsoft.Plugin.Calculator.csproj b/src/modules/launcher/Plugins/Microsoft.Plugin.Calculator/Microsoft.Plugin.Calculator.csproj index 22fb395ee..cb0202236 100644 --- a/src/modules/launcher/Plugins/Microsoft.Plugin.Calculator/Microsoft.Plugin.Calculator.csproj +++ b/src/modules/launcher/Plugins/Microsoft.Plugin.Calculator/Microsoft.Plugin.Calculator.csproj @@ -12,6 +12,7 @@ false false x64 + en-US @@ -39,6 +40,13 @@ MinimumRecommendedRules.ruleset 4 + + + + + + + @@ -50,53 +58,6 @@ - - - MSBuild:Compile - Designer - PreserveNewest - - - - - - MSBuild:Compile - Designer - PreserveNewest - - - - - - MSBuild:Compile - Designer - PreserveNewest - - - - - - MSBuild:Compile - Designer - PreserveNewest - - - - - - MSBuild:Compile - Designer - PreserveNewest - - - - - - MSBuild:Compile - Designer - PreserveNewest - - @@ -133,4 +94,17 @@ all + + + True + True + Resources.resx + + + + + PublicResXFileCodeGenerator + Resources.Designer.cs + + \ No newline at end of file diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Calculator/Properties/Resources.Designer.cs b/src/modules/launcher/Plugins/Microsoft.Plugin.Calculator/Properties/Resources.Designer.cs new file mode 100644 index 000000000..98752f0b5 --- /dev/null +++ b/src/modules/launcher/Plugins/Microsoft.Plugin.Calculator/Properties/Resources.Designer.cs @@ -0,0 +1,117 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Microsoft.Plugin.Calculator.Properties { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + public class Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + public static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.Plugin.Calculator.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + public static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized string similar to Copy failed, please try later. + /// + public static string wox_plugin_calculator_copy_failed { + get { + return ResourceManager.GetString("wox_plugin_calculator_copy_failed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Copy this number to the clipboard. + /// + public static string wox_plugin_calculator_copy_number_to_clipboard { + get { + return ResourceManager.GetString("wox_plugin_calculator_copy_number_to_clipboard", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Expression wrong or incomplete (Did you forget some parentheses?). + /// + public static string wox_plugin_calculator_expression_not_complete { + get { + return ResourceManager.GetString("wox_plugin_calculator_expression_not_complete", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Not a number (NaN). + /// + public static string wox_plugin_calculator_not_a_number { + get { + return ResourceManager.GetString("wox_plugin_calculator_not_a_number", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Allows you to do mathematical calculations. (Try 5*3-2 in PowerToys Run). + /// + public static string wox_plugin_calculator_plugin_description { + get { + return ResourceManager.GetString("wox_plugin_calculator_plugin_description", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Calculator. + /// + public static string wox_plugin_calculator_plugin_name { + get { + return ResourceManager.GetString("wox_plugin_calculator_plugin_name", resourceCulture); + } + } + } +} diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Calculator/Properties/Resources.resx b/src/modules/launcher/Plugins/Microsoft.Plugin.Calculator/Properties/Resources.resx new file mode 100644 index 000000000..a14e94328 --- /dev/null +++ b/src/modules/launcher/Plugins/Microsoft.Plugin.Calculator/Properties/Resources.resx @@ -0,0 +1,138 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Calculator + + + Allows you to do mathematical calculations. (Try 5*3-2 in PowerToys Run) + + + Not a number (NaN) + + + Expression wrong or incomplete (Did you forget some parentheses?) + + + Copy this number to the clipboard + + + Copy failed, please try later + + \ No newline at end of file diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Folder/ContextMenuLoader.cs b/src/modules/launcher/Plugins/Microsoft.Plugin.Folder/ContextMenuLoader.cs index aeae2d1f1..6d3990257 100644 --- a/src/modules/launcher/Plugins/Microsoft.Plugin.Folder/ContextMenuLoader.cs +++ b/src/modules/launcher/Plugins/Microsoft.Plugin.Folder/ContextMenuLoader.cs @@ -39,7 +39,7 @@ namespace Microsoft.Plugin.Folder contextMenus.Add(new ContextMenuResult { PluginName = Assembly.GetExecutingAssembly().GetName().Name, - Title = _context.API.GetTranslation("Microsoft_plugin_folder_copy_path"), + Title = Properties.Resources.Microsoft_plugin_folder_copy_path, Glyph = "\xE8C8", FontFamily = "Segoe MDL2 Assets", AcceleratorKey = Key.C, @@ -53,7 +53,7 @@ namespace Microsoft.Plugin.Folder } catch (Exception e) { - var message = "Fail to set text in clipboard"; + var message = Properties.Resources.Microsoft_plugin_folder_clipboard_failed; LogException(message, e); _context.API.ShowMsg(message); return false; @@ -64,7 +64,7 @@ namespace Microsoft.Plugin.Folder contextMenus.Add(new ContextMenuResult { PluginName = Assembly.GetExecutingAssembly().GetName().Name, - Title = _context.API.GetTranslation("Microsoft_plugin_folder_open_in_console"), + Title = Properties.Resources.Microsoft_plugin_folder_open_in_console, Glyph = "\xE756", FontFamily = "Segoe MDL2 Assets", AcceleratorKey = Key.C, @@ -103,7 +103,7 @@ namespace Microsoft.Plugin.Folder return new ContextMenuResult { PluginName = Assembly.GetExecutingAssembly().GetName().Name, - Title = _context.API.GetTranslation("Microsoft_plugin_folder_open_containing_folder"), + Title = Properties.Resources.Microsoft_plugin_folder_open_containing_folder, Glyph = "\xE838", FontFamily = "Segoe MDL2 Assets", AcceleratorKey = Key.E, diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Folder/FolderPluginSettings.xaml b/src/modules/launcher/Plugins/Microsoft.Plugin.Folder/FolderPluginSettings.xaml deleted file mode 100644 index 4d758abf3..000000000 --- a/src/modules/launcher/Plugins/Microsoft.Plugin.Folder/FolderPluginSettings.xaml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/modules/launcher/PowerLauncher/ActionKeywords.xaml.cs b/src/modules/launcher/PowerLauncher/ActionKeywords.xaml.cs deleted file mode 100644 index fc94737d9..000000000 --- a/src/modules/launcher/PowerLauncher/ActionKeywords.xaml.cs +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright (c) Microsoft Corporation -// The Microsoft Corporation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -using System.Windows; -using Wox.Core.Plugin; -using Wox.Core.Resource; -using Wox.Infrastructure.UserSettings; -using Wox.Plugin; - -namespace Wox -{ - public partial class ActionKeywords : Window - { - private readonly Internationalization _translater = InternationalizationManager.Instance; - private readonly PluginPair _plugin; - - public ActionKeywords(string pluginId) - { - InitializeComponent(); - _plugin = PluginManager.GetPluginForId(pluginId); - - if (_plugin == null) - { - MessageBox.Show(_translater.GetTranslation("cannotFindSpecifiedPlugin")); - Close(); - } - } - - private void ActionKeyword_OnLoaded(object sender, RoutedEventArgs e) - { - tbOldActionKeyword.Text = string.Join(Query.ActionKeywordSeparator, _plugin.Metadata.ActionKeywords.ToArray()); - tbAction.Focus(); - } - - private void BtnCancel_OnClick(object sender, RoutedEventArgs e) - { - Close(); - } - - private void BtnDone_OnClick(object sender, RoutedEventArgs e) - { - var oldActionKeyword = _plugin.Metadata.ActionKeywords[0]; - var newActionKeyword = tbAction.Text.Trim(); - newActionKeyword = newActionKeyword.Length > 0 ? newActionKeyword : "*"; - if (!PluginManager.ActionKeywordRegistered(newActionKeyword)) - { - var id = _plugin.Metadata.ID; - PluginManager.ReplaceActionKeyword(id, oldActionKeyword, newActionKeyword); - MessageBox.Show(_translater.GetTranslation("success")); - Close(); - } - else - { - string msg = _translater.GetTranslation("newActionKeywordsHasBeenAssigned"); - MessageBox.Show(msg); - } - } - } -} diff --git a/src/modules/launcher/PowerLauncher/App.xaml b/src/modules/launcher/PowerLauncher/App.xaml index ec92b631a..31222632d 100644 --- a/src/modules/launcher/PowerLauncher/App.xaml +++ b/src/modules/launcher/PowerLauncher/App.xaml @@ -7,7 +7,6 @@ - diff --git a/src/modules/launcher/PowerLauncher/App.xaml.cs b/src/modules/launcher/PowerLauncher/App.xaml.cs index 24b893091..8301943d9 100644 --- a/src/modules/launcher/PowerLauncher/App.xaml.cs +++ b/src/modules/launcher/PowerLauncher/App.xaml.cs @@ -12,7 +12,6 @@ using PowerLauncher.Helper; using PowerLauncher.ViewModel; using Wox; using Wox.Core.Plugin; -using Wox.Core.Resource; using Wox.Infrastructure; using Wox.Infrastructure.Http; using Wox.Infrastructure.Image; @@ -101,11 +100,6 @@ namespace PowerLauncher Current.MainWindow = _mainWindow; Current.MainWindow.Title = Constant.ExeFileName; - // happlebao todo temp fix for instance code logic - // load plugin before change language, because plugin language also needs be changed - InternationalizationManager.Instance.Settings = _settings; - InternationalizationManager.Instance.ChangeLanguage(_settings.Language); - // main windows needs initialized before theme change because of blur settings Http.Proxy = _settings.Proxy; diff --git a/src/modules/launcher/PowerLauncher/Languages/da.xaml b/src/modules/launcher/PowerLauncher/Languages/da.xaml deleted file mode 100644 index 7b699dfe4..000000000 --- a/src/modules/launcher/PowerLauncher/Languages/da.xaml +++ /dev/null @@ -1,143 +0,0 @@ - - - Start typing... - Kunne ikke registrere genvejstast: {0} - Kunne ikke starte {0} - Ugyldigt Wox plugin filformat - Sæt øverst i denne søgning - Annuller øverst i denne søgning - Udfør søgning: {0} - Seneste afviklingstid: {0} - Åben - Indstillinger - Om - Afslut - - - Wox indstillinger - Generelt - Start Wox ved system start - Skjul Wox ved mistet fokus - Vis ikke notifikationer om nye versioner - Husk seneste position - Sprog - Maksimum antal resultater vist - Ignorer genvejstaster i fuldskærmsmode - Autoopdatering - Skjul Wox ved opstart - - - Plugin - Find flere plugins - Deaktiver - Nøgleord - Plugin bibliotek - Forfatter - Initaliseringstid: {0}ms - Søgetid: {0}ms - - - Tema - Søg efter flere temaer - Hej Wox - Søgefelt skrifttype - Resultat skrifttype - Vindue mode - Gennemsigtighed - - - Genvejstast - Wox genvejstast - Tilpasset søgegenvejstast - Slet - Rediger - Tilføj - Vælg venligst - Er du sikker på du vil slette {0} plugin genvejstast? - - - HTTP Proxy - Aktiver HTTP Proxy - HTTP Server - Port - Brugernavn - Adgangskode - Test Proxy - Gem - Server felt må ikke være tomt - Port felt må ikke være tomt - Ugyldigt port format - Proxy konfiguration gemt - Proxy konfiguret korrekt - Proxy forbindelse fejlet - - - Om - Website - Version - Du har aktiveret Wox {0} gange - Tjek for opdateringer - Ny version {0} er tilgængelig, genstart venligst Wox - Release Notes: - - - Gammelt nøgleord - Nyt nøgleord - Annuller - Færdig - Kan ikke finde det valgte plugin - Nyt nøgleord må ikke være tomt - Nyt nøgleord er tilknyttet et andet plugin, tilknyt venligst et andet nyt nøgeleord - Fortsæt - Brug * hvis du ikke vil angive et nøgleord - - - Vis - Genvejstast er utilgængelig, vælg venligst en ny genvejstast - Ugyldig plugin genvejstast - Opdater - - - Genvejstast utilgængelig - - - Version - Tid - Beskriv venligst hvordan Wox crashede, så vi kan rette det. - Send rapport - Annuller - Generelt - Exceptions - Exception Type - Kilde - Stack Trace - Sender - Rapport sendt korrekt - Kunne ikke sende rapport - PT Run fik en fejl - - - Ny Wox udgivelse {0} er nu tilgængelig - Der skete en fejl ifm. opdatering af Wox - Opdater - Annuler - Denne opdatering vil genstarte Wox - Følgende filer bliver opdateret - Opdatereringsfiler - Opdateringsbeskrivelse - - - Application Icon - Context Menu Item - Context Menu Item Additional Information - Context Menu Icon - Context Menu Items Collection - Query - Results - Search Icon - Subtitle - Title - - diff --git a/src/modules/launcher/PowerLauncher/Languages/de.xaml b/src/modules/launcher/PowerLauncher/Languages/de.xaml deleted file mode 100644 index c900ac911..000000000 --- a/src/modules/launcher/PowerLauncher/Languages/de.xaml +++ /dev/null @@ -1,157 +0,0 @@ - - - Start typing... - Tastenkombinationregistrierung: {0} fehlgeschlagen - Kann {0} nicht starten - Fehlerhaftes Wox-Plugin Dateiformat - In dieser Abfrage als oberstes setzen - In dieser Abfrage oberstes abbrechen - Abfrage ausführen:{0} - Letzte Ausführungszeit:{0} - Öffnen - Einstellungen - Über - Schließen - - - Wox Einstellungen - Allgemein - Starte Wox bei Systemstart - Verstecke Wox wenn der Fokus verloren geht - Zeige keine Nachricht wenn eine neue Version vorhanden ist - Merke letzte Ausführungsposition - Sprache - Letzter Anfragenstyle - Letzte erhaltene Anfrage - Letzte Anfrage anuswählen - Leerer letzte Anfrage - Maximale Anzahl Ergebnissen - Ignoriere Tastenkombination wenn Fenster im Vollbildmodus ist - Automatische Aktualisierung - Verstecke Wox bei Systemstart - Verstecke Taskbar icon - Suchanfrage verfeinern - Sollte Pinyin benutzen - - - Plugin - Suche nach weiteren Plugins - Deaktivieren - Aktionsschlüsselwörter - Pluginordner - Autor - Initialisierungszeit: {0}ms - Abfragezeit: {0}ms - - - Theme - Suche nach weiteren Themes - Hallo Wox - Abfragebox Schriftart - Ergebnis Schriftart - Fenstermodus - Transparenz - Design {0} existiert nicht. Zurück zum Standarddesign - Fehler beim Laden von Design {0}. Zurück zum Standarddesign - - - Tastenkombination - Wox Tastenkombination - Benutzerdefinierte Abfrage Tastenkombination - Löschen - Bearbeiten - Hinzufügen - Bitte einen Eintrag auswählen - Wollen Sie die {0} Plugin Tastenkombination wirklich löschen? - - - HTTP Proxy - Aktiviere HTTP Proxy - HTTP Server - Port - Benutzername - Passwort - Teste Proxy - Speichern - Server darf nicht leer sein - Server Port darf nicht leer sein - Falsches Port Format - Proxy wurde erfolgreich gespeichert - Proxy ist korrekt - Verbindung zum Proxy fehlgeschlagen - - - Über - Webseite - Version - Sie haben Wox {0} mal aktiviert - Nach Aktuallisierungen Suchen - Eine neue Version ({0}) ist vorhanden. Bitte starten Sie Wox neu. - Suche nach Updates gescheitert, bitte überprüfe deine Verbindung und Proxyeinstelllungen zu api.github.com - - Updates herunterladen gescheitert, bitte überprüfe deine Verbindung und Proxyeinstelllungen zu github-cloud.s3.amazonaws.com - oder gehe zu https://github.com/Wox-launcher/Wox/releases um automatisch herunterzuladen. - - Versionshinweise: - - - Altes Aktionsschlüsselwort - Neues Aktionsschlüsselwort - Abbrechen - Fertig - Kann das angegebene Plugin nicht finden - Neues Aktionsschlüsselwort darf nicht leer sein - Aktionsschlüsselwort ist schon bei einem anderen Plugin in verwendung. Bitte stellen Sie ein anderes Aktionsschlüsselwort ein. - Erfolgreich - Benutzen Sie * wenn Sie ein Aktionsschlüsselwort definieren wollen. - - - Vorschau - Tastenkombination ist nicht verfügbar, bitte wähle eine andere Tastenkombination - Ungültige Plugin Tastenkombination - Aktualisieren - - - Tastenkombination nicht verfügbar - - - Version - Zeit - Bitte teilen Sie uns mit, wie die Anwendung abgestürzt ist, damit wir den Fehler beheben können. - Sende Report - Abbrechen - Allgemein - Fehler - Fehlertypen - Quelle - Stack Trace - Sende - Report erfolgreich - Report fehlgeschlagen - PT Run hat einen Fehler - - - V{0} von Wox ist verfügbar - Es ist ein Fehler während der Installation der Aktualisierung aufgetreten. - Aktualisieren - Abbrechen - Diese Aktualisierung wird Wox neu starten - Folgende Dateien werden aktualisiert - Aktualisiere Dateien - Aktualisierungbeschreibung - - - Application Icon - Context Menu Item - Context Menu Item Additional Information - Context Menu Icon - Context Menu Items Collection - Query - Results - Search Icon - Subtitle - Title - - diff --git a/src/modules/launcher/PowerLauncher/Languages/en.xaml b/src/modules/launcher/PowerLauncher/Languages/en.xaml deleted file mode 100644 index 75a5f930f..000000000 --- a/src/modules/launcher/PowerLauncher/Languages/en.xaml +++ /dev/null @@ -1,157 +0,0 @@ - - - Start typing... - Failed to register hotkey: {0} - Could not start {0} - Invalid Wox plugin file format - Set as topmost in this query - Cancel topmost in this query - Execute query: {0} - Last execution time: {0} - Open - Settings - About - Exit - - - Wox Settings - General - Start Wox on system startup - Hide Wox when focus is lost - Do not show new version notifications - Remember last launch location - Language - Last Query Style - Preserve Last Query - Select last Query - Empty last Query - Maximum results shown - Ignore hotkeys in fullscreen mode - Auto Update - Hide Wox on startup - Hide tray icon - Query Search Precision - Should Use Pinyin - - - Plugin - Find more plugins - Disable - Action keywords - Plugin Directory - Author - Init time: {0}ms - Query time: {0}ms - - - Theme - Browse for more themes - Hello Wox - Query Box Font - Result Item Font - Window Mode - Opacity - Theme {0} not exists, fallback to default theme - Fail to load theme {0}, fallback to default theme - - - Hotkey - Wox Hotkey - Custom Query Hotkey - Delete - Edit - Add - Please select an item - Are you sure you want to delete {0} plugin hotkey? - - - HTTP Proxy - Enable HTTP Proxy - HTTP Server - Port - User Name - Password - Test Proxy - Save - Server field can't be empty - Port field can't be empty - Invalid port format - Proxy configuration saved successfully - Proxy configured correctly - Proxy connection failed - - - About - Website - Version - You have activated Wox {0} times - Check for Updates - New version {0} is available, please restart Wox. - Check updates failed, please check your connection and proxy settings to api.github.com. - - Download updates failed, please check your connection and proxy settings to github-cloud.s3.amazonaws.com, - or go to https://github.com/Wox-launcher/Wox/releases to download updates manually. - - Release Notes: - - - Old Action Keyword - New Action Keyword - Cancel - Done - Can't find specified plugin - New Action Keyword can't be empty - New Action Keywords have been assigned to another plugin, please assign other new action keyword - Success - Use * if you don't want to specify an action keyword - - - Preview - Hotkey is unavailable, please select a new hotkey - Invalid plugin hotkey - Update - - - Hotkey unavailable - - - Version - Time - Please tell us how application crashed so we can fix it - Send Report - Cancel - General - Exceptions - Exception Type - Source - Stack Trace - Sending - Report sent successfully - Failed to send report - PowerToys Run ran into an issue - - - New Wox release {0} is now available - An error occurred while trying to install software updates - Update - Cancel - This upgrade will restart Wox - Following files will be updated - Update files - Update description - - - Application Icon - Context Menu Item - Context Menu Item Additional Information - Context Menu Icon - Context Menu Items Collection - Query - Results - Search Icon - Subtitle - Title - - \ No newline at end of file diff --git a/src/modules/launcher/PowerLauncher/Languages/fr.xaml b/src/modules/launcher/PowerLauncher/Languages/fr.xaml deleted file mode 100644 index f2d3a2241..000000000 --- a/src/modules/launcher/PowerLauncher/Languages/fr.xaml +++ /dev/null @@ -1,149 +0,0 @@ - - - Start typing... - Échec lors de l'enregistrement du raccourci : {0} - Impossible de lancer {0} - Le format de fichier n'est pas un plugin Wox valide - Définir en tant que favori pour cette requête - Annuler le favori - Lancer la requête : {0} - Dernière exécution : {0} - Ouvrir - Paramètres - À propos - Quitter - - - Paramètres - Wox - Général - Lancer Wox au démarrage du système - Cacher Wox lors de la perte de focus - Ne pas afficher le message de mise à jour pour les nouvelles versions - Se souvenir du dernier emplacement de la fenêtre - Langue - Affichage de la dernière recherche - Conserver la dernière recherche - Sélectionner la dernière recherche - Ne pas afficher la dernière recherche - Résultats maximums à afficher - Ignore les raccourcis lorsqu'une application est en plein écran - Mettre à jour automatiquement - Cacher Wox au démarrage - - - Modules - Trouver plus de modules - Désactivé - Mot-clé d'action : - Répertoire - Auteur - Chargement : {0}ms - Utilisation : {0}ms - - - Thèmes - Trouver plus de thèmes - Hello Wox - Police (barre de recherche) - Police (liste des résultats) - Mode fenêtré - Opacité - - - Raccourcis - Ouvrir Wox - Requêtes personnalisées - Supprimer - Modifier - Ajouter - Veuillez sélectionner un élément - Voulez-vous vraiment supprimer {0} raccourci(s) ? - - - Proxy HTTP - Activer le HTTP proxy - Serveur HTTP - Port - Utilisateur - Mot de passe - Tester - Sauvegarder - Un serveur doit être indiqué - Un port doit être indiqué - Format du port invalide - Proxy sauvegardé avec succès - Le proxy est valide - Connexion au proxy échouée - - - À propos - Site web - Version - Vous avez utilisé Wox {0} fois - Vérifier les mises à jour - Nouvelle version {0} disponible, veuillez redémarrer Wox - Échec de la vérification de la mise à jour, vérifiez votre connexion et vos paramètres de configuration proxy pour pouvoir acceder à api.github.com. - Échec du téléchargement de la mise à jour, vérifiez votre connexion et vos paramètres de configuration proxy pour pouvoir acceder à github-cloud.s3.amazonaws.com, ou téléchargez manuelement la mise à jour sur https://github.com/Wox-launcher/Wox/releases. - Notes de changement : - - - Ancien mot-clé d'action - Nouveau mot-clé d'action - Annuler - Terminé - Impossible de trouver le module spécifié - Le nouveau mot-clé d'action doit être spécifié - Le nouveau mot-clé d'action a été assigné à un autre module, veuillez en choisir un autre - Ajouté - Saisissez * si vous ne souhaitez pas utiliser de mot-clé spécifique - - - Prévisualiser - Raccourci indisponible. Veuillez en choisir un autre. - Raccourci invalide - Actualiser - - - Raccourci indisponible - - - Version - Heure - Veuillez nous indiquer comment l'application a planté afin que nous puissions le corriger - Envoyer le rapport - Annuler - Général - Exceptions - Type d'exception - Source - Trace d'appel - Envoi en cours - Signalement envoyé - Échec de l'envoi du signalement - PT Run a rencontré une erreur - - - Version v{0} de Wox disponible - Une erreur s'est produite lors de l'installation de la mise à jour - Mettre à jour - Annuler - Wox doit redémarrer pour installer cette mise à jour - Les fichiers suivants seront mis à jour - Fichiers mis à jour - Description de la mise à jour - - - Application Icon - Context Menu Item - Context Menu Item Additional Information - Context Menu Icon - Context Menu Items Collection - Query - Results - Search Icon - Subtitle - Title - - diff --git a/src/modules/launcher/PowerLauncher/Languages/it.xaml b/src/modules/launcher/PowerLauncher/Languages/it.xaml deleted file mode 100644 index 406d94391..000000000 --- a/src/modules/launcher/PowerLauncher/Languages/it.xaml +++ /dev/null @@ -1,152 +0,0 @@ - - - Start typing... - Impossibile salvare il tasto di scelta rapida: {0} - Avvio fallito {0} - Formato file plugin non valido - Risultato prioritario con questa query - Rimuovi risultato prioritario con questa query - Query d'esecuzione: {0} - Ultima esecuzione: {0} - Apri - Impostazioni - About - Esci - - - Impostaizoni Wox - Generale - Avvia Wow all'avvio di Windows - Nascondi Wox quando perde il focus - Non mostrare le notifiche per una nuova versione - Ricorda l'ultima posizione di avvio del launcher - Lingua - Comportamento ultima ricerca - Conserva ultima ricerca - Seleziona ultima ricerca - Cancella ultima ricerca - Numero massimo di risultati mostrati - Ignora i tasti di scelta rapida in applicazione a schermo pieno - Aggiornamento automatico - Nascondi Wox all'avvio - - - Plugin - Cerca altri plugins - Disabilita - Parole chiave - Cartella Plugin - Autore - Tempo di avvio: {0}ms - Tempo ricerca: {0}ms - - - Tema - Sfoglia per altri temi - Hello Wox - Font campo di ricerca - Font campo risultati - Modalità finestra - Opacità - - - Tasti scelta rapida - Tasto scelta rapida Wox - Tasti scelta rapida per ricerche personalizzate - Cancella - Modifica - Aggiungi - Selezionare un oggetto - Volete cancellare il tasto di scelta rapida per il plugin {0}? - - - Proxy HTTP - Abilita Proxy HTTP - Server HTTP - Porta - User Name - Password - Proxy Test - Salva - Il campo Server non può essere vuoto - Il campo Porta non può essere vuoto - Formato Porta non valido - Configurazione Proxy salvata correttamente - Proxy Configurato correttamente - Connessione Proxy fallita - - - About - Sito web - Versione - Hai usato Wox {0} volte - Cerca aggiornamenti - Una nuova versione {0} è disponibile, riavvia Wox per favore. - Ricerca aggiornamenti fallita, per favore controlla la tua connessione e le eventuali impostazioni proxy per api.github.com. - - Download degli aggiornamenti fallito, per favore controlla la tua connessione ed eventuali impostazioni proxy per github-cloud.s3.amazonaws.com, - oppure vai su https://github.com/Wox-launcher/Wox/releases per scaricare gli aggiornamenti manualmente. - - Note di rilascio: - - - Vecchia parola chiave d'azione - Nuova parola chiave d'azione - Annulla - Conferma - Impossibile trovare il plugin specificato - La nuova parola chiave d'azione non può essere vuota - La nuova parola chiave d'azione è stata assegnata ad un altro plugin, per favore sceglierne una differente - Successo - Usa * se non vuoi specificare una parola chiave d'azione - - - Anteprima - Tasto di scelta rapida non disponibile, per favore scegli un nuovo tasto di scelta rapida - Tasto di scelta rapida plugin non valido - Aggiorna - - - Tasto di scelta rapida non disponibile - - - Versione - Tempo - Per favore raccontaci come l'applicazione si è chiusa inaspettatamente così che possimo risolvere il problema - Invia rapporto - Annulla - Generale - Eccezioni - Tipo di eccezione - Risorsa - Traccia dello stack - Invio in corso - Rapporto inviato correttamente - Invio rapporto fallito - PT Run ha riportato un errore - - - E' disponibile la nuova release {0} di Wox - Errore durante l'installazione degli aggiornamenti software - Aggiorna - Annulla - Questo aggiornamento riavvierà Wox - I seguenti file saranno aggiornati - File aggiornati - Descrizione aggiornamento - - - Application Icon - Context Menu Item - Context Menu Item Additional Information - Context Menu Icon - Context Menu Items Collection - Query - Results - Search Icon - Subtitle - Title - - \ No newline at end of file diff --git a/src/modules/launcher/PowerLauncher/Languages/ja.xaml b/src/modules/launcher/PowerLauncher/Languages/ja.xaml deleted file mode 100644 index 587f817f4..000000000 --- a/src/modules/launcher/PowerLauncher/Languages/ja.xaml +++ /dev/null @@ -1,155 +0,0 @@ - - - Start typing... - ホットキー「{0}」の登録に失敗しました - {0}の起動に失敗しました - Woxプラグインの形式が正しくありません - このクエリを最上位にセットする - このクエリを最上位にセットをキャンセル - 次のコマンドを実行します:{0} - 最終実行時間:{0} - 開く - 設定 - Woxについて - 終了 - - - Wox設定 - 一般 - スタートアップ時にWoxを起動する - フォーカスを失った時にWoxを隠す - 最新版が入手可能であっても、アップグレードメッセージを表示しない - 前回のランチャーの位置を記憶 - 言語 - 前回のクエリの扱い - 前回のクエリを保存 - 前回のクエリを選択 - 前回のクエリを消去 - 結果の最大表示件数 - ウィンドウがフルスクリーン時にホットキーを無効にする - 自動更新 - 起動時にWoxを隠す - トレイアイコンを隠す - - - プラグイン - プラグインを探す - 無効 - キーワード - プラグイン・ディレクトリ - 作者 - 初期化時間: {0}ms - クエリ時間: {0}ms - - - テーマ - テーマを探す - こんにちは Wox - 検索ボックスのフォント - 検索結果一覧のフォント - ウィンドウモード - 透過度 - テーマ {0} が存在しません、デフォルトのテーマに戻します。 - テーマ {0} を読み込めません、デフォルトのテーマに戻します。 - - - ホットキー - Wox ホットキー - カスタムクエリ ホットキー - 削除 - 編集 - 追加 - 項目選択してください - {0} プラグインのホットキーを本当に削除しますか? - - - HTTP プロキシ - HTTP プロキシを有効化 - HTTP サーバ - ポート - ユーザ名 - パスワード - プロキシをテストする - 保存 - サーバーは空白にできません - ポートは空白にできません - ポートの形式が正しくありません - プロキシの保存に成功しました - プロキシは正しいです - プロキシ接続に失敗しました - - - Woxについて - ウェブサイト - バージョン - あなたはWoxを {0} 回利用しました - アップデートを確認する - 新しいバージョン {0} が利用可能です。Woxを再起動してください。 - アップデートの確認に失敗しました、api.github.com への接続とプロキシ設定を確認してください。 - - 更新のダウンロードに失敗しました、github-cloud.s3.amazonaws.com への接続とプロキシ設定を確認するか、 - https://github.com/Wox-launcher/Wox/releases から手動でアップデートをダウンロードしてください。 - - リリースノート: - - - 古いアクションキーボード - 新しいアクションキーボード - キャンセル - 完了 - プラグインが見つかりません - 新しいアクションキーボードを空にすることはできません - 新しいアクションキーボードは他のプラグインに割り当てられています。他のアクションキーボードを指定してください - 成功しました - アクションキーボードを指定しない場合、* を使用してください - - - プレビュー - ホットキーは使用できません。新しいホットキーを選択してください - プラグインホットキーは無効です - 更新 - - - ホットキーは使用できません - - - バージョン - 時間 - アプリケーションが突然終了した手順を私たちに教えてくださると、バグ修正ができます - クラッシュレポートを送信 - キャンセル - 一般 - 例外 - 例外の種類 - ソース - スタックトレース - 送信中 - クラッシュレポートの送信に成功しました - クラッシュレポートの送信に失敗しました - PT Runにエラーが発生しました - - - Wox の最新バージョン V{0} が入手可能です - Woxのアップデート中にエラーが発生しました - アップデート - キャンセル - このアップデートでは、Woxの再起動が必要です - 次のファイルがアップデートされます - 更新ファイル一覧 - アップデートの詳細 - - - Application Icon - Context Menu Item - Context Menu Item Additional Information - Context Menu Icon - Context Menu Items Collection - Query - Results - Search Icon - Subtitle - Title - - \ No newline at end of file diff --git a/src/modules/launcher/PowerLauncher/Languages/ko.xaml b/src/modules/launcher/PowerLauncher/Languages/ko.xaml deleted file mode 100644 index 18e718048..000000000 --- a/src/modules/launcher/PowerLauncher/Languages/ko.xaml +++ /dev/null @@ -1,147 +0,0 @@ - - - Start typing... - 핫키 등록 실패: {0} - {0}을 실행할 수 없습니다. - Wox 플러그인 파일 형식이 유효하지 않습니다. - 이 쿼리의 최상위로 설정 - 이 쿼리의 최상위 설정 취소 - 쿼리 실행: {0} - 마지막 실행 시간: {0} - 열기 - 설정 - 정보 - 종료 - - - Wox 설정 - 일반 - 시스템 시작 시 Wox 실행 - 포커스 잃으면 Wox 숨김 - 새 버전 알림 끄기 - 마지막 실행 위치 기억 - 언어 - 마지막 쿼리 스타일 - 직전 쿼리에 계속 입력 - 직전 쿼리 내용 선택 - 직전 쿼리 지우기 - 표시할 결과 수 - 전체화면 모드에서는 핫키 무시 - 자동 업데이트 - 시작 시 Wox 숨김 - - - 플러그인 - 플러그인 더 찾아보기 - 비활성화 - 액션 키워드 - 플러그인 디렉토리 - 저자 - 초기화 시간: {0}ms - 쿼리 시간: {0}ms - - - 테마 - 테마 더 찾아보기 - Hello Wox - 쿼리 상자 글꼴 - 결과 항목 글꼴 - 윈도우 모드 - 투명도 - - - 핫키 - Wox 핫키 - 사용자지정 쿼리 핫키 - 삭제 - 편집 - 추가 - 항목을 선택하세요. - {0} 플러그인 핫키를 삭제하시겠습니까? - - - HTTP 프록시 - HTTP 프록시 켜기 - HTTP 서버 - 포트 - 사용자명 - 패스워드 - 프록시 테스트 - 저장 - 서버를 입력하세요. - 포트를 입력하세요. - 유효하지 않은 포트 형식 - 프록시 설정이 저장되었습니다. - 프록시 설정 정상 - 프록시 연결 실패 - - - 정보 - 웹사이트 - 버전 - Wox를 {0}번 실행했습니다. - 업데이트 확인 - 새 버전({0})이 있습니다. Wox를 재시작하세요. - 릴리즈 노트: - - - 예전 액션 키워드 - 새 액션 키워드 - 취소 - 완료 - 플러그인을 찾을 수 없습니다. - 새 액션 키워드를 입력하세요. - 새 액션 키워드가 할당된 플러그인이 이미 있습니다. 다른 액션 키워드를 입력하세요. - 성공 - 액션 키워드를 지정하지 않으려면 *를 사용하세요. - - - 미리보기 - 핫키를 사용할 수 없습니다. 다른 핫키를 입력하세요. - 플러그인 핫키가 유효하지 않습니다. - 업데이트 - - - 핫키를 사용할 수 없습니다. - - - 버전 - 시간 - 수정을 위해 애플리케이션이 어떻게 충돌했는지 알려주세요. - 보고서 보내기 - 취소 - 일반 - 예외 - 예외 유형 - 소스 - 스택 추적 - 보내는 중 - 보고서를 정상적으로 보냈습니다. - 보고서를 보내지 못했습니다. - PT Run에 문제가 발생했습니다. - - - 새 Wox 버전({0})을 사용할 수 있습니다. - 소프트웨어 업데이트를 설치하는 중에 오류가 발생했습니다. - 업데이트 - 취소 - 업데이트를 위해 Wox를 재시작합니다. - 아래 파일들이 업데이트됩니다. - 업데이트 파일 - 업데이트 설명 - - - Application Icon - Context Menu Item - Context Menu Item Additional Information - Context Menu Icon - Context Menu Items Collection - Query - Results - Search Icon - Subtitle - Title - - \ No newline at end of file diff --git a/src/modules/launcher/PowerLauncher/Languages/nb-NO.xaml b/src/modules/launcher/PowerLauncher/Languages/nb-NO.xaml deleted file mode 100644 index 9ff5997e1..000000000 --- a/src/modules/launcher/PowerLauncher/Languages/nb-NO.xaml +++ /dev/null @@ -1,152 +0,0 @@ - - - Start typing... - Kunne ikke registrere hurtigtast: {0} - Kunne ikke starte {0} - Ugyldig filformat for Wox-utvidelse - Sett til øverste for denne spørringen - Avbryt øverste for denne spørringen - Utfør spørring: {0} - Tid for siste gjennomføring: {0} - Åpne - Innstillinger - Om - Avslutt - - - Wox-innstillinger - Generelt - Start Wox ved systemstart - Skjul Wox ved mistet fokus - Ikke vis varsel om ny versjon - Husk siste plassering - Språk - Stil for siste spørring - Bevar siste spørring - Velg siste spørring - Tøm siste spørring - Maks antall resultater vist - Ignorer hurtigtaster i fullskjermsmodus - Oppdater automatisk - Skjul Wox ved oppstart - - - Utvidelse - Finn flere utvidelser - Deaktiver - Handlingsnøkkelord - Utvidelseskatalog - Forfatter - Oppstartstid: {0}ms - Spørringstid: {0}ms - - - Tema - Finn flere temaer - Hallo Wox - Font for spørringsboks - Font for resultat - Vindusmodus - Gjennomsiktighet - - - Hurtigtast - Wox-hurtigtast - Egendefinerd spørringshurtigtast - Slett - Rediger - Legg til - Vennligst velg et element - Er du sikker på at du vil slette utvidelserhurtigtasten for {0}? - - - HTTP-proxy - Aktiver HTTP-proxy - HTTP-server - Port - Brukernavn - Passord - Test proxy - Lagre - Serverfeltet kan ikke være tomt - Portfelter kan ikke være tomt - Ugyldig portformat - Proxy-konfigurasjon lagret med suksess - Proxy konfigurert riktig - Proxy-tilkobling feilet - - - Om - Netside - Versjon - Du har aktivert Wox {0} ganger - Sjekk for oppdatering - Ny versjon {0} er tilgjengelig, vennligst start Wox på nytt. - Oppdateringssjekk feilet, vennligst sjekk tilkoblingen og proxy-innstillene for api.github.com. - - Nedlastning av oppdateringer feilet, vennligst sjekk tilkoblingen og proxy-innstillene for github-cloud.s3.amazonaws.com, - eller gå til https://github.com/Wox-launcher/Wox/releases for å laste ned oppdateringer manuelt. - - Versjonsmerknader: - - - Gammelt handlingsnøkkelord - Nytt handlingsnøkkelord - Avbryt - Ferdig - Kan ikke finne den angitte utvidelsen - Nytt handlingsnøkkelord kan ikke være tomt - De nye handlingsnøkkelordene er tildelt en annen utvidelse, vennligst velg et annet nøkkelord - Vellykket - Bruk * hvis du ikke ønsker å angi et handlingsnøkkelord - - - Forhåndsvis - Hurtigtasten er ikke tilgjengelig, vennligst velg en ny hurtigtast - Ugyldig hurtigtast for utvidelse - Oppdater - - - Hurtigtast utilgjengelig - - - Versjon - Tid - Fortell oss hvordan programmet krasjet, så vi kan fikse det - Send rapport - Avbryt - Generelt - Unntak - Unntakstype - Kilde - Stack Trace - Sender - Rapport sendt med suksess - Kunne ikke sende rapport - PT Run møtte på en feil - - - Versjon {0} av Wox er nå tilgjengelig - En feil oppstod under installasjon av programvareoppdateringer - Oppdater - Avbryt - Denne opgraderingen vil starte Wox på nytt - Følgende filer vil bli oppdatert - Oppdateringsfiler - Oppdateringsbeskrivelse - - - Application Icon - Context Menu Item - Context Menu Item Additional Information - Context Menu Icon - Context Menu Items Collection - Query - Results - Search Icon - Subtitle - Title - - diff --git a/src/modules/launcher/PowerLauncher/Languages/nl.xaml b/src/modules/launcher/PowerLauncher/Languages/nl.xaml deleted file mode 100644 index f47900ca9..000000000 --- a/src/modules/launcher/PowerLauncher/Languages/nl.xaml +++ /dev/null @@ -1,143 +0,0 @@ - - - Start typing... - Sneltoets registratie: {0} mislukt - Kan {0} niet starten - Ongeldige Wox plugin bestandsextensie - Stel in als hoogste in deze query - Annuleer hoogste in deze query - Executeer query: {0} - Laatste executie tijd: {0} - Open - Instellingen - About - Afsluiten - - - Wox Instellingen - Algemeen - Start Wox als systeem opstart - Verberg Wox als focus verloren is - Laat geen nieuwe versie notificaties zien - Herinner laatste opstart locatie - Taal - Laat maximale resultaten zien - Negeer sneltoetsen in fullscreen mode - Automatische Update - Verberg Wox als systeem opstart - - - Plugin - Zoek meer plugins - Disable - Action terfwoorden - Plugin map - Auteur - Init tijd: {0}ms - Query tijd: {0}ms - - - Thema - Zoek meer thema´s - Hallo Wox - Query Box lettertype - Resultaat Item lettertype - Window Mode - Ondoorzichtigheid - - - Sneltoets - Wox Sneltoets - Custom Query Sneltoets - Verwijder - Bewerken - Toevoegen - Selecteer een item - Weet u zeker dat je {0} plugin sneltoets wilt verwijderen? - - - HTTP Proxy - Enable HTTP Proxy - HTTP Server - Poort - Gebruikersnaam - Wachtwoord - Test Proxy - Opslaan - Server moet ingevuld worden - Poort moet ingevuld worden - Ongeldige poort formaat - Proxy succesvol opgeslagen - Proxy correct geconfigureerd - Proxy connectie mislukt - - - Over - Website - Versie - U heeft Wox {0} keer opgestart - Zoek naar Updates - Nieuwe versie {0} beschikbaar, start Wox opnieuw op - Release Notes: - - - Oude actie sneltoets - Nieuwe actie sneltoets - Annuleer - Klaar - Kan plugin niet vinden - Nieuwe actie sneltoets moet ingevuld worden - Nieuwe actie sneltoets is toegewezen aan een andere plugin, wijs een nieuwe actie sneltoets aan - Succesvol - Gebruik * wanneer je geen nieuwe actie sneltoets wilt specificeren - - - Voorbeeld - Sneltoets is niet beschikbaar, selecteer een nieuwe sneltoets - Ongeldige plugin sneltoets - Update - - - Sneltoets niet beschikbaar - - - Versie - Tijd - Vertel ons hoe de applicatie is gecrashed, zodat wij de applicatie kunnen verbeteren - Verstuur Rapport - Annuleer - Algemeen - Uitzonderingen - Uitzondering Type - Bron - Stack Opzoeken - Versturen - Rapport succesvol - Rapport mislukt - PT Run heeft een error - - - Nieuwe Wox release {0} nu beschikbaar - Een error is voorgekomen tijdens het installeren van de update - Update - Annuleer - Deze upgrade zal Wox opnieuw opstarten - Volgende bestanden zullen worden geüpdatet - Update bestanden - Update beschrijving - - - Application Icon - Context Menu Item - Context Menu Item Additional Information - Context Menu Icon - Context Menu Items Collection - Query - Results - Search Icon - Subtitle - Title - - diff --git a/src/modules/launcher/PowerLauncher/Languages/pl.xaml b/src/modules/launcher/PowerLauncher/Languages/pl.xaml deleted file mode 100644 index 6e7aa147c..000000000 --- a/src/modules/launcher/PowerLauncher/Languages/pl.xaml +++ /dev/null @@ -1,143 +0,0 @@ - - - Start typing... - Nie udało się ustawić skrótu klawiszowego: {0} - Nie udało się uruchomić: {0} - Niepoprawny format pliku wtyczki - Ustaw jako najwyższy wynik dla tego zapytania - Usuń ten najwyższy wynik dla tego zapytania - Wyszukaj: {0} - Ostatni czas wykonywania: {0} - Otwórz - Ustawienia - O programie - Wyjdź - - - Ustawienia Wox - Ogólne - Uruchamiaj Wox przy starcie systemu - Ukryj okno Wox kiedy przestanie ono być aktywne - Nie pokazuj powiadomienia o nowej wersji - Zapamiętaj ostatnią pozycję okna - Język - Maksymalna liczba wyników - Ignoruj skróty klawiszowe w trybie pełnego ekranu - Automatyczne aktualizacje - Uruchamiaj Wox zminimalizowany - - - Wtyczki - Znajdź więcej wtyczek - Wyłącz - Wyzwalacze - Folder wtyczki - Autor - Czas ładowania: {0}ms - Czas zapytania: {0}ms - - - Skórka - Znajdź więcej skórek - Witaj Wox - Czcionka okna zapytania - Czcionka okna wyników - Tryb w oknie - Przeźroczystość - - - Skrót klawiszowy - Skrót klawiszowy Wox - Skrót klawiszowy niestandardowych zapytań - Usuń - Edytuj - Dodaj - Musisz coś wybrać - Czy jesteś pewien że chcesz usunąć skrót klawiszowy {0} wtyczki? - - - Serwer proxy HTTP - Używaj HTTP proxy - HTTP Serwer - Port - Nazwa użytkownika - Hasło - Sprawdź proxy - Zapisz - Nazwa serwera nie może być pusta - Numer portu nie może być pusty - Nieprawidłowy format numeru portu - Ustawienia proxy zostały zapisane - Proxy zostało skonfigurowane poprawnie - Nie udało się połączyć z serwerem proxy - - - O programie - Strona internetowa - Wersja - Uaktywniłeś Wox {0} razy - Szukaj aktualizacji - Nowa wersja {0} jest dostępna, uruchom ponownie Wox - Zmiany: - - - Stary wyzwalacz - Nowy wyzwalacz - Anuluj - Zapisz - Nie można odnaleźć podanej wtyczki - Nowy wyzwalacz nie może być pusty - Ten wyzwalacz został już przypisany do innej wtyczki, musisz podać inny wyzwalacz. - Sukces - Użyj * jeżeli nie chcesz podawać wyzwalacza - - - Podgląd - Skrót klawiszowy jest niedostępny, musisz podać inny skrót klawiszowy - Niepoprawny skrót klawiszowy - Aktualizuj - - - Niepoprawny skrót klawiszowy - - - Wersja - Czas - Proszę powiedz nam co się stało zanim wystąpił błąd dzięki czemu będziemy mogli go naprawić (tylko po angielsku) - Wyślij raport błędu - Anuluj - Ogólne - Wyjątki - Typ wyjątku - Źródło - Stos wywołań - Wysyłam raport... - Raport wysłany pomyślnie - Nie udało się wysłać raportu - PT Run programie Wox wystąpił błąd - - - Nowa wersja Wox {0} jest dostępna - Wystąpił błąd podczas instalowania aktualizacji programu - Aktualizuj - Anuluj - Aby dokończyć proces aktualizacji Wox musi zostać zresetowany - Następujące pliki zostaną zaktualizowane - Aktualizuj pliki - Opis aktualizacji - - - Application Icon - Context Menu Item - Context Menu Item Additional Information - Context Menu Icon - Context Menu Items Collection - Query - Results - Search Icon - Subtitle - Title - - \ No newline at end of file diff --git a/src/modules/launcher/PowerLauncher/Languages/pt-br.xaml b/src/modules/launcher/PowerLauncher/Languages/pt-br.xaml deleted file mode 100644 index 91f20296a..000000000 --- a/src/modules/launcher/PowerLauncher/Languages/pt-br.xaml +++ /dev/null @@ -1,152 +0,0 @@ - - - Start typing... - Falha ao registrar atalho: {0} - Não foi possível iniciar {0} - Formato de plugin Wox inválido - Tornar a principal nessa consulta - Cancelar a principal nessa consulta - Executar consulta: {0} - Última execução: {0} - Abrir - Configurações - Sobre - Sair - - - Configurações do Wox - Geral - Iniciar Wox com inicialização do sistema - Esconder Wox quando foco for perdido - Não mostrar notificações de novas versões - Lembrar última localização de lançamento - Idioma - Estilo da Última Consulta - Preservar Última Consulta - Selecionar última consulta - Limpar última consulta - Máximo de resultados mostrados - Ignorar atalhos em tela cheia - Atualizar Automaticamente - Esconder Wox na inicialização - - - Plugin - Encontrar mais plugins - Desabilitar - Palavras-chave de ação - Diretório de Plugins - Autor - Tempo de inicialização: {0}ms - Tempo de consulta: {0}ms - - - Tema - Ver mais temas - Olá Wox - Fonte da caixa de Consulta - Fonte do Resultado - Modo Janela - Opacidade - - - Atalho - Atalho do Wox - Atalho de Consulta Personalizada - Apagar - Editar - Adicionar - Por favor selecione um item - Tem cereza de que deseja deletar o atalho {0} do plugin? - - - Proxy HTTP - Habilitar Proxy HTTP - Servidor HTTP - Porta - Usuário - Senha - Testar Proxy - Salvar - O campo de servidor não pode ser vazio - O campo de porta não pode ser vazio - Formato de porta inválido - Configuração de proxy salva com sucesso - Proxy configurado corretamente - Conexão por proxy falhou - - - Sobre - Website - Versão - Você ativou o Wox {0} vezes - Procurar atualizações - A nova versão {0} está disponível, por favor reinicie o Wox. - Falha ao procurar atualizações, confira sua conexão e configuração de proxy para api.github.com. - - Falha ao baixar atualizações, confira sua conexão e configuração de proxy para github-cloud.s3.amazonaws.com, - ou acesse https://github.com/Wox-launcher/Wox/releases para baixar manualmente. - - Notas de Versão: - - - Antiga palavra-chave da ação - Nova palavra-chave da ação - Cancelar - Finalizado - Não foi possível encontrar o plugin especificado - A nova palavra-chave da ação não pode ser vazia - A nova palavra-chave da ação já foi atribuída a outro plugin, por favor tente outra - Sucesso - Use * se não quiser especificar uma palavra-chave de ação - - - Prévia - Atalho indisponível, escolha outro - Atalho de plugin inválido - Atualizar - - - Atalho indisponível - - - Versão - Horário - Por favor, conte como a aplicação parou de funcionar para que possamos consertar - Enviar Relatório - Cancelar - Geral - Exceções - Tipo de Exceção - Fonte - Rastreamento de pilha - Enviando - Relatório enviado com sucesso - Falha ao enviar relatório - PT Run apresentou um erro - - - A nova versão {0} do Wox agora está disponível - Ocorreu um erro ao tentar instalar atualizações do progama - Atualizar - Cancelar - Essa atualização reiniciará o Wox - Os seguintes arquivos serão atualizados - Atualizar arquivos - Atualizar descrição - - - Application Icon - Context Menu Item - Context Menu Item Additional Information - Context Menu Icon - Context Menu Items Collection - Query - Results - Search Icon - Subtitle - Title - - \ No newline at end of file diff --git a/src/modules/launcher/PowerLauncher/Languages/ru.xaml b/src/modules/launcher/PowerLauncher/Languages/ru.xaml deleted file mode 100644 index 14abbe08f..000000000 --- a/src/modules/launcher/PowerLauncher/Languages/ru.xaml +++ /dev/null @@ -1,143 +0,0 @@ - - - Start typing... - Регистрация хоткея {0} не удалась - Не удалось запустить {0} - Неверный формат файла wox плагина - Отображать это окно выше всех при этом запросе - Не отображать это окно выше всех при этом запросе - Выполнить запрос:{0} - Последний раз выполнен в:{0} - Открыть - Настройки - О Wox - Закрыть - - - Настройки Wox - Общие - Запускать Wox при запуске системы - Скрывать Wox если потерян фокус - Не отображать сообщение об обновлении когда доступна новая версия - Запомнить последнее место запуска - Язык - Максимальное количество результатов - Игнорировать горячие клавиши, если окно в полноэкранном режиме - Auto Update - Hide Wox on startup - - - Плагины - Найти больше плагинов - Отключить - Ключевое слово - Папка - Автор - Инициализация: {0}ms - Запрос: {0}ms - - - Темы - Найти больше тем - Привет Wox - Шрифт запросов - Шрифт результатов - Оконный режим - Прозрачность - - - Горячие клавиши - Горячая клавиша Wox - Задаваемые горячие клавиши для запросов - Удалить - Изменить - Добавить - Сначала выберите элемент - Вы уверены что хотите удалить горячую клавишу для плагина {0}? - - - HTTP Прокси - Включить HTTP прокси - HTTP Сервер - Порт - Логин - Пароль - Проверить - Сохранить - Необходимо задать сервер - Необходимо задать порт - Неверный формат порта - Прокси успешно сохранён - Прокси сервер задан правильно - Подключение к прокси серверу не удалось - - - О Wox - Сайт - Версия - Вы воспользовались Wox уже {0} раз - Check for Updates - New version {0} avaiable, please restart wox - Release Notes: - - - Текущая горячая клавиша - Новая горячая клавиша - Отменить - Подтвердить - Не удалось найти заданный плагин - Новая горячая клавиша не может быть пустой - Новая горячая клавиша уже используется другим плагином. Пожалуйста, задайте новую - Сохранено - Используйте * в случае, если вы не хотите задавать конкретную горячую клавишу - - - Проверить - Горячая клавиша недоступна. Пожалуйста, задайте новую - Недействительная горячая клавиша плагина - Изменить - - - Горячая клавиша недоступна - - - Версия - Время - Пожалуйста, сообщите что произошло когда произошёл сбой в приложении, чтобы мы могли его исправить - Отправить отчёт - Отмена - Общие - Исключения - Тип исключения - Источник - Трессировка стека - Отправляем - Отчёт успешно отправлен - Не удалось отправить отчёт - Произошёл сбой в PT Run - - - Доступна новая версия Wox V{0} - Произошла ошибка при попытке установить обновление - Обновить - Отмена - Это обновление перезапустит Wox - Следующие файлы будут обновлены - Обновить файлы - Описание обновления - - - Application Icon - Context Menu Item - Context Menu Item Additional Information - Context Menu Icon - Context Menu Items Collection - Query - Results - Search Icon - Subtitle - Title - - \ No newline at end of file diff --git a/src/modules/launcher/PowerLauncher/Languages/sk.xaml b/src/modules/launcher/PowerLauncher/Languages/sk.xaml deleted file mode 100644 index 81f8f4e77..000000000 --- a/src/modules/launcher/PowerLauncher/Languages/sk.xaml +++ /dev/null @@ -1,153 +0,0 @@ - - - Start typing... - Nepodarilo sa registrovať klávesovú skratku {0} - Nepodarilo sa spustiť {0} - Neplatný formát súboru pre plugin Wox - Pri tomto dopyte umiestniť navrchu - Zrušiť umiestnenie navrchu pri tomto dopyte - Spustiť dopyt: {0} - Posledný čas realizácie: {0} - Otvoriť - Nastavenia - O aplikácii - Ukončiť - - - Nastavenia Wox - Všeobecné - Spustiť Wox po štarte systému - Schovať Wox po strate fokusu - Nezobrazovať upozornenia na novú verziu - Zapamätať si posledné umiestnenie - Jazyk - Posledný dopyt - Ponechať - Označiť posledný dopyt - Prázdne - Max. výsledkov - Ignorovať klávesové skraty v režime na celú obrazovku - Automatická aktualizácia - Schovať Wox po spustení - Schovať ikonu v oblasti oznámení - - - Plugin - Nájsť ďalšie pluginy - Zakázať - Skratka akcie - Priečinok s pluginmy - Autor - Čas inic.: {0}ms - Čas dopytu: {0}ms - - - Motív - Prehliadať viac motívov - Ahoj Wox - Písmo poľa pre dopyt - Písmo výsledkov - Režim okno - Nepriehľadnosť - - - Klávesová skratka - Klávesová skratka pre Wox - Vlastná klávesová skratka pre dopyt - Odstrániť - Upraviť - Pridať - Vyberte položku, prosím - Ste si istý, že chcete odstrániť klávesovú skratku {0} pre plugin? - - - HTTP Proxy - Povoliť HTTP Proxy - HTTP Server - Port - Používateľské meno - Heslo - Test Proxy - Uložiť - Pole Server nemôže byť prázdne - Pole Port nemôže byť prázdne - Neplatný formát portu - Nastavenie proxy úspešne uložené - Nastavenie proxy je v poriadku - Pripojenie proxy zlyhalo - - - O aplikácii - Webstránka - Verzia - Wox bol aktivovaný {0}-krát - Skontrolovať aktualizácie - Je dostupná nová verzia {0}, prosím, reštartujte Wox. - Kontrola aktualizácií zlyhala, prosím, skontrolujte pripojenie na internet a nastavenie proxy k api.github.com. - - Sťahovanie aktualizácií zlyhalo, skontrolujte pripojenie na internet a nastavenie proxy k github-cloud.s3.amazonaws.com, - alebo prejdite na https://github.com/Wox-launcher/Wox/releases pre manuálne stiahnutie aktualizácií. - - Poznámky k vydaniu: - - - Stará skratka akcie - Nová skratka akcie - Zrušiť - Hotovo - Nepodarilo sa nájsť zadaný plugin - Nová skratka pre akciu nemôže byť prázdna - Nová skratka pre akciu bola priradená pre iný plugin, prosím, zvoľte inú skratku - Úspešné - Použite * ak nechcete určiť skratku pre akciu - - - Náhľad - Klávesová skratka je nedostupná, prosím, zadajte novú - Neplatná klávesová skratka pluginu - Aktualizovať - - - Klávesová skratka nedostupná - - - Verzia - Čas - Prosím, napíšte nám, ako došlo k pádu aplikácie, aby sme to mohli opraviť - Odoslať hlásenie - Zrušiť - Všeobecné - Výnimky - Typ výnimky - Zdroj - Stack Trace - Odosiela sa - Hlásenie bolo úspešne odoslané - Odoslanie hlásenia zlyhalo - PT Run zaznamenal chybu - - - Je dostupné nové vydanie Wox {0} - Počas inštalácie aktualizácií došlo k chybe - Aktualizovať - Zrušiť - Tento upgrade reštartuje Wox - Nasledujúce súbory budú aktualizované - Aktualizovať súbory - Aktualizovať popis - - - Application Icon - Context Menu Item - Context Menu Item Additional Information - Context Menu Icon - Context Menu Items Collection - Query - Results - Search Icon - Subtitle - Title - - \ No newline at end of file diff --git a/src/modules/launcher/PowerLauncher/Languages/sr.xaml b/src/modules/launcher/PowerLauncher/Languages/sr.xaml deleted file mode 100644 index 234c4b193..000000000 --- a/src/modules/launcher/PowerLauncher/Languages/sr.xaml +++ /dev/null @@ -1,152 +0,0 @@ - - - Start typing... - Neuspešno registrovana prečica: {0} - Neuspešno pokretanje {0} - Nepravilni Wox plugin format datoteke - Postavi kao najviši u ovom upitu - Poništi najviši u ovom upitu - Izvrši upit: {0} - Vreme poslednjeg izvršenja: {0} - Otvori - Podešavanja - O Wox-u - Izlaz - - - Wox Podešavanja - Opšte - Pokreni Wox pri podizanju sistema - Sakri Wox kada se izgubi fokus - Ne prikazuj obaveštenje o novoj verziji - Zapamti lokaciju poslednjeg pokretanja - Jezik - Stil Poslednjeg upita - Sačuvaj poslednji Upit - Selektuj poslednji Upit - Isprazni poslednji Upit - Maksimum prikazanih rezultata - Ignoriši prečice u fullscreen režimu - Auto ažuriranje - Sakrij Wox pri podizanju sistema - - - Plugin - Nađi još plugin-a - Onemogući - Ključne reči - Plugin direktorijum - Autor - Vreme inicijalizacije: {0}ms - Vreme upita: {0}ms - - - Tema - Pretražite još tema - Zdravo Wox - Font upita - Font rezultata - Režim prozora - Neprozirnost - - - Prečica - Wox prečica - prečica za ručno dodat upit - Obriši - Izmeni - Dodaj - Molim Vas izaberite stavku - Da li ste sigurni da želite da obrišete prečicu za {0} plugin? - - - HTTP proksi - Uključi HTTP proksi - HTTP Server - Port - Korisničko ime - Šifra - Test proksi - Sačuvaj - Polje za server ne može da bude prazno - Polje za port ne može da bude prazno - Nepravilan format porta - Podešavanja proksija uspešno sačuvana - Proksi uspešno podešen - Veza sa proksijem neuspešna - - - O Wox-u - Veb sajt - Verzija - Aktivirali ste Wox {0} puta - Proveri ažuriranja - Nove verzija {0} je dostupna, molim Vas ponovo pokrenite Wox. - Neuspešna provera ažuriranja, molim Vas proverite vašu vezu i podešavanja za proksi prema api.github.com. - - Neuspešno preuzimanje ažuriranja, molim Vas proverite vašu vezu i podešavanja za proksi prema github-cloud.s3.amazonaws.com, - ili posetite https://github.com/Wox-launcher/Wox/releases da preuzmete ažuriranja ručno. - - U novoj verziji: - - - Prečica za staru radnju - Prečica za novu radnju - Otkaži - Gotovo - Navedeni plugin nije moguće pronaći - Prečica za novu radnju ne može da bude prazna - Prečica za novu radnju je dodeljena drugom plugin-u, molim Vas dodelite drugu prečicu - Uspešno - Koristite * ako ne želite da navedete prečicu za radnju - - - Pregled - Prečica je nedustupna, molim Vas izaberite drugu prečicu - Nepravlna prečica za plugin - Ažuriraj - - - Prečica nedostupna - - - Verzija - Vreme - Molimo Vas recite nam kako je aplikacija prestala sa radom, da bi smo je ispravili - Pošalji izveštaj - Otkaži - Opšte - Izuzetak - Tipovi Izuzetaka - Izvor - Stack Trace - Slanje - Izveštaj uspešno poslat - Izveštaj neuspešno poslat - PT Run je dobio grešku - - - Nova verzija Wox-a {0} je dostupna - Došlo je do greške prilokom instalacije ažuriranja - Ažuriraj - Otkaži - Ova nadogradnja će ponovo pokrenuti Wox - Sledeće datoteke će biti ažurirane - Ažuriraj datoteke - Opis ažuriranja - - - Application Icon - Context Menu Item - Context Menu Item Additional Information - Context Menu Icon - Context Menu Items Collection - Query - Results - Search Icon - Subtitle - Title - - \ No newline at end of file diff --git a/src/modules/launcher/PowerLauncher/Languages/tr.xaml b/src/modules/launcher/PowerLauncher/Languages/tr.xaml deleted file mode 100644 index 2fe6602cc..000000000 --- a/src/modules/launcher/PowerLauncher/Languages/tr.xaml +++ /dev/null @@ -1,156 +0,0 @@ - - - Start typing... - Kısayol tuşu ataması başarısız oldu: {0} - {0} başlatılamıyor - Geçersiz Wox eklenti dosyası formatı - Bu sorgu için başa sabitle - Sabitlemeyi kaldır - Sorguyu çalıştır: {0} - Son çalıştırma zamanı: {0} - - Ayarlar - Hakkında - Çıkış - - - Wox Ayarları - Genel - Wox'u başlangıçta başlat - Odak pencereden ayrıldığında Wox'u gizle - Güncelleme bildirimlerini gösterme - Pencere konumunu hatırla - Dil - Pencere açıldığında - Son sorguyu sakla - Son sorguyu sakla ve tümünü seç - Sorgu kutusunu temizle - Maksimum sonuç sayısı - Tam ekran modunda kısayol tuşunu gözardı et - Otomatik Güncelle - Başlangıçta Wox'u gizle - Sistem çekmecesi simgesini gizle - Sorgu Arama Hassasiyeti - - - Eklentiler - Daha fazla eklenti bul - Devre Dışı - Anahtar Kelimeler - Eklenti Klasörü - Yapımcı - Açılış Süresi: {0}ms - Sorgu Süresi: {0}ms - - - Temalar - Daha fazla tema bul - Merhaba Wox - Pencere Yazı Tipi - Sonuç Yazı Tipi - Pencere Modu - Saydamlık - {0} isimli tema bulunamadı, varsayılan temaya dönülüyor. - {0} isimli tema yüklenirken hata oluştu, varsayılan temaya dönülüyor. - - - Kısayol Tuşu - Wox Kısayolu - Özel Sorgu Kısayolları - Sil - Düzenle - Ekle - Lütfen bir öğe seçin - {0} eklentisi için olan kısayolu silmek istediğinize emin misiniz? - - - Vekil Sunucu - HTTP vekil sunucuyu etkinleştir. - Sunucu Adresi - Port - Kullanıcı Adı - Parola - Ayarları Sına - Kaydet - Sunucu adresi boş olamaz - Port boş olamaz - Port biçimi geçersiz - Vekil sunucu ayarları başarıyla kaydedildi - Vekil sunucu doğru olarak ayarlandı - Vekil sunucuya bağlanılırken hata oluştu - - - Hakkında - Web Sitesi - Sürüm - Şu ana kadar Wox'u {0} kez aktifleştirdiniz. - Güncellemeleri Kontrol Et - Uygulamanın yeni sürümü ({0}) mevcut, Lütfen Wox'u yeniden başlatın. - Güncelleme kontrolü başarısız oldu. Lütfen bağlantınız ve vekil sunucu ayarlarınızın api.github.com adresine ulaşabilir olduğunu kontrol edin. - - Güncellemenin yüklenmesi başarısız oldu. Lütfen bağlantınız ve vekil sunucu ayarlarınızın github-cloud.s3.amazonaws.com - adresine ulaşabilir olduğunu kontrol edin ya da https://github.com/Wox-launcher/Wox/releases adresinden güncellemeyi elle indirin. - - Sürüm Notları: - - - Eski Anahtar Kelime - Yeni Anahtar Kelime - İptal - Tamam - Belirtilen eklenti bulunamadı - Yeni anahtar kelime boş olamaz - Yeni anahtar kelime başka bir eklentiye atanmış durumda. Lütfen başka bir anahtar kelime seçin - Başarılı - Anahtar kelime belirlemek istemiyorsanız * kullanın - - - Önizleme - Kısayol tuşu kullanılabilir değil, lütfen başka bir kısayol tuşu seçin - Geçersiz eklenti kısayol tuşu - Güncelle - - - Kısayol tuşu kullanılabilir değil - - - Sürüm - Tarih - Sorunu çözebilmemiz için lütfen uygulamanın ne yaparken çöktüğünü belirtin. - Raporu Gönder - İptal - Genel - Özel Durumlar - Özel Durum Tipi - Kaynak - Yığın İzleme - Gönderiliyor - Hata raporu başarıyla gönderildi - Hata raporu gönderimi başarısız oldu - PT Run'ta bir hata oluştu - - - Wox'un yeni bir sürümü ({0}) mevcut - Güncellemelerin kurulması sırasında bir hata oluştu - Güncelle - İptal - Bu güncelleme Wox'u yeniden başlatacaktır - Aşağıdaki dosyalar güncelleştirilecektir - Güncellenecek dosyalar - Güncelleme açıklaması - - - Application Icon - Context Menu Item - Context Menu Item Additional Information - Context Menu Icon - Context Menu Items Collection - Query - Results - Search Icon - Subtitle - Title - - \ No newline at end of file diff --git a/src/modules/launcher/PowerLauncher/Languages/uk-UA.xaml b/src/modules/launcher/PowerLauncher/Languages/uk-UA.xaml deleted file mode 100644 index 15263ad1b..000000000 --- a/src/modules/launcher/PowerLauncher/Languages/uk-UA.xaml +++ /dev/null @@ -1,143 +0,0 @@ - - - Start typing... - Реєстрація хоткея {0} не вдалася - Не вдалося запустити {0} - Невірний формат файлу плагіна Wox - Відображати першим при такому ж запиті - Відмінити відображення першим при такому ж запиті - Виконати запит: {0} - Час останнього використання: {0} - Відкрити - Налаштування - Про Wox - Закрити - - - Налаштування Wox - Основні - Запускати Wox при запуску системи - Сховати Wox якщо втрачено фокус - Не повідомляти про доступні нові версії - Запам'ятати останнє місце запуску - Мова - Максимальна кількість результатів - Ігнорувати гарячі клавіші в повноекранному режимі - Автоматичне оновлення - Сховати Wox при запуску системи - - - Плагіни - Знайти більше плагінів - Відключити - Ключове слово - Директорія плагіну - Автор - Ініціалізація: {0}ms - Запит: {0}ms - - - Теми - Знайти більше тем - Привіт Wox - Шрифт запитів - Шрифт результатів - Віконний режим - Прозорість - - - Гарячі клавіші - Гаряча клавіша Wox - Задані гарячі клавіші для запитів - Видалити - Змінити - Додати - Спочатку виберіть елемент - Ви впевнені, що хочете видалити гарячу клавішу ({0}) плагіну? - - - HTTP Proxy - Включити HTTP Proxy - HTTP Сервер - Порт - Логін - Пароль - Перевірити Proxy - Зберегти - Необхідно вказати "HTTP Сервер" - Необхідно вказати "Порт" - Невірний формат порту - Налаштування Proxy успішно збережено - Proxy успішно налаштований - Невдале підключення Proxy - - - Про Wox - Сайт - Версия - Ви скористалися Wox вже {0} разів - Перевірити наявність оновлень - Доступна нова версія {0}, будь ласка, перезавантажте Wox - Примітки до поточного релізу: - - - Поточна гаряча клавіша - Нова гаряча клавіша - Скасувати - Готово - Не вдалося знайти вказаний плагін - Нова гаряча клавіша не може бути порожньою - Нова гаряча клавіша вже використовується іншим плагіном. Будь ласка, вкажіть нову - Збережено - Використовуйте * у разі, якщо ви не хочете ставити конкретну гарячу клавішу - - - Перевірити - Гаряча клавіша недоступна. Будь ласка, вкажіть нову - Недійсна гаряча клавіша плагіна - Оновити - - - Гаряча клавіша недоступна - - - Версія - Час - Будь ласка, розкажіть нам, як додаток вийшов із ладу, щоб ми могли це виправити - Надіслати звіт - Скасувати - Основне - Винятки - Тип винятку - Джерело - Траса стеку - Відправити - Звіт успішно відправлено - Не вдалося відправити звіт - Стався збій в додатоку PT Run - - - Доступна нова версія Wox V{0} - Сталася помилка під час спроби встановити оновлення - Оновити - Скасувати - Це оновлення перезавантажить Wox - Ці файли будуть оновлені - Оновити файли - Опис оновлення - - - Application Icon - Context Menu Item - Context Menu Item Additional Information - Context Menu Icon - Context Menu Items Collection - Query - Results - Search Icon - Subtitle - Title - - \ No newline at end of file diff --git a/src/modules/launcher/PowerLauncher/Languages/zh-cn.xaml b/src/modules/launcher/PowerLauncher/Languages/zh-cn.xaml deleted file mode 100644 index 0351f419d..000000000 --- a/src/modules/launcher/PowerLauncher/Languages/zh-cn.xaml +++ /dev/null @@ -1,150 +0,0 @@ - - - Start typing... - 注册热键:{0} 失败 - 启动命令 {0} 失败 - 不是合法的Wox插件格式 - 在当前查询中置顶 - 取消置顶 - 执行查询:{0} - 上次执行时间:{0} - 打开 - 设置 - 关于 - 退出 - - - Wox设置 - 通用 - 开机启动 - 失去焦点时自动隐藏Wox - 不显示新版本提示 - 记住上次启动位置 - 语言 - 上次搜索关键字模式 - 保留上次搜索关键字 - 全选上次搜索关键字 - 清空上次搜索关键字 - 最大结果显示个数 - 全屏模式下忽略热键 - 自动更新 - 启动时不显示主窗口 - 隐藏任务栏图标 - - - 插件 - 浏览更多插件 - 禁用 - 触发关键字 - 插件目录 - 作者 - 加载耗时 {0}ms - 查询耗时 {0}ms - - - 主题 - 浏览更多主题 - 你好,Wox - 查询框字体 - 结果项字体 - 窗口模式 - 透明度 - 无法找到主题 {0} ,切换为默认主题 - 无法加载主题 {0} ,切换为默认主题 - - - 热键 - Wox激活热键 - 自定义查询热键 - 删除 - 编辑 - 增加 - 请选择一项 - 你确定要删除插件 {0} 的热键吗? - - - HTTP 代理 - 启用 HTTP 代理 - HTTP 服务器 - 端口 - 用户名 - 密码 - 测试代理 - 保存 - 服务器不能为空 - 端口不能为空 - 非法的端口格式 - 保存代理设置成功 - 代理设置正确 - 代理连接失败 - - - 关于 - 网站 - 版本 - 你已经激活了Wox {0} 次 - 检查更新 - 发现新版本 {0} , 请重启 wox。 - 更新说明: - - - 旧触发关键字 - 新触发关键字 - 取消 - 确定 - 找不到指定的插件 - 新触发关键字不能为空 - 新触发关键字已经被指派给其他插件了,请重新选择一个关键字 - 成功 - 如果你不想设置触发关键字,可以使用*代替 - - - 预览 - 热键不可用,请选择一个新的热键 - 插件热键不合法 - 更新 - - - 热键不可用 - - - 版本 - 时间 - 请告诉我们如何重现此问题,以便我们进行修复 - 发送报告 - 取消 - 基本信息 - 异常信息 - 异常类型 - 异常源 - 堆栈信息 - 发送中 - 发送成功 - 发送失败 - PT Run出错啦 - - - 发现Wox新版本 V{0} - 更新Wox出错 - 更新 - 取消 - 此更新需要重启Wox - 下列文件会被更新 - 更新文件 - 更新日志 - - - Application Icon - Context Menu Item - Context Menu Item Additional Information - Context Menu Icon - Context Menu Items Collection - Query - Results - Search Icon - Subtitle - Title - - \ No newline at end of file diff --git a/src/modules/launcher/PowerLauncher/Languages/zh-tw.xaml b/src/modules/launcher/PowerLauncher/Languages/zh-tw.xaml deleted file mode 100644 index 4d12820bc..000000000 --- a/src/modules/launcher/PowerLauncher/Languages/zh-tw.xaml +++ /dev/null @@ -1,143 +0,0 @@ - - - Start typing... - 登錄快速鍵:{0} 失敗 - 啟動命令 {0} 失敗 - 無效的 Wox 外掛格式 - 在目前查詢中置頂 - 取消置頂 - 執行查詢:{0} - 上次執行時間:{0} - 開啟 - 設定 - 關於 - 結束 - - - Wox 設定 - 一般 - 開機時啟動 - 失去焦點時自動隱藏 Wox - 不顯示新版本提示 - 記住上次啟動位置 - 語言 - 最大結果顯示個數 - 全螢幕模式下忽略熱鍵 - 自動更新 - 啟動時不顯示主視窗 - - - 外掛 - 瀏覽更多外掛 - 停用 - 觸發關鍵字 - 外掛資料夾 - 作者 - 載入耗時:{0}ms - 查詢耗時:{0}ms - - - 主題 - 瀏覽更多主題 - 你好,Wox - 查詢框字體 - 結果項字體 - 視窗模式 - 透明度 - - - 熱鍵 - Wox 執行熱鍵 - 自定義熱鍵查詢 - 刪除 - 編輯 - 新增 - 請選擇一項 - 確定要刪除外掛 {0} 的熱鍵嗎? - - - HTTP 代理 - 啟用 HTTP 代理 - HTTP 伺服器 - Port - 使用者 - 密碼 - 測試代理 - 儲存 - 伺服器不能為空 - Port 不能為空 - 不正確的 Port 格式 - 儲存代理設定成功 - 代理設定完成 - 代理連線失敗 - - - 關於 - 網站 - 版本 - 您已經啟動了 Wox {0} 次 - 檢查更新 - 發現有新版本 {0}, 請重新啟動 Wox。 - 更新說明: - - - 舊觸發關鍵字 - 新觸發關鍵字 - 取消 - 確定 - 找不到指定的外掛 - 新觸發關鍵字不能為空白 - 新觸發關鍵字已經被指派給另一外掛,請設定其他關鍵字。 - 成功 - 如果不想設定觸發關鍵字,可以使用*代替 - - - 預覽 - 熱鍵不存在,請設定一個新的熱鍵 - 外掛熱鍵無法使用 - 更新 - - - 熱鍵無法使用 - - - 版本 - 時間 - 請告訴我們如何重現此問題,以便我們進行修復 - 發送報告 - 取消 - 基本訊息 - 例外訊息 - 例外類型 - 例外來源 - 堆疊資訊 - 傳送中 - 傳送成功 - 傳送失敗 - PT Run出錯啦 - - - 發現 Wox 新版本 V{0} - 更新 Wox 出錯 - 更新 - 取消 - 此更新需要重新啟動 Wox - 下列檔案會被更新 - 更新檔案 - 更新日誌 - - - Application Icon - Context Menu Item - Context Menu Item Additional Information - Context Menu Icon - Context Menu Items Collection - Query - Results - Search Icon - Subtitle - Title - - diff --git a/src/modules/launcher/PowerLauncher/LauncherControl.xaml b/src/modules/launcher/PowerLauncher/LauncherControl.xaml index c8f2dc843..2a53555bd 100644 --- a/src/modules/launcher/PowerLauncher/LauncherControl.xaml +++ b/src/modules/launcher/PowerLauncher/LauncherControl.xaml @@ -4,6 +4,7 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:p="clr-namespace:PowerLauncher.Properties" xmlns:local="clr-namespace:PowerLauncher" mc:Ignorable="d" d:DesignHeight="300" @@ -88,7 +89,7 @@ https://stackoverflow.com/questions/11873378/adding-placeholder-text-to-textbox --> - - - True - True - Resources.resx - - - - ResXFileCodeGenerator + PublicResXFileCodeGenerator Resources.Designer.cs @@ -274,4 +266,14 @@ all + + + True + True + Resources.resx + + + + + \ No newline at end of file diff --git a/src/modules/launcher/PowerLauncher/Properties/Resources.Designer.cs b/src/modules/launcher/PowerLauncher/Properties/Resources.Designer.cs index be290c64e..d4bc6be07 100644 --- a/src/modules/launcher/PowerLauncher/Properties/Resources.Designer.cs +++ b/src/modules/launcher/PowerLauncher/Properties/Resources.Designer.cs @@ -22,7 +22,7 @@ namespace PowerLauncher.Properties { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Resources { + public class Resources { private static global::System.Resources.ResourceManager resourceMan; @@ -36,7 +36,7 @@ namespace PowerLauncher.Properties { /// Returns the cached ResourceManager instance used by this class. /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { + public static global::System.Resources.ResourceManager ResourceManager { get { if (object.ReferenceEquals(resourceMan, null)) { global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("PowerLauncher.Properties.Resources", typeof(Resources).Assembly); @@ -51,7 +51,7 @@ namespace PowerLauncher.Properties { /// resource lookups using this strongly typed resource class. /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { + public static global::System.Globalization.CultureInfo Culture { get { return resourceCulture; } @@ -61,12 +61,1037 @@ namespace PowerLauncher.Properties { } /// - /// Looks up a localized resource of type System.Drawing.Icon similar to (Icon). + /// Looks up a localized string similar to About. /// - internal static System.Drawing.Icon placeholderLauncher { + public static string about { get { - object obj = ResourceManager.GetObject("placeholderLauncher", resourceCulture); - return ((System.Drawing.Icon)(obj)); + return ResourceManager.GetString("about", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to You have activated Wox {0} times. + /// + public static string about_activate_times { + get { + return ResourceManager.GetString("about_activate_times", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Use * if you don't want to specify an action keyword. + /// + public static string actionkeyword_tips { + get { + return ResourceManager.GetString("actionkeyword_tips", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Action keywords. + /// + public static string actionKeywords { + get { + return ResourceManager.GetString("actionKeywords", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Add. + /// + public static string add { + get { + return ResourceManager.GetString("add", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Application Icon. + /// + public static string AppIcon { + get { + return ResourceManager.GetString("AppIcon", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Author. + /// + public static string author { + get { + return ResourceManager.GetString("author", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Auto Update. + /// + public static string autoUpdates { + get { + return ResourceManager.GetString("autoUpdates", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Find more plugins. + /// + public static string browserMorePlugins { + get { + return ResourceManager.GetString("browserMorePlugins", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Browse for more themes. + /// + public static string browserMoreThemes { + get { + return ResourceManager.GetString("browserMoreThemes", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Cancel. + /// + public static string cancel { + get { + return ResourceManager.GetString("cancel", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Cancel topmost in this query. + /// + public static string cancelTopMostInThisQuery { + get { + return ResourceManager.GetString("cancelTopMostInThisQuery", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Can't find specified plugin. + /// + public static string cannotFindSpecifiedPlugin { + get { + return ResourceManager.GetString("cannotFindSpecifiedPlugin", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Check for Updates. + /// + public static string checkUpdates { + get { + return ResourceManager.GetString("checkUpdates", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Check updates failed, please check your connection and proxy settings to api.github.com.. + /// + public static string checkUpdatesFailed { + get { + return ResourceManager.GetString("checkUpdatesFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Context Menu Icon. + /// + public static string ContextMenuIcon { + get { + return ResourceManager.GetString("ContextMenuIcon", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Context Menu Item. + /// + public static string ContextMenuItem { + get { + return ResourceManager.GetString("ContextMenuItem", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Context Menu Item Additional Information. + /// + public static string ContextMenuItemAdditionalInformation { + get { + return ResourceManager.GetString("ContextMenuItemAdditionalInformation", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Context Menu Items Collection. + /// + public static string ContextMenuItemsCollection { + get { + return ResourceManager.GetString("ContextMenuItemsCollection", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Could not start {0}. + /// + public static string couldnotStartCmd { + get { + return ResourceManager.GetString("couldnotStartCmd", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Custom Query Hotkey. + /// + public static string customQueryHotkey { + get { + return ResourceManager.GetString("customQueryHotkey", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Delete. + /// + public static string delete { + get { + return ResourceManager.GetString("delete", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Are you sure you want to delete {0} plugin hotkey?. + /// + public static string deleteCustomHotkeyWarning { + get { + return ResourceManager.GetString("deleteCustomHotkeyWarning", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Disable. + /// + public static string disable { + get { + return ResourceManager.GetString("disable", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Done. + /// + public static string done { + get { + return ResourceManager.GetString("done", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Do not show new version notifications. + /// + public static string dontPromptUpdateMsg { + get { + return ResourceManager.GetString("dontPromptUpdateMsg", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Edit. + /// + public static string edit { + get { + return ResourceManager.GetString("edit", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Enable HTTP Proxy. + /// + public static string enableProxy { + get { + return ResourceManager.GetString("enableProxy", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Execute query: {0}. + /// + public static string executeQuery { + get { + return ResourceManager.GetString("executeQuery", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to General. + /// + public static string general { + get { + return ResourceManager.GetString("general", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Hello Wox. + /// + public static string helloWox { + get { + return ResourceManager.GetString("helloWox", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Hide tray icon. + /// + public static string hideNotifyIcon { + get { + return ResourceManager.GetString("hideNotifyIcon", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Hide Wox on startup. + /// + public static string hideOnStartup { + get { + return ResourceManager.GetString("hideOnStartup", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Hide Wox when focus is lost. + /// + public static string hideWoxWhenLoseFocus { + get { + return ResourceManager.GetString("hideWoxWhenLoseFocus", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Hotkey. + /// + public static string hotkey { + get { + return ResourceManager.GetString("hotkey", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Hotkey is unavailable, please select a new hotkey. + /// + public static string hotkeyIsNotUnavailable { + get { + return ResourceManager.GetString("hotkeyIsNotUnavailable", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Hotkey unavailable. + /// + public static string hotkeyUnavailable { + get { + return ResourceManager.GetString("hotkeyUnavailable", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to About. + /// + public static string iconTrayAbout { + get { + return ResourceManager.GetString("iconTrayAbout", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Exit. + /// + public static string iconTrayExit { + get { + return ResourceManager.GetString("iconTrayExit", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Open. + /// + public static string iconTrayOpen { + get { + return ResourceManager.GetString("iconTrayOpen", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Settings. + /// + public static string iconTraySettings { + get { + return ResourceManager.GetString("iconTraySettings", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Ignore hotkeys in fullscreen mode. + /// + public static string ignoreHotkeysOnFullscreen { + get { + return ResourceManager.GetString("ignoreHotkeysOnFullscreen", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Invalid plugin hotkey. + /// + public static string invalidPluginHotkey { + get { + return ResourceManager.GetString("invalidPluginHotkey", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Invalid port format. + /// + public static string invalidPortFormat { + get { + return ResourceManager.GetString("invalidPortFormat", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Invalid Wox plugin file format. + /// + public static string invalidWoxPluginFileFormat { + get { + return ResourceManager.GetString("invalidWoxPluginFileFormat", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Language. + /// + public static string language { + get { + return ResourceManager.GetString("language", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Last execution time: {0}. + /// + public static string lastExecuteTime { + get { + return ResourceManager.GetString("lastExecuteTime", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Empty last Query. + /// + public static string LastQueryEmpty { + get { + return ResourceManager.GetString("LastQueryEmpty", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Last Query Style. + /// + public static string lastQueryMode { + get { + return ResourceManager.GetString("lastQueryMode", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Preserve Last Query. + /// + public static string LastQueryPreserved { + get { + return ResourceManager.GetString("LastQueryPreserved", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Select last Query. + /// + public static string LastQuerySelected { + get { + return ResourceManager.GetString("LastQuerySelected", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Maximum results shown. + /// + public static string maxShowResults { + get { + return ResourceManager.GetString("maxShowResults", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to New Action Keyword. + /// + public static string newActionKeywords { + get { + return ResourceManager.GetString("newActionKeywords", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to New Action Keyword can't be empty. + /// + public static string newActionKeywordsCannotBeEmpty { + get { + return ResourceManager.GetString("newActionKeywordsCannotBeEmpty", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to New Action Keywords have been assigned to another plugin, please assign other new action keyword. + /// + public static string newActionKeywordsHasBeenAssigned { + get { + return ResourceManager.GetString("newActionKeywordsHasBeenAssigned", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to New version {0} is available, please restart Wox.. + /// + public static string newVersionTips { + get { + return ResourceManager.GetString("newVersionTips", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Old Action Keyword. + /// + public static string oldActionKeywords { + get { + return ResourceManager.GetString("oldActionKeywords", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Opacity. + /// + public static string opacity { + get { + return ResourceManager.GetString("opacity", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Password. + /// + public static string password { + get { + return ResourceManager.GetString("password", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Please select an item. + /// + public static string pleaseSelectAnItem { + get { + return ResourceManager.GetString("pleaseSelectAnItem", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Plugin. + /// + public static string plugin { + get { + return ResourceManager.GetString("plugin", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Init time: {0}ms. + /// + public static string plugin_init_time { + get { + return ResourceManager.GetString("plugin_init_time", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Query time: {0}ms. + /// + public static string plugin_query_time { + get { + return ResourceManager.GetString("plugin_query_time", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Plugin Directory. + /// + public static string pluginDirectory { + get { + return ResourceManager.GetString("pluginDirectory", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Port. + /// + public static string port { + get { + return ResourceManager.GetString("port", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Port field can't be empty. + /// + public static string portCantBeEmpty { + get { + return ResourceManager.GetString("portCantBeEmpty", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Preview. + /// + public static string preview { + get { + return ResourceManager.GetString("preview", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to HTTP Proxy. + /// + public static string proxy { + get { + return ResourceManager.GetString("proxy", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Proxy connection failed. + /// + public static string proxyConnectFailed { + get { + return ResourceManager.GetString("proxyConnectFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Proxy configured correctly. + /// + public static string proxyIsCorrect { + get { + return ResourceManager.GetString("proxyIsCorrect", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Query. + /// + public static string Query { + get { + return ResourceManager.GetString("Query", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Query Box Font. + /// + public static string queryBoxFont { + get { + return ResourceManager.GetString("queryBoxFont", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Query Search Precision. + /// + public static string querySearchPrecision { + get { + return ResourceManager.GetString("querySearchPrecision", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Failed to register hotkey: {0}. + /// + public static string registerHotkeyFailed { + get { + return ResourceManager.GetString("registerHotkeyFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Release Notes:. + /// + public static string releaseNotes { + get { + return ResourceManager.GetString("releaseNotes", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Remember last launch location. + /// + public static string rememberLastLocation { + get { + return ResourceManager.GetString("rememberLastLocation", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Please file a bug in the. + /// + public static string reportWindow_file_bug { + get { + return ResourceManager.GetString("reportWindow_file_bug", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to PowerToys GitHub repository. + /// + public static string reportWindow_github_repo { + get { + return ResourceManager.GetString("reportWindow_github_repo", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Something went wrong.. + /// + public static string reportWindow_header { + get { + return ResourceManager.GetString("reportWindow_header", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to .. + /// + public static string reportWindow_period { + get { + return ResourceManager.GetString("reportWindow_period", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Make sure to upload the log file and to include the error message.. + /// + public static string reportWindow_upload_log { + get { + return ResourceManager.GetString("reportWindow_upload_log", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to PowerToys Run ran into an issue. + /// + public static string reportWindow_wox_got_an_error { + get { + return ResourceManager.GetString("reportWindow_wox_got_an_error", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Result Item Font. + /// + public static string resultItemFont { + get { + return ResourceManager.GetString("resultItemFont", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Results. + /// + public static string Results { + get { + return ResourceManager.GetString("Results", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Save. + /// + public static string save { + get { + return ResourceManager.GetString("save", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Proxy configuration saved successfully. + /// + public static string saveProxySuccessfully { + get { + return ResourceManager.GetString("saveProxySuccessfully", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Search Icon. + /// + public static string SearchIcon { + get { + return ResourceManager.GetString("SearchIcon", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to HTTP Server. + /// + public static string server { + get { + return ResourceManager.GetString("server", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Server field can't be empty. + /// + public static string serverCantBeEmpty { + get { + return ResourceManager.GetString("serverCantBeEmpty", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Set as topmost in this query. + /// + public static string setAsTopMostInThisQuery { + get { + return ResourceManager.GetString("setAsTopMostInThisQuery", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Should Use Pinyin. + /// + public static string ShouldUsePinyin { + get { + return ResourceManager.GetString("ShouldUsePinyin", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Start typing.... + /// + public static string startTyping { + get { + return ResourceManager.GetString("startTyping", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Start Wox on system startup. + /// + public static string startWoxOnSystemStartup { + get { + return ResourceManager.GetString("startWoxOnSystemStartup", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Subtitle. + /// + public static string Subtitle { + get { + return ResourceManager.GetString("Subtitle", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Success. + /// + public static string success { + get { + return ResourceManager.GetString("success", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Test Proxy. + /// + public static string testProxy { + get { + return ResourceManager.GetString("testProxy", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Theme. + /// + public static string theme { + get { + return ResourceManager.GetString("theme", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Fail to load theme {0}, fallback to default theme. + /// + public static string theme_load_failure_parse_error { + get { + return ResourceManager.GetString("theme_load_failure_parse_error", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Theme {0} not exists, fallback to default theme. + /// + public static string theme_load_failure_path_not_exists { + get { + return ResourceManager.GetString("theme_load_failure_path_not_exists", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Title. + /// + public static string Title { + get { + return ResourceManager.GetString("Title", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Update. + /// + public static string update { + get { + return ResourceManager.GetString("update", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Update. + /// + public static string update_wox_update { + get { + return ResourceManager.GetString("update_wox_update", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Cancel. + /// + public static string update_wox_update_cancel { + get { + return ResourceManager.GetString("update_wox_update_cancel", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to An error occurred while trying to install software updates. + /// + public static string update_wox_update_error { + get { + return ResourceManager.GetString("update_wox_update_error", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Update files. + /// + public static string update_wox_update_files { + get { + return ResourceManager.GetString("update_wox_update_files", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to New Wox release {0} is now available. + /// + public static string update_wox_update_new_version_available { + get { + return ResourceManager.GetString("update_wox_update_new_version_available", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to This upgrade will restart Wox. + /// + public static string update_wox_update_restart_wox_tip { + get { + return ResourceManager.GetString("update_wox_update_restart_wox_tip", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Update description. + /// + public static string update_wox_update_upadte_description { + get { + return ResourceManager.GetString("update_wox_update_upadte_description", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Following files will be updated. + /// + public static string update_wox_update_upadte_files { + get { + return ResourceManager.GetString("update_wox_update_upadte_files", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to User Name. + /// + public static string userName { + get { + return ResourceManager.GetString("userName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Version. + /// + public static string version { + get { + return ResourceManager.GetString("version", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Website. + /// + public static string website { + get { + return ResourceManager.GetString("website", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Window Mode. + /// + public static string windowMode { + get { + return ResourceManager.GetString("windowMode", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Wox Settings. + /// + public static string wox_settings { + get { + return ResourceManager.GetString("wox_settings", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Wox Hotkey. + /// + public static string woxHotkey { + get { + return ResourceManager.GetString("woxHotkey", resourceCulture); } } } diff --git a/src/modules/launcher/PowerLauncher/Properties/Resources.resx b/src/modules/launcher/PowerLauncher/Properties/Resources.resx index ac8421676..be4cc1415 100644 --- a/src/modules/launcher/PowerLauncher/Properties/Resources.resx +++ b/src/modules/launcher/PowerLauncher/Properties/Resources.resx @@ -117,8 +117,349 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - ..\Resources\placeholderLauncher.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + Start typing... + + + Failed to register hotkey: {0} + + + Could not start {0} + + + Invalid Wox plugin file format + + + Set as topmost in this query + + + Cancel topmost in this query + + + Execute query: {0} + + + Last execution time: {0} + + + Open + + + Settings + + + About + + + Exit + + + Wox Settings + + + General + + + Start Wox on system startup + + + Hide Wox when focus is lost + + + Do not show new version notifications + + + Remember last launch location + + + Language + + + Last Query Style + + + Preserve Last Query + + + Select last Query + + + Empty last Query + + + Maximum results shown + + + Ignore hotkeys in fullscreen mode + + + Auto Update + + + Hide Wox on startup + + + Hide tray icon + + + Query Search Precision + + + Should Use Pinyin + + + Plugin + + + Find more plugins + + + Disable + + + Action keywords + + + Plugin Directory + + + Author + + + Init time: {0}ms + + + Query time: {0}ms + + + Theme + + + Browse for more themes + + + Hello Wox + + + Query Box Font + + + Result Item Font + + + Window Mode + + + Opacity + + + Theme {0} not exists, fallback to default theme + + + Fail to load theme {0}, fallback to default theme + + + Hotkey + + + Wox Hotkey + + + Custom Query Hotkey + + + Delete + + + Edit + + + Add + + + Please select an item + + + Are you sure you want to delete {0} plugin hotkey? + + + HTTP Proxy + + + Enable HTTP Proxy + + + HTTP Server + + + Port + + + User Name + + + Password + + + Test Proxy + + + Save + + + Server field can't be empty + + + Port field can't be empty + + + Invalid port format + + + Proxy configuration saved successfully + + + Proxy configured correctly + + + Proxy connection failed + + + About + + + Website + + + Version + + + You have activated Wox {0} times + + + Check for Updates + + + New version {0} is available, please restart Wox. + + + Check updates failed, please check your connection and proxy settings to api.github.com. + + + Release Notes: + + + Old Action Keyword + + + New Action Keyword + + + Cancel + + + Done + + + Can't find specified plugin + + + New Action Keyword can't be empty + + + New Action Keywords have been assigned to another plugin, please assign other new action keyword + + + Success + + + Use * if you don't want to specify an action keyword + + + Preview + + + Hotkey is unavailable, please select a new hotkey + + + Invalid plugin hotkey + + + Update + + + Hotkey unavailable + + + Something went wrong. + + + Please file a bug in the + + + PowerToys GitHub repository + + + Make sure to upload the log file and to include the error message. + + + . + + + PowerToys Run ran into an issue + + + New Wox release {0} is now available + + + An error occurred while trying to install software updates + + + Update + + + Cancel + + + This upgrade will restart Wox + + + Following files will be updated + + + Update files + + + Update description + + + Application Icon + + + Context Menu Item + + + Context Menu Item Additional Information + + + Context Menu Icon + + + Context Menu Items Collection + + + Query + + + Results + + + Search Icon + + + Subtitle + + + Title \ No newline at end of file diff --git a/src/modules/launcher/PowerLauncher/PublicAPIInstance.cs b/src/modules/launcher/PowerLauncher/PublicAPIInstance.cs index 354e0b294..4171d6f9d 100644 --- a/src/modules/launcher/PowerLauncher/PublicAPIInstance.cs +++ b/src/modules/launcher/PowerLauncher/PublicAPIInstance.cs @@ -10,7 +10,6 @@ using System.Windows; using PowerLauncher.Helper; using PowerLauncher.ViewModel; using Wox.Core.Plugin; -using Wox.Core.Resource; using Wox.Infrastructure; using Wox.Infrastructure.Image; using Wox.Plugin; @@ -83,11 +82,6 @@ namespace Wox Application.Current.Dispatcher.Invoke(() => PluginManager.InstallPlugin(path)); } - public string GetTranslation(string key) - { - return InternationalizationManager.Instance.GetTranslation(key); - } - public List GetAllPlugins() { return PluginManager.AllPlugins.ToList(); diff --git a/src/modules/launcher/PowerLauncher/ReportWindow.xaml b/src/modules/launcher/PowerLauncher/ReportWindow.xaml index 66f1f6c27..ce794a8e5 100644 --- a/src/modules/launcher/PowerLauncher/ReportWindow.xaml +++ b/src/modules/launcher/PowerLauncher/ReportWindow.xaml @@ -3,6 +3,7 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:p="clr-namespace:PowerLauncher.Properties" mc:Ignorable="d" WindowStartupLocation="CenterScreen" Background="{DynamicResource SystemChromeLow}" @@ -11,7 +12,7 @@ ResizeMode="NoResize" Width="760" Height="560" - Title="{DynamicResource reportWindow_wox_got_an_error}" + Title="{x:Static p:Resources.reportWindow_wox_got_an_error}" d:DesignHeight="300" d:DesignWidth="600" x:ClassModifier="internal"> @@ -28,7 +29,7 @@ - @@ -38,9 +39,12 @@ TextWrapping="Wrap" Foreground="{DynamicResource ControlTextBrushKey}"> - - PowerToys GitHub repository - + + + + + + @@ -161,7 +162,7 @@ SelectionMode="Single" SelectedIndex="{Binding Results.SelectedIndex, Mode=TwoWay}" ItemContainerStyle="{StaticResource ResultsListViewItemContainerStyle}" - AutomationProperties.Name="{DynamicResource Results}"> + AutomationProperties.Name="{x:Static p:Resources.Results}"> @@ -210,11 +211,11 @@ - - - + + + - diff --git a/src/modules/launcher/PowerLauncher/ViewModel/MainViewModel.cs b/src/modules/launcher/PowerLauncher/ViewModel/MainViewModel.cs index 9b6982f20..01654c48c 100644 --- a/src/modules/launcher/PowerLauncher/ViewModel/MainViewModel.cs +++ b/src/modules/launcher/PowerLauncher/ViewModel/MainViewModel.cs @@ -18,7 +18,6 @@ using Microsoft.PowerToys.Telemetry; using PowerLauncher.Helper; using PowerLauncher.Storage; using Wox.Core.Plugin; -using Wox.Core.Resource; using Wox.Infrastructure; using Wox.Infrastructure.Hotkey; using Wox.Infrastructure.Storage; @@ -42,7 +41,6 @@ namespace PowerLauncher.ViewModel private readonly UserSelectedRecord _userSelectedRecord; private readonly TopMostRecord _topMostRecord; private readonly object _addResultsLock = new object(); - private readonly Internationalization _translator = InternationalizationManager.Instance; private readonly System.Diagnostics.Stopwatch _hotkeyTimer = new System.Diagnostics.Stopwatch(); private string _queryTextBeforeLeaveResults; @@ -419,8 +417,8 @@ namespace PowerLauncher.ViewModel var results = new List(); foreach (var h in _history.Items) { - var title = _translator.GetTranslation("executeQuery"); - var time = _translator.GetTranslation("lastExecuteTime"); + var title = Properties.Resources.executeQuery; + var time = Properties.Resources.lastExecuteTime; var result = new Result { Title = string.Format(CultureInfo.InvariantCulture, title, h.Query), @@ -648,7 +646,7 @@ namespace PowerLauncher.ViewModel catch (Exception) #pragma warning restore CA1031 // Do not catch general exception types { - string errorMsg = string.Format(CultureInfo.InvariantCulture, InternationalizationManager.Instance.GetTranslation("registerHotkeyFailed"), hotkeyStr); + string errorMsg = string.Format(CultureInfo.InvariantCulture, Properties.Resources.registerHotkeyFailed, hotkeyStr); MessageBox.Show(errorMsg); } } diff --git a/src/modules/launcher/PowerLauncher/ViewModel/SettingWindowViewModel.cs b/src/modules/launcher/PowerLauncher/ViewModel/SettingWindowViewModel.cs index af4e86c9e..721fd963e 100644 --- a/src/modules/launcher/PowerLauncher/ViewModel/SettingWindowViewModel.cs +++ b/src/modules/launcher/PowerLauncher/ViewModel/SettingWindowViewModel.cs @@ -3,7 +3,6 @@ // See the LICENSE file in the project root for more information. using System.Globalization; -using Wox.Core.Resource; using Wox.Infrastructure.Storage; using Wox.Infrastructure.UserSettings; using Wox.Plugin; @@ -34,8 +33,6 @@ namespace PowerLauncher.ViewModel _storage.Save(); } - private static Internationalization Translater => InternationalizationManager.Instance; - - public string ActivatedTimes => string.Format(CultureInfo.InvariantCulture, Translater.GetTranslation("about_activate_times"), Settings.ActivateTimes); + public string ActivatedTimes => string.Format(CultureInfo.InvariantCulture, Properties.Resources.about_activate_times, Settings.ActivateTimes); } } diff --git a/src/modules/launcher/Wox.Core/Resource/AvailableLanguages.cs b/src/modules/launcher/Wox.Core/Resource/AvailableLanguages.cs deleted file mode 100644 index a24db68d4..000000000 --- a/src/modules/launcher/Wox.Core/Resource/AvailableLanguages.cs +++ /dev/null @@ -1,73 +0,0 @@ -// Copyright (c) Microsoft Corporation -// The Microsoft Corporation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -using System.Collections.Generic; - -namespace Wox.Core.Resource -{ - internal static class AvailableLanguages - { - public static Language English { get; set; } = new Language("en", "English"); - - public static Language Chinese { get; set; } = new Language("zh-cn", "中文"); - - public static Language Chinese_TW { get; set; } = new Language("zh-tw", "中文(繁体)"); - - public static Language Ukrainian { get; set; } = new Language("uk-UA", "Українська"); - - public static Language Russian { get; set; } = new Language("ru", "Русский"); - - public static Language French { get; set; } = new Language("fr", "Français"); - - public static Language Japanese { get; set; } = new Language("ja", "日本語"); - - public static Language Dutch { get; set; } = new Language("nl", "Dutch"); - - public static Language Polish { get; set; } = new Language("pl", "Polski"); - - public static Language Danish { get; set; } = new Language("da", "Dansk"); - - public static Language German { get; set; } = new Language("de", "Deutsch"); - - public static Language Korean { get; set; } = new Language("ko", "한국어"); - - public static Language Serbian { get; set; } = new Language("sr", "Srpski"); - - public static Language Portuguese_BR { get; set; } = new Language("pt-br", "Português (Brasil)"); - - public static Language Italian { get; set; } = new Language("it", "Italiano"); - - public static Language Norwegian_Bokmal { get; set; } = new Language("nb-NO", "Norsk Bokmål"); - - public static Language Slovak { get; set; } = new Language("sk", "Slovenský"); - - public static Language Turkish { get; set; } = new Language("tr", "Türkçe"); - - public static List GetAvailableLanguages() - { - List languages = new List - { - English, - Chinese, - Chinese_TW, - Ukrainian, - Russian, - French, - Japanese, - Dutch, - Polish, - Danish, - German, - Korean, - Serbian, - Portuguese_BR, - Italian, - Norwegian_Bokmal, - Slovak, - Turkish, - }; - return languages; - } - } -} diff --git a/src/modules/launcher/Wox.Core/Resource/Internationalization.cs b/src/modules/launcher/Wox.Core/Resource/Internationalization.cs deleted file mode 100644 index 32f5d4109..000000000 --- a/src/modules/launcher/Wox.Core/Resource/Internationalization.cs +++ /dev/null @@ -1,230 +0,0 @@ -// Copyright (c) Microsoft Corporation -// The Microsoft Corporation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Reflection; -using System.Windows; -using Wox.Core.Plugin; -using Wox.Infrastructure; -using Wox.Infrastructure.Logger; -using Wox.Infrastructure.UserSettings; -using Wox.Plugin; - -namespace Wox.Core.Resource -{ - public class Internationalization - { - public Settings Settings { get; set; } - - private const string Folder = "Languages"; - private const string DefaultFile = "en.xaml"; - private const string Extension = ".xaml"; - private readonly List _languageDirectories = new List(); - private readonly List _oldResources = new List(); - - public Internationalization() - { - AddPluginLanguageDirectories(); - LoadDefaultLanguage(); - - // we don't want to load /Languages/en.xaml twice - // so add wox language directory after load plugin language files - AddWoxLanguageDirectory(); - } - - private void AddWoxLanguageDirectory() - { - var directory = Path.Combine(Constant.ProgramDirectory, Folder); - _languageDirectories.Add(directory); - } - - private void AddPluginLanguageDirectories() - { - foreach (var plugin in PluginManager.GetPluginsForInterface()) - { - var location = Assembly.GetAssembly(plugin.Plugin.GetType()).Location; - var dir = Path.GetDirectoryName(location); - if (dir != null) - { - var pluginThemeDirectory = Path.Combine(dir, Folder); - _languageDirectories.Add(pluginThemeDirectory); - } - else - { - Log.Error($"|Internationalization.AddPluginLanguageDirectories|Can't find plugin path <{location}> for <{plugin.Metadata.Name}>"); - } - } - } - - private void LoadDefaultLanguage() - { - LoadLanguage(AvailableLanguages.English); - _oldResources.Clear(); - } - - public void ChangeLanguage(string languageCode) - { - languageCode = languageCode.NonNull(); - Language language = GetLanguageByLanguageCode(languageCode); - ChangeLanguage(language); - } - - private Language GetLanguageByLanguageCode(string languageCode) - { - var lowercase = languageCode.ToLower(); - var language = AvailableLanguages.GetAvailableLanguages().FirstOrDefault(o => o.LanguageCode.ToLower() == lowercase); - if (language == null) - { - Log.Error($"|Internationalization.GetLanguageByLanguageCode|Language code can't be found <{languageCode}>"); - return AvailableLanguages.English; - } - else - { - return language; - } - } - - public void ChangeLanguage(Language language) - { - language = language.NonNull(); - - Settings.Language = language.LanguageCode; - - RemoveOldLanguageFiles(); - if (language != AvailableLanguages.English) - { - LoadLanguage(language); - } - - UpdatePluginMetadataTranslations(); - } - - public bool PromptShouldUsePinyin(string languageCodeToSet) - { - var languageToSet = GetLanguageByLanguageCode(languageCodeToSet); - - if (Settings.ShouldUsePinyin) - { - return false; - } - - if (languageToSet != AvailableLanguages.Chinese && languageToSet != AvailableLanguages.Chinese_TW) - { - return false; - } - - if (MessageBox.Show("Do you want to turn on search with Pinyin?", string.Empty, MessageBoxButton.YesNo) == MessageBoxResult.No) - { - return false; - } - - return true; - } - - private void RemoveOldLanguageFiles() - { - var dicts = Application.Current.Resources.MergedDictionaries; - foreach (var r in _oldResources) - { - dicts.Remove(r); - } - } - - private void LoadLanguage(Language language) - { - var dicts = Application.Current.Resources.MergedDictionaries; - var filename = $"{language.LanguageCode}{Extension}"; - var files = _languageDirectories - .Select(d => LanguageFile(d, filename)) - .Where(f => !string.IsNullOrEmpty(f)) - .ToArray(); - - if (files.Length > 0) - { - foreach (var f in files) - { - var r = new ResourceDictionary - { - Source = new Uri(f, UriKind.Absolute), - }; - dicts.Add(r); - _oldResources.Add(r); - } - } - } - - public List LoadAvailableLanguages() - { - return AvailableLanguages.GetAvailableLanguages(); - } - - public string GetTranslation(string key) - { - var translation = Application.Current.TryFindResource(key); - if (translation is string) - { - return translation.ToString(); - } - else - { - Log.Error($"|Internationalization.GetTranslation|No Translation for key {key}"); - return $"No Translation for key {key}"; - } - } - - private void UpdatePluginMetadataTranslations() - { - foreach (var p in PluginManager.GetPluginsForInterface()) - { - if (!(p.Plugin is IPluginI18n pluginI18N)) - { - return; - } - - try - { - p.Metadata.Name = pluginI18N.GetTranslatedPluginTitle(); - p.Metadata.Description = pluginI18N.GetTranslatedPluginDescription(); - } - catch (Exception e) - { - Log.Exception($"|Internationalization.UpdatePluginMetadataTranslations|Failed for <{p.Metadata.Name}>", e); - } - } - } - - public string LanguageFile(string folder, string language) - { - if (Directory.Exists(folder)) - { - string path = Path.Combine(folder, language); - if (File.Exists(path)) - { - return path; - } - else - { - Log.Error($"|Internationalization.LanguageFile|Language path can't be found <{path}>"); - string english = Path.Combine(folder, DefaultFile); - if (File.Exists(english)) - { - return english; - } - else - { - Log.Error($"|Internationalization.LanguageFile|Default English Language path can't be found <{path}>"); - return string.Empty; - } - } - } - else - { - return string.Empty; - } - } - } -} diff --git a/src/modules/launcher/Wox.Core/Resource/InternationalizationManager.cs b/src/modules/launcher/Wox.Core/Resource/InternationalizationManager.cs deleted file mode 100644 index eaaa1723e..000000000 --- a/src/modules/launcher/Wox.Core/Resource/InternationalizationManager.cs +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright (c) Microsoft Corporation -// The Microsoft Corporation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -namespace Wox.Core.Resource -{ - public static class InternationalizationManager - { - private static Internationalization instance; - private static object syncObject = new object(); - - public static Internationalization Instance - { - get - { - if (instance == null) - { - lock (syncObject) - { - if (instance == null) - { - instance = new Internationalization(); - } - } - } - - return instance; - } - } - } -} diff --git a/src/modules/launcher/Wox.Core/Resource/Language.cs b/src/modules/launcher/Wox.Core/Resource/Language.cs deleted file mode 100644 index c66ae578d..000000000 --- a/src/modules/launcher/Wox.Core/Resource/Language.cs +++ /dev/null @@ -1,22 +0,0 @@ -// Copyright (c) Microsoft Corporation -// The Microsoft Corporation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -namespace Wox.Core.Resource -{ - public class Language - { - public Language(string code, string display) - { - LanguageCode = code; - Display = display; - } - - /// - /// E.g. En or Zh-CN - /// - public string LanguageCode { get; set; } - - public string Display { get; set; } - } -} diff --git a/src/modules/launcher/Wox.Plugin/IPublicAPI.cs b/src/modules/launcher/Wox.Plugin/IPublicAPI.cs index 2fa649bfe..2c5172826 100644 --- a/src/modules/launcher/Wox.Plugin/IPublicAPI.cs +++ b/src/modules/launcher/Wox.Plugin/IPublicAPI.cs @@ -68,14 +68,6 @@ namespace Wox.Plugin /// Plugin path (ends with .wox) void InstallPlugin(string path); - /// - /// Get translation of current language - /// You need to implement IPluginI18n if you want to support multiple languages for your plugin - /// - /// - /// - string GetTranslation(string key); - /// /// Get all loaded plugins /// diff --git a/src/modules/launcher/Wox.Test/Plugins/FolderPluginTest.cs b/src/modules/launcher/Wox.Test/Plugins/FolderPluginTest.cs index 7db6d3205..43dd47087 100644 --- a/src/modules/launcher/Wox.Test/Plugins/FolderPluginTest.cs +++ b/src/modules/launcher/Wox.Test/Plugins/FolderPluginTest.cs @@ -17,7 +17,6 @@ namespace Wox.Test.Plugins { // Arrange var mock = new Mock(); - mock.Setup(api => api.GetTranslation(It.IsAny())).Returns(It.IsAny()); var pluginInitContext = new PluginInitContext() { API = mock.Object }; var contextMenuLoader = new ContextMenuLoader(pluginInitContext); var searchResult = new SearchResult() { Type = ResultType.Folder, FullPath = "C:/DummyFolder" }; @@ -28,8 +27,8 @@ namespace Wox.Test.Plugins // Assert Assert.AreEqual(contextMenuResults.Count, 2); - mock.Verify(x => x.GetTranslation("Microsoft_plugin_folder_copy_path"), Times.Once()); - mock.Verify(x => x.GetTranslation("Microsoft_plugin_folder_open_in_console"), Times.Once()); + Assert.AreEqual(contextMenuResults[0].Title, Microsoft.Plugin.Folder.Properties.Resources.Microsoft_plugin_folder_copy_path); + Assert.AreEqual(contextMenuResults[1].Title, Microsoft.Plugin.Folder.Properties.Resources.Microsoft_plugin_folder_open_in_console); } [Test] @@ -37,7 +36,6 @@ namespace Wox.Test.Plugins { // Arrange var mock = new Mock(); - mock.Setup(api => api.GetTranslation(It.IsAny())).Returns(It.IsAny()); var pluginInitContext = new PluginInitContext() { API = mock.Object }; var contextMenuLoader = new ContextMenuLoader(pluginInitContext); var searchResult = new SearchResult() { Type = ResultType.File, FullPath = "C:/DummyFile.cs" }; @@ -48,9 +46,9 @@ namespace Wox.Test.Plugins // Assert Assert.AreEqual(contextMenuResults.Count, 3); - mock.Verify(x => x.GetTranslation("Microsoft_plugin_folder_open_containing_folder"), Times.Once()); - mock.Verify(x => x.GetTranslation("Microsoft_plugin_folder_copy_path"), Times.Once()); - mock.Verify(x => x.GetTranslation("Microsoft_plugin_folder_open_in_console"), Times.Once()); + Assert.AreEqual(contextMenuResults[0].Title, Microsoft.Plugin.Folder.Properties.Resources.Microsoft_plugin_folder_open_containing_folder); + Assert.AreEqual(contextMenuResults[1].Title, Microsoft.Plugin.Folder.Properties.Resources.Microsoft_plugin_folder_copy_path); + Assert.AreEqual(contextMenuResults[2].Title, Microsoft.Plugin.Folder.Properties.Resources.Microsoft_plugin_folder_open_in_console); } } } diff --git a/src/modules/launcher/Wox.Test/Plugins/WindowsIndexerTest.cs b/src/modules/launcher/Wox.Test/Plugins/WindowsIndexerTest.cs index 84bb36fd8..5824a8429 100644 --- a/src/modules/launcher/Wox.Test/Plugins/WindowsIndexerTest.cs +++ b/src/modules/launcher/Wox.Test/Plugins/WindowsIndexerTest.cs @@ -282,10 +282,10 @@ namespace Wox.Test.Plugins // Assert Assert.AreEqual(contextMenuItems.Count, 4); - mockapi.Verify(m => m.GetTranslation("Microsoft_plugin_indexer_copy_path"), Times.Once()); - mockapi.Verify(m => m.GetTranslation("Microsoft_plugin_indexer_run_as_administrator"), Times.Once()); - mockapi.Verify(m => m.GetTranslation("Microsoft_plugin_indexer_open_containing_folder"), Times.Once()); - mockapi.Verify(m => m.GetTranslation("Microsoft_plugin_indexer_open_in_console"), Times.Once()); + Assert.AreEqual(contextMenuItems[0].Title, Microsoft.Plugin.Indexer.Properties.Resources.Microsoft_plugin_indexer_open_containing_folder); + Assert.AreEqual(contextMenuItems[1].Title, Microsoft.Plugin.Indexer.Properties.Resources.Microsoft_plugin_indexer_run_as_administrator); + Assert.AreEqual(contextMenuItems[2].Title, Microsoft.Plugin.Indexer.Properties.Resources.Microsoft_plugin_indexer_copy_path); + Assert.AreEqual(contextMenuItems[3].Title, Microsoft.Plugin.Indexer.Properties.Resources.Microsoft_plugin_indexer_open_in_console); } [TestCase("item.pdf")] @@ -310,10 +310,9 @@ namespace Wox.Test.Plugins // Assert Assert.AreEqual(contextMenuItems.Count, 3); - mockapi.Verify(m => m.GetTranslation("Microsoft_plugin_indexer_copy_path"), Times.Once()); - mockapi.Verify(m => m.GetTranslation("Microsoft_plugin_indexer_run_as_administrator"), Times.Never()); - mockapi.Verify(m => m.GetTranslation("Microsoft_plugin_indexer_open_containing_folder"), Times.Once()); - mockapi.Verify(m => m.GetTranslation("Microsoft_plugin_indexer_open_in_console"), Times.Once()); + Assert.AreEqual(contextMenuItems[0].Title, Microsoft.Plugin.Indexer.Properties.Resources.Microsoft_plugin_indexer_open_containing_folder); + Assert.AreEqual(contextMenuItems[1].Title, Microsoft.Plugin.Indexer.Properties.Resources.Microsoft_plugin_indexer_copy_path); + Assert.AreEqual(contextMenuItems[2].Title, Microsoft.Plugin.Indexer.Properties.Resources.Microsoft_plugin_indexer_open_in_console); } [TestCase("C:/DummyFolder")] @@ -336,10 +335,8 @@ namespace Wox.Test.Plugins // Assert Assert.AreEqual(contextMenuItems.Count, 2); - mockapi.Verify(m => m.GetTranslation("Microsoft_plugin_indexer_copy_path"), Times.Once()); - mockapi.Verify(m => m.GetTranslation("Microsoft_plugin_indexer_run_as_administrator"), Times.Never()); - mockapi.Verify(m => m.GetTranslation("Microsoft_plugin_indexer_open_containing_folder"), Times.Never()); - mockapi.Verify(m => m.GetTranslation("Microsoft_plugin_indexer_open_in_console"), Times.Once()); + Assert.AreEqual(contextMenuItems[0].Title, Microsoft.Plugin.Indexer.Properties.Resources.Microsoft_plugin_indexer_copy_path); + Assert.AreEqual(contextMenuItems[1].Title, Microsoft.Plugin.Indexer.Properties.Resources.Microsoft_plugin_indexer_open_in_console); } [TestCase(0, false, ExpectedResult = true)]