| @@ -164,8 +164,9 @@ | ||
| 164 | 164 | $script .= "_wpbc.set_message( 'message_processing', " . wp_json_encode( __( 'Processing', 'booking' ) ) . " ); "; |
| 165 | 165 | $script .= "_wpbc.set_message( 'message_deleting', " . wp_json_encode( __( 'Deleting', 'booking' ) ) . " ); "; |
| 166 | 166 | $script .= "_wpbc.set_message( 'message_updating', " . wp_json_encode( __( 'Updating', 'booking' ) ) . " ); "; |
| 167 | 167 | $script .= "_wpbc.set_message( 'message_saving', " . wp_json_encode( __( 'Saving', 'booking' ) ) . " ); "; |
| 168 | + $script .= "_wpbc.set_message( 'message_inline_preview_submission_disabled', " . wp_json_encode( __( 'This is a request-local preview. Booking submission is disabled, and no booking will be created.', 'booking' ) ) . " ); "; | |
| 168 | 169 | $script .= "_wpbc.set_message( 'message_error_check_in_out_time', " . wp_json_encode( __( 'Error! Please reset your check-in/check-out dates above.', 'booking' ) ) . " ); "; |
| 169 | 170 | |
| 170 | 171 | // $script .= "console.log( '== WPBC VARS " . esc_attr( WP_BK_VERSION_NUM ) . ' [' . wpbc_get_version_type__and_mu() . "] LOADED ==' );"; |
| 171 | 172 | $script .= "console.log( '== WPBC VARS " . esc_attr( wpbc_get_wpbc_versions_numbers() ) . ' [' . wpbc_get_version_type__and_mu() . "] LOADED ==' );"; |