mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 18:57:19 +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:
@@ -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>
|
||||
|
||||
@@ -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 > to search within the directory. Use * to search for file extensions. Or use both >*</value>
|
||||
</data>
|
||||
|
||||
Reference in New Issue
Block a user