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:
parent
e1e654bb16
commit
85e05ffc48
@ -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({
|
||||
|
Loading…
x
Reference in New Issue
Block a user