esc_url_raw( rest_url( BOOKINGISTIC_REST_NAMESPACE . '/' ) ), 'nonce' => wp_create_nonce( 'wp_rest' ), 'appearance' => Template_Loader::appearance(), 'i18n' => [ 'pickDate' => __( 'Pick a date to see available times', 'bookingistic' ), 'loading' => __( 'Loading…', 'bookingistic' ), 'noSlots' => __( 'No times available on this date.', 'bookingistic' ), 'submitting' => __( 'Submitting…', 'bookingistic' ), 'errorGeneric' => __( 'Something went wrong. Please try again.', 'bookingistic' ), 'timesIn' => __( 'Times shown in', 'bookingistic' ), 'today' => __( 'Today', 'bookingistic' ), 'tomorrow' => __( 'Tomorrow', 'bookingistic' ), 'prevMonth' => __( 'Previous month', 'bookingistic' ), 'nextMonth' => __( 'Next month', 'bookingistic' ), 'bookingConfirmed' => __( 'Booking confirmed', 'bookingistic' ), 'bookingReceived' => __( 'Booking received', 'bookingistic' ), 'rescheduleConfirmed' => __( 'Reschedule confirmed', 'bookingistic' ), 'confirmBooking' => __( 'Confirm booking', 'bookingistic' ), 'confirmReschedule' => __( 'Confirm reschedule', 'bookingistic' ), 'checkInbox' => __( 'Check your inbox for the details.', 'bookingistic' ), 'payNow' => __( 'Pay now', 'bookingistic' ), 'payLater' => __( 'Payment is due — we will send you payment instructions.', 'bookingistic' ), 'continue' => __( 'Continue', 'bookingistic' ), /* translators: %s: selected day and time, e.g. "Tue at 1:30 PM". */ 'continueWith' => __( 'Continue with %s', 'bookingistic' ), /* translators: 1: short weekday name, 2: time of day. */ 'atTime' => __( '%1$s at %2$s', 'bookingistic' ), /* translators: 1: current step number, 2: total number of steps. */ 'stepOf' => __( 'Step %1$d of %2$d', 'bookingistic' ), /* translators: %d: number of available time slots (always 1). */ 'timesAvailableOne' => __( '%d time available', 'bookingistic' ), /* translators: %d: number of available time slots. */ 'timesAvailable' => __( '%d times available', 'bookingistic' ), 'followUp' => __( 'Follow-up, handled', 'bookingistic' ), 'followUpBody' => __( 'Confirmation is on its way', 'bookingistic' ), ], ] ); } }