From ebaf9aa4c5cc2ab66ab143d075207050078d0e1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Tue, 13 Sep 2022 17:18:26 +0200 Subject: [PATCH] status/system: Mark 'Power Off' menu header for translation This was missed when the menu was added as part of quick settings. Luckily we can re-use the msg-id/context from the shutdown dialog, so the change is not subject to the string freeze. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5862 Part-of: --- js/ui/status/system.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/status/system.js b/js/ui/status/system.js index 05527bf11..25d4c1e9c 100644 --- a/js/ui/status/system.js +++ b/js/ui/status/system.js @@ -164,7 +164,7 @@ class ShutdownItem extends QuickSettingsItem { this._systemActions = new SystemActions.getDefault(); this._items = []; - this.menu.setHeader('system-shutdown-symbolic', 'Power Off'); + this.menu.setHeader('system-shutdown-symbolic', C_('title', 'Power Off')); this._addSystemAction(_('Suspend'), 'can-suspend', () => { this._systemActions.activateSuspend();