From 3e5829db0e015b34cee27b2a4e966603a25237b1 Mon Sep 17 00:00:00 2001 From: DarkPhoenix2704 Date: Sat, 27 Jul 2024 07:41:12 +0000 Subject: [PATCH] fix: helper text --- packages/nc-gui/components/smartsheet/header/AddLookups.vue | 6 +++++- packages/nc-gui/lang/en.json | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/nc-gui/components/smartsheet/header/AddLookups.vue b/packages/nc-gui/components/smartsheet/header/AddLookups.vue index 4c1ead3f46..8139b1395e 100644 --- a/packages/nc-gui/components/smartsheet/header/AddLookups.vue +++ b/packages/nc-gui/components/smartsheet/header/AddLookups.vue @@ -154,7 +154,11 @@ onMounted(async () => {

{{ $t('general.addLookupField') }}

- {{ $t('labels.addNewLookupHelperText') }} + {{ + $t('labels.addNewLookupHelperText', { + table: relatedModel?.title, + }) + }}
diff --git a/packages/nc-gui/lang/en.json b/packages/nc-gui/lang/en.json index 3b6f0eb105..4fca2370d9 100644 --- a/packages/nc-gui/lang/en.json +++ b/packages/nc-gui/lang/en.json @@ -523,7 +523,7 @@ }, "labels": { "clearAll": "Clear all", - "addNewLookupHelperText": "Lookup fields show data from linked records. Select specific fields from {table1} to add them as Lookup fields in this table.", + "addNewLookupHelperText": "Lookup fields show data from linked records. Select specific fields from {table} table to add them as Lookup fields in this table.", "formatting": "Formatting", "selectAFormatType": "- -Select a formt type (optional)- -", "formatType": "Format type",