Updated message for attaching multiple non-image files

This commit is contained in:
lamemakes 2022-12-22 14:45:33 -05:00 committed by Jamie Kyle
parent 41d144bc98
commit 023cb8029d
2 changed files with 5 additions and 1 deletions

View file

@ -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"

View file

@ -315,7 +315,7 @@ export function ToastManager({
if (toastType === ToastType.UnsupportedMultiAttachment) {
return (
<Toast onClose={hideToast}>
{i18n('cannotSelectPhotosAndVideosAlongWithFiles')}
{i18n('cannotSelectMultipleNonImageAttachments')}
</Toast>
);
}