From 163978930f471f82481f163b01339082e1dccd2b Mon Sep 17 00:00:00 2001 From: Dave Richer Date: Mon, 3 Mar 2025 23:29:47 -0500 Subject: [PATCH] feature/IO-3096-GlobalNotifications - Code Review Part 4 --- .../notification-center/notification-center.component.jsx | 2 +- client/src/translations/en_us/common.json | 3 ++- client/src/translations/es/common.json | 3 ++- client/src/translations/fr/common.json | 3 ++- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/client/src/components/notification-center/notification-center.component.jsx b/client/src/components/notification-center/notification-center.component.jsx index 9b6b39ea2..5d9371f49 100644 --- a/client/src/components/notification-center/notification-center.component.jsx +++ b/client/src/components/notification-center/notification-center.component.jsx @@ -43,7 +43,7 @@ const NotificationCenterComponent = ({ }} className="ro-number" > - RO #{notification.roNumber} + {t("notifications.labels.ro-number", { ro_number: notification.roNumber })} {day(notification.created_at).fromNow()} diff --git a/client/src/translations/en_us/common.json b/client/src/translations/en_us/common.json index 53c07fc12..ba256c680 100644 --- a/client/src/translations/en_us/common.json +++ b/client/src/translations/en_us/common.json @@ -3781,7 +3781,8 @@ "new-notification-title": "New Notification:", "show-unread-only": "Show Unread", "mark-all-read": "Mark Read", - "notification-popup-title": "Changes for Job #{{ro_number}}" + "notification-popup-title": "Changes for Job #{{ro_number}}", + "ro-number": "RO #{{ro_number}}" }, "actions": { "remove": "remove" diff --git a/client/src/translations/es/common.json b/client/src/translations/es/common.json index 777737a01..521a8681f 100644 --- a/client/src/translations/es/common.json +++ b/client/src/translations/es/common.json @@ -3781,7 +3781,8 @@ "new-notification-title": "", "show-unread-only": "", "mark-all-read": "", - "notification-popup-title": "" + "notification-popup-title": "", + "ro-number": "" }, "actions": { "remove": "" diff --git a/client/src/translations/fr/common.json b/client/src/translations/fr/common.json index f4920775b..af75584d3 100644 --- a/client/src/translations/fr/common.json +++ b/client/src/translations/fr/common.json @@ -3781,7 +3781,8 @@ "new-notification-title": "", "show-unread-only": "", "mark-all-read": "", - "notification-popup-title": "" + "notification-popup-title": "", + "ro-number": "" }, "actions": { "remove": ""