fix(ui): restore bold count in make-model-public selected summary

This commit is contained in:
吹雪 2026-06-11 03:31:52 +09:00
parent 77f006ff8e
commit 8a3335494d
3 changed files with 9 additions and 5 deletions

View file

@ -207,7 +207,11 @@ const MakeModelPublicForm: React.FC<MakeModelPublicFormProps> = ({
{selectedModels.size > 0 && (
<div className="bg-blue-50 border border-blue-200 rounded-lg p-3">
<Text className="text-sm text-blue-800">
{t("aiHub.makeModelPublicForm.selectedCount", { count: selectedModels.size })}
<Trans
i18nKey="aiHub.makeModelPublicForm.selectedCount"
count={selectedModels.size}
components={{ strong: <strong /> }}
/>
</Text>
</div>
)}

View file

@ -6677,8 +6677,8 @@
"selectAll": "Select All",
"selectDescription": "Select the models you want to be visible on the public model hub. Users will still require a valid Virtual Key to use these models.",
"noModels": "No models match the current filters.",
"selectedCount_one": "{{count}} model selected",
"selectedCount_other": "{{count}} models selected",
"selectedCount_one": "<strong>{{count}}</strong> model selected",
"selectedCount_other": "<strong>{{count}}</strong> models selected",
"confirmTitle": "Confirm Making Models Public",
"warningText": "Once you make these models public, anyone who can go to the <code>/ui/model_hub_table</code> will be able to know they exist on the proxy.",
"modelsToBeMadePublic": "Models to be made public:",

View file

@ -6677,8 +6677,8 @@
"selectAll": "全选",
"selectDescription": "选择要在公开模型 Hub 上展示的模型。用户仍需有效的虚拟密钥才能使用这些模型。",
"noModels": "没有与当前筛选条件匹配的模型。",
"selectedCount_one": "已选择 {{count}} 个模型",
"selectedCount_other": "已选择 {{count}} 个模型",
"selectedCount_one": "已选择 <strong>{{count}}</strong> 个模型",
"selectedCount_other": "已选择 <strong>{{count}}</strong> 个模型",
"confirmTitle": "确认将模型设为公开",
"warningText": "将这些模型设为公开后,任何能访问 <code>/ui/model_hub_table</code> 的用户都能知道它们存在于代理中。",
"modelsToBeMadePublic": "即将设为公开的模型:",