/*
 * SmsTrai Messages
 *
 * This contains all the text for the SmsTrai component.
 */
import { defineMessages } from 'react-intl';
const prefix = 'app.v2containers.SmsTrai.Edit';

export default defineMessages({
  saveButtonLabel: {
    id: `${prefix}.saveButtonLabel`,
    defaultMessage: 'Save',
  },
  cancelButtonLabel: {
    id: `${prefix}.cancelButtonLabel`,
    defaultMessage: 'Cancel',
  },
  traiEditTitle: {
    id: `${prefix}.traiEditTitle`,
    defaultMessage: 'Message',
  },
  addLabels: {
    id: `${prefix}.addLabels`,
    defaultMessage: 'Add labels',
  },
  inputplaceHolderText: {
    id: `${prefix}.inputplaceHolderText`,
    defaultMessage: 'Add labels or text or combination of both',
  },
  textAreaCounts: {
    id: `${prefix}.textAreaCounts`,
    defaultMessage: '{varCounts} variable{varCounts, plural, one {} other {s}} {var}: max. {charCounts} characters',
  },
  totalCharacters: {
    id: `${prefix}.totalCharacters`,
    defaultMessage: '{smsCount} SMS ({number} characters)',
  },
  smsEditNotification: {
    id: `${prefix}.smsEditNotification`,
    defaultMessage: 'Sms template updated successfully',
  },
  textAreaError: {
    id: `${prefix}.textAreaError`,
    defaultMessage: 'Template cannot be empty',
  },
  templateLabel: {
    id: `${prefix}.templateLabel`,
    defaultMessage: 'Template',
  },
  traiEditSeperator: {
    id: `${prefix}.traiEditSeperator`,
    defaultMessage: '|',
  },
  senderIdlabel: {
    id: `${prefix}.senderIdlabel`,
    defaultMessage: 'Sender ID',
  },
  unsupportedTagsValidationError: {
    id: `${prefix}.unsupportedTagsValidationError`,
    defaultMessage:
      'Unsupported tags: {unsupportedTags}. Please remove them from this message.',
  },
  unicodeLabel: {
    id: `${prefix}.unicodeLabel`,
    defaultMessage: 'Allow unicode characters',
  },
  msgLengthNote: {
    id: `${prefix}.msgLengthNote`,
    defaultMessage: 'Only 40 characters are allowed per variable {var} field. In case the field resolves to more than 40 characters the message is bound to fail. Hence will not be sent by the Capillary system.',
  },
  testAndPreviewButtonLabel: {
    id: `${prefix}.testAndPreviewButtonLabel`,
    defaultMessage: 'Preview and Test',
  },
});
