[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
22 changed files with 206 additions and 1625 deletions

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;