From 85e05ffc48d95a921769664adb3d828178fc5206 Mon Sep 17 00:00:00 2001 From: Automeris naranja Date: Thu, 21 Sep 2023 12:06:42 -0300 Subject: [PATCH] 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: --- js/ui/welcomeDialog.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/ui/welcomeDialog.js b/js/ui/welcomeDialog.js index 6c5507fa7..d1b02b3aa 100644 --- a/js/ui/welcomeDialog.js +++ b/js/ui/welcomeDialog.js @@ -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({