chore: update i18n

This commit is contained in:
sealday 2024-03-10 05:54:34 +08:00
parent a0f9d54046
commit 7d35af679f
3 changed files with 6 additions and 2 deletions

View File

@ -32,7 +32,7 @@ export const SettingBlockInitializer = () => {
const titleField = collection.titleField;
const result = await api.resource(collection.name).list();
const values = await FormDialog(
t('添加单条数据展示区块'),
t('Pick a data entry for viewing and editing'),
() => {
return (
<SchemaComponentOptions scope={options.scope} components={{ ...options.components }}>
@ -41,7 +41,7 @@ export const SettingBlockInitializer = () => {
schema={{
properties: {
id: {
title: t('选择数据'),
title: t('Please select'),
enum: result.data.data.map((item) => {
return {
label: item[titleField],

View File

@ -15,5 +15,7 @@
"System setting": "System setting",
"classical": "classical",
"Signature input": "Signature input",
"Pick a data entry for viewing and editing": "Pick a data entry for viewing and editing",
"Please select": "Please select",
"HomePage Config": "HomePage Config"
}

View File

@ -15,5 +15,7 @@
"System setting": "系统设置",
"classical": "经典版",
"Signature input": "手写签名",
"Pick a data entry for viewing and editing": "选择一条数据用于查看与编辑",
"Please select": "请选择",
"HomePage Config": "主页配置"
}