Restaurant Reservations - Version 2.5.1

Version Description

(2022-03-07) = - Added the ability to set a date range for exceptions in the global booking schedule settings. - Fixed an issue in which the daily summary email was being sent to the email address specified for admin notifications and not the one specified for the daily summary email. - Updated the order of available pages to be alphabetical in the dropdowns for the booking page and view bookings page settings. - Updated escaping and sanitizing.

Download this release

Release Info

Developer Rustaurius
Plugin Icon 128x128 Restaurant Reservations
Version 2.5.1
Comparing to
See all releases

Code changes from version 2.5.0 to 2.5.1

Files changed (48) hide show
  1. assets/js/booking-form.js +40 -14
  2. includes/Ajax.class.php +31 -10
  3. includes/Booking.class.php +82 -14
  4. includes/Cron.class.php +2 -2
  5. includes/MailChimp.class.php +3 -3
  6. includes/Notification.Email.class.php +5 -1
  7. includes/Settings.class.php +35 -11
  8. includes/template-functions.php +36 -9
  9. languages/restaurant-reservations.pot +755 -1274
  10. lib/simple-admin-pages/classes/AdminPage.Menu.class.php +1 -1
  11. lib/simple-admin-pages/classes/AdminPage.Submenu.class.php +1 -1
  12. lib/simple-admin-pages/classes/AdminPage.Themes.class.php +1 -1
  13. lib/simple-admin-pages/classes/AdminPage.class.php +25 -63
  14. lib/simple-admin-pages/classes/AdminPageSection.class.php +1 -1
  15. lib/simple-admin-pages/classes/AdminPageSetting.Address.class.php +1 -1
  16. lib/simple-admin-pages/classes/AdminPageSetting.Checkbox.class.php +1 -1
  17. lib/simple-admin-pages/classes/AdminPageSetting.ColorPicker.class.php +1 -1
  18. lib/simple-admin-pages/classes/AdminPageSetting.Count.class.php +1 -1
  19. lib/simple-admin-pages/classes/AdminPageSetting.Editor.class.php +1 -1
  20. lib/simple-admin-pages/classes/AdminPageSetting.FileUpload.class.php +1 -1
  21. lib/simple-admin-pages/classes/AdminPageSetting.HTML.class.php +1 -1
  22. lib/simple-admin-pages/classes/AdminPageSetting.Image.class.php +1 -1
  23. lib/simple-admin-pages/classes/AdminPageSetting.InfiniteTable.class.php +12 -1
  24. lib/simple-admin-pages/classes/AdminPageSetting.McApiKey.class.php +1 -1
  25. lib/simple-admin-pages/classes/AdminPageSetting.McListMerge.class.php +1 -1
  26. lib/simple-admin-pages/classes/AdminPageSetting.Number.class.php +1 -1
  27. lib/simple-admin-pages/classes/AdminPageSetting.OpeningHours.class.php +1 -1
  28. lib/simple-admin-pages/classes/AdminPageSetting.Ordering.class.php +1 -1
  29. lib/simple-admin-pages/classes/AdminPageSetting.Radio.class.php +1 -1
  30. lib/simple-admin-pages/classes/AdminPageSetting.Scheduler.class.php +152 -46
  31. lib/simple-admin-pages/classes/AdminPageSetting.Select.class.php +1 -1
  32. lib/simple-admin-pages/classes/AdminPageSetting.SelectMenu.class.php +1 -1
  33. lib/simple-admin-pages/classes/AdminPageSetting.SelectPost.class.php +1 -1
  34. lib/simple-admin-pages/classes/AdminPageSetting.SelectTaxonomy.class.php +1 -1
  35. lib/simple-admin-pages/classes/AdminPageSetting.Text.class.php +1 -1
  36. lib/simple-admin-pages/classes/AdminPageSetting.Textarea.class.php +1 -1
  37. lib/simple-admin-pages/classes/AdminPageSetting.Time.class.php +1 -1
  38. lib/simple-admin-pages/classes/AdminPageSetting.Toggle.class.php +1 -1
  39. lib/simple-admin-pages/classes/AdminPageSetting.WarningTip.class.php +1 -1
  40. lib/simple-admin-pages/classes/AdminPageSetting.class.php +8 -3
  41. lib/simple-admin-pages/classes/Library.class.php +4 -4
  42. lib/simple-admin-pages/css/admin-settings.css +1 -0
  43. lib/simple-admin-pages/css/admin.css +24 -9
  44. lib/simple-admin-pages/js/scheduler.js +54 -5
  45. readme.txt +7 -1
  46. restaurant-reservations.php +2 -2
  47. templates/mpdf.php +11 -11
  48. templates/tcpdf.php +8 -8
assets/js/booking-form.js CHANGED
@@ -107,8 +107,9 @@ jQuery(document).ready(function ($) {
107
  // Pass conditional configuration parameters
108
  if ( rtb_pickadate.disable_dates.length ) {
109
 
110
- // Update weekday dates if start of the week has been modified
111
  var disable_dates = jQuery.extend( true, [], rtb_pickadate.disable_dates );
 
 
112
  if ( typeof rtb_booking_form.datepicker.component.settings.firstDay == 'number' ) {
113
  var weekday_num = 0;
114
  for ( var disable_key in rtb_pickadate.disable_dates ) {
@@ -123,6 +124,7 @@ jQuery(document).ready(function ($) {
123
  }
124
 
125
  rtb_booking_form.datepicker.set( 'disable', disable_dates );
 
126
  }
127
 
128
  if ( typeof rtb_pickadate.late_bookings === 'string' ) {
@@ -225,6 +227,8 @@ jQuery(document).ready(function ($) {
225
  selected_date_date = selected_date.getDate(),
226
  current_date = new Date();
227
 
 
 
228
  // Declaring the first element true inverts the timepicker settings. All
229
  // times subsequently declared are valid. Any time that doesn't fall
230
  // within those declarations is invalid.
@@ -268,57 +272,79 @@ jQuery(document).ready(function ($) {
268
  else {
269
  // Check if this date is an exception to the rules
270
  if ( typeof rtb_pickadate.schedule_closed !== 'undefined' ) {
271
-
272
  var excp_date = [];
273
  var excp_start_date = [];
274
  var excp_start_time = [];
275
  var excp_end_date = [];
276
  var excp_end_time = [];
277
  for ( var closed_key in rtb_pickadate.schedule_closed ) {
278
-
279
- excp_date = new Date( rtb_pickadate.schedule_closed[closed_key].date );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
280
  if ( excp_date.getFullYear() == selected_date_year &&
281
  excp_date.getMonth() == selected_date_month &&
282
  excp_date.getDate() == selected_date_date
283
  ) {
284
-
285
  // Closed all day
286
  if ( typeof rtb_pickadate.schedule_closed[closed_key].time == 'undefined' ) {
287
  rtb_booking_form.timepicker.set( 'disable', [ true ] );
288
-
289
  return;
290
  }
291
-
292
  if ( typeof rtb_pickadate.schedule_closed[closed_key].time.start !== 'undefined' ) {
293
  excp_start_date = new Date( '1 January 2000 ' + rtb_pickadate.schedule_closed[closed_key].time.start );
294
  excp_start_time = [ excp_start_date.getHours(), excp_start_date.getMinutes() ];
295
  } else {
296
  excp_start_time = [ 0, 0 ]; // Start of the day
297
  }
298
-
299
  if ( typeof rtb_pickadate.schedule_closed[closed_key].time.end !== 'undefined' ) {
300
  excp_end_date = new Date( '1 January 2000 ' + rtb_pickadate.schedule_closed[closed_key].time.end );
301
  excp_end_time = [ excp_end_date.getHours(), excp_end_date.getMinutes() ];
302
  } else {
303
  excp_end_time = [ 24, 0 ]; // End of the day
304
  }
305
-
306
  excp_start_time = rtb_booking_form.get_earliest_time( excp_start_time, selected_date, current_date );
307
-
308
  valid_times.push( { from: excp_start_time, to: excp_end_time, inverted: true } );
309
  }
310
  }
311
-
312
  excp_date = excp_start_date = excp_start_time = excp_end_date = excp_end_time = null;
313
-
314
  // Exit early if this date is an exception
315
  if ( valid_times.length > 1 ) {
316
  rtb_booking_form.timepicker.set( 'disable', valid_times );
317
-
318
  return;
319
  }
320
  }
321
-
322
  // Get any rules which apply to this weekday
323
  if ( typeof rtb_pickadate.schedule_open != 'undefined' ) {
324
 
107
  // Pass conditional configuration parameters
108
  if ( rtb_pickadate.disable_dates.length ) {
109
 
 
110
  var disable_dates = jQuery.extend( true, [], rtb_pickadate.disable_dates );
111
+
112
+ // Update weekday dates if start of the week has been modified
113
  if ( typeof rtb_booking_form.datepicker.component.settings.firstDay == 'number' ) {
114
  var weekday_num = 0;
115
  for ( var disable_key in rtb_pickadate.disable_dates ) {
124
  }
125
 
126
  rtb_booking_form.datepicker.set( 'disable', disable_dates );
127
+
128
  }
129
 
130
  if ( typeof rtb_pickadate.late_bookings === 'string' ) {
227
  selected_date_date = selected_date.getDate(),
228
  current_date = new Date();
229
 
230
+ selected_date.setHours(0, 0, 0), selected_date.setMilliseconds(100);
231
+
232
  // Declaring the first element true inverts the timepicker settings. All
233
  // times subsequently declared are valid. Any time that doesn't fall
234
  // within those declarations is invalid.
272
  else {
273
  // Check if this date is an exception to the rules
274
  if ( typeof rtb_pickadate.schedule_closed !== 'undefined' ) {
275
+
276
  var excp_date = [];
277
  var excp_start_date = [];
278
  var excp_start_time = [];
279
  var excp_end_date = [];
280
  var excp_end_time = [];
281
  for ( var closed_key in rtb_pickadate.schedule_closed ) {
282
+
283
+ let rule = rtb_pickadate.schedule_closed[closed_key];
284
+ if( rule.hasOwnProperty('date_range') ) {
285
+ let start = '' != rule.date_range.start ? new Date( rule.date_range.start ) : new Date();
286
+ start.setHours(0, 0, 0), start.setMilliseconds(0);
287
+ start = start.getTime();
288
+
289
+ let end = '' != rule.date_range.end ? new Date( rule.date_range.end ) : 9999999999999;
290
+ 'number' != typeof end && end.setHours(23, 59, 58) && end.setMilliseconds(0);
291
+ end = 'number' != typeof end ? end.getTime() : end;
292
+
293
+ if( start < selected_date.getTime() && selected_date.getTime() < end ) {
294
+ excp_date = selected_date;
295
+ }
296
+ else {
297
+ // Set anything to void this rule
298
+ excp_date = selected_date;
299
+ excp_date.setDate( selected_date_year + 1 );
300
+ }
301
+ }
302
+ else {
303
+ excp_date = new Date( rule.date );
304
+ }
305
+
306
  if ( excp_date.getFullYear() == selected_date_year &&
307
  excp_date.getMonth() == selected_date_month &&
308
  excp_date.getDate() == selected_date_date
309
  ) {
310
+
311
  // Closed all day
312
  if ( typeof rtb_pickadate.schedule_closed[closed_key].time == 'undefined' ) {
313
  rtb_booking_form.timepicker.set( 'disable', [ true ] );
314
+
315
  return;
316
  }
317
+
318
  if ( typeof rtb_pickadate.schedule_closed[closed_key].time.start !== 'undefined' ) {
319
  excp_start_date = new Date( '1 January 2000 ' + rtb_pickadate.schedule_closed[closed_key].time.start );
320
  excp_start_time = [ excp_start_date.getHours(), excp_start_date.getMinutes() ];
321
  } else {
322
  excp_start_time = [ 0, 0 ]; // Start of the day
323
  }
324
+
325
  if ( typeof rtb_pickadate.schedule_closed[closed_key].time.end !== 'undefined' ) {
326
  excp_end_date = new Date( '1 January 2000 ' + rtb_pickadate.schedule_closed[closed_key].time.end );
327
  excp_end_time = [ excp_end_date.getHours(), excp_end_date.getMinutes() ];
328
  } else {
329
  excp_end_time = [ 24, 0 ]; // End of the day
330
  }
331
+
332
  excp_start_time = rtb_booking_form.get_earliest_time( excp_start_time, selected_date, current_date );
333
+
334
  valid_times.push( { from: excp_start_time, to: excp_end_time, inverted: true } );
335
  }
336
  }
337
+
338
  excp_date = excp_start_date = excp_start_time = excp_end_date = excp_end_time = null;
339
+
340
  // Exit early if this date is an exception
341
  if ( valid_times.length > 1 ) {
342
  rtb_booking_form.timepicker.set( 'disable', valid_times );
343
+
344
  return;
345
  }
346
  }
347
+
348
  // Get any rules which apply to this weekday
349
  if ( typeof rtb_pickadate.schedule_open != 'undefined' ) {
350
 
includes/Ajax.class.php CHANGED
@@ -475,13 +475,34 @@ if ( !class_exists( 'rtbAJAX' ) ) {
475
  // Check if this date is an exception to the rules
476
  if ( $schedule_closed !== 'undefined' ) {
477
 
478
- foreach ( $schedule_closed as $closing ) {
479
- $time = strtotime( $closing['date'] );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
480
 
481
- if ( date( 'Y', $time ) == $this->year &&
482
- date( 'm', $time ) == $this->month &&
483
- date( 'd', $time ) == $this->day
484
- ) {
485
 
486
  // Closed all day
487
  if ( ! isset( $closing['time'] ) || $closing['time'] == 'undefined' ) {
@@ -489,15 +510,15 @@ if ( !class_exists( 'rtbAJAX' ) ) {
489
  }
490
 
491
  if ( $closing['time']['start'] !== 'undefined' ) {
492
- $open_time = strtotime( $closing['date'] . ' ' . $closing['time']['start'] );
493
  } else {
494
- $open_time = strtotime( $closing['date'] ); // Start of the day
495
  }
496
 
497
  if ( $closing['time']['end'] !== 'undefined' ) {
498
- $close_time = strtotime( $closing['date'] . ' ' . $closing['time']['end'] );
499
  } else {
500
- $close_time = strtotime( $closing['date'] . ' 23:59:59' ); // End of the day
501
  }
502
 
503
  $open_time = $this->get_earliest_time( $open_time );
475
  // Check if this date is an exception to the rules
476
  if ( $schedule_closed !== 'undefined' ) {
477
 
478
+ $selected_date = ( new DateTime() )->setTime(0, 0, 2)->setDate( $this->year, $this->month, $this->day );
479
+
480
+ foreach ( $schedule_closed as $ids => $closing ) {
481
+ if( array_key_exists( 'date_range', $closing ) ) {
482
+ $start = ! empty( $closing['date_range']['start'] )
483
+ ? new DateTime( $closing['date_range']['start'], wp_timezone() )
484
+ : new DateTime( 'now', wp_timezone() );
485
+ $start.setTime(0, 0);
486
+
487
+ $end = !empty( $closing['date_range']['end'] )
488
+ ? new DateTime( $closing['date_range']['end'], wp_timezone() )
489
+ : ( new DateTime( 'now', wp_timezone() ) )->add( new DateInterval( 'P10Y' ) );
490
+ $end.setTime(23, 59, 58);
491
+
492
+ if( $start < $selected_date && $selected_date < $end ) {
493
+ $exception = $selected_date;
494
+ }
495
+ else {
496
+ // Set anything to void this rule
497
+ $exception = $selected_date;
498
+ $exception.add( new DateInterval( 'P1Y' ) );
499
+ }
500
+ }
501
+ else {
502
+ $exception = ( new DateTime( $closing['date'], wp_timezone() ) )->setTime(0, 0, 2);
503
+ }
504
 
505
+ if ( $exception == $selected_date ) {
 
 
 
506
 
507
  // Closed all day
508
  if ( ! isset( $closing['time'] ) || $closing['time'] == 'undefined' ) {
510
  }
511
 
512
  if ( $closing['time']['start'] !== 'undefined' ) {
513
+ $open_time = ( new DateTime( $exception->format( 'Y-m-d' ) . ' ' . $closing['time']['start'], wp_timezone() ) )->format( 'U' );
514
  } else {
515
+ $open_time = ( new DateTime( $exception->format( 'Y-m-d' ), wp_timezone() ) )->format('U'); // Start of the day
516
  }
517
 
518
  if ( $closing['time']['end'] !== 'undefined' ) {
519
+ $close_time = ( new DateTime( $exception->format( 'Y-m-d' ) . ' ' . $closing['time']['end'], wp_timezone() ) )->format( 'U' );
520
  } else {
521
+ $close_time = ( new DateTime( $exception->format( 'Y-m-d' ) . ' 23:59:59', wp_timezone() ) )->format( 'U' ); // End of the day
522
  }
523
 
524
  $open_time = $this->get_earliest_time( $open_time );
includes/Booking.class.php CHANGED
@@ -319,7 +319,7 @@ class rtbBooking {
319
  // Check against valid open dates/times
320
  if ( is_object( $time ) && is_object( $date ) ) {
321
 
322
- $request = new DateTime( $date->format( 'Y-m-d' ) . ' ' . $time->format( 'H:i:s' ) );
323
 
324
  // Exempt Bookings Managers from the early and late bookings restrictions
325
  if ( !current_user_can( 'manage_bookings' ) ) {
@@ -377,25 +377,86 @@ class rtbBooking {
377
  }
378
 
379
  // Check against scheduling exception rules
380
- $exceptions = $rtb_controller->settings->get_setting( 'schedule-closed' );
381
- if ( empty( $this->validation_errors ) && !empty( $exceptions ) && !current_user_can( 'manage_bookings' ) ) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
382
  $exception_is_active = false;
383
- $datetime_is_valid = false;
384
- foreach( $exceptions as $exception ) {
385
- $excp_date = new DateTime( $exception['date'] );
386
- if ( $excp_date->format( 'Y-m-d' ) == $request->format( 'Y-m-d' ) ) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
387
  $exception_is_active = true;
388
 
389
  // Closed all day
390
- if ( empty( $exception['time'] ) ) {
391
- continue;
 
 
392
  }
393
 
394
- $excp_start_time = empty( $exception['time']['start'] ) ? $request : new DateTime( $exception['date'] . ' ' . $exception['time']['start'] );
395
- $excp_end_time = empty( $exception['time']['end'] ) ? $request : new DateTime( $exception['date'] . ' ' . $exception['time']['end'] );
396
-
397
- if ( $request->format( 'U' ) >= $excp_start_time->format( 'U' ) && $request->format( 'U' ) <= $excp_end_time->format( 'U' ) ) {
 
 
 
 
 
 
 
 
 
 
 
398
  $datetime_is_valid = true;
 
 
 
 
 
399
  break;
400
  }
401
  }
@@ -412,7 +473,14 @@ class rtbBooking {
412
 
413
  // Check against weekly scheduling rules
414
  $rules = $rtb_controller->settings->get_setting( 'schedule-open' );
415
- if ( empty( $exception_is_active ) && empty( $this->validation_errors ) && !empty( $rules ) && !current_user_can( 'manage_bookings' ) ) {
 
 
 
 
 
 
 
416
  $request_weekday = strtolower( $request->format( 'l' ) );
417
  $time_is_valid = null;
418
  $day_is_valid = null;
319
  // Check against valid open dates/times
320
  if ( is_object( $time ) && is_object( $date ) ) {
321
 
322
+ $request = new DateTime( $date->format( 'Y-m-d' ) . ' ' . $time->format( 'H:i:s' ), wp_timezone() );
323
 
324
  // Exempt Bookings Managers from the early and late bookings restrictions
325
  if ( !current_user_can( 'manage_bookings' ) ) {
377
  }
378
 
379
  // Check against scheduling exception rules
380
+ $exception_rules = $rtb_controller->settings->get_setting( 'schedule-closed' );
381
+ if (
382
+ empty( $this->validation_errors )
383
+ && !empty( $exception_rules )
384
+ && !current_user_can( 'manage_bookings' )
385
+ ) {
386
+
387
+ /**
388
+ * We are checking the booking againt exceptions whihc consists blacklist and whitelist rules
389
+ * - Any rule without time is a blacklist entry
390
+ * - Any rule with time is a modified white entry
391
+ * Thus consider the request as legit by default and terminate the loop when we hit first
392
+ * blacklisted rule which applies to the request
393
+ *
394
+ * $exception_is_active This prevent validation againt normal open rules
395
+ * $datetime_is_valid This is to throw error as soon as we encounter a blacklisted exception
396
+ */
397
  $exception_is_active = false;
398
+ $datetime_is_valid = true;
399
+
400
+ foreach( $exception_rules as $excp_rule ) {
401
+
402
+ if( array_key_exists( 'date_range', $excp_rule ) )
403
+ {
404
+ $start = ! empty( $excp_rule['date_range']['start'] )
405
+ ? new DateTime( $excp_rule['date_range']['start'], wp_timezone() )
406
+ : new DateTime( 'now', wp_timezone() );
407
+ $start->setTime(0, 0);
408
+
409
+ $end = !empty( $excp_rule['date_range']['end'] )
410
+ ? new DateTime( $excp_rule['date_range']['end'], wp_timezone() )
411
+ : ( new DateTime( 'now', wp_timezone() ) )->add( new DateInterval( 'P10Y' ) );
412
+ $end->setTime(23, 59, 58);
413
+
414
+ if( $start < $request && $request < $end ) {
415
+ $excp_rule_obj = $request;
416
+ }
417
+ else {
418
+ // Set anything to void this rule for following check
419
+ $excp_rule_obj = $request;
420
+ $excp_rule_obj->add( new DateInterval( 'P1Y' ) );
421
+ }
422
+ }
423
+ else {
424
+ $excp_rule_obj = ( new DateTime( $excp_rule['date'], wp_timezone() ) )->setTime(0, 0, 2);
425
+ }
426
+
427
+ if ( $excp_rule_obj->format( 'Y-m-d' ) == $request->format( 'Y-m-d' ) ) {
428
+ // This rule applies so far, thus consider this request under exception
429
+ // whielist or blacklist, yet to be determined
430
  $exception_is_active = true;
431
 
432
  // Closed all day
433
+ // Request denied, falls under blacklist, terminate loop
434
+ if ( empty( $excp_rule['time'] ) ) {
435
+ $datetime_is_valid = false;
436
+ break;
437
  }
438
 
439
+ $excp_start_time = empty( $excp_rule['time']['start'] )
440
+ ? $request
441
+ : new DateTime( $excp_rule_obj->format( 'Y-m-d' ) . ' ' . $excp_rule['time']['start'], wp_timezone() );
442
+
443
+ $excp_end_time = empty( $excp_rule['time']['end'] )
444
+ ? $request
445
+ : new DateTime( $excp_rule_obj->format( 'Y-m-d' ) . ' ' . $excp_rule['time']['end'], wp_timezone() );
446
+
447
+ if (
448
+ $excp_start_time->format( 'U' )
449
+ <= $request->format( 'U' ) && $request->format( 'U' ) <=
450
+ $excp_end_time->format( 'U' )
451
+ ) {
452
+ // If we reach here, means request is under modified whielist rules
453
+ // check next rule
454
  $datetime_is_valid = true;
455
+ }
456
+ else {
457
+ // else this request falls in blacklisted area based on modified whitelist rules.
458
+ // Request denied, terminate loop
459
+ $datetime_is_valid = false;
460
  break;
461
  }
462
  }
473
 
474
  // Check against weekly scheduling rules
475
  $rules = $rtb_controller->settings->get_setting( 'schedule-open' );
476
+
477
+ // Order of conditions in if matters to prevent unnacessary warnings
478
+ if (
479
+ empty( $this->validation_errors )
480
+ && !empty( $rules )
481
+ && !current_user_can( 'manage_bookings' )
482
+ && !$exception_is_active
483
+ ) {
484
  $request_weekday = strtolower( $request->format( 'l' ) );
485
  $time_is_valid = null;
486
  $day_is_valid = null;
includes/Cron.class.php CHANGED
@@ -81,7 +81,7 @@ class rtbCron {
81
  if ( $rtb_controller->settings->get_setting( 'late-notification-format' ) == 'text' ) {
82
  $notification = new rtbNotificationSMS( 'late_user', 'user' );
83
  }
84
- else {
85
  $notification = new rtbNotificationEmail( 'late_user', 'user' );
86
  }
87
 
@@ -125,7 +125,7 @@ class rtbCron {
125
  if ( $rtb_controller->settings->get_setting( 'reminder-notification-format' ) == 'text' ) {
126
  $notification = new rtbNotificationSMS( 'reminder', 'user' );
127
  }
128
- else {
129
  $notification = new rtbNotificationEmail( 'reminder', 'user' );
130
  }
131
 
81
  if ( $rtb_controller->settings->get_setting( 'late-notification-format' ) == 'text' ) {
82
  $notification = new rtbNotificationSMS( 'late_user', 'user' );
83
  }
84
+ elseif ( $rtb_controller->settings->get_setting( 'late-notification-format' ) == 'email' ) {
85
  $notification = new rtbNotificationEmail( 'late_user', 'user' );
86
  }
87
 
125
  if ( $rtb_controller->settings->get_setting( 'reminder-notification-format' ) == 'text' ) {
126
  $notification = new rtbNotificationSMS( 'reminder', 'user' );
127
  }
128
+ elseif ( $rtb_controller->settings->get_setting( 'reminder-notification-format' ) == 'email' ) {
129
  $notification = new rtbNotificationEmail( 'reminder', 'user' );
130
  }
131
 
includes/MailChimp.class.php CHANGED
@@ -376,7 +376,7 @@ class mcfrtbInit {
376
  return;
377
  }
378
 
379
- $booking = $_POST['booking'];
380
 
381
  global $rtb_controller;
382
 
@@ -401,8 +401,8 @@ class mcfrtbInit {
401
 
402
  // Pass in the user's IP for geolocation if available
403
  if ( !empty( $_SERVER['REMOTE_ADDR'] ) ) {
404
- $params['ip_signup'] = $_SERVER['REMOTE_ADDR'];
405
- $params['ip_opt'] = $_SERVER['REMOTE_ADDR'];
406
  }
407
 
408
  $params = apply_filters( 'mcfrtb_mailchimp_subscribe_args', $params, $booking );
376
  return;
377
  }
378
 
379
+ $booking = is_array( $_POST['booking'] ) ? array_map( 'sanitize_text_field', $_POST['booking'] ) : array();
380
 
381
  global $rtb_controller;
382
 
401
 
402
  // Pass in the user's IP for geolocation if available
403
  if ( !empty( $_SERVER['REMOTE_ADDR'] ) ) {
404
+ $params['ip_signup'] = sanitize_text_field( $_SERVER['REMOTE_ADDR'] );
405
+ $params['ip_opt'] = sanitize_text_field( $_SERVER['REMOTE_ADDR'] );
406
  }
407
 
408
  $params = apply_filters( 'mcfrtb_mailchimp_subscribe_args', $params, $booking );
includes/Notification.Email.class.php CHANGED
@@ -89,7 +89,11 @@ class rtbNotificationEmail extends rtbNotification {
89
  public function set_to_email() {
90
  global $rtb_controller;
91
 
92
- if ( $this->target == 'user' ) {
 
 
 
 
93
 
94
  $to_email = empty( $this->booking->email ) ? null : $this->booking->email;
95
  }
89
  public function set_to_email() {
90
  global $rtb_controller;
91
 
92
+ if ( ! empty( $this->to_email ) ) {
93
+
94
+ $to_email = $this->to_email;
95
+ }
96
+ elseif ( $this->target == 'user' ) {
97
 
98
  $to_email = empty( $this->booking->email ) ? null : $this->booking->email;
99
  }
includes/Settings.class.php CHANGED
@@ -758,7 +758,7 @@ If you were not the one to cancel this booking, please contact us.
758
  require_once( RTB_PLUGIN_DIR . '/lib/simple-admin-pages/simple-admin-pages.php' );
759
  $sap = sap_initialize_library(
760
  $args = array(
761
- 'version' => '2.6.3',
762
  'theme' => 'blue',
763
  'lib_url' => RTB_PLUGIN_URL . '/lib/simple-admin-pages/',
764
  )
@@ -801,13 +801,14 @@ If you were not the one to cancel this booking, please contact us.
801
  'weekly' => _x( 'Weekly', 'Format of a scheduling rule', 'restaurant-reservations' ),
802
  'monthly' => _x( 'Monthly', 'Format of a scheduling rule', 'restaurant-reservations' ),
803
  'date' => _x( 'Date', 'Format of a scheduling rule', 'restaurant-reservations' ),
 
804
  'weekdays' => _x( 'Days of the week', 'Label for selecting days of the week in a scheduling rule', 'restaurant-reservations' ),
805
  'month_weeks' => _x( 'Weeks of the month', 'Label for selecting weeks of the month in a scheduling rule', 'restaurant-reservations' ),
806
  'date_label' => _x( 'Date', 'Label to select a date for a scheduling rule', 'restaurant-reservations' ),
807
  'time_label' => _x( 'Time', 'Label to select a time slot for a scheduling rule', 'restaurant-reservations' ),
808
  'allday' => _x( 'All day', 'Label to set a scheduling rule to last all day', 'restaurant-reservations' ),
809
- 'start' => _x( 'Start', 'Label for the starting time of a scheduling rule', 'restaurant-reservations' ),
810
- 'end' => _x( 'End', 'Label for the ending time of a scheduling rule', 'restaurant-reservations' ),
811
  'set_time_prompt' => _x( 'All day long. Want to %sset a time slot%s?', 'Prompt displayed when a scheduling rule is set without any time restrictions', 'restaurant-reservations' ),
812
  'toggle' => _x( 'Open and close this rule', 'Toggle a scheduling rule open and closed', 'restaurant-reservations' ),
813
  'delete' => _x( 'Delete rule', 'Delete a scheduling rule', 'restaurant-reservations' ),
@@ -820,6 +821,8 @@ If you were not the one to cancel this booking, please contact us.
820
  'before' => _x( 'Ends at', 'Brief default description of a scheduling rule when an end time is set but no start time. If the end time is 6pm, it will read: Ends at 6pm', 'restaurant-reservations' ),
821
  'after' => _x( 'Starts at', 'Brief default description of a scheduling rule when a start time is set but no end time. If the start time is 6pm, it will read: Starts at 6pm', 'restaurant-reservations' ),
822
  'separator' => _x( '&mdash;', 'Separator between times of a scheduling rule', 'restaurant-reservations' ),
 
 
823
  );
824
 
825
  $sap->add_setting(
@@ -843,6 +846,7 @@ If you were not the one to cancel this booking, please contact us.
843
  'date_format' => $this->get_setting( 'date-format' ),
844
  'disable_weeks' => true,
845
  'disable_date' => true,
 
846
  'strings' => $scheduler_strings,
847
  )
848
  );
@@ -995,6 +999,8 @@ If you were not the one to cancel this booking, please contact us.
995
  'post_type' => 'page',
996
  'posts_per_page' => -1,
997
  'post_status' => 'publish',
 
 
998
  ),
999
  )
1000
  );
@@ -1321,6 +1327,8 @@ If you were not the one to cancel this booking, please contact us.
1321
  'post_type' => 'page',
1322
  'posts_per_page' => -1,
1323
  'post_status' => 'publish',
 
 
1324
  ),
1325
  )
1326
  );
@@ -2258,13 +2266,18 @@ If you were not the one to cancel this booking, please contact us.
2258
 
2259
  // Remove exceptions more than a week old
2260
  $week_ago = time() - 604800;
2261
- for( $i = 0; $i < count( $schedule_closed ); $i++ ) {
2262
- if ( strtotime( $schedule_closed[$i]['date'] ) > $week_ago ) {
 
 
 
 
 
2263
  break;
2264
  }
2265
  }
2266
- if ( $i ) {
2267
- $schedule_closed = array_slice( $schedule_closed, $i );
2268
  }
2269
 
2270
  $val['schedule-closed'] = $schedule_closed;
@@ -2280,10 +2293,21 @@ If you were not the one to cancel this booking, please contact us.
2280
  */
2281
  public function sort_by_date( $a, $b ) {
2282
 
2283
- $ad = empty( $a['date'] ) ? 0 : strtotime( $a['date'] );
2284
- $bd = empty( $b['date'] ) ? 0 : strtotime( $b['date'] );
2285
-
2286
- return $ad - $bd;
 
 
 
 
 
 
 
 
 
 
 
2287
  }
2288
 
2289
  /**
758
  require_once( RTB_PLUGIN_DIR . '/lib/simple-admin-pages/simple-admin-pages.php' );
759
  $sap = sap_initialize_library(
760
  $args = array(
761
+ 'version' => '2.6.5',
762
  'theme' => 'blue',
763
  'lib_url' => RTB_PLUGIN_URL . '/lib/simple-admin-pages/',
764
  )
801
  'weekly' => _x( 'Weekly', 'Format of a scheduling rule', 'restaurant-reservations' ),
802
  'monthly' => _x( 'Monthly', 'Format of a scheduling rule', 'restaurant-reservations' ),
803
  'date' => _x( 'Date', 'Format of a scheduling rule', 'restaurant-reservations' ),
804
+ 'date_range' => _x( 'Date Range', 'Format of a scheduling rule', 'restaurant-reservations' ),
805
  'weekdays' => _x( 'Days of the week', 'Label for selecting days of the week in a scheduling rule', 'restaurant-reservations' ),
806
  'month_weeks' => _x( 'Weeks of the month', 'Label for selecting weeks of the month in a scheduling rule', 'restaurant-reservations' ),
807
  'date_label' => _x( 'Date', 'Label to select a date for a scheduling rule', 'restaurant-reservations' ),
808
  'time_label' => _x( 'Time', 'Label to select a time slot for a scheduling rule', 'restaurant-reservations' ),
809
  'allday' => _x( 'All day', 'Label to set a scheduling rule to last all day', 'restaurant-reservations' ),
810
+ 'start' => _x( 'Start', 'Label for the starting date/time of a scheduling rule', 'restaurant-reservations' ),
811
+ 'end' => _x( 'End', 'Label for the ending date/time of a scheduling rule', 'restaurant-reservations' ),
812
  'set_time_prompt' => _x( 'All day long. Want to %sset a time slot%s?', 'Prompt displayed when a scheduling rule is set without any time restrictions', 'restaurant-reservations' ),
813
  'toggle' => _x( 'Open and close this rule', 'Toggle a scheduling rule open and closed', 'restaurant-reservations' ),
814
  'delete' => _x( 'Delete rule', 'Delete a scheduling rule', 'restaurant-reservations' ),
821
  'before' => _x( 'Ends at', 'Brief default description of a scheduling rule when an end time is set but no start time. If the end time is 6pm, it will read: Ends at 6pm', 'restaurant-reservations' ),
822
  'after' => _x( 'Starts at', 'Brief default description of a scheduling rule when a start time is set but no end time. If the start time is 6pm, it will read: Starts at 6pm', 'restaurant-reservations' ),
823
  'separator' => _x( '&mdash;', 'Separator between times of a scheduling rule', 'restaurant-reservations' ),
824
+ 'date_range_from_today' => _x( 'From Today', 'When Date range start date is not set', 'restaurant-reservations' ),
825
+ 'date_range_upto_indefinite' => _x( 'Upto Indefinite', 'When Date range end date is not set', 'restaurant-reservations' ),
826
  );
827
 
828
  $sap->add_setting(
846
  'date_format' => $this->get_setting( 'date-format' ),
847
  'disable_weeks' => true,
848
  'disable_date' => true,
849
+ 'disable_date_range' => true,
850
  'strings' => $scheduler_strings,
851
  )
852
  );
999
  'post_type' => 'page',
1000
  'posts_per_page' => -1,
1001
  'post_status' => 'publish',
1002
+ 'orderby' => 'title',
1003
+ 'order' => 'ASC',
1004
  ),
1005
  )
1006
  );
1327
  'post_type' => 'page',
1328
  'posts_per_page' => -1,
1329
  'post_status' => 'publish',
1330
+ 'orderby' => 'title',
1331
+ 'order' => 'ASC',
1332
  ),
1333
  )
1334
  );
2266
 
2267
  // Remove exceptions more than a week old
2268
  $week_ago = time() - 604800;
2269
+ foreach( $schedule_closed as $idx => $record ) {
2270
+ if( array_key_exists( 'date_range', $record ) && !empty( $record['date_range']['end'] ) )
2271
+ $record = new DateTime( $record['date_range']['end'], wp_timezone() );
2272
+ elseif( array_key_exists( 'date', $record ) )
2273
+ $record = new DateTime( $record['date'], wp_timezone() );
2274
+
2275
+ if ( is_object($record) && $record->format( 'U' ) > $week_ago ) {
2276
  break;
2277
  }
2278
  }
2279
+ if ( $idx ) {
2280
+ $schedule_closed = array_slice( $schedule_closed, $idx );
2281
  }
2282
 
2283
  $val['schedule-closed'] = $schedule_closed;
2293
  */
2294
  public function sort_by_date( $a, $b ) {
2295
 
2296
+ if( isset( $a['date'] ) )
2297
+ $a = ( new DateTime( $a['date'], wp_timezone() ) )->format( 'U' );
2298
+ elseif( isset( $a['date_range'] ) )
2299
+ $a = ( new DateTime( $a['date_range']['end'], wp_timezone() ) )->format( 'U' );
2300
+ else
2301
+ $a = 0;
2302
+
2303
+ if( isset( $b['date'] ) )
2304
+ $b = ( new DateTime( $b['date'], wp_timezone() ) )->format( 'U' );
2305
+ elseif( isset( $b['date_range'] ) )
2306
+ $b = ( new DateTime( $b['date_range']['end'], wp_timezone() ) )->format( 'U' );
2307
+ else
2308
+ $b = 0;
2309
+
2310
+ return $a - $b;
2311
  }
2312
 
2313
  /**
includes/template-functions.php CHANGED
@@ -569,15 +569,42 @@ function rtb_get_datepicker_rules( $location_slug = '' ) {
569
  if ( is_array( $schedule_closed ) ) {
570
  foreach ( $schedule_closed as $rule ) {
571
 
572
- // Disable exception dates that are closed all day
573
- if ( !empty( $rule['date'] ) && empty( $rule['time'] ) ) {
574
- $date = new DateTime( $rule['date'] );
575
- $disable_rules[] = array( $date->format( 'Y' ), ( $date->format( 'n' ) - 1 ), $date->format( 'j' ) );
576
-
577
- // Enable exception dates that have opening times
578
- } elseif ( !empty( $rule['date'] ) ) {
579
- $date = new DateTime( $rule['date'] );
580
- $disable_rules[] = array( $date->format( 'Y' ), ( $date->format( 'n' ) - 1 ), $date->format( 'j' ), 'inverted' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
581
  }
582
 
583
  }
569
  if ( is_array( $schedule_closed ) ) {
570
  foreach ( $schedule_closed as $rule ) {
571
 
572
+ $formatted_rule = null;
573
+
574
+ // Exception dates
575
+ if ( !empty( $rule['date'] ) ) {
576
+ $date = new DateTime( $rule['date'], wp_timezone() );
577
+ $formatted_rule = array( $date->format( 'Y' ), ( $date->format( 'n' ) - 1 ), $date->format( 'j' ) );
578
+ }
579
+ // Exception date ranges
580
+ // If ranged expcetion has time portion, we do not want it to be disabled
581
+ // and adding "inverted" will not work for range
582
+ elseif ( !empty( $rule['date_range'] ) && empty( $rule['time'] ) ) {
583
+ $start = !empty( $rule['date_range']['start'] )
584
+ ? new DateTime( $rule['date_range']['start'] , wp_timezone() )
585
+ : new DateTime( 'now', wp_timezone() );
586
+ // If no end date set, disable for 1 year
587
+ $end = !empty( $rule['date_range']['start'] )
588
+ ? new DateTime( $rule['date_range']['end'], wp_timezone() )
589
+ // Disable future dates for 10 years when no end date is given for exception
590
+ : (new DateTime( 'now', wp_timezone() ) )->add( new DateInterval( 'P10Y' ) );
591
+
592
+ $formatted_rule = array(
593
+ 'from' => array(
594
+ $start->format( 'Y' ), ( $start->format( 'n' ) - 1 ), $start->format( 'j' )
595
+ ),
596
+ 'to' => array(
597
+ $end->format( 'Y' ), ( $end->format( 'n' ) - 1 ), $end->format( 'j' )
598
+ )
599
+ );
600
+ }
601
+
602
+ if( null != $formatted_rule ) {
603
+ $disable_rules[] = empty( $rule['time'] )
604
+ // Disable exception date that are closed all day
605
+ ? $formatted_rule
606
+ // Enable exception dates that have opening/closing times
607
+ : array_merge( $formatted_rule, ['inverted'] );
608
  }
609
 
610
  }
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-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"
@@ -16,14 +16,14 @@ msgstr ""
16
  "X-Poedit-KeywordsList: __;_e\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
- #: assets/js/block-booking-form.js:8 includes/Settings.class.php:984
20
  #: includes/WP_Widget.BookingFormWidget.class.php:25
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 ""
29
 
@@ -40,19 +40,19 @@ msgstr ""
40
  msgid "Add New"
41
  msgstr ""
42
 
43
- #: includes/AdminBookings.class.php:170 restaurant-reservations.php:356
44
  msgid "Add Booking"
45
  msgstr ""
46
 
47
  #: includes/AdminBookings.class.php:173 includes/AdminBookings.class.php:214
48
  #: includes/AdminBookings.class.php:259 includes/Editor.class.php:448
49
- #: restaurant-reservations.php:412
50
  msgid "Cancel"
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
 
@@ -61,8 +61,8 @@ 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
 
@@ -107,8 +107,9 @@ msgid ""
107
  "email notifications."
108
  msgstr ""
109
 
110
- #: includes/AdminBookings.class.php:478 includes/AdminBookings.class.php:860
111
- #: includes/Editor.class.php:497
 
112
  #, php-format
113
  msgid "You have been logged out. Please %slogin again%s."
114
  msgstr ""
@@ -156,159 +157,163 @@ msgstr ""
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
 
175
- #: includes/Blocks.class.php:62
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."
@@ -316,13 +321,13 @@ msgstr ""
316
 
317
  #: includes/CustomPostTypes.class.php:50 includes/CustomPostTypes.class.php:52
318
  #: includes/CustomPostTypes.class.php:53
319
- #: includes/WP_List_Table.BookingsTable.class.php:122
320
- #: restaurant-reservations.php:318
321
  msgid "Bookings"
322
  msgstr ""
323
 
324
  #: includes/CustomPostTypes.class.php:51
325
- #: includes/WP_List_Table.BookingsTable.class.php:121
326
  msgid "Booking"
327
  msgstr ""
328
 
@@ -330,7 +335,7 @@ msgstr ""
330
  msgid "Add New Booking"
331
  msgstr ""
332
 
333
- #: includes/CustomPostTypes.class.php:56 restaurant-reservations.php:357
334
  msgid "Edit Booking"
335
  msgstr ""
336
 
@@ -423,28 +428,29 @@ 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
 
@@ -464,11 +470,12 @@ msgstr ""
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
 
@@ -534,7 +541,7 @@ msgid ""
534
  "custom fields will be removed. This action can not be undone."
535
  msgstr ""
536
 
537
- #: includes/Editor.class.php:114 restaurant-reservations.php:358
538
  msgid ""
539
  "An unspecified error occurred. Please try again. If the problem persists, "
540
  "try logging out and logging back in."
@@ -696,15 +703,16 @@ 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
 
@@ -716,26 +724,26 @@ msgstr ""
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
 
@@ -855,10 +863,17 @@ msgid ""
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
 
 
 
 
 
 
 
 
862
  #: includes/Import.class.php:67
863
  msgid "Spreadsheet Containing Bookings"
864
  msgstr ""
@@ -909,46 +924,46 @@ msgstr ""
909
  msgid "File must be .csv, .xls or .xlsx"
910
  msgstr ""
911
 
912
- #: includes/InstallationWalkthrough.class.php:138
913
  msgid "Never"
914
  msgstr ""
915
 
916
- #: includes/InstallationWalkthrough.class.php:139
917
  msgid "Every day"
918
  msgstr ""
919
 
920
- #: includes/InstallationWalkthrough.class.php:140
921
  #, php-format
922
  msgid "%s on the %s week of the month"
923
  msgstr ""
924
 
925
- #: includes/InstallationWalkthrough.class.php:141
926
  #, php-format
927
  msgid "%s week of the month"
928
  msgstr ""
929
 
930
- #: includes/InstallationWalkthrough.class.php:142
931
- #: includes/InstallationWalkthrough.class.php:331
932
  msgid "All day"
933
  msgstr ""
934
 
935
- #: includes/InstallationWalkthrough.class.php:143
936
  msgid "Ends at"
937
  msgstr ""
938
 
939
- #: includes/InstallationWalkthrough.class.php:144
940
  msgid "Starts at"
941
  msgstr ""
942
 
943
- #: includes/InstallationWalkthrough.class.php:145
944
  msgid "&mdash"
945
  msgstr ""
946
 
947
- #: includes/InstallationWalkthrough.class.php:164
948
  msgid "Welcome to the Five-Star Restaurant Reservations Plugin"
949
  msgstr ""
950
 
951
- #: includes/InstallationWalkthrough.class.php:165
952
  msgid ""
953
  "Thanks for choosing the Five-Star Restaurant Reservations! The following "
954
  "will help you get started with the setup of your reservations system by "
@@ -956,224 +971,225 @@ msgid ""
956
  "well as configuring a few key options."
957
  msgstr ""
958
 
959
- #: includes/InstallationWalkthrough.class.php:170
960
  msgid "Add a Reservations Page"
961
  msgstr ""
962
 
963
- #: includes/InstallationWalkthrough.class.php:172
964
  msgid ""
965
  "You can create a dedicated reservations booking page below, or skip this "
966
  "step and add your reservations to a page you've already created manually."
967
  msgstr ""
968
 
969
- #: includes/InstallationWalkthrough.class.php:174
970
  msgid "Page Title:"
971
  msgstr ""
972
 
973
- #: includes/InstallationWalkthrough.class.php:175
974
  msgid "Create Page"
975
  msgstr ""
976
 
977
- #: includes/InstallationWalkthrough.class.php:177
978
- #: includes/InstallationWalkthrough.class.php:196
979
  msgid "Next Step"
980
  msgstr ""
981
 
982
- #: includes/InstallationWalkthrough.class.php:183
983
  msgid " Create Booking Schedule"
984
  msgstr ""
985
 
986
- #: includes/InstallationWalkthrough.class.php:185
987
  msgid ""
988
  "Choose what times each week your restaurant is available to book "
989
  "reservations."
990
  msgstr ""
991
 
992
- #: includes/InstallationWalkthrough.class.php:190
993
- #: includes/Settings.class.php:655
994
  msgid "Add new scheduling rule"
995
  msgstr ""
996
 
997
- #: includes/InstallationWalkthrough.class.php:194
998
  msgid "Save Schedule"
999
  msgstr ""
1000
 
1001
- #: includes/InstallationWalkthrough.class.php:197
1002
- #: includes/InstallationWalkthrough.class.php:258
1003
  msgid "Previous Step"
1004
  msgstr ""
1005
 
1006
- #: includes/InstallationWalkthrough.class.php:203
1007
  msgid " Set Key Options"
1008
  msgstr ""
1009
 
1010
- #: includes/InstallationWalkthrough.class.php:205
1011
  msgid ""
1012
  "Set a min/max party size for bookings, choose how early and late bookings "
1013
  "can be made, and pick the time interval between different booking options."
1014
  msgstr ""
1015
 
1016
- #: includes/InstallationWalkthrough.class.php:207
1017
  msgid "Min Party Size:"
1018
  msgstr ""
1019
 
1020
- #: includes/InstallationWalkthrough.class.php:215
1021
  msgid "Max Party Size:"
1022
  msgstr ""
1023
 
1024
- #: includes/InstallationWalkthrough.class.php:217
1025
  msgid "Any Size"
1026
  msgstr ""
1027
 
1028
- #: includes/InstallationWalkthrough.class.php:224
1029
  msgid "Early Bookings:"
1030
  msgstr ""
1031
 
1032
- #: includes/InstallationWalkthrough.class.php:226
1033
  msgid "Any Time"
1034
  msgstr ""
1035
 
1036
- #: includes/InstallationWalkthrough.class.php:227
1037
- #: includes/Settings.class.php:733
1038
  msgid "From 1 day in advance"
1039
  msgstr ""
1040
 
1041
- #: includes/InstallationWalkthrough.class.php:228
1042
- #: includes/Settings.class.php:734
1043
  msgid "From 1 week in advance"
1044
  msgstr ""
1045
 
1046
- #: includes/InstallationWalkthrough.class.php:229
1047
- #: includes/Settings.class.php:735
1048
  msgid "From 2 weeks in advance"
1049
  msgstr ""
1050
 
1051
- #: includes/InstallationWalkthrough.class.php:230
1052
- #: includes/Settings.class.php:736
1053
  msgid "From 30 days in advance"
1054
  msgstr ""
1055
 
1056
- #: includes/InstallationWalkthrough.class.php:231
1057
- #: includes/Settings.class.php:738
1058
  msgid "From 90 days in advance"
1059
  msgstr ""
1060
 
1061
- #: includes/InstallationWalkthrough.class.php:235
1062
  msgid "Late Bookings:"
1063
  msgstr ""
1064
 
1065
- #: includes/InstallationWalkthrough.class.php:237
1066
- #: includes/Settings.class.php:753
1067
  msgid "Up to the last minute"
1068
  msgstr ""
1069
 
1070
- #: includes/InstallationWalkthrough.class.php:238
1071
- #: includes/Settings.class.php:754
1072
  msgid "At least 15 minutes in advance"
1073
  msgstr ""
1074
 
1075
- #: includes/InstallationWalkthrough.class.php:239
1076
- #: includes/Settings.class.php:755
1077
  msgid "At least 30 minutes in advance"
1078
  msgstr ""
1079
 
1080
- #: includes/InstallationWalkthrough.class.php:240
1081
- #: includes/Settings.class.php:756
1082
  msgid "At least 45 minutes in advance"
1083
  msgstr ""
1084
 
1085
- #: includes/InstallationWalkthrough.class.php:241
1086
- #: includes/Settings.class.php:757
1087
  msgid "At least 1 hour in advance"
1088
  msgstr ""
1089
 
1090
- #: includes/InstallationWalkthrough.class.php:242
1091
- #: includes/Settings.class.php:758
1092
  msgid "At least 4 hours in advance"
1093
  msgstr ""
1094
 
1095
- #: includes/InstallationWalkthrough.class.php:243
1096
- #: includes/Settings.class.php:759
1097
  msgid "At least 24 hours in advance"
1098
  msgstr ""
1099
 
1100
- #: includes/InstallationWalkthrough.class.php:244
1101
  msgid "Block same-day-bookings"
1102
  msgstr ""
1103
 
1104
- #: includes/InstallationWalkthrough.class.php:248
1105
  msgid "Time Interval:"
1106
  msgstr ""
1107
 
1108
- #: includes/InstallationWalkthrough.class.php:250
1109
- #: includes/Settings.class.php:797
1110
  msgid "Every 30 minutes"
1111
  msgstr ""
1112
 
1113
- #: includes/InstallationWalkthrough.class.php:251
1114
- #: includes/Settings.class.php:798
1115
  msgid "Every 15 minutes"
1116
  msgstr ""
1117
 
1118
- #: includes/InstallationWalkthrough.class.php:252
1119
- #: includes/Settings.class.php:799
1120
  msgid "Every 10 minutes"
1121
  msgstr ""
1122
 
1123
- #: includes/InstallationWalkthrough.class.php:253
1124
- #: includes/Settings.class.php:800
1125
  msgid "Every 5 minutes"
1126
  msgstr ""
1127
 
1128
- #: includes/InstallationWalkthrough.class.php:256
1129
  msgid "Save Options"
1130
  msgstr ""
1131
 
1132
- #: includes/InstallationWalkthrough.class.php:259
1133
  msgid "Finish"
1134
  msgstr ""
1135
 
1136
- #: includes/InstallationWalkthrough.class.php:265
1137
  msgid "Skip Setup"
1138
  msgstr ""
1139
 
1140
- #: includes/InstallationWalkthrough.class.php:299
1141
  msgid "Weekly"
1142
  msgstr ""
1143
 
1144
- #: includes/InstallationWalkthrough.class.php:306
1145
  msgid "Days of the week"
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
 
1153
- #: includes/InstallationWalkthrough.class.php:340
1154
  msgid "Start"
1155
  msgstr ""
1156
 
1157
- #: includes/InstallationWalkthrough.class.php:347
1158
  msgid "End"
1159
  msgstr ""
1160
 
1161
- #: includes/InstallationWalkthrough.class.php:355
1162
  #, php-format
1163
  msgid "All day long. Want to %sset a time slot%s?"
1164
  msgstr ""
1165
 
1166
- #: includes/InstallationWalkthrough.class.php:371
1167
- #: includes/InstallationWalkthrough.class.php:374
1168
  msgid "Open and close this rule"
1169
  msgstr ""
1170
 
1171
- #: includes/InstallationWalkthrough.class.php:377
1172
  msgid "Delete rule"
1173
  msgstr ""
1174
 
1175
- #: includes/InstallationWalkthrough.class.php:380
1176
- #: includes/Settings.class.php:669
1177
  msgid "Delete scheduling rule"
1178
  msgstr ""
1179
 
@@ -1245,310 +1261,469 @@ msgstr ""
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."
 
1275
  msgstr ""
1276
 
1277
- #: includes/MultipleLocations.class.php:360
1278
- msgid "Please select a location for your booking."
1279
  msgstr ""
1280
 
1281
- #: includes/MultipleLocations.class.php:367
1282
- msgid "The location you selected is not valid. Please select another location."
 
 
 
1283
  msgstr ""
1284
 
1285
- #: includes/MultipleLocations.class.php:476
1286
- msgid "Reservations"
1287
  msgstr ""
1288
 
1289
- #: includes/MultipleLocations.class.php:689
1290
- msgid "Location for which this booking was made."
 
 
 
 
1291
  msgstr ""
1292
 
1293
- #: includes/Notification.class.php:102
1294
  msgid "View pending bookings"
1295
  msgstr ""
1296
 
1297
- #: includes/Notification.class.php:103
1298
  msgid "Cancel booking"
1299
  msgstr ""
1300
 
1301
- #: includes/Notification.class.php:104
1302
  msgid "Confirm this booking"
1303
  msgstr ""
1304
 
1305
- #: includes/Notification.class.php:105
1306
  msgid "Reject this booking"
1307
  msgstr ""
1308
 
1309
- #: includes/ReviewAsk.class.php:55
1310
- msgid "Email Address"
1311
  msgstr ""
1312
 
1313
- #: includes/Settings.class.php:379
1314
- msgid "Sign up for our mailing list."
 
 
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
 
1322
- #: includes/Settings.class.php:639
1323
- msgid "Booking Schedule"
1324
  msgstr ""
1325
 
1326
- #: includes/Settings.class.php:648
1327
- msgid "Scheduling Options"
1328
  msgstr ""
1329
 
1330
- #: includes/Settings.class.php:686
1331
- msgid "Schedule"
1332
  msgstr ""
1333
 
1334
- #: includes/Settings.class.php:687
1335
- msgid "Define the weekly schedule during which you accept bookings."
1336
  msgstr ""
1337
 
1338
- #: includes/Settings.class.php:712
1339
- msgid "Exceptions"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1340
  msgstr ""
1341
 
1342
- #: includes/Settings.class.php:713
1343
  msgid ""
1344
- "Define special opening hours for holidays, events or other needs. Leave the "
1345
- "time empty if you're closed all day."
1346
  msgstr ""
1347
 
1348
- #: includes/Settings.class.php:728
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1349
  msgid "Early Bookings"
1350
  msgstr ""
1351
 
1352
- #: includes/Settings.class.php:729
1353
  msgid ""
1354
  "Select how early customers can make their booking. (Administrators and "
1355
  "Booking Managers are not restricted by this setting.)"
1356
  msgstr ""
1357
 
1358
- #: includes/Settings.class.php:732
1359
  msgid "Any time"
1360
  msgstr ""
1361
 
1362
- #: includes/Settings.class.php:737
1363
  msgid "From 60 days in advance"
1364
  msgstr ""
1365
 
1366
- #: includes/Settings.class.php:749
1367
  msgid "Late Bookings"
1368
  msgstr ""
1369
 
1370
- #: includes/Settings.class.php:750
1371
  msgid ""
1372
  "Select how late customers can make their booking. (Administrators and "
1373
  "Booking Managers are not restricted by this setting.)"
1374
  msgstr ""
1375
 
1376
- #: includes/Settings.class.php:760
1377
  msgid "Block same-day bookings"
1378
  msgstr ""
1379
 
1380
- #: includes/Settings.class.php:772
1381
  msgid "Date Pre-selection"
1382
  msgstr ""
1383
 
1384
- #: includes/Settings.class.php:773
1385
  msgid ""
1386
  "When the booking form is loaded, should it automatically attempt to select a "
1387
  "valid date?"
1388
  msgstr ""
1389
 
1390
- #: includes/Settings.class.php:776
1391
  msgid "Select today if valid"
1392
  msgstr ""
1393
 
1394
- #: includes/Settings.class.php:777
1395
  msgid "Select today or next valid date"
1396
  msgstr ""
1397
 
1398
- #: includes/Settings.class.php:778
1399
  msgid "Leave empty"
1400
  msgstr ""
1401
 
1402
- #: includes/Settings.class.php:789
1403
  msgid "Time Interval"
1404
  msgstr ""
1405
 
1406
- #: includes/Settings.class.php:790
1407
  msgid "Select the number of minutes between each available time."
1408
  msgstr ""
1409
 
1410
- #: includes/Settings.class.php:793
1411
  msgid "Every 180 minutes"
1412
  msgstr ""
1413
 
1414
- #: includes/Settings.class.php:794
1415
  msgid "Every 120 minutes"
1416
  msgstr ""
1417
 
1418
- #: includes/Settings.class.php:795
1419
  msgid "Every 90 minutes"
1420
  msgstr ""
1421
 
1422
- #: includes/Settings.class.php:796
1423
  msgid "Every 60 minutes"
1424
  msgstr ""
1425
 
1426
- #: includes/Settings.class.php:811
1427
  msgid "Week Starts On"
1428
  msgstr ""
1429
 
1430
- #: includes/Settings.class.php:812
1431
  msgid "Select the first day of the week"
1432
  msgstr ""
1433
 
1434
- #: includes/Settings.class.php:815
1435
  msgid "Sunday"
1436
  msgstr ""
1437
 
1438
- #: includes/Settings.class.php:816
1439
  msgid "Monday"
1440
  msgstr ""
1441
 
1442
- #: includes/Settings.class.php:825
1443
  msgid "Basic"
1444
  msgstr ""
1445
 
1446
- #: includes/Settings.class.php:834 includes/Settings.class.php:1579
1447
- #: includes/Settings.class.php:2078
1448
  msgid "General"
1449
  msgstr ""
1450
 
1451
- #: includes/Settings.class.php:845
1452
  msgid "Booking Page"
1453
  msgstr ""
1454
 
1455
- #: includes/Settings.class.php:846
1456
  msgid ""
1457
  "Select a page on your site to automatically display the booking form and "
1458
  "confirmation message."
1459
  msgstr ""
1460
 
1461
- #: includes/Settings.class.php:862
1462
  msgid "Min Party Size"
1463
  msgstr ""
1464
 
1465
- #: includes/Settings.class.php:863
1466
  msgid "Set a minimum allowed party size for bookings."
1467
  msgstr ""
1468
 
1469
- #: includes/Settings.class.php:875
1470
  msgid "Max Party Size"
1471
  msgstr ""
1472
 
1473
- #: includes/Settings.class.php:876
1474
  msgid "Set a maximum allowed party size for bookings."
1475
  msgstr ""
1476
 
1477
- #: includes/Settings.class.php:888
1478
  msgid "Automatically Confirm Below Party Size"
1479
  msgstr ""
1480
 
1481
- #: includes/Settings.class.php:889
1482
  msgid ""
1483
  "Set a maximum party size below which all bookings will be automatically "
1484
  "confirmed."
1485
  msgstr ""
1486
 
1487
- #: includes/Settings.class.php:902
1488
  msgid "Allow Cancellations"
1489
  msgstr ""
1490
 
1491
- #: includes/Settings.class.php:903
1492
  msgid ""
1493
  "Adds a cancellation option to your booking form, so that customers are able "
1494
  "to cancel their reservations."
1495
  msgstr ""
1496
 
1497
- #: includes/Settings.class.php:913
1498
  msgid "Require Phone"
1499
  msgstr ""
1500
 
1501
- #: includes/Settings.class.php:914
1502
  msgid "Don't accept booking requests without a phone number."
1503
  msgstr ""
1504
 
1505
- #: includes/Settings.class.php:929
1506
  msgid "Pending Confirmation Message"
1507
  msgstr ""
1508
 
1509
- #: includes/Settings.class.php:930
1510
  msgid ""
1511
  "Enter the message to display when a booking request is made and is set to "
1512
  "pending confirmation."
1513
  msgstr ""
1514
 
1515
- #: includes/Settings.class.php:941
1516
  msgid "Confirmed Booking Message"
1517
  msgstr ""
1518
 
1519
- #: includes/Settings.class.php:942
1520
  msgid ""
1521
  "Enter the message to display when a booking is made that has been "
1522
  "automatically confirmed."
1523
  msgstr ""
1524
 
1525
- #: includes/Settings.class.php:953
1526
  msgid "Pending Redirect Page"
1527
  msgstr ""
1528
 
1529
- #: includes/Settings.class.php:954
1530
  msgid ""
1531
  "Input the URL of the page you want the booking form to redirect to after a "
1532
  "reservation is made that is set to pending. This overrides the \"Pending "
1533
  "Confirmation Message\" text/option."
1534
  msgstr ""
1535
 
1536
- #: includes/Settings.class.php:964
1537
  msgid "Confirmed Redirect Page"
1538
  msgstr ""
1539
 
1540
- #: includes/Settings.class.php:965
1541
  msgid ""
1542
  "Input the URL of the page you want the booking form to redirect to after a "
1543
  "reservation is made that is automatically confirmed. This overrides the "
1544
  "\"Confirmed Booking Message\" text/option."
1545
  msgstr ""
1546
 
1547
- #: includes/Settings.class.php:975
1548
  msgid "Cancellation Redirect Page"
1549
  msgstr ""
1550
 
1551
- #: includes/Settings.class.php:976
1552
  msgid ""
1553
  "Input the URL of the page you want the cancellation form to redirect to when "
1554
  "someone cancels their reservation. Only applicable if the \"Allow "
@@ -1556,11 +1731,11 @@ msgid ""
1556
  "success message instead of redirecting."
1557
  msgstr ""
1558
 
1559
- #: includes/Settings.class.php:995
1560
  msgid "Date Format"
1561
  msgstr ""
1562
 
1563
- #: includes/Settings.class.php:996
1564
  #, php-format
1565
  msgid ""
1566
  "Define how the date is formatted on the booking form. %sFormatting rules%s. "
@@ -1568,11 +1743,11 @@ msgid ""
1568
  "in notification messages, modify your general %sWordPress Settings%s."
1569
  msgstr ""
1570
 
1571
- #: includes/Settings.class.php:1007
1572
  msgid "Time Format"
1573
  msgstr ""
1574
 
1575
- #: includes/Settings.class.php:1008
1576
  #, php-format
1577
  msgid ""
1578
  "Define how the time is formatted on the booking form. %sFormatting rules%s. "
@@ -1580,35 +1755,56 @@ msgid ""
1580
  "in notification messages, modify your general %sWordPress Settings%s."
1581
  msgstr ""
1582
 
1583
- #: includes/Settings.class.php:1021
 
 
 
 
 
 
 
 
 
 
1584
  msgid "Language"
1585
  msgstr ""
1586
 
1587
- #: includes/Settings.class.php:1022
1588
  msgid ""
1589
  "Select a language to use for the booking form datepicker if it is different "
1590
  "than your WordPress language setting."
1591
  msgstr ""
1592
 
1593
- #: includes/Settings.class.php:1032
 
 
 
 
 
 
 
 
 
 
 
1594
  msgid "Security"
1595
  msgstr ""
1596
 
1597
- #: includes/Settings.class.php:1043
1598
  msgid "Banned Email Addresses"
1599
  msgstr ""
1600
 
1601
- #: includes/Settings.class.php:1044
1602
  msgid ""
1603
  "You can block bookings from specific email addresses. Enter each email "
1604
  "address on a separate line."
1605
  msgstr ""
1606
 
1607
- #: includes/Settings.class.php:1054
1608
  msgid "Banned IP Addresses"
1609
  msgstr ""
1610
 
1611
- #: includes/Settings.class.php:1055
1612
  msgid ""
1613
  "You can block bookings from specific IP addresses. Enter each IP address on "
1614
  "a separate line. Be aware that many internet providers rotate their IP "
@@ -1618,15 +1814,15 @@ msgid ""
1618
  "block several people."
1619
  msgstr ""
1620
 
1621
- #: includes/Settings.class.php:1063
1622
  msgid "Captcha"
1623
  msgstr ""
1624
 
1625
- #: includes/Settings.class.php:1074
1626
  msgid "Enable Google reCAPTCHA v2"
1627
  msgstr ""
1628
 
1629
- #: includes/Settings.class.php:1075
1630
  #, php-format
1631
  msgid ""
1632
  "Adds Google's reCAPTCHA code to your form, to verify guests before they can "
@@ -1634,1313 +1830,601 @@ msgid ""
1634
  "configure this feature."
1635
  msgstr ""
1636
 
1637
- #: includes/Settings.class.php:1085
1638
  msgid "Google Site Key"
1639
  msgstr ""
1640
 
1641
- #: includes/Settings.class.php:1086
1642
  msgid "The site key provided to you by Google"
1643
  msgstr ""
1644
 
1645
- #: includes/Settings.class.php:1096
1646
  msgid "Google Secret Key"
1647
  msgstr ""
1648
 
1649
- #: includes/Settings.class.php:1097
1650
  msgid "The secret key provided to you by Google"
1651
  msgstr ""
1652
 
1653
- #: includes/Settings.class.php:1105
1654
  msgid "Privacy"
1655
  msgstr ""
1656
 
1657
- #: includes/Settings.class.php:1116
1658
  msgid "Disable IP Capture"
1659
  msgstr ""
1660
 
1661
- #: includes/Settings.class.php:1117
1662
  msgid ""
1663
  "This turns off the feature that captures the IP address of the device making "
1664
  "the booking."
1665
  msgstr ""
1666
 
1667
- #: includes/Settings.class.php:1127
1668
  msgid "Require Consent"
1669
  msgstr ""
1670
 
1671
- #: includes/Settings.class.php:1128
1672
  msgid ""
1673
  "Require customers to consent to the collection of their details when making "
1674
  "a booking. This may be required to comply with privacy laws in your country."
1675
  msgstr ""
1676
 
1677
- #: includes/Settings.class.php:1138
1678
  msgid "Consent Statement"
1679
  msgstr ""
1680
 
1681
- #: includes/Settings.class.php:1139
1682
  msgid ""
1683
  "Enter the statement you would like customers to confirm when making a "
1684
  "booking."
1685
  msgstr ""
1686
 
1687
- #: includes/Settings.class.php:1149
1688
  msgid "Privacy Statement Page"
1689
  msgstr ""
1690
 
1691
- #: includes/Settings.class.php:1150
1692
  msgid ""
1693
  "Select a page on your site which contains a privacy statement. If selected, "
1694
  "it will be linked to in your consent statement."
1695
  msgstr ""
1696
 
1697
- #: includes/Settings.class.php:1173 includes/Settings.class.php:2026
1698
- #: includes/Settings.class.php:2036
1699
- msgid "Advanced"
1700
  msgstr ""
1701
 
1702
- #: includes/Settings.class.php:1183
1703
- msgid "View Bookings Form"
 
 
1704
  msgstr ""
1705
 
1706
- #: includes/Settings.class.php:1195
1707
- msgid "View Bookings Page"
1708
  msgstr ""
1709
 
1710
- #: includes/Settings.class.php:1196
1711
- msgid ""
1712
- "Select a page on your site to automatically display the view bookings form. "
1713
- "Useful for restaurant staff checking guests in as they arrive."
1714
  msgstr ""
1715
 
1716
- #: includes/Settings.class.php:1211
1717
- msgid "Keep View Bookings Private"
1718
  msgstr ""
1719
 
1720
- #: includes/Settings.class.php:1212
1721
  msgid ""
1722
- "Only display the view bookings form to visitors who are logged in to your "
1723
- "site."
1724
  msgstr ""
1725
 
1726
- #: includes/Settings.class.php:1221
1727
- msgid "Check In Arrivals"
1728
  msgstr ""
1729
 
1730
- #: includes/Settings.class.php:1222
1731
  msgid ""
1732
- "Allow guests to be checked in as they arrive. This is necessary for late "
1733
- "arrival reminders to work correctly."
1734
  msgstr ""
1735
 
1736
- #: includes/Settings.class.php:1240
1737
- msgid "MailChimp"
1738
  msgstr ""
1739
 
1740
- #: includes/Settings.class.php:1254
1741
- msgid "MailChimp API Key"
 
 
1742
  msgstr ""
1743
 
1744
- #: includes/Settings.class.php:1255
1745
- msgid "Retrieve or create an API key for your MailChimp account"
1746
  msgstr ""
1747
 
1748
- #: includes/Settings.class.php:1256
1749
- msgid "API Key"
 
 
1750
  msgstr ""
1751
 
1752
- #: includes/Settings.class.php:1257
1753
- msgid "Connected"
1754
  msgstr ""
1755
 
1756
- #: includes/Settings.class.php:1258
1757
- msgid "Invalid Key"
 
 
1758
  msgstr ""
1759
 
1760
- #: includes/Settings.class.php:1272
1761
- msgid "Subscribe List"
1762
  msgstr ""
1763
 
1764
- #: includes/Settings.class.php:1273
1765
- msgid "New booking requests will be subscribed to this list."
 
1766
  msgstr ""
1767
 
1768
- #: includes/Settings.class.php:1275
1769
- msgid "Loading..."
1770
  msgstr ""
1771
 
1772
- #: includes/Settings.class.php:1286
1773
- msgid "Opt-in"
1774
  msgstr ""
1775
 
1776
- #: includes/Settings.class.php:1287
1777
- msgid ""
1778
- "Whether to show an option for users to opt-in to being signed up for your "
1779
- "mailing list when making a reservation."
1780
  msgstr ""
1781
 
1782
- #: includes/Settings.class.php:1290
1783
- msgid "Show opt-in prompt"
 
 
1784
  msgstr ""
1785
 
1786
- #: includes/Settings.class.php:1291
1787
- msgid "Show pre-checked opt-in prompt"
1788
  msgstr ""
1789
 
1790
- #: includes/Settings.class.php:1292
1791
- msgid "Don't show opt-in prompt"
 
 
 
1792
  msgstr ""
1793
 
1794
- #: includes/Settings.class.php:1304
1795
- msgid "Opt-in Prompt"
1796
- msgstr ""
1797
-
1798
- #: includes/Settings.class.php:1305
1799
- msgid "Text to display with the opt-in option."
1800
- msgstr ""
1801
-
1802
- #: includes/Settings.class.php:1325
1803
- msgid "Seat Restrictions"
1804
- msgstr ""
1805
-
1806
- #: includes/Settings.class.php:1337
1807
- msgid "Dining Block Length"
1808
- msgstr ""
1809
-
1810
- #: includes/Settings.class.php:1338
1811
- msgid ""
1812
- "How long does a meal generally last? This setting affects a how long a slot "
1813
- "and/or seat unavailable for after someone makes a reservation."
1814
- msgstr ""
1815
-
1816
- #: includes/Settings.class.php:1354
1817
- msgid "Enable Max Reservations"
1818
- msgstr ""
1819
-
1820
- #: includes/Settings.class.php:1355
1821
- msgid ""
1822
- "Only allow a certain number of reservations (set below) during a specific "
1823
- "time. Once the maximum number of reservations has been reached, visitors "
1824
- "will only be able to select other reservation times."
1825
- msgstr ""
1826
-
1827
- #: includes/Settings.class.php:1365
1828
- msgid "Max Reservations"
1829
- msgstr ""
1830
-
1831
- #: includes/Settings.class.php:1366
1832
- msgid ""
1833
- "How many reservations, if enabled above, should be allowed at the same time? "
1834
- "Set dining block length setting above to change how long a meal typically "
1835
- "lasts."
1836
- msgstr ""
1837
-
1838
- #: includes/Settings.class.php:1379
1839
- msgid "Max People"
1840
- msgstr ""
1841
-
1842
- #: includes/Settings.class.php:1380
1843
- msgid ""
1844
- "How many people, if enabled above, should be allowed to be present in the "
1845
- "restaurant at the same time? Set dining block length setting above to change "
1846
- "how long a meal typically lasts. May not work correctly if max reservations "
1847
- "is set."
1848
- msgstr ""
1849
-
1850
- #: includes/Settings.class.php:1393
1851
- msgid "Automatically Confirm Below Reservation Number"
1852
- msgstr ""
1853
-
1854
- #: includes/Settings.class.php:1394
1855
- msgid ""
1856
- "Set a maximum number of reservations at one time below which all bookings "
1857
- "will be automatically confirmed."
1858
- msgstr ""
1859
-
1860
- #: includes/Settings.class.php:1407
1861
- msgid "Automatically Confirm Below Seats Number"
1862
- msgstr ""
1863
-
1864
- #: includes/Settings.class.php:1408
1865
- msgid ""
1866
- "Set a maximum number of seats at one time below which all bookings will be "
1867
- "automatically confirmed."
1868
- msgstr ""
1869
-
1870
- #: includes/Settings.class.php:1430
1871
- msgid "Table Restrictions"
1872
- msgstr ""
1873
-
1874
- #: includes/Settings.class.php:1442
1875
- msgid "Enable Table Selection"
1876
- msgstr ""
1877
-
1878
- #: includes/Settings.class.php:1443
1879
- msgid ""
1880
- "Allow guests to select a table that they'd like to sit at during their visit."
1881
- msgstr ""
1882
-
1883
- #: includes/Settings.class.php:1452
1884
- msgid "Require Table Selection"
1885
- msgstr ""
1886
-
1887
- #: includes/Settings.class.php:1453
1888
- msgid ""
1889
- "Don't allow a reservation to be made without a valid table selected, even if "
1890
- "all other booking criteria are met (acceptable party size, below max "
1891
- "reservations/seats)."
1892
- msgstr ""
1893
-
1894
- #: includes/Settings.class.php:1462
1895
- msgid "Sections"
1896
- msgstr ""
1897
-
1898
- #: includes/Settings.class.php:1463
1899
- msgid "Add Section"
1900
- msgstr ""
1901
-
1902
- #: includes/Settings.class.php:1465
1903
- msgid ""
1904
- "Use this area to sections for your tables. These can help your guests to "
1905
- "book a table in their preferred area."
1906
- msgstr ""
1907
-
1908
- #: includes/Settings.class.php:1469
1909
- msgid "Section ID"
1910
- msgstr ""
1911
-
1912
- #: includes/Settings.class.php:1474
1913
- msgid "Section Name"
1914
- msgstr ""
1915
-
1916
- #: includes/Settings.class.php:1479
1917
- msgid "Description"
1918
- msgstr ""
1919
-
1920
- #: includes/Settings.class.php:1496
1921
- msgid "Tables"
1922
- msgstr ""
1923
-
1924
- #: includes/Settings.class.php:1497
1925
- msgid "Add Table"
1926
- msgstr ""
1927
-
1928
- #: includes/Settings.class.php:1498
1929
- msgid ""
1930
- "Use this area to create tables that can each be customized. This information "
1931
- "will be used to let customers select a table that meets their requirements "
1932
- "(party size, date/time available)."
1933
- msgstr ""
1934
-
1935
- #: includes/Settings.class.php:1502
1936
- msgid "Table Number"
1937
- msgstr ""
1938
-
1939
- #: includes/Settings.class.php:1507
1940
- msgid "Min. People"
1941
- msgstr ""
1942
-
1943
- #: includes/Settings.class.php:1512
1944
- msgid "Max. People"
1945
- msgstr ""
1946
-
1947
- #: includes/Settings.class.php:1517
1948
- msgid "Section"
1949
- msgstr ""
1950
-
1951
- #: includes/Settings.class.php:1523
1952
- msgid "Combines With"
1953
- msgstr ""
1954
-
1955
- #: includes/Settings.class.php:1543
1956
- msgid "Notifications"
1957
- msgstr ""
1958
-
1959
- #: includes/Settings.class.php:1553
1960
- msgid "Email Templates"
1961
- msgstr ""
1962
-
1963
- #: includes/Settings.class.php:1569
1964
- msgid "Email Designer"
1965
- msgstr ""
1966
-
1967
- #: includes/Settings.class.php:1570
1968
- msgid "Launch Email Designer"
1969
- msgstr ""
1970
-
1971
- #: includes/Settings.class.php:1590
1972
- msgid "Reply-To Name"
1973
- msgstr ""
1974
-
1975
- #: includes/Settings.class.php:1591
1976
- msgid ""
1977
- "The name which should appear in the Reply-To field of a user notification "
1978
- "email"
1979
- msgstr ""
1980
-
1981
- #: includes/Settings.class.php:1602
1982
- msgid "Reply-To Email Address"
1983
- msgstr ""
1984
-
1985
- #: includes/Settings.class.php:1603
1986
- msgid ""
1987
- "The email address which should appear in the Reply-To field of a user "
1988
- "notification email."
1989
- msgstr ""
1990
-
1991
- #: includes/Settings.class.php:1614
1992
- msgid "Admin Notification"
1993
- msgstr ""
1994
-
1995
- #: includes/Settings.class.php:1615
1996
- msgid ""
1997
- "Send an email notification to an administrator when a new booking is "
1998
- "requested."
1999
- msgstr ""
2000
-
2001
- #: includes/Settings.class.php:1625
2002
- msgid "Admin New Confirmed Notification"
2003
- msgstr ""
2004
-
2005
- #: includes/Settings.class.php:1626
2006
- msgid ""
2007
- "Send an email notification to an administrator when a new confirmed booking "
2008
- "is made."
2009
- msgstr ""
2010
-
2011
- #: includes/Settings.class.php:1636
2012
- msgid "Admin Cancellation Notification"
2013
- msgstr ""
2014
-
2015
- #: includes/Settings.class.php:1637
2016
- msgid ""
2017
- "Send an email notification to an administrator when a booking is cancelled."
2018
- msgstr ""
2019
-
2020
- #: includes/Settings.class.php:1647
2021
- msgid "Admin Email Address"
2022
- msgstr ""
2023
-
2024
- #: includes/Settings.class.php:1648
2025
- msgid "The email address where admin notifications should be sent."
2026
- msgstr ""
2027
-
2028
- #: includes/Settings.class.php:1657
2029
- msgid "Notification Emails"
2030
- msgstr ""
2031
-
2032
- #: includes/Settings.class.php:1659
2033
- msgid ""
2034
- "Adjust the messages that are emailed to users and admins during the booking "
2035
- "process."
2036
- msgstr ""
2037
-
2038
- #: includes/Settings.class.php:1669
2039
- msgid "Template Tags"
2040
- msgstr ""
2041
-
2042
- #: includes/Settings.class.php:1671
2043
- msgid ""
2044
- "Use the following tags to automatically add booking information to the "
2045
- "emails. Tags labeled with an asterisk (*) can be used in the email subject "
2046
- "as well."
2047
- msgstr ""
2048
-
2049
- #: includes/Settings.class.php:1682
2050
  msgid "Admin Notification Subject (Pending Booking)"
2051
  msgstr ""
2052
 
2053
- #: includes/Settings.class.php:1683
2054
  msgid "The email subject for admin notifications."
2055
  msgstr ""
2056
 
2057
- #: includes/Settings.class.php:1694
2058
  msgid "Admin Notification Email (Pending Booking)"
2059
  msgstr ""
2060
 
2061
- #: includes/Settings.class.php:1695
2062
  msgid ""
2063
  "Enter the email an admin should receive when an initial booking request is "
2064
  "made."
2065
  msgstr ""
2066
 
2067
- #: includes/Settings.class.php:1706
2068
  msgid "Admin Notification Subject (Auto Confirmed Booking)"
2069
  msgstr ""
2070
 
2071
- #: includes/Settings.class.php:1707
2072
  msgid ""
2073
  "The email subject for admin notifications for automatically-confirmed "
2074
  "bookings."
2075
  msgstr ""
2076
 
2077
- #: includes/Settings.class.php:1718
2078
  msgid "Admin Notification Email (Auto Confirmed Booking)"
2079
  msgstr ""
2080
 
2081
- #: includes/Settings.class.php:1719
2082
  msgid ""
2083
  "Enter the email an admin should receive when an automatically-confirmed "
2084
  "booking is made."
2085
  msgstr ""
2086
 
2087
- #: includes/Settings.class.php:1730
2088
  msgid "Admin Booking Cancelled Subject"
2089
  msgstr ""
2090
 
2091
- #: includes/Settings.class.php:1731
2092
  msgid "The email subject for admin notifications when a booking is cancelled."
2093
  msgstr ""
2094
 
2095
- #: includes/Settings.class.php:1742
2096
  msgid "Admin Booking Cancelled Email"
2097
  msgstr ""
2098
 
2099
- #: includes/Settings.class.php:1743
2100
  msgid "Enter the email an admin should receive when a booking is cancelled."
2101
  msgstr ""
2102
 
2103
- #: includes/Settings.class.php:1754
2104
  msgid "New Request Email Subject"
2105
  msgstr ""
2106
 
2107
- #: includes/Settings.class.php:1755
2108
  msgid ""
2109
  "The email subject a user should receive when they make an initial booking "
2110
  "request."
2111
  msgstr ""
2112
 
2113
- #: includes/Settings.class.php:1766 includes/load-customizer.php:209
2114
  msgid "New Request Email"
2115
  msgstr ""
2116
 
2117
- #: includes/Settings.class.php:1767
2118
  msgid ""
2119
  "Enter the email a user should receive when they make an initial booking "
2120
  "request."
2121
  msgstr ""
2122
 
2123
- #: includes/Settings.class.php:1778
2124
  msgid "Confirmed Email Subject"
2125
  msgstr ""
2126
 
2127
- #: includes/Settings.class.php:1779
2128
  msgid ""
2129
  "The email subject a user should receive when their booking has been "
2130
  "confirmed."
2131
  msgstr ""
2132
 
2133
- #: includes/Settings.class.php:1790 includes/load-customizer.php:249
2134
  msgid "Confirmed Email"
2135
  msgstr ""
2136
 
2137
- #: includes/Settings.class.php:1791
2138
  msgid ""
2139
  "Enter the email a user should receive when their booking has been confirmed."
2140
  msgstr ""
2141
 
2142
- #: includes/Settings.class.php:1802
2143
  msgid "Rejected Email Subject"
2144
  msgstr ""
2145
 
2146
- #: includes/Settings.class.php:1803
2147
  msgid ""
2148
  "The email subject a user should receive when their booking has been rejected."
2149
  msgstr ""
2150
 
2151
- #: includes/Settings.class.php:1814 includes/load-customizer.php:289
2152
  msgid "Rejected Email"
2153
  msgstr ""
2154
 
2155
- #: includes/Settings.class.php:1815
2156
  msgid ""
2157
  "Enter the email a user should receive when their booking has been rejected."
2158
  msgstr ""
2159
 
2160
- #: includes/Settings.class.php:1826
2161
  msgid "Booking Cancelled Email Subject"
2162
  msgstr ""
2163
 
2164
- #: includes/Settings.class.php:1827
2165
  msgid ""
2166
  "The email subject a user should receive when they have cancelled their "
2167
  "booking."
2168
  msgstr ""
2169
 
2170
- #: includes/Settings.class.php:1838
2171
  msgid "Booking Cancelled Email"
2172
  msgstr ""
2173
 
2174
- #: includes/Settings.class.php:1839
2175
  msgid "Enter the email a user should receive when they cancel their booking."
2176
  msgstr ""
2177
 
2178
- #: includes/Settings.class.php:1850
2179
  msgid "Admin Update Subject"
2180
  msgstr ""
2181
 
2182
- #: includes/Settings.class.php:1851
2183
  #, php-format
2184
  msgid ""
2185
  "The email subject a user should receive when an admin sends them a custom "
2186
  "email message from the %sbookings panel%s."
2187
  msgstr ""
2188
 
2189
- #: includes/Settings.class.php:1871
2190
- msgid "Reservation Reminders"
2191
- msgstr ""
2192
-
2193
- #: includes/Settings.class.php:1873
2194
- msgid "Set up reservation and late arrival reminders."
2195
- msgstr ""
2196
-
2197
- #: includes/Settings.class.php:1885
2198
- msgid "Ultimate Plan Purchase Email"
2199
- msgstr ""
2200
-
2201
- #: includes/Settings.class.php:1886
2202
- msgid ""
2203
- "The email used to purchase your 'Ultimate' plan subscription. Used to verify "
2204
- "SMS requests are actually being sent from your site."
2205
- msgstr ""
2206
-
2207
- #: includes/Settings.class.php:1900
2208
- msgid "Country Code"
2209
- msgstr ""
2210
-
2211
- #: includes/Settings.class.php:1901
2212
- msgid ""
2213
- "What country code should be added to SMS reminders? If no country is "
2214
- "specified, phone numbers for reservations should start with +XXX (a plus "
2215
- "sign followed by the country code), followed by a space or dash, or else the "
2216
- "number the phone number will be assumed to be North American."
2217
- msgstr ""
2218
-
2219
- #: includes/Settings.class.php:1913
2220
- msgid "Reminder Format"
2221
- msgstr ""
2222
-
2223
- #: includes/Settings.class.php:1914
2224
- msgid ""
2225
- "Should reminders be sent via email or text (SMS) message. SMS requires a "
2226
- "positive credit balance on your account."
2227
- msgstr ""
2228
-
2229
- #: includes/Settings.class.php:1928
2230
- msgid "Late Notification Format"
2231
- msgstr ""
2232
-
2233
- #: includes/Settings.class.php:1929
2234
- msgid ""
2235
- "Should late notifications be sent via email or text (SMS) message. SMS "
2236
- "requires a positive credit balance on your account."
2237
- msgstr ""
2238
-
2239
- #: includes/Settings.class.php:1943
2240
- msgid "Reservation Reminder Before Time"
2241
- msgstr ""
2242
-
2243
- #: includes/Settings.class.php:1944
2244
- msgid ""
2245
- "How long before a reservation should a reminder email be sent? Leave blank "
2246
- "to not send a reservation reminder."
2247
- msgstr ""
2248
-
2249
- #: includes/Settings.class.php:1962
2250
- msgid "Reservation Reminder Email Subject"
2251
- msgstr ""
2252
-
2253
- #: includes/Settings.class.php:1963
2254
- msgid ""
2255
- "The email subject a user should receive as a reminder about their "
2256
- "reservation."
2257
- msgstr ""
2258
-
2259
- #: includes/Settings.class.php:1974
2260
- msgid "Reservation Reminder Email"
2261
- msgstr ""
2262
-
2263
- #: includes/Settings.class.php:1975
2264
- msgid ""
2265
- "Enter the email a user should receive as a reminder about their reservation."
2266
- msgstr ""
2267
-
2268
- #: includes/Settings.class.php:1986
2269
- msgid "Late for Reservation Time"
2270
- msgstr ""
2271
-
2272
- #: includes/Settings.class.php:1987
2273
- msgid ""
2274
- "How long after being late for a reservation should a late arrival email be "
2275
- "sent? Leave blank to not send a late arrival email."
2276
- msgstr ""
2277
-
2278
- #: includes/Settings.class.php:2004
2279
- msgid "Late for Reservation Email Subject"
2280
- msgstr ""
2281
-
2282
- #: includes/Settings.class.php:2005
2283
- msgid ""
2284
- "The email subject a user should receive when they are late for their "
2285
- "reservation."
2286
- msgstr ""
2287
-
2288
- #: includes/Settings.class.php:2016
2289
- msgid "Late for Reservation Email"
2290
- msgstr ""
2291
-
2292
- #: includes/Settings.class.php:2017
2293
- msgid ""
2294
- "Enter the email a user should receive when they are late for their "
2295
- "reservation."
2296
- msgstr ""
2297
-
2298
- #: includes/Settings.class.php:2027 includes/Settings.class.php:2037
2299
- msgid ""
2300
- "Modifying the settings below can prevent your emails from being delivered. "
2301
- "Do not make changes unless you know what you're doing."
2302
- msgstr ""
2303
-
2304
- #: includes/Settings.class.php:2048
2305
- msgid "FROM Email Address Header"
2306
- msgstr ""
2307
-
2308
- #: includes/Settings.class.php:2049
2309
- #, php-format
2310
- msgid ""
2311
- "Change the email address used in the FROM header of all emails sent by this "
2312
- "plugin. In most cases you should not change this. Modifying this can prevent "
2313
- "your emails from being delivered. %sLearn more%s."
2314
- msgstr ""
2315
-
2316
- #: includes/Settings.class.php:2068
2317
  msgid "Payments"
2318
  msgstr ""
2319
 
2320
- #: includes/Settings.class.php:2090
2321
- msgid "Require Deposit"
2322
- msgstr ""
2323
-
2324
- #: includes/Settings.class.php:2091
2325
- msgid "Require guests to make a deposit when making a reservation."
2326
- msgstr ""
2327
-
2328
- #: includes/Settings.class.php:2100
2329
- msgid "Payment Gateway"
2330
- msgstr ""
2331
-
2332
- #: includes/Settings.class.php:2101
2333
- msgid "Which payment gateway should be used to accept deposits."
2334
- msgstr ""
2335
-
2336
- #: includes/Settings.class.php:2114
2337
- msgid "Deposit Type"
2338
- msgstr ""
2339
-
2340
- #: includes/Settings.class.php:2115
2341
- msgid "What type of deposit should be required, per reservation or per guest?"
2342
- msgstr ""
2343
-
2344
- #: includes/Settings.class.php:2128
2345
- msgid "Deposit Amount"
2346
- msgstr ""
2347
-
2348
- #: includes/Settings.class.php:2129
2349
- msgid ""
2350
- "What deposit amount is required (either per reservation or per guest, "
2351
- "depending on the setting above)? Minimum is $0.50 in most currencies."
2352
- msgstr ""
2353
-
2354
- #: includes/Settings.class.php:2138
2355
- msgid "Currency"
2356
- msgstr ""
2357
-
2358
- #: includes/Settings.class.php:2139
2359
- msgid "Select the currency you accept for your deposits."
2360
- msgstr ""
2361
-
2362
- #: includes/Settings.class.php:2150
2363
- msgid "PayPal"
2364
- msgstr ""
2365
-
2366
- #: includes/Settings.class.php:2162
2367
- msgid "PayPal Email Address"
2368
- msgstr ""
2369
-
2370
- #: includes/Settings.class.php:2163
2371
- msgid "The email address you'll be using to accept PayPal payments."
2372
- msgstr ""
2373
-
2374
- #: includes/Settings.class.php:2173
2375
- msgid "Stripe"
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
 
2801
- #: includes/WP_List_Table.BookingsTable.class.php:264
2802
  msgid "Upcoming"
2803
  msgstr ""
2804
 
2805
- #: includes/WP_List_Table.BookingsTable.class.php:265
2806
  msgid "Today"
2807
  msgstr ""
2808
 
2809
- #: includes/WP_List_Table.BookingsTable.class.php:266
2810
  msgid "Past"
2811
  msgstr ""
2812
 
2813
- #: includes/WP_List_Table.BookingsTable.class.php:267
2814
- #: includes/WP_List_Table.BookingsTable.class.php:319
2815
  msgid "All"
2816
  msgstr ""
2817
 
2818
- #: includes/WP_List_Table.BookingsTable.class.php:287
2819
  msgid "Start Date:"
2820
  msgstr ""
2821
 
2822
- #: includes/WP_List_Table.BookingsTable.class.php:288
2823
  msgid "Start Date"
2824
  msgstr ""
2825
 
2826
- #: includes/WP_List_Table.BookingsTable.class.php:289
2827
  msgid "Start Time"
2828
  msgstr ""
2829
 
2830
- #: includes/WP_List_Table.BookingsTable.class.php:292
2831
  msgid "End Date:"
2832
  msgstr ""
2833
 
2834
- #: includes/WP_List_Table.BookingsTable.class.php:293
2835
  msgid "End Date"
2836
  msgstr ""
2837
 
2838
- #: includes/WP_List_Table.BookingsTable.class.php:294
2839
  msgid "End Time"
2840
  msgstr ""
2841
 
2842
- #: includes/WP_List_Table.BookingsTable.class.php:296
2843
  msgid "Apply"
2844
  msgstr ""
2845
 
2846
- #: includes/WP_List_Table.BookingsTable.class.php:298
2847
  msgid "Clear Filter"
2848
  msgstr ""
2849
 
2850
- #: includes/WP_List_Table.BookingsTable.class.php:320
2851
- msgid "Pending"
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
 
@@ -2952,13 +2436,13 @@ msgstr ""
2952
  msgid "Title"
2953
  msgstr ""
2954
 
2955
- #: includes/class-designer.php:64 includes/load-customizer.php:534
2956
  msgid ""
2957
  "This message was sent by {site_link} on {current_time}. You are receiving "
2958
  "this email because we received a booking request from this email address."
2959
  msgstr ""
2960
 
2961
- #: includes/class-designer.php:182 includes/load-customizer.php:670
2962
  msgid "Book Another Time"
2963
  msgstr ""
2964
 
@@ -3009,200 +2493,175 @@ msgstr ""
3009
  msgid "Footer Contact Details"
3010
  msgstr ""
3011
 
3012
- #: includes/load-customizer.php:79
3013
  msgid "No Email Template"
3014
  msgstr ""
3015
 
3016
- #: includes/load-customizer.php:87
3017
  msgid "Logo & Colors"
3018
  msgstr ""
3019
 
3020
- #: includes/load-customizer.php:97
3021
  msgid "Logo"
3022
  msgstr ""
3023
 
3024
- #: includes/load-customizer.php:110
3025
  msgid "Primary Color"
3026
  msgstr ""
3027
 
3028
- #: includes/load-customizer.php:122
3029
  msgid "Primary Text Color"
3030
  msgstr ""
3031
 
3032
- #: includes/load-customizer.php:123
3033
  msgid ""
3034
  "Some templates display text on a background of the Primary Color. Adjust the "
3035
  "text color in these cases to make sure it can be read easily."
3036
  msgstr ""
3037
 
3038
- #: includes/load-customizer.php:135
3039
  msgid "Button Color"
3040
  msgstr ""
3041
 
3042
- #: includes/load-customizer.php:136
3043
  msgid ""
3044
  "Some emails include a button. Select a background color for these buttons."
3045
  msgstr ""
3046
 
3047
- #: includes/load-customizer.php:148
3048
  msgid "Button Text Color"
3049
  msgstr ""
3050
 
3051
- #: includes/load-customizer.php:149
3052
  msgid "Some templates include a button. Select a text color for these buttons"
3053
  msgstr ""
3054
 
3055
- #: includes/load-customizer.php:159
3056
  msgid "Email Acknowledgement"
3057
  msgstr ""
3058
 
3059
- #: includes/load-customizer.php:161
3060
  msgid ""
3061
  "Display a brief acknowledgement of why the user is receiving this message at "
3062
  "the bottom of the email."
3063
  msgstr ""
3064
 
3065
- #: includes/load-customizer.php:169
3066
  msgid "Admin Notification Email"
3067
  msgstr ""
3068
 
3069
- #: includes/load-customizer.php:170
3070
  msgid "The email sent to the admin when a new booking is made."
3071
  msgstr ""
3072
 
3073
- #: includes/load-customizer.php:180 includes/load-customizer.php:220
3074
- #: includes/load-customizer.php:260 includes/load-customizer.php:300
3075
- #: includes/load-customizer.php:354 includes/load-customizer.php:393
3076
- #: includes/load-customizer.php:433
3077
  msgid "Template"
3078
  msgstr ""
3079
 
3080
- #: includes/load-customizer.php:189 includes/load-customizer.php:229
3081
- #: includes/load-customizer.php:269 includes/load-customizer.php:309
3082
- #: includes/load-customizer.php:363 includes/load-customizer.php:404
3083
- #: includes/load-customizer.php:444
3084
  msgid "Lead Sentence"
3085
  msgstr ""
3086
 
3087
- #: includes/load-customizer.php:199 includes/load-customizer.php:239
3088
- #: includes/load-customizer.php:279 includes/load-customizer.php:329
3089
- #: includes/load-customizer.php:373 includes/load-customizer.php:414
3090
- #: includes/load-customizer.php:454
3091
  msgid "Footer Message"
3092
  msgstr ""
3093
 
3094
- #: includes/load-customizer.php:210
3095
  msgid "The email a user receives when they make an initial booking request."
3096
  msgstr ""
3097
 
3098
- #: includes/load-customizer.php:250
3099
  msgid "The email a user receives when their booking is confirmed."
3100
  msgstr ""
3101
 
3102
- #: includes/load-customizer.php:290
3103
  msgid "The email a user receives when their booking has been rejected."
3104
  msgstr ""
3105
 
3106
- #: includes/load-customizer.php:319
3107
  msgid "Book Again Label"
3108
  msgstr ""
3109
 
3110
- #: includes/load-customizer.php:339
3111
  msgid "Admin Update"
3112
  msgstr ""
3113
 
3114
- #: includes/load-customizer.php:341
3115
  #, php-format
3116
  msgid ""
3117
  "The email a user receives when an admin sends them a custom email message "
3118
  "from the %sbookings panel%s."
3119
  msgstr ""
3120
 
3121
- #: includes/load-customizer.php:383
3122
  msgid "User Reminder"
3123
  msgstr ""
3124
 
3125
- #: includes/load-customizer.php:384
3126
  msgid "The email a user receives as a reminder of the reservation."
3127
  msgstr ""
3128
 
3129
- #: includes/load-customizer.php:423
3130
  msgid "User Late"
3131
  msgstr ""
3132
 
3133
- #: includes/load-customizer.php:424
3134
  msgid "The email a user receives when they are late for their reservation."
3135
  msgstr ""
3136
 
3137
- #: includes/template-functions.php:151
3138
  #, php-format
3139
  msgid ""
3140
  "Your reservation deposit payment has failed with the following message \"%s"
3141
  "\" Please contact the site administrator for assistance."
3142
  msgstr ""
3143
 
3144
- #: includes/template-functions.php:159
3145
  msgid "Your reservation has been successfully cancelled."
3146
  msgstr ""
3147
 
3148
- #: includes/template-functions.php:164 restaurant-reservations.php:408
3149
  msgid "Want to modify your reservation?"
3150
  msgstr ""
3151
 
3152
- #: includes/template-functions.php:167
3153
  msgid "Use the form below to modify your reservation"
3154
  msgstr ""
3155
 
3156
- #: includes/template-functions.php:168
3157
  msgid "Email:"
3158
  msgstr ""
3159
 
3160
- #: includes/template-functions.php:171
3161
  msgid "Find Reservations"
3162
  msgstr ""
3163
 
3164
- #: includes/template-functions.php:223
3165
  msgid "Proceed to Deposit"
3166
  msgstr ""
3167
 
3168
- #: includes/template-functions.php:223
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
 
@@ -3210,42 +2669,64 @@ msgstr ""
3210
  msgid "You do not have sufficient permissions to access this page."
3211
  msgstr ""
3212
 
3213
- #: restaurant-reservations.php:225
 
 
 
 
 
 
 
 
3214
  msgid "Booking Manager"
3215
  msgstr ""
3216
 
3217
- #: restaurant-reservations.php:316
3218
  msgid "MENU"
3219
  msgstr ""
3220
 
3221
- #: restaurant-reservations.php:317
3222
  msgid "Dashboard"
3223
  msgstr ""
3224
 
3225
- #: restaurant-reservations.php:320
3226
  msgid "Custom Fields"
3227
  msgstr ""
3228
 
3229
- #: restaurant-reservations.php:409
3230
  msgid "Make a reservation"
3231
  msgstr ""
3232
 
3233
- #: restaurant-reservations.php:410
3234
  msgid "guest"
3235
  msgstr ""
3236
 
3237
- #: restaurant-reservations.php:411
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 ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: Five Star Restaurant Reservations\n"
5
+ "POT-Creation-Date: 2022-02-21 09:38-0500\n"
6
  "PO-Revision-Date: 2020-08-20 11:03-0400\n"
7
  "Last-Translator: \n"
8
  "Language-Team: Five Star Plugins\n"
16
  "X-Poedit-KeywordsList: __;_e\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
+ #: assets/js/block-booking-form.js:8 includes/Settings.class.php:1130
20
  #: includes/WP_Widget.BookingFormWidget.class.php:25
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:306
26
+ #: includes/MultipleLocations.class.php:410
27
  msgid "Location"
28
  msgstr ""
29
 
40
  msgid "Add New"
41
  msgstr ""
42
 
43
+ #: includes/AdminBookings.class.php:170 restaurant-reservations.php:468
44
  msgid "Add Booking"
45
  msgstr ""
46
 
47
  #: includes/AdminBookings.class.php:173 includes/AdminBookings.class.php:214
48
  #: includes/AdminBookings.class.php:259 includes/Editor.class.php:448
49
+ #: restaurant-reservations.php:526
50
  msgid "Cancel"
51
  msgstr ""
52
 
53
  #: includes/AdminBookings.class.php:194 includes/AdminBookings.class.php:211
54
+ #: includes/WP_List_Table.BookingsTable.class.php:629
55
+ #: includes/WP_List_Table.BookingsTable.class.php:772
56
  msgid "Send Email"
57
  msgstr ""
58
 
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:2118
65
+ #: includes/WP_List_Table.BookingsTable.class.php:664
66
  msgid "Message"
67
  msgstr ""
68
 
107
  "email notifications."
108
  msgstr ""
109
 
110
+ #: includes/AdminBookings.class.php:478 includes/AdminBookings.class.php:866
111
+ #: includes/Editor.class.php:497 includes/Helper.class.php:45
112
+ #: restaurant-reservations.php:659
113
  #, php-format
114
  msgid "You have been logged out. Please %slogin again%s."
115
  msgstr ""
157
  msgid "Invalid"
158
  msgstr ""
159
 
160
+ #: includes/Ajax.class.php:83
161
  msgid "The email you entered is not valid."
162
  msgstr ""
163
 
164
+ #: includes/Ajax.class.php:128
165
  msgid "No bookings were found for the email address you entered."
166
  msgstr ""
167
 
168
+ #: includes/Ajax.class.php:157
169
+ msgid "Unkown error. Please try again"
170
  msgstr ""
171
 
172
+ #: includes/Ajax.class.php:170 includes/Ajax.class.php:177
173
+ msgid "No booking matches the information that was sent."
174
  msgstr ""
175
 
176
+ #: includes/Blocks.class.php:65
177
  msgid "Ask the customer to select a location"
178
  msgstr ""
179
 
180
+ #: includes/Blocks.class.php:93
181
+ msgid "Five Star Restaurant Reservations"
182
+ msgstr ""
183
+
184
+ #: includes/Booking.class.php:283
185
  msgid "Please enter the date you would like to book."
186
  msgstr ""
187
 
188
+ #: includes/Booking.class.php:293
189
  msgid ""
190
  "The date you entered is not valid. Please select from one of the dates in "
191
  "the calendar."
192
  msgstr ""
193
 
194
+ #: includes/Booking.class.php:304
195
  msgid "Please enter the time you would like to book."
196
  msgstr ""
197
 
198
+ #: includes/Booking.class.php:314
199
  msgid ""
200
  "The time you entered is not valid. Please select from one of the times "
201
  "provided."
202
  msgstr ""
203
 
204
+ #: includes/Booking.class.php:336
205
  #, php-format
206
  msgid "Sorry, bookings can not be made more than %s days in advance."
207
  msgstr ""
208
 
209
+ #: includes/Booking.class.php:347
210
  msgid "Sorry, bookings can not be made in the past."
211
  msgstr ""
212
 
213
+ #: includes/Booking.class.php:356
214
  msgid "Sorry, bookings can not be made for the same day."
215
  msgstr ""
216
 
217
+ #: includes/Booking.class.php:364
218
  #, php-format
219
  msgid "Sorry, bookings must be made more than %s days in advance."
220
  msgstr ""
221
 
222
+ #: includes/Booking.class.php:366
223
  #, php-format
224
  msgid "Sorry, bookings must be made more than %s hours in advance."
225
  msgstr ""
226
 
227
+ #: includes/Booking.class.php:368
228
  #, php-format
229
  msgid "Sorry, bookings must be made more than %s minutes in advance."
230
  msgstr ""
231
 
232
+ #: includes/Booking.class.php:408
233
  msgid "Sorry, no bookings are being accepted then."
234
  msgstr ""
235
 
236
+ #: includes/Booking.class.php:460
237
  msgid "Sorry, no bookings are being accepted on that date."
238
  msgstr ""
239
 
240
+ #: includes/Booking.class.php:466
241
  msgid "Sorry, no bookings are being accepted at that time."
242
  msgstr ""
243
 
244
+ #: includes/Booking.class.php:488
245
  msgid "Please enter a name for this booking."
246
  msgstr ""
247
 
248
+ #: includes/Booking.class.php:498
249
  msgid "Please let us know how many people will be in your party."
250
  msgstr ""
251
 
252
+ #: includes/Booking.class.php:508
253
  #, php-format
254
  msgid "We only accept bookings for parties of up to %d people."
255
  msgstr ""
256
 
257
+ #: includes/Booking.class.php:516
258
  #, php-format
259
  msgid "We only accept bookings for parties of more than %d people."
260
  msgstr ""
261
 
262
+ #: includes/Booking.class.php:527
263
  msgid "Please enter an email address so we can confirm your booking."
264
  msgstr ""
265
 
266
+ #: includes/Booking.class.php:533
267
  msgid "Please enter a valid email address so we can confirm your booking."
268
  msgstr ""
269
 
270
+ #: includes/Booking.class.php:544
271
  msgid "Please provide a phone number so we can confirm your booking."
272
  msgstr ""
273
 
274
+ #: includes/Booking.class.php:557
275
  msgid "Please select a table for your booking."
276
  msgstr ""
277
 
278
+ #: includes/Booking.class.php:567
279
  msgid "Please select a valid table for your booking."
280
  msgstr ""
281
 
282
+ #: includes/Booking.class.php:577
283
  msgid "Please fill out the reCAPTCHA box before submitting."
284
  msgstr ""
285
 
286
+ #: includes/Booking.class.php:599
287
  msgid "Please fill out the reCAPTCHA box again and re-submit."
288
  msgstr ""
289
 
290
+ #: includes/Booking.class.php:601
291
  msgid " If you encounter reCAPTCHA error multiple times, please contact us."
292
  msgstr ""
293
 
294
+ #: includes/Booking.class.php:635
295
  msgid "Please complete this field to request a booking."
296
  msgstr ""
297
 
298
+ #: includes/Booking.class.php:647
299
  msgid ""
300
  "Your booking has been rejected. Please call us if you would like to make a "
301
  "booking."
302
  msgstr ""
303
 
304
+ #: includes/Booking.class.php:661
305
  msgid ""
306
  "The maximum number of reservations for that timeslot has been reached. "
307
  "Please select a different timeslot."
308
  msgstr ""
309
 
310
+ #: includes/Booking.class.php:670
311
  msgid ""
312
  "With your party, the maximum number of seats for that timeslot would be "
313
  "exceeded. Please select a different timeslot or reduce your party size."
314
  msgstr ""
315
 
316
+ #: includes/Booking.class.php:679
317
  msgid ""
318
  "Your booking and personal information exactly matches another booking. If "
319
  "this was not caused by refreshing the page, please call us to make a booking."
321
 
322
  #: includes/CustomPostTypes.class.php:50 includes/CustomPostTypes.class.php:52
323
  #: includes/CustomPostTypes.class.php:53
324
+ #: includes/WP_List_Table.BookingsTable.class.php:138
325
+ #: restaurant-reservations.php:406
326
  msgid "Bookings"
327
  msgstr ""
328
 
329
  #: includes/CustomPostTypes.class.php:51
330
+ #: includes/WP_List_Table.BookingsTable.class.php:137
331
  msgid "Booking"
332
  msgstr ""
333
 
335
  msgid "Add New Booking"
336
  msgstr ""
337
 
338
+ #: includes/CustomPostTypes.class.php:56 restaurant-reservations.php:469
339
  msgid "Edit Booking"
340
  msgstr ""
341
 
428
  msgstr ""
429
 
430
  #: includes/Dashboard.class.php:142 includes/Export.CSV.class.php:78
431
+ #: includes/Settings.class.php:2062
432
+ #: includes/WP_List_Table.BookingsTable.class.php:547
433
  msgid "Date"
434
  msgstr ""
435
 
436
  #: includes/Dashboard.class.php:143 includes/Export.CSV.class.php:80
437
+ #: includes/Notifications.class.php:132 includes/Settings.class.php:2074
438
+ #: includes/WP_List_Table.BookingsTable.class.php:549
439
+ #: includes/template-functions.php:400
440
  msgid "Party"
441
  msgstr ""
442
 
443
  #: includes/Dashboard.class.php:144 includes/Export.CSV.class.php:79
444
+ #: includes/MailChimp.class.php:86 includes/Notifications.class.php:133
445
+ #: includes/Settings.class.php:2090
446
+ #: includes/WP_List_Table.BookingsTable.class.php:550
447
+ #: includes/template-functions.php:401
448
  msgid "Name"
449
  msgstr ""
450
 
451
+ #: includes/Dashboard.class.php:145 includes/Notifications.class.php:137
452
+ #: includes/WP_List_Table.BookingsTable.class.php:553
453
+ #: includes/template-functions.php:405
454
  msgid "Status"
455
  msgstr ""
456
 
470
  msgid "Select version to trial"
471
  msgstr ""
472
 
473
+ #: includes/Dashboard.class.php:265 includes/Settings.class.php:1853
474
+ #: includes/Settings.class.php:1868
475
  msgid "Premium"
476
  msgstr ""
477
 
478
+ #: includes/Dashboard.class.php:266 includes/Settings.class.php:1837
479
  msgid "Ultimate"
480
  msgstr ""
481
 
541
  "custom fields will be removed. This action can not be undone."
542
  msgstr ""
543
 
544
+ #: includes/Editor.class.php:114 restaurant-reservations.php:470
545
  msgid ""
546
  "An unspecified error occurred. Please try again. If the problem persists, "
547
  "try logging out and logging back in."
703
  msgstr ""
704
 
705
  #: includes/Export.CSV.class.php:81 includes/MailChimp.class.php:163
706
+ #: includes/Notifications.class.php:134 includes/Settings.class.php:2096
707
+ #: includes/WP_List_Table.BookingsTable.class.php:551
708
+ #: includes/template-functions.php:402
709
  msgid "Email"
710
  msgstr ""
711
 
712
+ #: includes/Export.CSV.class.php:82 includes/Notifications.class.php:135
713
+ #: includes/Settings.class.php:2105
714
+ #: includes/WP_List_Table.BookingsTable.class.php:552
715
+ #: includes/template-functions.php:403
716
  msgid "Phone"
717
  msgstr ""
718
 
724
  msgid "Data Privacy Consent"
725
  msgstr ""
726
 
727
+ #: includes/Export.CSV.class.php:210 includes/Settings.class.php:1064
728
  #: includes/integrations/business-profile.php:291
729
+ #: includes/template-functions.php:389
730
  msgid "Yes"
731
  msgstr ""
732
 
733
+ #: includes/Export.CSV.class.php:210 includes/Settings.class.php:1063
734
  #: includes/integrations/business-profile.php:292
735
+ #: includes/template-functions.php:390
736
  msgid "No"
737
  msgstr ""
738
 
739
  #: includes/Export.CSV.class.php:229 includes/Export.PDF.class.php:223
740
+ #: includes/Settings.class.php:2154
741
  msgid "Table(s)"
742
  msgstr ""
743
 
744
  #: includes/Export.CSV.class.php:264
745
+ #: includes/WP_List_Table.BookingsTable.class.php:556
746
+ #: restaurant-reservations.php:528
747
  msgid "Deposit"
748
  msgstr ""
749
 
863
  "persists, please refresh the page."
864
  msgstr ""
865
 
866
+ #: includes/Field.class.php:578
867
  msgid "The option you selected is not valid. Please make another choice."
868
  msgstr ""
869
 
870
+ #: includes/Helper.class.php:59 includes/PaymentGatewayStripe.class.php:303
871
+ #: includes/PaymentGatewayStripe.class.php:398
872
+ msgid ""
873
+ "The request has been rejected because it does not appear to have come from "
874
+ "this site."
875
+ msgstr ""
876
+
877
  #: includes/Import.class.php:67
878
  msgid "Spreadsheet Containing Bookings"
879
  msgstr ""
924
  msgid "File must be .csv, .xls or .xlsx"
925
  msgstr ""
926
 
927
+ #: includes/InstallationWalkthrough.class.php:169
928
  msgid "Never"
929
  msgstr ""
930
 
931
+ #: includes/InstallationWalkthrough.class.php:170
932
  msgid "Every day"
933
  msgstr ""
934
 
935
+ #: includes/InstallationWalkthrough.class.php:171
936
  #, php-format
937
  msgid "%s on the %s week of the month"
938
  msgstr ""
939
 
940
+ #: includes/InstallationWalkthrough.class.php:172
941
  #, php-format
942
  msgid "%s week of the month"
943
  msgstr ""
944
 
945
+ #: includes/InstallationWalkthrough.class.php:173
946
+ #: includes/InstallationWalkthrough.class.php:362
947
  msgid "All day"
948
  msgstr ""
949
 
950
+ #: includes/InstallationWalkthrough.class.php:174
951
  msgid "Ends at"
952
  msgstr ""
953
 
954
+ #: includes/InstallationWalkthrough.class.php:175
955
  msgid "Starts at"
956
  msgstr ""
957
 
958
+ #: includes/InstallationWalkthrough.class.php:176
959
  msgid "&mdash"
960
  msgstr ""
961
 
962
+ #: includes/InstallationWalkthrough.class.php:195
963
  msgid "Welcome to the Five-Star Restaurant Reservations Plugin"
964
  msgstr ""
965
 
966
+ #: includes/InstallationWalkthrough.class.php:196
967
  msgid ""
968
  "Thanks for choosing the Five-Star Restaurant Reservations! The following "
969
  "will help you get started with the setup of your reservations system by "
971
  "well as configuring a few key options."
972
  msgstr ""
973
 
974
+ #: includes/InstallationWalkthrough.class.php:201
975
  msgid "Add a Reservations Page"
976
  msgstr ""
977
 
978
+ #: includes/InstallationWalkthrough.class.php:203
979
  msgid ""
980
  "You can create a dedicated reservations booking page below, or skip this "
981
  "step and add your reservations to a page you've already created manually."
982
  msgstr ""
983
 
984
+ #: includes/InstallationWalkthrough.class.php:205
985
  msgid "Page Title:"
986
  msgstr ""
987
 
988
+ #: includes/InstallationWalkthrough.class.php:206
989
  msgid "Create Page"
990
  msgstr ""
991
 
992
+ #: includes/InstallationWalkthrough.class.php:208
993
+ #: includes/InstallationWalkthrough.class.php:227
994
  msgid "Next Step"
995
  msgstr ""
996
 
997
+ #: includes/InstallationWalkthrough.class.php:214
998
  msgid " Create Booking Schedule"
999
  msgstr ""
1000
 
1001
+ #: includes/InstallationWalkthrough.class.php:216
1002
  msgid ""
1003
  "Choose what times each week your restaurant is available to book "
1004
  "reservations."
1005
  msgstr ""
1006
 
1007
+ #: includes/InstallationWalkthrough.class.php:221
1008
+ #: includes/MultipleLocations.class.php:831 includes/Settings.class.php:800
1009
  msgid "Add new scheduling rule"
1010
  msgstr ""
1011
 
1012
+ #: includes/InstallationWalkthrough.class.php:225
1013
  msgid "Save Schedule"
1014
  msgstr ""
1015
 
1016
+ #: includes/InstallationWalkthrough.class.php:228
1017
+ #: includes/InstallationWalkthrough.class.php:289
1018
  msgid "Previous Step"
1019
  msgstr ""
1020
 
1021
+ #: includes/InstallationWalkthrough.class.php:234
1022
  msgid " Set Key Options"
1023
  msgstr ""
1024
 
1025
+ #: includes/InstallationWalkthrough.class.php:236
1026
  msgid ""
1027
  "Set a min/max party size for bookings, choose how early and late bookings "
1028
  "can be made, and pick the time interval between different booking options."
1029
  msgstr ""
1030
 
1031
+ #: includes/InstallationWalkthrough.class.php:238
1032
  msgid "Min Party Size:"
1033
  msgstr ""
1034
 
1035
+ #: includes/InstallationWalkthrough.class.php:246
1036
  msgid "Max Party Size:"
1037
  msgstr ""
1038
 
1039
+ #: includes/InstallationWalkthrough.class.php:248
1040
  msgid "Any Size"
1041
  msgstr ""
1042
 
1043
+ #: includes/InstallationWalkthrough.class.php:255
1044
  msgid "Early Bookings:"
1045
  msgstr ""
1046
 
1047
+ #: includes/InstallationWalkthrough.class.php:257
1048
  msgid "Any Time"
1049
  msgstr ""
1050
 
1051
+ #: includes/InstallationWalkthrough.class.php:258
1052
+ #: includes/Settings.class.php:878
1053
  msgid "From 1 day in advance"
1054
  msgstr ""
1055
 
1056
+ #: includes/InstallationWalkthrough.class.php:259
1057
+ #: includes/Settings.class.php:879
1058
  msgid "From 1 week in advance"
1059
  msgstr ""
1060
 
1061
+ #: includes/InstallationWalkthrough.class.php:260
1062
+ #: includes/Settings.class.php:880
1063
  msgid "From 2 weeks in advance"
1064
  msgstr ""
1065
 
1066
+ #: includes/InstallationWalkthrough.class.php:261
1067
+ #: includes/Settings.class.php:881
1068
  msgid "From 30 days in advance"
1069
  msgstr ""
1070
 
1071
+ #: includes/InstallationWalkthrough.class.php:262
1072
+ #: includes/Settings.class.php:883
1073
  msgid "From 90 days in advance"
1074
  msgstr ""
1075
 
1076
+ #: includes/InstallationWalkthrough.class.php:266
1077
  msgid "Late Bookings:"
1078
  msgstr ""
1079
 
1080
+ #: includes/InstallationWalkthrough.class.php:268
1081
+ #: includes/Settings.class.php:899
1082
  msgid "Up to the last minute"
1083
  msgstr ""
1084
 
1085
+ #: includes/InstallationWalkthrough.class.php:269
1086
+ #: includes/Settings.class.php:900
1087
  msgid "At least 15 minutes in advance"
1088
  msgstr ""
1089
 
1090
+ #: includes/InstallationWalkthrough.class.php:270
1091
+ #: includes/Settings.class.php:901
1092
  msgid "At least 30 minutes in advance"
1093
  msgstr ""
1094
 
1095
+ #: includes/InstallationWalkthrough.class.php:271
1096
+ #: includes/Settings.class.php:902
1097
  msgid "At least 45 minutes in advance"
1098
  msgstr ""
1099
 
1100
+ #: includes/InstallationWalkthrough.class.php:272
1101
+ #: includes/Settings.class.php:903
1102
  msgid "At least 1 hour in advance"
1103
  msgstr ""
1104
 
1105
+ #: includes/InstallationWalkthrough.class.php:273
1106
+ #: includes/Settings.class.php:904
1107
  msgid "At least 4 hours in advance"
1108
  msgstr ""
1109
 
1110
+ #: includes/InstallationWalkthrough.class.php:274
1111
+ #: includes/Settings.class.php:905
1112
  msgid "At least 24 hours in advance"
1113
  msgstr ""
1114
 
1115
+ #: includes/InstallationWalkthrough.class.php:275
1116
  msgid "Block same-day-bookings"
1117
  msgstr ""
1118
 
1119
+ #: includes/InstallationWalkthrough.class.php:279
1120
  msgid "Time Interval:"
1121
  msgstr ""
1122
 
1123
+ #: includes/InstallationWalkthrough.class.php:281
1124
+ #: includes/Settings.class.php:943
1125
  msgid "Every 30 minutes"
1126
  msgstr ""
1127
 
1128
+ #: includes/InstallationWalkthrough.class.php:282
1129
+ #: includes/Settings.class.php:944
1130
  msgid "Every 15 minutes"
1131
  msgstr ""
1132
 
1133
+ #: includes/InstallationWalkthrough.class.php:283
1134
+ #: includes/Settings.class.php:945
1135
  msgid "Every 10 minutes"
1136
  msgstr ""
1137
 
1138
+ #: includes/InstallationWalkthrough.class.php:284
1139
+ #: includes/Settings.class.php:946
1140
  msgid "Every 5 minutes"
1141
  msgstr ""
1142
 
1143
+ #: includes/InstallationWalkthrough.class.php:287
1144
  msgid "Save Options"
1145
  msgstr ""
1146
 
1147
+ #: includes/InstallationWalkthrough.class.php:290
1148
  msgid "Finish"
1149
  msgstr ""
1150
 
1151
+ #: includes/InstallationWalkthrough.class.php:296
1152
  msgid "Skip Setup"
1153
  msgstr ""
1154
 
1155
+ #: includes/InstallationWalkthrough.class.php:330
1156
  msgid "Weekly"
1157
  msgstr ""
1158
 
1159
+ #: includes/InstallationWalkthrough.class.php:337
1160
  msgid "Days of the week"
1161
  msgstr ""
1162
 
1163
+ #: includes/InstallationWalkthrough.class.php:357
1164
+ #: includes/Notifications.class.php:131 includes/Settings.class.php:2068
1165
+ #: includes/template-functions.php:399
1166
  msgid "Time"
1167
  msgstr ""
1168
 
1169
+ #: includes/InstallationWalkthrough.class.php:371
1170
  msgid "Start"
1171
  msgstr ""
1172
 
1173
+ #: includes/InstallationWalkthrough.class.php:378
1174
  msgid "End"
1175
  msgstr ""
1176
 
1177
+ #: includes/InstallationWalkthrough.class.php:386
1178
  #, php-format
1179
  msgid "All day long. Want to %sset a time slot%s?"
1180
  msgstr ""
1181
 
1182
+ #: includes/InstallationWalkthrough.class.php:402
1183
+ #: includes/InstallationWalkthrough.class.php:405
1184
  msgid "Open and close this rule"
1185
  msgstr ""
1186
 
1187
+ #: includes/InstallationWalkthrough.class.php:408
1188
  msgid "Delete rule"
1189
  msgstr ""
1190
 
1191
+ #: includes/InstallationWalkthrough.class.php:411
1192
+ #: includes/MultipleLocations.class.php:845 includes/Settings.class.php:814
1193
  msgid "Delete scheduling rule"
1194
  msgstr ""
1195
 
1261
  msgid "The email field is automatically merged."
1262
  msgstr ""
1263
 
1264
+ #: includes/MailChimp.class.php:372
1265
  msgid ""
1266
+ "The subscription request has been rejected because it does not appear to "
1267
+ "have come from this site."
1268
  msgstr ""
1269
 
1270
+ #: includes/MultipleLocations.class.php:362
1271
+ msgid "Please select a location for your booking."
1272
+ msgstr ""
1273
+
1274
+ #: includes/MultipleLocations.class.php:369
1275
+ msgid "The location you selected is not valid. Please select another location."
1276
+ msgstr ""
1277
+
1278
+ #: includes/MultipleLocations.class.php:478
1279
+ msgid "Reservations"
1280
+ msgstr ""
1281
+
1282
+ #: includes/MultipleLocations.class.php:691
1283
+ msgid "Location for which this booking was made."
1284
+ msgstr ""
1285
+
1286
+ #: includes/MultipleLocations.class.php:797
1287
+ msgid "Global"
1288
+ msgstr ""
1289
+
1290
+ #: includes/MultipleLocations.class.php:810
1291
+ msgid "Select Schedule Location"
1292
+ msgstr ""
1293
+
1294
+ #: includes/MultipleLocations.class.php:822
1295
+ msgid "Schedule Location"
1296
  msgstr ""
1297
 
1298
+ #: includes/MultipleLocations.class.php:823
1299
  msgid ""
1300
+ "Select which location the schedule will apply to. If a specific location "
1301
+ "doesn't have a schedule set, then it will fall back to the global schedule "
1302
+ "when booking."
1303
+ msgstr ""
1304
+
1305
+ #: includes/MultipleLocations.class.php:864 includes/Settings.class.php:831
1306
+ msgid "Schedule"
1307
  msgstr ""
1308
 
1309
+ #: includes/MultipleLocations.class.php:865 includes/Settings.class.php:832
1310
+ msgid "Define the weekly schedule during which you accept bookings."
1311
+ msgstr ""
1312
+
1313
+ #: includes/MultipleLocations.class.php:891 includes/Settings.class.php:857
1314
+ msgid "Exceptions"
1315
+ msgstr ""
1316
+
1317
+ #: includes/MultipleLocations.class.php:892 includes/Settings.class.php:858
1318
  msgid ""
1319
+ "Define special opening hours for holidays, events or other needs. Leave the "
1320
+ "time empty if you're closed all day."
1321
  msgstr ""
1322
 
1323
+ #: includes/MultipleLocations.class.php:909
1324
+ msgid "Select Seat Restrictions Location"
1325
+ msgstr ""
1326
+
1327
+ #: includes/MultipleLocations.class.php:921
1328
+ msgid "Seat Restrictions Location"
1329
+ msgstr ""
1330
+
1331
+ #: includes/MultipleLocations.class.php:922
1332
  msgid ""
1333
+ "Select which location the restrictions will apply to. If a specific location "
1334
+ "doesn't have restrictions set, then the global total number will be used as "
1335
+ "a fall-back."
1336
  msgstr ""
1337
 
1338
+ #: includes/MultipleLocations.class.php:952
1339
+ msgid "Max Reservations"
1340
  msgstr ""
1341
 
1342
+ #: includes/MultipleLocations.class.php:953
1343
+ msgid ""
1344
+ "How many reservations, if enabled, should be allowed at the same time at "
1345
+ "this location? Set dining block length to change how long a meal typically "
1346
+ "lasts."
1347
  msgstr ""
1348
 
1349
+ #: includes/MultipleLocations.class.php:966
1350
+ msgid "Max People"
1351
  msgstr ""
1352
 
1353
+ #: includes/MultipleLocations.class.php:967
1354
+ msgid ""
1355
+ "How many people, if enabled, should be allowed to be present at this "
1356
+ "restaurant location at the same time? Set dining block length to change how "
1357
+ "long a meal typically lasts. May not work correctly if max reservations is "
1358
+ "set."
1359
  msgstr ""
1360
 
1361
+ #: includes/Notification.class.php:104
1362
  msgid "View pending bookings"
1363
  msgstr ""
1364
 
1365
+ #: includes/Notification.class.php:105
1366
  msgid "Cancel booking"
1367
  msgstr ""
1368
 
1369
+ #: includes/Notification.class.php:106
1370
  msgid "Confirm this booking"
1371
  msgstr ""
1372
 
1373
+ #: includes/Notification.class.php:107
1374
  msgid "Reject this booking"
1375
  msgstr ""
1376
 
1377
+ #: includes/Notifications.class.php:126
1378
+ msgid "Please find a summary of today's reservations in the table below."
1379
  msgstr ""
1380
 
1381
+ #: includes/Notifications.class.php:136
1382
+ #: includes/WP_List_Table.BookingsTable.class.php:557
1383
+ #: includes/template-functions.php:404
1384
+ msgid "Table"
1385
  msgstr ""
1386
 
1387
+ #: includes/Notifications.class.php:138
1388
+ #: includes/WP_List_Table.BookingsTable.class.php:560
1389
+ #: includes/template-functions.php:406
1390
+ msgid "Details"
1391
  msgstr ""
1392
 
1393
+ #: includes/Notifications.class.php:168
1394
+ msgid "Daily Email Summary"
1395
  msgstr ""
1396
 
1397
+ #: includes/PaymentGatewayPayPal.class.php:26
1398
+ msgid "PayPal"
1399
  msgstr ""
1400
 
1401
+ #: includes/PaymentGatewayStripe.class.php:17
1402
+ msgid "Not Placed"
1403
  msgstr ""
1404
 
1405
+ #: includes/PaymentGatewayStripe.class.php:18
1406
+ msgid "Hold Placed"
1407
  msgstr ""
1408
 
1409
+ #: includes/PaymentGatewayStripe.class.php:19
1410
+ msgid "Hold Captured"
1411
+ msgstr ""
1412
+
1413
+ #: includes/PaymentGatewayStripe.class.php:32
1414
+ msgid "Stripe"
1415
+ msgstr ""
1416
+
1417
+ #: includes/PaymentGatewayStripe.class.php:142
1418
+ msgid "Card Detail"
1419
+ msgstr ""
1420
+
1421
+ #: includes/PaymentGatewayStripe.class.php:149
1422
+ msgid "Card Number"
1423
+ msgstr ""
1424
+
1425
+ #: includes/PaymentGatewayStripe.class.php:153
1426
+ msgid "CVC"
1427
+ msgstr ""
1428
+
1429
+ #: includes/PaymentGatewayStripe.class.php:157
1430
+ msgid "Expiration (MM/YYYY)"
1431
  msgstr ""
1432
 
1433
+ #: includes/PaymentGatewayStripe.class.php:168
1434
  msgid ""
1435
+ "Please wait. Do not refresh until the button enables or the page reloads."
 
1436
  msgstr ""
1437
 
1438
+ #: includes/PaymentGatewayStripe.class.php:172
1439
+ msgid "Make Deposit"
1440
+ msgstr ""
1441
+
1442
+ #: includes/PaymentGatewayStripe.class.php:434
1443
+ msgid "Invalid submission. Please contact admin"
1444
+ msgstr ""
1445
+
1446
+ #: includes/PaymentGatewayStripe.class.php:459
1447
+ msgid "Payment charge failed. Please try again"
1448
+ msgstr ""
1449
+
1450
+ #: includes/PaymentGatewayStripe.class.php:560
1451
+ msgid "Payment on Hold"
1452
+ msgstr ""
1453
+
1454
+ #: includes/PaymentGatewayStripe.class.php:561
1455
+ msgid "Payment has been held on the card, but not charged yet."
1456
+ msgstr ""
1457
+
1458
+ #: includes/PaymentGatewayStripe.class.php:566
1459
+ msgid "Held Payment Captured"
1460
+ msgstr ""
1461
+
1462
+ #: includes/PaymentGatewayStripe.class.php:567
1463
+ msgid "Payment has been captured."
1464
+ msgstr ""
1465
+
1466
+ #: includes/PaymentGatewayStripe.class.php:580
1467
+ msgid "Charge Payment on Hold"
1468
+ msgstr ""
1469
+
1470
+ #: includes/PaymentGatewayStripe.class.php:620
1471
+ #: includes/PaymentGatewayStripe.class.php:627
1472
+ #, php-format
1473
+ msgid "Five Star RTB: Stripe Payment capture failed. Reason: %s"
1474
+ msgstr ""
1475
+
1476
+ #: includes/PaymentGatewayStripe.class.php:639
1477
+ #, php-format
1478
+ msgid "Unable to find the Booking for ID %s"
1479
+ msgstr ""
1480
+
1481
+ #: includes/PaymentGatewayStripe.class.php:697
1482
+ msgid ""
1483
+ "We are only placing a hold for the above amount on your payment instrument. "
1484
+ "You will be charged later."
1485
+ msgstr ""
1486
+
1487
+ #: includes/PaymentManager.class.php:194
1488
+ msgid "Payment Gateway"
1489
+ msgstr ""
1490
+
1491
+ #: includes/PaymentManager.class.php:247
1492
+ msgid "Please select a valid payment gateway."
1493
+ msgstr ""
1494
+
1495
+ #: includes/PaymentManager.class.php:306
1496
+ msgid "Deposit Required: "
1497
+ msgstr ""
1498
+
1499
+ #: includes/PaymentManager.class.php:351
1500
+ msgid "Invalid gateweay selected. Please contact us for the confirmation."
1501
+ msgstr ""
1502
+
1503
+ #: includes/ReviewAsk.class.php:59
1504
+ msgid "Email Address"
1505
+ msgstr ""
1506
+
1507
+ #: includes/Settings.class.php:491
1508
+ msgid "Sign up for our mailing list."
1509
+ msgstr ""
1510
+
1511
+ #: includes/Settings.class.php:771 includes/Settings.class.php:772
1512
+ #: restaurant-reservations.php:407
1513
+ msgid "Settings"
1514
+ msgstr ""
1515
+
1516
+ #: includes/Settings.class.php:784
1517
+ msgid "Booking Schedule"
1518
+ msgstr ""
1519
+
1520
+ #: includes/Settings.class.php:793
1521
+ msgid "Scheduling Options"
1522
+ msgstr ""
1523
+
1524
+ #: includes/Settings.class.php:873
1525
  msgid "Early Bookings"
1526
  msgstr ""
1527
 
1528
+ #: includes/Settings.class.php:874
1529
  msgid ""
1530
  "Select how early customers can make their booking. (Administrators and "
1531
  "Booking Managers are not restricted by this setting.)"
1532
  msgstr ""
1533
 
1534
+ #: includes/Settings.class.php:877
1535
  msgid "Any time"
1536
  msgstr ""
1537
 
1538
+ #: includes/Settings.class.php:882
1539
  msgid "From 60 days in advance"
1540
  msgstr ""
1541
 
1542
+ #: includes/Settings.class.php:895
1543
  msgid "Late Bookings"
1544
  msgstr ""
1545
 
1546
+ #: includes/Settings.class.php:896
1547
  msgid ""
1548
  "Select how late customers can make their booking. (Administrators and "
1549
  "Booking Managers are not restricted by this setting.)"
1550
  msgstr ""
1551
 
1552
+ #: includes/Settings.class.php:906
1553
  msgid "Block same-day bookings"
1554
  msgstr ""
1555
 
1556
+ #: includes/Settings.class.php:918
1557
  msgid "Date Pre-selection"
1558
  msgstr ""
1559
 
1560
+ #: includes/Settings.class.php:919
1561
  msgid ""
1562
  "When the booking form is loaded, should it automatically attempt to select a "
1563
  "valid date?"
1564
  msgstr ""
1565
 
1566
+ #: includes/Settings.class.php:922
1567
  msgid "Select today if valid"
1568
  msgstr ""
1569
 
1570
+ #: includes/Settings.class.php:923
1571
  msgid "Select today or next valid date"
1572
  msgstr ""
1573
 
1574
+ #: includes/Settings.class.php:924
1575
  msgid "Leave empty"
1576
  msgstr ""
1577
 
1578
+ #: includes/Settings.class.php:935
1579
  msgid "Time Interval"
1580
  msgstr ""
1581
 
1582
+ #: includes/Settings.class.php:936
1583
  msgid "Select the number of minutes between each available time."
1584
  msgstr ""
1585
 
1586
+ #: includes/Settings.class.php:939
1587
  msgid "Every 180 minutes"
1588
  msgstr ""
1589
 
1590
+ #: includes/Settings.class.php:940
1591
  msgid "Every 120 minutes"
1592
  msgstr ""
1593
 
1594
+ #: includes/Settings.class.php:941
1595
  msgid "Every 90 minutes"
1596
  msgstr ""
1597
 
1598
+ #: includes/Settings.class.php:942
1599
  msgid "Every 60 minutes"
1600
  msgstr ""
1601
 
1602
+ #: includes/Settings.class.php:957
1603
  msgid "Week Starts On"
1604
  msgstr ""
1605
 
1606
+ #: includes/Settings.class.php:958
1607
  msgid "Select the first day of the week"
1608
  msgstr ""
1609
 
1610
+ #: includes/Settings.class.php:961
1611
  msgid "Sunday"
1612
  msgstr ""
1613
 
1614
+ #: includes/Settings.class.php:962
1615
  msgid "Monday"
1616
  msgstr ""
1617
 
1618
+ #: includes/Settings.class.php:971
1619
  msgid "Basic"
1620
  msgstr ""
1621
 
1622
+ #: includes/Settings.class.php:980 includes/Settings.class.php:1373
 
1623
  msgid "General"
1624
  msgstr ""
1625
 
1626
+ #: includes/Settings.class.php:991
1627
  msgid "Booking Page"
1628
  msgstr ""
1629
 
1630
+ #: includes/Settings.class.php:992
1631
  msgid ""
1632
  "Select a page on your site to automatically display the booking form and "
1633
  "confirmation message."
1634
  msgstr ""
1635
 
1636
+ #: includes/Settings.class.php:1008
1637
  msgid "Min Party Size"
1638
  msgstr ""
1639
 
1640
+ #: includes/Settings.class.php:1009
1641
  msgid "Set a minimum allowed party size for bookings."
1642
  msgstr ""
1643
 
1644
+ #: includes/Settings.class.php:1021
1645
  msgid "Max Party Size"
1646
  msgstr ""
1647
 
1648
+ #: includes/Settings.class.php:1022
1649
  msgid "Set a maximum allowed party size for bookings."
1650
  msgstr ""
1651
 
1652
+ #: includes/Settings.class.php:1034
1653
  msgid "Automatically Confirm Below Party Size"
1654
  msgstr ""
1655
 
1656
+ #: includes/Settings.class.php:1035
1657
  msgid ""
1658
  "Set a maximum party size below which all bookings will be automatically "
1659
  "confirmed."
1660
  msgstr ""
1661
 
1662
+ #: includes/Settings.class.php:1048
1663
  msgid "Allow Cancellations"
1664
  msgstr ""
1665
 
1666
+ #: includes/Settings.class.php:1049
1667
  msgid ""
1668
  "Adds a cancellation option to your booking form, so that customers are able "
1669
  "to cancel their reservations."
1670
  msgstr ""
1671
 
1672
+ #: includes/Settings.class.php:1059
1673
  msgid "Require Phone"
1674
  msgstr ""
1675
 
1676
+ #: includes/Settings.class.php:1060
1677
  msgid "Don't accept booking requests without a phone number."
1678
  msgstr ""
1679
 
1680
+ #: includes/Settings.class.php:1075
1681
  msgid "Pending Confirmation Message"
1682
  msgstr ""
1683
 
1684
+ #: includes/Settings.class.php:1076
1685
  msgid ""
1686
  "Enter the message to display when a booking request is made and is set to "
1687
  "pending confirmation."
1688
  msgstr ""
1689
 
1690
+ #: includes/Settings.class.php:1087
1691
  msgid "Confirmed Booking Message"
1692
  msgstr ""
1693
 
1694
+ #: includes/Settings.class.php:1088
1695
  msgid ""
1696
  "Enter the message to display when a booking is made that has been "
1697
  "automatically confirmed."
1698
  msgstr ""
1699
 
1700
+ #: includes/Settings.class.php:1099
1701
  msgid "Pending Redirect Page"
1702
  msgstr ""
1703
 
1704
+ #: includes/Settings.class.php:1100
1705
  msgid ""
1706
  "Input the URL of the page you want the booking form to redirect to after a "
1707
  "reservation is made that is set to pending. This overrides the \"Pending "
1708
  "Confirmation Message\" text/option."
1709
  msgstr ""
1710
 
1711
+ #: includes/Settings.class.php:1110
1712
  msgid "Confirmed Redirect Page"
1713
  msgstr ""
1714
 
1715
+ #: includes/Settings.class.php:1111
1716
  msgid ""
1717
  "Input the URL of the page you want the booking form to redirect to after a "
1718
  "reservation is made that is automatically confirmed. This overrides the "
1719
  "\"Confirmed Booking Message\" text/option."
1720
  msgstr ""
1721
 
1722
+ #: includes/Settings.class.php:1121
1723
  msgid "Cancellation Redirect Page"
1724
  msgstr ""
1725
 
1726
+ #: includes/Settings.class.php:1122
1727
  msgid ""
1728
  "Input the URL of the page you want the cancellation form to redirect to when "
1729
  "someone cancels their reservation. Only applicable if the \"Allow "
1731
  "success message instead of redirecting."
1732
  msgstr ""
1733
 
1734
+ #: includes/Settings.class.php:1141
1735
  msgid "Date Format"
1736
  msgstr ""
1737
 
1738
+ #: includes/Settings.class.php:1142
1739
  #, php-format
1740
  msgid ""
1741
  "Define how the date is formatted on the booking form. %sFormatting rules%s. "
1743
  "in notification messages, modify your general %sWordPress Settings%s."
1744
  msgstr ""
1745
 
1746
+ #: includes/Settings.class.php:1153
1747
  msgid "Time Format"
1748
  msgstr ""
1749
 
1750
+ #: includes/Settings.class.php:1154
1751
  #, php-format
1752
  msgid ""
1753
  "Define how the time is formatted on the booking form. %sFormatting rules%s. "
1755
  "in notification messages, modify your general %sWordPress Settings%s."
1756
  msgstr ""
1757
 
1758
+ #: includes/Settings.class.php:1165
1759
+ msgid "Display Unavailable Time Slots"
1760
+ msgstr ""
1761
+
1762
+ #: includes/Settings.class.php:1166
1763
+ msgid ""
1764
+ "Display any time slots (greyed out) which are not available for booking on "
1765
+ "the front end."
1766
+ msgstr ""
1767
+
1768
+ #: includes/Settings.class.php:1178
1769
  msgid "Language"
1770
  msgstr ""
1771
 
1772
+ #: includes/Settings.class.php:1179
1773
  msgid ""
1774
  "Select a language to use for the booking form datepicker if it is different "
1775
  "than your WordPress language setting."
1776
  msgstr ""
1777
 
1778
+ #: includes/Settings.class.php:1191
1779
+ msgid "Refresh Bookings Page"
1780
+ msgstr ""
1781
+
1782
+ #: includes/Settings.class.php:1192
1783
+ msgid ""
1784
+ "After how many minutes should the Bookings page be automatically refreshed? "
1785
+ "The minimum is 1 minute and you can disable it by inputting 0 or leaving it "
1786
+ "empty."
1787
+ msgstr ""
1788
+
1789
+ #: includes/Settings.class.php:1200
1790
  msgid "Security"
1791
  msgstr ""
1792
 
1793
+ #: includes/Settings.class.php:1211
1794
  msgid "Banned Email Addresses"
1795
  msgstr ""
1796
 
1797
+ #: includes/Settings.class.php:1212
1798
  msgid ""
1799
  "You can block bookings from specific email addresses. Enter each email "
1800
  "address on a separate line."
1801
  msgstr ""
1802
 
1803
+ #: includes/Settings.class.php:1222
1804
  msgid "Banned IP Addresses"
1805
  msgstr ""
1806
 
1807
+ #: includes/Settings.class.php:1223
1808
  msgid ""
1809
  "You can block bookings from specific IP addresses. Enter each IP address on "
1810
  "a separate line. Be aware that many internet providers rotate their IP "
1814
  "block several people."
1815
  msgstr ""
1816
 
1817
+ #: includes/Settings.class.php:1231
1818
  msgid "Captcha"
1819
  msgstr ""
1820
 
1821
+ #: includes/Settings.class.php:1242
1822
  msgid "Enable Google reCAPTCHA v2"
1823
  msgstr ""
1824
 
1825
+ #: includes/Settings.class.php:1243
1826
  #, php-format
1827
  msgid ""
1828
  "Adds Google's reCAPTCHA code to your form, to verify guests before they can "
1830
  "configure this feature."
1831
  msgstr ""
1832
 
1833
+ #: includes/Settings.class.php:1253
1834
  msgid "Google Site Key"
1835
  msgstr ""
1836
 
1837
+ #: includes/Settings.class.php:1254
1838
  msgid "The site key provided to you by Google"
1839
  msgstr ""
1840
 
1841
+ #: includes/Settings.class.php:1264
1842
  msgid "Google Secret Key"
1843
  msgstr ""
1844
 
1845
+ #: includes/Settings.class.php:1265
1846
  msgid "The secret key provided to you by Google"
1847
  msgstr ""
1848
 
1849
+ #: includes/Settings.class.php:1273
1850
  msgid "Privacy"
1851
  msgstr ""
1852
 
1853
+ #: includes/Settings.class.php:1284
1854
  msgid "Disable IP Capture"
1855
  msgstr ""
1856
 
1857
+ #: includes/Settings.class.php:1285
1858
  msgid ""
1859
  "This turns off the feature that captures the IP address of the device making "
1860
  "the booking."
1861
  msgstr ""
1862
 
1863
+ #: includes/Settings.class.php:1295
1864
  msgid "Require Consent"
1865
  msgstr ""
1866
 
1867
+ #: includes/Settings.class.php:1296
1868
  msgid ""
1869
  "Require customers to consent to the collection of their details when making "
1870
  "a booking. This may be required to comply with privacy laws in your country."
1871
  msgstr ""
1872
 
1873
+ #: includes/Settings.class.php:1306
1874
  msgid "Consent Statement"
1875
  msgstr ""
1876
 
1877
+ #: includes/Settings.class.php:1307
1878
  msgid ""
1879
  "Enter the statement you would like customers to confirm when making a "
1880
  "booking."
1881
  msgstr ""
1882
 
1883
+ #: includes/Settings.class.php:1317
1884
  msgid "Privacy Statement Page"
1885
  msgstr ""
1886
 
1887
+ #: includes/Settings.class.php:1318
1888
  msgid ""
1889
  "Select a page on your site which contains a privacy statement. If selected, "
1890
  "it will be linked to in your consent statement."
1891
  msgstr ""
1892
 
1893
+ #: includes/Settings.class.php:1334
1894
+ msgid "Delete Reservation Data Days"
 
1895
  msgstr ""
1896
 
1897
+ #: includes/Settings.class.php:1335
1898
+ msgid ""
1899
+ "Sets the approximate number of days booking data should be stored for. Leave "
1900
+ "blank to keep booking data indefinitely."
1901
  msgstr ""
1902
 
1903
+ #: includes/Settings.class.php:1344 includes/Settings.class.php:1820
1904
+ msgid "Notifications"
1905
  msgstr ""
1906
 
1907
+ #: includes/Settings.class.php:1353
1908
+ msgid "Daily Summary"
 
 
1909
  msgstr ""
1910
 
1911
+ #: includes/Settings.class.php:1364
1912
+ msgid "Summary Email Address"
1913
  msgstr ""
1914
 
1915
+ #: includes/Settings.class.php:1365
1916
  msgid ""
1917
+ "The email address, if any, where a daily summary of upcoming reservations "
1918
+ "should be emailed."
1919
  msgstr ""
1920
 
1921
+ #: includes/Settings.class.php:1384
1922
+ msgid "Reply-To Name"
1923
  msgstr ""
1924
 
1925
+ #: includes/Settings.class.php:1385
1926
  msgid ""
1927
+ "The name which should appear in the Reply-To field of a user notification "
1928
+ "email"
1929
  msgstr ""
1930
 
1931
+ #: includes/Settings.class.php:1396
1932
+ msgid "Reply-To Email Address"
1933
  msgstr ""
1934
 
1935
+ #: includes/Settings.class.php:1397
1936
+ msgid ""
1937
+ "The email address which should appear in the Reply-To field of a user "
1938
+ "notification email."
1939
  msgstr ""
1940
 
1941
+ #: includes/Settings.class.php:1408
1942
+ msgid "Admin Notification"
1943
  msgstr ""
1944
 
1945
+ #: includes/Settings.class.php:1409
1946
+ msgid ""
1947
+ "Send an email notification to an administrator when a new booking is "
1948
+ "requested."
1949
  msgstr ""
1950
 
1951
+ #: includes/Settings.class.php:1419
1952
+ msgid "Admin New Confirmed Notification"
1953
  msgstr ""
1954
 
1955
+ #: includes/Settings.class.php:1420
1956
+ msgid ""
1957
+ "Send an email notification to an administrator when a new confirmed booking "
1958
+ "is made."
1959
  msgstr ""
1960
 
1961
+ #: includes/Settings.class.php:1430
1962
+ msgid "Admin Cancellation Notification"
1963
  msgstr ""
1964
 
1965
+ #: includes/Settings.class.php:1431
1966
+ msgid ""
1967
+ "Send an email notification to an administrator when a booking is cancelled."
1968
  msgstr ""
1969
 
1970
+ #: includes/Settings.class.php:1441
1971
+ msgid "Admin Email Address"
1972
  msgstr ""
1973
 
1974
+ #: includes/Settings.class.php:1442
1975
+ msgid "The email address where admin notifications should be sent."
1976
  msgstr ""
1977
 
1978
+ #: includes/Settings.class.php:1451
1979
+ msgid "Notification Emails"
 
 
1980
  msgstr ""
1981
 
1982
+ #: includes/Settings.class.php:1453
1983
+ msgid ""
1984
+ "Adjust the messages that are emailed to users and admins during the booking "
1985
+ "process."
1986
  msgstr ""
1987
 
1988
+ #: includes/Settings.class.php:1463
1989
+ msgid "Template Tags"
1990
  msgstr ""
1991
 
1992
+ #: includes/Settings.class.php:1465
1993
+ msgid ""
1994
+ "Use the following tags to automatically add booking information to the "
1995
+ "emails. Tags labeled with an asterisk (*) can be used in the email subject "
1996
+ "as well."
1997
  msgstr ""
1998
 
1999
+ #: includes/Settings.class.php:1476
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2000
  msgid "Admin Notification Subject (Pending Booking)"
2001
  msgstr ""
2002
 
2003
+ #: includes/Settings.class.php:1477
2004
  msgid "The email subject for admin notifications."
2005
  msgstr ""
2006
 
2007
+ #: includes/Settings.class.php:1488
2008
  msgid "Admin Notification Email (Pending Booking)"
2009
  msgstr ""
2010
 
2011
+ #: includes/Settings.class.php:1489
2012
  msgid ""
2013
  "Enter the email an admin should receive when an initial booking request is "
2014
  "made."
2015
  msgstr ""
2016
 
2017
+ #: includes/Settings.class.php:1500
2018
  msgid "Admin Notification Subject (Auto Confirmed Booking)"
2019
  msgstr ""
2020
 
2021
+ #: includes/Settings.class.php:1501
2022
  msgid ""
2023
  "The email subject for admin notifications for automatically-confirmed "
2024
  "bookings."
2025
  msgstr ""
2026
 
2027
+ #: includes/Settings.class.php:1512
2028
  msgid "Admin Notification Email (Auto Confirmed Booking)"
2029
  msgstr ""
2030
 
2031
+ #: includes/Settings.class.php:1513
2032
  msgid ""
2033
  "Enter the email an admin should receive when an automatically-confirmed "
2034
  "booking is made."
2035
  msgstr ""
2036
 
2037
+ #: includes/Settings.class.php:1524
2038
  msgid "Admin Booking Cancelled Subject"
2039
  msgstr ""
2040
 
2041
+ #: includes/Settings.class.php:1525
2042
  msgid "The email subject for admin notifications when a booking is cancelled."
2043
  msgstr ""
2044
 
2045
+ #: includes/Settings.class.php:1536
2046
  msgid "Admin Booking Cancelled Email"
2047
  msgstr ""
2048
 
2049
+ #: includes/Settings.class.php:1537
2050
  msgid "Enter the email an admin should receive when a booking is cancelled."
2051
  msgstr ""
2052
 
2053
+ #: includes/Settings.class.php:1548
2054
  msgid "New Request Email Subject"
2055
  msgstr ""
2056
 
2057
+ #: includes/Settings.class.php:1549
2058
  msgid ""
2059
  "The email subject a user should receive when they make an initial booking "
2060
  "request."
2061
  msgstr ""
2062
 
2063
+ #: includes/Settings.class.php:1560 includes/load-customizer.php:211
2064
  msgid "New Request Email"
2065
  msgstr ""
2066
 
2067
+ #: includes/Settings.class.php:1561
2068
  msgid ""
2069
  "Enter the email a user should receive when they make an initial booking "
2070
  "request."
2071
  msgstr ""
2072
 
2073
+ #: includes/Settings.class.php:1572
2074
  msgid "Confirmed Email Subject"
2075
  msgstr ""
2076
 
2077
+ #: includes/Settings.class.php:1573
2078
  msgid ""
2079
  "The email subject a user should receive when their booking has been "
2080
  "confirmed."
2081
  msgstr ""
2082
 
2083
+ #: includes/Settings.class.php:1584 includes/load-customizer.php:251
2084
  msgid "Confirmed Email"
2085
  msgstr ""
2086
 
2087
+ #: includes/Settings.class.php:1585
2088
  msgid ""
2089
  "Enter the email a user should receive when their booking has been confirmed."
2090
  msgstr ""
2091
 
2092
+ #: includes/Settings.class.php:1596
2093
  msgid "Rejected Email Subject"
2094
  msgstr ""
2095
 
2096
+ #: includes/Settings.class.php:1597
2097
  msgid ""
2098
  "The email subject a user should receive when their booking has been rejected."
2099
  msgstr ""
2100
 
2101
+ #: includes/Settings.class.php:1608 includes/load-customizer.php:291
2102
  msgid "Rejected Email"
2103
  msgstr ""
2104
 
2105
+ #: includes/Settings.class.php:1609
2106
  msgid ""
2107
  "Enter the email a user should receive when their booking has been rejected."
2108
  msgstr ""
2109
 
2110
+ #: includes/Settings.class.php:1620
2111
  msgid "Booking Cancelled Email Subject"
2112
  msgstr ""
2113
 
2114
+ #: includes/Settings.class.php:1621
2115
  msgid ""
2116
  "The email subject a user should receive when they have cancelled their "
2117
  "booking."
2118
  msgstr ""
2119
 
2120
+ #: includes/Settings.class.php:1632
2121
  msgid "Booking Cancelled Email"
2122
  msgstr ""
2123
 
2124
+ #: includes/Settings.class.php:1633
2125
  msgid "Enter the email a user should receive when they cancel their booking."
2126
  msgstr ""
2127
 
2128
+ #: includes/Settings.class.php:1644
2129
  msgid "Admin Update Subject"
2130
  msgstr ""
2131
 
2132
+ #: includes/Settings.class.php:1645
2133
  #, php-format
2134
  msgid ""
2135
  "The email subject a user should receive when an admin sends them a custom "
2136
  "email message from the %sbookings panel%s."
2137
  msgstr ""
2138
 
2139
+ #: includes/Settings.class.php:1656 includes/Settings.class.php:1699
2140
+ #: includes/Settings.class.php:1837
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2141
  msgid "Payments"
2142
  msgstr ""
2143
 
2144
+ #: includes/Settings.class.php:1680 includes/Settings.class.php:1802
2145
+ msgid "Advanced"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2146
  msgstr ""
2147
 
2148
+ #: includes/Settings.class.php:1718 includes/Settings.class.php:1853
2149
+ msgid "Export"
 
 
 
2150
  msgstr ""
2151
 
2152
+ #: includes/Settings.class.php:1737 includes/Settings.class.php:1868
2153
  msgid "Styling"
2154
  msgstr ""
2155
 
2156
+ #: includes/Settings.class.php:1780
2157
+ msgid "The premium version also gives you access to the following features:"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2158
  msgstr ""
2159
 
2160
+ #: includes/Settings.class.php:1782
2161
+ msgid "Multiple Form Layouts"
2162
  msgstr ""
2163
 
2164
+ #: includes/Settings.class.php:1783
2165
+ msgid "Custom Booking Fields"
2166
  msgstr ""
2167
 
2168
+ #: includes/Settings.class.php:1784
2169
+ msgid "Advanced Email Designer"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2170
  msgstr ""
2171
 
2172
+ #: includes/Settings.class.php:1785
2173
+ msgid "Set Table and Seat Restrictions"
2174
  msgstr ""
2175
 
2176
+ #: includes/Settings.class.php:1786
2177
+ msgid "Automatic Booking Confirmation"
2178
  msgstr ""
2179
 
2180
+ #: includes/Settings.class.php:1787
2181
+ msgid "Bookings Page for Staff"
2182
  msgstr ""
2183
 
2184
+ #: includes/Settings.class.php:1788
2185
+ msgid "Export Bookings"
2186
  msgstr ""
2187
 
2188
+ #: includes/Settings.class.php:1789
2189
+ msgid "Email Support"
2190
  msgstr ""
2191
 
2192
+ #: includes/Settings.class.php:1792
2193
+ msgid "UPGRADE NOW"
2194
  msgstr ""
2195
 
2196
+ #: includes/Settings.class.php:1802 includes/Settings.class.php:1820
2197
+ msgid "Premium/Ultimate"
2198
  msgstr ""
2199
 
2200
+ #: includes/Settings.class.php:1803
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2201
  msgid ""
2202
+ "The advanced options let you set a maximum number of reservations or people, "
2203
+ "enable automatic confirmation of bookings, configure a view bookings page "
2204
+ "for your site that staff can use to see upcoming reservations and check "
2205
+ "people in, and more. The table settings let you create different sections "
2206
+ "for your restaurant, and then also create individual tables and assign them "
2207
+ "to specific sections. You can then allow your customers to choose a table "
2208
+ "when they book and/or manage the tables in the admin."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2209
  msgstr ""
2210
 
2211
+ #: includes/Settings.class.php:1821
2212
  msgid ""
2213
+ "The email template designer uses the WordPress customizer to let you modify "
2214
+ "the look and structure of the notification emails. The reminders section "
2215
+ "allows you to set up reservation reminders - SMS or email - which are sent "
2216
+ "at a chosen interval before the booking, as well as late arrival "
2217
+ "notifications - SMS or email - which are sent at a chosen interval after the "
2218
+ "booking time has passed."
2219
  msgstr ""
2220
 
2221
+ #: includes/Settings.class.php:1838
 
 
 
 
2222
  msgid ""
2223
+ "The payment options let you require a deposit for bookings, either via "
2224
+ "PayPal or Stripe. Deposits can be made conditional on a minimum party size "
2225
+ "or only for certain days/times."
 
 
 
 
 
 
 
2226
  msgstr ""
2227
 
2228
+ #: includes/Settings.class.php:1854
 
 
 
 
2229
  msgid ""
2230
+ "You can export all your bookings to a PDF file, for use by your staff to "
2231
+ "manage upcoming bookings, for accounting purposes etc."
 
 
 
 
 
 
 
 
 
 
 
2232
  msgstr ""
2233
 
2234
+ #: includes/Settings.class.php:1869
2235
  msgid ""
2236
+ "The styling options let you choose a booking form layout and modify the "
2237
+ "colors, font family, font size and borders of the various elements found in "
2238
+ "the booking form."
2239
  msgstr ""
2240
 
2241
+ #: includes/Settings.class.php:1896
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2242
  msgid "Any size"
2243
  msgstr ""
2244
 
2245
+ #: includes/Settings.class.php:2059
2246
  #: includes/integrations/business-profile.php:100
2247
  msgid "Book a table"
2248
  msgstr ""
2249
 
2250
+ #: includes/Settings.class.php:2087
2251
  msgid "Contact Details"
2252
  msgstr ""
2253
 
2254
+ #: includes/Settings.class.php:2113
2255
  msgid "Add a Message"
2256
  msgstr ""
2257
 
2258
+ #: includes/Settings.class.php:2215
2259
  msgid "Email of the user who made the booking"
2260
  msgstr ""
2261
 
2262
+ #: includes/Settings.class.php:2216
2263
  msgid "* Name of the user who made the booking"
2264
  msgstr ""
2265
 
2266
+ #: includes/Settings.class.php:2217
2267
  msgid "* Number of people booked"
2268
  msgstr ""
2269
 
2270
+ #: includes/Settings.class.php:2218
2271
  msgid "* Date and time of the booking"
2272
  msgstr ""
2273
 
2274
+ #: includes/Settings.class.php:2219
2275
  msgid "Phone number if supplied with the request"
2276
  msgstr ""
2277
 
2278
+ #: includes/Settings.class.php:2220
2279
  msgid "Message added to the request"
2280
  msgstr ""
2281
 
2282
+ #: includes/Settings.class.php:2221
2283
  msgid "A link to the admin panel showing pending bookings"
2284
  msgstr ""
2285
 
2286
+ #: includes/Settings.class.php:2222
2287
  msgid ""
2288
  "A link that a guest can use to cancel their booking if cancellations are "
2289
  "enabled"
2290
  msgstr ""
2291
 
2292
+ #: includes/Settings.class.php:2223
2293
  msgid ""
2294
  "A link to confirm this booking. Only include this in admin notifications"
2295
  msgstr ""
2296
 
2297
+ #: includes/Settings.class.php:2224
2298
  msgid "A link to reject this booking. Only include this in admin notifications"
2299
  msgstr ""
2300
 
2301
+ #: includes/Settings.class.php:2225
2302
  msgid "The name of this website"
2303
  msgstr ""
2304
 
2305
+ #: includes/Settings.class.php:2226
2306
  msgid "A link to this website"
2307
  msgstr ""
2308
 
2309
+ #: includes/Settings.class.php:2227
2310
  msgid "Current date and time"
2311
  msgstr ""
2312
 
2313
+ #: includes/Settings.class.php:2228
2314
  msgid "The table(s) for the booking"
2315
  msgstr ""
2316
 
2317
+ #: includes/WP_List_Table.BookingsTable.class.php:321
2318
  msgid "Upcoming"
2319
  msgstr ""
2320
 
2321
+ #: includes/WP_List_Table.BookingsTable.class.php:332
2322
  msgid "Today"
2323
  msgstr ""
2324
 
2325
+ #: includes/WP_List_Table.BookingsTable.class.php:343
2326
  msgid "Past"
2327
  msgstr ""
2328
 
2329
+ #: includes/WP_List_Table.BookingsTable.class.php:354
2330
+ #: includes/WP_List_Table.BookingsTable.class.php:431
2331
  msgid "All"
2332
  msgstr ""
2333
 
2334
+ #: includes/WP_List_Table.BookingsTable.class.php:396
2335
  msgid "Start Date:"
2336
  msgstr ""
2337
 
2338
+ #: includes/WP_List_Table.BookingsTable.class.php:397
2339
  msgid "Start Date"
2340
  msgstr ""
2341
 
2342
+ #: includes/WP_List_Table.BookingsTable.class.php:398
2343
  msgid "Start Time"
2344
  msgstr ""
2345
 
2346
+ #: includes/WP_List_Table.BookingsTable.class.php:401
2347
  msgid "End Date:"
2348
  msgstr ""
2349
 
2350
+ #: includes/WP_List_Table.BookingsTable.class.php:402
2351
  msgid "End Date"
2352
  msgstr ""
2353
 
2354
+ #: includes/WP_List_Table.BookingsTable.class.php:403
2355
  msgid "End Time"
2356
  msgstr ""
2357
 
2358
+ #: includes/WP_List_Table.BookingsTable.class.php:406
2359
  msgid "Apply"
2360
  msgstr ""
2361
 
2362
+ #: includes/WP_List_Table.BookingsTable.class.php:409
2363
  msgid "Clear Filter"
2364
  msgstr ""
2365
 
2366
+ #: includes/WP_List_Table.BookingsTable.class.php:439
2367
+ #: includes/WP_List_Table.BookingsTable.class.php:608
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2368
  msgid "Trash"
2369
  msgstr ""
2370
 
2371
+ #: includes/WP_List_Table.BookingsTable.class.php:548
 
 
 
 
2372
  msgid "ID"
2373
  msgstr ""
2374
 
2375
+ #: includes/WP_List_Table.BookingsTable.class.php:575
 
 
 
 
 
 
 
 
 
 
2376
  msgid "Submitted By"
2377
  msgstr ""
2378
 
2379
+ #: includes/WP_List_Table.BookingsTable.class.php:603
2380
  msgid "Loading"
2381
  msgstr ""
2382
 
2383
+ #: includes/WP_List_Table.BookingsTable.class.php:607
2384
  msgid "Edit"
2385
  msgstr ""
2386
 
2387
+ #: includes/WP_List_Table.BookingsTable.class.php:690
2388
  msgid "Unknown IP"
2389
  msgstr ""
2390
 
2391
+ #: includes/WP_List_Table.BookingsTable.class.php:691
2392
  msgid "Unknown Date"
2393
  msgstr ""
2394
 
2395
+ #: includes/WP_List_Table.BookingsTable.class.php:702
2396
  msgid "Ban"
2397
  msgstr ""
2398
 
2399
+ #: includes/WP_List_Table.BookingsTable.class.php:705
2400
  msgid "Delete Customer"
2401
  msgstr ""
2402
 
2403
+ #: includes/WP_List_Table.BookingsTable.class.php:768
 
 
2404
  msgid "Delete"
2405
  msgstr ""
2406
 
2407
+ #: includes/WP_List_Table.BookingsTable.class.php:769
2408
  msgid "Set To Confirmed"
2409
  msgstr ""
2410
 
2411
+ #: includes/WP_List_Table.BookingsTable.class.php:770
2412
  msgid "Set To Pending Review"
2413
  msgstr ""
2414
 
2415
+ #: includes/WP_List_Table.BookingsTable.class.php:771
2416
  msgid "Set To Closed"
2417
  msgstr ""
2418
 
2419
+ #: includes/WP_List_Table.BookingsTable.class.php:1032
2420
  msgid "You're viewing bookings that have been moved to the trash."
2421
  msgstr ""
2422
 
2423
+ #: includes/WP_List_Table.BookingsTable.class.php:1041
2424
  msgid "Only today's bookings are being shown."
2425
  msgstr ""
2426
 
2427
+ #: includes/WP_List_Table.BookingsTable.class.php:1043
2428
  msgid "Only upcoming bookings are being shown."
2429
  msgstr ""
2430
 
2436
  msgid "Title"
2437
  msgstr ""
2438
 
2439
+ #: includes/class-designer.php:64 includes/load-customizer.php:536
2440
  msgid ""
2441
  "This message was sent by {site_link} on {current_time}. You are receiving "
2442
  "this email because we received a booking request from this email address."
2443
  msgstr ""
2444
 
2445
+ #: includes/class-designer.php:182 includes/load-customizer.php:672
2446
  msgid "Book Another Time"
2447
  msgstr ""
2448
 
2493
  msgid "Footer Contact Details"
2494
  msgstr ""
2495
 
2496
+ #: includes/load-customizer.php:81
2497
  msgid "No Email Template"
2498
  msgstr ""
2499
 
2500
+ #: includes/load-customizer.php:89
2501
  msgid "Logo & Colors"
2502
  msgstr ""
2503
 
2504
+ #: includes/load-customizer.php:99
2505
  msgid "Logo"
2506
  msgstr ""
2507
 
2508
+ #: includes/load-customizer.php:112
2509
  msgid "Primary Color"
2510
  msgstr ""
2511
 
2512
+ #: includes/load-customizer.php:124
2513
  msgid "Primary Text Color"
2514
  msgstr ""
2515
 
2516
+ #: includes/load-customizer.php:125
2517
  msgid ""
2518
  "Some templates display text on a background of the Primary Color. Adjust the "
2519
  "text color in these cases to make sure it can be read easily."
2520
  msgstr ""
2521
 
2522
+ #: includes/load-customizer.php:137
2523
  msgid "Button Color"
2524
  msgstr ""
2525
 
2526
+ #: includes/load-customizer.php:138
2527
  msgid ""
2528
  "Some emails include a button. Select a background color for these buttons."
2529
  msgstr ""
2530
 
2531
+ #: includes/load-customizer.php:150
2532
  msgid "Button Text Color"
2533
  msgstr ""
2534
 
2535
+ #: includes/load-customizer.php:151
2536
  msgid "Some templates include a button. Select a text color for these buttons"
2537
  msgstr ""
2538
 
2539
+ #: includes/load-customizer.php:161
2540
  msgid "Email Acknowledgement"
2541
  msgstr ""
2542
 
2543
+ #: includes/load-customizer.php:163
2544
  msgid ""
2545
  "Display a brief acknowledgement of why the user is receiving this message at "
2546
  "the bottom of the email."
2547
  msgstr ""
2548
 
2549
+ #: includes/load-customizer.php:171
2550
  msgid "Admin Notification Email"
2551
  msgstr ""
2552
 
2553
+ #: includes/load-customizer.php:172
2554
  msgid "The email sent to the admin when a new booking is made."
2555
  msgstr ""
2556
 
2557
+ #: includes/load-customizer.php:182 includes/load-customizer.php:222
2558
+ #: includes/load-customizer.php:262 includes/load-customizer.php:302
2559
+ #: includes/load-customizer.php:356 includes/load-customizer.php:395
2560
+ #: includes/load-customizer.php:435
2561
  msgid "Template"
2562
  msgstr ""
2563
 
2564
+ #: includes/load-customizer.php:191 includes/load-customizer.php:231
2565
+ #: includes/load-customizer.php:271 includes/load-customizer.php:311
2566
+ #: includes/load-customizer.php:365 includes/load-customizer.php:406
2567
+ #: includes/load-customizer.php:446
2568
  msgid "Lead Sentence"
2569
  msgstr ""
2570
 
2571
+ #: includes/load-customizer.php:201 includes/load-customizer.php:241
2572
+ #: includes/load-customizer.php:281 includes/load-customizer.php:331
2573
+ #: includes/load-customizer.php:375 includes/load-customizer.php:416
2574
+ #: includes/load-customizer.php:456
2575
  msgid "Footer Message"
2576
  msgstr ""
2577
 
2578
+ #: includes/load-customizer.php:212
2579
  msgid "The email a user receives when they make an initial booking request."
2580
  msgstr ""
2581
 
2582
+ #: includes/load-customizer.php:252
2583
  msgid "The email a user receives when their booking is confirmed."
2584
  msgstr ""
2585
 
2586
+ #: includes/load-customizer.php:292
2587
  msgid "The email a user receives when their booking has been rejected."
2588
  msgstr ""
2589
 
2590
+ #: includes/load-customizer.php:321
2591
  msgid "Book Again Label"
2592
  msgstr ""
2593
 
2594
+ #: includes/load-customizer.php:341
2595
  msgid "Admin Update"
2596
  msgstr ""
2597
 
2598
+ #: includes/load-customizer.php:343
2599
  #, php-format
2600
  msgid ""
2601
  "The email a user receives when an admin sends them a custom email message "
2602
  "from the %sbookings panel%s."
2603
  msgstr ""
2604
 
2605
+ #: includes/load-customizer.php:385
2606
  msgid "User Reminder"
2607
  msgstr ""
2608
 
2609
+ #: includes/load-customizer.php:386
2610
  msgid "The email a user receives as a reminder of the reservation."
2611
  msgstr ""
2612
 
2613
+ #: includes/load-customizer.php:425
2614
  msgid "User Late"
2615
  msgstr ""
2616
 
2617
+ #: includes/load-customizer.php:426
2618
  msgid "The email a user receives when they are late for their reservation."
2619
  msgstr ""
2620
 
2621
+ #: includes/template-functions.php:166
2622
  #, php-format
2623
  msgid ""
2624
  "Your reservation deposit payment has failed with the following message \"%s"
2625
  "\" Please contact the site administrator for assistance."
2626
  msgstr ""
2627
 
2628
+ #: includes/template-functions.php:188
2629
  msgid "Your reservation has been successfully cancelled."
2630
  msgstr ""
2631
 
2632
+ #: includes/template-functions.php:193 restaurant-reservations.php:522
2633
  msgid "Want to modify your reservation?"
2634
  msgstr ""
2635
 
2636
+ #: includes/template-functions.php:196
2637
  msgid "Use the form below to modify your reservation"
2638
  msgstr ""
2639
 
2640
+ #: includes/template-functions.php:197
2641
  msgid "Email:"
2642
  msgstr ""
2643
 
2644
+ #: includes/template-functions.php:200
2645
  msgid "Find Reservations"
2646
  msgstr ""
2647
 
2648
+ #: includes/template-functions.php:255
2649
  msgid "Proceed to Deposit"
2650
  msgstr ""
2651
 
2652
+ #: includes/template-functions.php:256
2653
+ msgid "Request Booking or Proceed to Deposit"
2654
  msgstr ""
2655
 
2656
+ #: includes/template-functions.php:257
2657
+ msgid "Request Booking"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2658
  msgstr ""
2659
 
2660
+ #: includes/template-functions.php:387
2661
  msgid "Set reservation status to 'Arrived'?"
2662
  msgstr ""
2663
 
2664
+ #: includes/template-functions.php:398
2665
  msgid "Arrived"
2666
  msgstr ""
2667
 
2669
  msgid "You do not have sufficient permissions to access this page."
2670
  msgstr ""
2671
 
2672
+ #: lib/simple-admin-pages/classes/AdminPageSetting.FileUpload.class.php:48
2673
+ msgid "Current image:"
2674
+ msgstr ""
2675
+
2676
+ #: lib/simple-admin-pages/classes/AdminPageSetting.FileUpload.class.php:61
2677
+ msgid "Upload Image"
2678
+ msgstr ""
2679
+
2680
+ #: restaurant-reservations.php:273
2681
  msgid "Booking Manager"
2682
  msgstr ""
2683
 
2684
+ #: restaurant-reservations.php:404
2685
  msgid "MENU"
2686
  msgstr ""
2687
 
2688
+ #: restaurant-reservations.php:405
2689
  msgid "Dashboard"
2690
  msgstr ""
2691
 
2692
+ #: restaurant-reservations.php:408
2693
  msgid "Custom Fields"
2694
  msgstr ""
2695
 
2696
+ #: restaurant-reservations.php:523
2697
  msgid "Make a reservation"
2698
  msgstr ""
2699
 
2700
+ #: restaurant-reservations.php:524
2701
  msgid "guest"
2702
  msgstr ""
2703
 
2704
+ #: restaurant-reservations.php:525
2705
  msgid "guests"
2706
  msgstr ""
2707
 
2708
+ #: restaurant-reservations.php:527
2709
  msgid "Cancelled"
2710
  msgstr ""
2711
 
2712
+ #: restaurant-reservations.php:550
2713
  msgid "View the help documentation for Restaurant Reservations"
2714
  msgstr ""
2715
 
2716
+ #: restaurant-reservations.php:550
2717
  msgid "Help"
2718
  msgstr ""
2719
+
2720
+ #: restaurant-reservations.php:639
2721
+ msgid ""
2722
+ "You're using the Five-Star Restaurant Reservations premium version, but the "
2723
+ "premium helper plugin is not active."
2724
+ msgstr ""
2725
+
2726
+ #: restaurant-reservations.php:641
2727
+ #, php-format
2728
+ msgid ""
2729
+ "Please re-activate the helper plugin, or <a target='_blank' "
2730
+ "href='%s'>download and install it</a> if the plugin is no longer installed "
2731
+ "to ensure continued access to the premium features of the plugin."
2732
+ msgstr ""
lib/simple-admin-pages/classes/AdminPage.Menu.class.php CHANGED
@@ -8,7 +8,7 @@
8
  * @package Simple Admin Pages
9
  */
10
 
11
- class sapAdminPageMenu_2_6_3 extends sapAdminPage_2_6_3 {
12
 
13
  public $setup_function = 'add_menu_page'; // WP function to register the page
14
 
8
  * @package Simple Admin Pages
9
  */
10
 
11
+ class sapAdminPageMenu_2_6_5 extends sapAdminPage_2_6_5 {
12
 
13
  public $setup_function = 'add_menu_page'; // WP function to register the page
14
 
lib/simple-admin-pages/classes/AdminPage.Submenu.class.php CHANGED
@@ -8,7 +8,7 @@
8
  * @package Simple Admin Pages
9
  */
10
 
11
- class sapAdminPageSubmenu_2_6_3 extends sapAdminPage_2_6_3 {
12
 
13
  public $setup_function = 'add_submenu_page'; // WP function to register the page
14
 
8
  * @package Simple Admin Pages
9
  */
10
 
11
+ class sapAdminPageSubmenu_2_6_5 extends sapAdminPage_2_6_5 {
12
 
13
  public $setup_function = 'add_submenu_page'; // WP function to register the page
14
 
lib/simple-admin-pages/classes/AdminPage.Themes.class.php CHANGED
@@ -8,7 +8,7 @@
8
  * @package Simple Admin Pages
9
  */
10
 
11
- class sapAdminPageThemes_2_6_3 extends sapAdminPage_2_6_3 {
12
 
13
  public $setup_function = 'add_theme_page'; // WP function to register the page
14
 
8
  * @package Simple Admin Pages
9
  */
10
 
11
+ class sapAdminPageThemes_2_6_5 extends sapAdminPage_2_6_5 {
12
 
13
  public $setup_function = 'add_theme_page'; // WP function to register the page
14
 
lib/simple-admin-pages/classes/AdminPage.class.php CHANGED
@@ -7,7 +7,7 @@
7
  * @package Simple Admin Pages
8
  */
9
 
10
- class sapAdminPage_2_6_3 {
11
 
12
  public $title;
13
  public $menu_title;
@@ -115,7 +115,7 @@ class sapAdminPage_2_6_3 {
115
  }
116
 
117
  // Get the current page/tab so we only update those settings
118
- parse_str( $_POST['_wp_http_referer'], $referrer );
119
  $current_page = $this->get_current_page( $referrer );
120
 
121
  // Use a new empty value so only values for settings that were added are
@@ -150,7 +150,7 @@ class sapAdminPage_2_6_3 {
150
  public function get_current_page( $request ) {
151
 
152
  if ( !empty( $request['tab'] ) ) {
153
- return $request['tab'];
154
  } elseif ( !empty( $this->default_tab ) ) {
155
  return $this->default_tab;
156
  } else {
@@ -175,8 +175,28 @@ class sapAdminPage_2_6_3 {
175
 
176
  $current_page = $this->get_current_page( $_GET );
177
 
178
- $this->order_tabs_by_rank();
179
- $this->order_sections_by_rank();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
180
 
181
  ?>
182
 
@@ -236,62 +256,4 @@ class sapAdminPage_2_6_3 {
236
  <?php
237
  }
238
 
239
- /**
240
- * Order the tabs as per the value of rank
241
- * @since 2.6
242
- */
243
- public function order_tabs_by_rank()
244
- {
245
- // Fetch and Order sections/tabs
246
- $tab_list = [];
247
- $section_list = [];
248
- foreach( $this->sections as $id => $section ) {
249
- if ( isset( $section->is_tab ) && $section->is_tab === true ) {
250
- if( property_exists( $section, 'rank' ) && count( $tab_list ) > $section->rank ) {
251
- // array start from 0, rank start from 1
252
- array_splice($tab_list, ($section->rank - 1), 0, [$id => $section]);
253
- }
254
- else {
255
- $tab_list[$id] = $section;
256
- }
257
- }
258
- else {
259
- $section_list[$id] = $section;
260
- }
261
- }
262
-
263
- $this->sections = array_merge($tab_list, $section_list);
264
- }
265
-
266
- /**
267
- * Order the sections in tabs as per the value of rank
268
- * @since 2.6
269
- */
270
- public function order_sections_by_rank()
271
- {
272
- // Fetch and Order sections/tabs
273
- $tab_list = [];
274
- $non_tab_list = [];
275
- foreach( $this->sections as $id => $section ) {
276
- if ( isset( $section->is_tab ) && $section->is_tab == true ) {
277
- $tab_list[$id] = $section;
278
- }
279
- else {
280
- $non_tab_list[$id] = $section;
281
- }
282
- }
283
-
284
- foreach( $this->sections as $id => $section ) {
285
- if ( empty( $section->is_tab ) ) {
286
- if( property_exists( $section, 'rank' ) && count( $non_tab_list ) > $section->rank ) {
287
- // array start from 0, rank start from 1
288
- unset( $non_tab_list[$id]);
289
- array_splice($non_tab_list, ($section->rank - 1), 0, [$id => $section]);
290
- }
291
- }
292
- }
293
-
294
- $this->sections = array_merge($tab_list, $non_tab_list);
295
- }
296
-
297
  }
7
  * @package Simple Admin Pages
8
  */
9
 
10
+ class sapAdminPage_2_6_5 {
11
 
12
  public $title;
13
  public $menu_title;
115
  }
116
 
117
  // Get the current page/tab so we only update those settings
118
+ parse_str( sanitize_url( $_POST['_wp_http_referer'] ), $referrer );
119
  $current_page = $this->get_current_page( $referrer );
120
 
121
  // Use a new empty value so only values for settings that were added are
150
  public function get_current_page( $request ) {
151
 
152
  if ( !empty( $request['tab'] ) ) {
153
+ return sanitize_text_field( $request['tab'] );
154
  } elseif ( !empty( $this->default_tab ) ) {
155
  return $this->default_tab;
156
  } else {
175
 
176
  $current_page = $this->get_current_page( $_GET );
177
 
178
+ // Fetch and Order sections/tabs
179
+ $tab_list = []; $non_tab_list = []; $bottom = 1000;
180
+ foreach( $this->sections as $section ) {
181
+ if ( isset( $section->is_tab ) && $section->is_tab === true ) {
182
+ if( property_exists( $section, 'rank' ) ) {
183
+ // array start from 0, rank start from 1
184
+ $tab_list[ $section->rank - 1 ][] = $section;
185
+ }
186
+ else {
187
+ $tab_list[$bottom][] = $section;
188
+ }
189
+ } else {
190
+ $non_tab_list[] = $section;
191
+ }
192
+ }
193
+
194
+ $this->sections = [];
195
+ ksort($tab_list);
196
+ foreach ($tab_list as $rank => $sub_list) {
197
+ $this->sections = array_merge( $this->sections, $sub_list );
198
+ }
199
+ $this->sections = array_merge( $this->sections, $non_tab_list );
200
 
201
  ?>
202
 
256
  <?php
257
  }
258
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
259
  }
lib/simple-admin-pages/classes/AdminPageSection.class.php CHANGED
@@ -7,7 +7,7 @@
7
  * @package Simple Admin Pages
8
  */
9
 
10
- class sapAdminPageSection_2_6_3 {
11
 
12
  // Page defaults
13
  public $id; // unique id for this section
7
  * @package Simple Admin Pages
8
  */
9
 
10
+ class sapAdminPageSection_2_6_5 {
11
 
12
  // Page defaults
13
  public $id; // unique id for this section
lib/simple-admin-pages/classes/AdminPageSetting.Address.class.php CHANGED
@@ -7,7 +7,7 @@
7
  * @package Simple Admin Pages
8
  */
9
 
10
- class sapAdminPageSettingAddress_2_6_3 extends sapAdminPageSetting_2_6_3 {
11
 
12
  /*
13
  * Size of this textarea
7
  * @package Simple Admin Pages
8
  */
9
 
10
+ class sapAdminPageSettingAddress_2_6_5 extends sapAdminPageSetting_2_6_5 {
11
 
12
  /*
13
  * Size of this textarea
lib/simple-admin-pages/classes/AdminPageSetting.Checkbox.class.php CHANGED
@@ -19,7 +19,7 @@
19
  * @package Simple Admin Pages
20
  */
21
 
22
- class sapAdminPageSettingCheckbox_2_6_3 extends sapAdminPageSetting_2_6_3 {
23
 
24
  //public $sanitize_callback = 'sanitize_text_field';
25
 
19
  * @package Simple Admin Pages
20
  */
21
 
22
+ class sapAdminPageSettingCheckbox_2_6_5 extends sapAdminPageSetting_2_6_5 {
23
 
24
  //public $sanitize_callback = 'sanitize_text_field';
25
 
lib/simple-admin-pages/classes/AdminPageSetting.ColorPicker.class.php CHANGED
@@ -7,7 +7,7 @@
7
  * @package Simple Admin Pages
8
  */
9
 
10
- class sapAdminPageSettingColorPicker_2_6_3 extends sapAdminPageSetting_2_6_3 {
11
 
12
  public $sanitize_callback = 'sanitize_text_field';
13
 
7
  * @package Simple Admin Pages
8
  */
9
 
10
+ class sapAdminPageSettingColorPicker_2_6_5 extends sapAdminPageSetting_2_6_5 {
11
 
12
  public $sanitize_callback = 'sanitize_text_field';
13
 
lib/simple-admin-pages/classes/AdminPageSetting.Count.class.php CHANGED
@@ -24,7 +24,7 @@
24
  * @package Simple Admin Pages
25
  */
26
 
27
- class sapAdminPageSettingCount_2_6_3 extends sapAdminPageSetting_2_6_3 {
28
 
29
  public $sanitize_callback = 'sanitize_text_field';
30
 
24
  * @package Simple Admin Pages
25
  */
26
 
27
+ class sapAdminPageSettingCount_2_6_5 extends sapAdminPageSetting_2_6_5 {
28
 
29
  public $sanitize_callback = 'sanitize_text_field';
30
 
lib/simple-admin-pages/classes/AdminPageSetting.Editor.class.php CHANGED
@@ -7,7 +7,7 @@
7
  * @package Simple Admin Pages
8
  */
9
 
10
- class sapAdminPageSettingEditor_2_6_3 extends sapAdminPageSetting_2_6_3 {
11
 
12
  public $sanitize_callback = 'wp_kses_post';
13
 
7
  * @package Simple Admin Pages
8
  */
9
 
10
+ class sapAdminPageSettingEditor_2_6_5 extends sapAdminPageSetting_2_6_5 {
11
 
12
  public $sanitize_callback = 'wp_kses_post';
13
 
lib/simple-admin-pages/classes/AdminPageSetting.FileUpload.class.php CHANGED
@@ -15,7 +15,7 @@
15
  * @package Simple Admin Pages
16
  */
17
 
18
- class sapAdminPageSettingFileUpload_2_6_3 extends sapAdminPageSetting_2_6_3 {
19
 
20
  public $sanitize_callback = 'esc_url_raw';
21
 
15
  * @package Simple Admin Pages
16
  */
17
 
18
+ class sapAdminPageSettingFileUpload_2_6_5 extends sapAdminPageSetting_2_6_5 {
19
 
20
  public $sanitize_callback = 'esc_url_raw';
21
 
lib/simple-admin-pages/classes/AdminPageSetting.HTML.class.php CHANGED
@@ -14,7 +14,7 @@
14
  * @package Simple Admin Pages
15
  */
16
 
17
- class sapAdminPageSettingHTML_2_6_3 extends sapAdminPageSetting_2_6_3 {
18
 
19
  public $sanitize_callback = 'sanitize_text_field';
20
 
14
  * @package Simple Admin Pages
15
  */
16
 
17
+ class sapAdminPageSettingHTML_2_6_5 extends sapAdminPageSetting_2_6_5 {
18
 
19
  public $sanitize_callback = 'sanitize_text_field';
20
 
lib/simple-admin-pages/classes/AdminPageSetting.Image.class.php CHANGED
@@ -7,7 +7,7 @@
7
  * @package Simple Admin Pages
8
  */
9
 
10
- class sapAdminPageSettingImage_2_6_3 extends sapAdminPageSetting_2_6_3 {
11
 
12
  public $sanitize_callback = 'absint';
13
 
7
  * @package Simple Admin Pages
8
  */
9
 
10
+ class sapAdminPageSettingImage_2_6_5 extends sapAdminPageSetting_2_6_5 {
11
 
12
  public $sanitize_callback = 'absint';
13
 
lib/simple-admin-pages/classes/AdminPageSetting.InfiniteTable.class.php CHANGED
@@ -24,7 +24,7 @@
24
  * @package Simple Admin Pages
25
  */
26
 
27
- class sapAdminPageSettingInfiniteTable_2_6_3 extends sapAdminPageSetting_2_6_3 {
28
 
29
  public $sanitize_callback = 'sanitize_textarea_field';
30
 
@@ -216,4 +216,15 @@ class sapAdminPageSettingInfiniteTable_2_6_3 extends sapAdminPageSetting_2_6_3 {
216
  }
217
  }
218
 
 
 
 
 
 
 
 
 
 
 
 
219
  }
24
  * @package Simple Admin Pages
25
  */
26
 
27
+ class sapAdminPageSettingInfiniteTable_2_6_5 extends sapAdminPageSetting_2_6_5 {
28
 
29
  public $sanitize_callback = 'sanitize_textarea_field';
30
 
216
  }
217
  }
218
 
219
+ /**
220
+ * Get the default value for a setting if value is currently empty
221
+ * Uses a fallback value rather than the default $this->value, used in the main class
222
+ *
223
+ * @since 2.6.4
224
+ */
225
+ public function get_default_setting( $fallback_value = array() ) {
226
+
227
+ return ! empty( $this->default ) ? $this->default : $fallback_value;
228
+ }
229
+
230
  }
lib/simple-admin-pages/classes/AdminPageSetting.McApiKey.class.php CHANGED
@@ -14,7 +14,7 @@
14
  *
15
  */
16
 
17
- class mcfrtbAdminPageSettingMcApiKey_2_6_3 {
18
 
19
  /**
20
  * Scripts and styles to load for this component
14
  *
15
  */
16
 
17
+ class mcfrtbAdminPageSettingMcApiKey_2_6_5 {
18
 
19
  /**
20
  * Scripts and styles to load for this component
lib/simple-admin-pages/classes/AdminPageSetting.McListMerge.class.php CHANGED
@@ -14,7 +14,7 @@
14
  *
15
  */
16
 
17
- class mcfrtbAdminPageSettingMcListMerge_2_6_3 {
18
 
19
  /**
20
  * Scripts and styles to load for this component
14
  *
15
  */
16
 
17
+ class mcfrtbAdminPageSettingMcListMerge_2_6_5 {
18
 
19
  /**
20
  * Scripts and styles to load for this component
lib/simple-admin-pages/classes/AdminPageSetting.Number.class.php CHANGED
@@ -7,7 +7,7 @@
7
  * @package Simple Admin Pages
8
  */
9
 
10
- class sapAdminPageSettingNumber_2_6_3 extends sapAdminPageSetting_2_6_3 {
11
 
12
  public $sanitize_callback = 'sanitize_text_field';
13
 
7
  * @package Simple Admin Pages
8
  */
9
 
10
+ class sapAdminPageSettingNumber_2_6_5 extends sapAdminPageSetting_2_6_5 {
11
 
12
  public $sanitize_callback = 'sanitize_text_field';
13
 
lib/simple-admin-pages/classes/AdminPageSetting.OpeningHours.class.php CHANGED
@@ -25,7 +25,7 @@
25
  * @package Simple Admin Pages
26
  */
27
 
28
- class sapAdminPageSettingOpeningHours_2_6_3 extends sapAdminPageSetting_2_6_3 {
29
 
30
  public $sanitize_callback = 'sanitize_text_field';
31
 
25
  * @package Simple Admin Pages
26
  */
27
 
28
+ class sapAdminPageSettingOpeningHours_2_6_5 extends sapAdminPageSetting_2_6_5 {
29
 
30
  public $sanitize_callback = 'sanitize_text_field';
31
 
lib/simple-admin-pages/classes/AdminPageSetting.Ordering.class.php CHANGED
@@ -18,7 +18,7 @@
18
  * @package Simple Admin Pages
19
  */
20
 
21
- class sapAdminPageSettingOrdering_2_6_3 extends sapAdminPageSetting_2_6_3 {
22
 
23
  public $sanitize_callback = 'sanitize_text_field';
24
 
18
  * @package Simple Admin Pages
19
  */
20
 
21
+ class sapAdminPageSettingOrdering_2_6_5 extends sapAdminPageSetting_2_6_5 {
22
 
23
  public $sanitize_callback = 'sanitize_text_field';
24
 
lib/simple-admin-pages/classes/AdminPageSetting.Radio.class.php CHANGED
@@ -19,7 +19,7 @@
19
  * @package Simple Admin Pages
20
  */
21
 
22
- class sapAdminPageSettingRadio_2_6_3 extends sapAdminPageSetting_2_6_3 {
23
 
24
  public $sanitize_callback = 'sanitize_text_field';
25
 
19
  * @package Simple Admin Pages
20
  */
21
 
22
+ class sapAdminPageSettingRadio_2_6_5 extends sapAdminPageSetting_2_6_5 {
23
 
24
  public $sanitize_callback = 'sanitize_text_field';
25
 
lib/simple-admin-pages/classes/AdminPageSetting.Scheduler.class.php CHANGED
@@ -10,7 +10,7 @@
10
  * @package Simple Admin Pages
11
  */
12
 
13
- class sapAdminPageSettingScheduler_2_6_3 extends sapAdminPageSetting_2_6_3 {
14
 
15
  public $sanitize_callback = 'sanitize_text_field';
16
 
@@ -107,29 +107,32 @@ class sapAdminPageSettingScheduler_2_6_3 extends sapAdminPageSetting_2_6_3 {
107
  * @since 2.0.a.8
108
  */
109
  public $strings = array(
110
- 'add_rule' => null, // __( 'Add new scheduling rule', 'textdomain' ),
111
- 'weekly' => null, // _x( 'Weekly', 'Format of a scheduling rule', 'textdomain' ),
112
- 'monthly' => null, // _x( 'Monthly', 'Format of a scheduling rule', 'textdomain' ),
113
- 'date' => null, // _x( 'Date', 'Format of a scheduling rule', 'textdomain' ),
114
- 'weekdays' => null, // _x( 'Days of the week', 'Label for selecting days of the week in a scheduling rule', 'textdomain' ),
115
- 'month_weeks' => null, // _x( 'Weeks of the month', 'Label for selecting weeks of the month in a scheduling rule', 'textdomain' ),
116
- 'date_label' => null, // _x( 'Date', 'Label to select a date for a scheduling rule', 'textdomain' ),
117
- 'time_label' => null, // _x( 'Time', 'Label to select a time slot for a scheduling rule', 'textdomain' ),
118
- 'allday' => null, // _x( 'All day', 'Label to set a scheduling rule to last all day', 'textdomain' ),
119
- 'start' => null, // _x( 'Start', 'Label for the starting time of a scheduling rule', 'textdomain' ),
120
- 'end' => null, // _x( 'End', 'Label for the ending time of a scheduling rule', 'textdomain' ),
121
- 'set_time_prompt' => null, // _x( 'All day long. Want to %sset a time slot%s?', 'Prompt displayed when a scheduling rule is set without any time restrictions', 'textdomain' ),
122
- 'toggle' => null, // _x( 'Open and close this rule', 'Toggle a scheduling rule open and closed', 'textdomain' ),
123
- 'delete' => null, // _x( 'Delete rule', 'Delete a scheduling rule', 'textdomain' ),
124
- 'delete_schedule' => null, // __( 'Delete scheduling rule', 'textdomain' ),
125
- 'never' => null, // _x( 'Never', 'Brief default description of a scheduling rule when no weekdays or weeks are included in the rule', 'textdomain' ),
126
- 'weekly_always' => null, // _x( 'Every day', 'Brief default description of a scheduling rule when all the weekdays/weeks are included in the rule', 'textdomain' ),
127
- 'monthly_weekdays' => null, // _x( '%s on the %s week of the month', 'Brief default description of a scheduling rule when some weekdays are included on only some weeks of the month. %s should be left alone and will be replaced by a comma-separated list of days and weeks in the following format: M, T, W on the first, second week of the month', 'textdomain' ),
128
- 'monthly_weeks' => null, // _x( '%s week of the month', 'Brief default description of a scheduling rule when some weeks of the month are included but all or no weekdays are selected. %s should be left alone and will be replaced by a comma-separated list of weeks in the following format: First, second week of the month', 'textdomain' ),
129
- 'all_day' => null, // _x( 'All day', 'Brief default description of a scheduling rule when no times are set', 'textdomain' ),
130
- 'before' => null, // _x( 'Ends at', 'Brief default description of a scheduling rule when an end time is set but no start time. If the end time is 6pm, it will read: Ends at 6pm', 'textdomain' ),
131
- 'after' => null, // _x( 'Starts at', 'Brief default description of a scheduling rule when a start time is set but no end time. If the start time is 6pm, it will read: Starts at 6pm', 'textdomain' ),
132
- 'separator' => null, // _x( '&mdash;', 'Separator between times of a scheduling rule', 'textdomain' ),
 
 
 
133
  );
134
 
135
  /**
@@ -164,6 +167,11 @@ class sapAdminPageSettingScheduler_2_6_3 extends sapAdminPageSetting_2_6_3 {
164
  */
165
  public $disable_date = false;
166
 
 
 
 
 
 
167
  /**
168
  * Boolean to disable the time selection option
169
  */
@@ -219,6 +227,11 @@ class sapAdminPageSettingScheduler_2_6_3 extends sapAdminPageSetting_2_6_3 {
219
  $value[$i]['date'] = esc_attr( $rule['date'] );
220
  }
221
 
 
 
 
 
 
222
  if ( !empty( $rule['time']['start'] ) ) {
223
  $value[$i]['time']['start'] = esc_attr( $rule['time']['start'] );
224
  }
@@ -247,18 +260,19 @@ class sapAdminPageSettingScheduler_2_6_3 extends sapAdminPageSetting_2_6_3 {
247
  }
248
 
249
  $sap_scheduler_settings[ $this->id ] = array(
250
- 'time_interval' => $this->time_interval,
251
- 'time_format' => $this->time_format,
252
- 'date_format' => $this->date_format,
253
- 'template' => $this->get_template(),
254
- 'weekdays' => $this->weekdays,
255
- 'weeks' => $this->weeks,
256
- 'disable_weekdays' => $this->disable_weekdays,
257
- 'disable_weeks' => $this->disable_weeks,
258
- 'disable_date' => $this->disable_date,
259
- 'disable_time' => $this->disable_time,
260
- 'disable_multiple' => $this->disable_multiple,
261
- 'summaries' => $this->schedule_summaries,
 
262
  );
263
 
264
  // This gets called multiple times, but only the last call is actually
@@ -337,6 +351,9 @@ class sapAdminPageSettingScheduler_2_6_3 extends sapAdminPageSetting_2_6_3 {
337
  <?php echo esc_html( $this->strings['monthly'] ); ?>
338
  <?php elseif ( $date_format == 'date' ) : ?>
339
  <?php echo esc_html( $this->strings['date'] ); ?>
 
 
 
340
  <?php endif; ?>
341
  </li>
342
  <?php else : ?>
@@ -366,6 +383,14 @@ class sapAdminPageSettingScheduler_2_6_3 extends sapAdminPageSetting_2_6_3 {
366
  </li>
367
  <?php endif; ?>
368
 
 
 
 
 
 
 
 
 
369
  <?php endif; ?>
370
  </ul>
371
 
@@ -410,6 +435,25 @@ class sapAdminPageSettingScheduler_2_6_3 extends sapAdminPageSetting_2_6_3 {
410
  </div>
411
  <?php endif; ?>
412
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
413
  </div>
414
 
415
  <?php if ( $this->disable_time === false ) : ?>
@@ -496,7 +540,9 @@ class sapAdminPageSettingScheduler_2_6_3 extends sapAdminPageSetting_2_6_3 {
496
  */
497
  public function get_date_format( $values ) {
498
 
499
- if ( !empty( $values['date'] ) ) {
 
 
500
  return 'date';
501
  } elseif ( !empty( $values['weeks'] ) ) {
502
  return 'monthly';
@@ -513,6 +559,9 @@ class sapAdminPageSettingScheduler_2_6_3 extends sapAdminPageSetting_2_6_3 {
513
  if ( $this->disable_date === false ) {
514
  return 'date';
515
  }
 
 
 
516
  }
517
 
518
  /**
@@ -542,6 +591,9 @@ class sapAdminPageSettingScheduler_2_6_3 extends sapAdminPageSetting_2_6_3 {
542
  if ( $this->disable_date === false ) {
543
  $i++;
544
  }
 
 
 
545
 
546
  if ( $i > 1 ) {
547
  return true;
@@ -562,14 +614,16 @@ class sapAdminPageSettingScheduler_2_6_3 extends sapAdminPageSetting_2_6_3 {
562
  }
563
 
564
  $this->schedule_summaries = array(
565
- 'never' => $this->strings['never'],
566
- 'weekly_always' => $this->strings['weekly_always'],
567
- 'monthly_weekdays' => sprintf( $this->strings['monthly_weekdays'], '{days}', '{weeks}' ),
568
- 'monthly_weeks' => sprintf( $this->strings['monthly_weeks'], '{weeks}' ),
569
- 'all_day' => $this->strings['all_day'],
570
- 'before' => $this->strings['before'],
571
- 'after' => $this->strings['after'],
572
- 'separator' => $this->strings['separator'],
 
 
573
  );
574
  }
575
 
@@ -579,10 +633,34 @@ class sapAdminPageSettingScheduler_2_6_3 extends sapAdminPageSetting_2_6_3 {
579
  */
580
  public function get_date_summary( $values = array() ) {
581
 
582
- if ( !empty( $values['date'] ) ) {
583
  return $values['date'];
584
  }
585
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
586
  if ( empty( $values['weekdays'] ) && $this->disable_weekdays === false ) {
587
  return $this->schedule_summaries['never'];
588
  }
@@ -688,6 +766,34 @@ class sapAdminPageSettingScheduler_2_6_3 extends sapAdminPageSetting_2_6_3 {
688
  }
689
  }
690
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
691
  if ( !empty( $rule['time']['start'] ) ) {
692
  $output[$i]['time']['start'] = call_user_func( $this->sanitize_callback, $rule['time']['start'] );
693
  }
10
  * @package Simple Admin Pages
11
  */
12
 
13
+ class sapAdminPageSettingScheduler_2_6_5 extends sapAdminPageSetting_2_6_5 {
14
 
15
  public $sanitize_callback = 'sanitize_text_field';
16
 
107
  * @since 2.0.a.8
108
  */
109
  public $strings = array(
110
+ 'add_rule' => null, // __( 'Add new scheduling rule', 'textdomain' ),
111
+ 'weekly' => null, // _x( 'Weekly', 'Format of a scheduling rule', 'textdomain' ),
112
+ 'monthly' => null, // _x( 'Monthly', 'Format of a scheduling rule', 'textdomain' ),
113
+ 'date' => null, // _x( 'Date', 'Format of a scheduling rule', 'textdomain' ),
114
+ 'date_range' => null, // _x( 'Date Range', 'Format of a scheduling rule', 'textdomain' ),
115
+ 'weekdays' => null, // _x( 'Days of the week', 'Label for selecting days of the week in a scheduling rule', 'textdomain' ),
116
+ 'month_weeks' => null, // _x( 'Weeks of the month', 'Label for selecting weeks of the month in a scheduling rule', 'textdomain' ),
117
+ 'date_label' => null, // _x( 'Date', 'Label to select a date for a scheduling rule', 'textdomain' ),
118
+ 'time_label' => null, // _x( 'Time', 'Label to select a time slot for a scheduling rule', 'textdomain' ),
119
+ 'allday' => null, // _x( 'All day', 'Label to set a scheduling rule to last all day', 'textdomain' ),
120
+ 'start' => null, // _x( 'Start', 'Label for the starting date/time of a scheduling rule', 'textdomain' ),
121
+ 'end' => null, // _x( 'End', 'Label for the ending date/time of a scheduling rule', 'textdomain' ),
122
+ 'set_time_prompt' => null, // _x( 'All day long. Want to %sset a time slot%s?', 'Prompt displayed when a scheduling rule is set without any time restrictions', 'textdomain' ),
123
+ 'toggle' => null, // _x( 'Open and close this rule', 'Toggle a scheduling rule open and closed', 'textdomain' ),
124
+ 'delete' => null, // _x( 'Delete rule', 'Delete a scheduling rule', 'textdomain' ),
125
+ 'delete_schedule' => null, // __( 'Delete scheduling rule', 'textdomain' ),
126
+ 'never' => null, // _x( 'Never', 'Brief default description of a scheduling rule when no weekdays or weeks are included in the rule', 'textdomain' ),
127
+ 'weekly_always' => null, // _x( 'Every day', 'Brief default description of a scheduling rule when all the weekdays/weeks are included in the rule', 'textdomain' ),
128
+ 'monthly_weekdays' => null, // _x( '%s on the %s week of the month', 'Brief default description of a scheduling rule when some weekdays are included on only some weeks of the month. %s should be left alone and will be replaced by a comma-separated list of days and weeks in the following format: M, T, W on the first, second week of the month', 'textdomain' ),
129
+ 'monthly_weeks' => null, // _x( '%s week of the month', 'Brief default description of a scheduling rule when some weeks of the month are included but all or no weekdays are selected. %s should be left alone and will be replaced by a comma-separated list of weeks in the following format: First, second week of the month', 'textdomain' ),
130
+ 'all_day' => null, // _x( 'All day', 'Brief default description of a scheduling rule when no times are set', 'textdomain' ),
131
+ 'before' => null, // _x( 'Ends at', 'Brief default description of a scheduling rule when an end time is set but no start time. If the end time is 6pm, it will read: Ends at 6pm', 'textdomain' ),
132
+ 'after' => null, // _x( 'Starts at', 'Brief default description of a scheduling rule when a start time is set but no end time. If the start time is 6pm, it will read: Starts at 6pm', 'textdomain' ),
133
+ 'separator' => null, // _x( '&mdash;', 'Separator between times of a scheduling rule', 'textdomain' ),
134
+ 'date_range_from_today' => null, // _x( 'From Today', 'When Date range start date is not set', 'textdomain' ),
135
+ 'date_range_upto_indefinite' => null // _x( 'Upto Indefinite', 'When Date range end date is not set', 'textdomain' ),
136
  );
137
 
138
  /**
167
  */
168
  public $disable_date = false;
169
 
170
+ /**
171
+ * Boolean to disable the date range selection option
172
+ */
173
+ public $disable_date_range = false;
174
+
175
  /**
176
  * Boolean to disable the time selection option
177
  */
227
  $value[$i]['date'] = esc_attr( $rule['date'] );
228
  }
229
 
230
+ if ( !empty( $rule['date_range'] ) ) {
231
+ $value[$i]['date_range']['start'] = esc_attr( $rule['date_range']['start'] );
232
+ $value[$i]['date_range']['end'] = esc_attr( $rule['date_range']['end'] );
233
+ }
234
+
235
  if ( !empty( $rule['time']['start'] ) ) {
236
  $value[$i]['time']['start'] = esc_attr( $rule['time']['start'] );
237
  }
260
  }
261
 
262
  $sap_scheduler_settings[ $this->id ] = array(
263
+ 'time_interval' => $this->time_interval,
264
+ 'time_format' => $this->time_format,
265
+ 'date_format' => $this->date_format,
266
+ 'template' => $this->get_template(),
267
+ 'weekdays' => $this->weekdays,
268
+ 'weeks' => $this->weeks,
269
+ 'disable_weekdays' => $this->disable_weekdays,
270
+ 'disable_weeks' => $this->disable_weeks,
271
+ 'disable_date' => $this->disable_date,
272
+ 'disable_date_range' => $this->disable_date_range,
273
+ 'disable_time' => $this->disable_time,
274
+ 'disable_multiple' => $this->disable_multiple,
275
+ 'summaries' => $this->schedule_summaries,
276
  );
277
 
278
  // This gets called multiple times, but only the last call is actually
351
  <?php echo esc_html( $this->strings['monthly'] ); ?>
352
  <?php elseif ( $date_format == 'date' ) : ?>
353
  <?php echo esc_html( $this->strings['date'] ); ?>
354
+ <?php elseif ( $date_format == 'date_range' ) : ?>
355
+ <?php echo esc_html( $this->strings['date_range'] ); ?>
356
+
357
  <?php endif; ?>
358
  </li>
359
  <?php else : ?>
383
  </li>
384
  <?php endif; ?>
385
 
386
+ <?php if ( $this->disable_date_range === false ) : ?>
387
+ <li>
388
+ <a href="#" data-format="date_range"<?php echo $date_format == 'date_range' ? ' class="selected"' : ''; ?>>
389
+ <?php echo $this->strings['date_range']; ?>
390
+ </a>
391
+ </li>
392
+ <?php endif; ?>
393
+
394
  <?php endif; ?>
395
  </ul>
396
 
435
  </div>
436
  <?php endif; ?>
437
 
438
+ <?php if ( $this->disable_date_range === false ) : ?>
439
+ <?php $range_start_name = "{$this->get_input_name()}[{$id}][date_range][start]"; ?>
440
+ <?php $range_end_name = "{$this->get_input_name()}[{$id}][date_range][end]"; ?>
441
+ <div class="sap-scheduler-date-range-input">
442
+ <div class="date-range-start">
443
+ <label for="<?php echo $range_start_name; ?>">
444
+ <?php echo $this->strings['start']; ?>
445
+ </label>
446
+ <input type="text" name="<?php echo $range_start_name; ?>" id="<?php echo $range_start_name; ?>" value="<?php echo empty( $values['date_range']['start'] ) ? '' : $values['date_range']['start']; ?>">
447
+ </div>
448
+ <div class="date-range-end">
449
+ <label for="<?php echo $range_end_name; ?>">
450
+ <?php echo $this->strings['end']; ?>
451
+ </label>
452
+ <input type="text" name="<?php echo $range_end_name; ?>" id="<?php echo $range_end_name; ?>" value="<?php echo empty( $values['date_range']['end'] ) ? '' : $values['date_range']['end']; ?>">
453
+ </div>
454
+ </div>
455
+ <?php endif; ?>
456
+
457
  </div>
458
 
459
  <?php if ( $this->disable_time === false ) : ?>
540
  */
541
  public function get_date_format( $values ) {
542
 
543
+ if ( !empty( $values['date_range'] ) ) {
544
+ return 'date_range';
545
+ } elseif ( !empty( $values['date'] ) ) {
546
  return 'date';
547
  } elseif ( !empty( $values['weeks'] ) ) {
548
  return 'monthly';
559
  if ( $this->disable_date === false ) {
560
  return 'date';
561
  }
562
+ if ( $this->disable_date_range === false ) {
563
+ return 'date_range';
564
+ }
565
  }
566
 
567
  /**
591
  if ( $this->disable_date === false ) {
592
  $i++;
593
  }
594
+ if ( $this->disable_date_range === false ) {
595
+ $i++;
596
+ }
597
 
598
  if ( $i > 1 ) {
599
  return true;
614
  }
615
 
616
  $this->schedule_summaries = array(
617
+ 'never' => $this->strings['never'],
618
+ 'weekly_always' => $this->strings['weekly_always'],
619
+ 'monthly_weekdays' => sprintf( $this->strings['monthly_weekdays'], '{days}', '{weeks}' ),
620
+ 'monthly_weeks' => sprintf( $this->strings['monthly_weeks'], '{weeks}' ),
621
+ 'all_day' => $this->strings['all_day'],
622
+ 'before' => $this->strings['before'],
623
+ 'after' => $this->strings['after'],
624
+ 'separator' => $this->strings['separator'],
625
+ 'from_today' => $this->strings['date_range_from_today'],
626
+ 'upto_indefinite' => $this->strings['date_range_upto_indefinite'],
627
  );
628
  }
629
 
633
  */
634
  public function get_date_summary( $values = array() ) {
635
 
636
+ if ( isset( $values['date'] ) && !empty( $values['date'] ) ) {
637
  return $values['date'];
638
  }
639
 
640
+ if ( isset( $values['date_range'] ) && !empty( $values['date_range']['start'] ) ) {
641
+
642
+ $date_range = '';
643
+
644
+ if( empty( $values['date_range']['start'] ) ) {
645
+ $date_range .= $this->schedule_summaries['from_today'];
646
+ }
647
+ else {
648
+ $date_range .= $values['date_range']['start'];
649
+ }
650
+
651
+ $date_range .= ' - ';
652
+
653
+
654
+ if( empty( $values['date_range']['end'] ) ) {
655
+ $date_range .= $this->schedule_summaries['upto_indefinite'];
656
+ }
657
+ else {
658
+ $date_range .= $values['date_range']['end'];
659
+ }
660
+
661
+ return $date_range;
662
+ }
663
+
664
  if ( empty( $values['weekdays'] ) && $this->disable_weekdays === false ) {
665
  return $this->schedule_summaries['never'];
666
  }
766
  }
767
  }
768
 
769
+ if (
770
+ ! empty( $rule['date_range']['start'] )
771
+ ||
772
+ ! empty( $rule['date_range']['end'] )
773
+ &&
774
+ ! ( empty( $rule['date_range']['start'] ) && empty( $rule['date_range']['end'] ) )
775
+ ) {
776
+ if( ! empty( $rule['date_range']['start'] ) ) {
777
+ $date = new DateTime( $rule['date_range']['start'] );
778
+ if( checkdate( $date->format( 'n' ), $date->format( 'j' ), $date->format( 'Y' ) ) ) {
779
+ $output[$i]['date_range']['start'] = call_user_func( $this->sanitize_callback, $rule['date_range']['start'] );
780
+ }
781
+ }
782
+ else {
783
+ $output[$i]['date_range']['start'] = '';
784
+ }
785
+
786
+ if( ! empty( $rule['date_range']['end'] ) ) {
787
+ $date = new DateTime( $rule['date_range']['end'] );
788
+ if( checkdate( $date->format( 'n' ), $date->format( 'j' ), $date->format( 'Y' ) ) ) {
789
+ $output[$i]['date_range']['end'] = call_user_func( $this->sanitize_callback, $rule['date_range']['end'] );
790
+ }
791
+ }
792
+ else {
793
+ $output[$i]['date_range']['end'] = '';
794
+ }
795
+ }
796
+
797
  if ( !empty( $rule['time']['start'] ) ) {
798
  $output[$i]['time']['start'] = call_user_func( $this->sanitize_callback, $rule['time']['start'] );
799
  }
lib/simple-admin-pages/classes/AdminPageSetting.Select.class.php CHANGED
@@ -21,7 +21,7 @@
21
  * @package Simple Admin Pages
22
  */
23
 
24
- class sapAdminPageSettingSelect_2_6_3 extends sapAdminPageSetting_2_6_3 {
25
 
26
  public $sanitize_callback = 'sanitize_text_field';
27
 
21
  * @package Simple Admin Pages
22
  */
23
 
24
+ class sapAdminPageSettingSelect_2_6_5 extends sapAdminPageSetting_2_6_5 {
25
 
26
  public $sanitize_callback = 'sanitize_text_field';
27
 
lib/simple-admin-pages/classes/AdminPageSetting.SelectMenu.class.php CHANGED
@@ -17,7 +17,7 @@
17
  * @package Simple Admin Pages
18
  */
19
 
20
- class sapAdminPageSettingSelectMenu_2_6_3 extends sapAdminPageSetting_2_6_3 {
21
 
22
  public $sanitize_callback = 'intval';
23
 
17
  * @package Simple Admin Pages
18
  */
19
 
20
+ class sapAdminPageSettingSelectMenu_2_6_5 extends sapAdminPageSetting_2_6_5 {
21
 
22
  public $sanitize_callback = 'intval';
23
 
lib/simple-admin-pages/classes/AdminPageSetting.SelectPost.class.php CHANGED
@@ -17,7 +17,7 @@
17
  * @package Simple Admin Pages
18
  */
19
 
20
- class sapAdminPageSettingSelectPost_2_6_3 extends sapAdminPageSetting_2_6_3 {
21
 
22
  public $sanitize_callback = 'intval';
23
 
17
  * @package Simple Admin Pages
18
  */
19
 
20
+ class sapAdminPageSettingSelectPost_2_6_5 extends sapAdminPageSetting_2_6_5 {
21
 
22
  public $sanitize_callback = 'intval';
23
 
lib/simple-admin-pages/classes/AdminPageSetting.SelectTaxonomy.class.php CHANGED
@@ -19,7 +19,7 @@
19
  * @package Simple Admin Pages
20
  */
21
 
22
- class sapAdminPageSettingSelectTaxonomy_2_6_3 extends sapAdminPageSetting_2_6_3 {
23
 
24
  public $sanitize_callback = 'intval';
25
 
19
  * @package Simple Admin Pages
20
  */
21
 
22
+ class sapAdminPageSettingSelectTaxonomy_2_6_5 extends sapAdminPageSetting_2_6_5 {
23
 
24
  public $sanitize_callback = 'intval';
25
 
lib/simple-admin-pages/classes/AdminPageSetting.Text.class.php CHANGED
@@ -7,7 +7,7 @@
7
  * @package Simple Admin Pages
8
  */
9
 
10
- class sapAdminPageSettingText_2_6_3 extends sapAdminPageSetting_2_6_3 {
11
 
12
  public $sanitize_callback = 'sanitize_text_field';
13
 
7
  * @package Simple Admin Pages
8
  */
9
 
10
+ class sapAdminPageSettingText_2_6_5 extends sapAdminPageSetting_2_6_5 {
11
 
12
  public $sanitize_callback = 'sanitize_text_field';
13
 
lib/simple-admin-pages/classes/AdminPageSetting.Textarea.class.php CHANGED
@@ -9,7 +9,7 @@
9
  * @todo textareas should have an option to swap new lines for <br>s
10
  */
11
 
12
- class sapAdminPageSettingTextarea_2_6_3 extends sapAdminPageSetting_2_6_3 {
13
 
14
  /*
15
  * Size of this textarea
9
  * @todo textareas should have an option to swap new lines for <br>s
10
  */
11
 
12
+ class sapAdminPageSettingTextarea_2_6_5 extends sapAdminPageSetting_2_6_5 {
13
 
14
  /*
15
  * Size of this textarea
lib/simple-admin-pages/classes/AdminPageSetting.Time.class.php CHANGED
@@ -7,7 +7,7 @@
7
  * @package Simple Admin Pages
8
  */
9
 
10
- class sapAdminPageSettingTime_2_6_3 extends sapAdminPageSetting_2_6_3 {
11
 
12
  public $sanitize_callback = 'sanitize_text_field';
13
 
7
  * @package Simple Admin Pages
8
  */
9
 
10
+ class sapAdminPageSettingTime_2_6_5 extends sapAdminPageSetting_2_6_5 {
11
 
12
  public $sanitize_callback = 'sanitize_text_field';
13
 
lib/simple-admin-pages/classes/AdminPageSetting.Toggle.class.php CHANGED
@@ -17,7 +17,7 @@
17
  * @package Simple Admin Pages
18
  */
19
 
20
- class sapAdminPageSettingToggle_2_6_3 extends sapAdminPageSetting_2_6_3 {
21
 
22
  public $sanitize_callback = 'sanitize_text_field';
23
 
17
  * @package Simple Admin Pages
18
  */
19
 
20
+ class sapAdminPageSettingToggle_2_6_5 extends sapAdminPageSetting_2_6_5 {
21
 
22
  public $sanitize_callback = 'sanitize_text_field';
23
 
lib/simple-admin-pages/classes/AdminPageSetting.WarningTip.class.php CHANGED
@@ -7,7 +7,7 @@
7
  * @package Simple Admin Pages
8
  */
9
 
10
- class sapAdminPageSettingWarningTip_2_6_3 extends sapAdminPageSetting_2_6_3 {
11
 
12
  public $sanitize_callback = 'sanitize_text_field';
13
 
7
  * @package Simple Admin Pages
8
  */
9
 
10
+ class sapAdminPageSettingWarningTip_2_6_5 extends sapAdminPageSetting_2_6_5 {
11
 
12
  public $sanitize_callback = 'sanitize_text_field';
13
 
lib/simple-admin-pages/classes/AdminPageSetting.class.php CHANGED
@@ -16,7 +16,7 @@
16
  * @package Simple Admin Pages
17
  */
18
 
19
- abstract class sapAdminPageSetting_2_6_3 {
20
 
21
  // Page defaults
22
  public $id; // used in form fields and database to track and store setting
@@ -158,7 +158,12 @@ abstract class sapAdminPageSetting_2_6_3 {
158
  $this->{$key} = esc_attr( $val );
159
 
160
  default :
161
- $this->{$key} = $val;
 
 
 
 
 
162
 
163
  }
164
  }
@@ -347,7 +352,7 @@ abstract class sapAdminPageSetting_2_6_3 {
347
  *
348
  * @since 2.4.1
349
  */
350
- public function get_default_setting() {
351
  return ! empty( $this->default ) ? $this->default : $this->value;
352
  }
353
 
16
  * @package Simple Admin Pages
17
  */
18
 
19
+ abstract class sapAdminPageSetting_2_6_5 {
20
 
21
  // Page defaults
22
  public $id; // used in form fields and database to track and store setting
158
  $this->{$key} = esc_attr( $val );
159
 
160
  default :
161
+ if( property_exists( $this, $key ) && is_array( $this->{$key} ) ) {
162
+ $this->{$key} = array_replace( $this->{$key}, $val );
163
+ }
164
+ else {
165
+ $this->{$key} = $val;
166
+ }
167
 
168
  }
169
  }
352
  *
353
  * @since 2.4.1
354
  */
355
+ public function get_default_setting( $default_override = null ) {
356
  return ! empty( $this->default ) ? $this->default : $this->value;
357
  }
358
 
lib/simple-admin-pages/classes/Library.class.php CHANGED
@@ -1,5 +1,5 @@
1
  <?php
2
- if ( !class_exists( 'sapLibrary_2_6_3' ) ) {
3
  /**
4
  * This library class loads and provides access to the correct version of the
5
  * Simple Admin Pages library.
@@ -7,10 +7,10 @@ if ( !class_exists( 'sapLibrary_2_6_3' ) ) {
7
  * @since 1.0
8
  * @package Simple Admin Pages
9
  */
10
- class sapLibrary_2_6_3 {
11
 
12
  // Version of the library
13
- private $version = '2.6.3';
14
 
15
  // A full URL to the library which is used to correctly link scripts and
16
  // stylesheets.
@@ -49,7 +49,7 @@ class sapLibrary_2_6_3 {
49
  public function __construct( $args ) {
50
 
51
  if ( ! defined( 'SAP_VERSION' ) ) {
52
- define( 'SAP_VERSION', '2.6.3' );
53
  }
54
 
55
  // If no URL path to the library is passed, we won't be able to add the
1
  <?php
2
+ if ( !class_exists( 'sapLibrary_2_6_5' ) ) {
3
  /**
4
  * This library class loads and provides access to the correct version of the
5
  * Simple Admin Pages library.
7
  * @since 1.0
8
  * @package Simple Admin Pages
9
  */
10
+ class sapLibrary_2_6_5 {
11
 
12
  // Version of the library
13
+ private $version = '2.6.5';
14
 
15
  // A full URL to the library which is used to correctly link scripts and
16
  // stylesheets.
49
  public function __construct( $args ) {
50
 
51
  if ( ! defined( 'SAP_VERSION' ) ) {
52
+ define( 'SAP_VERSION', '2.6.5' );
53
  }
54
 
55
  // If no URL path to the library is passed, we won't be able to add the
lib/simple-admin-pages/css/admin-settings.css CHANGED
@@ -552,6 +552,7 @@ fieldset.sap-colorpicker {
552
  .sap-new-admin-add-button:hover {
553
  background: #f5f5f5;
554
  color: #888;
 
555
  }
556
  .sap-infinite-table-row-delete,
557
  .sap-custom-fields-add-nutrional-information {
552
  .sap-new-admin-add-button:hover {
553
  background: #f5f5f5;
554
  color: #888;
555
+ cursor: pointer;
556
  }
557
  .sap-infinite-table-row-delete,
558
  .sap-custom-fields-add-nutrional-information {
lib/simple-admin-pages/css/admin.css CHANGED
@@ -104,7 +104,8 @@ input.sap-opening-hours-hours {
104
  text-align: center;
105
  }
106
  .sap-scheduler-date .label,
107
- .sap-scheduler-date-input label {
 
108
  display: block;
109
  font-style: italic;
110
  text-align: left;
@@ -118,19 +119,33 @@ input.sap-opening-hours-hours {
118
  .sap-scheduler-date label {
119
  display: block;
120
  }
121
- .sap-scheduler-date-input {
 
122
  display: none;
123
  margin-top: 1em;
124
- }
125
- .sap-scheduler-date.date .sap-scheduler-weeks,
126
- .sap-scheduler-date.date .sap-scheduler-weekdays {
127
- display: none;
128
- }
129
  .sap-scheduler-date.weekly .sap-scheduler-weeks,
130
- .sap-scheduler-date.date .sap-scheduler-weeks {
 
 
 
 
 
 
 
 
 
 
 
 
 
131
  display: none;
132
  }
133
- .sap-scheduler-date.date .sap-scheduler-date-input {
 
 
 
134
  display: block;
135
  }
136
  .sap-scheduler-time {
104
  text-align: center;
105
  }
106
  .sap-scheduler-date .label,
107
+ .sap-scheduler-date-input label,
108
+ .sap-scheduler-date-range-input label {
109
  display: block;
110
  font-style: italic;
111
  text-align: left;
119
  .sap-scheduler-date label {
120
  display: block;
121
  }
122
+ /* .sap-scheduler-date-input,
123
+ .sap-scheduler-date-range-input {
124
  display: none;
125
  margin-top: 1em;
126
+ } */
127
+
 
 
 
128
  .sap-scheduler-date.weekly .sap-scheduler-weeks,
129
+ .sap-scheduler-date.weekly .sap-scheduler-date-input,
130
+ .sap-scheduler-date.weekly .sap-scheduler-date-range-input,
131
+
132
+ .sap-scheduler-date.monthly .sap-scheduler-date-input,
133
+ .sap-scheduler-date.monthly .sap-scheduler-date-range-input,
134
+
135
+ .sap-scheduler-date.date .sap-scheduler-weekdays,
136
+ .sap-scheduler-date.date .sap-scheduler-weeks,
137
+ .sap-scheduler-date.date .sap-scheduler-date-range-input,
138
+
139
+ /* date_range with underscore is directly from php, where everywhere date_range is with underscore */
140
+ .sap-scheduler-date.date_range .sap-scheduler-weekdays,
141
+ .sap-scheduler-date.date_range .sap-scheduler-date-input,
142
+ .sap-scheduler-date.date_range .sap-scheduler-weeks {
143
  display: none;
144
  }
145
+ .sap-scheduler-date.weekly .sap-scheduler-weekdays
146
+ .sap-scheduler-date.monthly .sap-scheduler-weeks,
147
+ .sap-scheduler-date.date .sap-scheduler-date-input,
148
+ .sap-scheduler-date.date-range .sap-scheduler-date-range-input {
149
  display: block;
150
  }
151
  .sap-scheduler-time {
lib/simple-admin-pages/js/scheduler.js CHANGED
@@ -74,15 +74,33 @@ jQuery(document).ready(function ($) {
74
 
75
  var date = $(this).closest( '.sap-scheduler-date' );
76
 
77
- if ( $(this).data( 'format' ) == 'weekly' && date.hasClass( 'weekly' ) === false ) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
78
  date.children( '.sap-scheduler-weeks' ).slideUp( function() {
79
  $(this).find( 'input' ).prop('checked', false);
80
  });
81
  date.children( '.sap-scheduler-date-input' ).slideUp( function() {
82
  $(this).find( 'input' ).val( '' );
83
  });
 
 
 
84
  date.children( '.sap-scheduler-weekdays' ).slideDown( function() {
85
- date.removeClass( 'monthly date' );
86
  date.addClass( 'weekly' );
87
  });
88
 
@@ -90,9 +108,12 @@ jQuery(document).ready(function ($) {
90
  date.children( '.sap-scheduler-date-input' ).slideUp( function() {
91
  $(this).find( 'input' ).val( '' );
92
  });
 
 
 
93
  date.children( '.sap-scheduler-weekdays' ).slideDown();
94
  date.children( '.sap-scheduler-weeks' ).slideDown( function() {
95
- date.removeClass( 'weekly date' );
96
  date.addClass( 'monthly' );
97
  });
98
 
@@ -103,8 +124,11 @@ jQuery(document).ready(function ($) {
103
  date.children( '.sap-scheduler-weeks' ).slideUp( function() {
104
  $(this).find( 'input' ).prop('checked', false);
105
  });
 
 
 
106
  date.children( '.sap-scheduler-date-input' ).slideDown( function() {
107
- date.removeClass( 'weekly monthly' );
108
  date.addClass( 'date' );
109
  });
110
  }
@@ -208,6 +232,29 @@ jQuery(document).ready(function ($) {
208
  return;
209
  }
210
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
211
  var weekdays = 0;
212
  var weekday_arr = new Array();
213
  scheduler_rule.find( '.sap-scheduler-weekdays input' ).each( function() {
@@ -295,7 +342,7 @@ jQuery(document).ready(function ($) {
295
  * Register a new datepicker on an element
296
  */
297
  function sap_scheduler_register_datepicker( el ) {
298
-
299
  el.pickadate({
300
  format: obj.date_format,
301
  formatSubmit: 'yyyy/mm/dd',
@@ -351,6 +398,7 @@ jQuery(document).ready(function ($) {
351
  for ( var key in sap_scheduler.settings ) {
352
  var obj = sap_scheduler.settings[key];
353
  sap_scheduler_register_datepicker( $( '#' + key + ' .sap-scheduler-date-input input[type="text"]' ) );
 
354
  sap_scheduler_register_timepicker( $( '#' + key + ' .sap-scheduler-time-input input[type="text"]' ) );
355
 
356
  $( '#' + key + ' .sap-scheduler-rule' ).each( function() {
@@ -375,6 +423,7 @@ jQuery(document).ready(function ($) {
375
  var scheduler_settings = sap_scheduler.settings[ scheduler_id ];
376
  scheduler.append( scheduler_settings.template.replace( /\[0\]/g, '[' + scheduler.children( '.sap-scheduler-rule' ).length + ']' ) );
377
  sap_scheduler_register_datepicker( scheduler.last( '#' + scheduler_id + ' .sap-scheduler-rule' ).find( '.sap-scheduler-date-input input[type="text"]' ) );
 
378
  sap_scheduler_register_timepicker( scheduler.last( '#' + scheduler_id + ' .sap-scheduler-rule' ).find( '.sap-scheduler-time-input input[type="text"]' ) );
379
  sap_scheduler_register_events();
380
 
74
 
75
  var date = $(this).closest( '.sap-scheduler-date' );
76
 
77
+ if ( $(this).data( 'format' ) == 'date_range' && date.hasClass( 'date_range' ) === false ) {
78
+ date.children( '.sap-scheduler-weekdays' ).slideUp(250, function() {
79
+ $(this).find( 'input' ).prop('checked', false);
80
+ });
81
+ date.children( '.sap-scheduler-weeks' ).slideUp(250, function() {
82
+ $(this).find( 'input' ).prop('checked', false);
83
+ });
84
+ date.children( '.sap-scheduler-date-input' ).slideUp(250, function() {
85
+ $(this).find( 'input' ).val( '' );
86
+ });
87
+ date.children( '.sap-scheduler-date-range-input' ).slideDown( function() {
88
+ date.removeClass( 'weekly monthly date' );
89
+ date.addClass( 'date_range' );
90
+ });
91
+
92
+ } else if ( $(this).data( 'format' ) == 'weekly' && date.hasClass( 'weekly' ) === false ) {
93
  date.children( '.sap-scheduler-weeks' ).slideUp( function() {
94
  $(this).find( 'input' ).prop('checked', false);
95
  });
96
  date.children( '.sap-scheduler-date-input' ).slideUp( function() {
97
  $(this).find( 'input' ).val( '' );
98
  });
99
+ date.children( '.sap-scheduler-date-range-input' ).slideUp( function() {
100
+ $(this).find( 'input' ).val( '' );
101
+ });
102
  date.children( '.sap-scheduler-weekdays' ).slideDown( function() {
103
+ date.removeClass( 'monthly date date_range' );
104
  date.addClass( 'weekly' );
105
  });
106
 
108
  date.children( '.sap-scheduler-date-input' ).slideUp( function() {
109
  $(this).find( 'input' ).val( '' );
110
  });
111
+ date.children( '.sap-scheduler-date-range-input' ).slideUp( function() {
112
+ $(this).find( 'input' ).val( '' );
113
+ });
114
  date.children( '.sap-scheduler-weekdays' ).slideDown();
115
  date.children( '.sap-scheduler-weeks' ).slideDown( function() {
116
+ date.removeClass( 'weekly date date_range' );
117
  date.addClass( 'monthly' );
118
  });
119
 
124
  date.children( '.sap-scheduler-weeks' ).slideUp( function() {
125
  $(this).find( 'input' ).prop('checked', false);
126
  });
127
+ date.children( '.sap-scheduler-date-range-input' ).slideUp( function() {
128
+ $(this).find( 'input' ).val( '' );
129
+ });
130
  date.children( '.sap-scheduler-date-input' ).slideDown( function() {
131
+ date.removeClass( 'weekly monthly date_range' );
132
  date.addClass( 'date' );
133
  });
134
  }
232
  return;
233
  }
234
 
235
+ var date_range_start_value = scheduler_rule.find( '.sap-scheduler-date-range-input .date-range-start input' ).val();
236
+ var date_range_end_value = scheduler_rule.find( '.sap-scheduler-date-range-input .date-range-end input' ).val();
237
+ var phrase = '';
238
+ if (
239
+ typeof date_range_start_value !== 'undefined' && date_range_start_value != ''
240
+ ||
241
+ typeof date_range_end_value !== 'undefined' && date_range_end_value != ''
242
+ ) {
243
+ phrase = typeof date_range_start_value !== 'undefined' && date_range_start_value != ''
244
+ ? date_range_start_value
245
+ : sap_scheduler.settings[scheduler_id].summaries['from_today'];
246
+
247
+ phrase += '' == phrase ? phrase : ' - ';
248
+
249
+ phrase += typeof date_range_end_value !== 'undefined' && date_range_end_value != ''
250
+ ? date_range_end_value
251
+ : sap_scheduler.settings[scheduler_id].summaries['upto_indefinite'];
252
+
253
+ scheduler_rule.find( '.sap-scheduler-brief .date .value' ).html( phrase );
254
+
255
+ return;
256
+ }
257
+
258
  var weekdays = 0;
259
  var weekday_arr = new Array();
260
  scheduler_rule.find( '.sap-scheduler-weekdays input' ).each( function() {
342
  * Register a new datepicker on an element
343
  */
344
  function sap_scheduler_register_datepicker( el ) {
345
+
346
  el.pickadate({
347
  format: obj.date_format,
348
  formatSubmit: 'yyyy/mm/dd',
398
  for ( var key in sap_scheduler.settings ) {
399
  var obj = sap_scheduler.settings[key];
400
  sap_scheduler_register_datepicker( $( '#' + key + ' .sap-scheduler-date-input input[type="text"]' ) );
401
+ sap_scheduler_register_datepicker( $( '#' + key + ' .sap-scheduler-date-range-input input[type="text"]' ) );
402
  sap_scheduler_register_timepicker( $( '#' + key + ' .sap-scheduler-time-input input[type="text"]' ) );
403
 
404
  $( '#' + key + ' .sap-scheduler-rule' ).each( function() {
423
  var scheduler_settings = sap_scheduler.settings[ scheduler_id ];
424
  scheduler.append( scheduler_settings.template.replace( /\[0\]/g, '[' + scheduler.children( '.sap-scheduler-rule' ).length + ']' ) );
425
  sap_scheduler_register_datepicker( scheduler.last( '#' + scheduler_id + ' .sap-scheduler-rule' ).find( '.sap-scheduler-date-input input[type="text"]' ) );
426
+ sap_scheduler_register_datepicker( scheduler.last( '#' + scheduler_id + ' .sap-scheduler-rule' ).find( '.sap-scheduler-date-range-input input[type="text"]' ) );
427
  sap_scheduler_register_timepicker( scheduler.last( '#' + scheduler_id + ' .sap-scheduler-rule' ).find( '.sap-scheduler-time-input input[type="text"]' ) );
428
  sap_scheduler_register_events();
429
 
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: FiveStarPlugins
3
  Requires at Least: 4.4
4
  Tested Up To: 5.9
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.5.0
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,12 @@ Find answers to even more questions in the [FAQ](http://doc.fivestarplugins.com/
197
 
198
  == Changelog ==
199
 
 
 
 
 
 
 
200
  = 2.5.0 (2022-02-16) =
201
  - Updated escaping and sanitizing.
202
  - Changed how premium settings areas are previewed.
3
  Requires at Least: 4.4
4
  Tested Up To: 5.9
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.5.1
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.5.1 (2022-03-07) =
201
+ - Added the ability to set a date range for exceptions in the global booking schedule settings.
202
+ - Fixed an issue in which the daily summary email was being sent to the email address specified for admin notifications and not the one specified for the daily summary email.
203
+ - Updated the order of available pages to be alphabetical in the dropdowns for the booking page and view bookings page settings.
204
+ - Updated escaping and sanitizing.
205
+
206
  = 2.5.0 (2022-02-16) =
207
  - Updated escaping and sanitizing.
208
  - Changed how premium settings areas are previewed.
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.5.0
7
  * Author: FiveStarPlugins
8
  * Author URI: https://profiles.wordpress.org/fivestarplugins/
9
  * Text Domain: restaurant-reservations
@@ -39,7 +39,7 @@ class rtbInit {
39
  public function __construct() {
40
 
41
  // Common strings
42
- define( 'RTB_VERSION', '2.5.0' );
43
  define( 'RTB_PLUGIN_DIR', untrailingslashit( plugin_dir_path( __FILE__ ) ) );
44
  define( 'RTB_PLUGIN_URL', untrailingslashit( plugins_url( basename( plugin_dir_path( __FILE__ ) ), basename( __FILE__ ) ) ) );
45
  define( 'RTB_PLUGIN_FNAME', plugin_basename( __FILE__ ) );
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.5.1
7
  * Author: FiveStarPlugins
8
  * Author URI: https://profiles.wordpress.org/fivestarplugins/
9
  * Text Domain: restaurant-reservations
39
  public function __construct() {
40
 
41
  // Common strings
42
+ define( 'RTB_VERSION', '2.5.1' );
43
  define( 'RTB_PLUGIN_DIR', untrailingslashit( plugin_dir_path( __FILE__ ) ) );
44
  define( 'RTB_PLUGIN_URL', untrailingslashit( plugins_url( basename( plugin_dir_path( __FILE__ ) ), basename( __FILE__ ) ) ) );
45
  define( 'RTB_PLUGIN_FNAME', plugin_basename( __FILE__ ) );
templates/mpdf.php CHANGED
@@ -97,13 +97,13 @@
97
  if ( !empty( $this->query_args['location'] ) ) {
98
  $term = get_term( $this->query_args['location'] );
99
  if ( is_a( $term, 'WP_Term' ) ) {
100
- echo $term->name;
101
  }
102
  } else {
103
  bloginfo( 'sitename' );
104
  }
105
  ?></td>
106
- <td class="hd-date"><?php echo $this->get_date_phrase(); ?></td>
107
  </tr>
108
  </table>
109
  </htmlpageheader>
@@ -126,7 +126,7 @@
126
  <?php // Display the date if we've hit a new day ?>
127
  <?php // putting it under the table keeps it from being split in a page break ?>
128
  <?php if ( !isset( $current_date ) || $booking_date !== $current_date ) : ?>
129
- <tr class="date"><td><h1><?php echo $booking_date; ?></h1></td></tr>
130
  <?php $current_date = $booking_date; ?>
131
  <?php endif; ?>
132
 
@@ -135,14 +135,14 @@
135
  <table class="booking" cellspacing="0" cellpadding="0">
136
  <tr class="head">
137
  <td class="name">
138
- <?php echo $booking->name; ?>
139
- (<?php echo $booking->party; ?>)
140
  </td>
141
  <td class="status <?php echo esc_attr( $booking->post_status ); ?>">
142
- <?php echo $rtb_controller->cpts->booking_statuses[ $booking->post_status ]['label']; ?>
143
  </td>
144
  <td class="time">
145
- <?php echo apply_filters( 'get_the_date', mysql2date( get_option( 'time_format' ), $booking->date ) ); ?>
146
  </td>
147
  </tr>
148
  <tr class="details">
@@ -156,7 +156,7 @@
156
  ?>
157
  <p class="location">
158
  <span class="label"><?php esc_html_e( 'Location: ', 'export-bookings-for-rtb' ); ?></span>
159
- <?php echo $term->name; ?>
160
  </p>
161
  <?php
162
  endif;
@@ -165,20 +165,20 @@
165
 
166
  <p class="email">
167
  <span class="label"><?php esc_html_e( 'Email: ', 'export-bookings-for-rtb' ); ?></span>
168
- <?php echo $booking->email; ?>
169
  </p>
170
 
171
  <?php if ( !empty( $booking->phone ) ) : ?>
172
  <p class="phone">
173
  <span class="label"><?php esc_html_e( 'Phone: ', 'export-bookings-for-rtb' ); ?></span>
174
- <?php echo $booking->phone; ?>
175
  </p>
176
  <?php endif; ?>
177
 
178
  <?php if ( !empty( $booking->message ) ) : ?>
179
  <p class="message">
180
  <span class="label"><?php esc_html_e( 'Message: ', 'export-bookings-for-rtb' ); ?></span>
181
- <?php echo $booking->message; ?>
182
  </p>
183
  <?php endif; ?>
184
  <?php do_action( 'ebfrtb_mpdf_after_details', $booking ); ?>
97
  if ( !empty( $this->query_args['location'] ) ) {
98
  $term = get_term( $this->query_args['location'] );
99
  if ( is_a( $term, 'WP_Term' ) ) {
100
+ echo esc_html( $term->name );
101
  }
102
  } else {
103
  bloginfo( 'sitename' );
104
  }
105
  ?></td>
106
+ <td class="hd-date"><?php echo esc_html( $this->get_date_phrase() ); ?></td>
107
  </tr>
108
  </table>
109
  </htmlpageheader>
126
  <?php // Display the date if we've hit a new day ?>
127
  <?php // putting it under the table keeps it from being split in a page break ?>
128
  <?php if ( !isset( $current_date ) || $booking_date !== $current_date ) : ?>
129
+ <tr class="date"><td><h1><?php echo esc_html( $booking_date ); ?></h1></td></tr>
130
  <?php $current_date = $booking_date; ?>
131
  <?php endif; ?>
132
 
135
  <table class="booking" cellspacing="0" cellpadding="0">
136
  <tr class="head">
137
  <td class="name">
138
+ <?php echo esc_html( $booking->name ); ?>
139
+ (<?php echo esc_html( $booking->party ); ?>)
140
  </td>
141
  <td class="status <?php echo esc_attr( $booking->post_status ); ?>">
142
+ <?php echo esc_html( $rtb_controller->cpts->booking_statuses[ $booking->post_status ]['label'] ); ?>
143
  </td>
144
  <td class="time">
145
+ <?php echo esc_html( apply_filters( 'get_the_date', mysql2date( get_option( 'time_format' ), $booking->date ) ) ); ?>
146
  </td>
147
  </tr>
148
  <tr class="details">
156
  ?>
157
  <p class="location">
158
  <span class="label"><?php esc_html_e( 'Location: ', 'export-bookings-for-rtb' ); ?></span>
159
+ <?php echo esc_html( $term->name ); ?>
160
  </p>
161
  <?php
162
  endif;
165
 
166
  <p class="email">
167
  <span class="label"><?php esc_html_e( 'Email: ', 'export-bookings-for-rtb' ); ?></span>
168
+ <?php echo esc_html( $booking->email ); ?>
169
  </p>
170
 
171
  <?php if ( !empty( $booking->phone ) ) : ?>
172
  <p class="phone">
173
  <span class="label"><?php esc_html_e( 'Phone: ', 'export-bookings-for-rtb' ); ?></span>
174
+ <?php echo esc_html( $booking->phone ); ?>
175
  </p>
176
  <?php endif; ?>
177
 
178
  <?php if ( !empty( $booking->message ) ) : ?>
179
  <p class="message">
180
  <span class="label"><?php esc_html_e( 'Message: ', 'export-bookings-for-rtb' ); ?></span>
181
+ <?php echo esc_html( $booking->message ); ?>
182
  </p>
183
  <?php endif; ?>
184
  <?php do_action( 'ebfrtb_mpdf_after_details', $booking ); ?>
templates/tcpdf.php CHANGED
@@ -33,20 +33,20 @@
33
 
34
  <?php // Display the date if we've hit a new day ?>
35
  <?php if ( !isset( $current_date ) || $booking_date !== $current_date ) : ?>
36
- <h1 class="date" style="vertical-align:middle;"><?php echo $booking_date; ?></h1>
37
  <?php $current_date = $booking_date; ?>
38
  <?php endif; ?>
39
 
40
  <table class="booking">
41
  <tr>
42
  <td class="time">
43
- <?php echo apply_filters( 'get_the_date', mysql2date( get_option( 'time_format' ), $booking->date ) ); ?>
44
  </td>
45
  <td class="party">
46
- <?php echo $booking->party; ?>
47
  </td>
48
  <td class="name">
49
- <?php echo $booking->name; ?>
50
  </td>
51
  <td class="details">
52
  <?php do_action( 'ebfrtb_tcpdf_before_details', $booking ); ?>
@@ -57,20 +57,20 @@
57
  if ( is_a( $term, 'WP_Term' ) ) :
58
  ?>
59
  <div class="location">
60
- <?php echo $term->name; ?>
61
  </div>
62
  <?php
63
  endif;
64
  }
65
  ?>
66
- <div class="email"><?php echo $booking->email; ?></div>
67
 
68
  <?php if ( !empty( $booking->phone ) ) : ?>
69
- <div class="phone"><?php echo $booking->phone; ?></div>
70
  <?php endif; ?>
71
 
72
  <?php if ( !empty( $booking->message ) ) : ?>
73
- <div class="message"><?php echo $booking->message; ?></div>
74
  <?php endif; ?>
75
  <?php do_action( 'ebfrtb_tcpdf_after_details', $booking ); ?>
76
  </td>
33
 
34
  <?php // Display the date if we've hit a new day ?>
35
  <?php if ( !isset( $current_date ) || $booking_date !== $current_date ) : ?>
36
+ <h1 class="date" style="vertical-align:middle;"><?php echo esc_html( $booking_date ); ?></h1>
37
  <?php $current_date = $booking_date; ?>
38
  <?php endif; ?>
39
 
40
  <table class="booking">
41
  <tr>
42
  <td class="time">
43
+ <?php echo esc_html( apply_filters( 'get_the_date', mysql2date( get_option( 'time_format' ), $booking->date ) ) ); ?>
44
  </td>
45
  <td class="party">
46
+ <?php echo esc_html( $booking->party ); ?>
47
  </td>
48
  <td class="name">
49
+ <?php echo esc_html( $booking->name ); ?>
50
  </td>
51
  <td class="details">
52
  <?php do_action( 'ebfrtb_tcpdf_before_details', $booking ); ?>
57
  if ( is_a( $term, 'WP_Term' ) ) :
58
  ?>
59
  <div class="location">
60
+ <?php echo esc_html( $term->name ); ?>
61
  </div>
62
  <?php
63
  endif;
64
  }
65
  ?>
66
+ <div class="email"><?php echo esc_html( $booking->email ); ?></div>
67
 
68
  <?php if ( !empty( $booking->phone ) ) : ?>
69
+ <div class="phone"><?php echo esc_html( $booking->phone ); ?></div>
70
  <?php endif; ?>
71
 
72
  <?php if ( !empty( $booking->message ) ) : ?>
73
+ <div class="message"><?php echo esc_html( $booking->message ); ?></div>
74
  <?php endif; ?>
75
  <?php do_action( 'ebfrtb_tcpdf_after_details', $booking ); ?>
76
  </td>