String (char[] separators) { StringBuilder s = new StringBuilder(); for (char c : separators) { String separator = c == '\n' ? VcsLogBundle.message("vcs.log.filter.popup.advertisement.text.new.lines") : Character.toString(c); if (s.isEmpty()) { s.append(separator); } else { s.append(" ").append(VcsLogBundle.message("vcs.log.filter.popup.advertisement.text.or.suffix", separator)); } } return s.toString(); }