Skip to content

Commit 48a2fd6

Browse files
committed
bug fixed: chinese i18n css error
1 parent 0ddfa4d commit 48a2fd6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

webview-ui/src/components/settings/ApiOptions.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -850,7 +850,7 @@ const ApiOptions = ({
850850
</div>
851851

852852
<div className="flex flex-col gap-3">
853-
<div className="text-sm text-vscode-descriptionForeground">
853+
<div className="text-sm text-vscode-descriptionForeground" style={{ whiteSpace: "pre-line" }}>
854854
{t("settings:providers.customModel.capabilities")}
855855
</div>
856856

webview-ui/src/i18n/locales/zh-CN/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@
180180
}
181181
},
182182
"customModel": {
183-
"capabilities": "自定义模型配置注意事项:<br>• 确保兼容OpenAI接口规范<br>• 错误配置可能导致功能异常<br>• 价格参数影响费用统计",
183+
"capabilities": "自定义模型配置注意事项:\n• 确保兼容OpenAI接口规范\n• 错误配置可能导致功能异常\n• 价格参数影响费用统计",
184184
"maxTokens": {
185185
"label": "最大输出Token数",
186186
"description": "模型在响应中可以生成的最大Token数。(指定 -1 允许服务器设置最大Token数。)"

0 commit comments

Comments
 (0)