[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kdev-cppcheck] /: Translate a few more strings
From:       Kevin Funk <kfunk () kde ! org>
Date:       2016-11-30 20:11:13
Message-ID: E1cCBDl-0005ia-1X () code ! kde ! org
[Download RAW message or body]

Git commit 21514aa63d76dbc4ec0be9668f681c793c262d56 by Kevin Funk.
Committed on 30/11/2016 at 20:11.
Pushed by kfunk into branch 'master'.

Translate a few more strings

M  +2    -2    plugin.cpp

https://commits.kde.org/kdev-cppcheck/21514aa63d76dbc4ec0be9668f681c793c262d56

diff --git a/plugin.cpp b/plugin.cpp
index 5c6b430..6b13224 100644
--- a/plugin.cpp
+++ b/plugin.cpp
@@ -79,7 +79,7 @@ Plugin::Plugin(QObject* parent, const QVariantList&)
     });
     actionCollection()->addAction("cppcheck_project", m_actionProject);
 
-    m_actionProjectItem = new QAction("Cppcheck", this);
+    m_actionProjectItem = new QAction(i18n("Cppcheck"), this);
 
     connect(core()->documentController(), &KDevelop::IDocumentController::documentClosed,
             this, &Plugin::updateActions);
@@ -92,7 +92,7 @@ Plugin::Plugin(QObject* parent, const QVariantList&)
             this, &Plugin::projectClosed);
 
     KDevelop::ProblemModelSet* pms = core()->languageController()->problemModelSet();
-    pms->addModel(modelId, QStringLiteral("Cppcheck"), m_model.data());
+    pms->addModel(modelId, i18n("Cppcheck"), m_model.data());
 
     updateActions();
 }
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic