Updated message for attaching multiple non-image files
This commit is contained in:
parent
41d144bc98
commit
023cb8029d
2 changed files with 5 additions and 1 deletions
|
@ -685,6 +685,10 @@
|
||||||
"message": "You can't select photos and videos along with files.",
|
"message": "You can't select photos and videos along with files.",
|
||||||
"description": "An error popup when the user has attempted to add an attachment"
|
"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": {
|
"maximumAttachments": {
|
||||||
"message": "You cannot add any more attachments to this message.",
|
"message": "You cannot add any more attachments to this message.",
|
||||||
"description": "An error popup when the user has attempted to add an attachment"
|
"description": "An error popup when the user has attempted to add an attachment"
|
||||||
|
|
|
@ -315,7 +315,7 @@ export function ToastManager({
|
||||||
if (toastType === ToastType.UnsupportedMultiAttachment) {
|
if (toastType === ToastType.UnsupportedMultiAttachment) {
|
||||||
return (
|
return (
|
||||||
<Toast onClose={hideToast}>
|
<Toast onClose={hideToast}>
|
||||||
{i18n('cannotSelectPhotosAndVideosAlongWithFiles')}
|
{i18n('cannotSelectMultipleNonImageAttachments')}
|
||||||
</Toast>
|
</Toast>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue