From cd82f7552b52361915c3dd36868a99b7259bfac9 Mon Sep 17 00:00:00 2001 From: Gabriele Panico Date: Wed, 17 Apr 2024 16:19:56 +0200 Subject: [PATCH] ### 5.0.74-rc.5 --- CHANGELOG.md | 3 +++ package-lock.json | 4 ++-- package.json | 2 +- src/app/providers/translator.service.ts | 14 ++++++++------ 4 files changed, 14 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1e1ec187..fcd73efb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,9 @@ *Dario De Pascalis* ### **Copyrigth**: *Tiledesk SRL* +### 5.0.74-rc.5 +- bug-fixed: minor improvement labels + ### 5.0.74-rc.4 - added: clearStorage method to index-dev.html file diff --git a/package-lock.json b/package-lock.json index f4a10268..2e996b58 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@chat21/chat21-web-widget", - "version": "5.0.74-rc.4", + "version": "5.0.74-rc.5", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@chat21/chat21-web-widget", - "version": "5.0.74-rc.4", + "version": "5.0.74-rc.5", "license": "MIT", "dependencies": { "@angular/animations": "^15.0.4", diff --git a/package.json b/package.json index 216480ee..8f4a04ff 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@chat21/chat21-web-widget", "author": "Tiledesk SRL", - "version": "5.0.74-rc.4", + "version": "5.0.74-rc.5", "license": "MIT", "homepage": "https://www.tiledesk.com", "repository": { diff --git a/src/app/providers/translator.service.ts b/src/app/providers/translator.service.ts index 9a83e4cb..e95bb70f 100644 --- a/src/app/providers/translator.service.ts +++ b/src/app/providers/translator.service.ts @@ -237,9 +237,9 @@ export class TranslatorService { 'WELCOME', 'WELCOME_TITLE', 'WELCOME_MSG', - 'WELCOME', - 'WELCOME_TITLE', - 'WELCOME_MSG', + 'WELLCOME', + 'WELLCOME_TITLE', + 'WELLCOME_MSG', 'OPTIONS', 'SOUND_ON', 'SOUND_OFF', @@ -290,9 +290,9 @@ export class TranslatorService { globals.BUTTON_EDIT_PROFILE = res['BUTTON_EDIT_PROFILE']; // is used ?? globals.DOWNLOAD_TRANSCRIPT = res['DOWNLOAD_TRANSCRIPT']; globals.RATE_CHAT = res['RATE_CHAT']; // is used ?? - globals.WELCOME = res['WELCOME']; - globals.WELCOME_TITLE = res['WELCOME_TITLE']; - globals.WELCOME_MSG = res['WELCOME_MSG']; + globals.WELCOME = res['WELLCOME']; + globals.WELCOME_TITLE = res['WELLCOME_TITLE']; + globals.WELCOME_MSG = res['WELLCOME_MSG']; globals.OPTIONS = res['OPTIONS']; globals.SOUND_ON = res['SOUND_ON']; globals.SOUND_OFF = res['SOUND_OFF']; @@ -317,7 +317,9 @@ export class TranslatorService { globals.LABEL_PREVIEW = res['LABEL_PREVIEW'] globals.LABEL_ERROR_FIELD_REQUIRED= res['LABEL_ERROR_FIELD_REQUIRED'] + console.log('gggggg', globals.welcomeTitle) if (!globals.welcomeTitle) { + globals.welcomeTitle = globals.WELCOME_TITLE; /** Set the widget welcome message. Value type : string */ } if (!globals.welcomeMsg) {