fix: updated translation key to 'nullable' and refactored button title

This commit is contained in:
Pavan 2025-04-14 09:04:05 +05:30
parent 6a2006062e
commit c6a7d3027f
3 changed files with 5 additions and 3 deletions

View File

@ -136,7 +136,7 @@ export default function TableField({ data, tid, index }) {
<Button
type={data.notNull ? "tertiary" : "primary"}
title={t("Nullable")}
title={t("nullable")}
theme={data.notNull ? "light" : "solid"}
onClick={() => {
setUndoStack((prev) => [

View File

@ -113,6 +113,7 @@ const en = {
type: "Type",
null: "Null",
not_null: "Not null",
nullable: "Nullable",
primary: "Primary",
unique: "Unique",
autoincrement: "Autoincrement",

View File

@ -112,8 +112,9 @@ const tm = {
"கடுமையான முறை அணைக்கப்பட்டுள்ளது எனவே சிக்கல்கள் காண்பிக்கப்படாது.",
name: "பெயர்",
type: "வகை",
null: "சுழி",
not_null: "சுழியல்ல",
null: "பூஜ்ஜியம்",
not_null: "பூஜ்ஜியம் அல்ல",
nullable: "காலியாக அனுமதி",
primary: "முதன்மை",
unique: "தனித்துவம்",
autoincrement: "தானியங்கி அதிகரிப்பு",