From bf541446cf7e15157322f314f3301b942a195e6a Mon Sep 17 00:00:00 2001 From: ayush-chauhan233 Date: Fri, 17 Jan 2025 01:37:20 +0530 Subject: [PATCH] [MM-61658]: Added aria-label to close button (#29725) * [MA-44]: Added aria-label to close button * [MA-44]: Added translation function to close button --------- Co-authored-by: Mattermost Build --- .../channel_notifications_modal.test.tsx.snap | 6 ++++++ .../components/widgets/modals/components/modal_header.tsx | 8 ++++++-- webapp/channels/src/i18n/en.json | 1 + 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/webapp/channels/src/components/channel_notifications_modal/__snapshots__/channel_notifications_modal.test.tsx.snap b/webapp/channels/src/components/channel_notifications_modal/__snapshots__/channel_notifications_modal.test.tsx.snap index e1499eec41..a42d33707a 100644 --- a/webapp/channels/src/components/channel_notifications_modal/__snapshots__/channel_notifications_modal.test.tsx.snap +++ b/webapp/channels/src/components/channel_notifications_modal/__snapshots__/channel_notifications_modal.test.tsx.snap @@ -52,6 +52,7 @@ Object { class="mm-modal-header__ctr" > diff --git a/webapp/channels/src/i18n/en.json b/webapp/channels/src/i18n/en.json index 1109c4942b..f72bb7968a 100644 --- a/webapp/channels/src/i18n/en.json +++ b/webapp/channels/src/i18n/en.json @@ -4342,6 +4342,7 @@ "mobile.set_status.dnd.icon": "Do Not Disturb Icon", "mobile.set_status.offline.icon": "Offline Icon", "mobile.set_status.online.icon": "Online Icon", + "modal.header_close": "Close", "modal.manual_status.ask": "Do not ask me again", "modal.manual_status.auto_responder.message_away": "Would you like to switch your status to \"Away\" and disable automatic replies?", "modal.manual_status.auto_responder.message_dnd": "Would you like to switch your status to \"Do not disturb\" and disable automatic replies?",