Fix string: Messages can be edited up to 24 hours after send
This commit is contained in:
parent
3feb2b9056
commit
90eae4b4bf
2 changed files with 5 additions and 1 deletions
|
@ -2324,6 +2324,10 @@
|
||||||
},
|
},
|
||||||
"icu:ToastManager__CannotEditMessage": {
|
"icu:ToastManager__CannotEditMessage": {
|
||||||
"messageformat": "Edits can only be applied within 3 hours from the time you sent this message.",
|
"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"
|
"description": "Error message when you try to send an edit after message becomes too old"
|
||||||
},
|
},
|
||||||
"icu:startConversation--username-not-found": {
|
"icu:startConversation--username-not-found": {
|
||||||
|
|
|
@ -79,7 +79,7 @@ export function ToastManager({
|
||||||
if (toastType === ToastType.CannotEditMessage) {
|
if (toastType === ToastType.CannotEditMessage) {
|
||||||
return (
|
return (
|
||||||
<Toast onClose={hideToast}>
|
<Toast onClose={hideToast}>
|
||||||
{i18n('icu:ToastManager__CannotEditMessage')}
|
{i18n('icu:ToastManager__CannotEditMessage_24')}
|
||||||
</Toast>
|
</Toast>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue