diff --git a/packages/nc-gui/components/smartsheet/column/QrCodeOptions.vue b/packages/nc-gui/components/smartsheet/column/QrCodeOptions.vue
index 172829fa26..cb240878fd 100644
--- a/packages/nc-gui/components/smartsheet/column/QrCodeOptions.vue
+++ b/packages/nc-gui/components/smartsheet/column/QrCodeOptions.vue
@@ -14,6 +14,8 @@ const meta = inject(MetaInj, ref())
const activeView = inject(ActiveViewInj, ref())
+const { t } = useI18n()
+
const reloadDataHook = inject(ReloadViewDataHookInj)!
const { fields, metaColumnById } = useViewColumns(activeView, meta, () => reloadDataHook.trigger())
@@ -42,7 +44,7 @@ onMounted(() => {
})
setAdditionalValidations({
- fk_qr_value_column_id: [{ required: true, message: 'Required' }],
+ fk_qr_value_column_id: [{ required: true, message: t('general.required') }],
})
@@ -57,7 +59,7 @@ setAdditionalValidations({
diff --git a/packages/nc-gui/components/virtual-cell/QrCode.vue b/packages/nc-gui/components/virtual-cell/QrCode.vue
index 2cf8879dd7..f51a23be06 100644
--- a/packages/nc-gui/components/virtual-cell/QrCode.vue
+++ b/packages/nc-gui/components/virtual-cell/QrCode.vue
@@ -61,7 +61,7 @@ const { showEditNonEditableFieldWarning, showClearNonEditableFieldWarning } = us
{{ qrValue }}
-
+
{{ $t('labels.qrCodeValueTooLong') }}
@@ -71,10 +71,10 @@ const { showEditNonEditableFieldWarning, showClearNonEditableFieldWarning } = us
:class="{ 'mx-auto': !isGallery }"
:style="{ height: rowHeight ? `${rowHeight * 1.4}rem` : `1.4rem` }"
:src="qrCode"
- alt="QR Code"
+ :alt="$t('title.qrCode')"
@click="showQrModal"
/>
-
![QR Code]()
+
{{ $t('msg.warning.nonEditableFields.computedFieldUnableToClear') }}
diff --git a/packages/nc-gui/lang/en.json b/packages/nc-gui/lang/en.json
index 3ccd51d7a6..acd447320f 100644
--- a/packages/nc-gui/lang/en.json
+++ b/packages/nc-gui/lang/en.json
@@ -267,6 +267,7 @@
"dateJoined": "Date Joined",
"tokenName": "Token name",
"creator": "Creator",
+ "qrCode": "QR Code",
"updateSelectedRows": "Update Selected Rows",
"noFiltersAdded": "No filters added",
"editCards": "Edit Cards",
@@ -773,6 +774,7 @@
"save": "Save password",
"confirm": "Confirm new password"
},
+ "selectAColumnForTheQRCodeValue": "Select a column for the QR code value",
"allowNegativeNumbers": "Allow negative numbers",
"searchProjectTree": "Search tables",
"searchFields": "Search fields",