fix(ui): show agent and user-defined option labels as written (#6193)

Option labels that come from agents, databases, build tools and user settings matched UI catalog keys by accident, so some were translated and others were not (reasoning effort showed 高 next to Extra high; an HTTP client environment named test showed as 测试 while prod stayed English).

Mark these labels and descriptions verbatim: agent config values, model names and providers, the approval switch label, HTTP client environments, dependency scopes and Gradle configurations, chart columns, database schemas, data sources, warehouses and roles, custom scopes, and plugin setting options. Option headings stay localized.

Fixes #6191
Цей коміт міститься в:
l0ng-ai authored and GitHub committed 2026-11-26 21:39:30 +08:00
1 джерело 5289f44620
коміт dc490f1017
13 files changed
+163 -34

No files matched your search

+1 -1
Переглянути файл
@@ -80,7 +80,7 @@ function ValueControl({
<Select
aria-label={label}
value={String(value)}
options={s.options.map((o) => ({ value: o, label: o }))}
options={s.options.map((o) => ({ value: o, label: o, verbatim: true }))}
onChange={set}
/>
);