mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 11:16:51 +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:
@@ -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'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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user