import { defineMessages } from 'react-intl';
const prefix = `creatives.containersV2.Rcs`;

export default defineMessages({
  mediaLabel: {
    id: `${prefix}.mediaLabel`,
    defaultMessage: 'Media',
  },
  approvedStatusMsg: {
    id: `${prefix}.approvedStatusMsg`,
    defaultMessage: 'This template has been approved',
  },
  rejectedStatusMsg: {
    id: `${prefix}.rejectedStatusMsg`,
    defaultMessage: 'This template has been rejected',
  },
  awaitingStatusMsg: {
    id: `${prefix}.awaitingStatusMsg`,
    defaultMessage: 'This template is awaiting approval',
  },
  unavailableStatusMsg: {
    id: `${prefix}.unavailableStatusMsg`,
    defaultMessage: 'This template is unavailable',
  },
  templateStatusGeneric: {
    id: `${prefix}.templateStatusGeneric`,
    defaultMessage: 'This template has been - {templateStatus}',
  },
  awaitingStatusDesc: {
    id: `${prefix}.awaitingStatusDesc`,
    defaultMessage:
      'The template has been sent for approval at {date}, {time}. It takes up to 48 hrs to get approved.',
  },
  ctaDesc: {
    id: `${prefix}.ctaDesc`,
    defaultMessage: 'Create up to 2 buttons that let customers respond to your messages or take action.',
  },
  btnLabel: {
    id: `${prefix}.btnLabel`,
    defaultMessage: 'Buttons',
  },
  btnTypeNone: {
    id: `${prefix}.btnTypeNone`,
    defaultMessage: 'None',
  },
  btnTypeReply: {
    id: `${prefix}.btnTypeReply`,
    defaultMessage: 'Reply',
  },
  btnTypeDialerAction: {
    id: `${prefix}.btnTypeDialerAction`,
    defaultMessage: 'Dialer Action',
  },
  btnTypeUrlAction: {
    id: `${prefix}.btnTypeUrlAction`,
    defaultMessage: 'URL Action',
  },
  btnTypeDialer: {
    id: `${prefix}.btnTypeDialer`,
    defaultMessage: 'Dialer Action',
  },
  btnTypeUrl: {
    id: `${prefix}.btnTypeUrl`,
    defaultMessage: 'URL Action',
  },
  btnTypeCTA: {
    id: `${prefix}.btnTypeCTA`,
    defaultMessage: 'Call to action',
  },
  btnTypeQuickReply: {
    id: `${prefix}.btnTypeQuickReply`,
    defaultMessage: 'Quick reply',
  },
  btnDesc: {
    id: `${prefix}.btnDesc`,
    defaultMessage: 'Use buttons to redirect user to respective link or quick response/ action.',
  },
  approved: {
    id: `${prefix}.approved`,
    defaultMessage: 'Approved',
  },
  rejected: {
    id: `${prefix}.rejected`,
    defaultMessage: 'Rejected',
  },
  pending: {
    id: `${prefix}.pending`,
    defaultMessage: 'pending',
  },
  unavailable: {
    id: `${prefix}.unavailable`,
    defaultMessage: 'unavailable',
  },
  tagContentMismatchError: {
    id: `${prefix}.tagContentMismatchError`,
    defaultMessage:
      'TAG CONTENT MISMATCH: The language and/or template category selected donot match the template content.',
  },
  removeMultinewlineChars: {
    id: `${prefix}.removeMultinewlineChars`,
    defaultMessage:
    'More than two consecutive line breaks are not allowed.',
  },
  repetativeVars: {
    id: `${prefix}.repetativeVars`,
    defaultMessage: 'Variables must not be repeated.',
  },
  headerUnknownVars: {
    id: `${prefix}.headerUnknownVars`,
    defaultMessage: 'Header contains unknown variables.',
  },
  unknownVars: {
    id: `${prefix}.unknownVars`,
    defaultMessage: 'Message contains unknown variables.',
  },
  noContentBetweenVars: {
    id: `${prefix}.noContentBetweenVars`,
    defaultMessage: 'There must be content between variables.',
  },
  useTwoBracketsOnly: {
    id: `${prefix}.useTwoBracketsOnly`,
    defaultMessage: 'Use double curly braces {{ }} for variables.',
  },
  sequenceVars: {
    id: `${prefix}.sequenceVars`,
    defaultMessage: 'Variables must be in sequential order starting from [1].',
  },
  templateHeaderLengthError: {
    id: `${prefix}.templateHeaderLengthError`,
    defaultMessage: 'Title text exceeds the character limit.',
  },
  emptyTemplateMessageErrorMessage: {
    id: `${prefix}.emptyTemplateMessageErrorMessage`,
    defaultMessage: 'Template message cannot be empty.',
  },
  templateMessageLengthError: {
    id: `${prefix}.templateMessageLengthError`,
    defaultMessage: 'Template message exceeds the character limit.',
  },
  invalidFormatError: {
    id: `${prefix}.invalidFormatError`,
    defaultMessage:
      'INVALID FORMAT: Placeholders or other elements were formatted incorrectly.',
  },
  noVariableFocused: {
    id: `${prefix}.noVariableFocused`,
    defaultMessage: "Please select a variable to insert the label.",
  },
  mediaText: {
    id: `${prefix}.mediaText`,
    defaultMessage: 'Text',
  },
  mediaImage: {
    id: `${prefix}.mediaImage`,
    defaultMessage: 'Image',
  },
  mediaVideo: {
    id: `${prefix}.mediaVideo`,
    defaultMessage: 'Video/Slideshow',
  },
  imageRequiredError: {
    id: 'app.containers.Rcs.imageRequiredError',
    defaultMessage: 'Please upload an image to proceed',
  },
  videoRequiredError: {
    id: 'app.containers.Rcs.videoRequiredError',
    defaultMessage: 'Please upload a video to proceed',
  },
  validationErrorMessage: {
    id: 'app.containers.Rcs.validationErrorMessage',
    defaultMessage: 'Please fill in all required fields to proceed',
  },
  addVar: {
    id: `${prefix}.addVar`,
    defaultMessage: 'Add variables',
  },
  channelFileFormat: {
    id: 'app.components.CapVideoUpload.channelFileFormat',
    defaultMessage: 'Supported formats: MP4, MOV, etc.',
  },
  image: {
    id: `${prefix}.image`,
    defaultMessage: 'and image',
  },
  videoErrorMessage: {
    id: 'creatives.containersV2.Rcs.videoErrorMessage',
    defaultMessage: 'Please upload a video with the allowed file extension, size, dimension, and aspect ratio.',
  },
  disabledMediaTooltip: {
    id: `${prefix}.disabledMediaTooltip`,
    defaultMessage: 'Not yet enabled. Coming soon!',
  },
  disabledCarouselTooltip: {
    id: `${prefix}.disabledCarouselTooltip`,
    defaultMessage: 'Not yet enabled. Coming soon!',
  },
  templateNamePlaceholder: {
    id: `${prefix}.templateNamePlaceholder`,
    defaultMessage: 'Enter template name',
  },
  templateTitlePlaceholder: {
    id: `${prefix}.templateTitlePlaceholder`,
    defaultMessage: 'Enter title',
  },
  templateTitle: {
    id: `${prefix}.templateTitle`,
    defaultMessage: 'Title',
  },
  cardOrientation: {
    id: `${prefix}.cardOrientation`,
    defaultMessage: 'Card Orientation',
  },
  optional: {
    id: `${prefix}.optional`,
    defaultMessage: ' (Optional)',
  },
  templateDescPlaceholder: {
    id: `${prefix}.templateDescPlaceholder`,
    defaultMessage: 'Enter the text message',
  },
  emptyTemplateDescErrorMessage: {
    id: `${prefix}.emptyTemplateDescErrorMessage`,
    defaultMessage: 'Template message cannot be empty',
  },
  templateDescLabel: {
    id: `${prefix}.templateDescLabel`,
    defaultMessage: 'Text message',
  },
  templateTitleLabel: {
    id: `${prefix}.templateTitleLabel`,
    defaultMessage: 'Template Title',
  },
  text_message: {
    id: `${prefix}.text_message`,
    defaultMessage: 'text message',
  },
  richCard: {
    id: `${prefix}.richCard`,
    defaultMessage: 'rich card',
  },
  carousel: {
    id: `${prefix}.carousel`,
    defaultMessage: 'carousel',
  },
  rcsDoneBtnToolTip: {
    id: `${prefix}.rcsDoneBtnToolTip`,
    defaultMessage: 'Please add template name {type} to proceed further',
  },
  sendForApprovalButtonLabel: {
    id: `${prefix}.sendForApprovalButtonLabel`,
    defaultMessage: 'Send for approval',
  },
  doneButtonLabel: {
    id: `${prefix}.doneButtonLabel`,
    defaultMessage: 'Done',
  },
  cancelButtonLabel: {
    id: `${prefix}.cancelButtonLabel`,
    defaultMessage: 'Cancel',
  },
  fallbackLabel: {
    id: `${prefix}.fallbackLabel`,
    defaultMessage: 'Fallback SMS message',
  },
  fallbackDesc: {
    id: `${prefix}.fallbackDesc`,
    defaultMessage: 'We would suggest to add fallback SMS',
  },
  fallbackToolTip: {
    id: `${prefix}.fallbackToolTip`,
    defaultMessage:
      'This is to deliver an RCS message as an SMS message to end users whose phones do not support RCS',
  },
  fallbackMsgLenError: {
    id: `${prefix}.fallbackMsgLenError`,
    defaultMessage: 'Only 1 SMS (160 characters) allowed for fallback sms',
  },
  fallbackTextAreaLabel: {
    id: `${prefix}.fallbackTextAreaLabel`,
    defaultMessage: 'SMS message',
  },
  fallbackMsgPlaceholder: {
    id: `${prefix}.fallbackMsgPlaceholder`,
    defaultMessage: 'Enter the text message content for fallback SMS',
  },
  totalCharacters: {
    id: `${prefix}.totalCharacters`,
    defaultMessage: '{smsCount} SMS ({number} characters)',
  },
  addSmsCreative: {
    id: `${prefix}.addSmsCreative`,
    defaultMessage: 'Add SMS creative',
  },
  rcsDltTitle: {
    id: `${prefix}.rcsDltTitle`,
    defaultMessage: 'SMS creative templates',
  },
  rcsDltDesc: {
    id: `${prefix}.rcsDltDesc`,
    defaultMessage: 'Select any of the existing templates',
  },
  dltEditHeader: {
    id: `${prefix}.dltEditHeader`,
    defaultMessage: 'Edit SMS',
  },
  rcsCreateNotification: {
    id: `${prefix}.rcsCreateNotification`,
    defaultMessage: 'RCS template created successfully',
  },
  rcsEditNotification: {
    id: `${prefix}.rcsEditNotification`,
    defaultMessage: 'RCS template updated successfully',
  },
  fallbackPreviewtitle: {
    id: `${prefix}.fallbackPreviewtitle`,
    defaultMessage: 'Preview of fallback SMS',
  },
  templateButton: {
    id: `${prefix}.templateButton`,
    defaultMessage: 'Buttons',
  },
  templateButtonDesc: {
    id: `${prefix}.templateButtonDesc`,
    defaultMessage: 'Use buttons to redirect user to respective link or quick response/ action.',
  },
  templateCTAButton: {
    id: `${prefix}.templateCTAButton`,
    defaultMessage: 'Call to action',
  },
  templateCTAButtonDesc: {
    id: `${prefix}.templateCTAButtonDesc`,
    defaultMessage: 'Create up to 3 buttons that let customers respond to your messages or take action.',
  },
  templateQRButton: {
    id: `${prefix}.templateQRButton`,
    defaultMessage: 'Quick reply',
  },
  templateQRButtonDesc: {
    id: `${prefix}.templateQRButtonDesc`,
    defaultMessage: 'Create up to 3 buttons that let customers respond to your messages or take action.',
  },
  buttonTextAndUrl: {
    id: `${prefix}.buttonTextAndUrl`,
    defaultMessage: ', CTA button text & url ',
  },
  rcsawaitingApproval: {
    id: `${prefix}.awaitingApproval`,
    defaultMessage: 'Awaiting approval',
  },
  rejectionReason: {
    id: `${prefix}.rejectionReason`,
    defaultMessage: 'Reason for rejection',
  },
  templateStatusLabel: {
    id: `${prefix}.templateStatusLabel`,
    defaultMessage: 'Template Status',
  },
  btnDisabledTooltip: {
    id: `${prefix}.btnDisabledTooltip`,
    defaultMessage: 'Please add all mandatory fields to proceed further',
  },
  REJECT_STATUS: {
    id: `${prefix}.REJECT_STATUS`,
    defaultMessage: 'Reject',
  },
  ENABLE_STATUS: {
    id: `${prefix}.ENABLE_STATUS`,
    defaultMessage: 'Enable',
  },
  PENDING_STATUS: {
    id: `${prefix}.PENDING_STATUS`,
    defaultMessage: 'Pending',
  },
  APPROVED_STATUS: {
    id: `${prefix}.APPROVED_STATUS`,
    defaultMessage: 'Approved',
  },
  REJECTED_STATUS: {
    id: `${prefix}.REJECTED_STATUS`,
    defaultMessage: 'Rejected',
  },
  pending_STATUS: {
    id: `${prefix}.pending_STATUS`,
    defaultMessage: 'Pending',
  },
  approved_STATUS: {
    id: `${prefix}.approved_STATUS`,
    defaultMessage: 'Approved',
  },
  rejected_STATUS: {
    id: `${prefix}.rejected_STATUS`,
    defaultMessage: 'Rejected',
  },
  unavailable_STATUS: {
    id: `${prefix}.unavailable_STATUS`,
    defaultMessage: 'unavailable',
  },
  unknown_STATUS: {
    id: `${prefix}.unknown_STATUS`,
    defaultMessage: 'unknown',
  },
  templateTypeLabel: {
    id: `${prefix}.templateTypeLabel`,
    defaultMessage: 'Template Type',
  },
  cardOrientationLabel: {
    id: `${prefix}.cardOrientationLabel`,
    defaultMessage: 'Card Orientation',
  },
  emptyTemplateTitleErrorMessage: {
    id: `${prefix}.emptyTemplateTitleErrorMessage`,
    defaultMessage: 'Title is required for rich card templates',
  },
  templateMessageUnsubscribeText: {
    id: `${prefix}.templateMessageUnsubscribeText`,
    defaultMessage: 'Click {unsubscribe} to unsubscribe',
  },
  modifiedUnsubscribeText: {
    id: `${prefix}.modifiedUnsubscribeText`,
    defaultMessage: 'Click {value} to unsubscribe',
  },
  unsubscribeTextTooltipEditFlow: {
    id: `${prefix}.unsubscribeTextTooltipEditFlow`,
    defaultMessage: 'This is non-editable',
  },
  unsubscribeTextTooltipCreateFlow: {
    id: `${prefix}.unsubscribeTextTooltipCreateFlow`,
    defaultMessage: 'To enable the checkbox, reduce the message character count to 988',
  },
  templateMessageLength: {
    id: `${prefix}.templateMessageLength`,
    defaultMessage: 'Characters count: {currentLength}/{maxLength}',
  },
  unsubscribeCheckboxLabel: {
    id: `${prefix}.unsubscribeCheckboxLabel`,
    defaultMessage: 'Add unsubscribe text',
  },
  replyDesc: {
    id: `${prefix}.replyDesc`,
    defaultMessage: 'Create up to 4 reply buttons that let customers respond to your messages.',
  },
  dialerDesc: {
    id: `${prefix}.dialerDesc`,
    defaultMessage: 'Create up to 4 dialer action buttons that let customers make calls.',
  },
  urlDesc: {
    id: `${prefix}.urlDesc`,
    defaultMessage: 'Create up to 4 URL action buttons that let customers visit websites.',
  },
  templateNameLengthError: {
    id: `${prefix}.templateNameLengthError`,
    defaultMessage: 'Template name must not exceed 20 characters',
  },
  templateNameFormatError: {
    id: `${prefix}.templateNameFormatError`,
    defaultMessage: 'Template name can only contain letters, numbers, and underscores',
  },
  unknownCharactersError: {
    id: `${prefix}.unknownCharactersError`,
    defaultMessage: 'Only alphanumeric characters and underscore are allowed in custom param. Spaces/other special characters are not allowed.',
  },
  emptyVariableError: {
    id: `${prefix}.emptyVariableError`,
    defaultMessage: 'Variable cannot be empty. Please provide a name for the variable.',
  },
  incompleteBracketsError: {
    id: `${prefix}.incompleteBracketsError`,
    defaultMessage: 'Incomplete or unbalanced curly braces in variable. Please use {{variable}} format.',
  },
  forbiddenCharactersError: {
    id: `${prefix}.forbiddenCharactersError`,
    defaultMessage: 'Square brackets [] and single curly braces {} are not allowed. Use {{variable}} for variables.',
  },
  tagLengthWarning: {
    id: `${prefix}.tagLengthWarning`,
    defaultMessage: 'If the resolved tag values in the variables exceed their character count limit, the message will fail to go out.',
  },
  inputplaceHolderText: {
    id: 'app.containers.Rcs.inputplaceHolderText',
    defaultMessage: 'Enter value for {value}',
  },
  inputplaceHolderTitle: {
    id: 'app.containers.Rcs.inputplaceHolderTitle',
    defaultMessage: 'Enter title for {value}',
  },
  rcsTestPreviewDisabledTooltip: {
    id: `${prefix}.rcsTestPreviewDisabledTooltip`,
    defaultMessage: 'Preview and test is only available after the template is approved.',
  },
});
