mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 04:07:40 +02:00
add missing sleep images and translations
This commit is contained in:
BIN
Plugins/Wox.Plugin.Sys/Images/sleep.png
Normal file
BIN
Plugins/Wox.Plugin.Sys/Images/sleep.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.2 KiB |
@@ -11,6 +11,7 @@
|
|||||||
<system:String x:Key="wox_plugin_sys_exit">Close Wox</system:String>
|
<system:String x:Key="wox_plugin_sys_exit">Close Wox</system:String>
|
||||||
<system:String x:Key="wox_plugin_sys_restart">Restart Wox</system:String>
|
<system:String x:Key="wox_plugin_sys_restart">Restart Wox</system:String>
|
||||||
<system:String x:Key="wox_plugin_sys_setting">Tweak this app</system:String>
|
<system:String x:Key="wox_plugin_sys_setting">Tweak this app</system:String>
|
||||||
|
<system:String x:Key="wox_plugin_sys_sleep">Put computer to sleep</system:String>
|
||||||
|
|
||||||
<system:String x:Key="wox_plugin_sys_plugin_name">System Commands</system:String>
|
<system:String x:Key="wox_plugin_sys_plugin_name">System Commands</system:String>
|
||||||
<system:String x:Key="wox_plugin_sys_plugin_description">Provide System related commands. e.g. shutdown,lock,setting etc.</system:String>
|
<system:String x:Key="wox_plugin_sys_plugin_description">Provide System related commands. e.g. shutdown,lock,setting etc.</system:String>
|
||||||
|
|||||||
@@ -11,6 +11,7 @@
|
|||||||
<system:String x:Key="wox_plugin_sys_exit">退出Wox</system:String>
|
<system:String x:Key="wox_plugin_sys_exit">退出Wox</system:String>
|
||||||
<system:String x:Key="wox_plugin_sys_restart">重启Wox</system:String>
|
<system:String x:Key="wox_plugin_sys_restart">重启Wox</system:String>
|
||||||
<system:String x:Key="wox_plugin_sys_setting">设置</system:String>
|
<system:String x:Key="wox_plugin_sys_setting">设置</system:String>
|
||||||
|
<system:String x:Key="wox_plugin_sys_sleep">休眠这台电脑</system:String>
|
||||||
|
|
||||||
<system:String x:Key="wox_plugin_sys_plugin_name">系统命令</system:String>
|
<system:String x:Key="wox_plugin_sys_plugin_name">系统命令</system:String>
|
||||||
<system:String x:Key="wox_plugin_sys_plugin_description">系统系统相关的命令。例如,关机,锁定,设置等</system:String>
|
<system:String x:Key="wox_plugin_sys_plugin_description">系统系统相关的命令。例如,关机,锁定,设置等</system:String>
|
||||||
|
|||||||
@@ -11,6 +11,7 @@
|
|||||||
<system:String x:Key="wox_plugin_sys_exit">退出Wox</system:String>
|
<system:String x:Key="wox_plugin_sys_exit">退出Wox</system:String>
|
||||||
<system:String x:Key="wox_plugin_sys_restart">重啟Wox</system:String>
|
<system:String x:Key="wox_plugin_sys_restart">重啟Wox</system:String>
|
||||||
<system:String x:Key="wox_plugin_sys_setting">設置</system:String>
|
<system:String x:Key="wox_plugin_sys_setting">設置</system:String>
|
||||||
|
<system:String x:Key="wox_plugin_sys_sleep">休眠这台电脑</system:String>
|
||||||
|
|
||||||
<system:String x:Key="wox_plugin_sys_plugin_name">系統命令</system:String>
|
<system:String x:Key="wox_plugin_sys_plugin_name">系統命令</system:String>
|
||||||
<system:String x:Key="wox_plugin_sys_plugin_description">系統系統相關的命令。例如,關機,鎖定,設置等</system:String>
|
<system:String x:Key="wox_plugin_sys_plugin_description">系統系統相關的命令。例如,關機,鎖定,設置等</system:String>
|
||||||
|
|||||||
@@ -95,7 +95,7 @@ namespace Wox.Plugin.Sys
|
|||||||
new Result
|
new Result
|
||||||
{
|
{
|
||||||
Title = "Sleep",
|
Title = "Sleep",
|
||||||
SubTitle = "Put computer to sleep",
|
SubTitle = context.API.GetTranslation("wox_plugin_sys_sleep"),
|
||||||
Score = 100,
|
Score = 100,
|
||||||
IcoPath = "Images\\sleep.png",
|
IcoPath = "Images\\sleep.png",
|
||||||
Action = (c) => Application.SetSuspendState(PowerState.Suspend, false, false)
|
Action = (c) => Application.SetSuspendState(PowerState.Suspend, false, false)
|
||||||
|
|||||||
@@ -65,6 +65,9 @@
|
|||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
<Content Include="Images\sleep.png">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
<Content Include="Languages\en.xaml">
|
<Content Include="Languages\en.xaml">
|
||||||
<Generator>MSBuild:Compile</Generator>
|
<Generator>MSBuild:Compile</Generator>
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
|
|||||||
Reference in New Issue
Block a user