feat: rename UCloud provider to Compshare/优云智算 with i18n support

Add optional `nameKey` field to all preset interfaces for localized
display names. The preset selector and form now resolve `nameKey` via
i18next, falling back to `name` when unset.

- zh: 优云智算 / en+ja: Compshare
- Update model ID prefix ucloud/ → compshare/ in OpenClaw presets
- Update partner promotion copy and README sponsor descriptions
This commit is contained in:
Jason
2026-03-10 23:43:23 +08:00
parent 273a756869
commit 0bcbffb8a0
13 changed files with 38 additions and 19 deletions
+1
View File
@@ -3,6 +3,7 @@ import type { PresetTheme, TemplateValueConfig } from "./claudeProviderPresets";
export interface OpenCodeProviderPreset {
name: string;
nameKey?: string; // i18n key for localized display name
websiteUrl: string;
apiKeyUrl?: string;
settingsConfig: OpenCodeProviderConfig;