String (Collection modifiedFiles) { if (modifiedFiles.size() == 1) { VirtualFile virtualFile = ((VirtualFile)modifiedFiles.iterator().next()); return VcsBundle.message("message.text.file.locally.modified", FilePathSplittingPolicy.SPLIT_BY_LETTER.getPresentableName(new File(virtualFile.getPath()), 40)); } else { return VcsBundle.message("message.text.several.files.locally.modified"); } }