mirror of
https://github.com/router-for-me/Cli-Proxy-API-Management-Center.git
synced 2026-09-24 16:04:35 +08:00
fix(auth-files): keep codex websocket labels translated
This commit is contained in:
@@ -144,14 +144,14 @@ export function AuthFilesPrefixProxyEditorModal(props: AuthFilesPrefixProxyEdito
|
||||
/>
|
||||
{editor.providerKey === 'codex' && (
|
||||
<div className="form-group">
|
||||
<label>{t('ai_providers.codex_websockets_label')}</label>
|
||||
<label>{t('auth_files.codex_websockets_label')}</label>
|
||||
<ToggleSwitch
|
||||
checked={editor.websockets}
|
||||
onChange={(value) => onChange('websockets', value)}
|
||||
disabled={disableControls || editor.saving || !editor.json}
|
||||
ariaLabel={t('ai_providers.codex_websockets_label')}
|
||||
ariaLabel={t('auth_files.codex_websockets_label')}
|
||||
/>
|
||||
<div className="hint">{t('ai_providers.codex_websockets_hint')}</div>
|
||||
<div className="hint">{t('auth_files.codex_websockets_hint')}</div>
|
||||
</div>
|
||||
)}
|
||||
<div className="form-group">
|
||||
|
||||
@@ -331,6 +331,8 @@
|
||||
"priority_label": "Priority (priority)",
|
||||
"priority_placeholder": "e.g. 10 or -1",
|
||||
"priority_hint": "Integers only. Invalid values are ignored. Larger value means higher priority.",
|
||||
"codex_websockets_label": "WebSockets (websockets)",
|
||||
"codex_websockets_hint": "Enable Responses API websocket transport for this Codex credential.",
|
||||
"excluded_models_label": "Excluded models (excluded_models)",
|
||||
"excluded_models_placeholder": "Comma or newline separated, e.g. model-a, gpt-5-*, *-preview",
|
||||
"excluded_models_hint": "Saved as an array and normalized by trim/lowercase/dedup/sort.",
|
||||
|
||||
@@ -331,6 +331,8 @@
|
||||
"priority_label": "Приоритет (priority)",
|
||||
"priority_placeholder": "например: 10 или -1",
|
||||
"priority_hint": "Только целые числа. Некорректные значения игнорируются. Чем больше число, тем выше приоритет.",
|
||||
"codex_websockets_label": "WebSockets (websockets)",
|
||||
"codex_websockets_hint": "Включает websocket-транспорт Responses API для этих учётных данных Codex.",
|
||||
"excluded_models_label": "Исключённые модели (excluded_models)",
|
||||
"excluded_models_placeholder": "Через запятую или с новой строки, например: model-a, gpt-5-*, *-preview",
|
||||
"excluded_models_hint": "Сохраняется как массив; значения trim/нижний регистр/без дублей/с сортировкой.",
|
||||
|
||||
@@ -331,6 +331,8 @@
|
||||
"priority_label": "优先级(priority)",
|
||||
"priority_placeholder": "例如: 10 或 -1",
|
||||
"priority_hint": "仅支持整数;非法值会被忽略。数值越大优先级越高。",
|
||||
"codex_websockets_label": "WebSockets(websockets)",
|
||||
"codex_websockets_hint": "为该 Codex 凭证开启 Responses API 的 websocket 传输。",
|
||||
"excluded_models_label": "排除模型(excluded_models)",
|
||||
"excluded_models_placeholder": "用逗号或换行分隔,例如: model-a, gpt-5-*, *-preview",
|
||||
"excluded_models_hint": "保存为数组;会自动 trim、小写、去重并排序。",
|
||||
|
||||
@@ -331,6 +331,8 @@
|
||||
"priority_label": "優先順序(priority)",
|
||||
"priority_placeholder": "例如: 10 或 -1",
|
||||
"priority_hint": "僅支援整數;無效值會被忽略。數值越大優先順序越高。",
|
||||
"codex_websockets_label": "WebSockets(websockets)",
|
||||
"codex_websockets_hint": "為該 Codex 憑證開啟 Responses API 的 websocket 傳輸。",
|
||||
"excluded_models_label": "排除模型(excluded_models)",
|
||||
"excluded_models_placeholder": "用逗號或換行分隔,例如: model-a, gpt-5-*, *-preview",
|
||||
"excluded_models_hint": "儲存為陣列;會自動 trim、小寫、去重並排序。",
|
||||
|
||||
Reference in New Issue
Block a user