/*
 * Gallery Messages
 *
 * This contains all the text for the Gallery component.
 */
import { defineMessages } from 'react-intl';

export default defineMessages({
  uploadedAt: {
    id: 'creatives.containersV2.Assets.Gallery.uploadedAt',
    defaultMessage: 'Uploaded at ',
  },
  uploadedOn: {
    id: 'creatives.containersV2.Assets.Gallery.uploadedOn',
    defaultMessage: 'Uploaded on ',
  },
  uploadedBy: {
    id: 'creatives.containersV2.Assets.Gallery.uploadedBy',
    defaultMessage: 'Uploaded by ',
  },
  upload: {
    id: 'creatives.containersV2.Assets.Gallery.upload',
    defaultMessage: 'Upload image',
  },
  addImages: {
    id: `creatives.containersV2.Assets.Gallery.addImages`,
    defaultMessage: 'Add images',
  },
  imagePreview: {
    id: 'creatives.containersV2.Assets.Gallery.imagePreview',
    defaultMessage: 'Image preview',
  },
  size: {
    id: 'creatives.containersV2.Assets.Gallery.size',
    defaultMessage: 'Size',
  },
  dimensions: {
    id: 'creatives.containersV2.Assets.Gallery.dimensions',
    defaultMessage: 'Dimensions',
  },
  gallery: {
    id: 'creatives.containersV2.Assets.Gallery.gallery',
    defaultMessage: 'Gallery',
  },
  backToGallery: {
    id: 'creatives.containersV2.Assets.Gallery.backToGallery',
    defaultMessage: 'Back to image gallery',
  },
  mostRecent: {
    id: 'creatives.containersV2.Assets.Gallery.mostRecent',
    defaultMessage: 'Most recent',
  },
  alphabetically: {
    id: 'creatives.containersV2.Assets.Gallery.alphabetically',
    defaultMessage: 'Alphabetically',
  },
  sortby: {
    id: 'creatives.containersV2.Assets.Gallery.sortby',
    defaultMessage: 'Sort by',
  },
  delete: {
    id: 'creatives.containersV2.Assets.Gallery.delete',
    defaultMessage: 'Delete',
  },
  search: {
    id: 'creatives.containersV2.Assets.Gallery.search',
    defaultMessage: 'Search',
  },
  select: {
    id: 'creatives.containersV2.Assets.Gallery.select',
    defaultMessage: 'Select',
  },
  preview: {
    id: 'creatives.containersV2.Assets.Gallery.preview',
    defaultMessage: 'Preview',
  },
  assetUploadSuccess: {
    id: 'creatives.containersV2.Assets.Gallery.assetUploadSuccess',
    defaultMessage: 'Image uploaded successfully',
  },
  assetUploadFailed: {
    id: 'creatives.containersV2.Assets.Gallery.assetUploadFailed',
    defaultMessage: 'Image uploaded failed',
  },
  assetDeleteSuccess: {
    id: 'creatives.containersV2.Assets.Gallery.assetDeleteSuccess',
    defaultMessage: 'Image deleted successfully.',
  },
  assetDeleteFailed: {
    id: 'creatives.containersV2.Assets.Gallery.assetDeleteFailed',
    defaultMessage: 'Image deletion failed.',
  },
  noAssetMessage: {
    id: 'creatives.containersV2.Assets.Gallery.noAssetMessage',
    defaultMessage: 'No image is uploaded',
  },
  lastUpdated: {
    id: 'creatives.containersV2.Assets.Gallery.lastUpdated',
    defaultMessage: 'Last update {on} by {by}',
  },
  noTemplatesFound: {
    id: `creatives.containersV2.Assets.Gallery.noTemplatesFound`,
    defaultMessage: 'No templates found',
  },
  loadingGallery: {
    id: `creatives.containersV2.Assets.Gallery.loadingGallery`,
    defaultMessage: 'Loading gallery...',
  },
  invalidUploadFileError: {
    id: `creatives.containersV2.Assets.Gallery.invalidUploadFileError`,
    defaultMessage: `File cannot be uploaded.`,
  },
  invalidUploadFileErrorDesc3: {
    id: `creatives.containersV2.Assets.Gallery.invalidUploadFileErrorDesc3`,
    defaultMessage: `Please select another file with valid file size less than 10MB`,
  },
});
