Version Description
(2021-06-17) = - Fixed an issue causing incorrect available time slots between two full time slots when there were overlapping bookings. - Fixed an an issue in which the value for a checkbox type custom field wasn't saving if you cleared/unselected all options. - Localized an instance of the word "Cancelled" in the JS.
Download this release
Release Info
Developer | Rustaurius |
Plugin | Restaurant Reservations |
Version | 2.2.10 |
Comparing to | |
See all releases |
Code changes from version 2.2.9 to 2.2.10
- assets/js/booking-form.js +1 -1
- includes/Ajax.class.php +222 -133
- includes/Field.class.php +13 -2
- languages/restaurant-reservations.pot +258 -224
- readme.txt +6 -1
- restaurant-reservations.php +2 -1
assets/js/booking-form.js
CHANGED
@@ -687,7 +687,7 @@ function cancellationHandler() {
|
|
687 |
else {
|
688 |
btn.off('click');
|
689 |
btn.addClass('cancelled');
|
690 |
-
btn.text(
|
691 |
}
|
692 |
}
|
693 |
else {
|
687 |
else {
|
688 |
btn.off('click');
|
689 |
btn.addClass('cancelled');
|
690 |
+
btn.text(rtb_booking_form_js_localize.cancelled);
|
691 |
}
|
692 |
}
|
693 |
else {
|
includes/Ajax.class.php
CHANGED
@@ -219,142 +219,214 @@ if ( !class_exists( 'rtbAJAX' ) ) {
|
|
219 |
public function get_time_slots() {
|
220 |
global $rtb_controller;
|
221 |
|
222 |
-
$
|
223 |
|
224 |
-
|
225 |
-
$max_reservations = substr( $max_reservations_setting, 0, strpos( $max_reservations_setting, '_' ) );
|
226 |
-
|
227 |
-
$max_people_setting = $rtb_controller->settings->get_setting( 'rtb-max-people-count' );
|
228 |
-
$max_people = substr( $max_people_setting, 0, strpos( $max_people_setting, '_' ) );
|
229 |
-
|
230 |
$this->year = sanitize_text_field( $_POST['year'] );
|
231 |
$this->month = sanitize_text_field( $_POST['month'] );
|
232 |
$this->day = sanitize_text_field( $_POST['day'] );
|
233 |
-
|
234 |
-
$
|
235 |
-
|
236 |
-
|
237 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
238 |
// Get opening/closing times for this particular day
|
239 |
$hours = $this->get_opening_hours();
|
240 |
|
241 |
-
//
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
254 |
$query = new rtbQuery( $args );
|
255 |
$query->prepare_args();
|
256 |
-
|
257 |
-
// Get all current bookings sorted by date
|
258 |
$bookings = $query->get_bookings();
|
259 |
-
|
260 |
-
// Go through all current booking times and figure out when we're at or above the max
|
261 |
-
$blocked = false;
|
262 |
-
$blocked_times = array();
|
263 |
-
$current_times = array();
|
264 |
-
$party_sizes = array();
|
265 |
-
if ($max_reservations != 'undefined' and $max_reservations != 0) {
|
266 |
-
foreach ( $bookings as $key => $booking ) {
|
267 |
-
// Convert booking date to seconds from UNIX
|
268 |
-
$booking_time = strtotime($booking->date);
|
269 |
-
$current_times[] = $booking_time;
|
270 |
-
|
271 |
-
while ( sizeOf( $current_times ) > 0 and reset( $current_times ) < $booking_time - $dining_block_seconds ) {
|
272 |
-
//save the time to know when the blocking potentially ends
|
273 |
-
$removed_time = reset( $current_times );
|
274 |
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
283 |
}
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
$blocked_times[] = $booking_time - $dining_block_seconds;
|
289 |
-
}
|
290 |
}
|
291 |
-
}
|
292 |
-
foreach ( $bookings as $key => $booking ) {
|
293 |
-
// Convert booking date to seconds from UNIX
|
294 |
-
$booking_time = strtotime($booking->date);
|
295 |
-
$current_times[] = $booking_time;
|
296 |
-
$party_sizes[] = (int) $booking->party;
|
297 |
-
|
298 |
-
while ( sizeOf( $current_times ) > 0 and reset( $current_times ) < ( $booking_time - $dining_block_seconds ) ) {
|
299 |
-
//save the time to know when the blocking potentially ends
|
300 |
-
$removed_time = reset( $current_times );
|
301 |
|
302 |
-
|
303 |
-
array_shift( $current_times );
|
304 |
-
array_shift( $party_sizes );
|
305 |
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
|
|
311 |
}
|
312 |
-
|
313 |
-
// Check if we're above the maximum number of people - min party size
|
314 |
-
if ( ! $blocked and array_sum($party_sizes) > ( $max_people - $min_party_size ) ) {
|
315 |
-
$blocked = true;
|
316 |
-
$blocked_times[] = $booking_time - $dining_block_seconds;
|
317 |
-
}
|
318 |
}
|
319 |
}
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
sort( $combined_times );
|
325 |
-
|
326 |
-
//Go through all of times to determine when the restaurant is open and not blocked
|
327 |
-
$open = false;
|
328 |
-
$blocked = false;
|
329 |
-
$valid_times = array();
|
330 |
-
foreach ( $combined_times as $time ) {
|
331 |
-
if ( in_array( $time, $blocked_times ) ) {
|
332 |
-
if ( ! $blocked ) {
|
333 |
-
$blocked = true;
|
334 |
-
if ( $open ) {
|
335 |
-
$valid_times[] = (object) array( 'from' => $this->format_pickadate_time( $open_time ), 'to' => $this->format_pickadate_time( $time ), 'inverted' => true );
|
336 |
-
}
|
337 |
-
}
|
338 |
-
else {
|
339 |
-
$blocked = false;
|
340 |
-
if ( $open ) { $open_time = $time; }
|
341 |
}
|
342 |
}
|
343 |
-
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
-
|
348 |
-
|
349 |
-
|
350 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
351 |
}
|
352 |
}
|
|
|
|
|
|
|
353 |
}
|
354 |
-
|
355 |
-
|
356 |
-
|
357 |
-
die();
|
358 |
}
|
359 |
|
360 |
public function get_opening_hours() {
|
@@ -395,8 +467,7 @@ if ( !class_exists( 'rtbAJAX' ) ) {
|
|
395 |
$open_time = $this->get_earliest_time( $open_time );
|
396 |
|
397 |
if ( $open_time <= $close_time ) {
|
398 |
-
$valid_times[] = $open_time;
|
399 |
-
$valid_times[] = $close_time;
|
400 |
}
|
401 |
}
|
402 |
}
|
@@ -412,36 +483,45 @@ if ( !class_exists( 'rtbAJAX' ) ) {
|
|
412 |
// Get any rules which apply to this weekday
|
413 |
if ( $schedule_open != 'undefined' ) {
|
414 |
|
415 |
-
$day_of_week = strtolower(
|
416 |
-
|
417 |
-
|
418 |
-
|
419 |
-
if ( $opening['weekdays'] !== 'undefined' ) {
|
420 |
-
foreach ( $opening['weekdays'] as $weekday => $value ) {
|
421 |
-
if ( $weekday == $day_of_week ) {
|
422 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
423 |
// Closed all day
|
424 |
-
if ( $opening['time'] == 'undefined' )
|
|
|
425 |
return false;
|
426 |
}
|
427 |
|
428 |
-
if ( $opening['time']['start'] !== 'undefined' )
|
|
|
429 |
$open_time = strtotime( $this->year . '-' . $this->month . '-' . $this->day . ' ' . $opening['time']['start'] );
|
430 |
-
}
|
|
|
431 |
$open_time = strtotime( $this->year . '-' . $this->month . '-' . $this->day );
|
432 |
}
|
433 |
|
434 |
if ( $opening['time']['end'] !== 'undefined' ) {
|
435 |
$close_time = strtotime( $this->year . '-' . $this->month . '-' . $this->day . ' ' . $opening['time']['end'] );
|
436 |
-
}
|
437 |
-
|
|
|
|
|
438 |
}
|
439 |
|
440 |
$open_time = $this->get_earliest_time( $open_time );
|
441 |
|
442 |
-
if ( $open_time <= $close_time )
|
443 |
-
|
444 |
-
$valid_times[] = $close_time;
|
445 |
}
|
446 |
}
|
447 |
}
|
@@ -466,21 +546,30 @@ if ( !class_exists( 'rtbAJAX' ) ) {
|
|
466 |
}
|
467 |
|
468 |
$late_bookings = ( is_admin() && current_user_can( 'manage_bookings' ) ) ? '' : $rtb_controller->settings->get_setting( 'late-bookings' );
|
|
|
|
|
469 |
|
470 |
$timezone = wp_timezone();
|
471 |
$offset = $timezone->getOffset( new DateTime );
|
472 |
|
473 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
474 |
|
|
|
475 |
if ( is_numeric($late_bookings) && $late_bookings % 1 === 0 ) {
|
476 |
$time_calc = time() + $offset + $late_bookings * 60;
|
477 |
while ($time_calc > $open_time) {
|
478 |
-
$open_time = $open_time + $
|
479 |
}
|
480 |
}
|
481 |
|
482 |
return $open_time;
|
483 |
-
}
|
484 |
|
485 |
/**
|
486 |
* Get number of seats remaining avilable to be booked
|
219 |
public function get_time_slots() {
|
220 |
global $rtb_controller;
|
221 |
|
222 |
+
$max_reservations_enabled = $rtb_controller->settings->get_setting( 'rtb-enable-max-tables' );
|
223 |
|
224 |
+
// proessing request for this date
|
|
|
|
|
|
|
|
|
|
|
225 |
$this->year = sanitize_text_field( $_POST['year'] );
|
226 |
$this->month = sanitize_text_field( $_POST['month'] );
|
227 |
$this->day = sanitize_text_field( $_POST['day'] );
|
228 |
+
|
229 |
+
$finalize_response = function ( $open_close_pair_list = []) {
|
230 |
+
|
231 |
+
$valid_times = [];
|
232 |
+
|
233 |
+
if( ! empty( $open_close_pair_list ) ) {
|
234 |
+
foreach ($open_close_pair_list as $pair) {
|
235 |
+
$valid_times[] = [
|
236 |
+
'from' => $this->format_pickadate_time( $pair['from'] ),
|
237 |
+
'to' => $this->format_pickadate_time( $pair['to'] ),
|
238 |
+
'inverted' => true
|
239 |
+
];
|
240 |
+
}
|
241 |
+
}
|
242 |
+
|
243 |
+
echo json_encode( $valid_times );
|
244 |
+
die();
|
245 |
+
};
|
246 |
+
|
247 |
// Get opening/closing times for this particular day
|
248 |
$hours = $this->get_opening_hours();
|
249 |
|
250 |
+
// If the restaurant is closed that day
|
251 |
+
// If Enabel Max Reservation not set
|
252 |
+
if ( ! $hours || ! $max_reservations_enabled ) {
|
253 |
+
$finalize_response( $hours );
|
254 |
+
}
|
255 |
+
|
256 |
+
$interval = $rtb_controller->settings->get_setting( 'time-interval' ) * 60;
|
257 |
+
|
258 |
+
$dining_block_setting = $rtb_controller->settings->get_setting( 'rtb-dining-block-length' );
|
259 |
+
$dining_block = (int) substr( $dining_block_setting, 0, strpos( $dining_block_setting, '_' ) );
|
260 |
+
$dining_block_seconds = $dining_block * 60;
|
261 |
+
|
262 |
+
$min_party_size = (int) $rtb_controller->settings->get_setting( 'party-size-min' );
|
263 |
+
|
264 |
+
$max_reservations_setting = $rtb_controller->settings->get_setting( 'rtb-max-tables-count' );
|
265 |
+
$max_reservations = (int) substr( $max_reservations_setting, 0, strpos( $max_reservations_setting, '_' ) );
|
266 |
+
|
267 |
+
$max_people_setting = $rtb_controller->settings->get_setting( 'rtb-max-people-count' );
|
268 |
+
$max_people = (int) substr( $max_people_setting, 0, strpos( $max_people_setting, '_' ) );
|
269 |
+
/**
|
270 |
+
* min_party_size = 10, max_people = 100, 6 bookings of total 91 guests
|
271 |
+
* Now, if anybody wants to book for at least 10 people, it is not possible
|
272 |
+
* because the total will surpass the max_epopel (100)
|
273 |
+
* thus reducing min_party_size from max_people
|
274 |
+
*/
|
275 |
+
$max_people = $max_people - $min_party_size;
|
276 |
+
|
277 |
+
$all_possible_slots = [];
|
278 |
+
foreach ( $hours as $pair ) {
|
279 |
+
$all_possible_slots[] = $pair['from'];
|
280 |
+
$next = $pair['from'] + $interval;
|
281 |
+
while ( $next <= $pair['to'] ) {
|
282 |
+
$all_possible_slots[] = $next;
|
283 |
+
$next += $interval;
|
284 |
+
}
|
285 |
+
}
|
286 |
+
|
287 |
+
// Get all current bookings sorted by date
|
288 |
+
$args = array(
|
289 |
+
'posts_per_page' => -1,
|
290 |
+
'date_range' => 'dates',
|
291 |
+
'start_date' => $this->year . '-' . $this->month . '-' . $this->day,
|
292 |
+
'end_date' => $this->year . '-' . $this->month . '-' . $this->day,
|
293 |
+
'post_status' => ['pending', 'payment_pending', 'confirmed', 'arrived']
|
294 |
+
);
|
295 |
+
|
296 |
$query = new rtbQuery( $args );
|
297 |
$query->prepare_args();
|
|
|
|
|
298 |
$bookings = $query->get_bookings();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
299 |
|
300 |
+
// This array holds bookings for all slots by expanding the booking by
|
301 |
+
// dining block length to help finding the overlapped bookings for time-slots
|
302 |
+
$all_bookings_by_slots = [];
|
303 |
+
foreach ( $bookings as $key => $booking ) {
|
304 |
+
// Convert booking date to seconds from UNIX
|
305 |
+
$booking_time = strtotime($booking->date);
|
306 |
+
if( ! array_key_exists( $booking_time, $all_bookings_by_slots ) ) {
|
307 |
+
$all_bookings_by_slots[$booking_time] = [
|
308 |
+
'total_bookings' => 0,
|
309 |
+
'total_guest' => 0,
|
310 |
+
'overlapped' => false
|
311 |
+
];
|
312 |
+
}
|
313 |
+
$all_bookings_by_slots[$booking_time]['total_bookings']++;
|
314 |
+
$all_bookings_by_slots[$booking_time]['total_guest'] += $booking->party;
|
315 |
+
|
316 |
+
/**
|
317 |
+
* Expanding bookings
|
318 |
+
* Example: If I have someone booked at 1pm who will be in the restaurant for 120 minutes,
|
319 |
+
* that means they will be in the restaurant until 3pm. There is another booking at 2pm.
|
320 |
+
* That means, from 2pm to 3pm, there are already two separate reservations in the restaurant.
|
321 |
+
*/
|
322 |
+
$end = $booking_time + $dining_block_seconds;
|
323 |
+
$next = $booking_time + $interval;
|
324 |
+
while($next < $end) {
|
325 |
+
if( ! array_key_exists( $next, $all_bookings_by_slots ) ) {
|
326 |
+
$all_bookings_by_slots[$next] = [
|
327 |
+
'total_bookings' => 0,
|
328 |
+
'total_guest' => 0,
|
329 |
+
'overlapped' => false
|
330 |
+
];
|
331 |
}
|
332 |
+
$all_bookings_by_slots[$next]['overlapped'] = true;
|
333 |
+
$all_bookings_by_slots[$next]['total_bookings']++;
|
334 |
+
$all_bookings_by_slots[$next]['total_guest'] += $booking->party;
|
335 |
+
$next += $interval;
|
|
|
|
|
336 |
}
|
337 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
338 |
|
339 |
+
$all_blocked_slots = [];
|
|
|
|
|
340 |
|
341 |
+
// Go through all bookings and figure out when we're at or above the
|
342 |
+
// max reservation or max people and mark that slot as blocked
|
343 |
+
if ( $max_reservations != 'undefined' and $max_reservations > 0 ) {
|
344 |
+
foreach ( $all_bookings_by_slots as $slot => $data ) {
|
345 |
+
if( $max_reservations <= $data['total_bookings'] ) {
|
346 |
+
$all_blocked_slots[] = $slot;
|
347 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
348 |
}
|
349 |
}
|
350 |
+
else if ( $max_people != 'undefined' and $max_people != 0 ) {
|
351 |
+
foreach ( $all_bookings_by_slots as $slot => $data ) {
|
352 |
+
if( $max_people < $data['total_guest'] ) {
|
353 |
+
$all_blocked_slots[] = $slot;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
354 |
}
|
355 |
}
|
356 |
+
}
|
357 |
+
|
358 |
+
// Mark slots unavailable, due to dinning block length
|
359 |
+
$additional_blocked_slots = [];
|
360 |
+
foreach ($all_blocked_slots as $slot) {
|
361 |
+
// blocking before this slot
|
362 |
+
$begin = $slot - $dining_block_seconds;
|
363 |
+
/**
|
364 |
+
* interval 30 minutes, dinning_length 120 minutes, slot 10:00am
|
365 |
+
* additional blockings before shall be 8:30am,9:00am and 9:30am
|
366 |
+
* thus skipping 8:00am which is valid
|
367 |
+
*
|
368 |
+
* @var unix timestamp
|
369 |
+
*/
|
370 |
+
$next = $begin + $interval;
|
371 |
+
while($next < $slot) {
|
372 |
+
$additional_blocked_slots[] = $next;
|
373 |
+
$next += $interval;
|
374 |
+
}
|
375 |
+
|
376 |
+
// block after this slot only when this slot is not overlapped
|
377 |
+
// Overlapped slots should block only backwards, but not afterward
|
378 |
+
if( $all_bookings_by_slots[$slot]['overlapped'] ) {
|
379 |
+
continue;
|
380 |
+
}
|
381 |
+
|
382 |
+
// blocking after this slot
|
383 |
+
$end = $slot + $dining_block_seconds;
|
384 |
+
/**
|
385 |
+
* interval 30 minutes, dinning_length 120 minutes, slot 10:00am
|
386 |
+
* additional blockings after shall be 10:30am,11:00am and 1130am
|
387 |
+
* thus skipping 12:00pm which is valid
|
388 |
+
*
|
389 |
+
* @var unix timestamp
|
390 |
+
*/
|
391 |
+
$next = $slot + $interval;
|
392 |
+
while($next < $end) {
|
393 |
+
$additional_blocked_slots[] = $next;
|
394 |
+
$next += $interval;
|
395 |
+
}
|
396 |
+
}
|
397 |
+
|
398 |
+
$all_blocked_slots = array_unique(
|
399 |
+
array_merge( $all_blocked_slots, $additional_blocked_slots ),
|
400 |
+
SORT_NUMERIC
|
401 |
+
);
|
402 |
+
|
403 |
+
sort( $all_blocked_slots, SORT_NUMERIC );
|
404 |
+
|
405 |
+
// remove blocked slots from available slots
|
406 |
+
$available_slots = array_diff( $all_possible_slots, $all_blocked_slots );
|
407 |
+
sort( $available_slots, SORT_NUMERIC );
|
408 |
+
|
409 |
+
// consolidating timeslots to timeframes
|
410 |
+
$timeframe = [];
|
411 |
+
$available_slots_count = count( $available_slots );
|
412 |
+
if( 1 < $available_slots_count ) {
|
413 |
+
|
414 |
+
$current_pair = [ 'from' => $available_slots[ 0 ] ];
|
415 |
+
|
416 |
+
for ( $i = 1; $i < $available_slots_count; $i++) {
|
417 |
+
if( $available_slots[ $i ] - $available_slots[ $i - 1 ] !== $interval ) {
|
418 |
+
$current_pair[ 'to' ] = $available_slots[ $i - 1 ];
|
419 |
+
$timeframe[] = $current_pair;
|
420 |
+
|
421 |
+
$current_pair = [ 'from' => $available_slots[ $i ] ];
|
422 |
}
|
423 |
}
|
424 |
+
|
425 |
+
$current_pair[ 'to' ] = $available_slots[ $i - 1 ];
|
426 |
+
$timeframe[] = $current_pair;
|
427 |
}
|
428 |
+
|
429 |
+
$finalize_response( $timeframe );
|
|
|
|
|
430 |
}
|
431 |
|
432 |
public function get_opening_hours() {
|
467 |
$open_time = $this->get_earliest_time( $open_time );
|
468 |
|
469 |
if ( $open_time <= $close_time ) {
|
470 |
+
$valid_times[] = ['from' => $open_time, 'to' => $close_time];
|
|
|
471 |
}
|
472 |
}
|
473 |
}
|
483 |
// Get any rules which apply to this weekday
|
484 |
if ( $schedule_open != 'undefined' ) {
|
485 |
|
486 |
+
$day_of_week = strtolower(
|
487 |
+
date( 'l', strtotime( $this->year . '-' . $this->month . '-' . $this->day . ' 1:00:00' ) )
|
488 |
+
);
|
|
|
|
|
|
|
|
|
489 |
|
490 |
+
foreach ( $schedule_open as $opening )
|
491 |
+
{
|
492 |
+
if ( $opening['weekdays'] !== 'undefined' )
|
493 |
+
{
|
494 |
+
foreach ( $opening['weekdays'] as $weekday => $value )
|
495 |
+
{
|
496 |
+
if ( $weekday == $day_of_week )
|
497 |
+
{
|
498 |
// Closed all day
|
499 |
+
if ( $opening['time'] == 'undefined' )
|
500 |
+
{
|
501 |
return false;
|
502 |
}
|
503 |
|
504 |
+
if ( $opening['time']['start'] !== 'undefined' )
|
505 |
+
{
|
506 |
$open_time = strtotime( $this->year . '-' . $this->month . '-' . $this->day . ' ' . $opening['time']['start'] );
|
507 |
+
}
|
508 |
+
else {
|
509 |
$open_time = strtotime( $this->year . '-' . $this->month . '-' . $this->day );
|
510 |
}
|
511 |
|
512 |
if ( $opening['time']['end'] !== 'undefined' ) {
|
513 |
$close_time = strtotime( $this->year . '-' . $this->month . '-' . $this->day . ' ' . $opening['time']['end'] );
|
514 |
+
}
|
515 |
+
else {
|
516 |
+
// End of the day
|
517 |
+
$close_time = strtotime( $this->year . '-' . $this->month . '-' . $this->day . ' 23:59:59' );
|
518 |
}
|
519 |
|
520 |
$open_time = $this->get_earliest_time( $open_time );
|
521 |
|
522 |
+
if ( $open_time <= $close_time )
|
523 |
+
{
|
524 |
+
$valid_times[] = ['from' => $open_time, 'to' => $close_time];
|
525 |
}
|
526 |
}
|
527 |
}
|
546 |
}
|
547 |
|
548 |
$late_bookings = ( is_admin() && current_user_can( 'manage_bookings' ) ) ? '' : $rtb_controller->settings->get_setting( 'late-bookings' );
|
549 |
+
|
550 |
+
$interval = $rtb_controller->settings->get_setting( 'time-interval' ) * 60;
|
551 |
|
552 |
$timezone = wp_timezone();
|
553 |
$offset = $timezone->getOffset( new DateTime );
|
554 |
|
555 |
+
// adjust open time with respect to the current time of the day for upcoming timeslots
|
556 |
+
$current_time = time() + $offset;
|
557 |
+
if( $current_time > $open_time ) {
|
558 |
+
while( $current_time > $open_time ) {
|
559 |
+
$open_time += $interval;
|
560 |
+
}
|
561 |
+
}
|
562 |
|
563 |
+
// adjust the open time for the Late Bookings option
|
564 |
if ( is_numeric($late_bookings) && $late_bookings % 1 === 0 ) {
|
565 |
$time_calc = time() + $offset + $late_bookings * 60;
|
566 |
while ($time_calc > $open_time) {
|
567 |
+
$open_time = $open_time + $interval;
|
568 |
}
|
569 |
}
|
570 |
|
571 |
return $open_time;
|
572 |
+
}
|
573 |
|
574 |
/**
|
575 |
* Get number of seats remaining avilable to be booked
|
includes/Field.class.php
CHANGED
@@ -541,11 +541,22 @@ class cffrtbField {
|
|
541 |
|
542 |
$input = isset( $_POST['rtb-' . $this->slug ] ) ? $_POST['rtb-' . $this->slug] : '';
|
543 |
|
544 |
-
// Skip empty fields
|
545 |
// required checks are performed by base plugin validation
|
|
|
|
|
|
|
546 |
if ( ( is_string( $input ) && trim( $input ) == '' ) ||
|
547 |
( is_array( $input ) && empty( $input ) ) ) {
|
548 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
549 |
}
|
550 |
|
551 |
// Option fields
|
541 |
|
542 |
$input = isset( $_POST['rtb-' . $this->slug ] ) ? $_POST['rtb-' . $this->slug] : '';
|
543 |
|
544 |
+
// Skip empty fields but do not skip checkboxes.
|
545 |
// required checks are performed by base plugin validation
|
546 |
+
|
547 |
+
$checkbox = 'options' === $this->type && 'checkbox' === $this->subtype;
|
548 |
+
|
549 |
if ( ( is_string( $input ) && trim( $input ) == '' ) ||
|
550 |
( is_array( $input ) && empty( $input ) ) ) {
|
551 |
+
|
552 |
+
// When a checkbox is unselected, it will not override the previously selected
|
553 |
+
// value because HTML Form will not submit empty checkboxes
|
554 |
+
if($checkbox) {
|
555 |
+
$input = [];
|
556 |
+
}
|
557 |
+
else {
|
558 |
+
return;
|
559 |
+
}
|
560 |
}
|
561 |
|
562 |
// Option fields
|
languages/restaurant-reservations.pot
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: Five Star Restaurant Reservations\n"
|
5 |
-
"POT-Creation-Date: 2021-
|
6 |
"PO-Revision-Date: 2020-08-20 11:03-0400\n"
|
7 |
"Last-Translator: \n"
|
8 |
"Language-Team: Five Star Plugins\n"
|
@@ -21,8 +21,8 @@ msgstr ""
|
|
21 |
msgid "Booking Form"
|
22 |
msgstr ""
|
23 |
|
24 |
-
#: assets/js/block-booking-form.js:31 includes/Export.CSV.class.php:
|
25 |
-
#: includes/MailChimp.class.php:
|
26 |
#: includes/MultipleLocations.class.php:408
|
27 |
msgid "Location"
|
28 |
msgstr ""
|
@@ -51,8 +51,8 @@ msgid "Cancel"
|
|
51 |
msgstr ""
|
52 |
|
53 |
#: includes/AdminBookings.class.php:194 includes/AdminBookings.class.php:211
|
54 |
-
#: includes/WP_List_Table.BookingsTable.class.php:
|
55 |
-
#: includes/WP_List_Table.BookingsTable.class.php:
|
56 |
msgid "Send Email"
|
57 |
msgstr ""
|
58 |
|
@@ -60,9 +60,9 @@ msgstr ""
|
|
60 |
msgid "Subject"
|
61 |
msgstr ""
|
62 |
|
63 |
-
#: includes/AdminBookings.class.php:205 includes/Export.CSV.class.php:
|
64 |
-
#: includes/MailChimp.class.php:
|
65 |
-
#: includes/WP_List_Table.BookingsTable.class.php:
|
66 |
msgid "Message"
|
67 |
msgstr ""
|
68 |
|
@@ -88,7 +88,7 @@ msgid ""
|
|
88 |
"be undone."
|
89 |
msgstr ""
|
90 |
|
91 |
-
#: includes/AdminBookings.class.php:410 includes/Export.CSV.class.php:
|
92 |
msgid "Booking Status"
|
93 |
msgstr ""
|
94 |
|
@@ -156,19 +156,19 @@ msgstr ""
|
|
156 |
msgid "Invalid"
|
157 |
msgstr ""
|
158 |
|
159 |
-
#: includes/Ajax.class.php:
|
160 |
msgid "The email you entered is not valid."
|
161 |
msgstr ""
|
162 |
|
163 |
-
#: includes/Ajax.class.php:
|
164 |
msgid "No bookings were found for the email address you entered."
|
165 |
msgstr ""
|
166 |
|
167 |
-
#: includes/Ajax.class.php:
|
168 |
msgid "No booking matches the information that was sent."
|
169 |
msgstr ""
|
170 |
|
171 |
-
#: includes/Ajax.class.php:
|
172 |
msgid "Unkown error. Please try again"
|
173 |
msgstr ""
|
174 |
|
@@ -176,139 +176,139 @@ msgstr ""
|
|
176 |
msgid "Ask the customer to select a location"
|
177 |
msgstr ""
|
178 |
|
179 |
-
#: includes/Booking.class.php:
|
180 |
msgid "Please enter the date you would like to book."
|
181 |
msgstr ""
|
182 |
|
183 |
-
#: includes/Booking.class.php:
|
184 |
msgid ""
|
185 |
"The date you entered is not valid. Please select from one of the dates in "
|
186 |
"the calendar."
|
187 |
msgstr ""
|
188 |
|
189 |
-
#: includes/Booking.class.php:
|
190 |
msgid "Please enter the time you would like to book."
|
191 |
msgstr ""
|
192 |
|
193 |
-
#: includes/Booking.class.php:
|
194 |
msgid ""
|
195 |
"The time you entered is not valid. Please select from one of the times "
|
196 |
"provided."
|
197 |
msgstr ""
|
198 |
|
199 |
-
#: includes/Booking.class.php:
|
200 |
#, php-format
|
201 |
msgid "Sorry, bookings can not be made more than %s days in advance."
|
202 |
msgstr ""
|
203 |
|
204 |
-
#: includes/Booking.class.php:
|
205 |
msgid "Sorry, bookings can not be made in the past."
|
206 |
msgstr ""
|
207 |
|
208 |
-
#: includes/Booking.class.php:
|
209 |
msgid "Sorry, bookings can not be made for the same day."
|
210 |
msgstr ""
|
211 |
|
212 |
-
#: includes/Booking.class.php:
|
213 |
#, php-format
|
214 |
msgid "Sorry, bookings must be made more than %s days in advance."
|
215 |
msgstr ""
|
216 |
|
217 |
-
#: includes/Booking.class.php:
|
218 |
#, php-format
|
219 |
msgid "Sorry, bookings must be made more than %s hours in advance."
|
220 |
msgstr ""
|
221 |
|
222 |
-
#: includes/Booking.class.php:
|
223 |
#, php-format
|
224 |
msgid "Sorry, bookings must be made more than %s minutes in advance."
|
225 |
msgstr ""
|
226 |
|
227 |
-
#: includes/Booking.class.php:
|
228 |
msgid "Sorry, no bookings are being accepted then."
|
229 |
msgstr ""
|
230 |
|
231 |
-
#: includes/Booking.class.php:
|
232 |
msgid "Sorry, no bookings are being accepted on that date."
|
233 |
msgstr ""
|
234 |
|
235 |
-
#: includes/Booking.class.php:
|
236 |
msgid "Sorry, no bookings are being accepted at that time."
|
237 |
msgstr ""
|
238 |
|
239 |
-
#: includes/Booking.class.php:
|
240 |
msgid "Please enter a name for this booking."
|
241 |
msgstr ""
|
242 |
|
243 |
-
#: includes/Booking.class.php:
|
244 |
msgid "Please let us know how many people will be in your party."
|
245 |
msgstr ""
|
246 |
|
247 |
-
#: includes/Booking.class.php:
|
248 |
#, php-format
|
249 |
msgid "We only accept bookings for parties of up to %d people."
|
250 |
msgstr ""
|
251 |
|
252 |
-
#: includes/Booking.class.php:
|
253 |
#, php-format
|
254 |
msgid "We only accept bookings for parties of more than %d people."
|
255 |
msgstr ""
|
256 |
|
257 |
-
#: includes/Booking.class.php:
|
258 |
msgid "Please enter an email address so we can confirm your booking."
|
259 |
msgstr ""
|
260 |
|
261 |
-
#: includes/Booking.class.php:
|
262 |
msgid "Please enter a valid email address so we can confirm your booking."
|
263 |
msgstr ""
|
264 |
|
265 |
-
#: includes/Booking.class.php:
|
266 |
msgid "Please provide a phone number so we can confirm your booking."
|
267 |
msgstr ""
|
268 |
|
269 |
-
#: includes/Booking.class.php:
|
270 |
msgid "Please select a table for your booking."
|
271 |
msgstr ""
|
272 |
|
273 |
-
#: includes/Booking.class.php:
|
274 |
msgid "Please select a valid table for your booking."
|
275 |
msgstr ""
|
276 |
|
277 |
-
#: includes/Booking.class.php:
|
278 |
msgid "Please fill out the reCAPTCHA box before submitting."
|
279 |
msgstr ""
|
280 |
|
281 |
-
#: includes/Booking.class.php:
|
282 |
msgid "Please fill out the reCAPTCHA box again and re-submit."
|
283 |
msgstr ""
|
284 |
|
285 |
-
#: includes/Booking.class.php:
|
286 |
msgid " If you encounter reCAPTCHA error multiple times, please contact us."
|
287 |
msgstr ""
|
288 |
|
289 |
-
#: includes/Booking.class.php:
|
290 |
msgid "Please complete this field to request a booking."
|
291 |
msgstr ""
|
292 |
|
293 |
-
#: includes/Booking.class.php:
|
294 |
msgid ""
|
295 |
"Your booking has been rejected. Please call us if you would like to make a "
|
296 |
"booking."
|
297 |
msgstr ""
|
298 |
|
299 |
-
#: includes/Booking.class.php:
|
300 |
msgid ""
|
301 |
"The maximum number of reservations for that timeslot has been reached. "
|
302 |
"Please select a different timeslot."
|
303 |
msgstr ""
|
304 |
|
305 |
-
#: includes/Booking.class.php:
|
306 |
msgid ""
|
307 |
"With your party, the maximum number of seats for that timeslot would be "
|
308 |
"exceeded. Please select a different timeslot or reduce your party size."
|
309 |
msgstr ""
|
310 |
|
311 |
-
#: includes/Booking.class.php:
|
312 |
msgid ""
|
313 |
"Your booking and personal information exactly matches another booking. If "
|
314 |
"this was not caused by refreshing the page, please call us to make a booking."
|
@@ -422,61 +422,61 @@ msgstr ""
|
|
422 |
msgid "Bookings Summary"
|
423 |
msgstr ""
|
424 |
|
425 |
-
#: includes/Dashboard.class.php:142 includes/Export.CSV.class.php:
|
426 |
-
#: includes/Settings.class.php:
|
427 |
-
#: includes/WP_List_Table.BookingsTable.class.php:
|
428 |
msgid "Date"
|
429 |
msgstr ""
|
430 |
|
431 |
-
#: includes/Dashboard.class.php:143 includes/Export.CSV.class.php:
|
432 |
-
#: includes/Settings.class.php:
|
433 |
-
#: includes/WP_List_Table.BookingsTable.class.php:
|
434 |
-
#: includes/template-functions.php:
|
435 |
msgid "Party"
|
436 |
msgstr ""
|
437 |
|
438 |
-
#: includes/Dashboard.class.php:144 includes/Export.CSV.class.php:
|
439 |
-
#: includes/MailChimp.class.php:
|
440 |
-
#: includes/WP_List_Table.BookingsTable.class.php:
|
441 |
-
#: includes/template-functions.php:
|
442 |
msgid "Name"
|
443 |
msgstr ""
|
444 |
|
445 |
#: includes/Dashboard.class.php:145
|
446 |
-
#: includes/WP_List_Table.BookingsTable.class.php:
|
447 |
-
#: includes/template-functions.php:
|
448 |
msgid "Status"
|
449 |
msgstr ""
|
450 |
|
451 |
-
#: includes/Dashboard.class.php:
|
452 |
msgid ""
|
453 |
"No bookings to display yet. Create a booking for it to be displayed here."
|
454 |
msgstr ""
|
455 |
|
456 |
-
#: includes/Dashboard.class.php:
|
457 |
#, php-format
|
458 |
msgid ""
|
459 |
"<a href=\"%s\" target=\"_blank\">Visit our website</a> to learn how to get a "
|
460 |
"free 7-day trial of the premium plugin."
|
461 |
msgstr ""
|
462 |
|
463 |
-
#: includes/Dashboard.class.php:
|
464 |
msgid "Select version to trial"
|
465 |
msgstr ""
|
466 |
|
467 |
-
#: includes/Dashboard.class.php:
|
468 |
msgid "Premium"
|
469 |
msgstr ""
|
470 |
|
471 |
-
#: includes/Dashboard.class.php:
|
472 |
msgid "Ultimate"
|
473 |
msgstr ""
|
474 |
|
475 |
-
#: includes/Dashboard.class.php:
|
476 |
msgid "SMS messaging will not work in the ultimate version trial."
|
477 |
msgstr ""
|
478 |
|
479 |
-
#: includes/Dashboard.class.php:
|
480 |
msgid "Select"
|
481 |
msgstr ""
|
482 |
|
@@ -691,48 +691,58 @@ msgid ""
|
|
691 |
"An elegant template for sending a message with an air of sophistication."
|
692 |
msgstr ""
|
693 |
|
694 |
-
#: includes/Export.CSV.class.php:
|
695 |
msgid "Booking ID"
|
696 |
msgstr ""
|
697 |
|
698 |
-
#: includes/Export.CSV.class.php:
|
699 |
-
#: includes/Settings.class.php:
|
700 |
-
#: includes/WP_List_Table.BookingsTable.class.php:
|
701 |
-
#: includes/template-functions.php:
|
702 |
msgid "Email"
|
703 |
msgstr ""
|
704 |
|
705 |
-
#: includes/Export.CSV.class.php:
|
706 |
-
#: includes/WP_List_Table.BookingsTable.class.php:
|
707 |
-
#: includes/template-functions.php:
|
708 |
msgid "Phone"
|
709 |
msgstr ""
|
710 |
|
711 |
-
#: includes/Export.CSV.class.php:
|
712 |
msgid "Date the request was made"
|
713 |
msgstr ""
|
714 |
|
715 |
-
#: includes/Export.CSV.class.php:
|
716 |
msgid "Data Privacy Consent"
|
717 |
msgstr ""
|
718 |
|
719 |
-
#: includes/Export.CSV.class.php:
|
720 |
#: includes/integrations/business-profile.php:291
|
721 |
-
#: includes/template-functions.php:
|
722 |
msgid "Yes"
|
723 |
msgstr ""
|
724 |
|
725 |
-
#: includes/Export.CSV.class.php:
|
726 |
#: includes/integrations/business-profile.php:292
|
727 |
-
#: includes/template-functions.php:
|
728 |
msgid "No"
|
729 |
msgstr ""
|
730 |
|
731 |
-
#: includes/Export.CSV.class.php:
|
732 |
-
#: includes/Settings.class.php:
|
733 |
msgid "Table(s)"
|
734 |
msgstr ""
|
735 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
736 |
#: includes/Export.PDF.class.php:144
|
737 |
msgid ""
|
738 |
"An unexpected error occurred and your export request could not be fulfilled."
|
@@ -845,7 +855,7 @@ msgid ""
|
|
845 |
"persists, please refresh the page."
|
846 |
msgstr ""
|
847 |
|
848 |
-
#: includes/Field.class.php:
|
849 |
msgid "The option you selected is not valid. Please make another choice."
|
850 |
msgstr ""
|
851 |
|
@@ -1136,7 +1146,7 @@ msgid "Days of the week"
|
|
1136 |
msgstr ""
|
1137 |
|
1138 |
#: includes/InstallationWalkthrough.class.php:326
|
1139 |
-
#: includes/Settings.class.php:
|
1140 |
msgid "Time"
|
1141 |
msgstr ""
|
1142 |
|
@@ -1198,67 +1208,67 @@ msgid ""
|
|
1198 |
"and try again."
|
1199 |
msgstr ""
|
1200 |
|
1201 |
-
#: includes/MailChimp.class.php:
|
1202 |
msgid "Date/Time of Booking"
|
1203 |
msgstr ""
|
1204 |
|
1205 |
-
#: includes/MailChimp.class.php:
|
1206 |
msgid "Party Size"
|
1207 |
msgstr ""
|
1208 |
|
1209 |
-
#: includes/MailChimp.class.php:
|
1210 |
msgid "Phone Number"
|
1211 |
msgstr ""
|
1212 |
|
1213 |
-
#: includes/MailChimp.class.php:
|
1214 |
msgid "Booking Form Data"
|
1215 |
msgstr ""
|
1216 |
|
1217 |
-
#: includes/MailChimp.class.php:
|
1218 |
msgid "MailChimp List Field"
|
1219 |
msgstr ""
|
1220 |
|
1221 |
-
#: includes/MailChimp.class.php:
|
1222 |
msgid ""
|
1223 |
"Connect information from the booking request to <a href=\"http://kb."
|
1224 |
"mailchimp.com/article/getting-started-with-merge-tags\" target=\"_blank"
|
1225 |
"\">merge fields</a> in your MailChimp list."
|
1226 |
msgstr ""
|
1227 |
|
1228 |
-
#: includes/MailChimp.class.php:
|
1229 |
msgid ""
|
1230 |
"There was an unexpected error when trying to retrieve the list's merge "
|
1231 |
"fields."
|
1232 |
msgstr ""
|
1233 |
|
1234 |
-
#: includes/MailChimp.class.php:
|
1235 |
msgid "The email field is automatically merged."
|
1236 |
msgstr ""
|
1237 |
|
1238 |
-
#: includes/MailChimp.class.php:
|
1239 |
msgid ""
|
1240 |
"You have been logged out. Please login again to retrieve the mailing lists."
|
1241 |
msgstr ""
|
1242 |
|
1243 |
-
#: includes/MailChimp.class.php:
|
1244 |
msgid ""
|
1245 |
"You do not have permission to retrieve the mailing lists. Please login to an "
|
1246 |
"administrator account if you have one."
|
1247 |
msgstr ""
|
1248 |
|
1249 |
-
#: includes/MailChimp.class.php:
|
1250 |
msgid ""
|
1251 |
"You have been logged out. Please login again to retrieve the merge fields "
|
1252 |
"for this list."
|
1253 |
msgstr ""
|
1254 |
|
1255 |
-
#: includes/MailChimp.class.php:
|
1256 |
msgid ""
|
1257 |
"You do not have permission to modify the merge field settings. Please login "
|
1258 |
"to an administrator account if you have one."
|
1259 |
msgstr ""
|
1260 |
|
1261 |
-
#: includes/MailChimp.class.php:
|
1262 |
msgid ""
|
1263 |
"The subscription request has been rejected because it does not appear to "
|
1264 |
"have come from this site."
|
@@ -1305,7 +1315,7 @@ msgid "Sign up for our mailing list."
|
|
1305 |
msgstr ""
|
1306 |
|
1307 |
#: includes/Settings.class.php:626 includes/Settings.class.php:627
|
1308 |
-
#: includes/Settings.class.php:
|
1309 |
msgid "Settings"
|
1310 |
msgstr ""
|
1311 |
|
@@ -2366,414 +2376,425 @@ msgid "Stripe"
|
|
2366 |
msgstr ""
|
2367 |
|
2368 |
#: includes/Settings.class.php:2185
|
2369 |
-
msgid "
|
2370 |
msgstr ""
|
2371 |
|
2372 |
#: includes/Settings.class.php:2186
|
2373 |
msgid ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2374 |
"The currency symbol you'd like displayed before or after the required "
|
2375 |
"deposit amount."
|
2376 |
msgstr ""
|
2377 |
|
2378 |
-
#: includes/Settings.class.php:
|
2379 |
msgid "CC Expiration Single Field"
|
2380 |
msgstr ""
|
2381 |
|
2382 |
-
#: includes/Settings.class.php:
|
2383 |
msgid ""
|
2384 |
"Should the field for card expiry details be a single field with a mask or "
|
2385 |
"two separate fields for month and year?"
|
2386 |
msgstr ""
|
2387 |
|
2388 |
-
#: includes/Settings.class.php:
|
2389 |
msgid "Currency Symbol Location"
|
2390 |
msgstr ""
|
2391 |
|
2392 |
-
#: includes/Settings.class.php:
|
2393 |
msgid ""
|
2394 |
"Should the currency symbol be placed before or after the deposit amount?"
|
2395 |
msgstr ""
|
2396 |
|
2397 |
-
#: includes/Settings.class.php:
|
2398 |
msgid "Test/Live Mode"
|
2399 |
msgstr ""
|
2400 |
|
2401 |
-
#: includes/Settings.class.php:
|
2402 |
msgid ""
|
2403 |
"Should the system use test or live mode? Test mode should only be used for "
|
2404 |
"testing, no deposits will actually be processed while turned on."
|
2405 |
msgstr ""
|
2406 |
|
2407 |
-
#: includes/Settings.class.php:
|
2408 |
msgid "Stripe Live Secret"
|
2409 |
msgstr ""
|
2410 |
|
2411 |
-
#: includes/Settings.class.php:
|
2412 |
msgid "The live secret that you have set up for your Stripe account."
|
2413 |
msgstr ""
|
2414 |
|
2415 |
-
#: includes/Settings.class.php:
|
2416 |
msgid "Stripe Live Publishable"
|
2417 |
msgstr ""
|
2418 |
|
2419 |
-
#: includes/Settings.class.php:
|
2420 |
msgid "The live publishable that you have set up for your Stripe account."
|
2421 |
msgstr ""
|
2422 |
|
2423 |
-
#: includes/Settings.class.php:
|
2424 |
msgid "Stripe Test Secret"
|
2425 |
msgstr ""
|
2426 |
|
2427 |
-
#: includes/Settings.class.php:
|
2428 |
msgid ""
|
2429 |
"The test secret that you have set up for your Stripe account. Only needed "
|
2430 |
"for testing payments."
|
2431 |
msgstr ""
|
2432 |
|
2433 |
-
#: includes/Settings.class.php:
|
2434 |
msgid "Stripe Test Publishable"
|
2435 |
msgstr ""
|
2436 |
|
2437 |
-
#: includes/Settings.class.php:
|
2438 |
msgid ""
|
2439 |
"The test publishable that you have set up for your Stripe account. Only "
|
2440 |
"needed for testing payments."
|
2441 |
msgstr ""
|
2442 |
|
2443 |
-
#: includes/Settings.class.php:
|
2444 |
msgid "Paper Size"
|
2445 |
msgstr ""
|
2446 |
|
2447 |
-
#: includes/Settings.class.php:
|
2448 |
msgid "Select your preferred paper size."
|
2449 |
msgstr ""
|
2450 |
|
2451 |
-
#: includes/Settings.class.php:
|
2452 |
msgid "PDF Renderer"
|
2453 |
msgstr ""
|
2454 |
|
2455 |
-
#: includes/Settings.class.php:
|
2456 |
msgid ""
|
2457 |
"mPDF looks nicer but is not compatible with all servers. Select TCPDF only "
|
2458 |
"if you get errors when trying to export a PDF."
|
2459 |
msgstr ""
|
2460 |
|
2461 |
-
#: includes/Settings.class.php:
|
2462 |
msgid "Excel/CSV Date Format"
|
2463 |
msgstr ""
|
2464 |
|
2465 |
-
#: includes/Settings.class.php:
|
2466 |
msgid ""
|
2467 |
"Enter a custom date format to be used when generating Excel/CSV exports if "
|
2468 |
"you want the format to be different than your WordPress setting. This is "
|
2469 |
"useful if you need the date in a machine-readable format."
|
2470 |
msgstr ""
|
2471 |
|
2472 |
-
#: includes/Settings.class.php:
|
2473 |
msgid "Styling"
|
2474 |
msgstr ""
|
2475 |
|
2476 |
-
#: includes/Settings.class.php:
|
2477 |
msgid "Reservation Form"
|
2478 |
msgstr ""
|
2479 |
|
2480 |
-
#: includes/Settings.class.php:
|
2481 |
msgid "Layout"
|
2482 |
msgstr ""
|
2483 |
|
2484 |
-
#: includes/Settings.class.php:
|
2485 |
msgid "Choose which layout you want to use for your reservation form"
|
2486 |
msgstr ""
|
2487 |
|
2488 |
-
#: includes/Settings.class.php:
|
2489 |
msgid "Section Title Font Family"
|
2490 |
msgstr ""
|
2491 |
|
2492 |
-
#: includes/Settings.class.php:
|
2493 |
msgid ""
|
2494 |
"Choose the font family for the section titles. (Please note that the font "
|
2495 |
"family must already be loaded on the site. This does not load it.)"
|
2496 |
msgstr ""
|
2497 |
|
2498 |
-
#: includes/Settings.class.php:
|
2499 |
msgid "Section Title Font Size"
|
2500 |
msgstr ""
|
2501 |
|
2502 |
-
#: includes/Settings.class.php:
|
2503 |
msgid ""
|
2504 |
"Choose the font size for the section titles. Include the unit (e.g. 20px or "
|
2505 |
"2em)."
|
2506 |
msgstr ""
|
2507 |
|
2508 |
-
#: includes/Settings.class.php:
|
2509 |
msgid "Section Title Color"
|
2510 |
msgstr ""
|
2511 |
|
2512 |
-
#: includes/Settings.class.php:
|
2513 |
msgid "Choose the color for the section titles."
|
2514 |
msgstr ""
|
2515 |
|
2516 |
-
#: includes/Settings.class.php:
|
2517 |
msgid "Section Background Color"
|
2518 |
msgstr ""
|
2519 |
|
2520 |
-
#: includes/Settings.class.php:
|
2521 |
msgid "Choose the background color for the form sections."
|
2522 |
msgstr ""
|
2523 |
|
2524 |
-
#: includes/Settings.class.php:
|
2525 |
msgid "Section Border Size"
|
2526 |
msgstr ""
|
2527 |
|
2528 |
-
#: includes/Settings.class.php:
|
2529 |
msgid ""
|
2530 |
"Choose the border size for the form sections (in the default layout). "
|
2531 |
"Include the unit (e.g. 2px)."
|
2532 |
msgstr ""
|
2533 |
|
2534 |
-
#: includes/Settings.class.php:
|
2535 |
msgid "Section Border Color"
|
2536 |
msgstr ""
|
2537 |
|
2538 |
-
#: includes/Settings.class.php:
|
2539 |
msgid "Choose the color for the section border (in the default layout)."
|
2540 |
msgstr ""
|
2541 |
|
2542 |
-
#: includes/Settings.class.php:
|
2543 |
msgid "Label Font Family"
|
2544 |
msgstr ""
|
2545 |
|
2546 |
-
#: includes/Settings.class.php:
|
2547 |
msgid ""
|
2548 |
"Choose the font family for the form field labels. (Please note that the font "
|
2549 |
"family must already be loaded on the site. This does not load it.)"
|
2550 |
msgstr ""
|
2551 |
|
2552 |
-
#: includes/Settings.class.php:
|
2553 |
msgid "Label Font Size"
|
2554 |
msgstr ""
|
2555 |
|
2556 |
-
#: includes/Settings.class.php:
|
2557 |
msgid ""
|
2558 |
"Choose the font size for the form field labels. Include the unit (e.g. 20px "
|
2559 |
"or 2em)."
|
2560 |
msgstr ""
|
2561 |
|
2562 |
-
#: includes/Settings.class.php:
|
2563 |
msgid "Label Color"
|
2564 |
msgstr ""
|
2565 |
|
2566 |
-
#: includes/Settings.class.php:
|
2567 |
msgid "Choose the color for the form field labels."
|
2568 |
msgstr ""
|
2569 |
|
2570 |
-
#: includes/Settings.class.php:
|
2571 |
msgid "\"Add a Message\" Button Background Color"
|
2572 |
msgstr ""
|
2573 |
|
2574 |
-
#: includes/Settings.class.php:
|
2575 |
msgid "Choose the background color for the \"Add a Message\" button."
|
2576 |
msgstr ""
|
2577 |
|
2578 |
-
#: includes/Settings.class.php:
|
2579 |
msgid "\"Add a Message\" Button Background Hover Color"
|
2580 |
msgstr ""
|
2581 |
|
2582 |
-
#: includes/Settings.class.php:
|
2583 |
msgid "Choose the background color for the \"Add a Message\" button on hover."
|
2584 |
msgstr ""
|
2585 |
|
2586 |
-
#: includes/Settings.class.php:
|
2587 |
msgid "\"Add a Message\" Button Text Color"
|
2588 |
msgstr ""
|
2589 |
|
2590 |
-
#: includes/Settings.class.php:
|
2591 |
msgid "Choose the text color for the \"Add a Message\" button."
|
2592 |
msgstr ""
|
2593 |
|
2594 |
-
#: includes/Settings.class.php:
|
2595 |
msgid "\"Add a Message\" Button Text Hover Color"
|
2596 |
msgstr ""
|
2597 |
|
2598 |
-
#: includes/Settings.class.php:
|
2599 |
msgid "Choose the text color for the \"Add a Message\" button on hover."
|
2600 |
msgstr ""
|
2601 |
|
2602 |
-
#: includes/Settings.class.php:
|
2603 |
msgid "\"Request Booking\" Button Background Color"
|
2604 |
msgstr ""
|
2605 |
|
2606 |
-
#: includes/Settings.class.php:
|
2607 |
msgid "Choose the background color for the \"Request Booking\" button."
|
2608 |
msgstr ""
|
2609 |
|
2610 |
-
#: includes/Settings.class.php:
|
2611 |
msgid "\"Request Booking\" Button Background Hover Color"
|
2612 |
msgstr ""
|
2613 |
|
2614 |
-
#: includes/Settings.class.php:
|
2615 |
msgid ""
|
2616 |
"Choose the background color for the \"Request Booking\" button on hover."
|
2617 |
msgstr ""
|
2618 |
|
2619 |
-
#: includes/Settings.class.php:
|
2620 |
msgid "\"Request Booking\" Button Text Color"
|
2621 |
msgstr ""
|
2622 |
|
2623 |
-
#: includes/Settings.class.php:
|
2624 |
msgid "Choose the text color for the \"Request Booking\" button."
|
2625 |
msgstr ""
|
2626 |
|
2627 |
-
#: includes/Settings.class.php:
|
2628 |
msgid "\"Request Booking\" Button Text Hover Color"
|
2629 |
msgstr ""
|
2630 |
|
2631 |
-
#: includes/Settings.class.php:
|
2632 |
msgid "Choose the text color for the \"Request Booking\" button on hover."
|
2633 |
msgstr ""
|
2634 |
|
2635 |
-
#: includes/Settings.class.php:
|
2636 |
msgid "Cancel Reservation Button Background Color"
|
2637 |
msgstr ""
|
2638 |
|
2639 |
-
#: includes/Settings.class.php:
|
2640 |
msgid ""
|
2641 |
"Choose the background color for the cancel reservation toggle button button."
|
2642 |
msgstr ""
|
2643 |
|
2644 |
-
#: includes/Settings.class.php:
|
2645 |
msgid "Cancel Reservation Button Background Hover Color"
|
2646 |
msgstr ""
|
2647 |
|
2648 |
-
#: includes/Settings.class.php:
|
2649 |
msgid ""
|
2650 |
"Choose the background color for the cancel reservation toggle button on "
|
2651 |
"hover."
|
2652 |
msgstr ""
|
2653 |
|
2654 |
-
#: includes/Settings.class.php:
|
2655 |
msgid "Cancel Reservation Text Color"
|
2656 |
msgstr ""
|
2657 |
|
2658 |
-
#: includes/Settings.class.php:
|
2659 |
msgid "Choose the text color for the cancel reservation toggle button."
|
2660 |
msgstr ""
|
2661 |
|
2662 |
-
#: includes/Settings.class.php:
|
2663 |
msgid "Cancel Reservation Text Hover Color"
|
2664 |
msgstr ""
|
2665 |
|
2666 |
-
#: includes/Settings.class.php:
|
2667 |
msgid ""
|
2668 |
"Choose the text color for the cancel reservation toggle button on hover."
|
2669 |
msgstr ""
|
2670 |
|
2671 |
-
#: includes/Settings.class.php:
|
2672 |
msgid "\"Find Reservations\" Button Background Color"
|
2673 |
msgstr ""
|
2674 |
|
2675 |
-
#: includes/Settings.class.php:
|
2676 |
msgid "Choose the background color for the \"Find Reservations\" button."
|
2677 |
msgstr ""
|
2678 |
|
2679 |
-
#: includes/Settings.class.php:
|
2680 |
msgid "\"Find Reservations\" Button Background Hover Color"
|
2681 |
msgstr ""
|
2682 |
|
2683 |
-
#: includes/Settings.class.php:
|
2684 |
msgid ""
|
2685 |
"Choose the background color for the \"Find Reservations\" button on hover."
|
2686 |
msgstr ""
|
2687 |
|
2688 |
-
#: includes/Settings.class.php:
|
2689 |
msgid "\"Find Reservations\" Button Text Color"
|
2690 |
msgstr ""
|
2691 |
|
2692 |
-
#: includes/Settings.class.php:
|
2693 |
msgid "Choose the text color for the \"Find Reservations\" button."
|
2694 |
msgstr ""
|
2695 |
|
2696 |
-
#: includes/Settings.class.php:
|
2697 |
msgid "\"Find Reservations\" Button Text Hover Color"
|
2698 |
msgstr ""
|
2699 |
|
2700 |
-
#: includes/Settings.class.php:
|
2701 |
msgid "Choose the text color for the \"Find Reservations\" button on hover."
|
2702 |
msgstr ""
|
2703 |
|
2704 |
-
#: includes/Settings.class.php:
|
2705 |
msgid "Any size"
|
2706 |
msgstr ""
|
2707 |
|
2708 |
-
#: includes/Settings.class.php:
|
2709 |
#: includes/integrations/business-profile.php:100
|
2710 |
msgid "Book a table"
|
2711 |
msgstr ""
|
2712 |
|
2713 |
-
#: includes/Settings.class.php:
|
2714 |
msgid "Contact Details"
|
2715 |
msgstr ""
|
2716 |
|
2717 |
-
#: includes/Settings.class.php:
|
2718 |
msgid "Add a Message"
|
2719 |
msgstr ""
|
2720 |
|
2721 |
-
#: includes/Settings.class.php:
|
2722 |
msgid "Email of the user who made the booking"
|
2723 |
msgstr ""
|
2724 |
|
2725 |
-
#: includes/Settings.class.php:
|
2726 |
msgid "* Name of the user who made the booking"
|
2727 |
msgstr ""
|
2728 |
|
2729 |
-
#: includes/Settings.class.php:
|
2730 |
msgid "* Number of people booked"
|
2731 |
msgstr ""
|
2732 |
|
2733 |
-
#: includes/Settings.class.php:
|
2734 |
msgid "* Date and time of the booking"
|
2735 |
msgstr ""
|
2736 |
|
2737 |
-
#: includes/Settings.class.php:
|
2738 |
msgid "Phone number if supplied with the request"
|
2739 |
msgstr ""
|
2740 |
|
2741 |
-
#: includes/Settings.class.php:
|
2742 |
msgid "Message added to the request"
|
2743 |
msgstr ""
|
2744 |
|
2745 |
-
#: includes/Settings.class.php:
|
2746 |
msgid "A link to the admin panel showing pending bookings"
|
2747 |
msgstr ""
|
2748 |
|
2749 |
-
#: includes/Settings.class.php:
|
2750 |
msgid ""
|
2751 |
"A link that a guest can use to cancel their booking if cancellations are "
|
2752 |
"enabled"
|
2753 |
msgstr ""
|
2754 |
|
2755 |
-
#: includes/Settings.class.php:
|
2756 |
msgid ""
|
2757 |
"A link to confirm this booking. Only include this in admin notifications"
|
2758 |
msgstr ""
|
2759 |
|
2760 |
-
#: includes/Settings.class.php:
|
2761 |
msgid "A link to reject this booking. Only include this in admin notifications"
|
2762 |
msgstr ""
|
2763 |
|
2764 |
-
#: includes/Settings.class.php:
|
2765 |
msgid "The name of this website"
|
2766 |
msgstr ""
|
2767 |
|
2768 |
-
#: includes/Settings.class.php:
|
2769 |
msgid "A link to this website"
|
2770 |
msgstr ""
|
2771 |
|
2772 |
-
#: includes/Settings.class.php:
|
2773 |
msgid "Current date and time"
|
2774 |
msgstr ""
|
2775 |
|
2776 |
-
#: includes/Settings.class.php:
|
2777 |
msgid "The table(s) for the booking"
|
2778 |
msgstr ""
|
2779 |
|
@@ -2831,95 +2852,95 @@ msgid "Pending"
|
|
2831 |
msgstr ""
|
2832 |
|
2833 |
#: includes/WP_List_Table.BookingsTable.class.php:321
|
2834 |
-
msgid "
|
2835 |
msgstr ""
|
2836 |
|
2837 |
#: includes/WP_List_Table.BookingsTable.class.php:322
|
2838 |
-
msgid "
|
2839 |
msgstr ""
|
2840 |
|
2841 |
#: includes/WP_List_Table.BookingsTable.class.php:323
|
2842 |
-
|
|
|
|
|
|
|
|
|
2843 |
msgid "Trash"
|
2844 |
msgstr ""
|
2845 |
|
2846 |
-
#: includes/WP_List_Table.BookingsTable.class.php:
|
2847 |
msgid "Payment Failed"
|
2848 |
msgstr ""
|
2849 |
|
2850 |
-
#: includes/WP_List_Table.BookingsTable.class.php:
|
2851 |
msgid "ID"
|
2852 |
msgstr ""
|
2853 |
|
2854 |
-
#: includes/WP_List_Table.BookingsTable.class.php:
|
2855 |
-
#:
|
2856 |
-
msgid "Deposit"
|
2857 |
-
msgstr ""
|
2858 |
-
|
2859 |
-
#: includes/WP_List_Table.BookingsTable.class.php:412
|
2860 |
msgid "Table"
|
2861 |
msgstr ""
|
2862 |
|
2863 |
-
#: includes/WP_List_Table.BookingsTable.class.php:
|
2864 |
-
#: includes/template-functions.php:
|
2865 |
msgid "Details"
|
2866 |
msgstr ""
|
2867 |
|
2868 |
-
#: includes/WP_List_Table.BookingsTable.class.php:
|
2869 |
msgid "Submitted By"
|
2870 |
msgstr ""
|
2871 |
|
2872 |
-
#: includes/WP_List_Table.BookingsTable.class.php:
|
2873 |
msgid "Loading"
|
2874 |
msgstr ""
|
2875 |
|
2876 |
-
#: includes/WP_List_Table.BookingsTable.class.php:
|
2877 |
msgid "Edit"
|
2878 |
msgstr ""
|
2879 |
|
2880 |
-
#: includes/WP_List_Table.BookingsTable.class.php:
|
2881 |
msgid "Unknown IP"
|
2882 |
msgstr ""
|
2883 |
|
2884 |
-
#: includes/WP_List_Table.BookingsTable.class.php:
|
2885 |
msgid "Unknown Date"
|
2886 |
msgstr ""
|
2887 |
|
2888 |
-
#: includes/WP_List_Table.BookingsTable.class.php:
|
2889 |
msgid "Ban"
|
2890 |
msgstr ""
|
2891 |
|
2892 |
-
#: includes/WP_List_Table.BookingsTable.class.php:
|
2893 |
msgid "Delete Customer"
|
2894 |
msgstr ""
|
2895 |
|
2896 |
-
#: includes/WP_List_Table.BookingsTable.class.php:
|
2897 |
#: lib/simple-admin-pages/classes/AdminPageSetting.InfiniteTable.class.php:117
|
2898 |
#: lib/simple-admin-pages/classes/AdminPageSetting.InfiniteTable.class.php:147
|
2899 |
msgid "Delete"
|
2900 |
msgstr ""
|
2901 |
|
2902 |
-
#: includes/WP_List_Table.BookingsTable.class.php:
|
2903 |
msgid "Set To Confirmed"
|
2904 |
msgstr ""
|
2905 |
|
2906 |
-
#: includes/WP_List_Table.BookingsTable.class.php:
|
2907 |
msgid "Set To Pending Review"
|
2908 |
msgstr ""
|
2909 |
|
2910 |
-
#: includes/WP_List_Table.BookingsTable.class.php:
|
2911 |
msgid "Set To Closed"
|
2912 |
msgstr ""
|
2913 |
|
2914 |
-
#: includes/WP_List_Table.BookingsTable.class.php:
|
2915 |
msgid "You're viewing bookings that have been moved to the trash."
|
2916 |
msgstr ""
|
2917 |
|
2918 |
-
#: includes/WP_List_Table.BookingsTable.class.php:
|
2919 |
msgid "Only today's bookings are being shown."
|
2920 |
msgstr ""
|
2921 |
|
2922 |
-
#: includes/WP_List_Table.BookingsTable.class.php:
|
2923 |
msgid "Only upcoming bookings are being shown."
|
2924 |
msgstr ""
|
2925 |
|
@@ -3148,31 +3169,40 @@ msgstr ""
|
|
3148 |
msgid "Request Booking"
|
3149 |
msgstr ""
|
3150 |
|
3151 |
-
#: includes/template-functions.php:
|
3152 |
msgid "Deposit Required: "
|
3153 |
msgstr ""
|
3154 |
|
3155 |
-
#: includes/template-functions.php:
|
|
|
|
|
|
|
|
|
3156 |
msgid "Card Number"
|
3157 |
msgstr ""
|
3158 |
|
3159 |
-
#: includes/template-functions.php:
|
3160 |
msgid "CVC"
|
3161 |
msgstr ""
|
3162 |
|
3163 |
-
#: includes/template-functions.php:
|
3164 |
msgid "Expiration (MM/YYYY)"
|
3165 |
msgstr ""
|
3166 |
|
3167 |
-
#: includes/template-functions.php:
|
|
|
|
|
|
|
|
|
|
|
3168 |
msgid "Make Deposit"
|
3169 |
msgstr ""
|
3170 |
|
3171 |
-
#: includes/template-functions.php:
|
3172 |
msgid "Set reservation status to 'Arrived'?"
|
3173 |
msgstr ""
|
3174 |
|
3175 |
-
#: includes/template-functions.php:
|
3176 |
msgid "Arrived"
|
3177 |
msgstr ""
|
3178 |
|
@@ -3208,10 +3238,14 @@ msgstr ""
|
|
3208 |
msgid "guests"
|
3209 |
msgstr ""
|
3210 |
|
3211 |
-
#: restaurant-reservations.php:
|
|
|
|
|
|
|
|
|
3212 |
msgid "View the help documentation for Restaurant Reservations"
|
3213 |
msgstr ""
|
3214 |
|
3215 |
-
#: restaurant-reservations.php:
|
3216 |
msgid "Help"
|
3217 |
msgstr ""
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: Five Star Restaurant Reservations\n"
|
5 |
+
"POT-Creation-Date: 2021-06-17 09:19-0400\n"
|
6 |
"PO-Revision-Date: 2020-08-20 11:03-0400\n"
|
7 |
"Last-Translator: \n"
|
8 |
"Language-Team: Five Star Plugins\n"
|
21 |
msgid "Booking Form"
|
22 |
msgstr ""
|
23 |
|
24 |
+
#: assets/js/block-booking-form.js:31 includes/Export.CSV.class.php:151
|
25 |
+
#: includes/MailChimp.class.php:106 includes/MultipleLocations.class.php:304
|
26 |
#: includes/MultipleLocations.class.php:408
|
27 |
msgid "Location"
|
28 |
msgstr ""
|
51 |
msgstr ""
|
52 |
|
53 |
#: includes/AdminBookings.class.php:194 includes/AdminBookings.class.php:211
|
54 |
+
#: includes/WP_List_Table.BookingsTable.class.php:485
|
55 |
+
#: includes/WP_List_Table.BookingsTable.class.php:628
|
56 |
msgid "Send Email"
|
57 |
msgstr ""
|
58 |
|
60 |
msgid "Subject"
|
61 |
msgstr ""
|
62 |
|
63 |
+
#: includes/AdminBookings.class.php:205 includes/Export.CSV.class.php:83
|
64 |
+
#: includes/MailChimp.class.php:89 includes/Settings.class.php:2882
|
65 |
+
#: includes/WP_List_Table.BookingsTable.class.php:520
|
66 |
msgid "Message"
|
67 |
msgstr ""
|
68 |
|
88 |
"be undone."
|
89 |
msgstr ""
|
90 |
|
91 |
+
#: includes/AdminBookings.class.php:410 includes/Export.CSV.class.php:85
|
92 |
msgid "Booking Status"
|
93 |
msgstr ""
|
94 |
|
156 |
msgid "Invalid"
|
157 |
msgstr ""
|
158 |
|
159 |
+
#: includes/Ajax.class.php:79
|
160 |
msgid "The email you entered is not valid."
|
161 |
msgstr ""
|
162 |
|
163 |
+
#: includes/Ajax.class.php:124
|
164 |
msgid "No bookings were found for the email address you entered."
|
165 |
msgstr ""
|
166 |
|
167 |
+
#: includes/Ajax.class.php:159 includes/Ajax.class.php:168
|
168 |
msgid "No booking matches the information that was sent."
|
169 |
msgstr ""
|
170 |
|
171 |
+
#: includes/Ajax.class.php:188
|
172 |
msgid "Unkown error. Please try again"
|
173 |
msgstr ""
|
174 |
|
176 |
msgid "Ask the customer to select a location"
|
177 |
msgstr ""
|
178 |
|
179 |
+
#: includes/Booking.class.php:224
|
180 |
msgid "Please enter the date you would like to book."
|
181 |
msgstr ""
|
182 |
|
183 |
+
#: includes/Booking.class.php:234
|
184 |
msgid ""
|
185 |
"The date you entered is not valid. Please select from one of the dates in "
|
186 |
"the calendar."
|
187 |
msgstr ""
|
188 |
|
189 |
+
#: includes/Booking.class.php:245
|
190 |
msgid "Please enter the time you would like to book."
|
191 |
msgstr ""
|
192 |
|
193 |
+
#: includes/Booking.class.php:255
|
194 |
msgid ""
|
195 |
"The time you entered is not valid. Please select from one of the times "
|
196 |
"provided."
|
197 |
msgstr ""
|
198 |
|
199 |
+
#: includes/Booking.class.php:275
|
200 |
#, php-format
|
201 |
msgid "Sorry, bookings can not be made more than %s days in advance."
|
202 |
msgstr ""
|
203 |
|
204 |
+
#: includes/Booking.class.php:286
|
205 |
msgid "Sorry, bookings can not be made in the past."
|
206 |
msgstr ""
|
207 |
|
208 |
+
#: includes/Booking.class.php:295
|
209 |
msgid "Sorry, bookings can not be made for the same day."
|
210 |
msgstr ""
|
211 |
|
212 |
+
#: includes/Booking.class.php:303
|
213 |
#, php-format
|
214 |
msgid "Sorry, bookings must be made more than %s days in advance."
|
215 |
msgstr ""
|
216 |
|
217 |
+
#: includes/Booking.class.php:305
|
218 |
#, php-format
|
219 |
msgid "Sorry, bookings must be made more than %s hours in advance."
|
220 |
msgstr ""
|
221 |
|
222 |
+
#: includes/Booking.class.php:307
|
223 |
#, php-format
|
224 |
msgid "Sorry, bookings must be made more than %s minutes in advance."
|
225 |
msgstr ""
|
226 |
|
227 |
+
#: includes/Booking.class.php:347
|
228 |
msgid "Sorry, no bookings are being accepted then."
|
229 |
msgstr ""
|
230 |
|
231 |
+
#: includes/Booking.class.php:399
|
232 |
msgid "Sorry, no bookings are being accepted on that date."
|
233 |
msgstr ""
|
234 |
|
235 |
+
#: includes/Booking.class.php:405
|
236 |
msgid "Sorry, no bookings are being accepted at that time."
|
237 |
msgstr ""
|
238 |
|
239 |
+
#: includes/Booking.class.php:427
|
240 |
msgid "Please enter a name for this booking."
|
241 |
msgstr ""
|
242 |
|
243 |
+
#: includes/Booking.class.php:437
|
244 |
msgid "Please let us know how many people will be in your party."
|
245 |
msgstr ""
|
246 |
|
247 |
+
#: includes/Booking.class.php:447
|
248 |
#, php-format
|
249 |
msgid "We only accept bookings for parties of up to %d people."
|
250 |
msgstr ""
|
251 |
|
252 |
+
#: includes/Booking.class.php:455
|
253 |
#, php-format
|
254 |
msgid "We only accept bookings for parties of more than %d people."
|
255 |
msgstr ""
|
256 |
|
257 |
+
#: includes/Booking.class.php:466
|
258 |
msgid "Please enter an email address so we can confirm your booking."
|
259 |
msgstr ""
|
260 |
|
261 |
+
#: includes/Booking.class.php:472
|
262 |
msgid "Please enter a valid email address so we can confirm your booking."
|
263 |
msgstr ""
|
264 |
|
265 |
+
#: includes/Booking.class.php:483
|
266 |
msgid "Please provide a phone number so we can confirm your booking."
|
267 |
msgstr ""
|
268 |
|
269 |
+
#: includes/Booking.class.php:496
|
270 |
msgid "Please select a table for your booking."
|
271 |
msgstr ""
|
272 |
|
273 |
+
#: includes/Booking.class.php:506
|
274 |
msgid "Please select a valid table for your booking."
|
275 |
msgstr ""
|
276 |
|
277 |
+
#: includes/Booking.class.php:516
|
278 |
msgid "Please fill out the reCAPTCHA box before submitting."
|
279 |
msgstr ""
|
280 |
|
281 |
+
#: includes/Booking.class.php:538
|
282 |
msgid "Please fill out the reCAPTCHA box again and re-submit."
|
283 |
msgstr ""
|
284 |
|
285 |
+
#: includes/Booking.class.php:540
|
286 |
msgid " If you encounter reCAPTCHA error multiple times, please contact us."
|
287 |
msgstr ""
|
288 |
|
289 |
+
#: includes/Booking.class.php:574
|
290 |
msgid "Please complete this field to request a booking."
|
291 |
msgstr ""
|
292 |
|
293 |
+
#: includes/Booking.class.php:586
|
294 |
msgid ""
|
295 |
"Your booking has been rejected. Please call us if you would like to make a "
|
296 |
"booking."
|
297 |
msgstr ""
|
298 |
|
299 |
+
#: includes/Booking.class.php:600
|
300 |
msgid ""
|
301 |
"The maximum number of reservations for that timeslot has been reached. "
|
302 |
"Please select a different timeslot."
|
303 |
msgstr ""
|
304 |
|
305 |
+
#: includes/Booking.class.php:609
|
306 |
msgid ""
|
307 |
"With your party, the maximum number of seats for that timeslot would be "
|
308 |
"exceeded. Please select a different timeslot or reduce your party size."
|
309 |
msgstr ""
|
310 |
|
311 |
+
#: includes/Booking.class.php:618
|
312 |
msgid ""
|
313 |
"Your booking and personal information exactly matches another booking. If "
|
314 |
"this was not caused by refreshing the page, please call us to make a booking."
|
422 |
msgid "Bookings Summary"
|
423 |
msgstr ""
|
424 |
|
425 |
+
#: includes/Dashboard.class.php:142 includes/Export.CSV.class.php:78
|
426 |
+
#: includes/Settings.class.php:2826
|
427 |
+
#: includes/WP_List_Table.BookingsTable.class.php:403
|
428 |
msgid "Date"
|
429 |
msgstr ""
|
430 |
|
431 |
+
#: includes/Dashboard.class.php:143 includes/Export.CSV.class.php:80
|
432 |
+
#: includes/Settings.class.php:2838
|
433 |
+
#: includes/WP_List_Table.BookingsTable.class.php:405
|
434 |
+
#: includes/template-functions.php:683
|
435 |
msgid "Party"
|
436 |
msgstr ""
|
437 |
|
438 |
+
#: includes/Dashboard.class.php:144 includes/Export.CSV.class.php:79
|
439 |
+
#: includes/MailChimp.class.php:86 includes/Settings.class.php:2854
|
440 |
+
#: includes/WP_List_Table.BookingsTable.class.php:406
|
441 |
+
#: includes/template-functions.php:684
|
442 |
msgid "Name"
|
443 |
msgstr ""
|
444 |
|
445 |
#: includes/Dashboard.class.php:145
|
446 |
+
#: includes/WP_List_Table.BookingsTable.class.php:409
|
447 |
+
#: includes/template-functions.php:688
|
448 |
msgid "Status"
|
449 |
msgstr ""
|
450 |
|
451 |
+
#: includes/Dashboard.class.php:157
|
452 |
msgid ""
|
453 |
"No bookings to display yet. Create a booking for it to be displayed here."
|
454 |
msgstr ""
|
455 |
|
456 |
+
#: includes/Dashboard.class.php:260
|
457 |
#, php-format
|
458 |
msgid ""
|
459 |
"<a href=\"%s\" target=\"_blank\">Visit our website</a> to learn how to get a "
|
460 |
"free 7-day trial of the premium plugin."
|
461 |
msgstr ""
|
462 |
|
463 |
+
#: includes/Dashboard.class.php:264
|
464 |
msgid "Select version to trial"
|
465 |
msgstr ""
|
466 |
|
467 |
+
#: includes/Dashboard.class.php:265
|
468 |
msgid "Premium"
|
469 |
msgstr ""
|
470 |
|
471 |
+
#: includes/Dashboard.class.php:266
|
472 |
msgid "Ultimate"
|
473 |
msgstr ""
|
474 |
|
475 |
+
#: includes/Dashboard.class.php:267
|
476 |
msgid "SMS messaging will not work in the ultimate version trial."
|
477 |
msgstr ""
|
478 |
|
479 |
+
#: includes/Dashboard.class.php:268
|
480 |
msgid "Select"
|
481 |
msgstr ""
|
482 |
|
691 |
"An elegant template for sending a message with an air of sophistication."
|
692 |
msgstr ""
|
693 |
|
694 |
+
#: includes/Export.CSV.class.php:77
|
695 |
msgid "Booking ID"
|
696 |
msgstr ""
|
697 |
|
698 |
+
#: includes/Export.CSV.class.php:81 includes/MailChimp.class.php:163
|
699 |
+
#: includes/Settings.class.php:2860
|
700 |
+
#: includes/WP_List_Table.BookingsTable.class.php:407
|
701 |
+
#: includes/template-functions.php:685
|
702 |
msgid "Email"
|
703 |
msgstr ""
|
704 |
|
705 |
+
#: includes/Export.CSV.class.php:82 includes/Settings.class.php:2869
|
706 |
+
#: includes/WP_List_Table.BookingsTable.class.php:408
|
707 |
+
#: includes/template-functions.php:686
|
708 |
msgid "Phone"
|
709 |
msgstr ""
|
710 |
|
711 |
+
#: includes/Export.CSV.class.php:84
|
712 |
msgid "Date the request was made"
|
713 |
msgstr ""
|
714 |
|
715 |
+
#: includes/Export.CSV.class.php:194
|
716 |
msgid "Data Privacy Consent"
|
717 |
msgstr ""
|
718 |
|
719 |
+
#: includes/Export.CSV.class.php:210 includes/Settings.class.php:918
|
720 |
#: includes/integrations/business-profile.php:291
|
721 |
+
#: includes/template-functions.php:672
|
722 |
msgid "Yes"
|
723 |
msgstr ""
|
724 |
|
725 |
+
#: includes/Export.CSV.class.php:210 includes/Settings.class.php:917
|
726 |
#: includes/integrations/business-profile.php:292
|
727 |
+
#: includes/template-functions.php:673
|
728 |
msgid "No"
|
729 |
msgstr ""
|
730 |
|
731 |
+
#: includes/Export.CSV.class.php:229 includes/Export.PDF.class.php:223
|
732 |
+
#: includes/Settings.class.php:2919
|
733 |
msgid "Table(s)"
|
734 |
msgstr ""
|
735 |
|
736 |
+
#: includes/Export.CSV.class.php:264
|
737 |
+
#: includes/WP_List_Table.BookingsTable.class.php:412
|
738 |
+
#: restaurant-reservations.php:414
|
739 |
+
msgid "Deposit"
|
740 |
+
msgstr ""
|
741 |
+
|
742 |
+
#: includes/Export.CSV.class.php:265
|
743 |
+
msgid "Receipt ID"
|
744 |
+
msgstr ""
|
745 |
+
|
746 |
#: includes/Export.PDF.class.php:144
|
747 |
msgid ""
|
748 |
"An unexpected error occurred and your export request could not be fulfilled."
|
855 |
"persists, please refresh the page."
|
856 |
msgstr ""
|
857 |
|
858 |
+
#: includes/Field.class.php:574
|
859 |
msgid "The option you selected is not valid. Please make another choice."
|
860 |
msgstr ""
|
861 |
|
1146 |
msgstr ""
|
1147 |
|
1148 |
#: includes/InstallationWalkthrough.class.php:326
|
1149 |
+
#: includes/Settings.class.php:2832 includes/template-functions.php:682
|
1150 |
msgid "Time"
|
1151 |
msgstr ""
|
1152 |
|
1208 |
"and try again."
|
1209 |
msgstr ""
|
1210 |
|
1211 |
+
#: includes/MailChimp.class.php:85
|
1212 |
msgid "Date/Time of Booking"
|
1213 |
msgstr ""
|
1214 |
|
1215 |
+
#: includes/MailChimp.class.php:87
|
1216 |
msgid "Party Size"
|
1217 |
msgstr ""
|
1218 |
|
1219 |
+
#: includes/MailChimp.class.php:88
|
1220 |
msgid "Phone Number"
|
1221 |
msgstr ""
|
1222 |
|
1223 |
+
#: includes/MailChimp.class.php:159
|
1224 |
msgid "Booking Form Data"
|
1225 |
msgstr ""
|
1226 |
|
1227 |
+
#: includes/MailChimp.class.php:160
|
1228 |
msgid "MailChimp List Field"
|
1229 |
msgstr ""
|
1230 |
|
1231 |
+
#: includes/MailChimp.class.php:161
|
1232 |
msgid ""
|
1233 |
"Connect information from the booking request to <a href=\"http://kb."
|
1234 |
"mailchimp.com/article/getting-started-with-merge-tags\" target=\"_blank"
|
1235 |
"\">merge fields</a> in your MailChimp list."
|
1236 |
msgstr ""
|
1237 |
|
1238 |
+
#: includes/MailChimp.class.php:162
|
1239 |
msgid ""
|
1240 |
"There was an unexpected error when trying to retrieve the list's merge "
|
1241 |
"fields."
|
1242 |
msgstr ""
|
1243 |
|
1244 |
+
#: includes/MailChimp.class.php:164
|
1245 |
msgid "The email field is automatically merged."
|
1246 |
msgstr ""
|
1247 |
|
1248 |
+
#: includes/MailChimp.class.php:180
|
1249 |
msgid ""
|
1250 |
"You have been logged out. Please login again to retrieve the mailing lists."
|
1251 |
msgstr ""
|
1252 |
|
1253 |
+
#: includes/MailChimp.class.php:194
|
1254 |
msgid ""
|
1255 |
"You do not have permission to retrieve the mailing lists. Please login to an "
|
1256 |
"administrator account if you have one."
|
1257 |
msgstr ""
|
1258 |
|
1259 |
+
#: includes/MailChimp.class.php:212
|
1260 |
msgid ""
|
1261 |
"You have been logged out. Please login again to retrieve the merge fields "
|
1262 |
"for this list."
|
1263 |
msgstr ""
|
1264 |
|
1265 |
+
#: includes/MailChimp.class.php:226
|
1266 |
msgid ""
|
1267 |
"You do not have permission to modify the merge field settings. Please login "
|
1268 |
"to an administrator account if you have one."
|
1269 |
msgstr ""
|
1270 |
|
1271 |
+
#: includes/MailChimp.class.php:407
|
1272 |
msgid ""
|
1273 |
"The subscription request has been rejected because it does not appear to "
|
1274 |
"have come from this site."
|
1315 |
msgstr ""
|
1316 |
|
1317 |
#: includes/Settings.class.php:626 includes/Settings.class.php:627
|
1318 |
+
#: includes/Settings.class.php:2303 restaurant-reservations.php:319
|
1319 |
msgid "Settings"
|
1320 |
msgstr ""
|
1321 |
|
2376 |
msgstr ""
|
2377 |
|
2378 |
#: includes/Settings.class.php:2185
|
2379 |
+
msgid "Strong Customer Authorization (SCA)"
|
2380 |
msgstr ""
|
2381 |
|
2382 |
#: includes/Settings.class.php:2186
|
2383 |
msgid ""
|
2384 |
+
"User will be redirected to Stripe and presented with 3D secure or bank "
|
2385 |
+
"redirect for payment authentication. (May be necessary for certain EU "
|
2386 |
+
"compliance.)"
|
2387 |
+
msgstr ""
|
2388 |
+
|
2389 |
+
#: includes/Settings.class.php:2195
|
2390 |
+
msgid "Stripe Currency Symbol"
|
2391 |
+
msgstr ""
|
2392 |
+
|
2393 |
+
#: includes/Settings.class.php:2196
|
2394 |
+
msgid ""
|
2395 |
"The currency symbol you'd like displayed before or after the required "
|
2396 |
"deposit amount."
|
2397 |
msgstr ""
|
2398 |
|
2399 |
+
#: includes/Settings.class.php:2206
|
2400 |
msgid "CC Expiration Single Field"
|
2401 |
msgstr ""
|
2402 |
|
2403 |
+
#: includes/Settings.class.php:2207
|
2404 |
msgid ""
|
2405 |
"Should the field for card expiry details be a single field with a mask or "
|
2406 |
"two separate fields for month and year?"
|
2407 |
msgstr ""
|
2408 |
|
2409 |
+
#: includes/Settings.class.php:2216
|
2410 |
msgid "Currency Symbol Location"
|
2411 |
msgstr ""
|
2412 |
|
2413 |
+
#: includes/Settings.class.php:2217
|
2414 |
msgid ""
|
2415 |
"Should the currency symbol be placed before or after the deposit amount?"
|
2416 |
msgstr ""
|
2417 |
|
2418 |
+
#: includes/Settings.class.php:2230
|
2419 |
msgid "Test/Live Mode"
|
2420 |
msgstr ""
|
2421 |
|
2422 |
+
#: includes/Settings.class.php:2231
|
2423 |
msgid ""
|
2424 |
"Should the system use test or live mode? Test mode should only be used for "
|
2425 |
"testing, no deposits will actually be processed while turned on."
|
2426 |
msgstr ""
|
2427 |
|
2428 |
+
#: includes/Settings.class.php:2244
|
2429 |
msgid "Stripe Live Secret"
|
2430 |
msgstr ""
|
2431 |
|
2432 |
+
#: includes/Settings.class.php:2245
|
2433 |
msgid "The live secret that you have set up for your Stripe account."
|
2434 |
msgstr ""
|
2435 |
|
2436 |
+
#: includes/Settings.class.php:2254
|
2437 |
msgid "Stripe Live Publishable"
|
2438 |
msgstr ""
|
2439 |
|
2440 |
+
#: includes/Settings.class.php:2255
|
2441 |
msgid "The live publishable that you have set up for your Stripe account."
|
2442 |
msgstr ""
|
2443 |
|
2444 |
+
#: includes/Settings.class.php:2264
|
2445 |
msgid "Stripe Test Secret"
|
2446 |
msgstr ""
|
2447 |
|
2448 |
+
#: includes/Settings.class.php:2265
|
2449 |
msgid ""
|
2450 |
"The test secret that you have set up for your Stripe account. Only needed "
|
2451 |
"for testing payments."
|
2452 |
msgstr ""
|
2453 |
|
2454 |
+
#: includes/Settings.class.php:2274
|
2455 |
msgid "Stripe Test Publishable"
|
2456 |
msgstr ""
|
2457 |
|
2458 |
+
#: includes/Settings.class.php:2275
|
2459 |
msgid ""
|
2460 |
"The test publishable that you have set up for your Stripe account. Only "
|
2461 |
"needed for testing payments."
|
2462 |
msgstr ""
|
2463 |
|
2464 |
+
#: includes/Settings.class.php:2316
|
2465 |
msgid "Paper Size"
|
2466 |
msgstr ""
|
2467 |
|
2468 |
+
#: includes/Settings.class.php:2317
|
2469 |
msgid "Select your preferred paper size."
|
2470 |
msgstr ""
|
2471 |
|
2472 |
+
#: includes/Settings.class.php:2332
|
2473 |
msgid "PDF Renderer"
|
2474 |
msgstr ""
|
2475 |
|
2476 |
+
#: includes/Settings.class.php:2333
|
2477 |
msgid ""
|
2478 |
"mPDF looks nicer but is not compatible with all servers. Select TCPDF only "
|
2479 |
"if you get errors when trying to export a PDF."
|
2480 |
msgstr ""
|
2481 |
|
2482 |
+
#: includes/Settings.class.php:2348
|
2483 |
msgid "Excel/CSV Date Format"
|
2484 |
msgstr ""
|
2485 |
|
2486 |
+
#: includes/Settings.class.php:2349
|
2487 |
msgid ""
|
2488 |
"Enter a custom date format to be used when generating Excel/CSV exports if "
|
2489 |
"you want the format to be different than your WordPress setting. This is "
|
2490 |
"useful if you need the date in a machine-readable format."
|
2491 |
msgstr ""
|
2492 |
|
2493 |
+
#: includes/Settings.class.php:2368
|
2494 |
msgid "Styling"
|
2495 |
msgstr ""
|
2496 |
|
2497 |
+
#: includes/Settings.class.php:2378
|
2498 |
msgid "Reservation Form"
|
2499 |
msgstr ""
|
2500 |
|
2501 |
+
#: includes/Settings.class.php:2391
|
2502 |
msgid "Layout"
|
2503 |
msgstr ""
|
2504 |
|
2505 |
+
#: includes/Settings.class.php:2392
|
2506 |
msgid "Choose which layout you want to use for your reservation form"
|
2507 |
msgstr ""
|
2508 |
|
2509 |
+
#: includes/Settings.class.php:2407
|
2510 |
msgid "Section Title Font Family"
|
2511 |
msgstr ""
|
2512 |
|
2513 |
+
#: includes/Settings.class.php:2408
|
2514 |
msgid ""
|
2515 |
"Choose the font family for the section titles. (Please note that the font "
|
2516 |
"family must already be loaded on the site. This does not load it.)"
|
2517 |
msgstr ""
|
2518 |
|
2519 |
+
#: includes/Settings.class.php:2417
|
2520 |
msgid "Section Title Font Size"
|
2521 |
msgstr ""
|
2522 |
|
2523 |
+
#: includes/Settings.class.php:2418
|
2524 |
msgid ""
|
2525 |
"Choose the font size for the section titles. Include the unit (e.g. 20px or "
|
2526 |
"2em)."
|
2527 |
msgstr ""
|
2528 |
|
2529 |
+
#: includes/Settings.class.php:2427
|
2530 |
msgid "Section Title Color"
|
2531 |
msgstr ""
|
2532 |
|
2533 |
+
#: includes/Settings.class.php:2428
|
2534 |
msgid "Choose the color for the section titles."
|
2535 |
msgstr ""
|
2536 |
|
2537 |
+
#: includes/Settings.class.php:2438
|
2538 |
msgid "Section Background Color"
|
2539 |
msgstr ""
|
2540 |
|
2541 |
+
#: includes/Settings.class.php:2439
|
2542 |
msgid "Choose the background color for the form sections."
|
2543 |
msgstr ""
|
2544 |
|
2545 |
+
#: includes/Settings.class.php:2448
|
2546 |
msgid "Section Border Size"
|
2547 |
msgstr ""
|
2548 |
|
2549 |
+
#: includes/Settings.class.php:2449
|
2550 |
msgid ""
|
2551 |
"Choose the border size for the form sections (in the default layout). "
|
2552 |
"Include the unit (e.g. 2px)."
|
2553 |
msgstr ""
|
2554 |
|
2555 |
+
#: includes/Settings.class.php:2458
|
2556 |
msgid "Section Border Color"
|
2557 |
msgstr ""
|
2558 |
|
2559 |
+
#: includes/Settings.class.php:2459
|
2560 |
msgid "Choose the color for the section border (in the default layout)."
|
2561 |
msgstr ""
|
2562 |
|
2563 |
+
#: includes/Settings.class.php:2469
|
2564 |
msgid "Label Font Family"
|
2565 |
msgstr ""
|
2566 |
|
2567 |
+
#: includes/Settings.class.php:2470
|
2568 |
msgid ""
|
2569 |
"Choose the font family for the form field labels. (Please note that the font "
|
2570 |
"family must already be loaded on the site. This does not load it.)"
|
2571 |
msgstr ""
|
2572 |
|
2573 |
+
#: includes/Settings.class.php:2479
|
2574 |
msgid "Label Font Size"
|
2575 |
msgstr ""
|
2576 |
|
2577 |
+
#: includes/Settings.class.php:2480
|
2578 |
msgid ""
|
2579 |
"Choose the font size for the form field labels. Include the unit (e.g. 20px "
|
2580 |
"or 2em)."
|
2581 |
msgstr ""
|
2582 |
|
2583 |
+
#: includes/Settings.class.php:2489
|
2584 |
msgid "Label Color"
|
2585 |
msgstr ""
|
2586 |
|
2587 |
+
#: includes/Settings.class.php:2490
|
2588 |
msgid "Choose the color for the form field labels."
|
2589 |
msgstr ""
|
2590 |
|
2591 |
+
#: includes/Settings.class.php:2500
|
2592 |
msgid "\"Add a Message\" Button Background Color"
|
2593 |
msgstr ""
|
2594 |
|
2595 |
+
#: includes/Settings.class.php:2501
|
2596 |
msgid "Choose the background color for the \"Add a Message\" button."
|
2597 |
msgstr ""
|
2598 |
|
2599 |
+
#: includes/Settings.class.php:2510
|
2600 |
msgid "\"Add a Message\" Button Background Hover Color"
|
2601 |
msgstr ""
|
2602 |
|
2603 |
+
#: includes/Settings.class.php:2511
|
2604 |
msgid "Choose the background color for the \"Add a Message\" button on hover."
|
2605 |
msgstr ""
|
2606 |
|
2607 |
+
#: includes/Settings.class.php:2520
|
2608 |
msgid "\"Add a Message\" Button Text Color"
|
2609 |
msgstr ""
|
2610 |
|
2611 |
+
#: includes/Settings.class.php:2521
|
2612 |
msgid "Choose the text color for the \"Add a Message\" button."
|
2613 |
msgstr ""
|
2614 |
|
2615 |
+
#: includes/Settings.class.php:2530
|
2616 |
msgid "\"Add a Message\" Button Text Hover Color"
|
2617 |
msgstr ""
|
2618 |
|
2619 |
+
#: includes/Settings.class.php:2531
|
2620 |
msgid "Choose the text color for the \"Add a Message\" button on hover."
|
2621 |
msgstr ""
|
2622 |
|
2623 |
+
#: includes/Settings.class.php:2541
|
2624 |
msgid "\"Request Booking\" Button Background Color"
|
2625 |
msgstr ""
|
2626 |
|
2627 |
+
#: includes/Settings.class.php:2542
|
2628 |
msgid "Choose the background color for the \"Request Booking\" button."
|
2629 |
msgstr ""
|
2630 |
|
2631 |
+
#: includes/Settings.class.php:2551
|
2632 |
msgid "\"Request Booking\" Button Background Hover Color"
|
2633 |
msgstr ""
|
2634 |
|
2635 |
+
#: includes/Settings.class.php:2552
|
2636 |
msgid ""
|
2637 |
"Choose the background color for the \"Request Booking\" button on hover."
|
2638 |
msgstr ""
|
2639 |
|
2640 |
+
#: includes/Settings.class.php:2561
|
2641 |
msgid "\"Request Booking\" Button Text Color"
|
2642 |
msgstr ""
|
2643 |
|
2644 |
+
#: includes/Settings.class.php:2562
|
2645 |
msgid "Choose the text color for the \"Request Booking\" button."
|
2646 |
msgstr ""
|
2647 |
|
2648 |
+
#: includes/Settings.class.php:2571
|
2649 |
msgid "\"Request Booking\" Button Text Hover Color"
|
2650 |
msgstr ""
|
2651 |
|
2652 |
+
#: includes/Settings.class.php:2572
|
2653 |
msgid "Choose the text color for the \"Request Booking\" button on hover."
|
2654 |
msgstr ""
|
2655 |
|
2656 |
+
#: includes/Settings.class.php:2582
|
2657 |
msgid "Cancel Reservation Button Background Color"
|
2658 |
msgstr ""
|
2659 |
|
2660 |
+
#: includes/Settings.class.php:2583
|
2661 |
msgid ""
|
2662 |
"Choose the background color for the cancel reservation toggle button button."
|
2663 |
msgstr ""
|
2664 |
|
2665 |
+
#: includes/Settings.class.php:2592
|
2666 |
msgid "Cancel Reservation Button Background Hover Color"
|
2667 |
msgstr ""
|
2668 |
|
2669 |
+
#: includes/Settings.class.php:2593
|
2670 |
msgid ""
|
2671 |
"Choose the background color for the cancel reservation toggle button on "
|
2672 |
"hover."
|
2673 |
msgstr ""
|
2674 |
|
2675 |
+
#: includes/Settings.class.php:2602
|
2676 |
msgid "Cancel Reservation Text Color"
|
2677 |
msgstr ""
|
2678 |
|
2679 |
+
#: includes/Settings.class.php:2603
|
2680 |
msgid "Choose the text color for the cancel reservation toggle button."
|
2681 |
msgstr ""
|
2682 |
|
2683 |
+
#: includes/Settings.class.php:2612
|
2684 |
msgid "Cancel Reservation Text Hover Color"
|
2685 |
msgstr ""
|
2686 |
|
2687 |
+
#: includes/Settings.class.php:2613
|
2688 |
msgid ""
|
2689 |
"Choose the text color for the cancel reservation toggle button on hover."
|
2690 |
msgstr ""
|
2691 |
|
2692 |
+
#: includes/Settings.class.php:2623
|
2693 |
msgid "\"Find Reservations\" Button Background Color"
|
2694 |
msgstr ""
|
2695 |
|
2696 |
+
#: includes/Settings.class.php:2624
|
2697 |
msgid "Choose the background color for the \"Find Reservations\" button."
|
2698 |
msgstr ""
|
2699 |
|
2700 |
+
#: includes/Settings.class.php:2633
|
2701 |
msgid "\"Find Reservations\" Button Background Hover Color"
|
2702 |
msgstr ""
|
2703 |
|
2704 |
+
#: includes/Settings.class.php:2634
|
2705 |
msgid ""
|
2706 |
"Choose the background color for the \"Find Reservations\" button on hover."
|
2707 |
msgstr ""
|
2708 |
|
2709 |
+
#: includes/Settings.class.php:2643
|
2710 |
msgid "\"Find Reservations\" Button Text Color"
|
2711 |
msgstr ""
|
2712 |
|
2713 |
+
#: includes/Settings.class.php:2644
|
2714 |
msgid "Choose the text color for the \"Find Reservations\" button."
|
2715 |
msgstr ""
|
2716 |
|
2717 |
+
#: includes/Settings.class.php:2653
|
2718 |
msgid "\"Find Reservations\" Button Text Hover Color"
|
2719 |
msgstr ""
|
2720 |
|
2721 |
+
#: includes/Settings.class.php:2654
|
2722 |
msgid "Choose the text color for the \"Find Reservations\" button on hover."
|
2723 |
msgstr ""
|
2724 |
|
2725 |
+
#: includes/Settings.class.php:2673
|
2726 |
msgid "Any size"
|
2727 |
msgstr ""
|
2728 |
|
2729 |
+
#: includes/Settings.class.php:2823
|
2730 |
#: includes/integrations/business-profile.php:100
|
2731 |
msgid "Book a table"
|
2732 |
msgstr ""
|
2733 |
|
2734 |
+
#: includes/Settings.class.php:2851
|
2735 |
msgid "Contact Details"
|
2736 |
msgstr ""
|
2737 |
|
2738 |
+
#: includes/Settings.class.php:2877
|
2739 |
msgid "Add a Message"
|
2740 |
msgstr ""
|
2741 |
|
2742 |
+
#: includes/Settings.class.php:2971
|
2743 |
msgid "Email of the user who made the booking"
|
2744 |
msgstr ""
|
2745 |
|
2746 |
+
#: includes/Settings.class.php:2972
|
2747 |
msgid "* Name of the user who made the booking"
|
2748 |
msgstr ""
|
2749 |
|
2750 |
+
#: includes/Settings.class.php:2973
|
2751 |
msgid "* Number of people booked"
|
2752 |
msgstr ""
|
2753 |
|
2754 |
+
#: includes/Settings.class.php:2974
|
2755 |
msgid "* Date and time of the booking"
|
2756 |
msgstr ""
|
2757 |
|
2758 |
+
#: includes/Settings.class.php:2975
|
2759 |
msgid "Phone number if supplied with the request"
|
2760 |
msgstr ""
|
2761 |
|
2762 |
+
#: includes/Settings.class.php:2976
|
2763 |
msgid "Message added to the request"
|
2764 |
msgstr ""
|
2765 |
|
2766 |
+
#: includes/Settings.class.php:2977
|
2767 |
msgid "A link to the admin panel showing pending bookings"
|
2768 |
msgstr ""
|
2769 |
|
2770 |
+
#: includes/Settings.class.php:2978
|
2771 |
msgid ""
|
2772 |
"A link that a guest can use to cancel their booking if cancellations are "
|
2773 |
"enabled"
|
2774 |
msgstr ""
|
2775 |
|
2776 |
+
#: includes/Settings.class.php:2979
|
2777 |
msgid ""
|
2778 |
"A link to confirm this booking. Only include this in admin notifications"
|
2779 |
msgstr ""
|
2780 |
|
2781 |
+
#: includes/Settings.class.php:2980
|
2782 |
msgid "A link to reject this booking. Only include this in admin notifications"
|
2783 |
msgstr ""
|
2784 |
|
2785 |
+
#: includes/Settings.class.php:2981
|
2786 |
msgid "The name of this website"
|
2787 |
msgstr ""
|
2788 |
|
2789 |
+
#: includes/Settings.class.php:2982
|
2790 |
msgid "A link to this website"
|
2791 |
msgstr ""
|
2792 |
|
2793 |
+
#: includes/Settings.class.php:2983
|
2794 |
msgid "Current date and time"
|
2795 |
msgstr ""
|
2796 |
|
2797 |
+
#: includes/Settings.class.php:2984
|
2798 |
msgid "The table(s) for the booking"
|
2799 |
msgstr ""
|
2800 |
|
2852 |
msgstr ""
|
2853 |
|
2854 |
#: includes/WP_List_Table.BookingsTable.class.php:321
|
2855 |
+
msgid "Payment Pending"
|
2856 |
msgstr ""
|
2857 |
|
2858 |
#: includes/WP_List_Table.BookingsTable.class.php:322
|
2859 |
+
msgid "Confirmed"
|
2860 |
msgstr ""
|
2861 |
|
2862 |
#: includes/WP_List_Table.BookingsTable.class.php:323
|
2863 |
+
msgid "Closed"
|
2864 |
+
msgstr ""
|
2865 |
+
|
2866 |
+
#: includes/WP_List_Table.BookingsTable.class.php:324
|
2867 |
+
#: includes/WP_List_Table.BookingsTable.class.php:464
|
2868 |
msgid "Trash"
|
2869 |
msgstr ""
|
2870 |
|
2871 |
+
#: includes/WP_List_Table.BookingsTable.class.php:328
|
2872 |
msgid "Payment Failed"
|
2873 |
msgstr ""
|
2874 |
|
2875 |
+
#: includes/WP_List_Table.BookingsTable.class.php:404
|
2876 |
msgid "ID"
|
2877 |
msgstr ""
|
2878 |
|
2879 |
+
#: includes/WP_List_Table.BookingsTable.class.php:413
|
2880 |
+
#: includes/template-functions.php:687
|
|
|
|
|
|
|
|
|
2881 |
msgid "Table"
|
2882 |
msgstr ""
|
2883 |
|
2884 |
+
#: includes/WP_List_Table.BookingsTable.class.php:416
|
2885 |
+
#: includes/template-functions.php:689
|
2886 |
msgid "Details"
|
2887 |
msgstr ""
|
2888 |
|
2889 |
+
#: includes/WP_List_Table.BookingsTable.class.php:431
|
2890 |
msgid "Submitted By"
|
2891 |
msgstr ""
|
2892 |
|
2893 |
+
#: includes/WP_List_Table.BookingsTable.class.php:459
|
2894 |
msgid "Loading"
|
2895 |
msgstr ""
|
2896 |
|
2897 |
+
#: includes/WP_List_Table.BookingsTable.class.php:463
|
2898 |
msgid "Edit"
|
2899 |
msgstr ""
|
2900 |
|
2901 |
+
#: includes/WP_List_Table.BookingsTable.class.php:546
|
2902 |
msgid "Unknown IP"
|
2903 |
msgstr ""
|
2904 |
|
2905 |
+
#: includes/WP_List_Table.BookingsTable.class.php:547
|
2906 |
msgid "Unknown Date"
|
2907 |
msgstr ""
|
2908 |
|
2909 |
+
#: includes/WP_List_Table.BookingsTable.class.php:558
|
2910 |
msgid "Ban"
|
2911 |
msgstr ""
|
2912 |
|
2913 |
+
#: includes/WP_List_Table.BookingsTable.class.php:561
|
2914 |
msgid "Delete Customer"
|
2915 |
msgstr ""
|
2916 |
|
2917 |
+
#: includes/WP_List_Table.BookingsTable.class.php:624
|
2918 |
#: lib/simple-admin-pages/classes/AdminPageSetting.InfiniteTable.class.php:117
|
2919 |
#: lib/simple-admin-pages/classes/AdminPageSetting.InfiniteTable.class.php:147
|
2920 |
msgid "Delete"
|
2921 |
msgstr ""
|
2922 |
|
2923 |
+
#: includes/WP_List_Table.BookingsTable.class.php:625
|
2924 |
msgid "Set To Confirmed"
|
2925 |
msgstr ""
|
2926 |
|
2927 |
+
#: includes/WP_List_Table.BookingsTable.class.php:626
|
2928 |
msgid "Set To Pending Review"
|
2929 |
msgstr ""
|
2930 |
|
2931 |
+
#: includes/WP_List_Table.BookingsTable.class.php:627
|
2932 |
msgid "Set To Closed"
|
2933 |
msgstr ""
|
2934 |
|
2935 |
+
#: includes/WP_List_Table.BookingsTable.class.php:884
|
2936 |
msgid "You're viewing bookings that have been moved to the trash."
|
2937 |
msgstr ""
|
2938 |
|
2939 |
+
#: includes/WP_List_Table.BookingsTable.class.php:893
|
2940 |
msgid "Only today's bookings are being shown."
|
2941 |
msgstr ""
|
2942 |
|
2943 |
+
#: includes/WP_List_Table.BookingsTable.class.php:895
|
2944 |
msgid "Only upcoming bookings are being shown."
|
2945 |
msgstr ""
|
2946 |
|
3169 |
msgid "Request Booking"
|
3170 |
msgstr ""
|
3171 |
|
3172 |
+
#: includes/template-functions.php:317
|
3173 |
msgid "Deposit Required: "
|
3174 |
msgstr ""
|
3175 |
|
3176 |
+
#: includes/template-functions.php:325
|
3177 |
+
msgid "Card Detail"
|
3178 |
+
msgstr ""
|
3179 |
+
|
3180 |
+
#: includes/template-functions.php:330
|
3181 |
msgid "Card Number"
|
3182 |
msgstr ""
|
3183 |
|
3184 |
+
#: includes/template-functions.php:334
|
3185 |
msgid "CVC"
|
3186 |
msgstr ""
|
3187 |
|
3188 |
+
#: includes/template-functions.php:338
|
3189 |
msgid "Expiration (MM/YYYY)"
|
3190 |
msgstr ""
|
3191 |
|
3192 |
+
#: includes/template-functions.php:347
|
3193 |
+
msgid ""
|
3194 |
+
"Please wait. Do not refresh until the button enables or the page reloads."
|
3195 |
+
msgstr ""
|
3196 |
+
|
3197 |
+
#: includes/template-functions.php:349
|
3198 |
msgid "Make Deposit"
|
3199 |
msgstr ""
|
3200 |
|
3201 |
+
#: includes/template-functions.php:670
|
3202 |
msgid "Set reservation status to 'Arrived'?"
|
3203 |
msgstr ""
|
3204 |
|
3205 |
+
#: includes/template-functions.php:681
|
3206 |
msgid "Arrived"
|
3207 |
msgstr ""
|
3208 |
|
3238 |
msgid "guests"
|
3239 |
msgstr ""
|
3240 |
|
3241 |
+
#: restaurant-reservations.php:413
|
3242 |
+
msgid "Cancelled"
|
3243 |
+
msgstr ""
|
3244 |
+
|
3245 |
+
#: restaurant-reservations.php:436
|
3246 |
msgid "View the help documentation for Restaurant Reservations"
|
3247 |
msgstr ""
|
3248 |
|
3249 |
+
#: restaurant-reservations.php:436
|
3250 |
msgid "Help"
|
3251 |
msgstr ""
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: FiveStarPlugins
|
|
3 |
Requires at Least: 4.4
|
4 |
Tested Up To: 5.7
|
5 |
Tags: reservation, reservations, restaurant reservations, reservation form, restaurant booking, restaurant reservation form, restaurant booking form, restaurant booking system, reservation system, online reservations, online restaurant booking, dinner reservations, restaurant form, gutenberg reservations, gutenberg restaurant reservations, gutenberg restaurant booking, mobile reservations, responsive reservations, table reservations, open table, book table, reserve table, easy reservations, simple reservations, quick restaurant reservations, custom reservation form, custom restaurant reservations
|
6 |
-
Stable tag: 2.2.
|
7 |
License: GPLv3
|
8 |
License URI:http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
Donate Link: https://www.etoilewebdesign.com/plugin-donations/
|
@@ -197,6 +197,11 @@ Find answers to even more questions in the [FAQ](http://doc.fivestarplugins.com/
|
|
197 |
|
198 |
== Changelog ==
|
199 |
|
|
|
|
|
|
|
|
|
|
|
200 |
= 2.2.9 (2021-06-09) =
|
201 |
- Fix for MailChimp array_key_exists warnings
|
202 |
|
3 |
Requires at Least: 4.4
|
4 |
Tested Up To: 5.7
|
5 |
Tags: reservation, reservations, restaurant reservations, reservation form, restaurant booking, restaurant reservation form, restaurant booking form, restaurant booking system, reservation system, online reservations, online restaurant booking, dinner reservations, restaurant form, gutenberg reservations, gutenberg restaurant reservations, gutenberg restaurant booking, mobile reservations, responsive reservations, table reservations, open table, book table, reserve table, easy reservations, simple reservations, quick restaurant reservations, custom reservation form, custom restaurant reservations
|
6 |
+
Stable tag: 2.2.10
|
7 |
License: GPLv3
|
8 |
License URI:http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
Donate Link: https://www.etoilewebdesign.com/plugin-donations/
|
197 |
|
198 |
== Changelog ==
|
199 |
|
200 |
+
= 2.2.10 (2021-06-17) =
|
201 |
+
- Fixed an issue causing incorrect available time slots between two full time slots when there were overlapping bookings.
|
202 |
+
- Fixed an an issue in which the value for a checkbox type custom field wasn't saving if you cleared/unselected all options.
|
203 |
+
- Localized an instance of the word "Cancelled" in the JS.
|
204 |
+
|
205 |
= 2.2.9 (2021-06-09) =
|
206 |
- Fix for MailChimp array_key_exists warnings
|
207 |
|
restaurant-reservations.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Five Star Restaurant Reservations - WordPress Booking Plugin
|
4 |
* Plugin URI: http://www.fivestarplugins.com/plugins/five-star-restaurant-reservations/
|
5 |
* Description: Restaurant reservations made easy. Accept bookings online. Quickly confirm or reject reservations, send email notifications, set booking times and more.
|
6 |
-
* Version: 2.2.
|
7 |
* Author: FiveStarPlugins
|
8 |
* Author URI: https://profiles.wordpress.org/fivestarplugins/
|
9 |
* Text Domain: restaurant-reservations
|
@@ -410,6 +410,7 @@ class rtbInit {
|
|
410 |
'guest' => __( 'guest', 'restaurant-reservations' ),
|
411 |
'guests' => __( 'guests', 'restaurant-reservations' ),
|
412 |
'cancel' => __( 'Cancel', 'restaurant-reservations' ),
|
|
|
413 |
'deposit' => __( 'Deposit', 'restaurant-reservations' )
|
414 |
)
|
415 |
);
|
3 |
* Plugin Name: Five Star Restaurant Reservations - WordPress Booking Plugin
|
4 |
* Plugin URI: http://www.fivestarplugins.com/plugins/five-star-restaurant-reservations/
|
5 |
* Description: Restaurant reservations made easy. Accept bookings online. Quickly confirm or reject reservations, send email notifications, set booking times and more.
|
6 |
+
* Version: 2.2.10
|
7 |
* Author: FiveStarPlugins
|
8 |
* Author URI: https://profiles.wordpress.org/fivestarplugins/
|
9 |
* Text Domain: restaurant-reservations
|
410 |
'guest' => __( 'guest', 'restaurant-reservations' ),
|
411 |
'guests' => __( 'guests', 'restaurant-reservations' ),
|
412 |
'cancel' => __( 'Cancel', 'restaurant-reservations' ),
|
413 |
+
'cancelled' => __( 'Cancelled', 'restaurant-reservations' ),
|
414 |
'deposit' => __( 'Deposit', 'restaurant-reservations' )
|
415 |
)
|
416 |
);
|