Commit a2ce969f authored by Yuri Chornoivan's avatar Yuri Chornoivan

Fix minor typos

parent 1365c1ea
......@@ -87,7 +87,7 @@ void MergeContactSelectInformationScrollArea::setContacts(MergeContacts::Conflic
void MergeContactSelectInformationScrollArea::slotMergeContacts()
{
if (!mCollection.isValid()) {
qCDebug(KADDRESSBOOKMERGELIBPRIVATE_LOG) << " Invalid colletion";
qCDebug(KADDRESSBOOKMERGELIBPRIVATE_LOG) << " Invalid collection";
return;
}
if (mListItem.isEmpty()) {
......
{
"KPlugin": {
"Description": "This plugin allows you to check grammar using LAnguageTool.",
"Description": "This plugin allows you to check grammar using LanguageTool.",
"EnabledByDefault": "false",
"Id": "kmaillanguagetool",
"Name": "Grammar Checker (LanguageTool)",
......
......@@ -44,7 +44,7 @@ static void compareFile(const QString &outFile, const QString &referenceFile)
f.close();
}
// validate xml and pretty-print for comparisson
// validate xml and pretty-print for comparison
// TODO add proper cmake check for xmllint and diff
QStringList args = QStringList()
<< QStringLiteral("--format")
......
......@@ -59,9 +59,9 @@ void BriefHeaderStylePluginTest::testFormatEmpty()
{
MessageViewer::BriefHeaderStylePlugin plugin;
auto style = plugin.headerStyle();
auto stategy = plugin.headerStrategy();
style->setHeaderStrategy(stategy);
QCOMPARE(style->headerStrategy(), stategy);
auto strategy = plugin.headerStrategy();
style->setHeaderStrategy(strategy);
QCOMPARE(style->headerStrategy(), strategy);
auto aMsg = new KMime::Message();
testHeaderFile(style->format(aMsg), QStringLiteral("empty.brief"));
}
......@@ -83,9 +83,9 @@ void BriefHeaderStylePluginTest::testFormat()
MessageViewer::BriefHeaderStylePlugin plugin;
auto style = plugin.headerStyle();
auto stategy = plugin.headerStrategy();
style->setHeaderStrategy(stategy);
QCOMPARE(style->headerStrategy(), stategy);
auto strategy = plugin.headerStrategy();
style->setHeaderStrategy(strategy);
QCOMPARE(style->headerStrategy(), strategy);
auto aMsg = readAndParseMail(mailbox);
testHeaderFile(style->format(aMsg.data()), mailbox+QStringLiteral(".brief"));
}
......
......@@ -60,9 +60,9 @@ void EnterpriseHeaderStylePluginTest::testFormatEmpty()
{
MessageViewer::EnterpriseHeaderStylePlugin plugin;
auto style = plugin.headerStyle();
auto stategy = plugin.headerStrategy();
style->setHeaderStrategy(stategy);
QCOMPARE(style->headerStrategy(), stategy);
auto strategy = plugin.headerStrategy();
style->setHeaderStrategy(strategy);
QCOMPARE(style->headerStrategy(), strategy);
auto aMsg = new KMime::Message();
testHeaderFile(style->format(aMsg), QStringLiteral("empty.enterprise"));
}
......@@ -84,9 +84,9 @@ void EnterpriseHeaderStylePluginTest::testFormat()
MessageViewer::EnterpriseHeaderStylePlugin plugin;
auto style = plugin.headerStyle();
auto stategy = plugin.headerStrategy();
style->setHeaderStrategy(stategy);
QCOMPARE(style->headerStrategy(), stategy);
auto strategy = plugin.headerStrategy();
style->setHeaderStrategy(strategy);
QCOMPARE(style->headerStrategy(), strategy);
auto aMsg = readAndParseMail(mailbox);
testHeaderFile(style->format(aMsg.data()), mailbox+QStringLiteral(".enterprise"));
}
......
......@@ -60,9 +60,9 @@ void FancyHeaderStylePluginTest::testFormatEmpty()
{
MessageViewer::FancyHeaderStylePlugin plugin;
auto style = plugin.headerStyle();
auto stategy = plugin.headerStrategy();
style->setHeaderStrategy(stategy);
QCOMPARE(style->headerStrategy(), stategy);
auto strategy = plugin.headerStrategy();
style->setHeaderStrategy(strategy);
QCOMPARE(style->headerStrategy(), strategy);
auto aMsg = new KMime::Message();
testHeaderFile(style->format(aMsg), QStringLiteral("empty.fancy"));
}
......@@ -84,9 +84,9 @@ void FancyHeaderStylePluginTest::testFormat()
MessageViewer::FancyHeaderStylePlugin plugin;
auto style = plugin.headerStyle();
auto stategy = plugin.headerStrategy();
style->setHeaderStrategy(stategy);
QCOMPARE(style->headerStrategy(), stategy);
auto strategy = plugin.headerStrategy();
style->setHeaderStrategy(strategy);
QCOMPARE(style->headerStrategy(), strategy);
auto aMsg = readAndParseMail(mailbox);
testHeaderFile(style->format(aMsg.data()), mailbox+QStringLiteral(".fancy"));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment