opencode-go-usage-tui 1.3.0 → 1.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/i18n.ts CHANGED
@@ -36,14 +36,14 @@ const ZH_T = {
36
36
  onboardConfigTitle: "Welcome to Go Usage / 欢迎使用 Go 用量",
37
37
  onboardConfigDesc: "First-time setup / 首次使用需配置账号",
38
38
  setupCanceled: "已取消配置,输入 /go-config 可重新设置",
39
- // ── 模型价格表 ──
40
- priceTitle: "模型价格",
41
- priceLoading: "抓取价格中...",
42
- priceError: "价格抓取失败",
39
+ // ── 模型限额表 ──
40
+ priceTitle: "模型限额",
41
+ priceLoading: "抓取限额中...",
42
+ priceError: "限额抓取失败",
43
43
  priceUpdated: "更新时间",
44
- priceChanged: "价格有变化",
44
+ priceChanged: "限额有变化",
45
45
  priceNoChange: "无变化",
46
- priceChangesSummary: "{t} 项变化:{a} 新增 / {r} 下架 / {p} 价格 / {l} 限额",
46
+ priceChangesSummary: "{t}项变化 新增{a}/下架{r}/限额{l}",
47
47
  priceVariantTag: "{n}个档位",
48
48
  priceInput: "输入",
49
49
  priceOutput: "输出",
@@ -54,24 +54,32 @@ const ZH_T = {
54
54
  priceReqWeek: "周请求",
55
55
  priceReqMonth: "月请求",
56
56
  priceModelCol: "模型",
57
- priceReqs: "请求数(5h/周/月)",
57
+ priceReqs: "上限($)",
58
58
  priceSdk: "SDK",
59
59
  priceDiffUp: "↑{v}",
60
60
  priceDiffDown: "↓{v}",
61
61
  priceDiffSame: "=",
62
- priceChartTitle: "价格变化记录",
62
+ priceChartTitle: "限额变化记录",
63
63
  priceChartEmpty: "暂无变化记录",
64
64
  priceChartAdded: "新增: {n}",
65
65
  priceChartChanged: "变化: {n}",
66
66
  priceChartRemoved: "移除: {n}",
67
- priceCollapse: "价格表",
68
- priceExpand: "价格表",
67
+ priceCollapse: "限额表",
68
+ priceExpand: "限额表",
69
+ priceRetention: "保留期",
70
+ priceTraining: "训练",
71
+ priceTier: "档位",
72
+ changelogTitle: "最近变化",
73
+ typeAdded: "新增",
74
+ typeRemoved: "下架",
75
+ typePricing: "价格",
76
+ typeLimits: "限额",
69
77
  settingsTitle: "Go 用量设置",
70
78
  settingsDesc: "关注模型、刷新间隔设置",
71
79
  settingsFocus: "关注的模型",
72
80
  settingsRefresh: "刷新间隔 (秒)",
73
81
  settingsRefreshUsage: "用量刷新间隔 (秒)",
74
- settingsRefreshPricing: "价格刷新间隔 (秒)",
82
+ settingsRefreshPricing: "限额刷新间隔 (秒)",
75
83
  settingsSaved: "设置已保存",
76
84
  settingsCanceled: "已取消设置",
77
85
  focusAll: "全部选择",
@@ -120,14 +128,14 @@ const EN_T: Translation = {
120
128
  onboardConfigTitle: "Welcome to Go Usage / 欢迎使用 Go 用量",
121
129
  onboardConfigDesc: "First-time setup / 首次使用需配置账号",
122
130
  setupCanceled: "Setup canceled, run /go-config to reconfigure",
123
- // ── 模型价格表 ──
124
- priceTitle: "Model Pricing",
125
- priceLoading: "Fetching pricing...",
126
- priceError: "Pricing fetch failed",
127
- priceUpdated: "Pricing updated",
128
- priceChanged: "Pricing changed",
131
+ // ── 模型限额表 ──
132
+ priceTitle: "Model Limits",
133
+ priceLoading: "Fetching limits...",
134
+ priceError: "Limit fetch failed",
135
+ priceUpdated: "Limits updated",
136
+ priceChanged: "Limits changed",
129
137
  priceNoChange: "No changes",
130
- priceChangesSummary: "{t} change(s): {a} added / {r} removed / {p} price / {l} limit",
138
+ priceChangesSummary: "{t} changes +{a} -{r} ~{l}",
131
139
  priceVariantTag: "{n} tiers",
132
140
  priceInput: "In",
133
141
  priceOutput: "Out",
@@ -138,24 +146,32 @@ const EN_T: Translation = {
138
146
  priceReqWeek: "Wk req",
139
147
  priceReqMonth: "Mo req",
140
148
  priceModelCol: "Model",
141
- priceReqs: "Requests (5h/wk/mo)",
149
+ priceReqs: "Limit ($)",
142
150
  priceSdk: "SDK",
143
151
  priceDiffUp: "↑{v}",
144
152
  priceDiffDown: "↓{v}",
145
153
  priceDiffSame: "=",
146
- priceChartTitle: "Price change history",
154
+ priceChartTitle: "Limit change history",
147
155
  priceChartEmpty: "No change history yet",
148
156
  priceChartAdded: "Added: {n}",
149
157
  priceChartChanged: "Changed: {n}",
150
158
  priceChartRemoved: "Removed: {n}",
151
- priceCollapse: "Pricing",
152
- priceExpand: "Pricing",
159
+ priceCollapse: "Limits",
160
+ priceExpand: "Limits",
161
+ priceRetention: "Retention",
162
+ priceTraining: "Training",
163
+ priceTier: "Tier",
164
+ changelogTitle: "Recent changes",
165
+ typeAdded: "Added",
166
+ typeRemoved: "Removed",
167
+ typePricing: "Pricing",
168
+ typeLimits: "Limit",
153
169
  settingsTitle: "Go Usage Settings",
154
170
  settingsDesc: "Focused models, refresh interval settings",
155
171
  settingsFocus: "Focused models",
156
172
  settingsRefresh: "Refresh interval (sec)",
157
173
  settingsRefreshUsage: "Usage refresh interval (sec)",
158
- settingsRefreshPricing: "Pricing refresh interval (sec)",
174
+ settingsRefreshPricing: "Limit refresh interval (sec)",
159
175
  settingsSaved: "Settings saved",
160
176
  settingsCanceled: "Settings canceled",
161
177
  focusAll: "Select all",