[libraries/ktextaddons] texttranslator/translator/widgets: Use fromLang as fromLangI18n is empty

Laurent Montel <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit f7fa413dd2c7831a9c3fd424fcd61b01c2282704 by Laurent Montel.
Committed on 16/08/2026 at 08:54.
Pushed by mlaurent into branch 'master'.

Use fromLang as fromLangI18n  is empty

M  +1    -1    texttranslator/translator/widgets/translatormenu.cpp

https://invent.kde.org/libraries/ktextaddons/-/commit/f7fa413dd2c7831a9c3fd424fcd61b01c2282704

diff --git a/texttranslator/translator/widgets/translatormenu.cpp b/texttranslator/translator/widgets/translatormenu.cpp
index 402757840..c8992b1cf 100644
--- a/texttranslator/translator/widgets/translatormenu.cpp
+++ b/texttranslator/translator/widgets/translatormenu.cpp
@@ -53,7 +53,7 @@ void TranslatorMenu::updateMenu()
     for (const auto &fromLang : fromList) {
         const QString fromLangI18n = TextTranslator::TranslatorUtil::searchI18nFromLanguage(fromLang);
         if (fromLangI18n.isEmpty()) {
-            qCWarning(TEXTTRANSLATOR_LOG) << "Impossible to find \"from\" language " << fromLangI18n;
+            qCWarning(TEXTTRANSLATOR_LOG) << "Impossible to find \"from\" language " << fromLang;
         } else {
             for (const auto &toLang : toList) {
                 const QString toLangI18n = TextTranslator::TranslatorUtil::searchI18nFromLanguage(toLang);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.