Skip to content

Free, simple, and intuitive online database diagram editor and SQL generator.

Merge branch 'main' into i18n

lilit03716068299f
diff --cc src/components/EditorSidePanel/RelationshipsTab/RelationshipInfo.jsx
index 549e8cdb,8e1e3713..0bd381cd
--- a/src/components/EditorSidePanel/RelationshipsTab/RelationshipInfo.jsx
+++ b/src/components/EditorSidePanel/RelationshipsTab/RelationshipInfo.jsx
@@@ -238,9 -221,9 +238,9 @@@ export default function RelationshipInf
icon={<IconDeleteStroked />}
block
type="danger"
- onClick={() => deleteRelationship(data.id, true)}
+ onClick={() => deleteRelationship(data.id)}
>
- Delete
+ {t("delete")}
</Button>
</Collapse.Panel>
</div>
diff --cc src/components/EditorSidePanel/TablesTab/TablesTab.jsx
index 772ee11d,a070584e..113c35da
--- a/src/components/EditorSidePanel/TablesTab/TablesTab.jsx
+++ b/src/components/EditorSidePanel/TablesTab/TablesTab.jsx
@@@ -19,8 -17,8 +19,8 @@@ export default function TablesTab()
<SearchBar tables={tables} />
</Col>
<Col span={8}>
- <Button icon={<IconPlus />} block onClick={() => addTable(true)}>
+ <Button icon={<IconPlus />} block onClick={() => addTable()}>
- Add table
+ {t("add_table")}
</Button>
</Col>
</Row>
diff --cc src/components/EditorSidePanel/TypesTab/TypesTab.jsx
index a1693be7,f63d28ef..aee15b20
--- a/src/components/EditorSidePanel/TypesTab/TypesTab.jsx
+++ b/src/components/EditorSidePanel/TypesTab/TypesTab.jsx
@@@ -19,8 -17,8 +19,8 @@@ export default function TypesTab()
<Searchbar />
</Col>
<Col span={8}>
- <Button icon={<IconPlus />} block onClick={() => addType(true)}>
+ <Button icon={<IconPlus />} block onClick={() => addType()}>
- Add type
+ {t("add_type")}
</Button>
</Col>
<Col span={3}>