diff --git a/Plugins/Flow.Launcher.Plugin.Sys/Languages/da.xaml b/Plugins/Flow.Launcher.Plugin.Sys/Languages/da.xaml
index a09414367..129f40bae 100644
--- a/Plugins/Flow.Launcher.Plugin.Sys/Languages/da.xaml
+++ b/Plugins/Flow.Launcher.Plugin.Sys/Languages/da.xaml
@@ -32,6 +32,7 @@
Are you sure you want to shut the computer down?
Are you sure you want to restart the computer?
Are you sure you want to restart the computer with Advanced Boot Options?
+ Are you sure you want to log off?
System Commands
Provides System related commands. e.g. shutdown, lock, settings etc.
diff --git a/Plugins/Flow.Launcher.Plugin.Sys/Languages/de.xaml b/Plugins/Flow.Launcher.Plugin.Sys/Languages/de.xaml
index 1e549b4b2..052166e28 100644
--- a/Plugins/Flow.Launcher.Plugin.Sys/Languages/de.xaml
+++ b/Plugins/Flow.Launcher.Plugin.Sys/Languages/de.xaml
@@ -32,6 +32,7 @@
Are you sure you want to shut the computer down?
Are you sure you want to restart the computer?
Are you sure you want to restart the computer with Advanced Boot Options?
+ Are you sure you want to log off?
Systembefehle
Stellt Systemrelevante Befehle bereit. z.B. herunterfahren, sperren, Einstellungen, usw.
diff --git a/Plugins/Flow.Launcher.Plugin.Sys/Languages/en.xaml b/Plugins/Flow.Launcher.Plugin.Sys/Languages/en.xaml
index 59fa8161a..a9aae930a 100644
--- a/Plugins/Flow.Launcher.Plugin.Sys/Languages/en.xaml
+++ b/Plugins/Flow.Launcher.Plugin.Sys/Languages/en.xaml
@@ -34,6 +34,7 @@
Are you sure you want to shut the computer down?
Are you sure you want to restart the computer?
Are you sure you want to restart the computer with Advanced Boot Options?
+ Are you sure you want to log off?
System Commands
Provides System related commands. e.g. shutdown, lock, settings etc.
diff --git a/Plugins/Flow.Launcher.Plugin.Sys/Languages/es-419.xaml b/Plugins/Flow.Launcher.Plugin.Sys/Languages/es-419.xaml
index 36fac7cd7..9ada8533b 100644
--- a/Plugins/Flow.Launcher.Plugin.Sys/Languages/es-419.xaml
+++ b/Plugins/Flow.Launcher.Plugin.Sys/Languages/es-419.xaml
@@ -32,6 +32,7 @@
Are you sure you want to shut the computer down?
Are you sure you want to restart the computer?
Are you sure you want to restart the computer with Advanced Boot Options?
+ Are you sure you want to log off?
System Commands
Provides System related commands. e.g. shutdown, lock, settings etc.
diff --git a/Plugins/Flow.Launcher.Plugin.Sys/Languages/es.xaml b/Plugins/Flow.Launcher.Plugin.Sys/Languages/es.xaml
index 4a7910df7..c72fcb7f3 100644
--- a/Plugins/Flow.Launcher.Plugin.Sys/Languages/es.xaml
+++ b/Plugins/Flow.Launcher.Plugin.Sys/Languages/es.xaml
@@ -32,6 +32,7 @@
¿Está seguro que desea apagar el equipo?
¿Está seguro que desea reiniciar el equipo?
¿Está seguro que desea reiniciar el equipo con opciones de arranque avanzadas?
+ Are you sure you want to log off?
Comandos del sistema
Proporciona comandos relacionados con el sistema. Por ejemplo, apagar, bloquear, configurar, etc.
diff --git a/Plugins/Flow.Launcher.Plugin.Sys/Languages/fr.xaml b/Plugins/Flow.Launcher.Plugin.Sys/Languages/fr.xaml
index 19b02b55f..63a68232a 100644
--- a/Plugins/Flow.Launcher.Plugin.Sys/Languages/fr.xaml
+++ b/Plugins/Flow.Launcher.Plugin.Sys/Languages/fr.xaml
@@ -32,6 +32,7 @@
Are you sure you want to shut the computer down?
Are you sure you want to restart the computer?
Are you sure you want to restart the computer with Advanced Boot Options?
+ Are you sure you want to log off?
System Commands
Provides System related commands. e.g. shutdown, lock, settings etc.
diff --git a/Plugins/Flow.Launcher.Plugin.Sys/Languages/it.xaml b/Plugins/Flow.Launcher.Plugin.Sys/Languages/it.xaml
index a16c205bf..fd1a23b9f 100644
--- a/Plugins/Flow.Launcher.Plugin.Sys/Languages/it.xaml
+++ b/Plugins/Flow.Launcher.Plugin.Sys/Languages/it.xaml
@@ -32,6 +32,7 @@
Are you sure you want to shut the computer down?
Are you sure you want to restart the computer?
Are you sure you want to restart the computer with Advanced Boot Options?
+ Are you sure you want to log off?
System Commands
Provides System related commands. e.g. shutdown, lock, settings etc.
diff --git a/Plugins/Flow.Launcher.Plugin.Sys/Languages/ja.xaml b/Plugins/Flow.Launcher.Plugin.Sys/Languages/ja.xaml
index 3b52196a1..169135a69 100644
--- a/Plugins/Flow.Launcher.Plugin.Sys/Languages/ja.xaml
+++ b/Plugins/Flow.Launcher.Plugin.Sys/Languages/ja.xaml
@@ -32,6 +32,7 @@
Are you sure you want to shut the computer down?
Are you sure you want to restart the computer?
Are you sure you want to restart the computer with Advanced Boot Options?
+ Are you sure you want to log off?
システムコマンド
システム関連のコマンドを提供します。例:シャットダウン、ロック、設定など
diff --git a/Plugins/Flow.Launcher.Plugin.Sys/Languages/ko.xaml b/Plugins/Flow.Launcher.Plugin.Sys/Languages/ko.xaml
index 069b03ba7..dab69b706 100644
--- a/Plugins/Flow.Launcher.Plugin.Sys/Languages/ko.xaml
+++ b/Plugins/Flow.Launcher.Plugin.Sys/Languages/ko.xaml
@@ -32,6 +32,7 @@
시스템을 종료하시겠습니까?
시스템을 재시작 하시겠습니까?
고급 부팅 옵션으로 시스템을 다시 시작하시겠습니까?
+ Are you sure you want to log off?
시스템 명령어
시스템 종료, 컴퓨터 잠금, 설정 등과 같은 시스템 관련 명령어를 제공합니다
diff --git a/Plugins/Flow.Launcher.Plugin.Sys/Languages/nb.xaml b/Plugins/Flow.Launcher.Plugin.Sys/Languages/nb.xaml
index 36fac7cd7..9ada8533b 100644
--- a/Plugins/Flow.Launcher.Plugin.Sys/Languages/nb.xaml
+++ b/Plugins/Flow.Launcher.Plugin.Sys/Languages/nb.xaml
@@ -32,6 +32,7 @@
Are you sure you want to shut the computer down?
Are you sure you want to restart the computer?
Are you sure you want to restart the computer with Advanced Boot Options?
+ Are you sure you want to log off?
System Commands
Provides System related commands. e.g. shutdown, lock, settings etc.
diff --git a/Plugins/Flow.Launcher.Plugin.Sys/Languages/nl.xaml b/Plugins/Flow.Launcher.Plugin.Sys/Languages/nl.xaml
index 943e5e9a7..05e33adef 100644
--- a/Plugins/Flow.Launcher.Plugin.Sys/Languages/nl.xaml
+++ b/Plugins/Flow.Launcher.Plugin.Sys/Languages/nl.xaml
@@ -32,6 +32,7 @@
Are you sure you want to shut the computer down?
Are you sure you want to restart the computer?
Are you sure you want to restart the computer with Advanced Boot Options?
+ Are you sure you want to log off?
System Commands
Provides System related commands. e.g. shutdown, lock, settings etc.
diff --git a/Plugins/Flow.Launcher.Plugin.Sys/Languages/pl.xaml b/Plugins/Flow.Launcher.Plugin.Sys/Languages/pl.xaml
index bf6f4391c..f8e857d1c 100644
--- a/Plugins/Flow.Launcher.Plugin.Sys/Languages/pl.xaml
+++ b/Plugins/Flow.Launcher.Plugin.Sys/Languages/pl.xaml
@@ -32,6 +32,7 @@
Are you sure you want to shut the computer down?
Are you sure you want to restart the computer?
Are you sure you want to restart the computer with Advanced Boot Options?
+ Are you sure you want to log off?
Komendy systemowe
Wykonywanie komend systemowych, np. wyłącz, zablokuj komputer, otwórz ustawienia itp.
diff --git a/Plugins/Flow.Launcher.Plugin.Sys/Languages/pt-br.xaml b/Plugins/Flow.Launcher.Plugin.Sys/Languages/pt-br.xaml
index 01f990c4e..72cf8aac2 100644
--- a/Plugins/Flow.Launcher.Plugin.Sys/Languages/pt-br.xaml
+++ b/Plugins/Flow.Launcher.Plugin.Sys/Languages/pt-br.xaml
@@ -32,6 +32,7 @@
Are you sure you want to shut the computer down?
Are you sure you want to restart the computer?
Are you sure you want to restart the computer with Advanced Boot Options?
+ Are you sure you want to log off?
System Commands
Provides System related commands. e.g. shutdown, lock, settings etc.
diff --git a/Plugins/Flow.Launcher.Plugin.Sys/Languages/pt-pt.xaml b/Plugins/Flow.Launcher.Plugin.Sys/Languages/pt-pt.xaml
index 899af97a9..76543aa4c 100644
--- a/Plugins/Flow.Launcher.Plugin.Sys/Languages/pt-pt.xaml
+++ b/Plugins/Flow.Launcher.Plugin.Sys/Languages/pt-pt.xaml
@@ -32,6 +32,7 @@
Tem certeza de que deseja desligar o computador?
Tem a certeza que deseja reiniciar o computador?
Tem certeza de que deseja reiniciar o computador com as opções avançadas de arranque?
+ Are you sure you want to log off?
Comandos do sistema
Disponibiliza os comandos relacionados com o sistema tais como: desligar, bloquear, reiniciar...
diff --git a/Plugins/Flow.Launcher.Plugin.Sys/Languages/ru.xaml b/Plugins/Flow.Launcher.Plugin.Sys/Languages/ru.xaml
index 36d4108d7..233754f80 100644
--- a/Plugins/Flow.Launcher.Plugin.Sys/Languages/ru.xaml
+++ b/Plugins/Flow.Launcher.Plugin.Sys/Languages/ru.xaml
@@ -32,6 +32,7 @@
Are you sure you want to shut the computer down?
Are you sure you want to restart the computer?
Are you sure you want to restart the computer with Advanced Boot Options?
+ Are you sure you want to log off?
System Commands
Provides System related commands. e.g. shutdown, lock, settings etc.
diff --git a/Plugins/Flow.Launcher.Plugin.Sys/Languages/sk.xaml b/Plugins/Flow.Launcher.Plugin.Sys/Languages/sk.xaml
index 4b729713e..c9ed95c35 100644
--- a/Plugins/Flow.Launcher.Plugin.Sys/Languages/sk.xaml
+++ b/Plugins/Flow.Launcher.Plugin.Sys/Languages/sk.xaml
@@ -32,6 +32,7 @@
Naozaj chcete počítač vypnúť?
Naozaj chcete počítač reštartovať?
Naozaj chcete počítač reštartovať s pokročilými možnosťami spúšťania?
+ Are you sure you want to log off?
Systémové príkazy
Poskytuje príkazy súvisiace so systémom ako je vypnutie, uzamknutie počítača atď.
diff --git a/Plugins/Flow.Launcher.Plugin.Sys/Languages/sr.xaml b/Plugins/Flow.Launcher.Plugin.Sys/Languages/sr.xaml
index 00ba6b79d..561811679 100644
--- a/Plugins/Flow.Launcher.Plugin.Sys/Languages/sr.xaml
+++ b/Plugins/Flow.Launcher.Plugin.Sys/Languages/sr.xaml
@@ -32,6 +32,7 @@
Are you sure you want to shut the computer down?
Are you sure you want to restart the computer?
Are you sure you want to restart the computer with Advanced Boot Options?
+ Are you sure you want to log off?
System Commands
Provides System related commands. e.g. shutdown, lock, settings etc.
diff --git a/Plugins/Flow.Launcher.Plugin.Sys/Languages/tr.xaml b/Plugins/Flow.Launcher.Plugin.Sys/Languages/tr.xaml
index 306e19675..3d847d7fa 100644
--- a/Plugins/Flow.Launcher.Plugin.Sys/Languages/tr.xaml
+++ b/Plugins/Flow.Launcher.Plugin.Sys/Languages/tr.xaml
@@ -32,6 +32,7 @@
Bilgisayarı kapatmak istediğinize emin misiniz?
Bilgisayarı yeniden başlatmak istediğinize emin misiniz?
Are you sure you want to restart the computer with Advanced Boot Options?
+ Are you sure you want to log off?
Sistem Komutları
Sistem ile ilgili komutlara erişim sağlar. ör. shutdown, lock, settings vb.
diff --git a/Plugins/Flow.Launcher.Plugin.Sys/Languages/uk-UA.xaml b/Plugins/Flow.Launcher.Plugin.Sys/Languages/uk-UA.xaml
index c9aebe7c0..cf5a3bed4 100644
--- a/Plugins/Flow.Launcher.Plugin.Sys/Languages/uk-UA.xaml
+++ b/Plugins/Flow.Launcher.Plugin.Sys/Languages/uk-UA.xaml
@@ -32,6 +32,7 @@
Are you sure you want to shut the computer down?
Are you sure you want to restart the computer?
Are you sure you want to restart the computer with Advanced Boot Options?
+ Are you sure you want to log off?
System Commands
Provides System related commands. e.g. shutdown, lock, settings etc.
diff --git a/Plugins/Flow.Launcher.Plugin.Sys/Languages/zh-cn.xaml b/Plugins/Flow.Launcher.Plugin.Sys/Languages/zh-cn.xaml
index f120d0034..c1174244a 100644
--- a/Plugins/Flow.Launcher.Plugin.Sys/Languages/zh-cn.xaml
+++ b/Plugins/Flow.Launcher.Plugin.Sys/Languages/zh-cn.xaml
@@ -32,6 +32,7 @@
您确定要关机吗?
您确定要重启吗
您确定要以高级启动选项重启计算机吗?
+ Are you sure you want to log off?
系统命令
系统系统相关的命令。例如,关机,锁定,设置等
diff --git a/Plugins/Flow.Launcher.Plugin.Sys/Languages/zh-tw.xaml b/Plugins/Flow.Launcher.Plugin.Sys/Languages/zh-tw.xaml
index ba4c40690..09b099bdc 100644
--- a/Plugins/Flow.Launcher.Plugin.Sys/Languages/zh-tw.xaml
+++ b/Plugins/Flow.Launcher.Plugin.Sys/Languages/zh-tw.xaml
@@ -32,6 +32,7 @@
Are you sure you want to shut the computer down?
Are you sure you want to restart the computer?
Are you sure you want to restart the computer with Advanced Boot Options?
+ Are you sure you want to log off?
系統命令
系統相關的命令。例如,關機,鎖定,設定等
diff --git a/Plugins/Flow.Launcher.Plugin.Sys/Main.cs b/Plugins/Flow.Launcher.Plugin.Sys/Main.cs
index 1b8ff3cc0..9e4a4ed1c 100644
--- a/Plugins/Flow.Launcher.Plugin.Sys/Main.cs
+++ b/Plugins/Flow.Launcher.Plugin.Sys/Main.cs
@@ -152,7 +152,18 @@ namespace Flow.Launcher.Plugin.Sys
SubTitle = context.API.GetTranslation("flowlauncher_plugin_sys_log_off"),
Glyph = new GlyphInfo (FontFamily:"/Resources/#Segoe Fluent Icons", Glyph:"\xe77b"),
IcoPath = "Images\\logoff.png",
- Action = c => ExitWindowsEx(EWX_LOGOFF, 0)
+ Action = c =>
+ {
+ var result = MessageBox.Show(
+ context.API.GetTranslation("flowlauncher_plugin_sys_dlgtext_logoff_computer"),
+ context.API.GetTranslation("flowlauncher_plugin_sys_log_off"),
+ MessageBoxButton.YesNo, MessageBoxImage.Warning);
+
+ if (result == MessageBoxResult.Yes)
+ ExitWindowsEx(EWX_LOGOFF, 0);
+
+ return true;
+ }
},
new Result
{