[PT Run] System plugin: Add UEFI command (#15629)

* Add uefi command

* small fixes

* spell check

* spell check

* fixes

* text improvement

* fix typo

* add icon

* unit tests

* fix icon

* restore changes in UnitTests
This commit is contained in:
Heiko
2022-01-25 18:20:04 +01:00
committed by GitHub
parent 5880f3855b
commit f6f8e4c4eb
9 changed files with 99 additions and 2 deletions

View File

@@ -70,7 +70,7 @@ namespace Microsoft.PowerToys.Run.Plugin.System.Properties {
}
/// <summary>
/// Looks up a localized string similar to Please Confirm.
/// Looks up a localized string similar to Please confirm..
/// </summary>
internal static string Microsoft_plugin_sys_confirmation {
get {
@@ -276,6 +276,33 @@ namespace Microsoft.PowerToys.Run.Plugin.System.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to UEFI Firmware Settings.
/// </summary>
internal static string Microsoft_plugin_sys_uefi {
get {
return ResourceManager.GetString("Microsoft_plugin_sys_uefi", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to You are about to reboot this computer into UEFI Firmware Settings menu, are you sure?.
/// </summary>
internal static string Microsoft_plugin_sys_uefi_confirmation {
get {
return ResourceManager.GetString("Microsoft_plugin_sys_uefi_confirmation", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Reboot computer into UEFI Firmware Settings (Requires administrative permissions.).
/// </summary>
internal static string Microsoft_plugin_sys_uefi_description {
get {
return ResourceManager.GetString("Microsoft_plugin_sys_uefi_description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Use localized system commands instead of English ones.
/// </summary>

View File

@@ -121,7 +121,7 @@
<value>Show a dialog to confirm system commands</value>
</data>
<data name="Microsoft_plugin_sys_confirmation" xml:space="preserve">
<value>Please Confirm</value>
<value>Please confirm.</value>
<comment>Request confirmation</comment>
</data>
<data name="Microsoft_plugin_sys_emptyrecyclebin" xml:space="preserve">
@@ -212,6 +212,18 @@
<value>Put computer to sleep</value>
<comment>This should align to the action in Windows of a making your computer go to sleep.</comment>
</data>
<data name="Microsoft_plugin_sys_uefi" xml:space="preserve">
<value>UEFI Firmware Settings</value>
<comment>This should align to the action in Windows Recovery Environment that restart into uefi settings.</comment>
</data>
<data name="Microsoft_plugin_sys_uefi_confirmation" xml:space="preserve">
<value>You are about to reboot this computer into UEFI Firmware Settings menu, are you sure?</value>
<comment>This should align to the action in Windows Recovery Environment that restart into uefi settings.</comment>
</data>
<data name="Microsoft_plugin_sys_uefi_description" xml:space="preserve">
<value>Reboot computer into UEFI Firmware Settings (Requires administrative permissions.)</value>
<comment>This should align to the action in Windows Recovery Environment that restart into uefi settings.</comment>
</data>
<data name="Use_localized_system_commands" xml:space="preserve">
<value>Use localized system commands instead of English ones</value>
</data>