diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 7bbe41990..5f8877d0f 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -326,10 +326,18 @@ "message": "Media", "description": "Header of the default pane in the media gallery, showing images and videos" }, + "mediaEmptyState": { + "message": "You don’t have any media in this conversation", + "description": "Message shown to user in the media gallery when there are no messages with media attachments (images or video)" + }, "documents": { "message": "Documents", "description": "Header of the secondary pane in the media gallery, showing every non-media attachment" }, + "documentsEmptyState": { + "message": "You don’t have any documents in this conversation", + "description": "Message shown to user in the media gallery when there are no messages with document attachments (anything other than images or video)" + }, "messageCaption": { "message": "Message caption", "description": "Prefix of attachment alt tags in the media gallery" diff --git a/ts/components/conversation/media-gallery/MediaGallery.md b/ts/components/conversation/media-gallery/MediaGallery.md index ca6e3a627..729117144 100644 --- a/ts/components/conversation/media-gallery/MediaGallery.md +++ b/ts/components/conversation/media-gallery/MediaGallery.md @@ -1,3 +1,17 @@ +### Empty states for missing media and documents + +``` +