From 6b6f14ba0ccf241eb8d9b02a8658f885ce3ccaae Mon Sep 17 00:00:00 2001 From: Kirill Likhodedov Date: Thu, 6 Feb 2014 12:03:10 +0400 Subject: [PATCH] [vcs] more correct commit successful notification: "changes" -> "files" --- .../src/com/intellij/openapi/vcs/changes/ui/CommitHelper.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ui/CommitHelper.java b/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ui/CommitHelper.java index 1735ba563616..2e34d7819e77 100644 --- a/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ui/CommitHelper.java +++ b/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ui/CommitHelper.java @@ -188,9 +188,9 @@ public class CommitHelper { int failed = changesFailedToCommit.size(); int committed = myIncludedChanges.size() - failed; - String text = committed + " " + StringUtil.pluralize("change", committed) + " committed"; + String text = committed + " " + StringUtil.pluralize("file", committed) + " committed"; if (failed > 0) { - text += ", " + failed + " " + StringUtil.pluralize("change", failed) + " failed to commit"; + text += ", " + failed + " " + StringUtil.pluralize("file", failed) + " failed to commit"; } StringBuilder content = new StringBuilder(StringUtil.isEmpty(myCommitMessage) ? text : text + ": " + escape(myCommitMessage)); for (String s : myFeedback) {