From 77935de89366509524a5601c52a5a9e90ea24722 Mon Sep 17 00:00:00 2001
From: Aline Gondim Santos <aline.gondimsantos@savoirfairelinux.com>
Date: Tue, 8 Aug 2023 10:20:37 -0300
Subject: [PATCH] welcomepage: fix title translation

Change-Id: Ied989089c59293802b16cf252a538f56d1fbc147
---
 src/app/mainview/components/WelcomePage.qml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/app/mainview/components/WelcomePage.qml b/src/app/mainview/components/WelcomePage.qml
index 023246b73..21ed8dd35 100644
--- a/src/app/mainview/components/WelcomePage.qml
+++ b/src/app/mainview/components/WelcomePage.qml
@@ -85,6 +85,14 @@ ListSelectionView {
     property color mainBoxTextColor: JamiTheme.textColor
     property color contentTipAndIdColor: JamiTheme.tintedBlue
 
+    Connections {
+        target: UtilsAdapter
+        function onChangeLanguage() {
+            title = hasCustomUi && uiCustomization.title !== undefined ? uiCustomization.title : JamiStrings.welcomeToJami;
+            description = hasCustomUi && uiCustomization.description !== undefined ? uiCustomization.description : JamiStrings.hereIsIdentifier;
+        }
+    }
+
     function updateUiFlags() {
         hasCustomUi = Object.keys(uiCustomization).length > 0;
         hasTitle = hasCustomUi ? uiCustomization.title !== "" : true;
-- 
GitLab