Commit e9277df8 authored by Kai Koehne's avatar Kai Koehne

QuickFixes: Fix capitalization of descriptions

Always use camel case for actions in context menu.

Change-Id: Iafa0569c4bca4ecb858fe618780208322379b979
Reviewed-by: default avatarFawzi Mohamed <fawzi.mohamed@nokia.com>
Reviewed-by: default avatarLeena Miettinen <riitta-leena.miettinen@nokia.com>
parent 49830c48
......@@ -1027,7 +1027,7 @@ QList<CppQuickFixOperation::Ptr> ApplyDeclDefLinkChanges::match(const QSharedPoi
return results;
QSharedPointer<ApplyDeclDefLinkOperation> op(new ApplyDeclDefLinkOperation(interface, link));
op->setDescription(FunctionDeclDefLink::tr("Apply function signature changes"));
op->setDescription(FunctionDeclDefLink::tr("Apply Function Signature Changes"));
results += op;
return results;
......
......@@ -142,7 +142,7 @@ InsertQtPropertyMembers::Operation::Operation(
, m_signalName(signalName)
, m_storageName(storageName)
{
QString desc = InsertQtPropertyMembers::tr("Generate missing Q_PROPERTY members...");
QString desc = InsertQtPropertyMembers::tr("Generate Missing Q_PROPERTY Members...");
setDescription(desc);
}
......
......@@ -75,7 +75,7 @@ public:
}
setDescription(QCoreApplication::translate("QmlJSEditor::ComponentFromObjectDef",
"Move Component into separate file"));
"Move Component into Separate File"));
}
virtual void performChanges(QmlJSRefactoringFilePtr currentFile,
......
......@@ -102,7 +102,7 @@ private:
, _objectInitializer(objectInitializer)
{
setDescription(QApplication::translate("QmlJSEditor::QuickFix",
"Split initializer"));
"Split Initializer"));
}
virtual void performChanges(QmlJSRefactoringFilePtr currentFile,
......@@ -165,7 +165,7 @@ private:
: QmlJSQuickFixOperation(interface, 0)
, _message(message)
{
setDescription(AddAnalysisMessageSuppressionComment::tr("Add a comment to suppress this message"));
setDescription(AddAnalysisMessageSuppressionComment::tr("Add a Comment to Suppress This Message"));
}
virtual void performChanges(QmlJSRefactoringFilePtr currentFile,
......
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