|
1 | 1 | import { defineMessages } from '@edx/frontend-platform/i18n'; |
2 | 2 |
|
3 | 3 | const messages = defineMessages({ |
4 | | - closeSidebarTrigger: { |
5 | | - id: 'sidebar.close.button', |
6 | | - defaultMessage: 'Close sidebar', |
7 | | - description: 'Button to close the active sidebar panel', |
| 4 | + notificationTray: { |
| 5 | + id: 'notification.tray.container', |
| 6 | + defaultMessage: 'Notification tray', |
| 7 | + description: 'Notification tray container', |
8 | 8 | }, |
9 | | - responsiveCloseSidebarPanel: { |
10 | | - id: 'sidebar.responsive.close.button', |
| 9 | + openNotificationTrigger: { |
| 10 | + id: 'notification.open.button', |
| 11 | + defaultMessage: 'Show notification tray', |
| 12 | + description: 'Button to open the notification tray and show notifications', |
| 13 | + }, |
| 14 | + closeNotificationTrigger: { |
| 15 | + id: 'notification.close.button', |
| 16 | + defaultMessage: 'Close notification tray', |
| 17 | + description: 'Button for the learner to close the sidebar', |
| 18 | + }, |
| 19 | + responsiveCloseNotificationTray: { |
| 20 | + id: 'responsive.close.notification', |
11 | 21 | defaultMessage: 'Back to course', |
12 | | - description: 'Responsive back-button to close the sidebar and return to course content', |
| 22 | + description: 'Responsive button to go back to course and close the notification tray', |
| 23 | + }, |
| 24 | + notificationTitle: { |
| 25 | + id: 'notification.tray.title', |
| 26 | + defaultMessage: 'Notifications', |
| 27 | + description: 'Title text displayed for the notification tray', |
| 28 | + }, |
| 29 | + noNotificationsMessage: { |
| 30 | + id: 'notification.tray.no.message', |
| 31 | + defaultMessage: 'You have no new notifications at this time.', |
| 32 | + description: 'Text displayed when the learner has no notifications', |
13 | 33 | }, |
14 | 34 | }); |
15 | 35 |
|
|
0 commit comments