@@ -89,7 +89,7 @@ private List<Result> Commands()
89
89
{
90
90
new Result
91
91
{
92
- Title = "Shutdown" ,
92
+ Title = context . API . GetTranslation ( "flowlauncher_plugin_sys_shutdown_computer_cmd" ) ,
93
93
SubTitle = context . API . GetTranslation ( "flowlauncher_plugin_sys_shutdown_computer" ) ,
94
94
Glyph = new GlyphInfo ( FontFamily : "/Resources/#Segoe Fluent Icons" , Glyph : "\xe7e8 " ) ,
95
95
IcoPath = "Images\\ shutdown.png" ,
@@ -109,7 +109,7 @@ private List<Result> Commands()
109
109
} ,
110
110
new Result
111
111
{
112
- Title = "Restart" ,
112
+ Title = context . API . GetTranslation ( "flowlauncher_plugin_sys_restart_computer_cmd" ) ,
113
113
SubTitle = context . API . GetTranslation ( "flowlauncher_plugin_sys_restart_computer" ) ,
114
114
Glyph = new GlyphInfo ( FontFamily : "/Resources/#Segoe Fluent Icons" , Glyph : "\xe777 " ) ,
115
115
IcoPath = "Images\\ restart.png" ,
@@ -129,7 +129,7 @@ private List<Result> Commands()
129
129
} ,
130
130
new Result
131
131
{
132
- Title = "Restart With Advanced Boot Options" ,
132
+ Title = context . API . GetTranslation ( "flowlauncher_plugin_sys_restart_advanced_cmd" ) ,
133
133
SubTitle = context . API . GetTranslation ( "flowlauncher_plugin_sys_restart_advanced" ) ,
134
134
Glyph = new GlyphInfo ( FontFamily : "/Resources/#Segoe Fluent Icons" , Glyph : "\xecc5 " ) ,
135
135
IcoPath = "Images\\ restart_advanced.png" ,
@@ -148,7 +148,7 @@ private List<Result> Commands()
148
148
} ,
149
149
new Result
150
150
{
151
- Title = "Log Off" ,
151
+ Title = context . API . GetTranslation ( "flowlauncher_plugin_sys_log_off_cmd" ) ,
152
152
SubTitle = context . API . GetTranslation ( "flowlauncher_plugin_sys_log_off" ) ,
153
153
Glyph = new GlyphInfo ( FontFamily : "/Resources/#Segoe Fluent Icons" , Glyph : "\xe77b " ) ,
154
154
IcoPath = "Images\\ logoff.png" ,
@@ -167,7 +167,7 @@ private List<Result> Commands()
167
167
} ,
168
168
new Result
169
169
{
170
- Title = "Lock" ,
170
+ Title = context . API . GetTranslation ( "flowlauncher_plugin_sys_lock_cmd" ) ,
171
171
SubTitle = context . API . GetTranslation ( "flowlauncher_plugin_sys_lock" ) ,
172
172
Glyph = new GlyphInfo ( FontFamily : "/Resources/#Segoe Fluent Icons" , Glyph : "\xe72e " ) ,
173
173
IcoPath = "Images\\ lock.png" ,
@@ -179,15 +179,15 @@ private List<Result> Commands()
179
179
} ,
180
180
new Result
181
181
{
182
- Title = "Sleep" ,
182
+ Title = context . API . GetTranslation ( "flowlauncher_plugin_sys_sleep_cmd" ) ,
183
183
SubTitle = context . API . GetTranslation ( "flowlauncher_plugin_sys_sleep" ) ,
184
184
Glyph = new GlyphInfo ( FontFamily : "/Resources/#Segoe Fluent Icons" , Glyph : "\xec46 " ) ,
185
185
IcoPath = "Images\\ sleep.png" ,
186
186
Action = c => FormsApplication . SetSuspendState ( PowerState . Suspend , false , false )
187
187
} ,
188
188
new Result
189
189
{
190
- Title = "Hibernate" ,
190
+ Title = context . API . GetTranslation ( "flowlauncher_plugin_sys_hibernate_cmd" ) ,
191
191
SubTitle = context . API . GetTranslation ( "flowlauncher_plugin_sys_hibernate" ) ,
192
192
Glyph = new GlyphInfo ( FontFamily : "/Resources/#Segoe Fluent Icons" , Glyph : "\xe945 " ) ,
193
193
IcoPath = "Images\\ hibernate.png" ,
@@ -204,7 +204,7 @@ private List<Result> Commands()
204
204
} ,
205
205
new Result
206
206
{
207
- Title = "Index Option" ,
207
+ Title = context . API . GetTranslation ( "flowlauncher_plugin_sys_restart_explorer_cmd" ) ,
208
208
SubTitle = context . API . GetTranslation ( "flowlauncher_plugin_sys_indexoption" ) ,
209
209
IcoPath = "Images\\ indexoption.png" ,
210
210
Glyph = new GlyphInfo ( FontFamily : "/Resources/#Segoe Fluent Icons" , Glyph : "\xe773 " ) ,
@@ -219,7 +219,7 @@ private List<Result> Commands()
219
219
} ,
220
220
new Result
221
221
{
222
- Title = "Empty Recycle Bin" ,
222
+ Title = context . API . GetTranslation ( "flowlauncher_plugin_sys_emptyrecyclebin_cmd" ) ,
223
223
SubTitle = context . API . GetTranslation ( "flowlauncher_plugin_sys_emptyrecyclebin" ) ,
224
224
IcoPath = "Images\\ recyclebin.png" ,
225
225
Glyph = new GlyphInfo ( FontFamily : "/Resources/#Segoe Fluent Icons" , Glyph : "\xe74d " ) ,
@@ -242,7 +242,7 @@ private List<Result> Commands()
242
242
} ,
243
243
new Result
244
244
{
245
- Title = "Open Recycle Bin" ,
245
+ Title = context . API . GetTranslation ( "flowlauncher_plugin_sys_openrecyclebin_cmd" ) ,
246
246
SubTitle = context . API . GetTranslation ( "flowlauncher_plugin_sys_openrecyclebin" ) ,
247
247
IcoPath = "Images\\ openrecyclebin.png" ,
248
248
Glyph = new GlyphInfo ( FontFamily : "/Resources/#Segoe Fluent Icons" , Glyph : "\xe74d " ) ,
@@ -257,7 +257,7 @@ private List<Result> Commands()
257
257
} ,
258
258
new Result
259
259
{
260
- Title = "Exit" ,
260
+ Title = context . API . GetTranslation ( "flowlauncher_plugin_sys_exit_cmd" ) ,
261
261
SubTitle = context . API . GetTranslation ( "flowlauncher_plugin_sys_exit" ) ,
262
262
IcoPath = "Images\\ app.png" ,
263
263
Action = c =>
@@ -268,7 +268,7 @@ private List<Result> Commands()
268
268
} ,
269
269
new Result
270
270
{
271
- Title = "Save Settings" ,
271
+ Title = context . API . GetTranslation ( "flowlauncher_plugin_sys_save_all_settings_cmd" ) ,
272
272
SubTitle = context . API . GetTranslation ( "flowlauncher_plugin_sys_save_all_settings" ) ,
273
273
IcoPath = "Images\\ app.png" ,
274
274
Action = c =>
@@ -281,7 +281,7 @@ private List<Result> Commands()
281
281
} ,
282
282
new Result
283
283
{
284
- Title = "Restart Flow Launcher" ,
284
+ Title = context . API . GetTranslation ( "flowlauncher_plugin_sys_restart_cmd" ) ,
285
285
SubTitle = context . API . GetTranslation ( "flowlauncher_plugin_sys_restart" ) ,
286
286
IcoPath = "Images\\ app.png" ,
287
287
Action = c =>
@@ -292,7 +292,7 @@ private List<Result> Commands()
292
292
} ,
293
293
new Result
294
294
{
295
- Title = "Settings" ,
295
+ Title = context . API . GetTranslation ( "flowlauncher_plugin_sys_setting_cmd" ) ,
296
296
SubTitle = context . API . GetTranslation ( "flowlauncher_plugin_sys_setting" ) ,
297
297
IcoPath = "Images\\ app.png" ,
298
298
Action = c =>
@@ -303,7 +303,7 @@ private List<Result> Commands()
303
303
} ,
304
304
new Result
305
305
{
306
- Title = "Reload Plugin Data" ,
306
+ Title = context . API . GetTranslation ( "flowlauncher_plugin_sys_reload_plugin_data_cmd" ) ,
307
307
SubTitle = context . API . GetTranslation ( "flowlauncher_plugin_sys_reload_plugin_data" ) ,
308
308
IcoPath = "Images\\ app.png" ,
309
309
Action = c =>
@@ -323,7 +323,7 @@ private List<Result> Commands()
323
323
} ,
324
324
new Result
325
325
{
326
- Title = "Check For Update" ,
326
+ Title = context . API . GetTranslation ( "flowlauncher_plugin_sys_check_for_update_cmd" ) ,
327
327
SubTitle = context . API . GetTranslation ( "flowlauncher_plugin_sys_check_for_update" ) ,
328
328
IcoPath = "Images\\ checkupdate.png" ,
329
329
Action = c =>
@@ -335,7 +335,7 @@ private List<Result> Commands()
335
335
} ,
336
336
new Result
337
337
{
338
- Title = "Open Log Location" ,
338
+ Title = context . API . GetTranslation ( "flowlauncher_plugin_sys_open_log_location_cmd" ) ,
339
339
SubTitle = context . API . GetTranslation ( "flowlauncher_plugin_sys_open_log_location" ) ,
340
340
IcoPath = "Images\\ app.png" ,
341
341
Action = c =>
@@ -347,7 +347,7 @@ private List<Result> Commands()
347
347
} ,
348
348
new Result
349
349
{
350
- Title = "Flow Launcher Tips" ,
350
+ Title = context . API . GetTranslation ( "flowlauncher_plugin_sys_open_docs_tips_cmd" ) ,
351
351
SubTitle = context . API . GetTranslation ( "flowlauncher_plugin_sys_open_docs_tips" ) ,
352
352
IcoPath = "Images\\ app.png" ,
353
353
Action = c =>
@@ -358,7 +358,7 @@ private List<Result> Commands()
358
358
} ,
359
359
new Result
360
360
{
361
- Title = "Flow Launcher UserData Folder" ,
361
+ Title = context . API . GetTranslation ( "flowlauncher_plugin_sys_open_userdata_location_cmd" ) ,
362
362
SubTitle = context . API . GetTranslation ( "flowlauncher_plugin_sys_open_userdata_location" ) ,
363
363
IcoPath = "Images\\ app.png" ,
364
364
Action = c =>
0 commit comments