[PowerToys Run] Remove unused wox resources and move hardcoded strings to resx file (#6181)

* Removed xaml files, added resx file and removed references for PowerLauncher project

* Added resx file for wox.plugin

* Moved Calculator resources to resx

* Migrated resources for Folder and Indexer plugins

* Migrated resources for Program and Shell plugin

* Migrated resources for URI and Window Walker

* Removed GetTranslation, tests need to be refactored

* Removed internationalization classes

* Removed Wox.Core.Resource references

* Fixed Programs plugin tests

* Fixed tests

* Removed language xaml files from installer

* Added locProject.json files

* Fixed resource not found error

* Remove unused strings from PowerLauncher

* Removed all unused strings

* Reverted addition of resx file for Wox.Plugin

* Added more resources for Folder plugin

* Added resources for Folder and Indexer plugin

* Added resources for Program, Shell, Uri and WW plugins

* Changed string from Wox to PT Run

* managed common files
This commit is contained in:
Arjun Balgovind 2020-09-08 11:51:24 -07:00 committed by GitHub
parent cd906b0a6f
commit 8ea8db7994
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
22 changed files with 206 additions and 1625 deletions

View File

@ -116,7 +116,7 @@ namespace Microsoft.Plugin.Folder
}
catch (Exception e)
{
var message = $"Fail to open file at {record.FullPath}";
var message = $"{Properties.Resources.Microsoft_plugin_folder_file_open_failed} {record.FullPath}";
LogException(message, e);
_context.API.ShowMsg(message);
return false;

View File

@ -78,6 +78,15 @@ namespace Microsoft.Plugin.Folder.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Fail to open file at.
/// </summary>
public static string Microsoft_plugin_folder_file_open_failed {
get {
return ResourceManager.GetString("Microsoft_plugin_folder_file_open_failed", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Open containing folder (Ctrl+Shift+E).
/// </summary>
@ -114,51 +123,6 @@ namespace Microsoft.Plugin.Folder.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Add.
/// </summary>
public static string wox_plugin_folder_add {
get {
return ResourceManager.GetString("wox_plugin_folder_add", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Delete.
/// </summary>
public static string wox_plugin_folder_delete {
get {
return ResourceManager.GetString("wox_plugin_folder_delete", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Are you sure you want to delete {0}?.
/// </summary>
public static string wox_plugin_folder_delete_folder_link {
get {
return ResourceManager.GetString("wox_plugin_folder_delete_folder_link", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Edit.
/// </summary>
public static string wox_plugin_folder_edit {
get {
return ResourceManager.GetString("wox_plugin_folder_edit", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Folder Path.
/// </summary>
public static string wox_plugin_folder_folder_path {
get {
return ResourceManager.GetString("wox_plugin_folder_folder_path", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Open favorite folder from PowerToys Run directly.
/// </summary>

View File

@ -117,24 +117,6 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="wox_plugin_folder_delete" xml:space="preserve">
<value>Delete</value>
</data>
<data name="wox_plugin_folder_edit" xml:space="preserve">
<value>Edit</value>
</data>
<data name="wox_plugin_folder_add" xml:space="preserve">
<value>Add</value>
</data>
<data name="wox_plugin_folder_folder_path" xml:space="preserve">
<value>Folder Path</value>
</data>
<data name="wox_plugin_folder_select_folder_link_warning" xml:space="preserve">
<value>Please select a folder link</value>
</data>
<data name="wox_plugin_folder_delete_folder_link" xml:space="preserve">
<value>Are you sure you want to delete {0}?</value>
</data>
<data name="wox_plugin_folder_plugin_name" xml:space="preserve">
<value>Folder</value>
</data>
@ -159,6 +141,9 @@
<data name="Microsoft_plugin_folder_clipboard_failed" xml:space="preserve">
<value>Fail to set text in clipboard</value>
</data>
<data name="Microsoft_plugin_folder_file_open_failed" xml:space="preserve">
<value>Fail to open file at</value>
</data>
<data name="wox_plugin_folder_select_folder_first_result_subtitle" xml:space="preserve">
<value>Use &gt; to search within the directory. Use * to search for file extensions. Or use both &gt;*</value>
</data>

View File

@ -72,7 +72,7 @@ namespace Microsoft.Plugin.Indexer
}
catch (Exception e)
{
var message = "Fail to set text in clipboard";
var message = Properties.Resources.Microsoft_plugin_indexer_clipboard_failed;
LogException(message, e);
_context.API.ShowMsg(message);
return false;
@ -177,7 +177,7 @@ namespace Microsoft.Plugin.Indexer
}
catch (Exception e)
{
var message = $"Fail to open file at {record.Path}";
var message = $"{Properties.Resources.Microsoft_plugin_indexer_folder_open_failed} {record.Path}";
LogException(message, e);
_context.API.ShowMsg(message);
return false;

View File

@ -119,7 +119,7 @@ namespace Microsoft.Plugin.Indexer
Result r = new Result();
r.Title = searchResult.Title;
r.SubTitle = "Search: " + path;
r.SubTitle = Properties.Resources.Microsoft_plugin_indexer_subtitle_header + ": " + path;
r.IcoPath = path;
r.ToolTipData = new ToolTipData(toolTipTitle, toolTipText);
r.Action = c =>
@ -138,7 +138,7 @@ namespace Microsoft.Plugin.Indexer
catch (Win32Exception)
{
var name = $"Plugin: {_context.CurrentPluginMetadata.Name}";
var msg = "Can't Open this file";
var msg = Properties.Resources.Microsoft_plugin_indexer_file_open_failed;
_context.API.ShowMsg(name, msg, string.Empty);
hide = false;
}
@ -210,14 +210,14 @@ namespace Microsoft.Plugin.Indexer
// Set the Plugin Title
public string GetTranslatedPluginTitle()
{
return "Windows Indexer Plugin";
return Properties.Resources.Microsoft_plugin_indexer_plugin_name;
}
// TODO: Localize the string
// Set the plugin Description
public string GetTranslatedPluginDescription()
{
return "Returns files and folders";
return Properties.Resources.Microsoft_plugin_indexer_plugin_description;
}
public List<ContextMenuResult> LoadContextMenus(Result selectedResult)

View File

@ -60,6 +60,15 @@ namespace Microsoft.Plugin.Indexer.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Fail to set text in clipboard.
/// </summary>
public static string Microsoft_plugin_indexer_clipboard_failed {
get {
return ResourceManager.GetString("Microsoft_plugin_indexer_clipboard_failed", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Copy path (Ctrl+C).
/// </summary>
@ -87,6 +96,24 @@ namespace Microsoft.Plugin.Indexer.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Can&apos;t open this file.
/// </summary>
public static string Microsoft_plugin_indexer_file_open_failed {
get {
return ResourceManager.GetString("Microsoft_plugin_indexer_file_open_failed", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Fail to open folder at.
/// </summary>
public static string Microsoft_plugin_indexer_folder_open_failed {
get {
return ResourceManager.GetString("Microsoft_plugin_indexer_folder_open_failed", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Name.
/// </summary>
@ -123,6 +150,24 @@ namespace Microsoft.Plugin.Indexer.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Returns files and folders.
/// </summary>
public static string Microsoft_plugin_indexer_plugin_description {
get {
return ResourceManager.GetString("Microsoft_plugin_indexer_plugin_description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Windows Indexer Plugin.
/// </summary>
public static string Microsoft_plugin_indexer_plugin_name {
get {
return ResourceManager.GetString("Microsoft_plugin_indexer_plugin_name", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Run as administrator (Ctrl+Shift+Enter).
/// </summary>
@ -131,5 +176,14 @@ namespace Microsoft.Plugin.Indexer.Properties {
return ResourceManager.GetString("Microsoft_plugin_indexer_run_as_administrator", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Search.
/// </summary>
public static string Microsoft_plugin_indexer_subtitle_header {
get {
return ResourceManager.GetString("Microsoft_plugin_indexer_subtitle_header", resourceCulture);
}
}
}
}

View File

@ -141,4 +141,22 @@
<data name="Microsoft_plugin_indexer_disable_warning_in_settings" xml:space="preserve">
<value>Click to go to Windows Search settings to fix.</value>
</data>
<data name="Microsoft_plugin_indexer_clipboard_failed" xml:space="preserve">
<value>Fail to set text in clipboard</value>
</data>
<data name="Microsoft_plugin_indexer_file_open_failed" xml:space="preserve">
<value>Can't open this file</value>
</data>
<data name="Microsoft_plugin_indexer_folder_open_failed" xml:space="preserve">
<value>Fail to open folder at</value>
</data>
<data name="Microsoft_plugin_indexer_plugin_description" xml:space="preserve">
<value>Returns files and folders</value>
</data>
<data name="Microsoft_plugin_indexer_plugin_name" xml:space="preserve">
<value>Windows Indexer Plugin</value>
</data>
<data name="Microsoft_plugin_indexer_subtitle_header" xml:space="preserve">
<value>Search</value>
</data>
</root>

View File

@ -154,8 +154,8 @@ namespace Microsoft.Plugin.Program
}
catch (Exception)
{
var name = "Plugin: Program";
var message = $"Unable to start: {info?.FileName}";
var name = "Plugin: " + Properties.Resources.wox_plugin_program_plugin_name;
var message = $"{Properties.Resources.powertoys_run_plugin_program_start_failed}: {info?.FileName}";
_context.API.ShowMsg(name, message, string.Empty);
}
}

View File

@ -208,8 +208,8 @@ namespace Microsoft.Plugin.Program.Programs
}
catch (Exception)
{
var name = "Plugin: Program";
var message = $"Can't start UWP: {DisplayName}";
var name = "Plugin: " + Properties.Resources.wox_plugin_program_plugin_name;
var message = $"{Properties.Resources.powertoys_run_plugin_program_uwp_failed}: {DisplayName}";
api.ShowMsg(name, message, string.Empty);
}
}).ConfigureAwait(false);

View File

@ -105,6 +105,24 @@ namespace Microsoft.Plugin.Program.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Unable to start.
/// </summary>
public static string powertoys_run_plugin_program_start_failed {
get {
return ResourceManager.GetString("powertoys_run_plugin_program_start_failed", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Can&apos;t start UWP.
/// </summary>
public static string powertoys_run_plugin_program_uwp_failed {
get {
return ResourceManager.GetString("powertoys_run_plugin_program_uwp_failed", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Web application.
/// </summary>
@ -123,186 +141,6 @@ namespace Microsoft.Plugin.Program.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Add.
/// </summary>
public static string wox_plugin_program_add {
get {
return ResourceManager.GetString("wox_plugin_program_add", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to All programs.
/// </summary>
public static string wox_plugin_program_all_programs {
get {
return ResourceManager.GetString("wox_plugin_program_all_programs", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Browse.
/// </summary>
public static string wox_plugin_program_browse {
get {
return ResourceManager.GetString("wox_plugin_program_browse", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Delete.
/// </summary>
public static string wox_plugin_program_delete {
get {
return ResourceManager.GetString("wox_plugin_program_delete", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Are you sure you want to delete the selected program sources?.
/// </summary>
public static string wox_plugin_program_delete_program_source {
get {
return ResourceManager.GetString("wox_plugin_program_delete_program_source", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Directory:.
/// </summary>
public static string wox_plugin_program_directory {
get {
return ResourceManager.GetString("wox_plugin_program_directory", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Disable.
/// </summary>
public static string wox_plugin_program_disable {
get {
return ResourceManager.GetString("wox_plugin_program_disable", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Success.
/// </summary>
public static string wox_plugin_program_disable_dlgtitle_success {
get {
return ResourceManager.GetString("wox_plugin_program_disable_dlgtitle_success", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Successfully disabled this program from displaying in your query.
/// </summary>
public static string wox_plugin_program_disable_dlgtitle_success_message {
get {
return ResourceManager.GetString("wox_plugin_program_disable_dlgtitle_success_message", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Disable this program from displaying.
/// </summary>
public static string wox_plugin_program_disable_program {
get {
return ResourceManager.GetString("wox_plugin_program_disable_program", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Edit.
/// </summary>
public static string wox_plugin_program_edit {
get {
return ResourceManager.GetString("wox_plugin_program_edit", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to File suffixes:.
/// </summary>
public static string wox_plugin_program_file_suffixes {
get {
return ResourceManager.GetString("wox_plugin_program_file_suffixes", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Index registry.
/// </summary>
public static string wox_plugin_program_index_registry {
get {
return ResourceManager.GetString("wox_plugin_program_index_registry", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Index start menu.
/// </summary>
public static string wox_plugin_program_index_start {
get {
return ResourceManager.GetString("wox_plugin_program_index_start", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Indexing.
/// </summary>
public static string wox_plugin_program_indexing {
get {
return ResourceManager.GetString("wox_plugin_program_indexing", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid Path.
/// </summary>
public static string wox_plugin_program_invalid_path {
get {
return ResourceManager.GetString("wox_plugin_program_invalid_path", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Location.
/// </summary>
public static string wox_plugin_program_location {
get {
return ResourceManager.GetString("wox_plugin_program_location", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Max depth.
/// </summary>
public static string wox_plugin_program_max_depth_header {
get {
return ResourceManager.GetString("wox_plugin_program_max_depth_header", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Maximum search depth (-1 is unlimited):.
/// </summary>
public static string wox_plugin_program_max_search_depth {
get {
return ResourceManager.GetString("wox_plugin_program_max_search_depth", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Wox will only index files that end with the following suffixes:.
/// </summary>
public static string wox_plugin_program_only_index_tip {
get {
return ResourceManager.GetString("wox_plugin_program_only_index_tip", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Open containing folder (Ctrl+Shift+E).
/// </summary>
@ -322,16 +160,7 @@ namespace Microsoft.Plugin.Program.Properties {
}
/// <summary>
/// Looks up a localized string similar to Please select a program source.
/// </summary>
public static string wox_plugin_program_pls_select_program_source {
get {
return ResourceManager.GetString("wox_plugin_program_pls_select_program_source", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Search programs in Wox.
/// Looks up a localized string similar to Search programs in PowerToys Run.
/// </summary>
public static string wox_plugin_program_plugin_description {
get {
@ -348,15 +177,6 @@ namespace Microsoft.Plugin.Program.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Reindex.
/// </summary>
public static string wox_plugin_program_reindex {
get {
return ResourceManager.GetString("wox_plugin_program_reindex", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Run as administrator (Ctrl+Shift+Enter).
/// </summary>
@ -365,68 +185,5 @@ namespace Microsoft.Plugin.Program.Properties {
return ResourceManager.GetString("wox_plugin_program_run_as_administrator", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Run as different user.
/// </summary>
public static string wox_plugin_program_run_as_different_user {
get {
return ResourceManager.GetString("wox_plugin_program_run_as_different_user", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to (Each suffix should split by &apos;;&apos; ).
/// </summary>
public static string wox_plugin_program_split_by_tip {
get {
return ResourceManager.GetString("wox_plugin_program_split_by_tip", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to File suffixes.
/// </summary>
public static string wox_plugin_program_suffixes {
get {
return ResourceManager.GetString("wox_plugin_program_suffixes", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to File suffixes can&apos;t be empty.
/// </summary>
public static string wox_plugin_program_suffixes_cannot_empty {
get {
return ResourceManager.GetString("wox_plugin_program_suffixes_cannot_empty", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Suffixes.
/// </summary>
public static string wox_plugin_program_suffixes_header {
get {
return ResourceManager.GetString("wox_plugin_program_suffixes_header", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Update.
/// </summary>
public static string wox_plugin_program_update {
get {
return ResourceManager.GetString("wox_plugin_program_update", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Successfully updated file suffixes.
/// </summary>
public static string wox_plugin_program_update_file_suffixes {
get {
return ResourceManager.GetString("wox_plugin_program_update_file_suffixes", resourceCulture);
}
}
}
}

View File

@ -117,90 +117,12 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="wox_plugin_program_delete" xml:space="preserve">
<value>Delete</value>
</data>
<data name="wox_plugin_program_edit" xml:space="preserve">
<value>Edit</value>
</data>
<data name="wox_plugin_program_add" xml:space="preserve">
<value>Add</value>
</data>
<data name="wox_plugin_program_disable" xml:space="preserve">
<value>Disable</value>
</data>
<data name="wox_plugin_program_location" xml:space="preserve">
<value>Location</value>
</data>
<data name="wox_plugin_program_all_programs" xml:space="preserve">
<value>All programs</value>
</data>
<data name="wox_plugin_program_suffixes" xml:space="preserve">
<value>File suffixes</value>
</data>
<data name="wox_plugin_program_reindex" xml:space="preserve">
<value>Reindex</value>
</data>
<data name="wox_plugin_program_indexing" xml:space="preserve">
<value>Indexing</value>
</data>
<data name="wox_plugin_program_index_start" xml:space="preserve">
<value>Index start menu</value>
</data>
<data name="wox_plugin_program_index_registry" xml:space="preserve">
<value>Index registry</value>
</data>
<data name="wox_plugin_program_suffixes_header" xml:space="preserve">
<value>Suffixes</value>
</data>
<data name="wox_plugin_program_max_depth_header" xml:space="preserve">
<value>Max depth</value>
</data>
<data name="wox_plugin_program_directory" xml:space="preserve">
<value>Directory:</value>
</data>
<data name="wox_plugin_program_browse" xml:space="preserve">
<value>Browse</value>
</data>
<data name="wox_plugin_program_file_suffixes" xml:space="preserve">
<value>File suffixes:</value>
</data>
<data name="wox_plugin_program_max_search_depth" xml:space="preserve">
<value>Maximum search depth (-1 is unlimited):</value>
</data>
<data name="wox_plugin_program_pls_select_program_source" xml:space="preserve">
<value>Please select a program source</value>
</data>
<data name="wox_plugin_program_delete_program_source" xml:space="preserve">
<value>Are you sure you want to delete the selected program sources?</value>
</data>
<data name="wox_plugin_program_update" xml:space="preserve">
<value>Update</value>
</data>
<data name="wox_plugin_program_only_index_tip" xml:space="preserve">
<value>Wox will only index files that end with the following suffixes:</value>
</data>
<data name="wox_plugin_program_split_by_tip" xml:space="preserve">
<value>(Each suffix should split by ';' )</value>
</data>
<data name="wox_plugin_program_update_file_suffixes" xml:space="preserve">
<value>Successfully updated file suffixes</value>
</data>
<data name="wox_plugin_program_suffixes_cannot_empty" xml:space="preserve">
<value>File suffixes can't be empty</value>
</data>
<data name="wox_plugin_program_run_as_different_user" xml:space="preserve">
<value>Run as different user</value>
</data>
<data name="wox_plugin_program_run_as_administrator" xml:space="preserve">
<value>Run as administrator (Ctrl+Shift+Enter)</value>
</data>
<data name="wox_plugin_program_open_containing_folder" xml:space="preserve">
<value>Open containing folder (Ctrl+Shift+E)</value>
</data>
<data name="wox_plugin_program_disable_program" xml:space="preserve">
<value>Disable this program from displaying</value>
</data>
<data name="wox_plugin_program_open_in_console" xml:space="preserve">
<value>Open path in console (Ctrl+Shift+C)</value>
</data>
@ -208,16 +130,7 @@
<value>Program</value>
</data>
<data name="wox_plugin_program_plugin_description" xml:space="preserve">
<value>Search programs in Wox</value>
</data>
<data name="wox_plugin_program_invalid_path" xml:space="preserve">
<value>Invalid Path</value>
</data>
<data name="wox_plugin_program_disable_dlgtitle_success" xml:space="preserve">
<value>Success</value>
</data>
<data name="wox_plugin_program_disable_dlgtitle_success_message" xml:space="preserve">
<value>Successfully disabled this program from displaying in your query</value>
<value>Search programs in PowerToys Run</value>
</data>
<data name="powertoys_run_plugin_program_win32_application" xml:space="preserve">
<value>Application</value>
@ -240,4 +153,10 @@
<data name="powertoys_run_plugin_program_file_path" xml:space="preserve">
<value>Path</value>
</data>
<data name="powertoys_run_plugin_program_start_failed" xml:space="preserve">
<value>Unable to start</value>
</data>
<data name="powertoys_run_plugin_program_uwp_failed" xml:space="preserve">
<value>Can't start UWP</value>
</data>
</root>

View File

@ -83,14 +83,14 @@ namespace Microsoft.Plugin.Shell
{
if (m.Key == cmd)
{
result.SubTitle = "Shell: " + string.Format(CultureInfo.CurrentCulture, Properties.Resources.wox_plugin_cmd_cmd_has_been_executed_times, m.Value);
result.SubTitle = Properties.Resources.wox_plugin_cmd_plugin_name + ": " + 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, Properties.Resources.wox_plugin_cmd_cmd_has_been_executed_times, m.Value),
SubTitle = Properties.Resources.wox_plugin_cmd_plugin_name + ": " + 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: " + Properties.Resources.wox_plugin_cmd_execute_through_shell,
SubTitle = Properties.Resources.wox_plugin_cmd_plugin_name + ": " + 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, Properties.Resources.wox_plugin_cmd_cmd_has_been_executed_times, m.Value),
SubTitle = Properties.Resources.wox_plugin_cmd_plugin_name + ": " + string.Format(CultureInfo.CurrentCulture, Properties.Resources.wox_plugin_cmd_cmd_has_been_executed_times, m.Value),
IcoPath = IconPath,
Action = c =>
{
@ -215,14 +215,14 @@ namespace Microsoft.Plugin.Shell
}
catch (FileNotFoundException e)
{
var name = "Plugin: Shell";
var message = $"Command not found: {e.Message}";
var name = "Plugin: " + Properties.Resources.wox_plugin_cmd_plugin_name;
var message = $"{Properties.Resources.wox_plugin_cmd_command_not_found}: {e.Message}";
_context.API.ShowMsg(name, message);
}
catch (Win32Exception e)
{
var name = "Plugin: Shell";
var message = $"Error running the command: {e.Message}";
var name = "Plugin: " + Properties.Resources.wox_plugin_cmd_plugin_name;
var message = $"{Properties.Resources.wox_plugin_cmd_command_failed}: {e.Message}";
_context.API.ShowMsg(name, message);
}
}

View File

@ -60,15 +60,6 @@ namespace Microsoft.Plugin.Shell.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Always run as administrator.
/// </summary>
public static string wox_plugin_cmd_always_run_as_administrator {
get {
return ResourceManager.GetString("wox_plugin_cmd_always_run_as_administrator", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to this command has been executed {0} times.
/// </summary>
@ -78,6 +69,24 @@ namespace Microsoft.Plugin.Shell.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Error running the command.
/// </summary>
public static string wox_plugin_cmd_command_failed {
get {
return ResourceManager.GetString("wox_plugin_cmd_command_failed", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Command not found.
/// </summary>
public static string wox_plugin_cmd_command_not_found {
get {
return ResourceManager.GetString("wox_plugin_cmd_command_not_found", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to execute command through command shell.
/// </summary>
@ -88,16 +97,7 @@ namespace Microsoft.Plugin.Shell.Properties {
}
/// <summary>
/// Looks up a localized string similar to Do not close Command Prompt after command execution.
/// </summary>
public static string wox_plugin_cmd_leave_cmd_open {
get {
return ResourceManager.GetString("wox_plugin_cmd_leave_cmd_open", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Allows to execute system commands from Wox. Commands should start with &gt;.
/// Looks up a localized string similar to Allows to execute system commands from PowerToys Run. Commands should start with &gt;.
/// </summary>
public static string wox_plugin_cmd_plugin_description {
get {
@ -114,15 +114,6 @@ namespace Microsoft.Plugin.Shell.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Replace Win+R.
/// </summary>
public static string wox_plugin_cmd_relace_winr {
get {
return ResourceManager.GetString("wox_plugin_cmd_relace_winr", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Run as administrator (Ctrl+Shift+Enter).
/// </summary>
@ -131,14 +122,5 @@ namespace Microsoft.Plugin.Shell.Properties {
return ResourceManager.GetString("wox_plugin_cmd_run_as_administrator", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Run as different user.
/// </summary>
public static string wox_plugin_cmd_run_as_different_user {
get {
return ResourceManager.GetString("wox_plugin_cmd_run_as_different_user", resourceCulture);
}
}
}
}

View File

@ -117,23 +117,11 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="wox_plugin_cmd_relace_winr" xml:space="preserve">
<value>Replace Win+R</value>
</data>
<data name="wox_plugin_cmd_leave_cmd_open" xml:space="preserve">
<value>Do not close Command Prompt after command execution</value>
</data>
<data name="wox_plugin_cmd_always_run_as_administrator" xml:space="preserve">
<value>Always run as administrator</value>
</data>
<data name="wox_plugin_cmd_run_as_different_user" xml:space="preserve">
<value>Run as different user</value>
</data>
<data name="wox_plugin_cmd_plugin_name" xml:space="preserve">
<value>Shell</value>
</data>
<data name="wox_plugin_cmd_plugin_description" xml:space="preserve">
<value>Allows to execute system commands from Wox. Commands should start with &gt;</value>
<value>Allows to execute system commands from PowerToys Run. Commands should start with &gt;</value>
</data>
<data name="wox_plugin_cmd_cmd_has_been_executed_times" xml:space="preserve">
<value>this command has been executed {0} times</value>
@ -144,4 +132,10 @@
<data name="wox_plugin_cmd_run_as_administrator" xml:space="preserve">
<value>Run as administrator (Ctrl+Shift+Enter)</value>
</data>
<data name="wox_plugin_cmd_command_failed" xml:space="preserve">
<value>Error running the command</value>
</data>
<data name="wox_plugin_cmd_command_not_found" xml:space="preserve">
<value>Command not found</value>
</data>
</root>

View File

@ -84,12 +84,12 @@ namespace Microsoft.Plugin.Uri
public string GetTranslatedPluginTitle()
{
return "Url Handler";
return Properties.Resources.Microsoft_plugin_uri_plugin_name;
}
public string GetTranslatedPluginDescription()
{
return "Handles urls";
return Properties.Resources.Microsoft_plugin_uri_plugin_description;
}
public void Save()

View File

@ -60,6 +60,24 @@ namespace Microsoft.Plugin.Uri.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Handles urls.
/// </summary>
public static string Microsoft_plugin_uri_plugin_description {
get {
return ResourceManager.GetString("Microsoft_plugin_uri_plugin_description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Url Handler.
/// </summary>
public static string Microsoft_plugin_uri_plugin_name {
get {
return ResourceManager.GetString("Microsoft_plugin_uri_plugin_name", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Open in browser.
/// </summary>

View File

@ -117,6 +117,12 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="Microsoft_plugin_uri_plugin_description" xml:space="preserve">
<value>Handles urls</value>
</data>
<data name="Microsoft_plugin_uri_plugin_name" xml:space="preserve">
<value>Url Handler</value>
</data>
<data name="Microsoft_plugin_uri_website" xml:space="preserve">
<value>Open in browser</value>
</data>

View File

@ -31,7 +31,7 @@ namespace Microsoft.Plugin.WindowWalker
{
Title = x.Result.Title,
IcoPath = IconPath,
SubTitle = "Running: " + x.Result.ProcessName,
SubTitle = Properties.Resources.wox_plugin_windowwalker_running + ": " + x.Result.ProcessName,
Action = c =>
{
x.Result.SwitchToWindow();

View File

@ -77,5 +77,14 @@ namespace Microsoft.Plugin.WindowWalker.Properties {
return ResourceManager.GetString("wox_plugin_windowwalker_plugin_name", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Running.
/// </summary>
public static string wox_plugin_windowwalker_running {
get {
return ResourceManager.GetString("wox_plugin_windowwalker_running", resourceCulture);
}
}
}
}

View File

@ -123,4 +123,7 @@
<data name="wox_plugin_windowwalker_plugin_description" xml:space="preserve">
<value>Alt-Tab alternative enabling searching through your windows.</value>
</data>
<data name="wox_plugin_windowwalker_running" xml:space="preserve">
<value>Running</value>
</data>
</root>

View File

@ -58,14 +58,23 @@ namespace PowerLauncher.Properties {
set {
resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized string similar to Settings will be reset to default and program will continue to function..
/// </summary>
public static string deseralization_error_message {
get {
return ResourceManager.GetString("deseralization_error_message", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to About.
/// Looks up a localized string similar to Powertoys Run deserialization error.
/// </summary>
public static string about {
public static string deseralization_error_title {
get {
return ResourceManager.GetString("about", resourceCulture);
return ResourceManager.GetString("deseralization_error_title", resourceCulture);
}
}
@ -78,33 +87,6 @@ namespace PowerLauncher.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Use * if you don&apos;t want to specify an action keyword.
/// </summary>
public static string actionkeyword_tips {
get {
return ResourceManager.GetString("actionkeyword_tips", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Action keywords.
/// </summary>
public static string actionKeywords {
get {
return ResourceManager.GetString("actionKeywords", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Add.
/// </summary>
public static string add {
get {
return ResourceManager.GetString("add", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Application Icon.
/// </summary>
@ -114,87 +96,6 @@ namespace PowerLauncher.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Author.
/// </summary>
public static string author {
get {
return ResourceManager.GetString("author", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Auto Update.
/// </summary>
public static string autoUpdates {
get {
return ResourceManager.GetString("autoUpdates", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Find more plugins.
/// </summary>
public static string browserMorePlugins {
get {
return ResourceManager.GetString("browserMorePlugins", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Browse for more themes.
/// </summary>
public static string browserMoreThemes {
get {
return ResourceManager.GetString("browserMoreThemes", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cancel.
/// </summary>
public static string cancel {
get {
return ResourceManager.GetString("cancel", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cancel topmost in this query.
/// </summary>
public static string cancelTopMostInThisQuery {
get {
return ResourceManager.GetString("cancelTopMostInThisQuery", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Can&apos;t find specified plugin.
/// </summary>
public static string cannotFindSpecifiedPlugin {
get {
return ResourceManager.GetString("cannotFindSpecifiedPlugin", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Check for Updates.
/// </summary>
public static string checkUpdates {
get {
return ResourceManager.GetString("checkUpdates", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Check updates failed, please check your connection and proxy settings to api.github.com..
/// </summary>
public static string checkUpdatesFailed {
get {
return ResourceManager.GetString("checkUpdatesFailed", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Context Menu Icon.
/// </summary>
@ -231,105 +132,6 @@ namespace PowerLauncher.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Could not start {0}.
/// </summary>
public static string couldnotStartCmd {
get {
return ResourceManager.GetString("couldnotStartCmd", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Custom Query Hotkey.
/// </summary>
public static string customQueryHotkey {
get {
return ResourceManager.GetString("customQueryHotkey", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Delete.
/// </summary>
public static string delete {
get {
return ResourceManager.GetString("delete", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Are you sure you want to delete {0} plugin hotkey?.
/// </summary>
public static string deleteCustomHotkeyWarning {
get {
return ResourceManager.GetString("deleteCustomHotkeyWarning", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Settings will be reset to default and program will continue to function..
/// </summary>
public static string deseralization_error_message {
get {
return ResourceManager.GetString("deseralization_error_message", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Powertoys Run deserialization error.
/// </summary>
public static string deseralization_error_title {
get {
return ResourceManager.GetString("deseralization_error_title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Disable.
/// </summary>
public static string disable {
get {
return ResourceManager.GetString("disable", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Done.
/// </summary>
public static string done {
get {
return ResourceManager.GetString("done", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Do not show new version notifications.
/// </summary>
public static string dontPromptUpdateMsg {
get {
return ResourceManager.GetString("dontPromptUpdateMsg", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Edit.
/// </summary>
public static string edit {
get {
return ResourceManager.GetString("edit", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Enable HTTP Proxy.
/// </summary>
public static string enableProxy {
get {
return ResourceManager.GetString("enableProxy", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Execute query: {0}.
/// </summary>
@ -339,159 +141,6 @@ namespace PowerLauncher.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to General.
/// </summary>
public static string general {
get {
return ResourceManager.GetString("general", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Hello Wox.
/// </summary>
public static string helloWox {
get {
return ResourceManager.GetString("helloWox", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Hide tray icon.
/// </summary>
public static string hideNotifyIcon {
get {
return ResourceManager.GetString("hideNotifyIcon", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Hide Wox on startup.
/// </summary>
public static string hideOnStartup {
get {
return ResourceManager.GetString("hideOnStartup", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Hide Wox when focus is lost.
/// </summary>
public static string hideWoxWhenLoseFocus {
get {
return ResourceManager.GetString("hideWoxWhenLoseFocus", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Hotkey.
/// </summary>
public static string hotkey {
get {
return ResourceManager.GetString("hotkey", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Hotkey is unavailable, please select a new hotkey.
/// </summary>
public static string hotkeyIsNotUnavailable {
get {
return ResourceManager.GetString("hotkeyIsNotUnavailable", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Hotkey unavailable.
/// </summary>
public static string hotkeyUnavailable {
get {
return ResourceManager.GetString("hotkeyUnavailable", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to About.
/// </summary>
public static string iconTrayAbout {
get {
return ResourceManager.GetString("iconTrayAbout", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Exit.
/// </summary>
public static string iconTrayExit {
get {
return ResourceManager.GetString("iconTrayExit", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Open.
/// </summary>
public static string iconTrayOpen {
get {
return ResourceManager.GetString("iconTrayOpen", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Settings.
/// </summary>
public static string iconTraySettings {
get {
return ResourceManager.GetString("iconTraySettings", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Ignore hotkeys in fullscreen mode.
/// </summary>
public static string ignoreHotkeysOnFullscreen {
get {
return ResourceManager.GetString("ignoreHotkeysOnFullscreen", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid plugin hotkey.
/// </summary>
public static string invalidPluginHotkey {
get {
return ResourceManager.GetString("invalidPluginHotkey", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid port format.
/// </summary>
public static string invalidPortFormat {
get {
return ResourceManager.GetString("invalidPortFormat", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid Wox plugin file format.
/// </summary>
public static string invalidWoxPluginFileFormat {
get {
return ResourceManager.GetString("invalidWoxPluginFileFormat", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Language.
/// </summary>
public static string language {
get {
return ResourceManager.GetString("language", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Last execution time: {0}.
/// </summary>
@ -501,213 +150,6 @@ namespace PowerLauncher.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Empty last Query.
/// </summary>
public static string LastQueryEmpty {
get {
return ResourceManager.GetString("LastQueryEmpty", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Last Query Style.
/// </summary>
public static string lastQueryMode {
get {
return ResourceManager.GetString("lastQueryMode", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Preserve Last Query.
/// </summary>
public static string LastQueryPreserved {
get {
return ResourceManager.GetString("LastQueryPreserved", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Select last Query.
/// </summary>
public static string LastQuerySelected {
get {
return ResourceManager.GetString("LastQuerySelected", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Maximum results shown.
/// </summary>
public static string maxShowResults {
get {
return ResourceManager.GetString("maxShowResults", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to New Action Keyword.
/// </summary>
public static string newActionKeywords {
get {
return ResourceManager.GetString("newActionKeywords", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to New Action Keyword can&apos;t be empty.
/// </summary>
public static string newActionKeywordsCannotBeEmpty {
get {
return ResourceManager.GetString("newActionKeywordsCannotBeEmpty", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to New Action Keywords have been assigned to another plugin, please assign other new action keyword.
/// </summary>
public static string newActionKeywordsHasBeenAssigned {
get {
return ResourceManager.GetString("newActionKeywordsHasBeenAssigned", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to New version {0} is available, please restart Wox..
/// </summary>
public static string newVersionTips {
get {
return ResourceManager.GetString("newVersionTips", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Old Action Keyword.
/// </summary>
public static string oldActionKeywords {
get {
return ResourceManager.GetString("oldActionKeywords", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Opacity.
/// </summary>
public static string opacity {
get {
return ResourceManager.GetString("opacity", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Password.
/// </summary>
public static string password {
get {
return ResourceManager.GetString("password", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Please select an item.
/// </summary>
public static string pleaseSelectAnItem {
get {
return ResourceManager.GetString("pleaseSelectAnItem", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Plugin.
/// </summary>
public static string plugin {
get {
return ResourceManager.GetString("plugin", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Init time: {0}ms.
/// </summary>
public static string plugin_init_time {
get {
return ResourceManager.GetString("plugin_init_time", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Query time: {0}ms.
/// </summary>
public static string plugin_query_time {
get {
return ResourceManager.GetString("plugin_query_time", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Plugin Directory.
/// </summary>
public static string pluginDirectory {
get {
return ResourceManager.GetString("pluginDirectory", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Port.
/// </summary>
public static string port {
get {
return ResourceManager.GetString("port", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Port field can&apos;t be empty.
/// </summary>
public static string portCantBeEmpty {
get {
return ResourceManager.GetString("portCantBeEmpty", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Preview.
/// </summary>
public static string preview {
get {
return ResourceManager.GetString("preview", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to HTTP Proxy.
/// </summary>
public static string proxy {
get {
return ResourceManager.GetString("proxy", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Proxy connection failed.
/// </summary>
public static string proxyConnectFailed {
get {
return ResourceManager.GetString("proxyConnectFailed", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Proxy configured correctly.
/// </summary>
public static string proxyIsCorrect {
get {
return ResourceManager.GetString("proxyIsCorrect", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Query.
/// </summary>
@ -717,24 +159,6 @@ namespace PowerLauncher.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Query Box Font.
/// </summary>
public static string queryBoxFont {
get {
return ResourceManager.GetString("queryBoxFont", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Query Search Precision.
/// </summary>
public static string querySearchPrecision {
get {
return ResourceManager.GetString("querySearchPrecision", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Failed to register hotkey: {0}.
/// </summary>
@ -744,24 +168,6 @@ namespace PowerLauncher.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Release Notes:.
/// </summary>
public static string releaseNotes {
get {
return ResourceManager.GetString("releaseNotes", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Remember last launch location.
/// </summary>
public static string rememberLastLocation {
get {
return ResourceManager.GetString("rememberLastLocation", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Please file a bug in the.
/// </summary>
@ -816,15 +222,6 @@ namespace PowerLauncher.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Result Item Font.
/// </summary>
public static string resultItemFont {
get {
return ResourceManager.GetString("resultItemFont", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Results.
/// </summary>
@ -834,24 +231,6 @@ namespace PowerLauncher.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Save.
/// </summary>
public static string save {
get {
return ResourceManager.GetString("save", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Proxy configuration saved successfully.
/// </summary>
public static string saveProxySuccessfully {
get {
return ResourceManager.GetString("saveProxySuccessfully", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Search Icon.
/// </summary>
@ -861,42 +240,6 @@ namespace PowerLauncher.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to HTTP Server.
/// </summary>
public static string server {
get {
return ResourceManager.GetString("server", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Server field can&apos;t be empty.
/// </summary>
public static string serverCantBeEmpty {
get {
return ResourceManager.GetString("serverCantBeEmpty", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Set as topmost in this query.
/// </summary>
public static string setAsTopMostInThisQuery {
get {
return ResourceManager.GetString("setAsTopMostInThisQuery", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Should Use Pinyin.
/// </summary>
public static string ShouldUsePinyin {
get {
return ResourceManager.GetString("ShouldUsePinyin", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Start typing....
/// </summary>
@ -906,15 +249,6 @@ namespace PowerLauncher.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Start Wox on system startup.
/// </summary>
public static string startWoxOnSystemStartup {
get {
return ResourceManager.GetString("startWoxOnSystemStartup", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Subtitle.
/// </summary>
@ -924,51 +258,6 @@ namespace PowerLauncher.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Success.
/// </summary>
public static string success {
get {
return ResourceManager.GetString("success", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Test Proxy.
/// </summary>
public static string testProxy {
get {
return ResourceManager.GetString("testProxy", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Theme.
/// </summary>
public static string theme {
get {
return ResourceManager.GetString("theme", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Fail to load theme {0}, fallback to default theme.
/// </summary>
public static string theme_load_failure_parse_error {
get {
return ResourceManager.GetString("theme_load_failure_parse_error", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Theme {0} not exists, fallback to default theme.
/// </summary>
public static string theme_load_failure_path_not_exists {
get {
return ResourceManager.GetString("theme_load_failure_path_not_exists", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Title.
/// </summary>
@ -977,140 +266,5 @@ namespace PowerLauncher.Properties {
return ResourceManager.GetString("Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Update.
/// </summary>
public static string update {
get {
return ResourceManager.GetString("update", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Update.
/// </summary>
public static string update_wox_update {
get {
return ResourceManager.GetString("update_wox_update", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cancel.
/// </summary>
public static string update_wox_update_cancel {
get {
return ResourceManager.GetString("update_wox_update_cancel", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An error occurred while trying to install software updates.
/// </summary>
public static string update_wox_update_error {
get {
return ResourceManager.GetString("update_wox_update_error", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Update files.
/// </summary>
public static string update_wox_update_files {
get {
return ResourceManager.GetString("update_wox_update_files", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to New Wox release {0} is now available.
/// </summary>
public static string update_wox_update_new_version_available {
get {
return ResourceManager.GetString("update_wox_update_new_version_available", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to This upgrade will restart Wox.
/// </summary>
public static string update_wox_update_restart_wox_tip {
get {
return ResourceManager.GetString("update_wox_update_restart_wox_tip", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Update description.
/// </summary>
public static string update_wox_update_upadte_description {
get {
return ResourceManager.GetString("update_wox_update_upadte_description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Following files will be updated.
/// </summary>
public static string update_wox_update_upadte_files {
get {
return ResourceManager.GetString("update_wox_update_upadte_files", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to User Name.
/// </summary>
public static string userName {
get {
return ResourceManager.GetString("userName", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Version.
/// </summary>
public static string version {
get {
return ResourceManager.GetString("version", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Website.
/// </summary>
public static string website {
get {
return ResourceManager.GetString("website", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Window Mode.
/// </summary>
public static string windowMode {
get {
return ResourceManager.GetString("windowMode", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Wox Settings.
/// </summary>
public static string wox_settings {
get {
return ResourceManager.GetString("wox_settings", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Wox Hotkey.
/// </summary>
public static string woxHotkey {
get {
return ResourceManager.GetString("woxHotkey", resourceCulture);
}
}
}
}

View File

@ -123,273 +123,15 @@
<data name="registerHotkeyFailed" xml:space="preserve">
<value>Failed to register hotkey: {0}</value>
</data>
<data name="couldnotStartCmd" xml:space="preserve">
<value>Could not start {0}</value>
</data>
<data name="invalidWoxPluginFileFormat" xml:space="preserve">
<value>Invalid Wox plugin file format</value>
</data>
<data name="setAsTopMostInThisQuery" xml:space="preserve">
<value>Set as topmost in this query</value>
</data>
<data name="cancelTopMostInThisQuery" xml:space="preserve">
<value>Cancel topmost in this query</value>
</data>
<data name="executeQuery" xml:space="preserve">
<value>Execute query: {0}</value>
</data>
<data name="lastExecuteTime" xml:space="preserve">
<value>Last execution time: {0}</value>
</data>
<data name="iconTrayOpen" xml:space="preserve">
<value>Open</value>
</data>
<data name="iconTraySettings" xml:space="preserve">
<value>Settings</value>
</data>
<data name="iconTrayAbout" xml:space="preserve">
<value>About</value>
</data>
<data name="iconTrayExit" xml:space="preserve">
<value>Exit</value>
</data>
<data name="wox_settings" xml:space="preserve">
<value>Wox Settings</value>
</data>
<data name="general" xml:space="preserve">
<value>General</value>
</data>
<data name="startWoxOnSystemStartup" xml:space="preserve">
<value>Start Wox on system startup</value>
</data>
<data name="hideWoxWhenLoseFocus" xml:space="preserve">
<value>Hide Wox when focus is lost</value>
</data>
<data name="dontPromptUpdateMsg" xml:space="preserve">
<value>Do not show new version notifications</value>
</data>
<data name="rememberLastLocation" xml:space="preserve">
<value>Remember last launch location</value>
</data>
<data name="language" xml:space="preserve">
<value>Language</value>
</data>
<data name="lastQueryMode" xml:space="preserve">
<value>Last Query Style</value>
</data>
<data name="LastQueryPreserved" xml:space="preserve">
<value>Preserve Last Query</value>
</data>
<data name="LastQuerySelected" xml:space="preserve">
<value>Select last Query</value>
</data>
<data name="LastQueryEmpty" xml:space="preserve">
<value>Empty last Query</value>
</data>
<data name="maxShowResults" xml:space="preserve">
<value>Maximum results shown</value>
</data>
<data name="ignoreHotkeysOnFullscreen" xml:space="preserve">
<value>Ignore hotkeys in fullscreen mode</value>
</data>
<data name="autoUpdates" xml:space="preserve">
<value>Auto Update</value>
</data>
<data name="hideOnStartup" xml:space="preserve">
<value>Hide Wox on startup</value>
</data>
<data name="hideNotifyIcon" xml:space="preserve">
<value>Hide tray icon</value>
</data>
<data name="querySearchPrecision" xml:space="preserve">
<value>Query Search Precision</value>
</data>
<data name="ShouldUsePinyin" xml:space="preserve">
<value>Should Use Pinyin</value>
</data>
<data name="plugin" xml:space="preserve">
<value>Plugin</value>
</data>
<data name="browserMorePlugins" xml:space="preserve">
<value>Find more plugins</value>
</data>
<data name="disable" xml:space="preserve">
<value>Disable</value>
</data>
<data name="actionKeywords" xml:space="preserve">
<value>Action keywords</value>
</data>
<data name="pluginDirectory" xml:space="preserve">
<value>Plugin Directory</value>
</data>
<data name="author" xml:space="preserve">
<value>Author</value>
</data>
<data name="plugin_init_time" xml:space="preserve">
<value>Init time: {0}ms</value>
</data>
<data name="plugin_query_time" xml:space="preserve">
<value>Query time: {0}ms</value>
</data>
<data name="theme" xml:space="preserve">
<value>Theme</value>
</data>
<data name="browserMoreThemes" xml:space="preserve">
<value>Browse for more themes</value>
</data>
<data name="helloWox" xml:space="preserve">
<value>Hello Wox</value>
</data>
<data name="queryBoxFont" xml:space="preserve">
<value>Query Box Font</value>
</data>
<data name="resultItemFont" xml:space="preserve">
<value>Result Item Font</value>
</data>
<data name="windowMode" xml:space="preserve">
<value>Window Mode</value>
</data>
<data name="opacity" xml:space="preserve">
<value>Opacity</value>
</data>
<data name="theme_load_failure_path_not_exists" xml:space="preserve">
<value>Theme {0} not exists, fallback to default theme</value>
</data>
<data name="theme_load_failure_parse_error" xml:space="preserve">
<value>Fail to load theme {0}, fallback to default theme</value>
</data>
<data name="hotkey" xml:space="preserve">
<value>Hotkey</value>
</data>
<data name="woxHotkey" xml:space="preserve">
<value>Wox Hotkey</value>
</data>
<data name="customQueryHotkey" xml:space="preserve">
<value>Custom Query Hotkey</value>
</data>
<data name="delete" xml:space="preserve">
<value>Delete</value>
</data>
<data name="edit" xml:space="preserve">
<value>Edit</value>
</data>
<data name="add" xml:space="preserve">
<value>Add</value>
</data>
<data name="pleaseSelectAnItem" xml:space="preserve">
<value>Please select an item</value>
</data>
<data name="deleteCustomHotkeyWarning" xml:space="preserve">
<value>Are you sure you want to delete {0} plugin hotkey?</value>
</data>
<data name="proxy" xml:space="preserve">
<value>HTTP Proxy</value>
</data>
<data name="enableProxy" xml:space="preserve">
<value>Enable HTTP Proxy</value>
</data>
<data name="server" xml:space="preserve">
<value>HTTP Server</value>
</data>
<data name="port" xml:space="preserve">
<value>Port</value>
</data>
<data name="userName" xml:space="preserve">
<value>User Name</value>
</data>
<data name="password" xml:space="preserve">
<value>Password</value>
</data>
<data name="testProxy" xml:space="preserve">
<value>Test Proxy</value>
</data>
<data name="save" xml:space="preserve">
<value>Save</value>
</data>
<data name="serverCantBeEmpty" xml:space="preserve">
<value>Server field can't be empty</value>
</data>
<data name="portCantBeEmpty" xml:space="preserve">
<value>Port field can't be empty</value>
</data>
<data name="invalidPortFormat" xml:space="preserve">
<value>Invalid port format</value>
</data>
<data name="saveProxySuccessfully" xml:space="preserve">
<value>Proxy configuration saved successfully</value>
</data>
<data name="proxyIsCorrect" xml:space="preserve">
<value>Proxy configured correctly</value>
</data>
<data name="proxyConnectFailed" xml:space="preserve">
<value>Proxy connection failed</value>
</data>
<data name="about" xml:space="preserve">
<value>About</value>
</data>
<data name="website" xml:space="preserve">
<value>Website</value>
</data>
<data name="version" xml:space="preserve">
<value>Version</value>
</data>
<data name="about_activate_times" xml:space="preserve">
<value>You have activated Wox {0} times</value>
</data>
<data name="checkUpdates" xml:space="preserve">
<value>Check for Updates</value>
</data>
<data name="newVersionTips" xml:space="preserve">
<value>New version {0} is available, please restart Wox.</value>
</data>
<data name="checkUpdatesFailed" xml:space="preserve">
<value>Check updates failed, please check your connection and proxy settings to api.github.com.</value>
</data>
<data name="releaseNotes" xml:space="preserve">
<value>Release Notes:</value>
</data>
<data name="oldActionKeywords" xml:space="preserve">
<value>Old Action Keyword</value>
</data>
<data name="newActionKeywords" xml:space="preserve">
<value>New Action Keyword</value>
</data>
<data name="cancel" xml:space="preserve">
<value>Cancel</value>
</data>
<data name="done" xml:space="preserve">
<value>Done</value>
</data>
<data name="cannotFindSpecifiedPlugin" xml:space="preserve">
<value>Can't find specified plugin</value>
</data>
<data name="newActionKeywordsCannotBeEmpty" xml:space="preserve">
<value>New Action Keyword can't be empty</value>
</data>
<data name="newActionKeywordsHasBeenAssigned" xml:space="preserve">
<value>New Action Keywords have been assigned to another plugin, please assign other new action keyword</value>
</data>
<data name="success" xml:space="preserve">
<value>Success</value>
</data>
<data name="actionkeyword_tips" xml:space="preserve">
<value>Use * if you don't want to specify an action keyword</value>
</data>
<data name="preview" xml:space="preserve">
<value>Preview</value>
</data>
<data name="hotkeyIsNotUnavailable" xml:space="preserve">
<value>Hotkey is unavailable, please select a new hotkey</value>
</data>
<data name="invalidPluginHotkey" xml:space="preserve">
<value>Invalid plugin hotkey</value>
</data>
<data name="update" xml:space="preserve">
<value>Update</value>
</data>
<data name="hotkeyUnavailable" xml:space="preserve">
<value>Hotkey unavailable</value>
</data>
<data name="reportWindow_header" xml:space="preserve">
<value>Something went wrong.</value>
</data>
@ -408,30 +150,6 @@
<data name="reportWindow_wox_got_an_error" xml:space="preserve">
<value>PowerToys Run ran into an issue</value>
</data>
<data name="update_wox_update_new_version_available" xml:space="preserve">
<value>New Wox release {0} is now available</value>
</data>
<data name="update_wox_update_error" xml:space="preserve">
<value>An error occurred while trying to install software updates</value>
</data>
<data name="update_wox_update" xml:space="preserve">
<value>Update</value>
</data>
<data name="update_wox_update_cancel" xml:space="preserve">
<value>Cancel</value>
</data>
<data name="update_wox_update_restart_wox_tip" xml:space="preserve">
<value>This upgrade will restart Wox</value>
</data>
<data name="update_wox_update_upadte_files" xml:space="preserve">
<value>Following files will be updated</value>
</data>
<data name="update_wox_update_files" xml:space="preserve">
<value>Update files</value>
</data>
<data name="update_wox_update_upadte_description" xml:space="preserve">
<value>Update description</value>
</data>
<data name="AppIcon" xml:space="preserve">
<value>Application Icon</value>
</data>