aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmlprojectmanager/qmlprojectplugin.cpp
diff options
context:
space:
mode:
authorLeena Miettinen <[email protected]>2022-10-19 18:39:25 +0200
committerLeena Miettinen <[email protected]>2022-10-20 07:02:52 +0000
commitb9e45d7b30423d4270f2da29ce5d5f90d0270509 (patch)
tree06b0365b03a76d1f38443817f8cc5a7bdeb08854 /src/plugins/qmlprojectmanager/qmlprojectplugin.cpp
parent3ac5051af9243cac3435ff8473e96ba2ce64a7b6 (diff)
UI text: Fix spacing in multi-line messages
You need an empty space at the end of a line (before quotes), but no empty space after \n. Task-number: QTCREATORBUG-28334 Change-Id: I192836cb10b819a359778879c64e6b80aaa059f2 Reviewed-by: Eike Ziller <[email protected]> Reviewed-by: <[email protected]>
Diffstat (limited to 'src/plugins/qmlprojectmanager/qmlprojectplugin.cpp')
-rw-r--r--src/plugins/qmlprojectmanager/qmlprojectplugin.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/qmlprojectmanager/qmlprojectplugin.cpp b/src/plugins/qmlprojectmanager/qmlprojectplugin.cpp
index 424af299126..270920968bd 100644
--- a/src/plugins/qmlprojectmanager/qmlprojectplugin.cpp
+++ b/src/plugins/qmlprojectmanager/qmlprojectplugin.cpp
@@ -217,7 +217,7 @@ void QmlProjectPlugin::openInQDSWithProject(const Utils::FilePath &filePath)
Core::AsynchronousMessageBox::warning(
tr("Qt Design Studio"),
tr("No project file (*.qmlproject) found for Qt Design "
- "Studio.\n Qt Design Studio requires a .qmlproject "
+ "Studio.\nQt Design Studio requires a .qmlproject "
"based project to open the .ui.qml file."));
}
}
@@ -272,7 +272,7 @@ bool QmlProjectPlugin::initialize(const QStringList &, QString *errorMessage)
if (QmlProject::isQtDesignStudio()) {
Core::ActionContainer *menu = Core::ActionManager::actionContainer(
ProjectExplorer::Constants::M_FILECONTEXT);
- QAction *mainfileAction = new QAction(tr("Set as main .qml file"), this);
+ QAction *mainfileAction = new QAction(tr("Set as Main .qml File"), this);
mainfileAction->setEnabled(false);
connect(mainfileAction, &QAction::triggered, this, []() {
@@ -315,7 +315,7 @@ bool QmlProjectPlugin::initialize(const QStringList &, QString *errorMessage)
!= fileNode->filePath());
});
- QAction *mainUifileAction = new QAction(tr("Set as main .ui.qml file"), this);
+ QAction *mainUifileAction = new QAction(tr("Set as Main .ui.qml File"), this);
mainUifileAction->setEnabled(false);
connect(mainUifileAction, &QAction::triggered, this, []() {