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

export default defineMessages({
  approvedStatusMsg: {
    id: `${prefix}.approvedStatusMsg`,
    defaultMessage: "This template has been {status}",
  },
  variables: {
    id: `${prefix}.variables`,
    defaultMessage: "Variables",
  },
  addVariableWithMessage: {
    id: `${prefix}.addVariableWithMessage`,
    defaultMessage: "Add labels or text or combination of both",
  },
  variableType: {
    id: `${prefix}.variableType`,
    defaultMessage: "Variable type: <{name}>",
  },
  charactersCount: {
    id: `${prefix}.charactersCount`,
    defaultMessage: "Characters count {variableLength}/{maxLength}",
  },
  maxMinLengthMessage: {
    id: `${prefix}.maxMinLengthMessage`,
    defaultMessage:
      "Character count for this variable should be in between {minLength} to {maxLength}",
  },
  previewHead: {
    id: `${prefix}.previewHead`,
    defaultMessage: "Preview",
  },
  previewText: {
    id: `${prefix}.previewText`,
    defaultMessage: `Preview of the template is generated on the Zalo platform. Click on ‘Open preview’ to view it in a new tab`,
  },
  openPreview: {
    id: `${prefix}.openPreview`,
    defaultMessage: "Open Preview",
  },
  ENABLE_STATUS: {
    id: `${prefix}.ENABLE_STATUS`,
    defaultMessage: 'Enable',
  },
  REJECT_STATUS: {
    id: `${prefix}.REJECT_STATUS`,
    defaultMessage: 'Reject',
  },
  DISABLE_STATUS: {
    id: `${prefix}.DISABLE_STATUS`,
    defaultMessage: 'Disable',
  },
  PENDING_REVIEW_STATUS: {
    id: `${prefix}.PENDING_REVIEW_STATUS`,
    defaultMessage: 'Review Pending',
  },
  ENABLE: {
    id: `${prefix}.ENABLE`,
    defaultMessage: 'enabled/approved',
  },
  REJECT: {
    id: `${prefix}.REJECT`,
    defaultMessage: 'rejected',
  },
  DISABLE: {
    id: `${prefix}.DISABLE`,
    defaultMessage: 'disabled',
  },
  PENDING_REVIEW: {
    id: `${prefix}.PENDING_REVIEW`,
    defaultMessage: 'pending review',
  },
  zaloFailureNotificationTemplate: {
    id: `${prefix}.zaloFailureNotificationTemplate`,
    defaultMessage: 'Unable to load zalo template',
  },
  zaloFailureNotificationPreview: {
    id: `${prefix}.zaloFailureNotificationPreview`,
    defaultMessage: 'Unable to load zalo preview',
  },
  btnDisabledTooltip: {
    id: `${prefix}.btnDisabledTooltip`,
    defaultMessage: 'Please add all mandatory fields to proceed further',
  },
  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.",
  },
});
