diff --git a/src/plugins/projectexplorer/kit.cpp b/src/plugins/projectexplorer/kit.cpp index 4fb9e97fbd7..942dd5cf531 100644 --- a/src/plugins/projectexplorer/kit.cpp +++ b/src/plugins/projectexplorer/kit.cpp @@ -102,13 +102,13 @@ public: // This provides the same global fall back as the global expander // without relying on the currentKit() discovery process there. m_macroExpander.registerVariable(Constants::VAR_CURRENTKIT_NAME, - tr("The currently active kit's name."), + tr("The name of the currently active kit."), [kit] { return kit->displayName(); }); m_macroExpander.registerVariable(Constants::VAR_CURRENTKIT_FILESYSTEMNAME, - tr("The currently active kit's name in a filesystem friendly version."), + tr("The name of the currently active kit in a filesystem friendly version."), [kit] { return kit->fileSystemFriendlyName(); }); m_macroExpander.registerVariable(Constants::VAR_CURRENTKIT_ID, - tr("The currently active kit's id."), + tr("The id of the currently active kit."), [kit] { return kit->id().toString(); }); } diff --git a/src/plugins/projectexplorer/projectexplorer.cpp b/src/plugins/projectexplorer/projectexplorer.cpp index 3ba5df64268..e66e3be0049 100644 --- a/src/plugins/projectexplorer/projectexplorer.cpp +++ b/src/plugins/projectexplorer/projectexplorer.cpp @@ -1145,28 +1145,28 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er }); expander->registerVariable(Constants::VAR_CURRENTPROJECT_NAME, - tr("The current project's name."), + tr("The name of the current project."), [this]() -> QString { Project *project = ProjectExplorerPlugin::currentProject(); return project ? project->displayName() : QString(); }); expander->registerVariable(Constants::VAR_CURRENTKIT_NAME, - tr("The currently active kit's name."), + tr("The name of the currently active kit."), []() -> QString { Kit *kit = currentKit(); return kit ? kit->displayName() : QString(); }); expander->registerVariable(Constants::VAR_CURRENTKIT_FILESYSTEMNAME, - tr("The currently active kit's name in a filesystem friendly version."), + tr("The name of the currently active kit in a filesystem friendly version."), []() -> QString { Kit *kit = currentKit(); return kit ? kit->fileSystemFriendlyName() : QString(); }); expander->registerVariable(Constants::VAR_CURRENTKIT_ID, - tr("The currently active kit's id."), + tr("The id of the currently active kit."), []() -> QString { Kit *kit = currentKit(); return kit ? kit->id().toString() : QString();