import { defineMessages } from "react-intl";

const prefix = "app.v2Container.InApp";

export default defineMessages({
  creativeName: {
    id: `${prefix}.creativeName`,
    defaultMessage: "Creative Name",
  },
  creativeLayout: {
    id: `${prefix}.creativeLayout`,
    defaultMessage: "Creative layout",
  },
  creativeLayoutDesc: {
    id: `${prefix}.creativeLayoutDesc`,
    defaultMessage: "Select how the creative will be displayed on the screen",
  },
  layoutModal: {
    id: `${prefix}.layoutModal`,
    defaultMessage: "Modal",
  },
  layoutTopBanner: {
    id: `${prefix}.layoutTopBanner`,
    defaultMessage: "Top banner",
  },
  layoutBottomBanner: {
    id: `${prefix}.layoutBottomBanner`,
    defaultMessage: "Bottom banner",
  },
  layoutFullScreen: {
    id: `${prefix}.layoutFullScreen`,
    defaultMessage: "Full screen",
  },
  Android: {
    id: `${prefix}.Android`,
    defaultMessage: 'Android',
  },
  Ios: {
    id: `${prefix}.Ios`,
    defaultMessage: 'IOS',
  },
  select: {
    id: `${prefix}.select`,
    defaultMessage: "Select",
  },
  inAppCreateNotification: {
    id: `${prefix}.inAppCreateNotification`,
    defaultMessage: "In-app messaging template created successfully!",
  },
  inAppEditNotification: {
    id: `${prefix}.inAppEditNotification`,
    defaultMessage: "In-app messaging template edited successfully!",
  },
  templateNameMinCharacters: {
    id: `${prefix}.templateNameMinCharacters`,
    defaultMessage: 'Template name should contain atleast 3 characters',
  },
  btnDisabledTooltip: {
    id: `${prefix}.btnDisabledTooltip`,
    defaultMessage: 'Please add all mandatory fields to proceed further',
  },
  create: {
    id: `${prefix}.create`,
    defaultMessage: 'Create',
  },
  update: {
    id: `${prefix}.update`,
    defaultMessage: 'Update',
  },
  mediaText: {
    id: `${prefix}.mediaText`,
    defaultMessage: "Text",
  },
  mediaImage: {
    id: `${prefix}.mediaImage`,
    defaultMessage: "Image",
  },
  templateMessageLength: {
    id: `${prefix}.templateMessageLength`,
    defaultMessage: 'Characters count: {currentLength}/{maxLength}',
  },
  templateNameRegexErrorMessage: {
    id: `${prefix}.templateNameRegexErrorMessage`,
    defaultMessage: 'Template name can only contain lowercase alphanumeric characters and underscores',
  },
  btnTypeNone: {
    id: `${prefix}.btnTypeNone`,
    defaultMessage: "None",
  },
  btnTypeCTA: {
    id: `${prefix}.btnTypeCTA`,
    defaultMessage: "Call to action",
  },
  ctaDescription: {
    id: `${prefix}.ctaDescription`,
    defaultMessage:
      "Create a button that lets customers take an action",
  },
  popup: {
    id: `${prefix}.popup`,
    defaultMessage:
      "Pop-up",
  },
  header: {
    id: `${prefix}.header`,
    defaultMessage:
      "Header",
  },
  footer: {
    id: `${prefix}.footer`,
    defaultMessage:
      "Footer",
  },
  keepContentSameForBoth: {
    id: `${prefix}.keepContentSameForBoth`,
    defaultMessage: 'Keep content same for both',
  },
});
