const local: FlowI18n.Schema = {
  snail: {
    groupName: '组名称',
    taskName: '任务名称',
    blockStrategy: '阻塞策略',
    failStrategy: '失败策略',
    retry: '重试',
    ignore: '忽略',
    stop: '停止',
    form: {
      groupName: '请选择组',
      workflowTip: '请配置工作流',
      executeMessage: '执行重试成功',
      stopMessage: '停止任务成功',
      taskTip: '请选择任务'
    },
    enum: {
      failStrategy: {
        skip: '跳过',
        blockage: '阻塞'
      },
      blockStrategy: {
        discards: '丢弃',
        overwrite: '覆盖',
        parallelism: '并行'
      },
      taskBatchStatus: {
        waiting: '待处理',
        running: '运行中',
        success: '成功',
        fail: '失败',
        stop: '停止',
        cancel: '取消',
        decisionFailed: '判定未通过',
        skip: '跳过'
      }
    }
  },
  node: {
    priority: '优先级',
    task: {
      name: '任务',
      add: '添加任务',
      nodeName: '任务节点',
      conditionNodes: {
        nodeName: '任务 1'
      }
    },
    condition: {
      nodeName: '决策节点',
      conditionNodes: {
        nodeName: '条件',
        otherNodeName: '其他情况',
        otherTip: '该分支为系统默认创建，与其他分支互斥。只有当其他分支都无法运行时，才会运行该分支。',
        priority: '优先级',
        conditionTip: '请设置条件',
        logicalCondition: '判定逻辑',
        expressionType: '表达式类型',
        nodeExpression: '节点表达式',
        otherNodeTip: '如存在未满足其他分支条件的情况，则进入此分支'
      },
      addBranch: '添加条件'
    },
    callback: {
      nodeName: '回调通知',
      conditionNodes: {
        nodeName: '回调通知',
        contentType: '请求类型',
        webhookTip: '请配置回调通知'
      }
    },
    endNode: '流程结束'
  }
};

export default local;
