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 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Folder/FolderPluginSettings.xaml.cs b/src/modules/launcher/Plugins/Microsoft.Plugin.Folder/FolderPluginSettings.xaml.cs
deleted file mode 100644
index 14adcf814..000000000
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Folder/FolderPluginSettings.xaml.cs
+++ /dev/null
@@ -1,127 +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.Globalization;
-using System.IO;
-using System.Linq;
-using System.Windows;
-using System.Windows.Forms;
-using Wox.Plugin;
-using DataFormats = System.Windows.DataFormats;
-using DragDropEffects = System.Windows.DragDropEffects;
-using DragEventArgs = System.Windows.DragEventArgs;
-using MessageBox = System.Windows.MessageBox;
-
-namespace Microsoft.Plugin.Folder
-{
- public partial class FileSystemSettings
- {
- private IPublicAPI _woxAPI;
- private FolderSettings _settings;
-
- public FileSystemSettings(IPublicAPI woxAPI, FolderSettings settings)
- {
- _woxAPI = woxAPI;
- InitializeComponent();
- _settings = settings ?? throw new ArgumentNullException(paramName: nameof(settings));
- lbxFolders.ItemsSource = _settings.FolderLinks;
- }
-
- private void BtnDelete_Click(object sender, RoutedEventArgs e)
- {
- if (lbxFolders.SelectedItem is FolderLink selectedFolder)
- {
- string msg = string.Format(CultureInfo.InvariantCulture, _woxAPI.GetTranslation("wox_plugin_folder_delete_folder_link"), selectedFolder.Path);
-
- if (MessageBox.Show(msg, string.Empty, MessageBoxButton.YesNo) == MessageBoxResult.Yes)
- {
- _settings.FolderLinks.Remove(selectedFolder);
- lbxFolders.Items.Refresh();
- }
- }
- else
- {
- string warning = _woxAPI.GetTranslation("wox_plugin_folder_select_folder_link_warning");
- MessageBox.Show(warning);
- }
- }
-
- private void BtnEdit_Click(object sender, RoutedEventArgs e)
- {
- if (lbxFolders.SelectedItem is FolderLink selectedFolder)
- {
- using (var folderBrowserDialog = new FolderBrowserDialog())
- {
- folderBrowserDialog.SelectedPath = selectedFolder.Path;
- if (folderBrowserDialog.ShowDialog() == DialogResult.OK)
- {
- var link = _settings.FolderLinks.First(x => x.Path == selectedFolder.Path);
- link.Path = folderBrowserDialog.SelectedPath;
- }
-
- lbxFolders.Items.Refresh();
- }
- }
- else
- {
- string warning = _woxAPI.GetTranslation("wox_plugin_folder_select_folder_link_warning");
- MessageBox.Show(warning);
- }
- }
-
- private void BtnAdd_Click(object sender, RoutedEventArgs e)
- {
- using (var folderBrowserDialog = new FolderBrowserDialog())
- {
- if (folderBrowserDialog.ShowDialog() == DialogResult.OK)
- {
- var newFolder = new FolderLink
- {
- Path = folderBrowserDialog.SelectedPath,
- };
-
- _settings.FolderLinks.Add(newFolder);
- }
-
- lbxFolders.Items.Refresh();
- }
- }
-
- private void LbxFolders_Drop(object sender, DragEventArgs e)
- {
- string[] files = (string[])e.Data.GetData(DataFormats.FileDrop);
-
- if (files != null && files.Any())
- {
- foreach (string s in files)
- {
- if (Directory.Exists(s))
- {
- var newFolder = new FolderLink
- {
- Path = s,
- };
-
- _settings.FolderLinks.Add(newFolder);
- }
-
- lbxFolders.Items.Refresh();
- }
- }
- }
-
- private void LbxFolders_DragEnter(object sender, DragEventArgs e)
- {
- if (e.Data.GetDataPresent(DataFormats.FileDrop))
- {
- e.Effects = DragDropEffects.Link;
- }
- else
- {
- e.Effects = DragDropEffects.None;
- }
- }
- }
-}
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Folder/Languages/de.xaml b/src/modules/launcher/Plugins/Microsoft.Plugin.Folder/Languages/de.xaml
deleted file mode 100644
index 168650a55..000000000
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Folder/Languages/de.xaml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
- Löschen
- Bearbeiten
- Hinzufügen
- Ordnerpfad
- Bitte wähle eine Ordnerverknüpfung
- Bist du sicher {0} zu löschen?
-
- Ordner
- Öffne deine Lieblingsordner direkt von Wox aus
- Copy path (Ctrl+C)
- Open path in console (Ctrl+Shift+C)
- Open containing folder (Ctrl+Shift+E)
-
- Warning: Folder Plugin Results truncated.
- Showing {0} of {1} results
-
\ No newline at end of file
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Folder/Languages/en.xaml b/src/modules/launcher/Plugins/Microsoft.Plugin.Folder/Languages/en.xaml
deleted file mode 100644
index edef84f9f..000000000
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Folder/Languages/en.xaml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
- Delete
- Edit
- Add
- Folder Path
- Please select a folder link
- Are you sure you want to delete {0}?
-
- Folder
- Open favorite folder from Wox directly
- Copy path (Ctrl+C)
- Open path in console (Ctrl+Shift+C)
- Open containing folder (Ctrl+Shift+E)
-
- Warning: Folder Plugin Results truncated.
- Showing {0} of {1} results
-
\ No newline at end of file
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Folder/Languages/pl.xaml b/src/modules/launcher/Plugins/Microsoft.Plugin.Folder/Languages/pl.xaml
deleted file mode 100644
index 6df27b682..000000000
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Folder/Languages/pl.xaml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
- Usuń
- Edytuj
- Dodaj
- Ścieżka folderu
- Musisz wybrać któryś folder z listy
- Czy jesteś pewien że chcesz usunąć {0}?
-
- Foldery
- Otwórz ulubione foldery bezpośrednio z poziomu Woxa
- Copy path (Ctrl+C)
- Open path in console (Ctrl+Shift+C)
- Open containing folder (Ctrl+Shift+E)
-
- Warning: Folder Plugin Results truncated.
- Showing {0} of {1} results
-
\ No newline at end of file
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Folder/Languages/tr.xaml b/src/modules/launcher/Plugins/Microsoft.Plugin.Folder/Languages/tr.xaml
deleted file mode 100644
index a8f3271aa..000000000
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Folder/Languages/tr.xaml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
- Sil
- Düzenle
- Ekle
- Klasör Konumu
- Lütfen bir klasör bağlantısı seçin
- {0} bağlantısını silmek istediğinize emin misiniz?
-
- Klasör
- Favori klasörünüzü doğrudan Wox'tan açın
- Copy path (Ctrl+C)
- Open path in console (Ctrl+Shift+C)
- Open containing folder (Ctrl+Shift+E)
-
- Warning: Folder Plugin Results truncated.
- Showing {0} of {1} results
-
\ No newline at end of file
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Folder/Languages/zh-cn.xaml b/src/modules/launcher/Plugins/Microsoft.Plugin.Folder/Languages/zh-cn.xaml
deleted file mode 100644
index 4f17a3023..000000000
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Folder/Languages/zh-cn.xaml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
- 删除
- 编辑
- 添加
- 文件夹路径
- 请选择一个文件夹
- 你确定要删除{0}吗?
-
- 文件夹
- 在Wox中直接打开收藏的文件夹
- Copy path (Ctrl+C)
- Open path in console (Ctrl+Shift+C)
- Open containing folder (Ctrl+Shift+E)
-
- Warning: Folder Plugin Results truncated.
- Showing {0} of {1} results
-
\ No newline at end of file
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Folder/Languages/zh-tw.xaml b/src/modules/launcher/Plugins/Microsoft.Plugin.Folder/Languages/zh-tw.xaml
deleted file mode 100644
index 290e50204..000000000
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Folder/Languages/zh-tw.xaml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
- 刪除
- 編輯
- 新增
- 資料夾路徑
- 請選擇一個資料夾
- 你確認要刪除{0}嗎?
-
- 資料夾
- 在 Wox 中直接開啟收藏的資料夾
- Copy path (Ctrl+C)
- Open path in console (Ctrl+Shift+C)
- Open containing folder (Ctrl+Shift+E)
-
- Warning: Folder Plugin Results truncated.
- Showing {0} of {1} results
-
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Folder/LocProject.json b/src/modules/launcher/Plugins/Microsoft.Plugin.Folder/LocProject.json
new file mode 100644
index 000000000..d5412880a
--- /dev/null
+++ b/src/modules/launcher/Plugins/Microsoft.Plugin.Folder/LocProject.json
@@ -0,0 +1,14 @@
+{
+ "Projects": [
+ {
+ "LanguageSet": "Azure_Languages",
+ "LocItems": [
+ {
+ "SourceFile": "src\\modules\\launcher\\Plugins\\Microsoft.Plugin.Folder\\Properties\\Resources.resx",
+ "CopyOption": "LangIDOnName",
+ "OutputPath": "src\\modules\\launcher\\Plugins\\Microsoft.Plugin.Folder\\Properties"
+ }
+ ]
+ }
+ ]
+}
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Folder/Main.cs b/src/modules/launcher/Plugins/Microsoft.Plugin.Folder/Main.cs
index 69377fee3..b5b648985 100644
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Folder/Main.cs
+++ b/src/modules/launcher/Plugins/Microsoft.Plugin.Folder/Main.cs
@@ -41,7 +41,7 @@ namespace Microsoft.Plugin.Folder
public Control CreateSettingPanel()
{
- return new FileSystemSettings(_context.API, _settings);
+ throw new NotImplementedException();
}
public void Init(PluginInitContext context)
@@ -290,9 +290,9 @@ namespace Microsoft.Plugin.Folder
{
return new Result
{
- Title = _context.API.GetTranslation("Microsoft_plugin_folder_truncation_warning_title"),
+ Title = Properties.Resources.Microsoft_plugin_folder_truncation_warning_title,
QueryTextDisplay = search,
- SubTitle = string.Format(CultureInfo.InvariantCulture, _context.API.GetTranslation("Microsoft_plugin_folder_truncation_warning_subtitle"), postTruncationCount, preTruncationCount),
+ SubTitle = string.Format(CultureInfo.InvariantCulture, Properties.Resources.Microsoft_plugin_folder_truncation_warning_subtitle, postTruncationCount, preTruncationCount),
IcoPath = warningIconPath,
};
}
@@ -354,12 +354,12 @@ namespace Microsoft.Plugin.Folder
public string GetTranslatedPluginTitle()
{
- return _context.API.GetTranslation("wox_plugin_folder_plugin_name");
+ return Properties.Resources.wox_plugin_folder_plugin_name;
}
public string GetTranslatedPluginDescription()
{
- return _context.API.GetTranslation("wox_plugin_folder_plugin_description");
+ return Properties.Resources.wox_plugin_folder_plugin_description;
}
public List LoadContextMenus(Result selectedResult)
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Folder/Microsoft.Plugin.Folder.csproj b/src/modules/launcher/Plugins/Microsoft.Plugin.Folder/Microsoft.Plugin.Folder.csproj
index e46850e0b..115fe556c 100644
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Folder/Microsoft.Plugin.Folder.csproj
+++ b/src/modules/launcher/Plugins/Microsoft.Plugin.Folder/Microsoft.Plugin.Folder.csproj
@@ -12,6 +12,7 @@
false
false
x64
+ en-US
@@ -39,6 +40,12 @@
MinimumRecommendedRules.ruleset
4
+
+
+
+
+
+
@@ -51,43 +58,6 @@
<_Parameter1>Wox.Test
-
-
-
- MSBuild:Compile
- Designer
-
-
- MSBuild:Compile
- Designer
- PreserveNewest
-
-
- MSBuild:Compile
- Designer
- PreserveNewest
-
-
- MSBuild:Compile
- Designer
- PreserveNewest
-
-
- MSBuild:Compile
- Designer
- PreserveNewest
-
-
- MSBuild:Compile
- Designer
- PreserveNewest
-
-
- MSBuild:Compile
- Designer
- PreserveNewest
-
-
@@ -158,4 +128,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.Folder/Properties/Resources.Designer.cs b/src/modules/launcher/Plugins/Microsoft.Plugin.Folder/Properties/Resources.Designer.cs
new file mode 100644
index 000000000..1ea1ca101
--- /dev/null
+++ b/src/modules/launcher/Plugins/Microsoft.Plugin.Folder/Properties/Resources.Designer.cs
@@ -0,0 +1,189 @@
+//------------------------------------------------------------------------------
+//
+// 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.Folder.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.Folder.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 Fail to set text in clipboard.
+ ///
+ public static string Microsoft_plugin_folder_clipboard_failed {
+ get {
+ return ResourceManager.GetString("Microsoft_plugin_folder_clipboard_failed", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Copy path (Ctrl+C).
+ ///
+ public static string Microsoft_plugin_folder_copy_path {
+ get {
+ return ResourceManager.GetString("Microsoft_plugin_folder_copy_path", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Open containing folder (Ctrl+Shift+E).
+ ///
+ public static string Microsoft_plugin_folder_open_containing_folder {
+ get {
+ return ResourceManager.GetString("Microsoft_plugin_folder_open_containing_folder", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Open path in console (Ctrl+Shift+C).
+ ///
+ public static string Microsoft_plugin_folder_open_in_console {
+ get {
+ return ResourceManager.GetString("Microsoft_plugin_folder_open_in_console", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Showing {0} of {1} results.
+ ///
+ public static string Microsoft_plugin_folder_truncation_warning_subtitle {
+ get {
+ return ResourceManager.GetString("Microsoft_plugin_folder_truncation_warning_subtitle", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Warning: Folder Plugin Results truncated..
+ ///
+ public static string Microsoft_plugin_folder_truncation_warning_title {
+ get {
+ return ResourceManager.GetString("Microsoft_plugin_folder_truncation_warning_title", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Add.
+ ///
+ public static string wox_plugin_folder_add {
+ get {
+ return ResourceManager.GetString("wox_plugin_folder_add", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Delete.
+ ///
+ public static string wox_plugin_folder_delete {
+ get {
+ return ResourceManager.GetString("wox_plugin_folder_delete", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Are you sure you want to delete {0}?.
+ ///
+ public static string wox_plugin_folder_delete_folder_link {
+ get {
+ return ResourceManager.GetString("wox_plugin_folder_delete_folder_link", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Edit.
+ ///
+ public static string wox_plugin_folder_edit {
+ get {
+ return ResourceManager.GetString("wox_plugin_folder_edit", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Folder Path.
+ ///
+ public static string wox_plugin_folder_folder_path {
+ get {
+ return ResourceManager.GetString("wox_plugin_folder_folder_path", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Open favorite folder from PowerToys Run directly.
+ ///
+ public static string wox_plugin_folder_plugin_description {
+ get {
+ return ResourceManager.GetString("wox_plugin_folder_plugin_description", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Folder.
+ ///
+ public static string wox_plugin_folder_plugin_name {
+ get {
+ return ResourceManager.GetString("wox_plugin_folder_plugin_name", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Please select a folder link.
+ ///
+ public static string wox_plugin_folder_select_folder_link_warning {
+ get {
+ return ResourceManager.GetString("wox_plugin_folder_select_folder_link_warning", resourceCulture);
+ }
+ }
+ }
+}
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Folder/Properties/Resources.resx b/src/modules/launcher/Plugins/Microsoft.Plugin.Folder/Properties/Resources.resx
new file mode 100644
index 000000000..af9e4acd6
--- /dev/null
+++ b/src/modules/launcher/Plugins/Microsoft.Plugin.Folder/Properties/Resources.resx
@@ -0,0 +1,162 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 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
+
+
+ Delete
+
+
+ Edit
+
+
+ Add
+
+
+ Folder Path
+
+
+ Please select a folder link
+
+
+ Are you sure you want to delete {0}?
+
+
+ Folder
+
+
+ Open favorite folder from PowerToys Run directly
+
+
+ Copy path (Ctrl+C)
+
+
+ Open path in console (Ctrl+Shift+C)
+
+
+ Open containing folder (Ctrl+Shift+E)
+
+
+ Warning: Folder Plugin Results truncated.
+
+
+ Showing {0} of {1} results
+
+
+ Fail to set text in clipboard
+
+
\ No newline at end of file
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/ContextMenuLoader.cs b/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/ContextMenuLoader.cs
index 2bddf954d..9844a213c 100644
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/ContextMenuLoader.cs
+++ b/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/ContextMenuLoader.cs
@@ -57,7 +57,7 @@ namespace Microsoft.Plugin.Indexer
contextMenus.Add(new ContextMenuResult
{
PluginName = Assembly.GetExecutingAssembly().GetName().Name,
- Title = _context.API.GetTranslation("Microsoft_plugin_indexer_copy_path"),
+ Title = Properties.Resources.Microsoft_plugin_indexer_copy_path,
Glyph = "\xE8C8",
FontFamily = "Segoe MDL2 Assets",
AcceleratorKey = Key.C,
@@ -82,7 +82,7 @@ namespace Microsoft.Plugin.Indexer
contextMenus.Add(new ContextMenuResult
{
PluginName = Assembly.GetExecutingAssembly().GetName().Name,
- Title = _context.API.GetTranslation("Microsoft_plugin_indexer_open_in_console"),
+ Title = Properties.Resources.Microsoft_plugin_indexer_open_in_console,
Glyph = "\xE756",
FontFamily = "Segoe MDL2 Assets",
AcceleratorKey = Key.C,
@@ -117,12 +117,12 @@ namespace Microsoft.Plugin.Indexer
// Function to add the context menu item to run as admin
[System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Justification = "We want to keep the process alive, and instead log the exeption message")]
- private ContextMenuResult CreateRunAsAdminContextMenu(SearchResult record)
+ private static ContextMenuResult CreateRunAsAdminContextMenu(SearchResult record)
{
return new ContextMenuResult
{
PluginName = Assembly.GetExecutingAssembly().GetName().Name,
- Title = _context.API.GetTranslation("Microsoft_plugin_indexer_run_as_administrator"),
+ Title = Properties.Resources.Microsoft_plugin_indexer_run_as_administrator,
Glyph = "\xE7EF",
FontFamily = "Segoe MDL2 Assets",
AcceleratorKey = Key.Enter,
@@ -164,7 +164,7 @@ namespace Microsoft.Plugin.Indexer
return new ContextMenuResult
{
PluginName = Assembly.GetExecutingAssembly().GetName().Name,
- Title = _context.API.GetTranslation("Microsoft_plugin_indexer_open_containing_folder"),
+ Title = Properties.Resources.Microsoft_plugin_indexer_open_containing_folder,
Glyph = "\xE838",
FontFamily = "Segoe MDL2 Assets",
AcceleratorKey = Key.E,
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/Languages/de.xaml b/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/Languages/de.xaml
deleted file mode 100644
index 142fedd80..000000000
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/Languages/de.xaml
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
- Copy path (Ctrl+C)
- Open containing folder (Ctrl+Shift+E)
- Run as administrator (Ctrl+Shift+Enter)
- Open path in console (Ctrl+Shift+C)
- Name
- Path
- Warning: Not all drives are indexed.
- Click to go to Windows Search settings to fix.
-
-
\ No newline at end of file
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/Languages/en.xaml b/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/Languages/en.xaml
deleted file mode 100644
index 7423473a9..000000000
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/Languages/en.xaml
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
- Copy path (Ctrl+C)
- Open containing folder (Ctrl+Shift+E)
- Run as administrator (Ctrl+Shift+Enter)
- Open path in console (Ctrl+Shift+C)
- Name
- Path
- Warning: Not all drives are indexed.
- Click to go to Windows Search settings to fix.
-
-
\ No newline at end of file
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/Languages/ja.xaml b/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/Languages/ja.xaml
deleted file mode 100644
index 724935185..000000000
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/Languages/ja.xaml
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
- Copy path (Ctrl+C)
- Open containing folder (Ctrl+Shift+E)
- Run as administrator (Ctrl+Shift+Enter)
- Open path in console (Ctrl+Shift+C)
- Name
- Path
- Warning: Not all drives are indexed.
- Click to go to Windows Search settings to fix.
-
-
\ No newline at end of file
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/Languages/pl.xaml b/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/Languages/pl.xaml
deleted file mode 100644
index 7423473a9..000000000
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/Languages/pl.xaml
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
- Copy path (Ctrl+C)
- Open containing folder (Ctrl+Shift+E)
- Run as administrator (Ctrl+Shift+Enter)
- Open path in console (Ctrl+Shift+C)
- Name
- Path
- Warning: Not all drives are indexed.
- Click to go to Windows Search settings to fix.
-
-
\ No newline at end of file
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/Languages/tr.xaml b/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/Languages/tr.xaml
deleted file mode 100644
index 61e99d534..000000000
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/Languages/tr.xaml
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
- Copy path (Ctrl+C)
- Open containing folder (Ctrl+Shift+E)
- Run as administrator (Ctrl+Shift+Enter)
- Open path in console (Ctrl+Shift+C)
- Name
- Path
- Warning: Not all drives are indexed.
- GClick to go to Windows Search settings to fix.
-
-
\ No newline at end of file
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/Languages/zh-cn.xaml b/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/Languages/zh-cn.xaml
deleted file mode 100644
index 7423473a9..000000000
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/Languages/zh-cn.xaml
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
- Copy path (Ctrl+C)
- Open containing folder (Ctrl+Shift+E)
- Run as administrator (Ctrl+Shift+Enter)
- Open path in console (Ctrl+Shift+C)
- Name
- Path
- Warning: Not all drives are indexed.
- Click to go to Windows Search settings to fix.
-
-
\ No newline at end of file
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/Languages/zh-tw.xaml b/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/Languages/zh-tw.xaml
deleted file mode 100644
index 7423473a9..000000000
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/Languages/zh-tw.xaml
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
- Copy path (Ctrl+C)
- Open containing folder (Ctrl+Shift+E)
- Run as administrator (Ctrl+Shift+Enter)
- Open path in console (Ctrl+Shift+C)
- Name
- Path
- Warning: Not all drives are indexed.
- Click to go to Windows Search settings to fix.
-
-
\ No newline at end of file
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/LocProject.json b/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/LocProject.json
new file mode 100644
index 000000000..2602d2e03
--- /dev/null
+++ b/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/LocProject.json
@@ -0,0 +1,14 @@
+{
+ "Projects": [
+ {
+ "LanguageSet": "Azure_Languages",
+ "LocItems": [
+ {
+ "SourceFile": "src\\modules\\launcher\\Plugins\\Microsoft.Plugin.Indexer\\Properties\\Resources.resx",
+ "CopyOption": "LangIDOnName",
+ "OutputPath": "src\\modules\\launcher\\Plugins\\Microsoft.Plugin.Indexer\\Properties"
+ }
+ ]
+ }
+ ]
+}
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/Main.cs b/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/Main.cs
index 5443265d9..7b90856e4 100644
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/Main.cs
+++ b/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/Main.cs
@@ -77,8 +77,8 @@ namespace Microsoft.Plugin.Indexer
{
results.Add(new Result
{
- Title = _context.API.GetTranslation("Microsoft_plugin_indexer_drivedetectionwarning"),
- SubTitle = _context.API.GetTranslation("Microsoft_plugin_indexer_disable_warning_in_settings"),
+ Title = Properties.Resources.Microsoft_plugin_indexer_drivedetectionwarning,
+ SubTitle = Properties.Resources.Microsoft_plugin_indexer_disable_warning_in_settings,
IcoPath = WarningIconPath,
Action = e =>
{
@@ -109,8 +109,8 @@ namespace Microsoft.Plugin.Indexer
foreach (var searchResult in searchResultsList)
{
var path = searchResult.Path;
- var toolTipTitle = string.Format(CultureInfo.CurrentCulture, "{0} : {1}", _context.API.GetTranslation("Microsoft_plugin_indexer_name"), searchResult.Title);
- var toolTipText = string.Format(CultureInfo.CurrentCulture, "{0} : {1}", _context.API.GetTranslation("Microsoft_plugin_indexer_path"), path);
+ var toolTipTitle = string.Format(CultureInfo.CurrentCulture, "{0} : {1}", Properties.Resources.Microsoft_plugin_indexer_name, searchResult.Title);
+ var toolTipText = string.Format(CultureInfo.CurrentCulture, "{0} : {1}", Properties.Resources.Microsoft_plugin_indexer_path, path);
string workingDir = null;
if (_settings.UseLocationAsWorkingDir)
{
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/Microsoft.Plugin.Indexer.csproj b/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/Microsoft.Plugin.Indexer.csproj
index 472ab5ae2..c9ec01d37 100644
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/Microsoft.Plugin.Indexer.csproj
+++ b/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/Microsoft.Plugin.Indexer.csproj
@@ -12,6 +12,7 @@
false
false
x64
+ en-US
@@ -73,44 +74,6 @@
PreserveNewest
-
-
-
- MSBuild:Compile
- Designer
- PreserveNewest
-
-
- MSBuild:Compile
- Designer
- PreserveNewest
-
-
- MSBuild:Compile
- Designer
- PreserveNewest
-
-
- MSBuild:Compile
- Designer
- PreserveNewest
-
-
- MSBuild:Compile
- Designer
- PreserveNewest
-
-
- MSBuild:Compile
- Designer
- PreserveNewest
-
-
- MSBuild:Compile
- Designer
- PreserveNewest
-
-
@@ -132,4 +95,17 @@
all
+
+
+ True
+ True
+ Resources.resx
+
+
+
+
+ PublicResXFileCodeGenerator
+ Resources.Designer.cs
+
+
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/Properties/Resources.Designer.cs b/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/Properties/Resources.Designer.cs
new file mode 100644
index 000000000..cf41b53e3
--- /dev/null
+++ b/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/Properties/Resources.Designer.cs
@@ -0,0 +1,135 @@
+//------------------------------------------------------------------------------
+//
+// 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.Indexer.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.Indexer.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 path (Ctrl+C).
+ ///
+ public static string Microsoft_plugin_indexer_copy_path {
+ get {
+ return ResourceManager.GetString("Microsoft_plugin_indexer_copy_path", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Click to go to Windows Search settings to fix..
+ ///
+ public static string Microsoft_plugin_indexer_disable_warning_in_settings {
+ get {
+ return ResourceManager.GetString("Microsoft_plugin_indexer_disable_warning_in_settings", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Warning: Not all drives are indexed..
+ ///
+ public static string Microsoft_plugin_indexer_drivedetectionwarning {
+ get {
+ return ResourceManager.GetString("Microsoft_plugin_indexer_drivedetectionwarning", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Name.
+ ///
+ public static string Microsoft_plugin_indexer_name {
+ get {
+ return ResourceManager.GetString("Microsoft_plugin_indexer_name", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Open containing folder (Ctrl+Shift+E).
+ ///
+ public static string Microsoft_plugin_indexer_open_containing_folder {
+ get {
+ return ResourceManager.GetString("Microsoft_plugin_indexer_open_containing_folder", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Open path in console (Ctrl+Shift+C).
+ ///
+ public static string Microsoft_plugin_indexer_open_in_console {
+ get {
+ return ResourceManager.GetString("Microsoft_plugin_indexer_open_in_console", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Path.
+ ///
+ public static string Microsoft_plugin_indexer_path {
+ get {
+ return ResourceManager.GetString("Microsoft_plugin_indexer_path", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Run as administrator (Ctrl+Shift+Enter).
+ ///
+ public static string Microsoft_plugin_indexer_run_as_administrator {
+ get {
+ return ResourceManager.GetString("Microsoft_plugin_indexer_run_as_administrator", resourceCulture);
+ }
+ }
+ }
+}
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/Properties/Resources.resx b/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/Properties/Resources.resx
new file mode 100644
index 000000000..f34990d51
--- /dev/null
+++ b/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/Properties/Resources.resx
@@ -0,0 +1,144 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 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
+
+
+ Copy path (Ctrl+C)
+
+
+ Open containing folder (Ctrl+Shift+E)
+
+
+ Run as administrator (Ctrl+Shift+Enter)
+
+
+ Open path in console (Ctrl+Shift+C)
+
+
+ Name
+
+
+ Path
+
+
+ Warning: Not all drives are indexed.
+
+
+ Click to go to Windows Search settings to fix.
+
+
\ No newline at end of file
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Program.UnitTests/Programs/Win32Tests.cs b/src/modules/launcher/Plugins/Microsoft.Plugin.Program.UnitTests/Programs/Win32Tests.cs
index 6759106b1..8f59814ba 100644
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Program.UnitTests/Programs/Win32Tests.cs
+++ b/src/modules/launcher/Plugins/Microsoft.Plugin.Program.UnitTests/Programs/Win32Tests.cs
@@ -369,16 +369,15 @@ namespace Microsoft.Plugin.Program.UnitTests.Programs
{
// Arrange
var mock = new Mock();
- mock.Setup(x => x.GetTranslation(It.IsAny())).Returns(It.IsAny());
// Act
List contextMenuResults = _pinnedWebpage.ContextMenus(mock.Object);
// Assert
Assert.AreEqual(contextMenuResults.Count, 3);
- mock.Verify(x => x.GetTranslation("wox_plugin_program_run_as_administrator"), Times.Once());
- mock.Verify(x => x.GetTranslation("wox_plugin_program_open_containing_folder"), Times.Once());
- mock.Verify(x => x.GetTranslation("wox_plugin_program_open_in_console"), Times.Once());
+ Assert.AreEqual(contextMenuResults[0].Title, Properties.Resources.wox_plugin_program_run_as_administrator);
+ Assert.AreEqual(contextMenuResults[1].Title, Properties.Resources.wox_plugin_program_open_containing_folder);
+ Assert.AreEqual(contextMenuResults[2].Title, Properties.Resources.wox_plugin_program_open_in_console);
}
[Test]
@@ -386,15 +385,14 @@ namespace Microsoft.Plugin.Program.UnitTests.Programs
{
// Arrange
var mock = new Mock();
- mock.Setup(x => x.GetTranslation(It.IsAny())).Returns(It.IsAny());
// Act
List contextMenuResults = _dummyInternetShortcutApp.ContextMenus(mock.Object);
// Assert
Assert.AreEqual(contextMenuResults.Count, 2);
- mock.Verify(x => x.GetTranslation("wox_plugin_program_open_containing_folder"), Times.Once());
- mock.Verify(x => x.GetTranslation("wox_plugin_program_open_in_console"), Times.Once());
+ Assert.AreEqual(contextMenuResults[0].Title, Properties.Resources.wox_plugin_program_open_containing_folder);
+ Assert.AreEqual(contextMenuResults[1].Title, Properties.Resources.wox_plugin_program_open_in_console);
}
[Test]
@@ -402,16 +400,15 @@ namespace Microsoft.Plugin.Program.UnitTests.Programs
{
// Arrange
var mock = new Mock();
- mock.Setup(x => x.GetTranslation(It.IsAny())).Returns(It.IsAny());
// Act
List contextMenuResults = _chrome.ContextMenus(mock.Object);
// Assert
Assert.AreEqual(contextMenuResults.Count, 3);
- mock.Verify(x => x.GetTranslation("wox_plugin_program_run_as_administrator"), Times.Once());
- mock.Verify(x => x.GetTranslation("wox_plugin_program_open_containing_folder"), Times.Once());
- mock.Verify(x => x.GetTranslation("wox_plugin_program_open_in_console"), Times.Once());
+ Assert.AreEqual(contextMenuResults[0].Title, Properties.Resources.wox_plugin_program_run_as_administrator);
+ Assert.AreEqual(contextMenuResults[1].Title, Properties.Resources.wox_plugin_program_open_containing_folder);
+ Assert.AreEqual(contextMenuResults[2].Title, Properties.Resources.wox_plugin_program_open_in_console);
}
[Test]
@@ -419,23 +416,21 @@ namespace Microsoft.Plugin.Program.UnitTests.Programs
{
// Arrange
var mock = new Mock();
- mock.Setup(x => x.GetTranslation(It.IsAny())).Returns(It.IsAny());
// Act
List contextMenuResults = _cmdRunCommand.ContextMenus(mock.Object);
// Assert
Assert.AreEqual(contextMenuResults.Count, 3);
- mock.Verify(x => x.GetTranslation("wox_plugin_program_run_as_administrator"), Times.Once());
- mock.Verify(x => x.GetTranslation("wox_plugin_program_open_containing_folder"), Times.Once());
- mock.Verify(x => x.GetTranslation("wox_plugin_program_open_in_console"), Times.Once());
+ Assert.AreEqual(contextMenuResults[0].Title, Properties.Resources.wox_plugin_program_run_as_administrator);
+ Assert.AreEqual(contextMenuResults[1].Title, Properties.Resources.wox_plugin_program_open_containing_folder);
+ Assert.AreEqual(contextMenuResults[2].Title, Properties.Resources.wox_plugin_program_open_in_console);
}
[Test]
public void Win32AppsShouldSetNameAsTitleWhileCreatingResult()
{
var mock = new Mock();
- mock.Setup(x => x.GetTranslation(It.IsAny())).Returns(It.IsAny());
StringMatcher.Instance = new StringMatcher();
// Act
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Program/AddProgramSource.xaml b/src/modules/launcher/Plugins/Microsoft.Plugin.Program/AddProgramSource.xaml
deleted file mode 100644
index 782b3f049..000000000
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Program/AddProgramSource.xaml
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Program/AddProgramSource.xaml.cs b/src/modules/launcher/Plugins/Microsoft.Plugin.Program/AddProgramSource.xaml.cs
deleted file mode 100644
index dbecbd12a..000000000
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Program/AddProgramSource.xaml.cs
+++ /dev/null
@@ -1,84 +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.Linq;
-using System.Windows;
-using System.Windows.Forms;
-using Microsoft.Plugin.Program.Views;
-using Wox.Plugin;
-
-namespace Microsoft.Plugin.Program
-{
- ///
- /// Interaction logic for AddProgramSource.xaml
- ///
- public partial class AddProgramSource
- {
- private PluginInitContext _context;
- private ProgramSource _editing;
- private ProgramPluginSettings _settings;
-
- public AddProgramSource(PluginInitContext context, ProgramPluginSettings settings)
- {
- InitializeComponent();
- _context = context;
- _settings = settings;
- Directory.Focus();
- }
-
- public AddProgramSource(ProgramSource edit, ProgramPluginSettings settings)
- {
- _editing = edit ?? throw new ArgumentNullException(nameof(edit));
- _settings = settings;
-
- InitializeComponent();
- Directory.Text = _editing.Location;
- }
-
- private void BrowseButton_Click(object sender, RoutedEventArgs e)
- {
- using (var dialog = new FolderBrowserDialog())
- {
- DialogResult result = dialog.ShowDialog();
- if (result == System.Windows.Forms.DialogResult.OK)
- {
- Directory.Text = dialog.SelectedPath;
- }
- }
- }
-
- private void ButtonAdd_OnClick(object sender, RoutedEventArgs e)
- {
- string s = Directory.Text;
- if (!System.IO.Directory.Exists(s))
- {
- System.Windows.MessageBox.Show(_context.API.GetTranslation("wox_plugin_program_invalid_path"));
- return;
- }
-
- if (_editing == null)
- {
- if (!ProgramSetting.ProgramSettingDisplayList.Any(x => x.UniqueIdentifier == Directory.Text))
- {
- var source = new ProgramSource
- {
- Location = Directory.Text,
- UniqueIdentifier = Directory.Text,
- };
-
- _settings.ProgramSources.Insert(0, source);
- ProgramSetting.ProgramSettingDisplayList.Add(source);
- }
- }
- else
- {
- _editing.Location = Directory.Text;
- }
-
- DialogResult = true;
- Close();
- }
- }
-}
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Languages/de.xaml b/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Languages/de.xaml
deleted file mode 100644
index 534fa04a9..000000000
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Languages/de.xaml
+++ /dev/null
@@ -1,47 +0,0 @@
-
-
-
- Löschen
- Bearbeiten
- Hinzufügen
- Speicherort
- Indexiere Dateiendungen
- erneut Indexieren
- Indexieren
- Indexierungs Startmenü
- Indexierungsspeicher
- Endungen
- Maximale Tiefe
-
- Verzeichnis:
- Durchsuchen
- Dateiendungen:
- Maximale Suchtiefe (-1 ist unlimitiert):
-
- Bitte wähle eine Programmquelle
-
- Aktualisieren
- Wox indexiert nur Datien mit folgenden Endungen:
- (Jede Endung muss durch ein ; getrennt werden)
- Dateiendungen wurden erfolgreich aktualisiert
- Dateiendungen dürfen nicht leer sein
-
- Als Administrator ausführen (Ctrl+Shift+Enter)
- Enthaltenden Ordner öffnen (Ctrl+Shift+E)
- Open path in console (Ctrl+Shift+C)
-
- Programm
- Suche Programme mit Wox
-
-
- Anwendung
- Weblink-Anwendung
- Web-Anwendung
- Run command
- Packaged application
- Name
- Path
-
-
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Languages/en.xaml b/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Languages/en.xaml
deleted file mode 100644
index f294ca9cc..000000000
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Languages/en.xaml
+++ /dev/null
@@ -1,59 +0,0 @@
-
-
-
- Delete
- Edit
- Add
- Disable
- Location
- All programs
- File suffixes
- Reindex
- Indexing
- Index start menu
- Index registry
- Suffixes
- Max depth
-
- Directory:
- Browse
- File suffixes:
- Maximum search depth (-1 is unlimited):
-
- Please select a program source
- Are you sure you want to delete the selected program sources?
-
- Update
- Wox will only index files that end with the following suffixes:
- (Each suffix should split by ';' )
- Successfully updated file suffixes
- File suffixes can't be empty
-
- Run as different user
- Run as administrator (Ctrl+Shift+Enter)
- Open containing folder (Ctrl+Shift+E)
- Disable this program from displaying
- Open path in console (Ctrl+Shift+C)
-
-
- Program
- Search programs in Wox
-
- Invalid Path
-
-
- Success
- Successfully disabled this program from displaying in your query
-
-
- Application
- Internet shortcut application
- Web application
- Run command
- Packaged application
- Name
- Path
-
-
\ No newline at end of file
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Languages/ja.xaml b/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Languages/ja.xaml
deleted file mode 100644
index 2fc2737ce..000000000
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Languages/ja.xaml
+++ /dev/null
@@ -1,49 +0,0 @@
-
-
-
- Delete
- Edit
- Add
- Location
- Index file suffixes
- Reindex
- Indexing
- Index start menu
- Index registry
- Suffixes
- Max depth
-
- Directory:
- Browse
- File suffixes:
- Maximum search depth (-1 is unlimited):
-
- Please select a program source
- Are your sure to delete {0}?
-
- Update
- Wox will only index files that end with following suffixes:
- (Each suffix should split by ;)
- Sucessfully update file suffixes
- File suffixes can't be empty
-
- Run as administrator (Ctrl+Shift+Enter)
- Open containing folder (Ctrl+Shift+E)
- Open path in console (Ctrl+Shift+C)
-
-
- Program
- Search programs in Wox
-
-
- Application
- Internet shortcut application
- Web application
- Run command
- Packaged application
- Name
- Path
-
-
\ No newline at end of file
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Languages/pl.xaml b/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Languages/pl.xaml
deleted file mode 100644
index fed3e89c7..000000000
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Languages/pl.xaml
+++ /dev/null
@@ -1,48 +0,0 @@
-
-
-
- Usuń
- Edytuj
- Dodaj
- Lokalizacja
- Rozszerzenia indeksowanych plików
- Re-indeksuj
- Indeksowanie
- Indeksuj Menu Start
- Indeksuj rejestr
- Rozszerzenia
- Maksymalna głębokość
-
- Katalog:
- Przeglądaj
- Rozszerzenia plików:
- Maksymalna głębokość wyszukiwania (-1 to nieograniczona):
-
- Musisz wybrać katalog programu
-
- Aktualizuj
- Wox będzie indeksował tylko te pliki z podanymi rozszerzeniami:
- (Każde rozszerzenie musi być oddzielone ;)
- Pomyślnie zaktualizowano rozszerzenia plików
- Musisz podać rozszerzenia plików
-
- Uruchom jako administrator (Ctrl+Shift+Enter)
- Otwórz folder zawierający (Ctrl+Shift+E)
-
- Programy
- Szukaj i uruchamiaj programy z poziomu Woxa
- Open path in console (Ctrl+Shift+C)
-
-
- Application
- Internet shortcut application
- Web application
- Run command
- Packaged application
- Name
- Path
-
-
-
\ No newline at end of file
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Languages/tr.xaml b/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Languages/tr.xaml
deleted file mode 100644
index a7549a571..000000000
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Languages/tr.xaml
+++ /dev/null
@@ -1,50 +0,0 @@
-
-
-
- Sil
- Düzenle
- Ekle
- Konum
- İndekslenecek Uzantılar
- Yeniden İndeksle
- İndeksleniyor
- Başlat Menüsünü İndeksle
- Registry'i İndeksle
- Uzantılar
- Derinlik
-
- Dizin:
- Gözat
- Dosya Uzantıları:
- Maksimum Arama Derinliği (Limitsiz için -1):
-
- İşlem yapmak istediğiniz klasörü seçin.
-
- Güncelle
- Wox yalnızca aşağıdaki uzantılara sahip dosyaları indeksleyecektir:
- (Her uzantıyı ; işareti ile ayırın)
- Dosya uzantıları başarıyla güncellendi
- Dosya uzantıları boş olamaz
-
- Yönetici Olarak Çalıştır (Ctrl+Shift+Enter)
- İçeren Klasörü Aç (Ctrl+Shift+E)
- Open path in console (Ctrl+Shift+C)
-
-
- Program
- Programları Wox'tan arayın
-
- Geçersiz Konum
-
-
- Application
- Internet shortcut application
- Web application
- Run command
- Packaged application
- Name
- Path
-
-
\ No newline at end of file
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Languages/zh-cn.xaml b/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Languages/zh-cn.xaml
deleted file mode 100644
index b7a2ffe47..000000000
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Languages/zh-cn.xaml
+++ /dev/null
@@ -1,50 +0,0 @@
-
-
-
- 删除
- 编辑
- 增加
- 位置
- 索引文件后缀
- 重新索引
- 索引中
- 索引开始菜单
- 索引注册表
- 后缀
- 最大深度
-
- 目录
- 浏览
- 文件后缀
- 最大搜索深度(-1是无限的):
-
- 请先选择一项
-
- 更新
- Wox仅索引下列后缀的文件:
- (每个后缀以英文状态下的分号分隔)
- 成功更新索引文件后缀
- 文件后缀不能为空
-
- 以管理员身份运行 (Ctrl+Shift+Enter)
- 打开所属文件夹 (Ctrl+Shift+E)
- Open path in console (Ctrl+Shift+C)
-
-
- 程序
- 在Wox中搜索程序
-
- 无效路径
-
-
- Application
- Internet shortcut application
- Web application
- Run command
- Packaged application
- Name
- Path
-
-
\ No newline at end of file
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Languages/zh-tw.xaml b/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Languages/zh-tw.xaml
deleted file mode 100644
index 6fcc4131c..000000000
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Languages/zh-tw.xaml
+++ /dev/null
@@ -1,48 +0,0 @@
-
-
-
- 刪除
- 編輯
- 新增
- 路徑
- 索引副檔名清單
- 重新建立索引
- 正在建立索引
- 替開始選單建立索引
- 替登錄檔建立索引
- 副檔名
- 最大深度
-
- 目錄
- 瀏覽
- 副檔名
- 最大搜尋深度(-1是無限的):
-
- 請先選擇一項
-
- 更新
- Wox 僅索引下列副檔名的檔案:
- (每個副檔名以英文的分號分隔)
- 成功更新索引副檔名清單
- 副檔名不能為空
-
- 以系統管理員身分執行 (Ctrl+Shift+Enter)
- 開啟檔案位置 (Ctrl+Shift+E)
- Open path in console (Ctrl+Shift+C)
-
-
- 程式
- 在 Wox 中搜尋程式
-
-
- Application
- Internet shortcut application
- Web application
- Run command
- Packaged application
- Name
- Path
-
-
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Program/LocProject.json b/src/modules/launcher/Plugins/Microsoft.Plugin.Program/LocProject.json
new file mode 100644
index 000000000..8474e095b
--- /dev/null
+++ b/src/modules/launcher/Plugins/Microsoft.Plugin.Program/LocProject.json
@@ -0,0 +1,14 @@
+{
+ "Projects": [
+ {
+ "LanguageSet": "Azure_Languages",
+ "LocItems": [
+ {
+ "SourceFile": "src\\modules\\launcher\\Plugins\\Microsoft.Plugin.Program\\Properties\\Resources.resx",
+ "CopyOption": "LangIDOnName",
+ "OutputPath": "src\\modules\\launcher\\Plugins\\Microsoft.Plugin.Program\\Properties"
+ }
+ ]
+ }
+ ]
+}
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Main.cs b/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Main.cs
index c5c33fdac..5f973343b 100644
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Main.cs
+++ b/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Main.cs
@@ -111,12 +111,12 @@ namespace Microsoft.Plugin.Program
public string GetTranslatedPluginTitle()
{
- return _context.API.GetTranslation("wox_plugin_program_plugin_name");
+ return Properties.Resources.wox_plugin_program_plugin_name;
}
public string GetTranslatedPluginDescription()
{
- return _context.API.GetTranslation("wox_plugin_program_plugin_description");
+ return Properties.Resources.wox_plugin_program_plugin_description;
}
public List LoadContextMenus(Result selectedResult)
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Microsoft.Plugin.Program.csproj b/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Microsoft.Plugin.Program.csproj
index 7359a50a0..f98c50abd 100644
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Microsoft.Plugin.Program.csproj
+++ b/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Microsoft.Plugin.Program.csproj
@@ -13,6 +13,7 @@
false
false
x64
+ en-US
@@ -41,48 +42,19 @@
4
true
+
+
+
+
+
+
+
PreserveNewest
-
-
-
- MSBuild:Compile
- Designer
- PreserveNewest
-
-
-
-
-
- MSBuild:Compile
- Designer
- PreserveNewest
-
-
- MSBuild:Compile
- Designer
- PreserveNewest
-
-
- MSBuild:Compile
- Designer
- PreserveNewest
-
-
- MSBuild:Compile
- Designer
- PreserveNewest
-
-
- MSBuild:Compile
- Designer
- PreserveNewest
-
-
@@ -155,4 +127,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.Program/ProgramSuffixes.xaml b/src/modules/launcher/Plugins/Microsoft.Plugin.Program/ProgramSuffixes.xaml
deleted file mode 100644
index 02e0ec0f9..000000000
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Program/ProgramSuffixes.xaml
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Program/ProgramSuffixes.xaml.cs b/src/modules/launcher/Plugins/Microsoft.Plugin.Program/ProgramSuffixes.xaml.cs
deleted file mode 100644
index 31360afc3..000000000
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Program/ProgramSuffixes.xaml.cs
+++ /dev/null
@@ -1,44 +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.Windows;
-using Wox.Plugin;
-
-namespace Microsoft.Plugin.Program
-{
- ///
- /// ProgramSuffixes.xaml 的交互逻辑
- ///
- public partial class ProgramSuffixes
- {
- private PluginInitContext context;
- private ProgramPluginSettings _settings;
-
- public ProgramSuffixes(PluginInitContext context, ProgramPluginSettings settings)
- {
- this.context = context ?? throw new ArgumentNullException(nameof(context));
- InitializeComponent();
- _settings = settings ?? throw new ArgumentNullException(nameof(settings));
- tbSuffixes.Text = string.Join(ProgramPluginSettings.SuffixSeparator.ToString(), _settings.ProgramSuffixes);
- }
-
- private void ButtonBase_OnClick(object sender, RoutedEventArgs e)
- {
- if (string.IsNullOrEmpty(tbSuffixes.Text))
- {
- string warning = context.API.GetTranslation("wox_plugin_program_suffixes_cannot_empty");
- MessageBox.Show(warning);
- return;
- }
-
- _settings.ProgramSuffixes.Clear();
- _settings.ProgramSuffixes.AddRange(tbSuffixes.Text.Split(ProgramPluginSettings.SuffixSeparator));
- string msg = context.API.GetTranslation("wox_plugin_program_update_file_suffixes");
- MessageBox.Show(msg);
-
- DialogResult = true;
- }
- }
-}
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Programs/UWPApplication.cs b/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Programs/UWPApplication.cs
index 079250fa5..54f39f0cb 100644
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Programs/UWPApplication.cs
+++ b/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Programs/UWPApplication.cs
@@ -74,9 +74,9 @@ namespace Microsoft.Plugin.Program.Programs
}
// Function to set the subtitle based on the Type of application
- private static string SetSubtitle(IPublicAPI api)
+ private static string SetSubtitle()
{
- return api.GetTranslation("powertoys_run_plugin_program_packaged_application");
+ return Properties.Resources.powertoys_run_plugin_program_packaged_application;
}
public Result Result(string query, IPublicAPI api)
@@ -94,7 +94,7 @@ namespace Microsoft.Plugin.Program.Programs
var result = new Result
{
- SubTitle = SetSubtitle(api),
+ SubTitle = SetSubtitle(),
Icon = Logo,
Score = score,
ContextData = this,
@@ -109,8 +109,8 @@ namespace Microsoft.Plugin.Program.Programs
result.Title = DisplayName;
result.TitleHighlightData = StringMatcher.FuzzySearch(query, Name).MatchData;
- var toolTipTitle = string.Format(CultureInfo.CurrentCulture, "{0}: {1}", api.GetTranslation("powertoys_run_plugin_program_file_name"), result.Title);
- var toolTipText = string.Format(CultureInfo.CurrentCulture, "{0}: {1}", api.GetTranslation("powertoys_run_plugin_program_file_path"), Package.Location);
+ var toolTipTitle = string.Format(CultureInfo.CurrentCulture, "{0}: {1}", Properties.Resources.powertoys_run_plugin_program_file_name, result.Title);
+ var toolTipText = string.Format(CultureInfo.CurrentCulture, "{0}: {1}", Properties.Resources.powertoys_run_plugin_program_file_path, Package.Location);
result.ToolTipData = new ToolTipData(toolTipTitle, toolTipText);
return result;
@@ -132,7 +132,7 @@ namespace Microsoft.Plugin.Program.Programs
new ContextMenuResult
{
PluginName = Assembly.GetExecutingAssembly().GetName().Name,
- Title = api.GetTranslation("wox_plugin_program_run_as_administrator"),
+ Title = Properties.Resources.wox_plugin_program_run_as_administrator,
Glyph = "\xE7EF",
FontFamily = "Segoe MDL2 Assets",
AcceleratorKey = Key.Enter,
@@ -155,7 +155,7 @@ namespace Microsoft.Plugin.Program.Programs
new ContextMenuResult
{
PluginName = Assembly.GetExecutingAssembly().GetName().Name,
- Title = api.GetTranslation("wox_plugin_program_open_containing_folder"),
+ Title = Properties.Resources.wox_plugin_program_open_containing_folder,
Glyph = "\xE838",
FontFamily = "Segoe MDL2 Assets",
AcceleratorKey = Key.E,
@@ -171,7 +171,7 @@ namespace Microsoft.Plugin.Program.Programs
contextMenus.Add(new ContextMenuResult
{
PluginName = Assembly.GetExecutingAssembly().GetName().Name,
- Title = api.GetTranslation("wox_plugin_program_open_in_console"),
+ Title = Properties.Resources.wox_plugin_program_open_in_console,
Glyph = "\xE756",
FontFamily = "Segoe MDL2 Assets",
AcceleratorKey = Key.C,
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Programs/Win32Program.cs b/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Programs/Win32Program.cs
index 8e628c398..6b83aacc5 100644
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Programs/Win32Program.cs
+++ b/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Programs/Win32Program.cs
@@ -130,23 +130,23 @@ namespace Microsoft.Plugin.Program.Programs
}
// Function to set the subtitle based on the Type of application
- private string SetSubtitle(IPublicAPI api)
+ private string SetSubtitle()
{
if (AppType == (uint)ApplicationTypes.WIN32_APPLICATION)
{
- return api.GetTranslation("powertoys_run_plugin_program_win32_application");
+ return Properties.Resources.powertoys_run_plugin_program_win32_application;
}
else if (AppType == (uint)ApplicationTypes.INTERNET_SHORTCUT_APPLICATION)
{
- return api.GetTranslation("powertoys_run_plugin_program_internet_shortcut_application");
+ return Properties.Resources.powertoys_run_plugin_program_internet_shortcut_application;
}
else if (AppType == (uint)ApplicationTypes.WEB_APPLICATION)
{
- return api.GetTranslation("powertoys_run_plugin_program_web_application");
+ return Properties.Resources.powertoys_run_plugin_program_web_application;
}
else if (AppType == (uint)ApplicationTypes.RUN_COMMAND)
{
- return api.GetTranslation("powertoys_run_plugin_program_run_command");
+ return Properties.Resources.powertoys_run_plugin_program_run_command;
}
else
{
@@ -200,7 +200,7 @@ namespace Microsoft.Plugin.Program.Programs
var result = new Result
{
- SubTitle = SetSubtitle(api),
+ SubTitle = SetSubtitle(),
IcoPath = IcoPath,
Score = score,
ContextData = this,
@@ -223,8 +223,8 @@ namespace Microsoft.Plugin.Program.Programs
result.Title = Name;
result.TitleHighlightData = StringMatcher.FuzzySearch(query, Name).MatchData;
- var toolTipTitle = string.Format(CultureInfo.CurrentCulture, "{0}: {1}", api.GetTranslation("powertoys_run_plugin_program_file_name"), result.Title);
- var toolTipText = string.Format(CultureInfo.CurrentCulture, "{0}: {1}", api.GetTranslation("powertoys_run_plugin_program_file_path"), FullPath);
+ var toolTipTitle = string.Format(CultureInfo.CurrentCulture, "{0}: {1}", Properties.Resources.powertoys_run_plugin_program_file_name, result.Title);
+ var toolTipText = string.Format(CultureInfo.CurrentCulture, "{0}: {1}", Properties.Resources.powertoys_run_plugin_program_file_path, FullPath);
result.ToolTipData = new ToolTipData(toolTipTitle, toolTipText);
return result;
@@ -245,7 +245,7 @@ namespace Microsoft.Plugin.Program.Programs
contextMenus.Add(new ContextMenuResult
{
PluginName = Assembly.GetExecutingAssembly().GetName().Name,
- Title = api.GetTranslation("wox_plugin_program_run_as_administrator"),
+ Title = Properties.Resources.wox_plugin_program_run_as_administrator,
Glyph = "\xE7EF",
FontFamily = "Segoe MDL2 Assets",
AcceleratorKey = Key.Enter,
@@ -271,7 +271,7 @@ namespace Microsoft.Plugin.Program.Programs
new ContextMenuResult
{
PluginName = Assembly.GetExecutingAssembly().GetName().Name,
- Title = api.GetTranslation("wox_plugin_program_open_containing_folder"),
+ Title = Properties.Resources.wox_plugin_program_open_containing_folder,
Glyph = "\xE838",
FontFamily = "Segoe MDL2 Assets",
AcceleratorKey = Key.E,
@@ -287,7 +287,7 @@ namespace Microsoft.Plugin.Program.Programs
new ContextMenuResult
{
PluginName = Assembly.GetExecutingAssembly().GetName().Name,
- Title = api.GetTranslation("wox_plugin_program_open_in_console"),
+ Title = Properties.Resources.wox_plugin_program_open_in_console,
Glyph = "\xE756",
FontFamily = "Segoe MDL2 Assets",
AcceleratorKey = Key.C,
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Properties/Resources.Designer.cs b/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Properties/Resources.Designer.cs
new file mode 100644
index 000000000..8d16dca2a
--- /dev/null
+++ b/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Properties/Resources.Designer.cs
@@ -0,0 +1,432 @@
+//------------------------------------------------------------------------------
+//
+// 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.Program.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.Program.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 Name.
+ ///
+ public static string powertoys_run_plugin_program_file_name {
+ get {
+ return ResourceManager.GetString("powertoys_run_plugin_program_file_name", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Path.
+ ///
+ public static string powertoys_run_plugin_program_file_path {
+ get {
+ return ResourceManager.GetString("powertoys_run_plugin_program_file_path", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Internet shortcut application.
+ ///
+ public static string powertoys_run_plugin_program_internet_shortcut_application {
+ get {
+ return ResourceManager.GetString("powertoys_run_plugin_program_internet_shortcut_application", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Packaged application.
+ ///
+ public static string powertoys_run_plugin_program_packaged_application {
+ get {
+ return ResourceManager.GetString("powertoys_run_plugin_program_packaged_application", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Run command.
+ ///
+ public static string powertoys_run_plugin_program_run_command {
+ get {
+ return ResourceManager.GetString("powertoys_run_plugin_program_run_command", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Web application.
+ ///
+ public static string powertoys_run_plugin_program_web_application {
+ get {
+ return ResourceManager.GetString("powertoys_run_plugin_program_web_application", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Application.
+ ///
+ public static string powertoys_run_plugin_program_win32_application {
+ get {
+ return ResourceManager.GetString("powertoys_run_plugin_program_win32_application", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Add.
+ ///
+ public static string wox_plugin_program_add {
+ get {
+ return ResourceManager.GetString("wox_plugin_program_add", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to All programs.
+ ///
+ public static string wox_plugin_program_all_programs {
+ get {
+ return ResourceManager.GetString("wox_plugin_program_all_programs", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Browse.
+ ///
+ public static string wox_plugin_program_browse {
+ get {
+ return ResourceManager.GetString("wox_plugin_program_browse", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Delete.
+ ///
+ public static string wox_plugin_program_delete {
+ get {
+ return ResourceManager.GetString("wox_plugin_program_delete", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Are you sure you want to delete the selected program sources?.
+ ///
+ public static string wox_plugin_program_delete_program_source {
+ get {
+ return ResourceManager.GetString("wox_plugin_program_delete_program_source", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Directory:.
+ ///
+ public static string wox_plugin_program_directory {
+ get {
+ return ResourceManager.GetString("wox_plugin_program_directory", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Disable.
+ ///
+ public static string wox_plugin_program_disable {
+ get {
+ return ResourceManager.GetString("wox_plugin_program_disable", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Success.
+ ///
+ public static string wox_plugin_program_disable_dlgtitle_success {
+ get {
+ return ResourceManager.GetString("wox_plugin_program_disable_dlgtitle_success", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Successfully disabled this program from displaying in your query.
+ ///
+ public static string wox_plugin_program_disable_dlgtitle_success_message {
+ get {
+ return ResourceManager.GetString("wox_plugin_program_disable_dlgtitle_success_message", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Disable this program from displaying.
+ ///
+ public static string wox_plugin_program_disable_program {
+ get {
+ return ResourceManager.GetString("wox_plugin_program_disable_program", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Edit.
+ ///
+ public static string wox_plugin_program_edit {
+ get {
+ return ResourceManager.GetString("wox_plugin_program_edit", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to File suffixes:.
+ ///
+ public static string wox_plugin_program_file_suffixes {
+ get {
+ return ResourceManager.GetString("wox_plugin_program_file_suffixes", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Index registry.
+ ///
+ public static string wox_plugin_program_index_registry {
+ get {
+ return ResourceManager.GetString("wox_plugin_program_index_registry", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Index start menu.
+ ///
+ public static string wox_plugin_program_index_start {
+ get {
+ return ResourceManager.GetString("wox_plugin_program_index_start", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Indexing.
+ ///
+ public static string wox_plugin_program_indexing {
+ get {
+ return ResourceManager.GetString("wox_plugin_program_indexing", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Invalid Path.
+ ///
+ public static string wox_plugin_program_invalid_path {
+ get {
+ return ResourceManager.GetString("wox_plugin_program_invalid_path", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Location.
+ ///
+ public static string wox_plugin_program_location {
+ get {
+ return ResourceManager.GetString("wox_plugin_program_location", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Max depth.
+ ///
+ public static string wox_plugin_program_max_depth_header {
+ get {
+ return ResourceManager.GetString("wox_plugin_program_max_depth_header", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Maximum search depth (-1 is unlimited):.
+ ///
+ public static string wox_plugin_program_max_search_depth {
+ get {
+ return ResourceManager.GetString("wox_plugin_program_max_search_depth", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Wox will only index files that end with the following suffixes:.
+ ///
+ public static string wox_plugin_program_only_index_tip {
+ get {
+ return ResourceManager.GetString("wox_plugin_program_only_index_tip", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Open containing folder (Ctrl+Shift+E).
+ ///
+ public static string wox_plugin_program_open_containing_folder {
+ get {
+ return ResourceManager.GetString("wox_plugin_program_open_containing_folder", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Open path in console (Ctrl+Shift+C).
+ ///
+ public static string wox_plugin_program_open_in_console {
+ get {
+ return ResourceManager.GetString("wox_plugin_program_open_in_console", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Please select a program source.
+ ///
+ public static string wox_plugin_program_pls_select_program_source {
+ get {
+ return ResourceManager.GetString("wox_plugin_program_pls_select_program_source", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Search programs in Wox.
+ ///
+ public static string wox_plugin_program_plugin_description {
+ get {
+ return ResourceManager.GetString("wox_plugin_program_plugin_description", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Program.
+ ///
+ public static string wox_plugin_program_plugin_name {
+ get {
+ return ResourceManager.GetString("wox_plugin_program_plugin_name", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Reindex.
+ ///
+ public static string wox_plugin_program_reindex {
+ get {
+ return ResourceManager.GetString("wox_plugin_program_reindex", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Run as administrator (Ctrl+Shift+Enter).
+ ///
+ public static string wox_plugin_program_run_as_administrator {
+ get {
+ return ResourceManager.GetString("wox_plugin_program_run_as_administrator", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Run as different user.
+ ///
+ public static string wox_plugin_program_run_as_different_user {
+ get {
+ return ResourceManager.GetString("wox_plugin_program_run_as_different_user", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to (Each suffix should split by ';' ).
+ ///
+ public static string wox_plugin_program_split_by_tip {
+ get {
+ return ResourceManager.GetString("wox_plugin_program_split_by_tip", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to File suffixes.
+ ///
+ public static string wox_plugin_program_suffixes {
+ get {
+ return ResourceManager.GetString("wox_plugin_program_suffixes", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to File suffixes can't be empty.
+ ///
+ public static string wox_plugin_program_suffixes_cannot_empty {
+ get {
+ return ResourceManager.GetString("wox_plugin_program_suffixes_cannot_empty", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Suffixes.
+ ///
+ public static string wox_plugin_program_suffixes_header {
+ get {
+ return ResourceManager.GetString("wox_plugin_program_suffixes_header", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Update.
+ ///
+ public static string wox_plugin_program_update {
+ get {
+ return ResourceManager.GetString("wox_plugin_program_update", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Successfully updated file suffixes.
+ ///
+ public static string wox_plugin_program_update_file_suffixes {
+ get {
+ return ResourceManager.GetString("wox_plugin_program_update_file_suffixes", resourceCulture);
+ }
+ }
+ }
+}
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Properties/Resources.resx b/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Properties/Resources.resx
new file mode 100644
index 000000000..dd462dad1
--- /dev/null
+++ b/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Properties/Resources.resx
@@ -0,0 +1,243 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 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
+
+
+ Delete
+
+
+ Edit
+
+
+ Add
+
+
+ Disable
+
+
+ Location
+
+
+ All programs
+
+
+ File suffixes
+
+
+ Reindex
+
+
+ Indexing
+
+
+ Index start menu
+
+
+ Index registry
+
+
+ Suffixes
+
+
+ Max depth
+
+
+ Directory:
+
+
+ Browse
+
+
+ File suffixes:
+
+
+ Maximum search depth (-1 is unlimited):
+
+
+ Please select a program source
+
+
+ Are you sure you want to delete the selected program sources?
+
+
+ Update
+
+
+ Wox will only index files that end with the following suffixes:
+
+
+ (Each suffix should split by ';' )
+
+
+ Successfully updated file suffixes
+
+
+ File suffixes can't be empty
+
+
+ Run as different user
+
+
+ Run as administrator (Ctrl+Shift+Enter)
+
+
+ Open containing folder (Ctrl+Shift+E)
+
+
+ Disable this program from displaying
+
+
+ Open path in console (Ctrl+Shift+C)
+
+
+ Program
+
+
+ Search programs in Wox
+
+
+ Invalid Path
+
+
+ Success
+
+
+ Successfully disabled this program from displaying in your query
+
+
+ Application
+
+
+ Internet shortcut application
+
+
+ Web application
+
+
+ Run command
+
+
+ Packaged application
+
+
+ Name
+
+
+ Path
+
+
\ No newline at end of file
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Views/Commands/ProgramSettingDisplay.cs b/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Views/Commands/ProgramSettingDisplay.cs
deleted file mode 100644
index 38e255214..000000000
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Views/Commands/ProgramSettingDisplay.cs
+++ /dev/null
@@ -1,130 +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;
-using System.Linq;
-
-namespace Microsoft.Plugin.Program.Views.Commands
-{
- internal static class ProgramSettingDisplay
- {
- internal static List LoadProgramSources(this List programSources)
- {
- var list = new List();
-
- programSources.ForEach(x => list
- .Add(
- new ProgramSource
- {
- Enabled = x.Enabled,
- Location = x.Location,
- Name = x.Name,
- UniqueIdentifier = x.UniqueIdentifier,
- }));
-
- // Even though these are disabled, we still want to display them so users can enable later on
- Main.Settings
- .DisabledProgramSources
- .Where(t1 => !Main.Settings
- .ProgramSources // program sources added above already, so exclude
- .Any(x => t1.UniqueIdentifier == x.UniqueIdentifier))
- .Select(x => x)
- .ToList()
- .ForEach(x => list
- .Add(
- new ProgramSource
- {
- Enabled = x.Enabled,
- Location = x.Location,
- Name = x.Name,
- UniqueIdentifier = x.UniqueIdentifier,
- }));
-
- return list;
- }
-
- internal static void LoadAllApplications(this List list)
- {
- /*Main._win32s
- .Where(t1 => !ProgramSetting.ProgramSettingDisplayList.Any(x => x.UniqueIdentifier == t1.UniqueIdentifier))
- .ToList()
- .ForEach(t1 => ProgramSetting.ProgramSettingDisplayList
- .Add(
- new ProgramSource
- {
- Name = t1.Name,
- Location = t1.ParentDirectory,
- UniqueIdentifier = t1.UniqueIdentifier,
- Enabled = t1.Enabled
- }
- ));*/
- }
-
- internal static void SetProgramSourcesStatus(this List list, List selectedProgramSourcesToDisable, bool status)
- {
- ProgramSetting.ProgramSettingDisplayList
- .Where(t1 => selectedProgramSourcesToDisable.Any(x => x.UniqueIdentifier == t1.UniqueIdentifier && t1.Enabled != status))
- .ToList()
- .ForEach(t1 => t1.Enabled = status);
-
- /*Main._win32s
- .Where(t1 => selectedProgramSourcesToDisable.Any(x => x.UniqueIdentifier == t1.UniqueIdentifier && t1.Enabled != status))
- .ToList()
- .ForEach(t1 => t1.Enabled = status);*/
- }
-
- internal static void StoreDisabledInSettings(this List list)
- {
- Main.Settings.ProgramSources
- .Where(t1 => ProgramSetting.ProgramSettingDisplayList.Any(x => x.UniqueIdentifier == t1.UniqueIdentifier && !x.Enabled))
- .ToList()
- .ForEach(t1 => t1.Enabled = false);
-
- ProgramSetting.ProgramSettingDisplayList
- .Where(t1 => !t1.Enabled
- && !Main.Settings.DisabledProgramSources.Any(x => x.UniqueIdentifier == t1.UniqueIdentifier))
- .ToList()
- .ForEach(x => Main.Settings.DisabledProgramSources
- .Add(
- new DisabledProgramSource
- {
- Name = x.Name,
- Location = x.Location,
- UniqueIdentifier = x.UniqueIdentifier,
- Enabled = false,
- }));
- }
-
- internal static void RemoveDisabledFromSettings(this List list)
- {
- Main.Settings.ProgramSources
- .Where(t1 => ProgramSetting.ProgramSettingDisplayList.Any(x => x.UniqueIdentifier == t1.UniqueIdentifier && x.Enabled))
- .ToList()
- .ForEach(t1 => t1.Enabled = true);
-
- Main.Settings.DisabledProgramSources
- .Where(t1 => ProgramSetting.ProgramSettingDisplayList.Any(x => x.UniqueIdentifier == t1.UniqueIdentifier && x.Enabled))
- .ToList()
- .ForEach(x => Main.Settings.DisabledProgramSources.Remove(x));
- }
-
- internal static bool IsReindexRequired(this List selectedItems)
- {
- if (selectedItems.Where(t1 => t1.Enabled).Any())
- {
- return true;
- }
-
- // ProgramSources holds list of user added directories,
- // so when we enable/disable we need to reindex to show/not show the programs
- // that are found in those directories.
- if (selectedItems.Where(t1 => Main.Settings.ProgramSources.Any(x => t1.UniqueIdentifier == x.UniqueIdentifier)).Any())
- {
- return true;
- }
-
- return false;
- }
- }
-}
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Views/ProgramSetting.xaml b/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Views/ProgramSetting.xaml
deleted file mode 100644
index 93319a77a..000000000
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Views/ProgramSetting.xaml
+++ /dev/null
@@ -1,136 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Views/ProgramSetting.xaml.cs b/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Views/ProgramSetting.xaml.cs
deleted file mode 100644
index 18f36233a..000000000
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Views/ProgramSetting.xaml.cs
+++ /dev/null
@@ -1,312 +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;
-using System.ComponentModel;
-using System.Globalization;
-using System.IO;
-using System.Linq;
-using System.Threading.Tasks;
-using System.Windows;
-using System.Windows.Controls;
-using System.Windows.Data;
-using System.Windows.Input;
-using Microsoft.Plugin.Program.Views.Commands;
-using Wox.Plugin;
-
-namespace Microsoft.Plugin.Program.Views
-{
- ///
- /// Interaction logic for ProgramSetting.xaml
- ///
- public partial class ProgramSetting : UserControl
- {
- private PluginInitContext context;
- private ProgramPluginSettings _settings;
- private GridViewColumnHeader _lastHeaderClicked;
- private ListSortDirection _lastDirection;
-
- // We do not save all program sources to settings, so using
- // this as temporary holder for displaying all loaded programs sources.
- internal static List ProgramSettingDisplayList { get; set; }
-
- public ProgramSetting(PluginInitContext context, ProgramPluginSettings settings)
- {
- this.context = context;
- InitializeComponent();
- Loaded += Setting_Loaded;
- _settings = settings;
- }
-
- private void Setting_Loaded(object sender, RoutedEventArgs e)
- {
- ProgramSettingDisplayList = _settings.ProgramSources.LoadProgramSources();
- programSourceView.ItemsSource = ProgramSettingDisplayList;
-
- StartMenuEnabled.IsChecked = _settings.EnableStartMenuSource;
- RegistryEnabled.IsChecked = _settings.EnableRegistrySource;
- }
-
- private void ReIndexing()
- {
- programSourceView.Items.Refresh();
- Task.Run(() =>
- {
- Dispatcher.Invoke(() => { indexingPanel.Visibility = Visibility.Visible; });
- Dispatcher.Invoke(() => { indexingPanel.Visibility = Visibility.Hidden; });
- });
- }
-
- private void BtnAddProgramSource_OnClick(object sender, RoutedEventArgs e)
- {
- var add = new AddProgramSource(context, _settings);
- if (add.ShowDialog() ?? false)
- {
- ReIndexing();
- }
-
- programSourceView.Items.Refresh();
- }
-
- private void DeleteProgramSources(List itemsToDelete)
- {
- itemsToDelete.ForEach(t1 => _settings.ProgramSources
- .Remove(_settings.ProgramSources
- .Where(x => x.UniqueIdentifier == t1.UniqueIdentifier)
- .FirstOrDefault()));
- itemsToDelete.ForEach(x => ProgramSettingDisplayList.Remove(x));
-
- ReIndexing();
- }
-
- private void BtnEditProgramSource_OnClick(object sender, RoutedEventArgs e)
- {
- var selectedProgramSource = programSourceView.SelectedItem as ProgramSource;
- if (selectedProgramSource != null)
- {
- var add = new AddProgramSource(selectedProgramSource, _settings);
- if (add.ShowDialog() ?? false)
- {
- ReIndexing();
- }
- }
- else
- {
- string msg = context.API.GetTranslation("wox_plugin_program_pls_select_program_source");
- MessageBox.Show(msg);
- }
- }
-
- private void BtnReindex_Click(object sender, RoutedEventArgs e)
- {
- ReIndexing();
- }
-
- private void BtnProgramSuffixes_OnClick(object sender, RoutedEventArgs e)
- {
- var p = new ProgramSuffixes(context, _settings);
- if (p.ShowDialog() ?? false)
- {
- ReIndexing();
- }
- }
-
- private void ProgramSourceView_DragEnter(object sender, DragEventArgs e)
- {
- if (e.Data.GetDataPresent(DataFormats.FileDrop))
- {
- e.Effects = DragDropEffects.Link;
- }
- else
- {
- e.Effects = DragDropEffects.None;
- }
- }
-
- private void ProgramSourceView_Drop(object sender, DragEventArgs e)
- {
- var directories = (string[])e.Data.GetData(DataFormats.FileDrop);
-
- var directoriesToAdd = new List();
-
- if (directories != null && directories.Length > 0)
- {
- foreach (string directory in directories)
- {
- if (Directory.Exists(directory) && !ProgramSettingDisplayList.Any(x => x.UniqueIdentifier == directory))
- {
- var source = new ProgramSource
- {
- Location = directory,
- UniqueIdentifier = directory,
- };
-
- directoriesToAdd.Add(source);
- }
- }
-
- if (directoriesToAdd.Count > 0)
- {
- directoriesToAdd.ForEach(x => _settings.ProgramSources.Add(x));
- directoriesToAdd.ForEach(x => ProgramSettingDisplayList.Add(x));
-
- programSourceView.Items.Refresh();
- ReIndexing();
- }
- }
- }
-
- private void StartMenuEnabled_Click(object sender, RoutedEventArgs e)
- {
- _settings.EnableStartMenuSource = StartMenuEnabled.IsChecked ?? false;
- ReIndexing();
- }
-
- private void RegistryEnabled_Click(object sender, RoutedEventArgs e)
- {
- _settings.EnableRegistrySource = RegistryEnabled.IsChecked ?? false;
- ReIndexing();
- }
-
- private void BtnLoadAllProgramSource_OnClick(object sender, RoutedEventArgs e)
- {
- ProgramSettingDisplayList.LoadAllApplications();
-
- programSourceView.Items.Refresh();
- }
-
- private void BtnProgramSourceStatus_OnClick(object sender, RoutedEventArgs e)
- {
- var selectedItems = programSourceView
- .SelectedItems.Cast()
- .ToList();
-
- if (selectedItems.Count == 0)
- {
- string msg = context.API.GetTranslation("wox_plugin_program_pls_select_program_source");
- MessageBox.Show(msg);
- return;
- }
-
- if (selectedItems
- .Where(t1 => !_settings
- .ProgramSources
- .Any(x => t1.UniqueIdentifier == x.UniqueIdentifier))
- .Any())
- {
- var msg = string.Format(CultureInfo.CurrentCulture, context.API.GetTranslation("wox_plugin_program_delete_program_source"));
-
- if (MessageBox.Show(msg, string.Empty, MessageBoxButton.YesNo) == MessageBoxResult.No)
- {
- return;
- }
-
- DeleteProgramSources(selectedItems);
- }
- else if (IsSelectedRowStatusEnabledMoreOrEqualThanDisabled(selectedItems))
- {
- ProgramSettingDisplayList.SetProgramSourcesStatus(selectedItems, false);
-
- ProgramSettingDisplayList.StoreDisabledInSettings();
- }
- else
- {
- ProgramSettingDisplayList.SetProgramSourcesStatus(selectedItems, true);
-
- ProgramSettingDisplayList.RemoveDisabledFromSettings();
- }
-
- if (selectedItems.IsReindexRequired())
- {
- ReIndexing();
- }
-
- programSourceView.SelectedItems.Clear();
-
- programSourceView.Items.Refresh();
- }
-
- private void ProgramSourceView_PreviewMouseRightButtonUp(object sender, MouseButtonEventArgs e)
- {
- programSourceView.SelectedItems.Clear();
- }
-
- private void GridViewColumnHeaderClickedHandler(object sender, RoutedEventArgs e)
- {
- var headerClicked = e.OriginalSource as GridViewColumnHeader;
- ListSortDirection direction;
-
- if (headerClicked != null)
- {
- if (headerClicked.Role != GridViewColumnHeaderRole.Padding)
- {
- if (headerClicked != _lastHeaderClicked)
- {
- direction = ListSortDirection.Ascending;
- }
- else
- {
- if (_lastDirection == ListSortDirection.Ascending)
- {
- direction = ListSortDirection.Descending;
- }
- else
- {
- direction = ListSortDirection.Ascending;
- }
- }
-
- var columnBinding = headerClicked.Column.DisplayMemberBinding as Binding;
- var sortBy = columnBinding?.Path.Path ?? headerClicked.Column.Header as string;
-
- Sort(sortBy, direction);
-
- _lastHeaderClicked = headerClicked;
- _lastDirection = direction;
- }
- }
- }
-
- private void Sort(string sortBy, ListSortDirection direction)
- {
- var dataView = CollectionViewSource.GetDefaultView(programSourceView.ItemsSource);
-
- dataView.SortDescriptions.Clear();
- SortDescription sd = new SortDescription(sortBy, direction);
- dataView.SortDescriptions.Add(sd);
- dataView.Refresh();
- }
-
- private static bool IsSelectedRowStatusEnabledMoreOrEqualThanDisabled(List selectedItems)
- {
- return selectedItems.Where(x => x.Enabled).Count() >= selectedItems.Where(x => !x.Enabled).Count();
- }
-
- private void Row_OnClick(object sender, RoutedEventArgs e)
- {
- var selectedItems = programSourceView
- .SelectedItems.Cast()
- .ToList();
-
- if (selectedItems
- .Where(t1 => !_settings
- .ProgramSources
- .Any(x => t1.UniqueIdentifier == x.UniqueIdentifier))
- .Any())
- {
- btnProgramSourceStatus.Content = context.API.GetTranslation("wox_plugin_program_delete");
- return;
- }
-
- if (IsSelectedRowStatusEnabledMoreOrEqualThanDisabled(selectedItems))
- {
- btnProgramSourceStatus.Content = "Disable";
- }
- else
- {
- btnProgramSourceStatus.Content = "Enable";
- }
- }
- }
-}
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Shell/Languages/de.xaml b/src/modules/launcher/Plugins/Microsoft.Plugin.Shell/Languages/de.xaml
deleted file mode 100644
index 624eda1ae..000000000
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Shell/Languages/de.xaml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
- Ersetzt Win+R
- Schließe die Kommandozeilte nicht nachdem der Befehl ausgeführt wurde
- Kommandozeile
- Bereitstellung der Kommandozeile in Wox. Befehle müssem mit > starten
- Dieser Befehl wurde {0} mal ausgeführt
- Führe Befehle mittels Kommandozeile aus
- Als Administrator ausführen (Ctrl+Shift+Enter)
-
\ No newline at end of file
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Shell/Languages/en.xaml b/src/modules/launcher/Plugins/Microsoft.Plugin.Shell/Languages/en.xaml
deleted file mode 100644
index d330c1a66..000000000
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Shell/Languages/en.xaml
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
- Replace Win+R
- Do not close Command Prompt after command execution
- Always run as administrator
- Run as different user
- Shell
- Allows to execute system commands from Wox. Commands should start with >
- this command has been executed {0} times
- execute command through command shell
- Run as administrator (Ctrl+Shift+Enter)
-
\ No newline at end of file
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Shell/Languages/pl.xaml b/src/modules/launcher/Plugins/Microsoft.Plugin.Shell/Languages/pl.xaml
deleted file mode 100644
index 9f73ebfac..000000000
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Shell/Languages/pl.xaml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
- Zastąp Win+R
- Nie zamykaj wiersza poleceń po wykonaniu polecenia
- Wiersz poleceń
- Pozwala wykonywać komend wiersza polecania z Woxa. Polecania zaczynają się od >
- to polecenie zostało wykonane {0} razy
- wykonaj to polecenie w wierszu poleceń
- Uruchom jako administrator (Ctrl+Shift+Enter)
-
\ No newline at end of file
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Shell/Languages/tr.xaml b/src/modules/launcher/Plugins/Microsoft.Plugin.Shell/Languages/tr.xaml
deleted file mode 100644
index 08984103b..000000000
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Shell/Languages/tr.xaml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
- Win+R kısayolunu kullan
- Çalıştırma sona erdikten sonra komut istemini kapatma
- Kabuk
- Wox üzerinden komut istemini kullanmanızı sağlar. Komutlar > işareti ile başlamalıdır.
- Bu komut {0} kez çalıştırıldı
- Komut isteminde çalıştır
- Yönetici Olarak Çalıştır (Ctrl+Shift+Enter)
-
\ No newline at end of file
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Shell/Languages/zh-cn.xaml b/src/modules/launcher/Plugins/Microsoft.Plugin.Shell/Languages/zh-cn.xaml
deleted file mode 100644
index f44ab1700..000000000
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Shell/Languages/zh-cn.xaml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
- 替换 Win+R
- 执行后不关闭命令窗口
- 命令行
- 提供从Wox中执行命令行的能力,命令应该以>开头
- 此命令已经被执行了 {0} 次
- 执行此命令
- 以管理员身份运行 (Ctrl+Shift+Enter)
-
\ No newline at end of file
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Shell/Languages/zh-tw.xaml b/src/modules/launcher/Plugins/Microsoft.Plugin.Shell/Languages/zh-tw.xaml
deleted file mode 100644
index 41f7d1f06..000000000
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Shell/Languages/zh-tw.xaml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
- 取代 Win+R
- 執行後不關閉命令提示字元視窗
- 命令提示字元
- 提供從 Wox 中執行命令提示字元的功能,指令應該以>開頭
- 此指令已執行了 {0} 次
- 執行指令
- 以系統管理員身分執行 (Ctrl+Shift+Enter)
-
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Shell/LocProject.json b/src/modules/launcher/Plugins/Microsoft.Plugin.Shell/LocProject.json
new file mode 100644
index 000000000..10b281bc1
--- /dev/null
+++ b/src/modules/launcher/Plugins/Microsoft.Plugin.Shell/LocProject.json
@@ -0,0 +1,14 @@
+{
+ "Projects": [
+ {
+ "LanguageSet": "Azure_Languages",
+ "LocItems": [
+ {
+ "SourceFile": "src\\modules\\launcher\\Plugins\\Microsoft.Plugin.Shell\\Properties\\Resources.resx",
+ "CopyOption": "LangIDOnName",
+ "OutputPath": "src\\modules\\launcher\\Plugins\\Microsoft.Plugin.Shell\\Properties"
+ }
+ ]
+ }
+ ]
+}
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Shell/Main.cs b/src/modules/launcher/Plugins/Microsoft.Plugin.Shell/Main.cs
index a93664e80..328d10f69 100644
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Shell/Main.cs
+++ b/src/modules/launcher/Plugins/Microsoft.Plugin.Shell/Main.cs
@@ -83,14 +83,14 @@ namespace Microsoft.Plugin.Shell
{
if (m.Key == cmd)
{
- result.SubTitle = "Shell: " + string.Format(CultureInfo.CurrentCulture, _context.API.GetTranslation("wox_plugin_cmd_cmd_has_been_executed_times"), m.Value);
+ result.SubTitle = "Shell: " + string.Format(CultureInfo.CurrentCulture, Properties.Resources.wox_plugin_cmd_cmd_has_been_executed_times, m.Value);
return null;
}
var ret = new Result
{
Title = m.Key,
- SubTitle = "Shell: " + string.Format(CultureInfo.CurrentCulture, _context.API.GetTranslation("wox_plugin_cmd_cmd_has_been_executed_times"), m.Value),
+ SubTitle = "Shell: " + string.Format(CultureInfo.CurrentCulture, Properties.Resources.wox_plugin_cmd_cmd_has_been_executed_times, m.Value),
IcoPath = IconPath,
Action = c =>
{
@@ -109,7 +109,7 @@ namespace Microsoft.Plugin.Shell
{
Title = cmd,
Score = 5000,
- SubTitle = "Shell: " + _context.API.GetTranslation("wox_plugin_cmd_execute_through_shell"),
+ SubTitle = "Shell: " + Properties.Resources.wox_plugin_cmd_execute_through_shell,
IcoPath = IconPath,
Action = c =>
{
@@ -127,7 +127,7 @@ namespace Microsoft.Plugin.Shell
.Select(m => new Result
{
Title = m.Key,
- SubTitle = "Shell: " + string.Format(CultureInfo.CurrentCulture, _context.API.GetTranslation("wox_plugin_cmd_cmd_has_been_executed_times"), m.Value),
+ SubTitle = "Shell: " + string.Format(CultureInfo.CurrentCulture, Properties.Resources.wox_plugin_cmd_cmd_has_been_executed_times, m.Value),
IcoPath = IconPath,
Action = c =>
{
@@ -284,17 +284,17 @@ namespace Microsoft.Plugin.Shell
public Control CreateSettingPanel()
{
- return new CMDSetting(_settings);
+ throw new NotImplementedException();
}
public string GetTranslatedPluginTitle()
{
- return _context.API.GetTranslation("wox_plugin_cmd_plugin_name");
+ return Properties.Resources.wox_plugin_cmd_plugin_name;
}
public string GetTranslatedPluginDescription()
{
- return _context.API.GetTranslation("wox_plugin_cmd_plugin_description");
+ return Properties.Resources.wox_plugin_cmd_plugin_description;
}
public List LoadContextMenus(Result selectedResult)
@@ -304,7 +304,7 @@ namespace Microsoft.Plugin.Shell
new ContextMenuResult
{
PluginName = Assembly.GetExecutingAssembly().GetName().Name,
- Title = _context.API.GetTranslation("wox_plugin_cmd_run_as_administrator"),
+ Title = Properties.Resources.wox_plugin_cmd_run_as_administrator,
Glyph = "\xE7EF",
FontFamily = "Segoe MDL2 Assets",
AcceleratorKey = Key.Enter,
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Shell/Microsoft.Plugin.Shell.csproj b/src/modules/launcher/Plugins/Microsoft.Plugin.Shell/Microsoft.Plugin.Shell.csproj
index 33515fce7..a263299cd 100644
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Shell/Microsoft.Plugin.Shell.csproj
+++ b/src/modules/launcher/Plugins/Microsoft.Plugin.Shell/Microsoft.Plugin.Shell.csproj
@@ -12,6 +12,7 @@
false
false
x64
+ en-US
@@ -45,28 +46,6 @@
true
-
-
- MSBuild:Compile
- Designer
- PreserveNewest
-
-
- MSBuild:Compile
- Designer
- PreserveNewest
-
-
- MSBuild:Compile
- Designer
- PreserveNewest
-
-
- MSBuild:Compile
- Designer
- PreserveNewest
-
-
@@ -82,23 +61,6 @@
-
-
- MSBuild:Compile
- Designer
- PreserveNewest
-
-
- MSBuild:Compile
- Designer
- PreserveNewest
-
-
- MSBuild:Compile
- Designer
-
-
-
@@ -138,4 +100,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.Shell/Properties/Resources.Designer.cs b/src/modules/launcher/Plugins/Microsoft.Plugin.Shell/Properties/Resources.Designer.cs
new file mode 100644
index 000000000..eda203af2
--- /dev/null
+++ b/src/modules/launcher/Plugins/Microsoft.Plugin.Shell/Properties/Resources.Designer.cs
@@ -0,0 +1,144 @@
+//------------------------------------------------------------------------------
+//
+// 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.Shell.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.Shell.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 Always run as administrator.
+ ///
+ public static string wox_plugin_cmd_always_run_as_administrator {
+ get {
+ return ResourceManager.GetString("wox_plugin_cmd_always_run_as_administrator", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to this command has been executed {0} times.
+ ///
+ public static string wox_plugin_cmd_cmd_has_been_executed_times {
+ get {
+ return ResourceManager.GetString("wox_plugin_cmd_cmd_has_been_executed_times", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to execute command through command shell.
+ ///
+ public static string wox_plugin_cmd_execute_through_shell {
+ get {
+ return ResourceManager.GetString("wox_plugin_cmd_execute_through_shell", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Do not close Command Prompt after command execution.
+ ///
+ public static string wox_plugin_cmd_leave_cmd_open {
+ get {
+ return ResourceManager.GetString("wox_plugin_cmd_leave_cmd_open", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Allows to execute system commands from Wox. Commands should start with >.
+ ///
+ public static string wox_plugin_cmd_plugin_description {
+ get {
+ return ResourceManager.GetString("wox_plugin_cmd_plugin_description", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Shell.
+ ///
+ public static string wox_plugin_cmd_plugin_name {
+ get {
+ return ResourceManager.GetString("wox_plugin_cmd_plugin_name", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Replace Win+R.
+ ///
+ public static string wox_plugin_cmd_relace_winr {
+ get {
+ return ResourceManager.GetString("wox_plugin_cmd_relace_winr", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Run as administrator (Ctrl+Shift+Enter).
+ ///
+ public static string wox_plugin_cmd_run_as_administrator {
+ get {
+ return ResourceManager.GetString("wox_plugin_cmd_run_as_administrator", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Run as different user.
+ ///
+ public static string wox_plugin_cmd_run_as_different_user {
+ get {
+ return ResourceManager.GetString("wox_plugin_cmd_run_as_different_user", resourceCulture);
+ }
+ }
+ }
+}
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Shell/Properties/Resources.resx b/src/modules/launcher/Plugins/Microsoft.Plugin.Shell/Properties/Resources.resx
new file mode 100644
index 000000000..4eea4042a
--- /dev/null
+++ b/src/modules/launcher/Plugins/Microsoft.Plugin.Shell/Properties/Resources.resx
@@ -0,0 +1,147 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 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
+
+
+ Replace Win+R
+
+
+ Do not close Command Prompt after command execution
+
+
+ Always run as administrator
+
+
+ Run as different user
+
+
+ Shell
+
+
+ Allows to execute system commands from Wox. Commands should start with >
+
+
+ this command has been executed {0} times
+
+
+ execute command through command shell
+
+
+ Run as administrator (Ctrl+Shift+Enter)
+
+
\ No newline at end of file
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Shell/ShellSetting.xaml b/src/modules/launcher/Plugins/Microsoft.Plugin.Shell/ShellSetting.xaml
deleted file mode 100644
index 07bdee463..000000000
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Shell/ShellSetting.xaml
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
- CMD
- PowerShell
- RunCommand
-
-
-
-
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Shell/ShellSetting.xaml.cs b/src/modules/launcher/Plugins/Microsoft.Plugin.Shell/ShellSetting.xaml.cs
deleted file mode 100644
index fe978c5c9..000000000
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Shell/ShellSetting.xaml.cs
+++ /dev/null
@@ -1,64 +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 System.Windows.Controls;
-
-namespace Microsoft.Plugin.Shell
-{
- public partial class CMDSetting : UserControl
- {
- private readonly ShellPluginSettings _settings;
-
- public CMDSetting(ShellPluginSettings settings)
- {
- InitializeComponent();
- _settings = settings;
- }
-
- private void CMDSetting_OnLoaded(object sender, RoutedEventArgs re)
- {
- ReplaceWinR.IsChecked = _settings.ReplaceWinR;
- LeaveShellOpen.IsChecked = _settings.LeaveShellOpen;
- AlwaysRunAsAdministrator.IsChecked = _settings.RunAsAdministrator;
- LeaveShellOpen.IsEnabled = _settings.Shell != ExecutionShell.RunCommand;
-
- LeaveShellOpen.Checked += (o, e) =>
- {
- _settings.LeaveShellOpen = true;
- };
-
- LeaveShellOpen.Unchecked += (o, e) =>
- {
- _settings.LeaveShellOpen = false;
- };
-
- AlwaysRunAsAdministrator.Checked += (o, e) =>
- {
- _settings.RunAsAdministrator = true;
- };
-
- AlwaysRunAsAdministrator.Unchecked += (o, e) =>
- {
- _settings.RunAsAdministrator = false;
- };
-
- ReplaceWinR.Checked += (o, e) =>
- {
- _settings.ReplaceWinR = true;
- };
- ReplaceWinR.Unchecked += (o, e) =>
- {
- _settings.ReplaceWinR = false;
- };
-
- ShellComboBox.SelectedIndex = (int)_settings.Shell;
- ShellComboBox.SelectionChanged += (o, e) =>
- {
- _settings.Shell = (ExecutionShell)ShellComboBox.SelectedIndex;
- LeaveShellOpen.IsEnabled = _settings.Shell != ExecutionShell.RunCommand;
- };
- }
- }
-}
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Uri/Languages/de.xaml b/src/modules/launcher/Plugins/Microsoft.Plugin.Uri/Languages/de.xaml
deleted file mode 100644
index 2f2a319d1..000000000
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Uri/Languages/de.xaml
+++ /dev/null
@@ -1,5 +0,0 @@
-
- Open in browser
-
\ No newline at end of file
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Uri/Languages/en.xaml b/src/modules/launcher/Plugins/Microsoft.Plugin.Uri/Languages/en.xaml
deleted file mode 100644
index 2f2a319d1..000000000
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Uri/Languages/en.xaml
+++ /dev/null
@@ -1,5 +0,0 @@
-
- Open in browser
-
\ No newline at end of file
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Uri/Languages/ja.xaml b/src/modules/launcher/Plugins/Microsoft.Plugin.Uri/Languages/ja.xaml
deleted file mode 100644
index 2f2a319d1..000000000
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Uri/Languages/ja.xaml
+++ /dev/null
@@ -1,5 +0,0 @@
-
- Open in browser
-
\ No newline at end of file
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Uri/Languages/pl.xaml b/src/modules/launcher/Plugins/Microsoft.Plugin.Uri/Languages/pl.xaml
deleted file mode 100644
index 2f2a319d1..000000000
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Uri/Languages/pl.xaml
+++ /dev/null
@@ -1,5 +0,0 @@
-
- Open in browser
-
\ No newline at end of file
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Uri/Languages/tr.xaml b/src/modules/launcher/Plugins/Microsoft.Plugin.Uri/Languages/tr.xaml
deleted file mode 100644
index 2f2a319d1..000000000
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Uri/Languages/tr.xaml
+++ /dev/null
@@ -1,5 +0,0 @@
-
- Open in browser
-
\ No newline at end of file
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Uri/Languages/zh-cn.xaml b/src/modules/launcher/Plugins/Microsoft.Plugin.Uri/Languages/zh-cn.xaml
deleted file mode 100644
index 2f2a319d1..000000000
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Uri/Languages/zh-cn.xaml
+++ /dev/null
@@ -1,5 +0,0 @@
-
- Open in browser
-
\ No newline at end of file
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Uri/Languages/zh-tw.xaml b/src/modules/launcher/Plugins/Microsoft.Plugin.Uri/Languages/zh-tw.xaml
deleted file mode 100644
index 2f2a319d1..000000000
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Uri/Languages/zh-tw.xaml
+++ /dev/null
@@ -1,5 +0,0 @@
-
- Open in browser
-
\ No newline at end of file
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Uri/LocProject.json b/src/modules/launcher/Plugins/Microsoft.Plugin.Uri/LocProject.json
new file mode 100644
index 000000000..cf5199144
--- /dev/null
+++ b/src/modules/launcher/Plugins/Microsoft.Plugin.Uri/LocProject.json
@@ -0,0 +1,14 @@
+{
+ "Projects": [
+ {
+ "LanguageSet": "Azure_Languages",
+ "LocItems": [
+ {
+ "SourceFile": "src\\modules\\launcher\\Plugins\\Microsoft.Plugin.Uri\\Properties\\Resources.resx",
+ "CopyOption": "LangIDOnName",
+ "OutputPath": "src\\modules\\launcher\\Plugins\\Microsoft.Plugin.Uri\\Properties"
+ }
+ ]
+ }
+ ]
+}
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Uri/Main.cs b/src/modules/launcher/Plugins/Microsoft.Plugin.Uri/Main.cs
index 0479b566d..e7adb6354 100644
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Uri/Main.cs
+++ b/src/modules/launcher/Plugins/Microsoft.Plugin.Uri/Main.cs
@@ -56,7 +56,7 @@ namespace Microsoft.Plugin.Uri
results.Add(new Result
{
Title = uriResultString,
- SubTitle = Context.API.GetTranslation("Microsoft_plugin_uri_website"),
+ SubTitle = Properties.Resources.Microsoft_plugin_uri_website,
IcoPath = _uriSettings.ShowBrowserIcon
? BrowserIconPath
: DefaultIconPath,
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Uri/Microsoft.Plugin.Uri.csproj b/src/modules/launcher/Plugins/Microsoft.Plugin.Uri/Microsoft.Plugin.Uri.csproj
index 12c9e475e..a043c90b7 100644
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.Uri/Microsoft.Plugin.Uri.csproj
+++ b/src/modules/launcher/Plugins/Microsoft.Plugin.Uri/Microsoft.Plugin.Uri.csproj
@@ -12,6 +12,7 @@
false
false
x64
+ en-US
@@ -41,6 +42,12 @@
true
+
+
+
+
+
+
GlobalSuppressions.cs
@@ -50,54 +57,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
- PreserveNewest
- Designer
- MSBuild:Compile
-
-
- PreserveNewest
- Designer
- MSBuild:Compile
-
-
- PreserveNewest
- Designer
- MSBuild:Compile
-
-
- PreserveNewest
- Designer
- MSBuild:Compile
-
-
- PreserveNewest
- Designer
- MSBuild:Compile
-
-
- PreserveNewest
- Designer
- MSBuild:Compile
-
-
- PreserveNewest
- Designer
- MSBuild:Compile
-
-
-
@@ -123,6 +82,21 @@
+
+
+ True
+ True
+ Resources.resx
+
+
+
+
+
+ PublicResXFileCodeGenerator
+ Resources.Designer.cs
+
+
+
PreserveNewest
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Uri/Properties/Resources.Designer.cs b/src/modules/launcher/Plugins/Microsoft.Plugin.Uri/Properties/Resources.Designer.cs
new file mode 100644
index 000000000..b8c15d018
--- /dev/null
+++ b/src/modules/launcher/Plugins/Microsoft.Plugin.Uri/Properties/Resources.Designer.cs
@@ -0,0 +1,72 @@
+//------------------------------------------------------------------------------
+//
+// 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.Uri.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.Uri.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 Open in browser.
+ ///
+ public static string Microsoft_plugin_uri_website {
+ get {
+ return ResourceManager.GetString("Microsoft_plugin_uri_website", resourceCulture);
+ }
+ }
+ }
+}
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Uri/Properties/Resources.resx b/src/modules/launcher/Plugins/Microsoft.Plugin.Uri/Properties/Resources.resx
new file mode 100644
index 000000000..1c969fc53
--- /dev/null
+++ b/src/modules/launcher/Plugins/Microsoft.Plugin.Uri/Properties/Resources.resx
@@ -0,0 +1,123 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 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
+
+
+ Open in browser
+
+
\ No newline at end of file
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.WindowWalker/Languages/en.xaml b/src/modules/launcher/Plugins/Microsoft.Plugin.WindowWalker/Languages/en.xaml
deleted file mode 100644
index 48fb7976e..000000000
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.WindowWalker/Languages/en.xaml
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
- Window Walker
- Alt-Tab alternative enabling searching through your windows.
-
\ No newline at end of file
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.WindowWalker/LocProject.json b/src/modules/launcher/Plugins/Microsoft.Plugin.WindowWalker/LocProject.json
new file mode 100644
index 000000000..ec97509c0
--- /dev/null
+++ b/src/modules/launcher/Plugins/Microsoft.Plugin.WindowWalker/LocProject.json
@@ -0,0 +1,14 @@
+{
+ "Projects": [
+ {
+ "LanguageSet": "Azure_Languages",
+ "LocItems": [
+ {
+ "SourceFile": "src\\modules\\launcher\\Plugins\\Microsoft.Plugin.WindowWalker\\Properties\\Resources.resx",
+ "CopyOption": "LangIDOnName",
+ "OutputPath": "src\\modules\\launcher\\Plugins\\Microsoft.Plugin.WindowWalker\\Properties"
+ }
+ ]
+ }
+ ]
+}
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.WindowWalker/Main.cs b/src/modules/launcher/Plugins/Microsoft.Plugin.WindowWalker/Main.cs
index e950e043e..11ae09cf2 100644
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.WindowWalker/Main.cs
+++ b/src/modules/launcher/Plugins/Microsoft.Plugin.WindowWalker/Main.cs
@@ -67,12 +67,12 @@ namespace Microsoft.Plugin.WindowWalker
public string GetTranslatedPluginTitle()
{
- return Context.API.GetTranslation("wox_plugin_windowwalker_plugin_name");
+ return Properties.Resources.wox_plugin_windowwalker_plugin_name;
}
public string GetTranslatedPluginDescription()
{
- return Context.API.GetTranslation("wox_plugin_windowwalker_plugin_description");
+ return Properties.Resources.wox_plugin_windowwalker_plugin_description;
}
private static void SearchResultUpdated(object sender, SearchController.SearchResultUpdateEventArgs e)
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.WindowWalker/Microsoft.Plugin.WindowWalker.csproj b/src/modules/launcher/Plugins/Microsoft.Plugin.WindowWalker/Microsoft.Plugin.WindowWalker.csproj
index 62e1f0b3d..04e095743 100644
--- a/src/modules/launcher/Plugins/Microsoft.Plugin.WindowWalker/Microsoft.Plugin.WindowWalker.csproj
+++ b/src/modules/launcher/Plugins/Microsoft.Plugin.WindowWalker/Microsoft.Plugin.WindowWalker.csproj
@@ -12,6 +12,7 @@
false
false
x64
+ en-US
@@ -45,6 +46,13 @@
true
+
+
+
+
+
+
+
PreserveNewest
@@ -56,14 +64,6 @@
-
-
- MSBuild:Compile
- Designer
- PreserveNewest
-
-
-
@@ -83,6 +83,19 @@
all
+
+
+ True
+ True
+ Resources.resx
+
+
+
+
+ PublicResXFileCodeGenerator
+ Resources.Designer.cs
+
+
PreserveNewest
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.WindowWalker/Properties/Resources.Designer.cs b/src/modules/launcher/Plugins/Microsoft.Plugin.WindowWalker/Properties/Resources.Designer.cs
new file mode 100644
index 000000000..0b8ddfe0d
--- /dev/null
+++ b/src/modules/launcher/Plugins/Microsoft.Plugin.WindowWalker/Properties/Resources.Designer.cs
@@ -0,0 +1,81 @@
+//------------------------------------------------------------------------------
+//
+// 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.WindowWalker.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.WindowWalker.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 Alt-Tab alternative enabling searching through your windows..
+ ///
+ public static string wox_plugin_windowwalker_plugin_description {
+ get {
+ return ResourceManager.GetString("wox_plugin_windowwalker_plugin_description", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Window Walker.
+ ///
+ public static string wox_plugin_windowwalker_plugin_name {
+ get {
+ return ResourceManager.GetString("wox_plugin_windowwalker_plugin_name", resourceCulture);
+ }
+ }
+ }
+}
diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.WindowWalker/Properties/Resources.resx b/src/modules/launcher/Plugins/Microsoft.Plugin.WindowWalker/Properties/Resources.resx
new file mode 100644
index 000000000..948defbad
--- /dev/null
+++ b/src/modules/launcher/Plugins/Microsoft.Plugin.WindowWalker/Properties/Resources.resx
@@ -0,0 +1,126 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 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
+
+
+ Window Walker
+
+
+ Alt-Tab alternative enabling searching through your windows.
+
+
\ No newline at end of file
diff --git a/src/modules/launcher/PowerLauncher/ActionKeywords.xaml b/src/modules/launcher/PowerLauncher/ActionKeywords.xaml
deleted file mode 100644
index 4ef88c08d..000000000
--- a/src/modules/launcher/PowerLauncher/ActionKeywords.xaml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Old ActionKeywords:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ 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}
- Aç
- 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)]