/** * The `peak-pricing` namespace dictionaries: the composer-dock readout and its * hover breakdown. Wording follows DeepSeek's own announcement (高峰时段 / * 空闲时段) so the row reads as the same fact the price page states. */ /** Simplified Chinese dictionary (the key-set source of truth). */ export const zh = { 'period.peak': '高峰时段', 'period.offPeak': '空闲时段', 'switch.toPeak': '{time} 后进入高峰', 'switch.toOffPeak': '{time} 后进入空闲', 'cost.session': '本会话 {amount}', 'cost.unknownModel': '{model} 不在价目表', 'cost.noModel': '模型未知', 'tip.title': '计价明细', 'tip.model': '模型:{model}', 'tip.period': '当前:{period}({time} 后切换)', 'tip.rates': '费率({unit}/百万 tokens):命中 {hit} · 未命中 {miss} · 输出 {output}', 'tip.usage': '本会话用量:命中 {hit} · 未命中 {miss} · 输出 {output} tokens', 'tip.total': '累计费用:{amount}', 'tip.method': '每笔增量按其发生时段的费率计价,刷新页面后继续累计。', 'tip.unpriced': '另有 {tokens} tokens 在模型不在价目表时产生,未计入。', 'tip.windows': '高峰:北京时间周一至周五 09:00–12:00、14:00–18:00,其余时间(含周末)为空闲。', 'tip.chart': '缓存命中走势(每笔输入增量)', 'tip.chart.empty': '暂无输入增量,等待下一笔用量。', 'tip.estimate': '估算值,实际以 DeepSeek 账单为准。', } satisfies Record /** The peak-pricing key union. */ export type PricingKey = keyof typeof zh /** English dictionary, checked complete against the zh key set. */ export const en = { 'period.peak': 'Peak', 'period.offPeak': 'Off-peak', 'switch.toPeak': 'peak in {time}', 'switch.toOffPeak': 'off-peak in {time}', 'cost.session': 'session {amount}', 'cost.unknownModel': '{model} is not in the price table', 'cost.noModel': 'model unknown', 'tip.title': 'Pricing details', 'tip.model': 'Model: {model}', 'tip.period': 'Now: {period} (switches in {time})', 'tip.rates': 'Rates ({unit} per 1M tokens): hit {hit} · miss {miss} · output {output}', 'tip.usage': 'Session usage: hit {hit} · miss {miss} · output {output} tokens', 'tip.total': 'Accumulated: {amount}', 'tip.method': 'Each increment is priced at the rate in force when it arrived, and survives a reload.', 'tip.unpriced': 'Another {tokens} tokens arrived while the model was not in the price table and are not counted.', 'tip.windows': 'Peak: 09:00–12:00 and 14:00–18:00 Beijing time, Monday through Friday; everything else — weekends included — is off-peak.', 'tip.chart': 'Cache-hit trend (per input increment)', 'tip.chart.empty': 'No input increments yet.', 'tip.estimate': 'An estimate — your DeepSeek invoice is authoritative.', } satisfies Record