private static @NotNull @Nls HtmlChunk constructDeleteSuccessfullyMessage(int shelvedFilesToDeleteSize,
                                                                            @NotNull List<ShelvedChangeList> shelvedListsToDelete) {
    String filesMessage = shelvedFilesToDeleteSize != 0
                          ? VcsBundle.message("shelve.delete.files.successful.message", shelvedFilesToDeleteSize)
                          : "";

    String listsMessage = "";
    int shelvedListsToDeleteSize = shelvedListsToDelete.size();
    if (shelvedListsToDeleteSize > 0) {
      ShelvedChangeList singleDeletedList = getOnlyItem(shelvedListsToDelete);
      if (singleDeletedList != null) {
        listsMessage = VcsBundle.message("shelve.delete.changelist.name.message", singleDeletedList.getDescription());
      }
      else {
        listsMessage = VcsBundle.message("shelve.delete.changelists.count.message", shelvedListsToDeleteSize);
      }
    }

    String message = VcsBundle.message("shelve.delete.successful.message",
                                       filesMessage,
                                       shelvedFilesToDeleteSize > 0 && shelvedListsToDeleteSize > 0 ? 1 : 0,
                                       listsMessage);
    return HtmlChunk.text(StringUtil.capitalize(message));
  }
private static @NotNull @Nls HtmlChunk constructDeleteSuccessfullyMessage(int shelvedFilesToDeleteSize,
                                                                            @NotNull List<ShelvedChangeList> shelvedListsToDelete)