diff --git a/_locales/en/messages.json b/_locales/en/messages.json index d97616f602..385e586a04 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -685,6 +685,10 @@ "message": "You can't select photos and videos along with files.", "description": "An error popup when the user has attempted to add an attachment" }, + "cannotSelectMultipleNonImageAttachments": { + "message": "You can only select one non-image attachment.", + "description": "An error popup when the user has attempted to add multiple non-image attachments" + }, "maximumAttachments": { "message": "You cannot add any more attachments to this message.", "description": "An error popup when the user has attempted to add an attachment" diff --git a/ts/components/ToastManager.tsx b/ts/components/ToastManager.tsx index 7be3a5ec0d..8d50247a55 100644 --- a/ts/components/ToastManager.tsx +++ b/ts/components/ToastManager.tsx @@ -315,7 +315,7 @@ export function ToastManager({ if (toastType === ToastType.UnsupportedMultiAttachment) { return ( - {i18n('cannotSelectPhotosAndVideosAlongWithFiles')} + {i18n('cannotSelectMultipleNonImageAttachments')} ); }