systemActions: Alias power-off to halt and stop
Those are words users may reasonably use when trying to shut down their computer, so add them to the list of keywords. https://bugzilla.gnome.org/show_bug.cgi?id=791659
This commit is contained in:
parent
dfb9270a2c
commit
b0753f78cc
@ -89,7 +89,7 @@ const SystemActions = GObject.registerClass({
|
|||||||
name: C_("search-result", "Power Off"),
|
name: C_("search-result", "Power Off"),
|
||||||
iconName: 'system-shutdown-symbolic',
|
iconName: 'system-shutdown-symbolic',
|
||||||
// Translators: A list of keywords that match the power-off action, separated by semicolons
|
// Translators: A list of keywords that match the power-off action, separated by semicolons
|
||||||
keywords: _("power off;shutdown;reboot;restart").split(/[; ]/),
|
keywords: _('power off;shutdown;reboot;restart;halt;stop').split(/[; ]/),
|
||||||
available: false,
|
available: false,
|
||||||
});
|
});
|
||||||
this._actions.set(LOCK_SCREEN_ACTION_ID, {
|
this._actions.set(LOCK_SCREEN_ACTION_ID, {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user