Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions src/i18n/ja.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import type { MessageKey } from './locales/zh-CN';

export const jaOverrides = {
'config.software.defaultTerminal': '既定のターミナル',
'config.software.defaultTerminalDescription': 'CLI エージェントの起動に使用するターミナルアプリ',
'config.software.terminal.auto': '自動選択',
'apiAccess.models.add': 'カスタムモデルを追加',
'apiAccess.models.namePlaceholder': 'モデル名(例: gpt-4o)',
'apiAccess.models.aliasPlaceholder': 'モデル別名(任意)',
Expand Down Expand Up @@ -477,6 +480,27 @@ export const jaOverrides = {
'authFiles.priority.hint': '整数のみ指定できます。値が大きいほど優先度が高くなります。空欄または 0 で既定値に戻ります。',
'authFiles.priority.invalid': '有効な整数の優先度を入力してください',
'authFiles.priority.updated': '{name} の優先度を更新しました',
'authFiles.accountSwitch.button': 'アカウント切替',
'authFiles.accountSwitch.open': 'クォータの推奨または手動で同一プロバイダーのアカウントを切り替えます',
'authFiles.accountSwitch.unavailable': '同じプロバイダーに、有効でクォータ照会対応のアカウントが 2 件以上必要です',
'authFiles.accountSwitch.title': '優先アカウントを切替',
'authFiles.accountSwitch.provider': 'プロバイダー',
'authFiles.accountSwitch.refresh': 'クォータを更新',
'authFiles.accountSwitch.hint': '最も制約の厳しいクォータ枠の残量が多いアカウントを推奨します。切替は新しいセッションだけに反映されます。',
'authFiles.accountSwitch.accounts': '切替可能なアカウント',
'authFiles.accountSwitch.recommended': 'クォータ推奨',
'authFiles.accountSwitch.current': '現在の優先',
'authFiles.accountSwitch.score': '最小残量 {percent}%',
'authFiles.accountSwitch.quota.idle': '未照会',
'authFiles.accountSwitch.quota.loading': 'クォータ照会中',
'authFiles.accountSwitch.quota.success': '比較可能なクォータなし',
'authFiles.accountSwitch.quota.error': 'クォータ取得失敗',
'authFiles.accountSwitch.noQuota': '比較可能なクォータ結果がありません。一意の優先アカウントがある場合は選択を維持し、それ以外は手動で選択してください。',
'authFiles.accountSwitch.selectRequired': '優先するアカウントを選択してください',
'authFiles.accountSwitch.priorityOverflow': '現在の優先度が安全な整数上限に達しています。先に手動でリセットしてください。',
'authFiles.accountSwitch.switched': '{provider} の優先アカウントを {name} に切り替えました',
'authFiles.accountSwitch.partial': '対象アカウントは有効ですが、以前の優先度 {count} 件をリセットできませんでした:{names}',
'authFiles.accountSwitch.confirm': '優先アカウントに設定',
'authFiles.uploaded': '認証ファイルを {count} 件アップロードしました',
'authFiles.uploadFailed': '{count} 件のファイルをアップロードできませんでした:{errors}',
'authFiles.notice.enabled': '認証ファイルを有効にしました',
Expand Down
21 changes: 21 additions & 0 deletions src/i18n/locales/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,27 @@ export const en: Record<MessageKey, string> = {
'authFiles.priority.hint': 'Integers only. Larger values have higher priority. Leave blank or enter 0 to restore the default.',
'authFiles.priority.invalid': 'Enter a valid integer priority',
'authFiles.priority.updated': 'Priority updated for {name}',
'authFiles.accountSwitch.button': 'Switch Account',
'authFiles.accountSwitch.open': 'Use quota guidance or manually switch accounts within one provider',
'authFiles.accountSwitch.unavailable': 'Add at least two enabled, quota-aware accounts for the same provider',
'authFiles.accountSwitch.title': 'Switch Preferred Account',
'authFiles.accountSwitch.provider': 'Provider',
'authFiles.accountSwitch.refresh': 'Refresh Quota',
'authFiles.accountSwitch.hint': 'The default recommendation maximizes the most constrained quota window. Switching affects new sessions only; bound sessions keep their current account.',
'authFiles.accountSwitch.accounts': 'Switchable accounts',
'authFiles.accountSwitch.recommended': 'Quota Pick',
'authFiles.accountSwitch.current': 'Current Priority',
'authFiles.accountSwitch.score': 'Minimum {percent}% left',
'authFiles.accountSwitch.quota.idle': 'Not queried',
'authFiles.accountSwitch.quota.loading': 'Querying quota',
'authFiles.accountSwitch.quota.success': 'No comparable quota',
'authFiles.accountSwitch.quota.error': 'Quota unavailable',
'authFiles.accountSwitch.noQuota': 'No comparable quota result was returned. A unique preferred account stays selected; otherwise, select one manually.',
'authFiles.accountSwitch.selectRequired': 'Select the account to prefer',
'authFiles.accountSwitch.priorityOverflow': 'The current priority reached the safe integer limit. Reset it manually before switching.',
'authFiles.accountSwitch.switched': 'Preferred {provider} account switched to {name}',
'authFiles.accountSwitch.partial': 'The target account is active, but {count} previous priorities could not be reset: {names}',
'authFiles.accountSwitch.confirm': 'Set as Preferred',
'authFiles.uploaded': 'Uploaded {count} authentication files',
'authFiles.uploadFailed': '{count} files failed to upload: {errors}',
'authFiles.notice.enabled': 'Authentication file enabled',
Expand Down
21 changes: 21 additions & 0 deletions src/i18n/locales/zh-CN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,27 @@ export const zhCN = {
'authFiles.priority.hint': '仅支持整数;数值越大优先级越高。留空或填写 0 恢复默认。',
'authFiles.priority.invalid': '请输入有效的整数优先级',
'authFiles.priority.updated': '{name} 的优先级已更新',
'authFiles.accountSwitch.button': '切换账号',
'authFiles.accountSwitch.open': '按额度推荐或手动切换同一提供商账号',
'authFiles.accountSwitch.unavailable': '需要同一提供商下至少两个已启用且支持额度查询的账号',
'authFiles.accountSwitch.title': '切换优先账号',
'authFiles.accountSwitch.provider': '提供商',
'authFiles.accountSwitch.refresh': '刷新额度',
'authFiles.accountSwitch.hint': '默认推荐最紧张额度窗口剩余最多的账号。切换只影响新会话,已绑定会话保持原账号。',
'authFiles.accountSwitch.accounts': '可切换账号',
'authFiles.accountSwitch.recommended': '额度推荐',
'authFiles.accountSwitch.current': '当前优先',
'authFiles.accountSwitch.score': '最低剩余 {percent}%',
'authFiles.accountSwitch.quota.idle': '等待查询',
'authFiles.accountSwitch.quota.loading': '额度查询中',
'authFiles.accountSwitch.quota.success': '无可比额度',
'authFiles.accountSwitch.quota.error': '额度获取失败',
'authFiles.accountSwitch.noQuota': '没有可比较的额度结果;如存在唯一优先账号则保持选择,否则请手动选择。',
'authFiles.accountSwitch.selectRequired': '请选择要优先使用的账号',
'authFiles.accountSwitch.priorityOverflow': '现有优先级已达到安全整数上限,请先手动重置优先级',
'authFiles.accountSwitch.switched': '已将 {provider} 的优先账号切换为 {name}',
'authFiles.accountSwitch.partial': '目标账号已生效,但 {count} 个旧账号优先级重置失败:{names}',
'authFiles.accountSwitch.confirm': '设为优先账号',
'authFiles.uploaded': '已上传 {count} 个认证文件',
'authFiles.uploadFailed': '{count} 个文件上传失败:{errors}',
'authFiles.notice.enabled': '认证文件已启用',
Expand Down
Loading