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