[gnome-shell] status/system: Mark 'Power Off' menu header for translation
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] status/system: Mark 'Power Off' menu header for translation
- Date: Wed, 14 Sep 2022 22:06:27 +0000 (UTC)
commit ebaf9aa4c5cc2ab66ab143d075207050078d0e1b
Author: Florian Müllner <fmuellner gnome org>
Date: Tue Sep 13 17:18:26 2022 +0200
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: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2484>
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 05527bf116..25d4c1e9c8 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();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]