From 28563ca12995a127efa4037cf87d8d534a4ce44f Mon Sep 17 00:00:00 2001 From: iamsivin Date: Wed, 13 Mar 2024 23:38:33 +0530 Subject: [PATCH] chore: Minor fix --- app/javascript/dashboard/i18n/locale/en/inbox.json | 2 +- .../routes/dashboard/inbox/components/InboxCard.vue | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/javascript/dashboard/i18n/locale/en/inbox.json b/app/javascript/dashboard/i18n/locale/en/inbox.json index 0addee349..a2554fbc5 100644 --- a/app/javascript/dashboard/i18n/locale/en/inbox.json +++ b/app/javascript/dashboard/i18n/locale/en/inbox.json @@ -8,7 +8,7 @@ "NO_NOTIFICATIONS": "No notifications", "NOTE": "Notifications from all subscribed inboxes", "NO_MESSAGES_AVAILABLE": "Oops! Not able to fetch messages", - "SNOOZED_UNTIL": "We’ll remind you after ", + "SNOOZED_UNTIL": "We’ll remind you after {time}", "SNOOZED_ENDS": "We won’t notify you again" }, "ACTION_HEADER": { diff --git a/app/javascript/dashboard/routes/dashboard/inbox/components/InboxCard.vue b/app/javascript/dashboard/routes/dashboard/inbox/components/InboxCard.vue index c9f6895e8..f494f2b16 100644 --- a/app/javascript/dashboard/routes/dashboard/inbox/components/InboxCard.vue +++ b/app/javascript/dashboard/routes/dashboard/inbox/components/InboxCard.vue @@ -208,9 +208,9 @@ export default { return this.$t('INBOX.LIST.SNOOZED_ENDS'); } if (this.snoozedUntilTime) { - return `${this.$t('INBOX.LIST.SNOOZED_UNTIL')} ${this.shortTimestamp( - this.snoozedUntilTime - )}`; + return this.$t('INBOX.LIST.SNOOZED_UNTIL', { + time: this.shortTimestamp(this.snoozedUntilTime), + }); } return ''; },