mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-10-26 01:34:51 +08:00
feat(settings): add a help tip explaining the Claude Code onboarding skip
Rewrite the unused skipClaudeOnboardingDescription in all four locales to say what the toggle actually does (writes or removes hasCompletedOnboarding in ~/.claude.json) and wire it to the row's help popover.
This commit is contained in:
1 parent
f6387b862b
commit
259d807f0d
5 files changed
+8
-4
No files matched your search
@@ -162,6 +162,10 @@ export function AppConfigSection({
|
||||
/>
|
||||
<SettingsSwitchRow
|
||||
label={t("settings.skipClaudeOnboarding")}
|
||||
help={{
|
||||
title: t("settings.skipClaudeOnboarding"),
|
||||
body: t("settings.skipClaudeOnboardingDescription"),
|
||||
}}
|
||||
checked={!!settings.skipClaudeOnboarding}
|
||||
onCheckedChange={(value) =>
|
||||
void onAutoSave({ skipClaudeOnboarding: value })
|
||||
|
||||
@@ -720,7 +720,7 @@
|
||||
"enableClaudePluginIntegration": "Apply to Claude Code extension",
|
||||
"enableClaudePluginIntegrationDescription": "When enabled, the VS Code Claude Code extension provider will switch with this app",
|
||||
"skipClaudeOnboarding": "Skip Claude Code first-run confirmation",
|
||||
"skipClaudeOnboardingDescription": "When enabled, Claude Code will skip the first-run confirmation",
|
||||
"skipClaudeOnboardingDescription": "On first launch, Claude Code runs an onboarding flow that asks you to pick a theme and sign in to an Anthropic account. If you use a third-party provider you don't need that sign-in, so turning this on skips straight past it. It works by writing hasCompletedOnboarding: true to ~/.claude.json; turning it off removes that field, and the onboarding appears again on the next launch.",
|
||||
"codexAuth": "Codex App Enhancements",
|
||||
"preserveCodexOfficialAuthOnSwitch": "Keep official login for direct switches",
|
||||
"preserveCodexOfficialAuthOnSwitchDescription": "Controls third-party switches when local routing is off. Takeover routing always preserves the Codex official login.",
|
||||
|
||||
@@ -720,7 +720,7 @@
|
||||
"enableClaudePluginIntegration": "Claude Code 拡張に適用",
|
||||
"enableClaudePluginIntegrationDescription": "オンにすると VS Code の Claude Code 拡張のプロバイダーも同期します",
|
||||
"skipClaudeOnboarding": "Claude Code の初回確認をスキップ",
|
||||
"skipClaudeOnboardingDescription": "オンにすると Claude Code の初回インストール確認をスキップします",
|
||||
"skipClaudeOnboardingDescription": "Claude Code は初回起動時にオンボーディングを行い、テーマの選択と Anthropic アカウントへのログインを求めます。サードパーティのプロバイダーを使う場合は公式アカウントへのログインが不要なため、オンにするとこの手順を飛ばしてすぐに使えます。仕組みとしては ~/.claude.json に hasCompletedOnboarding: true を書き込みます。オフにするとこのフィールドを削除し、次回起動時に再びオンボーディングが表示されます。",
|
||||
"codexAuth": "Codex アプリ拡張",
|
||||
"preserveCodexOfficialAuthOnSwitch": "直接切替時に公式ログインを保持",
|
||||
"preserveCodexOfficialAuthOnSwitchDescription": "ローカルルーティングが無効な場合のサードパーティ切替を制御します。ルーティング接管中は常に Codex の公式ログインを保持します。",
|
||||
|
||||
@@ -720,7 +720,7 @@
|
||||
"enableClaudePluginIntegration": "套用至 Claude Code 外掛程式",
|
||||
"enableClaudePluginIntegrationDescription": "開啟後 VS Code Claude Code 外掛程式的供應商將隨本軟體切換",
|
||||
"skipClaudeOnboarding": "跳過 Claude Code 初次安裝確認",
|
||||
"skipClaudeOnboardingDescription": "開啟後跳過 Claude Code 初次安裝確認",
|
||||
"skipClaudeOnboardingDescription": "Claude Code 第一次啟動時會先走一遍引導流程,要求選擇主題並登入 Anthropic 帳號。如果你用的是第三方供應商,不需要登入官方帳號,開啟後就能略過這一步直接使用。原理是在 ~/.claude.json 中寫入 hasCompletedOnboarding: true;關閉時刪除該欄位,下次啟動會重新出現引導。",
|
||||
"codexAuth": "Codex 應用增強",
|
||||
"preserveCodexOfficialAuthOnSwitch": "非接管切換時保留官方登入",
|
||||
"preserveCodexOfficialAuthOnSwitchDescription": "控制未開啟本機路由時切換第三方供應商是否保留 Codex 官方登入;路由接管期間一律保留",
|
||||
|
||||
@@ -720,7 +720,7 @@
|
||||
"enableClaudePluginIntegration": "应用到 Claude Code 插件",
|
||||
"enableClaudePluginIntegrationDescription": "开启后 VS Code Claude Code 插件的供应商将随本软件切换",
|
||||
"skipClaudeOnboarding": "跳过 Claude Code 初次安装确认",
|
||||
"skipClaudeOnboardingDescription": "开启后跳过 Claude Code 初次安装确认",
|
||||
"skipClaudeOnboardingDescription": "Claude Code 第一次启动时会先走一遍引导流程,要求选主题并登录 Anthropic 账号。如果你用的是第三方供应商,不需要登录官方账号,开启后就能跳过这一步直接使用。原理是在 ~/.claude.json 里写入 hasCompletedOnboarding: true;关闭时删除该字段,下次启动会重新出现引导。",
|
||||
"codexAuth": "Codex 应用增强",
|
||||
"preserveCodexOfficialAuthOnSwitch": "非接管切换时保留官方登录",
|
||||
"preserveCodexOfficialAuthOnSwitchDescription": "控制未开启路由接管时切换第三方供应商是否保留 Codex 官方登录;路由接管期间始终保留",
|
||||
|
||||
Reference in new issue
Block a user