fix(i18n): rename "Write Common Config" checkbox to "Apply Common Config" (#4829)

* fix(i18n): rename "Write Common Config" checkbox to "Apply Common Config"

The original label "Write Common Config" (写入通用配置) was ambiguous
about data flow direction — it read as "write current config INTO the
common config" when the actual behavior is the reverse: merge the
saved common config snippet INTO this provider's config.

Rename to "Apply Common Config" across zh/zh-TW/en/ja, including all
hint/guide/notice references and component defaultValue fallbacks, to
make the action unambiguous. Also aligns the Gemini hint wording with
the claude/codex "when checked" phrasing.

* docs(ja): sync Japanese docs with renamed 'Apply Common Config' label

Codex review on #4829 pointed out the Japanese user manual and README
still referenced the old checkbox label after the rename.

- docs/user-manual/ja/2-providers/2.1-add.md: 共通設定を書き込み → 共通設定を適用
- README_JA.md: 共有設定を書き込む → 共有設定を適用
This commit is contained in:
Arc
2026-07-01 11:58:31 +08:00
committed by GitHub
parent ab3e628bad
commit f21d6f7a42
12 changed files with 44 additions and 44 deletions
+1 -1
View File
@@ -248,7 +248,7 @@ CC Switch は **Claude Code**、**Claude Desktop**、**Codex**、**Gemini CLI**
<details>
<summary><strong>プロバイダを切り替えた後、プラグイン設定が消えてしまいました。どうすればよいですか?</strong></summary>
CC Switch には「共有設定スニペット」機能があり、APIキーやエンドポイント以外の共通データをプロバイダ間で引き継ぐことができます。「プロバイダ編集」→「共有設定パネル」→「現在のプロバイダから抽出」をクリックして、すべての共通データを保存してください。新しいプロバイダを作成する際に「共有設定を書き込む」にチェック(デフォルトで有効)を入れれば、プラグインなどのデータが新しいプロバイダ設定に含まれます。すべての設定項目は、アプリ初回起動時にインポートされたデフォルトプロバイダに保存されており、失われることはありません。
CC Switch には「共有設定スニペット」機能があり、APIキーやエンドポイント以外の共通データをプロバイダ間で引き継ぐことができます。「プロバイダ編集」→「共有設定パネル」→「現在のプロバイダから抽出」をクリックして、すべての共通データを保存してください。新しいプロバイダを作成する際に「共有設定を適用」にチェック(デフォルトで有効)を入れれば、プラグインなどのデータが新しいプロバイダ設定に含まれます。すべての設定項目は、アプリ初回起動時にインポートされたデフォルトプロバイダに保存されており、失われることはありません。
</details>
+1 -1
View File
@@ -249,7 +249,7 @@ CC Switch 支持七个工具:**Claude Code**、**Claude Desktop**、**Codex**
<details>
<summary><strong>切换供应商之后我的插件配置怎么不见了?</strong></summary>
CC Switch 使用“通用配置片段”功能,在不同的供应商之间传递 Key 和请求地址之外的通用数据,您可以在“编辑供应商”菜单的“通用配置面板”里,点击“从当前供应商提取”,把所有的通用数据提取到通用配置中,之后在新建“供应商”的时候,只要勾选“写入通用配置”(默认勾选),就会把插件等数据写入到新的供应商配置中。您的所有配置项都会保存在运行本软件的时候,第一次导入的默认供应商里面,不会丢失。
CC Switch 使用“通用配置片段”功能,在不同的供应商之间传递 Key 和请求地址之外的通用数据,您可以在“编辑供应商”菜单的“通用配置面板”里,点击“从当前供应商提取”,把所有的通用数据提取到通用配置中,之后在新建“供应商”的时候,只要勾选“应用通用配置”(默认勾选),就会把插件等数据写入到新的供应商配置中。您的所有配置项都会保存在运行本软件的时候,第一次导入的默认供应商里面,不会丢失。
</details>
+1 -1
View File
@@ -554,7 +554,7 @@ When editing Claude providers, a set of **quick toggles** is available above the
When a toggle is unchecked, its corresponding config entry is removed entirely. Changes are reflected in the JSON editor in real-time.
Additionally, the **Write Common Config** checkbox enables merging a global config snippet into the provider. Click **Edit Common Config** to customize the shared snippet.
Additionally, the **Apply Common Config** checkbox enables merging a global config snippet into the provider. Click **Edit Common Config** to customize the shared snippet.
### Codex Local Routing and Model Mapping
+1 -1
View File
@@ -554,7 +554,7 @@ Claude プロバイダーの編集時、JSON エディタの上部に **クイ
トグルのチェックを外すと、対応する設定エントリが完全に削除されます。変更は JSON エディタにリアルタイムで反映されます。
また、**共通設定を書き込み** チェックボックスを有効にすると、グローバル設定スニペットをプロバイダーにマージできます。**共通設定を編集** をクリックして共有スニペットをカスタマイズできます。
また、**共通設定を適用** チェックボックスを有効にすると、グローバル設定スニペットをプロバイダーにマージできます。**共通設定を編集** をクリックして共有スニペットをカスタマイズできます。
### Codex ローカルルーティングとモデルマッピング
+1 -1
View File
@@ -554,7 +554,7 @@ v3.13.0 起新增的高级选项。默认情况下,CC Switch 会把配置的 `
取消勾选开关时,对应的配置项会被完全移除。更改会实时反映在 JSON 编辑器中。
此外,**写入通用配置** 复选框可将全局配置片段合并到供应商中。点击 **编辑通用配置** 可自定义共享的配置片段。
此外,**应用通用配置** 复选框可将全局配置片段合并到供应商中。点击 **编辑通用配置** 可自定义共享的配置片段。
### Codex 本地路由与模型映射
@@ -172,7 +172,7 @@ export function CommonConfigEditor({
/>
<span>
{t("claudeConfig.writeCommonConfig", {
defaultValue: "写入通用配置",
defaultValue: "应用通用配置",
})}
</span>
</label>
@@ -69,7 +69,7 @@ export const GeminiEnvSection: React.FC<GeminiEnvSectionProps> = ({
className="w-4 h-4 text-blue-500 bg-white dark:bg-gray-800 border-border-default rounded focus:ring-blue-500 dark:focus:ring-blue-400 focus:ring-2"
/>
{t("geminiConfig.writeCommonConfig", {
defaultValue: "写入通用配置",
defaultValue: "应用通用配置",
})}
</label>
</div>
+9 -9
View File
@@ -60,7 +60,7 @@
"commonConfig": {
"guideTitle": "What is a Common Config Snippet?",
"guidePurpose": "It lets you share non-sensitive settings (plugins, environment variables, etc.) across different providers. These settings won't be lost when you switch providers.",
"guideUsage": "How to use: ① Click \"Extract from Editor\" to save the common parts ② Check \"Write Common Config\" when creating a new provider",
"guideUsage": "How to use: ① Click \"Extract from Editor\" to save the common parts ② Check \"Apply Common Config\" when creating a new provider",
"guideReExtract": "If you've newly installed plugins or hooks, re-extract the common config so they sync to other providers.",
"guideReassurance": "Don't worry — your original configuration is safely stored in the default provider and won't be lost.",
"emptyTitle": "No common config snippet yet",
@@ -68,10 +68,10 @@
},
"claudeConfig": {
"configLabel": "Claude Code settings.json (JSON) *",
"writeCommonConfig": "Write Common Config",
"writeCommonConfig": "Apply Common Config",
"editCommonConfig": "Edit Common Config",
"editCommonConfigTitle": "Edit Common Config Snippet",
"commonConfigHint": "This snippet will be merged into settings.json when 'Write Common Config' is checked",
"commonConfigHint": "This snippet will be merged into settings.json when 'Apply Common Config' is checked",
"fullSettingsHint": "Full Claude Code settings.json content",
"extractFromCurrent": "Extract from Editor",
"extractNoCommonConfig": "No common config available to extract from editor",
@@ -155,7 +155,7 @@
"notes": "Notes",
"notesPlaceholder": "e.g., Company dedicated account",
"configJson": "Config JSON",
"writeCommonConfig": "Write common config",
"writeCommonConfig": "Apply Common Config",
"editCommonConfigButton": "Edit common config",
"configJsonHint": "Please fill in complete Claude Code configuration",
"editCommonConfigTitle": "Edit common config snippet",
@@ -311,7 +311,7 @@
},
"commonConfig": {
"title": "About Common Config",
"message": "The \"Common Config Snippet\" lets you share plugins, environment variables, and other settings across different providers — so they won't be lost when you switch.\n\nHow to use:\n① Edit a provider → click \"Edit Common Config\" → \"Extract from Editor\"\n② When creating a new provider, check \"Write Common Config\" (enabled by default)\n\nIf you've newly installed plugins or hooks, re-extract the common config to keep them in sync.",
"message": "The \"Common Config Snippet\" lets you share plugins, environment variables, and other settings across different providers — so they won't be lost when you switch.\n\nHow to use:\n① Edit a provider → click \"Edit Common Config\" → \"Extract from Editor\"\n② When creating a new provider, check \"Apply Common Config\" (enabled by default)\n\nIf you've newly installed plugins or hooks, re-extract the common config to keep them in sync.",
"confirm": "Got it"
}
},
@@ -1254,10 +1254,10 @@
"configTomlHint": "Codex config.toml configuration content",
"configTomlStorageHint": "Proxy takeover is showing the stored config, not the live config.toml.",
"proxyTakeoverStorageNotice": "💡 This app is under proxy takeover. You are editing the stored provider config; the live config is already temporarily managed by the proxy.",
"writeCommonConfig": "Write Common Config",
"writeCommonConfig": "Apply Common Config",
"editCommonConfig": "Edit Common Config",
"editCommonConfigTitle": "Edit Codex Common Config Snippet",
"commonConfigHint": "This snippet will be appended to the end of config.toml when 'Write Common Config' is checked",
"commonConfigHint": "This snippet will be appended to the end of config.toml when 'Apply Common Config' is checked",
"enableGoalMode": "Enable Goal mode",
"enableRemoteCompaction": "Enable remote compaction",
"remoteCompactionHint": "When enabled, the active model_providers entry name is written as OpenAI so Codex can try remote compaction.",
@@ -1306,10 +1306,10 @@
"envFileHint": "Configure Gemini environment variables in .env format",
"configJson": "Configuration File (config.json)",
"configJsonHint": "Configure Gemini extended parameters in JSON format (optional)",
"writeCommonConfig": "Write Common Config",
"writeCommonConfig": "Apply Common Config",
"editCommonConfig": "Edit Common Config",
"editCommonConfigTitle": "Edit Gemini Common Config Snippet",
"commonConfigHint": "This snippet writes to Gemini .env (GOOGLE_GEMINI_BASE_URL and GEMINI_API_KEY are not allowed)",
"commonConfigHint": "This snippet writes to Gemini .env when 'Apply Common Config' is checked (GOOGLE_GEMINI_BASE_URL and GEMINI_API_KEY are not allowed)",
"extractFromCurrent": "Extract from Editor",
"extractNoCommonConfig": "No common config available to extract from editor",
"extractFailed": "Extract failed: {{error}}",
+9 -9
View File
@@ -60,7 +60,7 @@
"commonConfig": {
"guideTitle": "共通設定スニペットとは?",
"guidePurpose": "異なるプロバイダー間でプラグインや環境変数などの非機密設定を共有するための機能です。プロバイダーを切り替えてもこれらの設定は失われません。",
"guideUsage": "使い方:① 「編集内容から抽出」をクリックして共通部分を保存 ② 新規プロバイダー作成時に「共通設定を書き込む」をチェック",
"guideUsage": "使い方:① 「編集内容から抽出」をクリックして共通部分を保存 ② 新規プロバイダー作成時に「共通設定を適用」をチェック",
"guideReExtract": "新しいプラグインや Hook をインストールした場合は、共通設定を再抽出して他のプロバイダーに同期してください。",
"guideReassurance": "ご安心ください:元の設定はデフォルトプロバイダーに安全に保存されており、失われることはありません。",
"emptyTitle": "共通設定スニペットがまだありません",
@@ -68,10 +68,10 @@
},
"claudeConfig": {
"configLabel": "Claude Code settings.json (JSON) *",
"writeCommonConfig": "共通設定を書き込む",
"writeCommonConfig": "共通設定を適用",
"editCommonConfig": "共通設定を編集",
"editCommonConfigTitle": "共通設定スニペットを編集",
"commonConfigHint": "「共通設定を書き込む」がオンのとき settings.json にマージされます",
"commonConfigHint": "「共通設定を適用」がオンのとき settings.json にマージされます",
"fullSettingsHint": "Claude Code の settings.json 全文",
"extractFromCurrent": "編集内容から抽出",
"extractNoCommonConfig": "編集内容から抽出できる共通設定がありません",
@@ -155,7 +155,7 @@
"notes": "メモ",
"notesPlaceholder": "例: 会社用アカウント",
"configJson": "Config JSON",
"writeCommonConfig": "共通設定を書き込む",
"writeCommonConfig": "共通設定を適用",
"editCommonConfigButton": "共通設定を編集",
"configJsonHint": "Claude Code の設定をすべて入力してください",
"editCommonConfigTitle": "共通設定スニペットを編集",
@@ -311,7 +311,7 @@
},
"commonConfig": {
"title": "共通設定について",
"message": "「共通設定スニペット」を使うと、プラグインや環境変数などの設定を異なるプロバイダー間で共有でき、切り替え時に失われることがありません。\n\n使い方:\n① プロバイダーを編集 →「共通設定を編集」→「編集内容から抽出」\n② 新規プロバイダー作成時に「共通設定を書き込む」をチェック(デフォルトでオン)\n\n新しいプラグインや Hook をインストールした場合は、共通設定を再抽出してください。",
"message": "「共通設定スニペット」を使うと、プラグインや環境変数などの設定を異なるプロバイダー間で共有でき、切り替え時に失われることがありません。\n\n使い方:\n① プロバイダーを編集 →「共通設定を編集」→「編集内容から抽出」\n② 新規プロバイダー作成時に「共通設定を適用」をチェック(デフォルトでオン)\n\n新しいプラグインや Hook をインストールした場合は、共通設定を再抽出してください。",
"confirm": "わかりました"
}
},
@@ -1254,10 +1254,10 @@
"configTomlHint": "Codex の config.toml 設定内容",
"configTomlStorageHint": "プロキシ引き継ぎ中は保存済みの config を表示しており、実際の config.toml ではありません。",
"proxyTakeoverStorageNotice": "💡 このアプリはプロキシ引き継ぎ中です。ここで編集しているのは保存済みのプロバイダー設定で、実際の live 設定はすでにプロキシが一時的に引き継いでいます。",
"writeCommonConfig": "共通設定を書き込む",
"writeCommonConfig": "共通設定を適用",
"editCommonConfig": "共通設定を編集",
"editCommonConfigTitle": "Codex 共通設定スニペットを編集",
"commonConfigHint": "「共通設定を書き込む」がオンの場合、config.toml の末尾に追記されます",
"commonConfigHint": "「共通設定を適用」がオンの場合、config.toml の末尾に追記されます",
"enableGoalMode": "Goal mode を有効化",
"enableRemoteCompaction": "リモート圧縮を有効化",
"remoteCompactionHint": "有効にすると、現在の model_providers エントリの name を OpenAI に設定し、Codex がリモート圧縮を試行できるようにします。",
@@ -1306,10 +1306,10 @@
"envFileHint": ".env 形式で Gemini の環境変数を設定",
"configJson": "設定ファイル (config.json)",
"configJsonHint": "Gemini 拡張パラメーターを JSON 形式で設定(任意)",
"writeCommonConfig": "共通設定を書き込む",
"writeCommonConfig": "共通設定を適用",
"editCommonConfig": "共通設定を編集",
"editCommonConfigTitle": "Gemini 共通設定スニペットを編集",
"commonConfigHint": "このスニペットは Gemini の .env に書き込みます(GOOGLE_GEMINI_BASE_URL、GEMINI_API_KEY は使用できません)",
"commonConfigHint": "「共通設定を適用」がオンのとき Gemini の .env に書き込みます(GOOGLE_GEMINI_BASE_URL、GEMINI_API_KEY は使用できません)",
"extractFromCurrent": "編集内容から抽出",
"extractNoCommonConfig": "編集内容から抽出できる共通設定がありません",
"extractFailed": "抽出に失敗しました: {{error}}",
+9 -9
View File
@@ -60,7 +60,7 @@
"commonConfig": {
"guideTitle": "什麼是通用設定片段?",
"guidePurpose": "用來在不同供應商之間共用外掛程式、環境變數等非敏感設定。切換供應商時不會遺失這些設定。",
"guideUsage": "用法:① 點擊「從編輯內容擷取」儲存通用部分 ② 新增供應商時勾選「寫入通用設定」",
"guideUsage": "用法:① 點擊「從編輯內容擷取」儲存通用部分 ② 新增供應商時勾選「套用通用設定」",
"guideReExtract": "如果您新安裝了外掛程式或 Hook,請重新擷取一次通用設定,以便同步至其他供應商。",
"guideReassurance": "請放心:您的原始設定已儲存在預設供應商中,不會遺失。",
"emptyTitle": "尚未建立通用設定片段",
@@ -68,10 +68,10 @@
},
"claudeConfig": {
"configLabel": "Claude Code 設定 (JSON) *",
"writeCommonConfig": "寫入通用設定",
"writeCommonConfig": "套用通用設定",
"editCommonConfig": "編輯通用設定",
"editCommonConfigTitle": "編輯通用設定片段",
"commonConfigHint": "該片段會在勾選「寫入通用設定」時合併到 settings.json 中",
"commonConfigHint": "該片段會在勾選「套用通用設定」時合併到 settings.json 中",
"fullSettingsHint": "完整的 Claude Code settings.json 設定內容",
"extractFromCurrent": "從編輯內容擷取",
"extractNoCommonConfig": "目前編輯內容沒有可擷取的通用設定",
@@ -155,7 +155,7 @@
"notes": "備註",
"notesPlaceholder": "例如:公司專用帳號",
"configJson": "設定 JSON",
"writeCommonConfig": "寫入通用設定",
"writeCommonConfig": "套用通用設定",
"editCommonConfigButton": "編輯通用設定",
"configJsonHint": "請填寫完整的 Claude Code 設定",
"editCommonConfigTitle": "編輯通用設定片段",
@@ -311,7 +311,7 @@
},
"commonConfig": {
"title": "關於通用設定",
"message": "「通用設定片段」可以在不同供應商之間共用外掛程式、環境變數等設定,避免切換供應商時遺失這些設定。\n\n使用方法:\n① 編輯供應商時點擊「編輯通用設定」→「從編輯內容擷取」\n② 新增供應商時勾選「寫入通用設定」(預設已勾選)\n\n如果您新安裝了外掛程式或 Hook,請重新擷取一次通用設定。",
"message": "「通用設定片段」可以在不同供應商之間共用外掛程式、環境變數等設定,避免切換供應商時遺失這些設定。\n\n使用方法:\n① 編輯供應商時點擊「編輯通用設定」→「從編輯內容擷取」\n② 新增供應商時勾選「套用通用設定」(預設已勾選)\n\n如果您新安裝了外掛程式或 Hook,請重新擷取一次通用設定。",
"confirm": "我了解了"
}
},
@@ -1226,10 +1226,10 @@
"configTomlHint": "Codex config.toml 設定內容",
"configTomlStorageHint": "代理接管中顯示的是儲存的 config 配置,不是即時 config.toml",
"proxyTakeoverStorageNotice": "💡 目前應用處於代理接管狀態。這裡編輯的是儲存的供應商配置,真實 live 配置已由代理暫時接管",
"writeCommonConfig": "寫入通用設定",
"writeCommonConfig": "套用通用設定",
"editCommonConfig": "編輯通用設定",
"editCommonConfigTitle": "編輯 Codex 通用設定片段",
"commonConfigHint": "該片段會在勾選「寫入通用設定」時附加到 config.toml 末尾",
"commonConfigHint": "該片段會在勾選「套用通用設定」時附加到 config.toml 末尾",
"enableGoalMode": "啟用 Goal mode",
"enableRemoteCompaction": "啟用遠端壓縮",
"remoteCompactionHint": "開啟後會將目前 model_providers 條目的 name 寫為 OpenAI,讓 Codex 嘗試使用遠端壓縮。",
@@ -1278,10 +1278,10 @@
"envFileHint": "使用 .env 格式設定 Gemini 環境變數",
"configJson": "設定檔 (config.json)",
"configJsonHint": "使用 JSON 格式設定 Gemini 擴充參數(選填)",
"writeCommonConfig": "寫入通用設定",
"writeCommonConfig": "套用通用設定",
"editCommonConfig": "編輯通用設定",
"editCommonConfigTitle": "編輯 Gemini 通用設定片段",
"commonConfigHint": "該片段會寫入 Gemini 的 .env(不允許包含 GOOGLE_GEMINI_BASE_URL、GEMINI_API_KEY",
"commonConfigHint": "該片段會在勾選「套用通用設定」時寫入 Gemini 的 .env(不允許包含 GOOGLE_GEMINI_BASE_URL、GEMINI_API_KEY",
"extractFromCurrent": "從編輯內容擷取",
"extractNoCommonConfig": "目前編輯內容沒有可擷取的通用設定",
"extractFailed": "擷取失敗:{{error}}",
+9 -9
View File
@@ -60,7 +60,7 @@
"commonConfig": {
"guideTitle": "什么是通用配置片段?",
"guidePurpose": "用来在不同供应商之间共享插件、环境变量等非敏感配置。切换供应商时不会丢失这些设置。",
"guideUsage": "用法:① 点击「从编辑内容提取」保存通用部分 ② 新建供应商时勾选「写入通用配置」",
"guideUsage": "用法:① 点击「从编辑内容提取」保存通用部分 ② 新建供应商时勾选「应用通用配置」",
"guideReExtract": "如果您新安装了插件或 Hook,请重新提取一次通用配置,以便同步到其他供应商。",
"guideReassurance": "放心:您的原始配置已保存在默认供应商中,不会丢失。",
"emptyTitle": "还没有通用配置片段",
@@ -68,10 +68,10 @@
},
"claudeConfig": {
"configLabel": "Claude Code 配置 (JSON) *",
"writeCommonConfig": "写入通用配置",
"writeCommonConfig": "应用通用配置",
"editCommonConfig": "编辑通用配置",
"editCommonConfigTitle": "编辑通用配置片段",
"commonConfigHint": "该片段会在勾选\"写入通用配置\"时合并到 settings.json 中",
"commonConfigHint": "该片段会在勾选\"应用通用配置\"时合并到 settings.json 中",
"fullSettingsHint": "完整的 Claude Code settings.json 配置内容",
"extractFromCurrent": "从编辑内容提取",
"extractNoCommonConfig": "当前编辑内容没有可提取的通用配置",
@@ -155,7 +155,7 @@
"notes": "备注",
"notesPlaceholder": "例如:公司专用账号",
"configJson": "配置 JSON",
"writeCommonConfig": "写入通用配置",
"writeCommonConfig": "应用通用配置",
"editCommonConfigButton": "编辑通用配置",
"configJsonHint": "请填写完整的 Claude Code 配置",
"editCommonConfigTitle": "编辑通用配置片段",
@@ -311,7 +311,7 @@
},
"commonConfig": {
"title": "关于通用配置",
"message": "「通用配置片段」可以在不同供应商之间共享插件、环境变量等配置,避免切换供应商时丢失这些设置。\n\n使用方法:\n① 编辑供应商时点击「编辑通用配置」→「从编辑内容提取」\n② 新建供应商时勾选「写入通用配置」(默认已勾选)\n\n如果您新安装了插件或 Hook,请重新提取一次通用配置。",
"message": "「通用配置片段」可以在不同供应商之间共享插件、环境变量等配置,避免切换供应商时丢失这些设置。\n\n使用方法:\n① 编辑供应商时点击「编辑通用配置」→「从编辑内容提取」\n② 新建供应商时勾选「应用通用配置」(默认已勾选)\n\n如果您新安装了插件或 Hook,请重新提取一次通用配置。",
"confirm": "我知道了"
}
},
@@ -1254,10 +1254,10 @@
"configTomlHint": "Codex config.toml 配置内容",
"configTomlStorageHint": "代理接管中显示的是存储的 config 配置,不是实时 config.toml",
"proxyTakeoverStorageNotice": "💡 当前应用处于代理接管状态。这里编辑的是存储的供应商配置,真实 live 配置已由代理临时接管",
"writeCommonConfig": "写入通用配置",
"writeCommonConfig": "应用通用配置",
"editCommonConfig": "编辑通用配置",
"editCommonConfigTitle": "编辑 Codex 通用配置片段",
"commonConfigHint": "该片段会在勾选'写入通用配置'时追加到 config.toml 末尾",
"commonConfigHint": "该片段会在勾选'应用通用配置'时追加到 config.toml 末尾",
"enableGoalMode": "启用 Goal mode",
"enableRemoteCompaction": "启用远程压缩",
"remoteCompactionHint": "开启后会将当前 model_providers 条目的 name 写为 OpenAI,使 Codex 尝试使用远程压缩。",
@@ -1306,10 +1306,10 @@
"envFileHint": "使用 .env 格式配置 Gemini 环境变量",
"configJson": "配置文件 (config.json)",
"configJsonHint": "使用 JSON 格式配置 Gemini 扩展参数(可选)",
"writeCommonConfig": "写入通用配置",
"writeCommonConfig": "应用通用配置",
"editCommonConfig": "编辑通用配置",
"editCommonConfigTitle": "编辑 Gemini 通用配置片段",
"commonConfigHint": "该片段会写入 Gemini 的 .env(不允许包含 GOOGLE_GEMINI_BASE_URL、GEMINI_API_KEY",
"commonConfigHint": "该片段会在勾选\"应用通用配置\"时写入 Gemini 的 .env(不允许包含 GOOGLE_GEMINI_BASE_URL、GEMINI_API_KEY",
"extractFromCurrent": "从编辑内容提取",
"extractNoCommonConfig": "当前编辑内容没有可提取的通用配置",
"extractFailed": "提取失败: {{error}}",
+1 -1
View File
@@ -99,7 +99,7 @@ export const updateCommonConfigSnippet = (
} catch (err) {
return {
updatedConfig: jsonString,
error: "配置 JSON 解析失败,无法写入通用配置",
error: "配置 JSON 解析失败,无法应用通用配置",
};
}