[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kdev-clang-tidy] src/plugin: Fix some translated strings
From: Kevin Funk <kfunk () kde ! org>
Date: 2016-11-30 21:16:33
Message-ID: E1cCCEz-0003D7-76 () code ! kde ! org
[Download RAW message or body]
Git commit 52a02282c7c275d9a893278c4b9ec8e0621337e3 by Kevin Funk.
Committed on 30/11/2016 at 21:16.
Pushed by kfunk into branch 'master'.
Fix some translated strings
M +3 -3 src/plugin/plugin.cpp
https://commits.kde.org/kdev-clang-tidy/52a02282c7c275d9a893278c4b9ec8e0621337e3
diff --git a/src/plugin/plugin.cpp b/src/plugin/plugin.cpp
index a10fa21..fcd9028 100644
--- a/src/plugin/plugin.cpp
+++ b/src/plugin/plugin.cpp
@@ -69,7 +69,7 @@ Plugin::Plugin(QObject* parent, const QVariantList& /*unused*/)
QAction* act_checkfile;
act_checkfile = actionCollection()->addAction("clangtidy_file", this, SLOT(runClangtidyFile()));
- act_checkfile->setStatusTip(i18n("Launches Clangtidy for current file"));
+ act_checkfile->setStatusTip(i18n("Launches clang-tidy for current file"));
act_checkfile->setText(i18n("clang-tidy"));
/* TODO: Uncomment this only when discover a safe way to run clang-tidy on
@@ -90,7 +90,7 @@ Plugin::Plugin(QObject* parent, const QVariantList& /*unused*/)
Q_ASSERT(iface);
ProblemModelSet* pms = core()->languageController()->problemModelSet();
- pms->addModel(QStringLiteral("Clangtidy"), i18n("Clangtidy"), m_model.data());
+ pms->addModel(QStringLiteral("Clangtidy"), i18n("Clang-Tidy"), m_model.data());
m_config = KSharedConfig::openConfig()->group("Clangtidy");
auto clangtidyPath = m_config.readEntry(ConfigGroup::ExecutablePath);
@@ -171,7 +171,7 @@ void Plugin::runClangtidy(bool allFiles)
m_config = project->projectConfiguration()->group("Clangtidy");
if (!m_config.isValid()) {
- QMessageBox::critical(nullptr, i18n("Error starting Clangtidy"),
+ QMessageBox::critical(nullptr, i18n("Error starting clang-tidy"),
i18n("Can't load parameters. They must be set in the "
"project settings."));
return;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic