private static @NlsActions.ActionText @NotNull String getActionText(@Nullable Project project, @Nullable VcsKey vcsKey) {
    if (project != null && vcsKey != null) {
      AbstractVcs vcs = VcsUtil.findVcsByKey(project, vcsKey);
      if (vcs != null) return VcsLogBundle.message("action.Vcs.Log.SelectInLog.text.template", vcs.getDisplayName());
    }
    return VcsLogBundle.message("action.Vcs.Log.SelectInLog.text");
  }
private static @NlsActions.ActionText @NotNull String getActionText(@Nullable Project project, @Nullable VcsKey vcsKey)