The cancelText property (string) specifies the text of the "Cancel" button.
This property only applies to the options object that is passed to the built-in dialog methods:
"Cancel"
DayPilot.Modal.confirm("Do you want to continue?", {okText: "Yes", cancelText: "No"});