static @NotNull @Nls String getApplyActionText(@NotNull DiffViewerBase viewer,
                                                 @NotNull ThreeSide sourceSide,
                                                 @NotNull ThreeSide modifiedSide) {
    Key<@Nls String> key = null;
    if (sourceSide == ThreeSide.BASE && modifiedSide == ThreeSide.LEFT) {
      key = DiffUserDataKeysEx.VCS_DIFF_ACCEPT_BASE_TO_LEFT_ACTION_TEXT;
    }
    else if (sourceSide == ThreeSide.BASE && modifiedSide == ThreeSide.RIGHT) {
      key = DiffUserDataKeysEx.VCS_DIFF_ACCEPT_BASE_TO_RIGHT_ACTION_TEXT;
    }
    else if (sourceSide == ThreeSide.LEFT && modifiedSide == ThreeSide.BASE) {
      key = DiffUserDataKeysEx.VCS_DIFF_ACCEPT_LEFT_TO_BASE_ACTION_TEXT;
    }
    else if (sourceSide == ThreeSide.RIGHT && modifiedSide == ThreeSide.BASE) {
      key = DiffUserDataKeysEx.VCS_DIFF_ACCEPT_RIGHT_TO_BASE_ACTION_TEXT;
    }
    if (key != null) {
      String customValue = DiffUtil.getUserData(viewer.getRequest(), viewer.getContext(), key);
      if (customValue != null) return customValue;
    }

    return DiffBundle.message("action.presentation.diff.accept.text");
  }
static @NotNull @Nls String getApplyActionText(@NotNull DiffViewerBase viewer,
                                                 @NotNull ThreeSide sourceSide,
                                                 @NotNull ThreeSide modifiedSide)