[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

@@ -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>