From 90eae4b4bf5dc4b14e28992f01063c2ab86a78c3 Mon Sep 17 00:00:00 2001 From: Scott Nonnenberg Date: Thu, 26 Oct 2023 10:00:35 -0700 Subject: [PATCH] Fix string: Messages can be edited up to 24 hours after send --- _locales/en/messages.json | 4 ++++ ts/components/ToastManager.tsx | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 9575f6a98c..9832d1469a 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -2324,6 +2324,10 @@ }, "icu:ToastManager__CannotEditMessage": { "messageformat": "Edits can only be applied within 3 hours from the time you sent this message.", + "description": "(deleted 2023/10/26) Error message when you try to send an edit after message becomes too old" + }, + "icu:ToastManager__CannotEditMessage_24": { + "messageformat": "Edits can only be applied within 24 hours from the time you sent this message.", "description": "Error message when you try to send an edit after message becomes too old" }, "icu:startConversation--username-not-found": { diff --git a/ts/components/ToastManager.tsx b/ts/components/ToastManager.tsx index 632b200cb8..fc8b850249 100644 --- a/ts/components/ToastManager.tsx +++ b/ts/components/ToastManager.tsx @@ -79,7 +79,7 @@ export function ToastManager({ if (toastType === ToastType.CannotEditMessage) { return ( - {i18n('icu:ToastManager__CannotEditMessage')} + {i18n('icu:ToastManager__CannotEditMessage_24')} ); }