Fix capitalization of refactoring actions

Consistently use book style for refactoring actions (which appear as
items in drop downs and menus).

Change-Id: I31cfd40dfc5d4d14a5949072168682a12cf566ac
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
This commit is contained in:
Eike Ziller
2024-05-14 14:09:10 +02:00
parent 902dda5b27
commit 18e817ce3c
7 changed files with 9 additions and 9 deletions

View File

@@ -1903,7 +1903,7 @@ AddForwardDeclForUndefinedIdentifierOp::AddForwardDeclForUndefinedIdentifierOp(
int symbolPos)
: CppQuickFixOperation(interface, priority), m_className(fqClassName), m_symbolPos(symbolPos)
{
setDescription(Tr::tr("Add forward declaration for %1").arg(m_className));
setDescription(Tr::tr("Add Forward Declaration for %1").arg(m_className));
}
void AddForwardDeclForUndefinedIdentifierOp::perform()
@@ -9910,7 +9910,7 @@ public:
ConvertToMetaMethodCallOp(const CppQuickFixInterface &interface, CallAST *callAst)
: CppQuickFixOperation(interface), m_callAst(callAst)
{
setDescription(Tr::tr("Convert function call to Qt meta-method invocation"));
setDescription(Tr::tr("Convert Function Call to Qt Meta-Method Invocation"));
}
private:
@@ -10048,7 +10048,7 @@ public:
: CppQuickFixOperation(interface)
, m_state(std::make_shared<State>())
{
setDescription(Tr::tr("Move class to a dedicated set of source files"));
setDescription(Tr::tr("Move Class to a Dedicated Set of Source Files"));
m_state->originalFilePath = interface.currentFile()->filePath();
m_state->classAst = classAst;
m_state->namespacePath = namespacePath;