mirror of
https://github.com/lWolvesl/antigravity-usage-monitor.git
synced 2026-11-27 01:19:25 +08:00
fix(panel): humanize 23 user-facing copy strings for clarity and readability
- Replace raw identifier 'user_rule' with '用户规则' in context legend - Remove dev jargon: '异步保存' → '保存', '监控口径' → '配额监控', '统计维度' → '计算方式', '全量矩阵' → '明细', '折算' → '预估' - Expand terse abbreviations: '缓/累' → '缓存/累计', '有效' → '有效样本' - Simplify settings option labels: shorten weekly mode and model display dropdown descriptions - Rewrite speed exclusion reasons in formatters for non-technical users - Soften refresh button aria-label: '强制同步' → '刷新' - Bump plugin version to 1.3.1
This commit is contained in:
@@ -50,13 +50,13 @@ export function formatUsd(amount, { precise = false, estimated = false, unpriced
|
||||
|
||||
export function speedReasonText(reason) {
|
||||
return ({
|
||||
compaction: '自动压缩不计均速',
|
||||
compaction: '上下文自动压缩,不纳入均速',
|
||||
incomplete_or_invalid_timing: '未完成或计时缺失',
|
||||
invalid_output_tokens: '输出 Token 计数无效',
|
||||
inconsistent_timing: '原生首响应与总计时不一致',
|
||||
invalid_output_tokens: '输出 Token 数异常',
|
||||
inconsistent_timing: '首字节响应与总耗时数据不一致',
|
||||
short_timing: '计时过短,暂不测速',
|
||||
short_sample: '短样本,不计均速',
|
||||
legacy_cache: '旧缓存,等待重新读取',
|
||||
short_sample: '样本太少,暂不计入均速',
|
||||
legacy_cache: '缓存已过期,等待刷新',
|
||||
})[reason] || '';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user