aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@qt.io>2020-10-07 12:19:04 +0200
committerLeena Miettinen <riitta-leena.miettinen@qt.io>2020-10-07 12:54:25 +0000
commit1fcac114a330e93f1df4e2fab0206b35f6c776e9 (patch)
tree103e5d86a025ad98ee14878d2d9e288b33e63d70 /src
parent38efee1598af024ec1ce53b6a9ef07fda7b48341 (diff)
Doc: Describe new refactoring actions (quick fixes)
Fix capitalization of action names. Task-number: QTCREATORBUG-24529 Change-Id: I021717bbae237dd293bdbd56d5e10407ee12f224 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/cppeditor/cppquickfixes.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/cppeditor/cppquickfixes.cpp b/src/plugins/cppeditor/cppquickfixes.cpp
index 0853a46d93e..931d7835236 100644
--- a/src/plugins/cppeditor/cppquickfixes.cpp
+++ b/src/plugins/cppeditor/cppquickfixes.cpp
@@ -3228,7 +3228,7 @@ public:
: CppQuickFixOperation(interface), m_class(theClass), m_member(member), m_type(type)
{
setDescription(QCoreApplication::translate("CppTools::Quickfix",
- "Add class member \"%1\"").arg(m_member));
+ "Add Class Member \"%1\"").arg(m_member));
}
private:
@@ -3238,7 +3238,7 @@ private:
if (type.isEmpty()) {
type = QInputDialog::getText(
Core::ICore::dialogParent(),
- QCoreApplication::translate("CppTools::Quickfix","Please provide the type"),
+ QCoreApplication::translate("CppTools::Quickfix","Provide the type"),
QCoreApplication::translate("CppTools::Quickfix","Data type:"),
QLineEdit::Normal);
}
@@ -7568,13 +7568,13 @@ public:
if (m_removeAllAtGlobalScope) {
setDescription(QApplication::translate(
"CppTools::QuickFix",
- "Remove all occurrences of 'using namespace %1' at the global scope "
- "and adjust type names accordingly")
+ "Remove All Occurrences of \"using namespace %1\" in Global Scope "
+ "and Adjust Type Names Accordingly")
.arg(name));
} else {
setDescription(QApplication::translate("CppTools::QuickFix",
- "Remove 'using namespace %1' and "
- "adjust type names accordingly")
+ "Remove \"using namespace %1\" and "
+ "Adjust Type Names Accordingly")
.arg(name));
}
}