i18n: complete internationalization for settings panel
- Add missing translation keys for all hint texts and descriptions - Remove all hardcoded defaultValue parameters from components - Add translations for window behavior, directory settings, and theme settings - Add translations for provider-related UI elements - Improve consistency across Chinese and English translations Translation additions: - common.toggleTheme - settings.windowBehaviorHint, claudeConfigDirDescription, codexConfigDirDescription - provider.* (12 new keys) - providerForm.* (15 new keys) - providerPreset.* (4 new keys) Modified files: 10 Lines changed: +132 -74
This commit is contained in:
@@ -15,9 +15,7 @@ export function WindowSettings({ settings, onChange }: WindowSettingsProps) {
|
||||
<header className="space-y-1">
|
||||
<h3 className="text-sm font-medium">{t("settings.windowBehavior")}</h3>
|
||||
<p className="text-xs text-muted-foreground">
|
||||
{t("settings.windowBehaviorHint", {
|
||||
defaultValue: "配置窗口最小化与 Claude 插件联动策略。",
|
||||
})}
|
||||
{t("settings.windowBehaviorHint")}
|
||||
</p>
|
||||
</header>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user