fix(i18n): deduplicate category labels by reusing providerForm keys
- Change ProviderForm to use providerForm.category* instead of providerPreset.category* - Remove duplicate category keys from providerPreset namespace in both zh.json and en.json - Fix naming inconsistency: use categoryAggregation (not categoryAggregator) - Fixes issue where English UI would show Chinese defaultValue fallbacks This ensures single source of truth for category labels and improves maintainability.
This commit is contained in:
@@ -343,6 +343,16 @@
|
||||
"configPreview": "Configuration Preview",
|
||||
"applyConfig": "Apply Configuration"
|
||||
},
|
||||
"geminiConfig": {
|
||||
"envFile": "Environment Variables (.env)",
|
||||
"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",
|
||||
"editCommonConfig": "Edit Common Config",
|
||||
"editCommonConfigTitle": "Edit Gemini Common Config Snippet",
|
||||
"commonConfigHint": "Common config snippet will be merged into all Gemini providers with it enabled"
|
||||
},
|
||||
"providerPreset": {
|
||||
"label": "Provider Preset",
|
||||
"custom": "Custom Configuration",
|
||||
|
||||
Reference in New Issue
Block a user