From 528e20419572d35e0fa7cd04b58c5245d8dd0942 Mon Sep 17 00:00:00 2001 From: Aline Gondim Santos <aline.gondimsantos@savoirfairelinux.com> Date: Mon, 8 Aug 2022 14:29:55 -0300 Subject: [PATCH] language: set JAMI_LANG variable GitLab: https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/747 Change-Id: I4c87490fb21eb5e7c5f11deadf871f56755eb2f1 --- src/app/mainapplication.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/mainapplication.cpp b/src/app/mainapplication.cpp index 6d4bebe15..ffd799c95 100644 --- a/src/app/mainapplication.cpp +++ b/src/app/mainapplication.cpp @@ -136,6 +136,7 @@ MainApplication::init() setWindowIcon(QIcon(":/images/jami.ico")); Utils::removeOldVersions(); + qputenv("JAMI_LANG", settingsManager_->getValue(Settings::Key::LANG).toByteArray()); settingsManager_->loadTranslations(); setApplicationFont(); -- GitLab