summaryrefslogtreecommitdiff
path: root/src/plugins/vcsbase
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2018-08-28 08:35:38 +0300
committerOrgad Shaneh <orgads@gmail.com>2018-08-28 07:20:13 +0000
commit6e59d31095b23cd9097dc02c5bed0af0900df203 (patch)
tree7a1464e1c5727eb57355c0132f88a805cc9cb02e /src/plugins/vcsbase
parentff6d91e42b3b578ca116dce61874e486c9c7a0fd (diff)
downloadqt-creator-6e59d31095b23cd9097dc02c5bed0af0900df203.tar.gz
VCS: Capitalize commitDisplayName
To be used by the submit editor. Change-Id: I73fc13abfd37f207d92669c1893b7edda35ed1e4 Reviewed-by: André Hartmann <aha_1980@gmx.de> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/vcsbase')
-rw-r--r--src/plugins/vcsbase/vcsbaseplugin.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/vcsbase/vcsbaseplugin.cpp b/src/plugins/vcsbase/vcsbaseplugin.cpp
index ddb85144ea..5015aeb3d2 100644
--- a/src/plugins/vcsbase/vcsbaseplugin.cpp
+++ b/src/plugins/vcsbase/vcsbaseplugin.cpp
@@ -643,12 +643,13 @@ bool VcsBasePlugin::enableMenuAction(ActionState as, QAction *menuAction) const
QString VcsBasePlugin::commitDisplayName() const
{
- return tr("commit", "name of \"commit\" action of the VCS.");
+ return tr("Commit", "name of \"commit\" action of the VCS.");
}
bool VcsBasePlugin::promptBeforeCommit()
{
- return DocumentManager::saveAllModifiedDocuments(tr("Save before %1?").arg(commitDisplayName()));
+ return DocumentManager::saveAllModifiedDocuments(tr("Save before %1?")
+ .arg(commitDisplayName().toLower()));
}
void VcsBasePlugin::promptToDeleteCurrentFile()