[PTRun][System] Recycle Bin command: Allow opening RB + Improvements (#23045)

This commit is contained in:
Heiko
2023-01-10 15:09:23 +01:00
committed by GitHub
parent 25e9241d42
commit 196db19be8
12 changed files with 253 additions and 51 deletions

View File

@@ -168,24 +168,6 @@ namespace Microsoft.PowerToys.Run.Plugin.System.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Empty Recycle Bin.
/// </summary>
internal static string Microsoft_plugin_sys_emptyrecyclebin {
get {
return ResourceManager.GetString("Microsoft_plugin_sys_emptyrecyclebin", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Empty Recycle Bin.
/// </summary>
internal static string Microsoft_plugin_sys_emptyrecyclebin_description {
get {
return ResourceManager.GetString("Microsoft_plugin_sys_emptyrecyclebin_description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Default Gateway.
/// </summary>
@@ -402,6 +384,87 @@ namespace Microsoft.PowerToys.Run.Plugin.System.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Recycle Bin.
/// </summary>
internal static string Microsoft_plugin_sys_RecycleBin {
get {
return ResourceManager.GetString("Microsoft_plugin_sys_RecycleBin", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Empty Recycle Bin (Shift+Delete).
/// </summary>
internal static string Microsoft_plugin_sys_RecycleBin_contextMenu {
get {
return ResourceManager.GetString("Microsoft_plugin_sys_RecycleBin_contextMenu", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Open the Recycle Bin.
/// </summary>
internal static string Microsoft_plugin_sys_RecycleBin_description {
get {
return ResourceManager.GetString("Microsoft_plugin_sys_RecycleBin_description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Recycle Bin emptied successfully..
/// </summary>
internal static string Microsoft_plugin_sys_RecycleBin_EmptySuccessMessage {
get {
return ResourceManager.GetString("Microsoft_plugin_sys_RecycleBin_EmptySuccessMessage", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The task to empty the Recycle Bin is already running..
/// </summary>
internal static string Microsoft_plugin_sys_RecycleBin_EmptyTaskRunning {
get {
return ResourceManager.GetString("Microsoft_plugin_sys_RecycleBin_EmptyTaskRunning", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Failed to empty the Recycle Bin:.
/// </summary>
internal static string Microsoft_plugin_sys_RecycleBin_ErrorMsg {
get {
return ResourceManager.GetString("Microsoft_plugin_sys_RecycleBin_ErrorMsg", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Recycle Bin is empty..
/// </summary>
internal static string Microsoft_plugin_sys_RecycleBin_IsEmpty {
get {
return ResourceManager.GetString("Microsoft_plugin_sys_RecycleBin_IsEmpty", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Empty Recycle Bin.
/// </summary>
internal static string Microsoft_plugin_sys_RecycleBin_searchTag {
get {
return ResourceManager.GetString("Microsoft_plugin_sys_RecycleBin_searchTag", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Show a success message after empty the Recycle Bin.
/// </summary>
internal static string Microsoft_plugin_sys_RecycleBin_ShowEmptySuccessMessage {
get {
return ResourceManager.GetString("Microsoft_plugin_sys_RecycleBin_ShowEmptySuccessMessage", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Restart.
/// </summary>

View File

@@ -155,14 +155,6 @@
<data name="Microsoft_plugin_sys_Dns" xml:space="preserve">
<value>DNS servers</value>
</data>
<data name="Microsoft_plugin_sys_emptyrecyclebin" xml:space="preserve">
<value>Empty Recycle Bin</value>
<comment>This should align to the action in Windows of emptying the recycle bin on your computer.</comment>
</data>
<data name="Microsoft_plugin_sys_emptyrecyclebin_description" xml:space="preserve">
<value>Empty Recycle Bin</value>
<comment>This should align to the action in Windows of emptying the recycle bin on your computer.</comment>
</data>
<data name="Microsoft_plugin_sys_Gateways" xml:space="preserve">
<value>Default Gateway</value>
</data>
@@ -248,6 +240,41 @@
<value>Windows System Commands</value>
<comment>Windows operating system commands.</comment>
</data>
<data name="Microsoft_plugin_sys_RecycleBin" xml:space="preserve">
<value>Recycle Bin</value>
<comment>Means the recycle bin folder in Explorer.</comment>
</data>
<data name="Microsoft_plugin_sys_RecycleBin_contextMenu" xml:space="preserve">
<value>Empty Recycle Bin (Shift+Delete)</value>
<comment>This should align to the action in Windows of emptying the recycle bin on your computer.</comment>
</data>
<data name="Microsoft_plugin_sys_RecycleBin_description" xml:space="preserve">
<value>Open the Recycle Bin</value>
<comment>This should align to the action in Windows of emptying the recycle bin on your computer.</comment>
</data>
<data name="Microsoft_plugin_sys_RecycleBin_EmptySuccessMessage" xml:space="preserve">
<value>Recycle Bin emptied successfully.</value>
<comment>Means the recycle bin folder in Explorer.</comment>
</data>
<data name="Microsoft_plugin_sys_RecycleBin_EmptyTaskRunning" xml:space="preserve">
<value>The task to empty the Recycle Bin is already running.</value>
<comment>Means the recycle bin folder in Explorer.</comment>
</data>
<data name="Microsoft_plugin_sys_RecycleBin_ErrorMsg" xml:space="preserve">
<value>Failed to empty the Recycle Bin:</value>
</data>
<data name="Microsoft_plugin_sys_RecycleBin_IsEmpty" xml:space="preserve">
<value>Recycle Bin is empty.</value>
<comment>Means the recycle bin folder in Explorer.</comment>
</data>
<data name="Microsoft_plugin_sys_RecycleBin_searchTag" xml:space="preserve">
<value>Empty Recycle Bin</value>
<comment>This should align to the action in Windows of emptying the recycle bin on your computer.</comment>
</data>
<data name="Microsoft_plugin_sys_RecycleBin_ShowEmptySuccessMessage" xml:space="preserve">
<value>Show a success message after emptying the Recycle Bin</value>
<comment>Means the recycle bin folder in Explorer and "emptying" refers to "Empty Recycle Bin" command.</comment>
</data>
<data name="Microsoft_plugin_sys_restart_computer" xml:space="preserve">
<value>Restart</value>
<comment>This should align to the action in Windows of a restarting your computer.</comment>