From 39263d35304e9de10d75afe551d426913f9ef357 Mon Sep 17 00:00:00 2001 From: Alessandro Bono Date: Wed, 16 Nov 2022 10:10:37 +0100 Subject: [PATCH] accessDialog: Change fallback button labels All the new portals dialog mockups have "Deny/Allow" buttons. Rename them. https://gitlab.gnome.org/Teams/Design/os-mockups/-/blob/master/portals/portals.png Part-of: --- js/ui/accessDialog.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/ui/accessDialog.js b/js/ui/accessDialog.js index 8788e4742..fba2521fd 100644 --- a/js/ui/accessDialog.js +++ b/js/ui/accessDialog.js @@ -36,8 +36,8 @@ class AccessDialog extends ModalDialog.ModalDialog { _buildLayout(title, description, body, options) { // No support for non-modal system dialogs, so ignore the option // let modal = options['modal'] || true; - let denyLabel = options['deny_label'] || _("Deny Access"); - let grantLabel = options['grant_label'] || _("Grant Access"); + let denyLabel = options['deny_label'] || _('Deny'); + let grantLabel = options['grant_label'] || _('Allow'); let choices = options['choices'] || []; let content = new Dialog.MessageDialogContent({ title, description });