From 9bd4ef1b83e1e7a93bc3017f01980e02ab739dfa Mon Sep 17 00:00:00 2001 From: Camila Ayres Date: Thu, 4 Jul 2024 09:54:22 +0200 Subject: [PATCH] Translate enterprise channel explanation string. Signed-off-by: Camila Ayres --- src/gui/generalsettings.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/gui/generalsettings.cpp b/src/gui/generalsettings.cpp index 31d968344..2b91b4bc8 100644 --- a/src/gui/generalsettings.cpp +++ b/src/gui/generalsettings.cpp @@ -388,7 +388,8 @@ void GeneralSettings::slotUpdateChannelChanged() return; } - const auto enterprise = configFile.validUpdateChannels().contains("enterprise") ? "- enterprise: contains stable versions for customers.\n" + const auto enterprise = configFile.validUpdateChannels().contains("enterprise") ? tr("- enterprise: contains stable versions for customers.\n", + "description of enterprise update channel for enterprise customers") : ""; auto msgBox = new QMessageBox( QMessageBox::Warning, @@ -396,7 +397,7 @@ void GeneralSettings::slotUpdateChannelChanged() tr("The channel determines which upgrades will be offered to install:\n" "- stable: contains tested versions considered reliable\n" "- beta: contains versions with new features that may not be tested thoroughly\n" - "- daily: contains versions created daily only for testing and development\n\n" + "- daily: contains versions created daily only for testing and development\n" "%1\n" "Downgrading versions is not possible immediately: changing from beta to stable means waiting for the new stable version.").arg(enterprise), QMessageBox::NoButton,