mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-11-24 23:21:18 +00:00
fix(frontend): preserve legacy Codex config mode
This commit is contained in:
1 parent
f09d63f54e
commit
ad3522e34b
4 files changed
+207
-9
No files matched your search
@@ -137,6 +137,10 @@ export default {
|
||||
noGroupDescription: 'This API key has not been assigned to a group. Please click the group column in the key list to assign one before viewing the configuration.',
|
||||
openai: {
|
||||
description: 'Add the following configuration files to your Codex CLI config directory.',
|
||||
authModeTitle: 'Codex authentication mode',
|
||||
authModeDescription: 'Compatibility mode keeps the existing setup for older Codex clients. API Key Mode enables the client-side image executor.',
|
||||
authModeLegacy: 'Compatibility mode',
|
||||
authModeApiKey: 'API Key Mode',
|
||||
configTomlHint: 'Make sure the following content is at the beginning of the config.toml file',
|
||||
note: 'Make sure the config directory exists. macOS/Linux users can run mkdir -p ~/.codex to create it.',
|
||||
noteWindows: 'Press Win+R and enter %userprofile%\\.codex to open the config directory. Create it manually if it does not exist.',
|
||||
|
||||
@@ -137,6 +137,10 @@ export default {
|
||||
'此 API 密钥尚未分配分组,请先在密钥列表中点击分组列进行分配,然后才能查看使用配置。',
|
||||
openai: {
|
||||
description: '将以下配置文件添加到 Codex CLI 配置目录中。',
|
||||
authModeTitle: 'Codex 认证模式',
|
||||
authModeDescription: '兼容模式保留旧版 Codex 配置;API Key Mode 用于启用客户端图片执行器。',
|
||||
authModeLegacy: '兼容模式',
|
||||
authModeApiKey: 'API Key Mode',
|
||||
configTomlHint: '请确保以下内容位于 config.toml 文件的开头部分',
|
||||
note: '请确保配置目录存在。macOS/Linux 用户可运行 mkdir -p ~/.codex 创建目录。',
|
||||
noteWindows:
|
||||
|
||||
Reference in new issue
Block a user