fix(i18n): merge duplicate opencodeGo locale blocks after upstream rebase

This commit is contained in:
alfadb
2026-09-23 15:26:44 +08:00
parent daf6cbb5d9
commit 0c860e81e1
2 changed files with 50 additions and 54 deletions
+25 -27
View File
@@ -173,6 +173,31 @@ export default {
restoreDefaults: 'Restore defaults',
fallback: 'Unmatched models → Chat Completions (/v1/chat/completions)',
},
title: 'OpenCode Go usage',
panelHint: 'Usage windows reported by the upstream OpenCode Go account. Refreshed on demand or automatically when enabled.',
notRefreshed: 'Not refreshed',
refreshNow: 'Refresh usage',
autoRefresh: 'Automatic usage refresh',
autoRefreshHint: 'Runs only when the account switch and the global switch are both enabled.',
rolling: '5 hour',
rollingShort: '5h',
weekly: 'Week',
weeklyShort: '7d',
monthly: 'Month',
monthlyShort: '1m',
status: 'Status',
updatedAt: 'Updated',
ok: 'Current',
unauthorized: 'Session expired',
failed: 'Refresh failed',
windowWithReset: '{percent} used, resets {reset}',
loadFailed: 'Failed to load OpenCode Go usage settings',
autoRefreshFailed: 'Failed to update automatic usage refresh',
refreshSuccess: 'OpenCode Go usage refreshed',
refreshFailed: 'Failed to refresh OpenCode Go usage',
errors: {
OPENCODE_GO_USAGE_REFRESH_RATE_LIMITED: 'Refresh is limited. Try again in {retry_after_seconds} seconds.'
}
},
types: {
oauth: 'OAuth',
@@ -299,33 +324,6 @@ export default {
OLLAMA_CLOUD_USAGE_REFRESH_RATE_LIMITED: 'Refresh is limited. Try again in {retry_after_seconds} seconds.'
}
},
opencodeGo: {
title: 'OpenCode Go usage',
panelHint: 'Usage windows reported by the upstream OpenCode Go account. Refreshed on demand or automatically when enabled.',
notRefreshed: 'Not refreshed',
refreshNow: 'Refresh usage',
autoRefresh: 'Automatic usage refresh',
autoRefreshHint: 'Runs only when the account switch and the global switch are both enabled.',
rolling: '5 hour',
rollingShort: '5h',
weekly: 'Week',
weeklyShort: '7d',
monthly: 'Month',
monthlyShort: '1m',
status: 'Status',
updatedAt: 'Updated',
ok: 'Current',
unauthorized: 'Session expired',
failed: 'Refresh failed',
windowWithReset: '{percent} used, resets {reset}',
loadFailed: 'Failed to load OpenCode Go usage settings',
autoRefreshFailed: 'Failed to update automatic usage refresh',
refreshSuccess: 'OpenCode Go usage refreshed',
refreshFailed: 'Failed to refresh OpenCode Go usage',
errors: {
OPENCODE_GO_USAGE_REFRESH_RATE_LIMITED: 'Refresh is limited. Try again in {retry_after_seconds} seconds.'
}
},
upstreamBilling: {
trustWarning: 'This rate is declared by the upstream site for the current API key. Sub2API cannot verify that it matches actual charges. The upstream site or an intermediary may return forged, stale, or modified data. Verify it against bills, balance changes, and actual usage.',
autoProbe: 'Automatically probe upstream declared rate',
+25 -27
View File
@@ -175,33 +175,6 @@ export default {
OLLAMA_CLOUD_USAGE_REFRESH_RATE_LIMITED: '刷新过于频繁,请在 {retry_after_seconds} 秒后重试。'
}
},
opencodeGo: {
title: 'OpenCode Go 用量',
panelHint: '上游 OpenCode Go 账号上报的用量窗口。可手动刷新,或开启自动刷新。',
notRefreshed: '尚未刷新',
refreshNow: '刷新用量',
autoRefresh: '自动刷新用量',
autoRefreshHint: '只有账号开关和全局开关同时启用时才会定时刷新。',
rolling: '5 小时',
rollingShort: '5h',
weekly: '周',
weeklyShort: '7d',
monthly: '月',
monthlyShort: '1m',
status: '状态',
updatedAt: '更新时间',
ok: '正常',
unauthorized: '会话已过期',
failed: '刷新失败',
windowWithReset: '已用 {percent},{reset} 重置',
loadFailed: '加载 OpenCode Go 用量设置失败',
autoRefreshFailed: '更新自动刷新设置失败',
refreshSuccess: 'OpenCode Go 用量已刷新',
refreshFailed: '刷新 OpenCode Go 用量失败',
errors: {
OPENCODE_GO_USAGE_REFRESH_RATE_LIMITED: '刷新过于频繁,请在 {retry_after_seconds} 秒后重试。'
}
},
upstreamBilling: {
trustWarning: '此倍率由上游站点针对当前 API Key 自行声明。Sub2API 无法验证该值是否与实际扣费一致;上游站点或中间代理可能返回伪造、过期或被篡改的数据。请结合账单、余额变化和实际用量自行核验。',
autoProbe: '自动探测上游声明倍率',
@@ -403,6 +376,31 @@ export default {
restoreDefaults: '恢复默认',
fallback: '未命中以上规则 → Chat Completions(/v1/chat/completions)',
},
title: 'OpenCode Go 用量',
panelHint: '上游 OpenCode Go 账号上报的用量窗口。可手动刷新,或开启自动刷新。',
notRefreshed: '尚未刷新',
refreshNow: '刷新用量',
autoRefresh: '自动刷新用量',
autoRefreshHint: '只有账号开关和全局开关同时启用时才会定时刷新。',
rolling: '5 小时',
rollingShort: '5h',
weekly: '周',
weeklyShort: '7d',
monthly: '月',
monthlyShort: '1m',
status: '状态',
updatedAt: '更新时间',
ok: '正常',
unauthorized: '会话已过期',
failed: '刷新失败',
windowWithReset: '已用 {percent},{reset} 重置',
loadFailed: '加载 OpenCode Go 用量设置失败',
autoRefreshFailed: '更新自动刷新设置失败',
refreshSuccess: 'OpenCode Go 用量已刷新',
refreshFailed: '刷新 OpenCode Go 用量失败',
errors: {
OPENCODE_GO_USAGE_REFRESH_RATE_LIMITED: '刷新过于频繁,请在 {retry_after_seconds} 秒后重试。'
}
},
types: {
oauth: 'OAuth',