message.ts 3.92 KB
export default {
  configName: 'Configuration name',
  createTime: 'Create time',
  textRule32: 'Word count does not exceed 32 words',
  textRule36: 'Word count does not exceed 36 words',
  textRule20: 'Word count does not exceed 20 words',
  textRule255: 'Word count does not exceed 255 words',
  id: 'Primary key',
  messageType: 'message type',
  tenantId: 'Tenant ID',
  state: 'Status',
  useTo: 'Use to',
  updateTime: 'Update time',
  emailSub: 'Email Subject',

  config: {
    platformType: 'Platform type',
    currentConfig: 'Currently allocated',
    viewConfig: 'View Configuration',
    table: {
      title: 'Message Configuration List',
      configInfo: 'Configuration information',
    },
    form: {
      secretIdMessage:
        'Tencent Cloud: API Key Reference Address:: https://console.cloud.tencent.com/cam/capi',
      accessKeyIdMessage:
        'Alibaba Cloud: API Key Reference Address::https://ram.console.aliyun.com/manage/ak',
      host: 'Server address',
      port: 'Port',
      userName: 'User name',
      password: 'Password',
      messageConfig: 'Message configuration',
    },
  },
  template: {
    pushParameter: 'Push parameter',
    templateName: 'Template Name',
    templateCode: 'Template encoding',
    signName: 'Signature Information',
    templateUsage: 'Template Usage',
    createTemplate: 'Create message template',
    table: {
      title: 'Message template list',
      configType: 'configuration type',
    },
    form: {
      exclusiveNumber: 'Exclusive number',
      phoneMessage:
        'This parameter is invalid only when the template is in exclusive mode for outbound calls',
      templateUsageMessage0:
        'The user login and forgotten password template platform only provides the {code} parameter, while the initial password setting platform provides the {name} parameter',
      templateUsageMessage1:
        'The login template platform provides the following parameters: {\'{code: "Verification code"}\'}',
      templateUsageMessage2:
        'The Forgot Password Template Platform provides the following parameters:{\'{"code":"Verification code"}\'}。',
      templateUsageMessage3:
        'The alarm notification template platform provides the following parameters:{\'{"organization":"The organization to which the device belongs",  "deviceName":"Device name",  "severity":"Alarm level",  "type":"Alarm type",  "triggerValue":"Trigger value",  "createTime":"Alarm time"}\'}。',
      templateUsageMessage4:
        'The clear password template platform provides the following parameters:{\'{"code":"Verification code"}\'}。',
      emailParams: 'Email sending parameters',
      mainSender: 'Main sender',
      makeCopy: 'make a copy for',
      blindCopy: 'blind carbon copy',
      emailContent: 'Email content',
      phoneNumber: 'Phone number',
      SMSparameters: 'SMS parameters',
      placeSMS: 'Example: {\'{"code": "1234"}\'}',
      placeStringRule: `["123456"]`,
      ruleSMS: `Please enter JSON format, for example {\'{"code": "1234"}\'}`,
      example: 'Example',
      stringArrayRule: `Please enter this format ["123456"]`,
    },
  },
  log: {
    sendTime: 'Sending time',
    messageList: 'Message sending record',
    emailList: 'Email sending records',
    sms: {
      messagePlatform: 'Message platform',
      messageContent: 'Message content',
      table: {
        title: 'Message sending list',
        sendPhone: 'Send mobile phone',
        ali: 'ALI_CLOUD',
        dingTalk: 'DING_TALK',
        tencent: 'TENCENT_CLOUD',
        aliVoice: 'ALI_VOICE',
        enterpriseWechat: 'ENTERPRISE_WECHAT', //ENTERPRISE_WECHAT
      },
    },
    email: {
      table: {
        title: 'Email sending list',
        recipient: 'Recipient',
      },
      detailTitle: 'Email sending parameters',
    },
  },
  addTemplateConfiguration: 'Add template configuration',
  editTemplateConfiguration: 'Edit template configuration',
  addSuccess: 'Add success',
  editSuccess: 'Edit success',
};