welcomeDialog: Rename "No Thanks" button label to "Skip"

"Skip" is a more accurate label for the current "No Thanks" button.

Closes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3951

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2963>
This commit is contained in:
Automeris naranja 2023-09-21 12:06:42 -03:00 committed by Marge Bot
parent e1e654bb16
commit 85e05ffc48

View File

@ -12,7 +12,7 @@ import * as ModalDialog from './modalDialog.js';
/** @enum {number} */
const DialogResponse = {
NO_THANKS: 0,
SKIP: 0,
TAKE_TOUR: 1,
};
@ -46,8 +46,8 @@ class WelcomeDialog extends ModalDialog.ModalDialog {
this.contentLayout.add_child(content);
this.addButton({
label: _('No Thanks'),
action: () => this._sendResponse(DialogResponse.NO_THANKS),
label: _('Skip'),
action: () => this._sendResponse(DialogResponse.SKIP),
key: Clutter.KEY_Escape,
});
this.addButton({