/**
 * 门店模块国际化（zh-CN）
 *
 * 注意：该文件会在 i18n 初始化时合并到 `store.*` 命名空间下
 */
export default {
  list: {
    search: {
      keyword: '关键词',
      keywordPlaceholder: '门店名称/门店编码',
      merchantId: '商户ID',
      merchantIdPlaceholder: '请输入商户ID',
      auditStatus: '审核状态',
      businessStatus: '经营状态',
      ownershipType: '主体类型'
    },
    table: {
      name: '门店名称',
      code: '门店编码',
      ownershipType: '主体类型',
      auditStatus: '审核状态',
      businessStatus: '经营状态',
      phone: '联系电话',
      createdAt: '创建时间'
    },
    action: {
      create: '新增门店',
      detail: '查看详情',
      edit: '编辑',
      toggleStatus: '切换状态',
      submitAudit: '提交审核'
    }
  },
  form: {
    createTitle: '新增门店',
    editTitle: '编辑门店',
    tabs: {
      basic: '基础信息',
      location: '位置信息',
      settings: '经营设置',
      services: '服务设施'
    },
    merchantId: '商户ID',
    merchantIdPlaceholder: '请输入商户ID',
    code: '门店编码',
    codePlaceholder: '请输入门店编码',
    name: '门店名称',
    namePlaceholder: '请输入门店名称',
    phone: '联系电话',
    phonePlaceholder: '请输入联系电话',
    managerName: '负责人姓名',
    managerNamePlaceholder: '请输入负责人姓名',
    status: '门店状态',
    signboardImageUrl: '门头招牌图',
    signboardImageUrlPlaceholder: '请输入门头招牌图链接',
    ownershipType: '主体类型',
    categoryId: '类目ID',
    categoryIdPlaceholder: '请输入类目ID',
    deliveryRadiusKm: '配送半径（公里）',
    locationTitle: '地址信息',
    province: '省份',
    provincePlaceholder: '请输入省份',
    city: '城市',
    cityPlaceholder: '请输入城市',
    district: '区县',
    districtPlaceholder: '请输入区县',
    address: '详细地址',
    addressPlaceholder: '请输入详细地址',
    coordinate: '经纬度',
    coordinatePlaceholder: '例如 39.695954,116.074058',
    coordinatePasteAction: '一键粘贴',
    coordinatePickerAction: '打开坐标拾取',
    coordinateHint: '支持纬度,经度或经度,纬度；可使用腾讯坐标拾取工具复制',
    coordinatePasteUnavailable: '当前环境不支持读取剪贴板',
    coordinatePasteEmpty: '剪贴板为空，请先复制坐标',
    coordinateInvalid: '坐标格式不正确，请检查',
    settingsTitle: '服务设置',
    announcement: '门店公告',
    announcementPlaceholder: '请输入门店公告',
    tags: '标签',
    tagsPlaceholder: '多个标签用逗号分隔',
    supportsDineIn: '支持堂食',
    supportsPickup: '支持自取',
    supportsDelivery: '支持外卖',
    supportsReservation: '支持预订',
    supportsQueueing: '支持排队'
  },
  rules: {
    merchantId: '请输入商户ID',
    code: '请输入门店编码',
    name: '请输入门店名称',
    signboardImageUrl: '请填写门头招牌图',
    ownershipType: '请选择主体类型',
    coordinateText: '请输入经纬度',
    coordinateTextFormat: '坐标格式应为 纬度,经度 或 经度,纬度'
  },
  detail: {
    title: '门店详情',
    empty: '暂无门店信息',
    back: '返回列表',
    fields: {
      name: '门店名称',
      code: '门店编码',
      auditStatus: '审核状态',
      businessStatus: '经营状态',
      ownershipType: '主体类型',
      phone: '联系电话',
      address: '地址',
      createdAt: '创建时间'
    },
    tabs: {
      basic: '基本信息',
      qualification: '资质管理',
      businessHours: '营业时段',
      temporaryHours: '临时调整',
      deliveryZone: '配送区域',
      fee: '费用配置'
    }
  },
  qualification: {
    warningTitle: '资质预警',
    complete: '资质齐全',
    incomplete: '资质不完整',
    expiringSoon: '即将过期 {count} 项',
    expired: '已过期 {count} 项',
    action: {
      add: '新增资质',
      edit: '编辑资质'
    },
    table: {
      type: '资质类型',
      documentNumber: '证件编号',
      expiresAt: '到期时间',
      status: '状态'
    },
    form: {
      type: '资质类型',
      fileUrl: '文件链接',
      fileUrlPlaceholder: '请输入资质文件链接',
      documentNumber: '证件编号',
      documentNumberPlaceholder: '请输入证件编号',
      issuedAt: '签发日期',
      expiresAt: '到期日期',
      sortOrder: '排序'
    },
    rules: {
      type: '请选择资质类型',
      fileUrl: '请输入资质文件链接',
      documentNumber: '请输入证件编号',
      expiresAt: '请选择到期日期'
    },
    status: {
      valid: '有效',
      expiringSoon: '即将过期',
      expired: '已过期'
    },
    type: {
      businessLicense: '营业执照',
      foodService: '食品经营许可证',
      storefront: '门头实景照',
      interior: '店内环境照'
    },
    deleteTitle: '删除资质',
    deleteConfirm: '确认删除该资质吗？'
  },
  businessHours: {
    tip: '支持跨天营业时间段，保存时会自动校验重叠与跨天情况。',
    action: {
      add: '新增时段',
      save: '保存设置'
    },
    table: {
      dayOfWeek: '星期',
      hourType: '营业类型',
      startTime: '开始时间',
      endTime: '结束时间',
      capacityLimit: '接单上限',
      notes: '备注',
      notesPlaceholder: '备注信息'
    },
    days: {
      sunday: '周日',
      monday: '周一',
      tuesday: '周二',
      wednesday: '周三',
      thursday: '周四',
      friday: '周五',
      saturday: '周六'
    },
    hourType: {
      normal: '正常营业',
      reservation: '仅预订',
      pickup: '自取/配送',
      closed: '暂停营业'
    }
  },
  temporaryHours: {
    tip: '设置特定日期的歇业、临时营业或调整营业时间',
    allDay: '全天',
    action: {
      add: '添加临时调整'
    },
    table: {
      dateRange: '日期范围',
      timeRange: '时间段',
      overrideType: '调整类型',
      reason: '说明'
    },
    overrideType: {
      closed: '歇业',
      temporaryOpen: '临时营业',
      modifiedHours: '调整时间'
    },
    dialog: {
      addTitle: '添加临时调整',
      editTitle: '编辑临时调整'
    },
    form: {
      dateRange: '日期范围',
      isAllDay: '全天生效',
      timeRange: '时间段',
      overrideType: '调整类型',
      reason: '说明',
      reasonPlaceholder: '如：春节放假、情人节延长营业等'
    },
    rules: {
      dateRequired: '请选择日期范围',
      typeRequired: '请选择调整类型',
      timeRequired: '非全天模式下请选择时间段'
    },
    deleteConfirm: '确定要删除这条临时调整吗？'
  },
  deliveryZone: {
    tip: '配送区域使用 GeoJSON 描述，可先维护多边形后再进行配送检测。',
    action: {
      add: '新增区域',
      edit: '编辑区域'
    },
    table: {
      zoneName: '区域名称',
      minimumOrderAmount: '起送金额',
      deliveryFee: '配送费',
      estimatedMinutes: '预计送达(分钟)'
    },
    form: {
      zoneName: '区域名称',
      zoneNamePlaceholder: '请输入区域名称',
      polygonGeoJson: 'GeoJSON',
      polygonPlaceholder: '请输入 GeoJSON 多边形',
      drawPolygon: '绘制区域',
      drawPolygonTitle: '绘制配送区域',
      editPolygon: '编辑',
      clearPolygon: '清空',
      drawHint: '绘制完成后点击确定应用到 GeoJSON',
      mapKeyMissing: '未配置腾讯地图 Key，无法加载绘图组件',
      mapKeyMissingHint: '请在环境变量 VITE_TENCENT_MAP_KEY 中配置腾讯地图 Key',
      minimumOrderAmount: '起送金额',
      deliveryFee: '配送费',
      estimatedMinutes: '预计送达(分钟)',
      sortOrder: '排序'
    },
    rules: {
      zoneName: '请输入区域名称',
      polygonGeoJson: '请输入 GeoJSON'
    },
    deleteTitle: '删除配送区域',
    deleteConfirm: '确认删除该配送区域吗？',
    check: {
      title: '配送检测',
      action: '检测',
      longitude: '经度',
      latitude: '纬度',
      inRange: '配送范围内',
      outOfRange: '配送范围外',
      distance: '距离',
      zoneName: '命中区域'
    }
  },
  fee: {
    title: '费用配置',
    minimumOrderAmount: '起送费',
    deliveryFee: '配送费',
    packagingFeeMode: '打包费模式',
    fixedPackagingFee: '固定打包费',
    freeDeliveryThreshold: '免配送门槛',
    packagingMode: {
      fixed: '固定金额',
      perItem: '按商品'
    },
    preview: {
      title: '费用预览',
      action: '计算预览',
      orderAmount: '订单金额',
      itemCount: '商品数量',
      itemsTitle: '商品明细',
      addItem: '新增商品',
      skuId: 'SKU',
      quantity: '数量',
      packagingFee: '打包费',
      result: {
        totalAmount: '订单总额',
        totalFee: '费用合计',
        deliveryFee: '配送费',
        packagingFee: '打包费',
        meetsMinimum: '满足起送',
        shortfall: '差额'
      }
    }
  },
  auditStatus: {
    draft: '草稿',
    pending: '待审核',
    activated: '已激活',
    rejected: '已驳回',
    unknown: '未知'
  },
  businessStatus: {
    title: '经营状态调整',
    targetStatus: '目标状态',
    closureReason: '歇业原因',
    closureReasonText: '补充说明',
    closureReasonTextPlaceholder: '请输入补充说明',
    forceClosedTip: '当前门店已被平台强制关闭，无法由租户自行调整。',
    rules: {
      status: '请选择目标状态',
      reason: '请选择歇业原因'
    },
    open: '营业中',
    resting: '休息中',
    forceClosed: '强制关闭',
    unknown: '未知'
  },
  ownership: {
    same: '同一主体',
    different: '不同主体'
  },
  closureReason: {
    equipment: '设备维护',
    vacation: '负责人休假',
    outOfStock: '缺货',
    temporarilyClosed: '临时歇业',
    other: '其他'
  },
  status: {
    closed: '已关闭',
    preparing: '筹备中',
    operating: '营业中',
    suspended: '已停业'
  },
  action: {
    save: '保存',
    edit: '编辑',
    delete: '删除',
    refresh: '刷新'
  },
  message: {
    createSuccess: '创建成功',
    updateSuccess: '更新成功',
    deleteSuccess: '删除成功',
    statusUpdated: '经营状态已更新',
    submitAuditSuccess: '审核已提交'
  },
  audit: {
    stats: {
      pending: '待审核',
      overdue: '超时待审',
      approved: '已通过',
      rejected: '已驳回',
      avgProcessing: '平均处理时长(小时)'
    },
    search: {
      keyword: '关键词',
      keywordPlaceholder: '门店名称/商户名称',
      tenantId: '租户ID',
      tenantIdPlaceholder: '请输入租户ID',
      dateRange: '提交时间',
      dateRangeStart: '开始日期',
      dateRangeEnd: '结束日期',
      overdueOnly: '仅显示超时'
    },
    table: {
      storeName: '门店名称',
      storeCode: '门店编码',
      tenantName: '所属租户',
      merchantName: '商户名称',
      ownershipType: '主体类型',
      submittedAt: '提交时间',
      waitingDays: '等待天数',
      qualificationCount: '资质数量',
      overdue: '超时状态'
    },
    action: {
      detail: '查看详情',
      approve: '审核通过',
      reject: '审核驳回',
      riskControl: '风控操作'
    },
    overdue: '超时',
    notOverdue: '正常',
    detail: {
      title: '审核详情',
      empty: '暂无数据',
      loadFailed: '加载审核详情失败',
      viewFile: '查看文件',
      tabs: {
        basic: '基本信息',
        qualification: '资质信息',
        history: '审核记录'
      },
      sections: {
        tenant: '租户信息',
        merchant: '商户信息'
      },
      fields: {
        storeName: '门店名称',
        storeCode: '门店编码',
        auditStatus: '审核状态',
        ownershipType: '主体类型',
        phone: '联系电话',
        address: '门店地址',
        submittedAt: '提交时间',
        signboard: '门头招牌',
        tenantName: '租户名称',
        tenantContact: '联系人',
        tenantPhone: '联系电话',
        merchantName: '商户名称',
        merchantLegal: '法人名称',
        merchantCredit: '社会信用代码',
        file: '资质文件'
      }
    },
    history: {
      action: '动作',
      operator: '操作人',
      remark: '备注',
      createdAt: '时间'
    },
    approve: {
      prompt: '可填写审核备注（可选）',
      placeholder: '请输入审核备注',
      success: '审核已通过'
    },
    reject: {
      title: '审核驳回',
      reason: '驳回原因',
      reasonText: '补充说明',
      reasonTextPlaceholder: '请输入补充说明',
      remark: '审核备注',
      remarkPlaceholder: '请输入审核备注',
      success: '审核已驳回',
      rules: {
        reason: '请选择驳回原因',
        reasonText: '请输入驳回原因补充说明'
      },
      reasonOptions: {
        licenseMissing: '证照缺失',
        photoBlur: '证照模糊',
        inconsistent: '信息不一致',
        other: '其他'
      }
    },
    riskControl: {
      title: '风控操作',
      storeName: '当前门店：{name}',
      action: '操作类型',
      forceClose: '强制关闭',
      reopen: '解除关闭',
      reason: '关闭原因',
      reasonPlaceholder: '请输入关闭原因',
      remark: '备注',
      remarkPlaceholder: '请输入备注',
      forceCloseSuccess: '门店已强制关闭',
      reopenSuccess: '门店已解除强制关闭',
      rules: {
        action: '请选择操作类型',
        reason: '请输入关闭原因'
      }
    }
  },
  alerts: {
    summary: {
      expiringSoon: '即将过期',
      expired: '已过期'
    },
    search: {
      tenantId: '租户ID',
      tenantIdPlaceholder: '请输入租户ID',
      daysThreshold: '预警阈值(天)',
      expired: '过期状态'
    },
    table: {
      storeName: '门店名称',
      storeCode: '门店编码',
      tenantName: '所属租户',
      qualificationType: '资质类型',
      expiresAt: '到期时间',
      daysUntilExpiry: '剩余天数',
      status: '状态',
      businessStatus: '经营状态'
    },
    status: {
      expiring: '即将过期',
      expired: '已过期'
    }
  }
}
