powerProfiles: Rename "Power Profiles" to "Power Mode"

This changes renames the power profiles submenu title to "Power Mode",
making it consistent with the toggle title.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2697>
This commit is contained in:
Automeris naranja 2023-03-16 16:32:12 -03:00 committed by Marge Bot
parent bcd30b150c
commit 63d18f3ee9

View File

@ -67,7 +67,7 @@ class PowerProfilesToggle extends QuickMenuToggle {
this._profileSection = new PopupMenu.PopupMenuSection();
this.menu.addMenuItem(this._profileSection);
this.menu.setHeader('power-profile-balanced-symbolic', _('Power Profiles'));
this.menu.setHeader('power-profile-balanced-symbolic', _('Power Mode'));
this.menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem());
this.menu.addSettingsAction(_('Power Settings'),
'gnome-power-panel.desktop');