import { defineMessages } from 'react-intl';

const scope = 'creatives.containersV2.WebPush';

export default defineMessages({
  creativeName: {
    id: `${scope}.creativeName`,
    defaultMessage: 'Creative name',
  },
  creativeNamePlaceholder: {
    id: `${scope}.creativeNamePlaceholder`,
    defaultMessage: 'Enter creative name',
  },
  notificationTitle: {
    id: `${scope}.notificationTitle`,
    defaultMessage: 'Notification Title',
  },
  notificationTitlePlaceholder: {
    id: `${scope}.notificationTitlePlaceholder`,
    defaultMessage: 'Enter notification title',
  },
  message: {
    id: `${scope}.message`,
    defaultMessage: 'Message',
  },
  messagePlaceholder: {
    id: `${scope}.messagePlaceholder`,
    defaultMessage: 'Enter message',
  },
  mediaType: {
    id: `${scope}.mediaType`,
    defaultMessage: 'Media Type',
  },
  emptyTemplateErrorMessage: {
    id: `${scope}.emptyTemplateErrorMessage`,
    defaultMessage: 'Template name cannot be empty',
  },
  titleRequired: {
    id: `${scope}.titleRequired`,
    defaultMessage: 'Title is required',
  },
  messageRequired: {
    id: `${scope}.messageRequired`,
    defaultMessage: 'Message is required',
  },
  saveTemplate: {
    id: `${scope}.saveTemplate`,
    defaultMessage: 'Save Template',
  },
  accountRequired: {
    id: `${scope}.accountRequired`,
    defaultMessage: 'Select an account to create a template',
  },
  brandIconLogo: {
    id: `${scope}.brandIconLogo`,
    defaultMessage: 'Brand icon/logo',
  },
  dontShow: {
    id: `${scope}.dontShow`,
    defaultMessage: "Don't show",
  },
  uploadImage: {
    id: `${scope}.uploadImage`,
    defaultMessage: 'Upload image',
  },
  addImageUrl: {
    id: `${scope}.addImageUrl`,
    defaultMessage: 'Add image URL',
  },
  buttonsAndLinks: {
    id: `${scope}.buttonsAndLinks`,
    defaultMessage: 'Buttons and links',
  },
  optional: {
    id: `${scope}.optional`,
    defaultMessage: '(Optional)',
  },
  onClickBehaviour: {
    id: `${scope}.onClickBehaviour`,
    defaultMessage: 'On-click behaviour',
  },
  openSite: {
    id: `${scope}.openSite`,
    defaultMessage: 'Open site',
  },
  redirectToSpecificUrl: {
    id: `${scope}.redirectToSpecificUrl`,
    defaultMessage: 'Redirect to specific URL',
  },
  characterCount: {
    id: `${scope}.characterCount`,
    defaultMessage: 'Character count: {currentLength}/{maxLength}',
  },
  sizeLimit: {
    id: `${scope}.sizeLimit`,
    defaultMessage: 'Size up to: 5MB',
  },
  sizeLimitBrandIcon: {
    id: `${scope}.sizeLimitBrandIcon`,
    defaultMessage: 'Size up to: 1MB',
  },
  formatTypes: {
    id: `${scope}.formatTypes`,
    defaultMessage: 'Format: JPEG, JPG, PNG',
  },
  enterUrl: {
    id: `${scope}.enterUrl`,
    defaultMessage: 'Enter URL',
  },
  urlRequired: {
    id: `${scope}.urlRequired`,
    defaultMessage: 'URL is required',
  },
  urlInvalid: {
    id: `${scope}.urlInvalid`,
    defaultMessage: 'Please enter a valid URL',
  },
  buttons: {
    id: `${scope}.buttons`,
    defaultMessage: 'Buttons',
  },
  addPrimaryButton: {
    id: `${scope}.addPrimaryButton`,
    defaultMessage: 'Add primary button',
  },
  addSecondaryButton: {
    id: `${scope}.addSecondaryButton`,
    defaultMessage: 'Add secondary button',
  },
  addButton: {
    id: `${scope}.addButton`,
    defaultMessage: 'Add button',
  },
  buttonText: {
    id: `${scope}.buttonText`,
    defaultMessage: 'Button text',
  },
  buttonTextPlaceholder: {
    id: `${scope}.buttonTextPlaceholder`,
    defaultMessage: 'Enter button text',
  },
  buttonUrlLabel: {
    id: `${scope}.buttonUrlLabel`,
    defaultMessage: 'URL',
  },
  buttonUrlPlaceholder: {
    id: `${scope}.buttonUrlPlaceholder`,
    defaultMessage: 'Enter URL',
  },
  saveButton: {
    id: `${scope}.saveButton`,
    defaultMessage: 'Save',
  },
  deleteButton: {
    id: `${scope}.deleteButton`,
    defaultMessage: 'Delete',
  },
  cancelButton: {
    id: `${scope}.cancelButton`,
    defaultMessage: 'Cancel',
  },
  buttonTextRequired: {
    id: `${scope}.buttonTextRequired`,
    defaultMessage: 'Button text is required',
  },
  buttonUrlRequired: {
    id: `${scope}.buttonUrlRequired`,
    defaultMessage: 'Button URL is required',
  },
  buttonUrlInvalid: {
    id: `${scope}.buttonUrlInvalid`,
    defaultMessage: 'Please enter a valid URL',
  },
  addLabels: {
    id: `${scope}.addLabels`,
    defaultMessage: 'Add labels',
  },
  previewInAllDevices: {
    id: `${scope}.previewInAllDevices`,
    defaultMessage: 'Preview in all devices',
  },
  webPushNotificationPreview: {
    id: `${scope}.webPushNotificationPreview`,
    defaultMessage: 'Web push notification preview',
  },
  operatingSystem: {
    id: `${scope}.operatingSystem`,
    defaultMessage: 'Operating system',
  },
  browser: {
    id: `${scope}.browser`,
    defaultMessage: 'Browser',
  },
  state: {
    id: `${scope}.state`,
    defaultMessage: 'State',
  },
  previewDisclaimer: {
    id: `${scope}.previewDisclaimer`,
    defaultMessage: "For the most accurate desktop preview, switch to full screen under 'Preview in all devices'.",
  },
  notificationTime: {
    id: `${scope}.notificationTime`,
    defaultMessage: '2:29 PM',
  },
  templateIdMissingError: {
    id: `${scope}.templateIdMissingError`,
    defaultMessage: 'Unable to save template: Template ID is missing. Please refresh the page and try again.',
  },
  personalizationTokensErrorMessage: {
    id: `${scope}.personalizationTokensErrorMessage`,
    defaultMessage: 'Personalization tags are not supported for anonymous customers, please remove the tags.',
  },
  personalizationNotSupportedAnonymous: {
    id: `${scope}.personalizationNotSupportedAnonymous`,
    defaultMessage: 'Personalization tags are not supported for anonymous customers',
  },
});
