mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 03:07:04 +02:00
[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:
@@ -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()
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user