From 7e203a0a290ca02058517b22fd184b71eef59ff0 Mon Sep 17 00:00:00 2001 From: Shariq Ansari Date: Mon, 15 Apr 2024 19:22:16 +0530 Subject: [PATCH] fix: added translation in CommunicationArea, Email & Comment Box component --- frontend/src/components/CommentBox.vue | 4 +-- frontend/src/components/CommunicationArea.vue | 14 +++++----- frontend/src/components/EmailEditor.vue | 26 ++++++++++++------- 3 files changed, 26 insertions(+), 18 deletions(-) diff --git a/frontend/src/components/CommentBox.vue b/frontend/src/components/CommentBox.vue index b74d82ec..a59f257b 100644 --- a/frontend/src/components/CommentBox.vue +++ b/frontend/src/components/CommentBox.vue @@ -64,11 +64,11 @@
-
diff --git a/frontend/src/components/CommunicationArea.vue b/frontend/src/components/CommunicationArea.vue index b251da0f..84b0625b 100644 --- a/frontend/src/components/CommunicationArea.vue +++ b/frontend/src/components/CommunicationArea.vue @@ -5,7 +5,7 @@ ref="sendEmailRef" variant="ghost" :class="[showEmailBox ? '!bg-gray-300 hover:!bg-gray-200' : '']" - label="Reply" + :label="__('Reply')" @click="toggleEmailBox()" > diff --git a/frontend/src/components/EmailEditor.vue b/frontend/src/components/EmailEditor.vue index 4c917283..c882c7df 100644 --- a/frontend/src/components/EmailEditor.vue +++ b/frontend/src/components/EmailEditor.vue @@ -10,7 +10,7 @@ > @@ -114,11 +120,11 @@
-
@@ -158,7 +164,7 @@ const props = defineProps({ }, subject: { type: String, - default: 'Email from Lead', + default: __('Email from Lead'), }, editorProps: { type: Object,