Commit 9c72b69d authored by hjk's avatar hjk
Browse files

Replace some genitive of lifeless things



Despite the trend to use it for geographic names and organizations...

Change-Id: If135e78d1777f3f7d6c1688e9007969082bf3545
Reviewed-by: default avatarLeena Miettinen <riitta-leena.miettinen@digia.com>
parent 7150a615
......@@ -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(); });
}
......
......@@ -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();
......
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