diff --git a/packages/nc-gui/components/smartsheet/column/LinkedToAnotherRecordOptions.vue b/packages/nc-gui/components/smartsheet/column/LinkedToAnotherRecordOptions.vue
index 52748e2018..c9aeaba955 100644
--- a/packages/nc-gui/components/smartsheet/column/LinkedToAnotherRecordOptions.vue
+++ b/packages/nc-gui/components/smartsheet/column/LinkedToAnotherRecordOptions.vue
@@ -19,8 +19,10 @@ const { setAdditionalValidations, validateInfos, onDataTypeChange, sqlUi, isXcdb
const projectStore = useProject()
const { tables } = storeToRefs(projectStore)
+const { t } = useI18n()
+
setAdditionalValidations({
- childId: [{ required: true, message: 'Required' }],
+ childId: [{ required: true, message: t('general.required') }],
})
const onUpdateDeleteOptions = sqlUi === MssqlUi ? ['NO ACTION'] : ['NO ACTION', 'CASCADE', 'RESTRICT', 'SET NULL', 'SET DEFAULT']
@@ -110,7 +112,14 @@ const isLinks = computed(() => vModel.value.uidt === UITypes.Links)
@change="onDataTypeChange"
>
- {{ option }}
+ {{ $t('title.links.noAction') }}
+ {{ $t('title.links.cascade') }}
+ {{ $t('title.links.restrict') }}
+ {{ $t('title.links.setNull') }}
+ {{ $t('title.links.setDefault') }}
+
+ {{ option }}
+
@@ -124,7 +133,14 @@ const isLinks = computed(() => vModel.value.uidt === UITypes.Links)
@change="onDataTypeChange"
>
- {{ option }}
+ {{ $t('title.links.noAction') }}
+ {{ $t('title.links.cascade') }}
+ {{ $t('title.links.restrict') }}
+ {{ $t('title.links.setNull') }}
+ {{ $t('title.links.setDefault') }}
+
+ {{ option }}
+
diff --git a/packages/nc-gui/lang/en.json b/packages/nc-gui/lang/en.json
index 71e7dcd522..5c2b774e17 100644
--- a/packages/nc-gui/lang/en.json
+++ b/packages/nc-gui/lang/en.json
@@ -346,7 +346,14 @@
"defaultView": "Default View",
"relations": "Relations",
"switchLanguage": "Switch Language",
- "renameFile": "Rename File"
+ "renameFile": "Rename File",
+ "links": {
+ "noAction": "No Action",
+ "cascade": "Cascade",
+ "restrict": "Restrict",
+ "setNull": "Set NULL",
+ "setDefault": "Set Default"
+ }
},
"labels": {
"syntax": "Syntax",