From 32fbe20e30f062441fa03c8591e23b7aecbe9fba Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Mon, 9 Dec 2019 19:04:17 +0100 Subject: [PATCH] Fix translations on a plasma wayland session Was using the wrong kconfiggroup --- startkde/startplasma.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/startkde/startplasma.cpp b/startkde/startplasma.cpp index 394ad3c40..c5c4b686a 100644 --- a/startkde/startplasma.cpp +++ b/startkde/startplasma.cpp @@ -133,7 +133,7 @@ void runStartupConfig() } KConfigGroup languageConfig = KConfigGroup(&config, "Translations"); - const QString value = formatsConfig.readEntry("LANGUAGE", QString()); + const QString value = languageConfig.readEntry("LANGUAGE", QString()); if (!value.isEmpty()) { qputenv("LANGUAGE", value.toUtf8()); }