Commit c8d638c2 authored by Leena Miettinen's avatar Leena Miettinen Committed by Tobias Hunger

Project explorer: fix UI text

Change-Id: Ica47a8c8e6a9b5b64c6ed5aa2a15d842803b8069
Reviewed-by: default avatarTobias Hunger <tobias.hunger@theqtcompany.com>
parent b3f601d7
......@@ -1313,14 +1313,14 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er
});
expander->registerVariable(Constants::VAR_CURRENTKIT_FILESYSTEMNAME,
tr("The name of the currently active kit in a filesystem-friendly version."),
tr("The name of the currently active kit as a filesystem-friendly version."),
[]() -> QString {
Kit *kit = currentKit();
return kit ? kit->fileSystemFriendlyName() : QString();
});
expander->registerVariable(Constants::VAR_CURRENTKIT_ID,
tr("The id of the currently active kit."),
tr("The ID of the currently active kit."),
[]() -> QString {
Kit *kit = currentKit();
return kit ? kit->id().toString() : QString();
......@@ -3314,7 +3314,7 @@ void ProjectExplorerPlugin::renameFile(Node *node, const QString &newFilePath)
QTimer::singleShot(0, [orgFilePath, newFilePath, projectFileName] {
int res = QMessageBox::question(ICore::mainWindow(),
tr("Project Editing Failed"),
tr("The project file %1 cannot be automatically changed\n\n"
tr("The project file %1 cannot be automatically changed.\n\n"
"Rename %2 to %3 anyway?")
.arg(projectFileName)
.arg(orgFilePath)
......
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