chore: update i18n
This commit is contained in:
parent
a0f9d54046
commit
7d35af679f
@ -32,7 +32,7 @@ export const SettingBlockInitializer = () => {
|
|||||||
const titleField = collection.titleField;
|
const titleField = collection.titleField;
|
||||||
const result = await api.resource(collection.name).list();
|
const result = await api.resource(collection.name).list();
|
||||||
const values = await FormDialog(
|
const values = await FormDialog(
|
||||||
t('添加单条数据展示区块'),
|
t('Pick a data entry for viewing and editing'),
|
||||||
() => {
|
() => {
|
||||||
return (
|
return (
|
||||||
<SchemaComponentOptions scope={options.scope} components={{ ...options.components }}>
|
<SchemaComponentOptions scope={options.scope} components={{ ...options.components }}>
|
||||||
@ -41,7 +41,7 @@ export const SettingBlockInitializer = () => {
|
|||||||
schema={{
|
schema={{
|
||||||
properties: {
|
properties: {
|
||||||
id: {
|
id: {
|
||||||
title: t('选择数据'),
|
title: t('Please select'),
|
||||||
enum: result.data.data.map((item) => {
|
enum: result.data.data.map((item) => {
|
||||||
return {
|
return {
|
||||||
label: item[titleField],
|
label: item[titleField],
|
||||||
|
@ -15,5 +15,7 @@
|
|||||||
"System setting": "System setting",
|
"System setting": "System setting",
|
||||||
"classical": "classical",
|
"classical": "classical",
|
||||||
"Signature input": "Signature input",
|
"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"
|
"HomePage Config": "HomePage Config"
|
||||||
}
|
}
|
||||||
|
@ -15,5 +15,7 @@
|
|||||||
"System setting": "系统设置",
|
"System setting": "系统设置",
|
||||||
"classical": "经典版",
|
"classical": "经典版",
|
||||||
"Signature input": "手写签名",
|
"Signature input": "手写签名",
|
||||||
|
"Pick a data entry for viewing and editing": "选择一条数据用于查看与编辑",
|
||||||
|
"Please select": "请选择",
|
||||||
"HomePage Config": "主页配置"
|
"HomePage Config": "主页配置"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user