From c38a8eec6f004993eebe9f36abb6ffdc671ede71 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Wed, 4 Sep 2024 12:17:31 +0530 Subject: [PATCH] refactor: change fieldId to generic id Signed-off-by: Pranav C --- packages/nc-gui/components/smartsheet/details/Fields.vue | 4 ++-- packages/nc-gui/components/smartsheet/header/Menu.vue | 2 +- packages/nc-gui/lang/ar.json | 2 +- packages/nc-gui/lang/bn_IN.json | 2 +- packages/nc-gui/lang/cs.json | 2 +- packages/nc-gui/lang/da.json | 2 +- packages/nc-gui/lang/de.json | 2 +- packages/nc-gui/lang/en.json | 2 +- packages/nc-gui/lang/es.json | 2 +- packages/nc-gui/lang/eu.json | 2 +- packages/nc-gui/lang/fa.json | 2 +- packages/nc-gui/lang/fi.json | 2 +- packages/nc-gui/lang/hi.json | 2 +- packages/nc-gui/lang/hr.json | 2 +- packages/nc-gui/lang/hu.json | 2 +- packages/nc-gui/lang/id.json | 2 +- packages/nc-gui/lang/it.json | 2 +- packages/nc-gui/lang/ja.json | 2 +- packages/nc-gui/lang/ko.json | 2 +- packages/nc-gui/lang/lv.json | 2 +- packages/nc-gui/lang/nl.json | 2 +- packages/nc-gui/lang/no.json | 2 +- packages/nc-gui/lang/pl.json | 2 +- packages/nc-gui/lang/pt.json | 2 +- packages/nc-gui/lang/pt_BR.json | 2 +- packages/nc-gui/lang/ru.json | 2 +- packages/nc-gui/lang/sk.json | 2 +- packages/nc-gui/lang/sl.json | 2 +- packages/nc-gui/lang/sv.json | 2 +- packages/nc-gui/lang/th.json | 2 +- packages/nc-gui/lang/tr.json | 2 +- packages/nc-gui/lang/uk.json | 2 +- packages/nc-gui/lang/vi.json | 2 +- packages/nc-gui/lang/zh-Hans.json | 2 +- packages/nc-gui/lang/zh-Hant.json | 2 +- 35 files changed, 36 insertions(+), 36 deletions(-) diff --git a/packages/nc-gui/components/smartsheet/details/Fields.vue b/packages/nc-gui/components/smartsheet/details/Fields.vue index 8895463129..bbc01fcfc5 100644 --- a/packages/nc-gui/components/smartsheet/details/Fields.vue +++ b/packages/nc-gui/components/smartsheet/details/Fields.vue @@ -1213,7 +1213,7 @@ watch( > {{ $t('labels.idColon', { - fieldId: field.id, + id: field.id, }) }} @@ -1398,7 +1398,7 @@ watch( > {{ $t('labels.idColon', { - fieldId: displayColumn.id, + id: displayColumn.id, }) }} diff --git a/packages/nc-gui/components/smartsheet/header/Menu.vue b/packages/nc-gui/components/smartsheet/header/Menu.vue index aab1d0b2c6..cff958a0b7 100644 --- a/packages/nc-gui/components/smartsheet/header/Menu.vue +++ b/packages/nc-gui/components/smartsheet/header/Menu.vue @@ -477,7 +477,7 @@ const onClickCopyFieldUrl = async (field: ColumnType) => {
{{ $t('labels.idColon', { - fieldId: column.id, + id: column.id, }) }}
diff --git a/packages/nc-gui/lang/ar.json b/packages/nc-gui/lang/ar.json index 2fad57b261..d65560440d 100644 --- a/packages/nc-gui/lang/ar.json +++ b/packages/nc-gui/lang/ar.json @@ -761,7 +761,7 @@ "icon": "Icon", "max": "Max", "enableRichText": "Enable rich text", - "idColon": "Id: {fieldId}", + "idColon": "Id: {id}", "copiedRecordURL": "Copied Record URL", "copyRecordURL": "Copy Record URL", "duplicateRecord": "Duplicate record", diff --git a/packages/nc-gui/lang/bn_IN.json b/packages/nc-gui/lang/bn_IN.json index 12547267d4..81d19a1f6c 100644 --- a/packages/nc-gui/lang/bn_IN.json +++ b/packages/nc-gui/lang/bn_IN.json @@ -761,7 +761,7 @@ "icon": "Icon", "max": "Max", "enableRichText": "Enable rich text", - "idColon": "Id: {fieldId}", + "idColon": "Id: {id}", "copiedRecordURL": "Copied Record URL", "copyRecordURL": "Copy Record URL", "duplicateRecord": "Duplicate record", diff --git a/packages/nc-gui/lang/cs.json b/packages/nc-gui/lang/cs.json index ed85a81d26..4136055e2f 100644 --- a/packages/nc-gui/lang/cs.json +++ b/packages/nc-gui/lang/cs.json @@ -761,7 +761,7 @@ "icon": "Icon", "max": "Max", "enableRichText": "Enable rich text", - "idColon": "Id: {fieldId}", + "idColon": "Id: {id}", "copiedRecordURL": "Copied Record URL", "copyRecordURL": "Kopírovat URL záznamu", "duplicateRecord": "Duplicate record", diff --git a/packages/nc-gui/lang/da.json b/packages/nc-gui/lang/da.json index a7f6d08de4..4532fd9553 100644 --- a/packages/nc-gui/lang/da.json +++ b/packages/nc-gui/lang/da.json @@ -761,7 +761,7 @@ "icon": "Icon", "max": "Max", "enableRichText": "Enable rich text", - "idColon": "Id: {fieldId}", + "idColon": "Id: {id}", "copiedRecordURL": "Copied Record URL", "copyRecordURL": "Copy Record URL", "duplicateRecord": "Duplicate record", diff --git a/packages/nc-gui/lang/de.json b/packages/nc-gui/lang/de.json index 9c01a687af..b785f759ce 100644 --- a/packages/nc-gui/lang/de.json +++ b/packages/nc-gui/lang/de.json @@ -761,7 +761,7 @@ "icon": "Icon", "max": "Max", "enableRichText": "Rich-Text-Format aktivieren", - "idColon": "Id: {fieldId}", + "idColon": "Id: {id}", "copiedRecordURL": "Copied Record URL", "copyRecordURL": "Copy Record URL", "duplicateRecord": "Duplicate record", diff --git a/packages/nc-gui/lang/en.json b/packages/nc-gui/lang/en.json index ba24fd7bc1..6d1e7b30eb 100644 --- a/packages/nc-gui/lang/en.json +++ b/packages/nc-gui/lang/en.json @@ -761,7 +761,7 @@ "icon": "Icon", "max": "Max", "enableRichText": "Enable rich text", - "idColon": "Id: {fieldId}", + "idColon": "Id: {id}", "copiedRecordURL": "Copied Record URL", "copyRecordURL": "Copy Record URL", "duplicateRecord": "Duplicate record", diff --git a/packages/nc-gui/lang/es.json b/packages/nc-gui/lang/es.json index c0729a0967..57904dd103 100644 --- a/packages/nc-gui/lang/es.json +++ b/packages/nc-gui/lang/es.json @@ -761,7 +761,7 @@ "icon": "Icono", "max": "Máximo", "enableRichText": "Activar Texto Enriquecido", - "idColon": "Id: {fieldId}", + "idColon": "Id: {id}", "copiedRecordURL": "URL del registro copiado", "copyRecordURL": "Copiar URL de registro", "duplicateRecord": "Duplicar registro", diff --git a/packages/nc-gui/lang/eu.json b/packages/nc-gui/lang/eu.json index 5da744c7f9..e6d4e7c496 100644 --- a/packages/nc-gui/lang/eu.json +++ b/packages/nc-gui/lang/eu.json @@ -761,7 +761,7 @@ "icon": "Icon", "max": "Max", "enableRichText": "Enable rich text", - "idColon": "Id: {fieldId}", + "idColon": "Id: {id}", "copiedRecordURL": "Copied Record URL", "copyRecordURL": "Copy Record URL", "duplicateRecord": "Duplicate record", diff --git a/packages/nc-gui/lang/fa.json b/packages/nc-gui/lang/fa.json index 46f794fe7b..c332e34182 100644 --- a/packages/nc-gui/lang/fa.json +++ b/packages/nc-gui/lang/fa.json @@ -761,7 +761,7 @@ "icon": "Icon", "max": "Max", "enableRichText": "Enable rich text", - "idColon": "Id: {fieldId}", + "idColon": "Id: {id}", "copiedRecordURL": "Copied Record URL", "copyRecordURL": "Copy Record URL", "duplicateRecord": "Duplicate record", diff --git a/packages/nc-gui/lang/fi.json b/packages/nc-gui/lang/fi.json index b7aaa97003..df0bddecc8 100644 --- a/packages/nc-gui/lang/fi.json +++ b/packages/nc-gui/lang/fi.json @@ -761,7 +761,7 @@ "icon": "Icon", "max": "Max", "enableRichText": "Enable rich text", - "idColon": "Id: {fieldId}", + "idColon": "Id: {id}", "copiedRecordURL": "Copied Record URL", "copyRecordURL": "Copy Record URL", "duplicateRecord": "Duplicate record", diff --git a/packages/nc-gui/lang/hi.json b/packages/nc-gui/lang/hi.json index 0cdb45adc0..f04e2884f2 100644 --- a/packages/nc-gui/lang/hi.json +++ b/packages/nc-gui/lang/hi.json @@ -761,7 +761,7 @@ "icon": "Icon", "max": "Max", "enableRichText": "Enable rich text", - "idColon": "Id: {fieldId}", + "idColon": "Id: {id}", "copiedRecordURL": "Copied Record URL", "copyRecordURL": "Copy Record URL", "duplicateRecord": "Duplicate record", diff --git a/packages/nc-gui/lang/hr.json b/packages/nc-gui/lang/hr.json index bf481d9b56..4fe65344d7 100644 --- a/packages/nc-gui/lang/hr.json +++ b/packages/nc-gui/lang/hr.json @@ -761,7 +761,7 @@ "icon": "Icon", "max": "Max", "enableRichText": "Enable rich text", - "idColon": "Id: {fieldId}", + "idColon": "Id: {id}", "copiedRecordURL": "Copied Record URL", "copyRecordURL": "Copy Record URL", "duplicateRecord": "Duplicate record", diff --git a/packages/nc-gui/lang/hu.json b/packages/nc-gui/lang/hu.json index 1a6c95fc67..5e63f3beb8 100644 --- a/packages/nc-gui/lang/hu.json +++ b/packages/nc-gui/lang/hu.json @@ -761,7 +761,7 @@ "icon": "Icon", "max": "Max", "enableRichText": "Enable Rich Text", - "idColon": "Id: {fieldId}", + "idColon": "Id: {id}", "copiedRecordURL": "Rekord URL másolva", "copyRecordURL": "Rekord URL másolása", "duplicateRecord": "Rekord duplikálása", diff --git a/packages/nc-gui/lang/id.json b/packages/nc-gui/lang/id.json index 1170cfbd8b..35f16d73bf 100644 --- a/packages/nc-gui/lang/id.json +++ b/packages/nc-gui/lang/id.json @@ -761,7 +761,7 @@ "icon": "Icon", "max": "Max", "enableRichText": "Enable rich text", - "idColon": "Id: {fieldId}", + "idColon": "Id: {id}", "copiedRecordURL": "Copied Record URL", "copyRecordURL": "Copy Record URL", "duplicateRecord": "Duplicate record", diff --git a/packages/nc-gui/lang/it.json b/packages/nc-gui/lang/it.json index fa628d0b07..b45f4a68e3 100644 --- a/packages/nc-gui/lang/it.json +++ b/packages/nc-gui/lang/it.json @@ -761,7 +761,7 @@ "icon": "Icona", "max": "Massimo", "enableRichText": "Abilita Rich Text", - "idColon": "Id: {fieldId}", + "idColon": "Id: {id}", "copiedRecordURL": "URL del record copiato", "copyRecordURL": "Copia URL Record", "duplicateRecord": "Duplica record", diff --git a/packages/nc-gui/lang/ja.json b/packages/nc-gui/lang/ja.json index f900a569e3..07d4719954 100644 --- a/packages/nc-gui/lang/ja.json +++ b/packages/nc-gui/lang/ja.json @@ -761,7 +761,7 @@ "icon": "Icon", "max": "Max", "enableRichText": "Enable rich text", - "idColon": "Id: {fieldId}", + "idColon": "Id: {id}", "copiedRecordURL": "Copied Record URL", "copyRecordURL": "Copy Record URL", "duplicateRecord": "Duplicate record", diff --git a/packages/nc-gui/lang/ko.json b/packages/nc-gui/lang/ko.json index d238953f3a..85370fd711 100644 --- a/packages/nc-gui/lang/ko.json +++ b/packages/nc-gui/lang/ko.json @@ -761,7 +761,7 @@ "icon": "아이콘", "max": "최대", "enableRichText": "Enable rich text", - "idColon": "Id: {fieldId}", + "idColon": "Id: {id}", "copiedRecordURL": "레코드 URL을 복사했습니다.", "copyRecordURL": "레코드 URL 복사", "duplicateRecord": "행 복제", diff --git a/packages/nc-gui/lang/lv.json b/packages/nc-gui/lang/lv.json index bb85d464a7..690823f50b 100644 --- a/packages/nc-gui/lang/lv.json +++ b/packages/nc-gui/lang/lv.json @@ -761,7 +761,7 @@ "icon": "Ikons", "max": "Maksimums", "enableRichText": "Ieslēgt bagātīgu tekstu", - "idColon": "Id: {fieldId}", + "idColon": "Id: {id}", "copiedRecordURL": "Kopēts ieraksta URL", "copyRecordURL": "Kopēt ieraksta URL", "duplicateRecord": "Duplicēt ierakstu", diff --git a/packages/nc-gui/lang/nl.json b/packages/nc-gui/lang/nl.json index 3f8b38a123..1d43b2cbd2 100644 --- a/packages/nc-gui/lang/nl.json +++ b/packages/nc-gui/lang/nl.json @@ -761,7 +761,7 @@ "icon": "Icon", "max": "Max", "enableRichText": "Enable rich text", - "idColon": "Id: {fieldId}", + "idColon": "Id: {id}", "copiedRecordURL": "Copied Record URL", "copyRecordURL": "Copy Record URL", "duplicateRecord": "Duplicate record", diff --git a/packages/nc-gui/lang/no.json b/packages/nc-gui/lang/no.json index f325e9d72f..500420228c 100644 --- a/packages/nc-gui/lang/no.json +++ b/packages/nc-gui/lang/no.json @@ -761,7 +761,7 @@ "icon": "Icon", "max": "Max", "enableRichText": "Enable rich text", - "idColon": "Id: {fieldId}", + "idColon": "Id: {id}", "copiedRecordURL": "Copied Record URL", "copyRecordURL": "Copy Record URL", "duplicateRecord": "Duplicate record", diff --git a/packages/nc-gui/lang/pl.json b/packages/nc-gui/lang/pl.json index 09c9c56200..718c8b810d 100644 --- a/packages/nc-gui/lang/pl.json +++ b/packages/nc-gui/lang/pl.json @@ -761,7 +761,7 @@ "icon": "Ikona", "max": "Maks", "enableRichText": "Włącz Edytor Tekstu", - "idColon": "Id: {fieldId}", + "idColon": "Id: {id}", "copiedRecordURL": "Skopiowano URL rekordu", "copyRecordURL": "Kopiuj URL rekordu", "duplicateRecord": "Zduplikowany rekord", diff --git a/packages/nc-gui/lang/pt.json b/packages/nc-gui/lang/pt.json index d9c74e7cc5..7cc5c479f7 100644 --- a/packages/nc-gui/lang/pt.json +++ b/packages/nc-gui/lang/pt.json @@ -761,7 +761,7 @@ "icon": "Ícone", "max": "Max", "enableRichText": "Ativar texto rico", - "idColon": "Id: {fieldId}", + "idColon": "Id: {id}", "copiedRecordURL": "Copied Record URL", "copyRecordURL": "Copy Record URL", "duplicateRecord": "Duplicar registo", diff --git a/packages/nc-gui/lang/pt_BR.json b/packages/nc-gui/lang/pt_BR.json index e30fad3c00..0fd16ea5c6 100644 --- a/packages/nc-gui/lang/pt_BR.json +++ b/packages/nc-gui/lang/pt_BR.json @@ -761,7 +761,7 @@ "icon": "Icon", "max": "Max", "enableRichText": "Enable rich text", - "idColon": "Id: {fieldId}", + "idColon": "Id: {id}", "copiedRecordURL": "Copied Record URL", "copyRecordURL": "Copy Record URL", "duplicateRecord": "Duplicate record", diff --git a/packages/nc-gui/lang/ru.json b/packages/nc-gui/lang/ru.json index 6d8555ed98..495e208f89 100644 --- a/packages/nc-gui/lang/ru.json +++ b/packages/nc-gui/lang/ru.json @@ -761,7 +761,7 @@ "icon": "Иконка", "max": "Макс", "enableRichText": "Включить насыщенный текст", - "idColon": "Id: {fieldId}", + "idColon": "Id: {id}", "copiedRecordURL": "URL скопированной записи", "copyRecordURL": "Копировать URL записи", "duplicateRecord": "Дублировать запись", diff --git a/packages/nc-gui/lang/sk.json b/packages/nc-gui/lang/sk.json index 6b56fd0f20..1a059098fe 100644 --- a/packages/nc-gui/lang/sk.json +++ b/packages/nc-gui/lang/sk.json @@ -761,7 +761,7 @@ "icon": "Icon", "max": "Max", "enableRichText": "Enable rich text", - "idColon": "Id: {fieldId}", + "idColon": "Id: {id}", "copiedRecordURL": "Copied Record URL", "copyRecordURL": "Copy Record URL", "duplicateRecord": "Duplicate record", diff --git a/packages/nc-gui/lang/sl.json b/packages/nc-gui/lang/sl.json index beeac4c5ee..2da87edd88 100644 --- a/packages/nc-gui/lang/sl.json +++ b/packages/nc-gui/lang/sl.json @@ -761,7 +761,7 @@ "icon": "Icon", "max": "Max", "enableRichText": "Enable rich text", - "idColon": "Id: {fieldId}", + "idColon": "Id: {id}", "copiedRecordURL": "Copied Record URL", "copyRecordURL": "Copy Record URL", "duplicateRecord": "Duplicate record", diff --git a/packages/nc-gui/lang/sv.json b/packages/nc-gui/lang/sv.json index 7fef5de14e..73c4bbda85 100644 --- a/packages/nc-gui/lang/sv.json +++ b/packages/nc-gui/lang/sv.json @@ -761,7 +761,7 @@ "icon": "Ikon", "max": "Max", "enableRichText": "Enable rich text", - "idColon": "Id: {fieldId}", + "idColon": "Id: {id}", "copiedRecordURL": "Copied Record URL", "copyRecordURL": "Copy Record URL", "duplicateRecord": "Duplicate record", diff --git a/packages/nc-gui/lang/th.json b/packages/nc-gui/lang/th.json index 6cc0bf0604..7350c9aef5 100644 --- a/packages/nc-gui/lang/th.json +++ b/packages/nc-gui/lang/th.json @@ -761,7 +761,7 @@ "icon": "Icon", "max": "Max", "enableRichText": "Enable rich text", - "idColon": "Id: {fieldId}", + "idColon": "Id: {id}", "copiedRecordURL": "Copied Record URL", "copyRecordURL": "Copy Record URL", "duplicateRecord": "Duplicate record", diff --git a/packages/nc-gui/lang/tr.json b/packages/nc-gui/lang/tr.json index 203d84935c..0be738ce7d 100644 --- a/packages/nc-gui/lang/tr.json +++ b/packages/nc-gui/lang/tr.json @@ -761,7 +761,7 @@ "icon": "Simge", "max": "Max", "enableRichText": "Zengin Metni Etkinleştir", - "idColon": "Id: {fieldId}", + "idColon": "Id: {id}", "copiedRecordURL": "Kayıt URL'si Kopyalandı", "copyRecordURL": "Kayıt URL'sini Kopyala", "duplicateRecord": "Kaydı Çoğalt", diff --git a/packages/nc-gui/lang/uk.json b/packages/nc-gui/lang/uk.json index f8df32dd60..496c948aab 100644 --- a/packages/nc-gui/lang/uk.json +++ b/packages/nc-gui/lang/uk.json @@ -761,7 +761,7 @@ "icon": "Icon", "max": "Max", "enableRichText": "Enable rich text", - "idColon": "Id: {fieldId}", + "idColon": "Id: {id}", "copiedRecordURL": "Copied Record URL", "copyRecordURL": "Copy Record URL", "duplicateRecord": "Duplicate record", diff --git a/packages/nc-gui/lang/vi.json b/packages/nc-gui/lang/vi.json index 2184e4e432..b9c3937ed6 100644 --- a/packages/nc-gui/lang/vi.json +++ b/packages/nc-gui/lang/vi.json @@ -761,7 +761,7 @@ "icon": "Icon", "max": "Max", "enableRichText": "Enable rich text", - "idColon": "Id: {fieldId}", + "idColon": "Id: {id}", "copiedRecordURL": "Copied Record URL", "copyRecordURL": "Copy Record URL", "duplicateRecord": "Duplicate record", diff --git a/packages/nc-gui/lang/zh-Hans.json b/packages/nc-gui/lang/zh-Hans.json index dff1343023..36ad197b71 100644 --- a/packages/nc-gui/lang/zh-Hans.json +++ b/packages/nc-gui/lang/zh-Hans.json @@ -761,7 +761,7 @@ "icon": "图标", "max": "最大", "enableRichText": "启用富文本", - "idColon": "Id: {fieldId}", + "idColon": "Id: {id}", "copiedRecordURL": "复制的记录 URL", "copyRecordURL": "复制该记录卡片的 URL", "duplicateRecord": "复制该行", diff --git a/packages/nc-gui/lang/zh-Hant.json b/packages/nc-gui/lang/zh-Hant.json index 4133688777..e101a14e0f 100644 --- a/packages/nc-gui/lang/zh-Hant.json +++ b/packages/nc-gui/lang/zh-Hant.json @@ -761,7 +761,7 @@ "icon": "Icon", "max": "Max", "enableRichText": "Enable rich text", - "idColon": "Id: {fieldId}", + "idColon": "Id: {id}", "copiedRecordURL": "Copied Record URL", "copyRecordURL": "Copy Record URL", "duplicateRecord": "Duplicate record",