From cd280187e54f3e9117fe8190a6bf5dd7393288fc Mon Sep 17 00:00:00 2001 From: Muhammad Adeel Tajamul <77053848+muhammadadeeltajamul@users.noreply.github.com> Date: Tue, 22 Aug 2023 10:46:14 +0500 Subject: [PATCH] fix: changed overlay position and updated notification info text (#849) --- .../NotificationPreferenceRow.jsx | 2 +- src/notification-preferences/messages.js | 11 +++-------- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/src/notification-preferences/NotificationPreferenceRow.jsx b/src/notification-preferences/NotificationPreferenceRow.jsx index e5f9055ef..72b2299d6 100644 --- a/src/notification-preferences/NotificationPreferenceRow.jsx +++ b/src/notification-preferences/NotificationPreferenceRow.jsx @@ -45,7 +45,7 @@ const NotificationPreferenceRow = ({ appId, preferenceName }) => { {preference.info} diff --git a/src/notification-preferences/messages.js b/src/notification-preferences/messages.js index 963a05678..e7838447c 100644 --- a/src/notification-preferences/messages.js +++ b/src/notification-preferences/messages.js @@ -21,14 +21,9 @@ export const messages = defineMessages({ id: 'notification.preference.title', defaultMessage: `{ text, select, - core {Core} - newPost {New Post} - newComment {New Comment} - newResponse {New Response} - newCommentOnPost {New Comment On Post} - newResponseOnComment {New Response On Comment} - newAssignment {New Assignment} - newGrade {New Grade} + core {Core notifications} + newDiscussionPost {New discussion posts} + newQuestionPost {New question posts} other {{text}} }`, description: 'Display text for Notification Types',