String (@NotNull Project project) { ChangeListManager changeListManager = ChangeListManager.getInstance(project); if (changeListManager.areChangeListsEnabled()) { LocalChangeList list = changeListManager.getDefaultChangeList(); String changelistName = list.getName().trim(); String suffix = VcsBundle.message("todo.tab.title.changelist.suffix"); return StringUtil.endsWithIgnoreCase(changelistName, suffix) ? changelistName : changelistName + " " + suffix; } else { return VcsBundle.message("todo.tab.title.all.changes"); } }