From 6e59d31095b23cd9097dc02c5bed0af0900df203 Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Tue, 28 Aug 2018 08:35:38 +0300 Subject: VCS: Capitalize commitDisplayName MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To be used by the submit editor. Change-Id: I73fc13abfd37f207d92669c1893b7edda35ed1e4 Reviewed-by: André Hartmann Reviewed-by: Eike Ziller --- src/plugins/vcsbase/vcsbaseplugin.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/plugins/vcsbase') 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() -- cgit v1.2.1