//基础组件的翻译文件，需要一起应用进来，防止i18n重复注册
import baseUIZH from "lt-a-baseui/packages/locales/lang/zh_CN";
const baseComponentZH = baseUIZH.message;

const LongtecProCessDraw = {
  waring: "警告",
  repeatWarning: "当前画布已经存在{0}图元，禁止重复插入!",
  startNodeWarning: "流程图必须包含开始节点!",
  endNodeWarning: "流程图必须包含结束节点!",
  receipStyleWarning: "投料位置不能为空",
  enterOneGroupWarning: "只能进入一个组",
  selectGroupWarning: "请选择要进入的组",
  DeviceParama: "设备参数",
  selectWarning: "请选择",
  realValWarning: "目标量不能小于实际量",
  matEmptyWarning: "物料名称不能为空",
  FloatWarning: "请检查页面浮点数格式",
  IntWarning: "请检查页面整数格式",
  reuireWarning: "请检查页面必输项",
  deviceControlParama: "设备控制参数",
  confirm: "确认",
  cancel: "取消",
  reset: "重置",
  return: "返回",
  delete: "删除",
  deleteAll: "删除所有",
  add: "新增",
  operate: "操作",
  editInDlg: "在弹窗中编辑",
  addControlParama: "增加控制参数",
  ImportModel: "导入模板",
  saveAsModel: "存为模板",
  ModelName: "模板名称",
  deviceParama: "设备参数",
  isNotNULL: "非空值",
  Node: "节点",
  Condition: "条件",
  QualityInspection: "QC检验",
  LayerGroup: "工艺包",
  ComplexCondition: "复杂条件",
  technology: "工艺",
  ProcessGroup: "工艺组",
  Model: "模板",
  selectModel: "选择模板",
  selectCellWarning: "请先选择图元",
  originDetailOrderKey: "原始关键字",
  targetDetailOrderKey: "目标关键字",
  maxDetailOrderKey: "最大关键字",
  originDetailOrderKeyWarn: "原始关键字不存在，请检查",
  targetDetailOrderKeyWarn: "目标关键字已存在，请修正",
  refresh: "刷新",
  copy: "复制",
  paste: "粘贴",
  cut: "剪切",
  AlignLeft: "左对齐",
  AlignRight: "右对齐",
  AlignTop: "顶部对齐",
  AlignBottom: "底部对齐",
  AlignMiddle: "水平居中对齐",
  AlignCenter: "垂直居中对齐",
  AlignVer: "垂直分布",
  AlignHor: "水平分部",
  EqualWidth: "等宽",
  EqualHeight: "等高",
  EqualAll: "等大",
  ToFont: "移到前",
  ToBack: "移到后",
  UpLevel: "上一层级",
  SaveFile: "保存文件",
  print: "打印",
  import: "引入",
  closePropertyPanel: "关闭属性面板",
  showTree: "显示树形结构",
  setParama: "设置属性",
  changeKeyWord: "更改关键字",
  fullScreen: "全屏",
  exitFullScreen: "退出全屏",
  StartWarning: "请先选择开始图元!",
  ExecutionBranch: "执行分支",
  EditScript: "编辑脚本",
  CloseEditScript: "关闭编辑脚本",
  ClearScript: "清除脚本",
  SelectBranchWarning: "请选择执行分支",
  scriptEmptyWarning: "行{0}条件脚本不能为空!",
  JudgmentCondition: "判断条件",
  ExecuteScript: "执行脚本",
  nextNode: "下一节点",
  CompletionNode: "完成节点",
  MonitorId: "监控节点",
  moduleTypeWarning: "模块信息不匹配，不允许导入当前文件。文件中模块信息为：{0},当前模块信息为：{1}",
  moveRepeatWarning: "移动之后图元之间有重叠，禁止移动",
  editQCDetail: "编辑QC细项",
  Qualified: "合格",
  Unqualified: "不合格",
  upperWarning: "行{0}上限值不能为空，请检查",
  lowerWarning: "行{0}下限值不能为空，请检查",
  IntervalWarning: "行{0}上限必须大于下限",
  orGroup: "或工艺包",
  StartStep: "启动",
  StopStep: "停止",
  CompletedStep: "完工",
  PauseStep: "暂停",
  continueStep: "继续",
  CancelStep: "取消",
  ResetStep: "复位",
  Cycle: "循环",
  LineConnectWarn: "无法生成连接线，请使用总线过渡",
  TargetValWarn: "行{0}目标量不能小于实际量!",
  matWarning: "行{0}物料名称不能为空",
  MatTargetUpperWarn: "物料{0}已超限，当前最大物料加入量为{1}",
  Bus: "总线",
  SearchTips: "请输入搜索内容",
  changeSwinlanePositionWarn: "改变泳道位置可能会导致连接线错乱或丢失，是否继续",
};
const localZH = {
  LongtecProCessDraw,
  ...baseComponentZH,
} as const;

//底层自动生成的lt-a-baseui会导致实例化过深，因此先清理掉
// if (localZH["lt-a-baseui"]) {
//   delete localZH["lt-a-baseui"];
// }

export default localZH;
