From e1d08263d5edc9883d6c8b242eef1f0559282431 Mon Sep 17 00:00:00 2001 From: Sergey Ignatov Date: Mon, 5 Oct 2015 12:39:16 +0300 Subject: [PATCH] IDEA-145775 Shelved changes missing pluralization --- .../openapi/vcs/changes/shelf/ShelvedChangesViewManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/shelf/ShelvedChangesViewManager.java b/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/shelf/ShelvedChangesViewManager.java index aef40713539e..5fddc8aa36ab 100644 --- a/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/shelf/ShelvedChangesViewManager.java +++ b/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/shelf/ShelvedChangesViewManager.java @@ -474,7 +474,7 @@ public class ShelvedChangesViewManager implements ProjectComponent { myIssueLinkRenderer.appendTextWithLinks(changeListData.DESCRIPTION); } int count = node.getChildCount(); - String numFilesText = spaceAndThinSpace() + count + " " + StringUtil.pluralize("file", 1) + ","; + String numFilesText = spaceAndThinSpace() + count + " " + StringUtil.pluralize("file", count) + ","; append(numFilesText, SimpleTextAttributes.GRAYED_ATTRIBUTES); String date = DateFormatUtil.formatPrettyDateTime(changeListData.DATE);