mirror of
https://github.com/drawdb-io/drawdb.git
synced 2025-12-20 01:00:56 +08:00
add Translate
This commit is contained in:
@@ -418,7 +418,10 @@
|
|||||||
"Not set": "Not set",
|
"Not set": "Not set",
|
||||||
"Comment": "Comment",
|
"Comment": "Comment",
|
||||||
"No comment": "No comment",
|
"No comment": "No comment",
|
||||||
"Edit table": "Edit table"
|
"Edit table": "Edit table",
|
||||||
|
"Indices": "Indices",
|
||||||
|
"No indices": "No indices",
|
||||||
|
"Delete table": "Delete table"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ReportBug": {
|
"ReportBug": {
|
||||||
|
|||||||
@@ -418,7 +418,10 @@
|
|||||||
"Not set": "未设置",
|
"Not set": "未设置",
|
||||||
"Comment": "注释",
|
"Comment": "注释",
|
||||||
"No comment": "无注释",
|
"No comment": "无注释",
|
||||||
"Edit table": "修改表"
|
"Edit table": "修改表",
|
||||||
|
"Indices": "索引",
|
||||||
|
"No indices": "无索引",
|
||||||
|
"Delete table": "删除表"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ReportBug": {
|
"ReportBug": {
|
||||||
|
|||||||
@@ -112,9 +112,9 @@ export default function Table(props) {
|
|||||||
content={
|
content={
|
||||||
<div className="popover-theme">
|
<div className="popover-theme">
|
||||||
<div className="mb-2">
|
<div className="mb-2">
|
||||||
<strong>Comment :</strong>{" "}
|
<strong>{t("Page.editor.TableCard.Comment")}:</strong>{" "}
|
||||||
{tableData.comment === "" ? (
|
{tableData.comment === "" ? (
|
||||||
"No comment"
|
t("Page.editor.TableCard.No comment")
|
||||||
) : (
|
) : (
|
||||||
<div>{tableData.comment}</div>
|
<div>{tableData.comment}</div>
|
||||||
)}
|
)}
|
||||||
@@ -125,10 +125,10 @@ export default function Table(props) {
|
|||||||
tableData.indices.length === 0 ? "" : "block"
|
tableData.indices.length === 0 ? "" : "block"
|
||||||
}`}
|
}`}
|
||||||
>
|
>
|
||||||
Indices :
|
{t("Page.editor.TableCard.Indices")} :
|
||||||
</strong>{" "}
|
</strong>{" "}
|
||||||
{tableData.indices.length === 0 ? (
|
{tableData.indices.length === 0 ? (
|
||||||
"No indices"
|
t("Page.editor.TableCard.No indices")
|
||||||
) : (
|
) : (
|
||||||
<div>
|
<div>
|
||||||
{tableData.indices.map((index, k) => (
|
{tableData.indices.map((index, k) => (
|
||||||
@@ -163,7 +163,7 @@ export default function Table(props) {
|
|||||||
deleteTable(tableData.id);
|
deleteTable(tableData.id);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
Delete table
|
{t("Page.editor.TableCard.Delete table")}
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user