mirror of
https://github.com/drawdb-io/drawdb.git
synced 2025-05-24 02:09:17 +00:00
fix: updated translation key to 'nullable' and refactored button title
This commit is contained in:
parent
6a2006062e
commit
c6a7d3027f
@ -136,7 +136,7 @@ export default function TableField({ data, tid, index }) {
|
|||||||
<Button
|
<Button
|
||||||
|
|
||||||
type={data.notNull ? "tertiary" : "primary"}
|
type={data.notNull ? "tertiary" : "primary"}
|
||||||
title={t("Nullable")}
|
title={t("nullable")}
|
||||||
theme={data.notNull ? "light" : "solid"}
|
theme={data.notNull ? "light" : "solid"}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
setUndoStack((prev) => [
|
setUndoStack((prev) => [
|
||||||
|
@ -113,6 +113,7 @@ const en = {
|
|||||||
type: "Type",
|
type: "Type",
|
||||||
null: "Null",
|
null: "Null",
|
||||||
not_null: "Not null",
|
not_null: "Not null",
|
||||||
|
nullable: "Nullable",
|
||||||
primary: "Primary",
|
primary: "Primary",
|
||||||
unique: "Unique",
|
unique: "Unique",
|
||||||
autoincrement: "Autoincrement",
|
autoincrement: "Autoincrement",
|
||||||
|
@ -112,8 +112,9 @@ const tm = {
|
|||||||
"கடுமையான முறை அணைக்கப்பட்டுள்ளது எனவே சிக்கல்கள் காண்பிக்கப்படாது.",
|
"கடுமையான முறை அணைக்கப்பட்டுள்ளது எனவே சிக்கல்கள் காண்பிக்கப்படாது.",
|
||||||
name: "பெயர்",
|
name: "பெயர்",
|
||||||
type: "வகை",
|
type: "வகை",
|
||||||
null: "சுழி",
|
null: "பூஜ்ஜியம்",
|
||||||
not_null: "சுழியல்ல",
|
not_null: "பூஜ்ஜியம் அல்ல",
|
||||||
|
nullable: "காலியாக அனுமதி",
|
||||||
primary: "முதன்மை",
|
primary: "முதன்மை",
|
||||||
unique: "தனித்துவம்",
|
unique: "தனித்துவம்",
|
||||||
autoincrement: "தானியங்கி அதிகரிப்பு",
|
autoincrement: "தானியங்கி அதிகரிப்பு",
|
||||||
|
Loading…
Reference in New Issue
Block a user