import type { TranslationEntry } from "@/i18n";

const zhUsage: Record<string, TranslationEntry> = {
  "usage.pageTitle": {
    message: "用量",
    description: "Usage page heading and browser title",
  },
  "usage.pageSubtitle": {
    message: "工作区本月累计消耗",
    description: "Usage page subtitle beneath the heading",
  },
  "usage.computeTitle": {
    message: "计算",
    description: "Compute section heading on the Usage page",
  },
  "usage.computeDescription": {
    message: "按服务和套餐统计的实例小时数",
    description: "Compute section description",
  },
  "usage.bandwidthTitle": {
    message: "带宽",
    description: "Bandwidth section heading on the Usage page",
  },
  "usage.bandwidthDescription": {
    message: "Traefik 计量的出站流量",
    description: "Bandwidth section description",
  },
  "usage.buildTitle": {
    message: "构建分钟数",
    description: "Build minutes section heading on the Usage page",
  },
  "usage.buildDescription": {
    message: "构建消耗的流水线分钟数",
    description: "Build section description",
  },
  "usage.colService": {
    message: "服务",
    description: "Table column header: service name",
  },
  "usage.colPlan": {
    message: "套餐",
    description: "Table column header: service plan/tier",
  },
  "usage.colHours": {
    message: "小时数",
    description: "Table column header: compute hours",
  },
  "usage.colBandwidth": {
    message: "带宽",
    description: "Table column header: egress bandwidth",
  },
  "usage.colMinutes": {
    message: "分钟数",
    description: "Table column header: build minutes",
  },
  "usage.totalRow": {
    message: "合计",
    description: "Summary row label in usage tables",
  },
  "usage.empty": {
    message: "本月暂无用量记录。",
    description: "Empty-state message when a section has no data",
  },
  "usage.errorTitle": {
    message: "无法加载用量数据",
    description: "Error state heading on the Usage page",
  },
};

export default zhUsage;
