From fd202851d7e2019f893af8e16d089942f209608a Mon Sep 17 00:00:00 2001 From: Ramesh Mane <101566080+rameshmane7218@users.noreply.github.com> Date: Thu, 22 Feb 2024 16:17:55 +0000 Subject: [PATCH] fix(nc-gui): use I18n instead of hardcoded text --- .../nc-gui/components/general/FormBanner.vue | 2 +- .../nc-gui/components/smartsheet/Form.vue | 64 +++++++++++-------- .../composables/useSharedFormViewStore.ts | 9 +-- packages/nc-gui/lang/en.json | 19 ++++-- 4 files changed, 56 insertions(+), 38 deletions(-) diff --git a/packages/nc-gui/components/general/FormBanner.vue b/packages/nc-gui/components/general/FormBanner.vue index 26a7a55c52..d34176641f 100644 --- a/packages/nc-gui/components/general/FormBanner.vue +++ b/packages/nc-gui/components/general/FormBanner.vue @@ -1,6 +1,6 @@ diff --git a/packages/nc-gui/components/smartsheet/Form.vue b/packages/nc-gui/components/smartsheet/Form.vue index 72fbcf870c..ef54604a35 100644 --- a/packages/nc-gui/components/smartsheet/Form.vue +++ b/packages/nc-gui/components/smartsheet/Form.vue @@ -538,8 +538,8 @@ useEventListener(