fix(i18n): 补齐九种语言的翻译并修复国际化检查
补齐页面缺译,统一动态文案的整句插值方式。
This commit is contained in:
@@ -29,7 +29,9 @@ const ModelBasicInfo = ({ modelData, t }) => {
|
||||
if (!modelData) return t('暂无模型描述');
|
||||
if (modelData.description) return modelData.description;
|
||||
if (modelData.vendor_description)
|
||||
return t('供应商信息:') + modelData.vendor_description;
|
||||
return t('供应商信息:{{vendor_description}}', {
|
||||
vendor_description: modelData.vendor_description,
|
||||
});
|
||||
return t('暂无模型描述');
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user