From 8612f307b32d5082433ed7506ceb6bd1823fb683 Mon Sep 17 00:00:00 2001 From: Nithin David Thomas Date: Sat, 27 Mar 2021 13:08:09 +0530 Subject: [PATCH] Chore: Update widget offline message (#2001) --- app/javascript/widget/components/ChatHeaderExpanded.vue | 7 +++++-- app/javascript/widget/components/TeamAvailability.vue | 2 +- app/javascript/widget/i18n/locale/en.json | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/app/javascript/widget/components/ChatHeaderExpanded.vue b/app/javascript/widget/components/ChatHeaderExpanded.vue index e528d336f..eaad2cbbc 100755 --- a/app/javascript/widget/components/ChatHeaderExpanded.vue +++ b/app/javascript/widget/components/ChatHeaderExpanded.vue @@ -49,10 +49,13 @@ export default { diff --git a/app/javascript/widget/components/TeamAvailability.vue b/app/javascript/widget/components/TeamAvailability.vue index 0460161c4..084538a9d 100644 --- a/app/javascript/widget/components/TeamAvailability.vue +++ b/app/javascript/widget/components/TeamAvailability.vue @@ -71,7 +71,7 @@ export default { if (workingHoursEnabled) { return this.outOfOfficeMessage; } - return this.$t('TEAM_AVAILABILITY.OFFLINE'); + return ''; }, }, methods: { diff --git a/app/javascript/widget/i18n/locale/en.json b/app/javascript/widget/i18n/locale/en.json index 47d68c31d..33a27d18b 100644 --- a/app/javascript/widget/i18n/locale/en.json +++ b/app/javascript/widget/i18n/locale/en.json @@ -10,7 +10,7 @@ }, "TEAM_AVAILABILITY": { "ONLINE": "We are online", - "OFFLINE": "We are offline" + "OFFLINE": "We are away at the moment" }, "REPLY_TIME": { "IN_A_FEW_MINUTES": "Typically replies in a few minutes",