Restaurant Reservations - Version 1.7.5

Version Description

Download this release

Release Info

Developer NateWr
Plugin Icon 128x128 Restaurant Reservations
Version 1.7.5
Comparing to
See all releases

Code changes from version 1.7.4 to 1.7.5

assets/css/admin.css CHANGED
@@ -604,13 +604,17 @@
604
float: left;
605
width: 150px;
606
height: 150px;
607
- margin: 0 20px 20px 0;
608
}
609
610
.rtb-addons .action {
611
margin-top: 2em;
612
}
613
614
.rtb-addons .soon,
615
.rtb-addons .installed {
616
line-height: 28px;
@@ -628,16 +632,16 @@
628
background: #81F05E;
629
}
630
631
- .rtb-addons .addon-themes .action .button {
632
- background: #D24C2B;
633
- color: #fff;
634
- border-color: #a53216;
635
- box-shadow: 0 1px 0 #cc3712;
636
}
637
638
- .rtb-addons .addon-themes .action .button:hover,
639
- .rtb-addons .addon-themes .action .button:focus {
640
- background: #ff5126;
641
}
642
643
@media screen and (max-width: 600px) {
604
float: left;
605
width: 150px;
606
height: 150px;
607
+ margin-right: 20px;
608
}
609
610
.rtb-addons .action {
611
margin-top: 2em;
612
}
613
614
+ .rtb-addons .action .button {
615
+ margin-right: 0.5em;
616
+ }
617
+
618
.rtb-addons .soon,
619
.rtb-addons .installed {
620
line-height: 28px;
632
background: #81F05E;
633
}
634
635
+ .rtb-addons .rtb-by {
636
+ display: inline-block;
637
+ font-style: italic;
638
+ line-height: 28px;
639
+ color: #777;
640
}
641
642
+ .rtb-addons .rtb-by a {
643
+ margin-left: 0.25em;
644
+ font-style: normal;
645
}
646
647
@media screen and (max-width: 600px) {
assets/img/theme-auberge.jpg ADDED
Binary file
assets/img/theme-augustan.jpg ADDED
Binary file
assets/img/theme-brasserie.jpg ADDED
Binary file
assets/img/theme-liber.jpg ADDED
Binary file
assets/img/theme-luigi.jpg ADDED
Binary file
assets/img/theme-plate-up.jpg ADDED
Binary file
assets/img/theme-the-spot.jpg ADDED
Binary file
assets/img/theme-veggie.jpg ADDED
Binary file
assets/img/themes.png DELETED
Binary file
includes/Addons.class.php CHANGED
@@ -111,19 +111,159 @@ class rtbAddons {
111
</div>
112
</div>
113
</div>
114
<div class="addon addon-themes">
115
- <a href="https://themeofthecrop.com/themes/<?php echo $url_params; ?>">
116
- <img src="<?php echo RTB_PLUGIN_URL . '/assets/img/themes.png'; ?>">
117
</a>
118
- <h3><?php esc_html_e( 'Restaurant WordPress Themes', 'restaurant-reservations' ); ?></h3>
119
<div class="details">
120
<div class="description">
121
- <?php esc_html_e( 'Find the best WordPress restaurant themes that integrate beautifully with your reservations plugin.', 'restaurant-reservations' ); ?>
122
</div>
123
<div class="action">
124
- <a href="https://themeofthecrop.com/themes/<?php echo $url_params; ?>" class="button" target="_blank">
125
- <?php esc_html_e( 'View Themes', 'restaurant-reservations' ); ?>
126
</a>
127
</div>
128
</div>
129
</div>
111
</div>
112
</div>
113
</div>
114
+ </div>
115
+ <h2>Recommended Themes</h2>
116
+ <p>The following restaurant themes integrate beautifully with Restaurant Reservations, providing a clean, stylized booking form that matches your site's design.</p>
117
+ <div class="rtb-addons">
118
+ <div class="addon addon-themes">
119
+ <a href="https://themeofthecrop.com/themes/augustan<?php echo $url_params; ?>">
120
+ <img src="<?php echo RTB_PLUGIN_URL . '/assets/img/theme-augustan.jpg'; ?>">
121
+ </a>
122
+ <h3><?php esc_html_e( 'Augustan', 'restaurant-reservations' ); ?></h3>
123
+ <div class="details">
124
+ <div class="description">
125
+ <?php esc_html_e( 'A traditionally elegant theme for high-class restaurants, with simple setup and powerful features.', 'restaurant-reservations' ); ?>
126
+ </div>
127
+ <div class="action">
128
+ <a href="https://themeofthecrop.com/themes/augustan<?php echo $url_params; ?>" class="button" target="_blank">
129
+ <?php esc_html_e( 'View Theme', 'restaurant-reservations' ); ?>
130
+ </a>
131
+ <span class="rtb-by">
132
+ by <a href="https://themeofthecrop.com/">Theme of the Crop</a>
133
+ </span>
134
+ </div>
135
+ </div>
136
+ </div>
137
+ <div class="addon addon-themes">
138
+ <a href="https://themeofthecrop.com/themes/luigi<?php echo $url_params; ?>">
139
+ <img src="<?php echo RTB_PLUGIN_URL . '/assets/img/theme-luigi.jpg'; ?>">
140
+ </a>
141
+ <h3><?php esc_html_e( 'Luigi', 'restaurant-reservations' ); ?></h3>
142
+ <div class="details">
143
+ <div class="description">
144
+ <?php esc_html_e( 'A smart theme for upscale bistros and fine Italian restaurants. Get up and running quickly.', 'restaurant-reservations' ); ?>
145
+ </div>
146
+ <div class="action">
147
+ <a href="https://themeofthecrop.com/themes/luigi<?php echo $url_params; ?>" class="button" target="_blank">
148
+ <?php esc_html_e( 'View Theme', 'restaurant-reservations' ); ?>
149
+ </a>
150
+ <span class="rtb-by">
151
+ by <a href="https://themeofthecrop.com/">Theme of the Crop</a>
152
+ </span>
153
+ </div>
154
+ </div>
155
+ </div>
156
+ <div class="addon addon-themes">
157
+ <a href="https://themeofthecrop.com/themes/the-spot<?php echo $url_params; ?>">
158
+ <img src="<?php echo RTB_PLUGIN_URL . '/assets/img/theme-the-spot.jpg'; ?>">
159
+ </a>
160
+ <h3><?php esc_html_e( 'The Spot', 'restaurant-reservations' ); ?></h3>
161
+ <div class="details">
162
+ <div class="description">
163
+ <?php esc_html_e( 'A vibrant theme for bars, pubs and destination restaurants with an attention-grabbing homepage.', 'restaurant-reservations' ); ?>
164
+ </div>
165
+ <div class="action">
166
+ <a href="https://themeofthecrop.com/themes/the-spot<?php echo $url_params; ?>" class="button" target="_blank">
167
+ <?php esc_html_e( 'View Theme', 'restaurant-reservations' ); ?>
168
+ </a>
169
+ <span class="rtb-by">
170
+ by <a href="https://themeofthecrop.com/">Theme of the Crop</a>
171
+ </span>
172
+ </div>
173
+ </div>
174
+ </div>
175
+ <div class="addon addon-themes">
176
+ <a href="https://themeofthecrop.com/themes/plate-up<?php echo $url_params; ?>">
177
+ <img src="<?php echo RTB_PLUGIN_URL . '/assets/img/theme-plate-up.jpg'; ?>">
178
+ </a>
179
+ <h3><?php esc_html_e( 'Plate Up', 'restaurant-reservations' ); ?></h3>
180
+ <div class="details">
181
+ <div class="description">
182
+ <?php esc_html_e( 'A refined theme for sophisticated, modern restaurants to drive customers to your booking form.', 'restaurant-reservations' ); ?>
183
+ </div>
184
+ <div class="action">
185
+ <a href="https://themeofthecrop.com/themes/plate-up<?php echo $url_params; ?>" class="button" target="_blank">
186
+ <?php esc_html_e( 'View Theme', 'restaurant-reservations' ); ?>
187
+ </a>
188
+ <span class="rtb-by">
189
+ by <a href="https://themeofthecrop.com/">Theme of the Crop</a>
190
+ </span>
191
+ </div>
192
+ </div>
193
+ </div>
194
+ <div class="addon addon-themes">
195
+ <a href="https://wordpress.org/themes/auberge/">
196
+ <img src="<?php echo RTB_PLUGIN_URL . '/assets/img/theme-auberge.jpg'; ?>">
197
+ </a>
198
+ <h3><?php esc_html_e( 'Auberge', 'restaurant-reservations' ); ?></h3>
199
+ <div class="details">
200
+ <div class="description">
201
+ <?php esc_html_e( 'Display a menu of your restaurant, café or bar stylishly with this free mobile-friendly WordPress theme.', 'restaurant-reservations' ); ?>
202
+ </div>
203
+ <div class="action">
204
+ <a href="https://wordpress.org/themes/auberge/" class="button" target="_blank">
205
+ <?php esc_html_e( 'View Theme', 'restaurant-reservations' ); ?>
206
+ </a>
207
+ <span class="rtb-by">
208
+ by <a href="https://www.webmandesign.eu/">Webman Design</a>
209
+ </span>
210
+ </div>
211
+ </div>
212
+ </div>
213
+ <div class="addon addon-themes">
214
+ <a href="http://www.anarieldesign.com/themes/restaurant-bar-wordpress-theme/?utm_source=Theme%20of%20the%20Crop&utm_medium=Addon%20List&utm_campaign=Restaurant%20Reservations">
215
+ <img src="<?php echo RTB_PLUGIN_URL . '/assets/img/theme-liber.jpg'; ?>">
216
+ </a>
217
+ <h3><?php esc_html_e( 'Liber', 'restaurant-reservations' ); ?></h3>
218
+ <div class="details">
219
+ <div class="description">
220
+ <?php esc_html_e( 'A responsive theme optimized for restaurants and bars supporting features these websites need.', 'restaurant-reservations' ); ?>
221
+ </div>
222
+ <div class="action">
223
+ <a href="http://www.anarieldesign.com/themes/restaurant-bar-wordpress-theme/?utm_source=Theme%20of%20the%20Crop&utm_medium=Addon%20List&utm_campaign=Restaurant%20Reservations" class="button" target="_blank">
224
+ <?php esc_html_e( 'View Theme', 'restaurant-reservations' ); ?>
225
+ </a>
226
+ <span class="rtb-by">
227
+ by <a href="http://www.anarieldesign.com/">Anariel Design</a>
228
+ </span>
229
+ </div>
230
+ </div>
231
+ </div>
232
+ <div class="addon addon-themes">
233
+ <a href="https://wordpress.org/themes/brasserie/">
234
+ <img src="<?php echo RTB_PLUGIN_URL . '/assets/img/theme-brasserie.jpg'; ?>">
235
+ </a>
236
+ <h3><?php esc_html_e( 'Brasserie', 'restaurant-reservations' ); ?></h3>
237
+ <div class="details">
238
+ <div class="description">
239
+ <?php esc_html_e( 'A delightfully simple to use and beautifully crafted free theme for any food establishment.', 'restaurant-reservations' ); ?>
240
+ </div>
241
+ <div class="action">
242
+ <a href="https://wordpress.org/themes/brasserie/" class="button" target="_blank">
243
+ <?php esc_html_e( 'View Theme', 'restaurant-reservations' ); ?>
244
+ </a>
245
+ <span class="rtb-by">
246
+ by <a href="https://www.templateexpress.com/">Template Express</a>
247
+ </span>
248
+ </div>
249
+ </div>
250
+ </div>
251
<div class="addon addon-themes">
252
+ <a href="http://www.anarieldesign.com/themes/food-blog-wordpress-theme/?utm_source=Theme%20of%20the%20Crop&utm_medium=Addon%20List&utm_campaign=Restaurant%20Reservations">
253
+ <img src="<?php echo RTB_PLUGIN_URL . '/assets/img/theme-veggie.jpg'; ?>">
254
</a>
255
+ <h3><?php esc_html_e( 'Veggie', 'restaurant-reservations' ); ?></h3>
256
<div class="details">
257
<div class="description">
258
+ <?php esc_html_e( 'A food blogging and restaurant theme with modern, easy-to-read typography and minimalist design.', 'restaurant-reservations' ); ?>
259
</div>
260
<div class="action">
261
+ <a href="http://www.anarieldesign.com/themes/food-blog-wordpress-theme/?utm_source=Theme%20of%20the%20Crop&utm_medium=Addon%20List&utm_campaign=Restaurant%20Reservations" class="button" target="_blank">
262
+ <?php esc_html_e( 'View Theme', 'restaurant-reservations' ); ?>
263
</a>
264
+ <span class="rtb-by">
265
+ by <a href="http://www.anarieldesign.com/">Anariel Design</a>
266
+ </span>
267
</div>
268
</div>
269
</div>
includes/Booking.class.php CHANGED
@@ -425,7 +425,7 @@ class rtbBooking {
425
}
426
}
427
428
- // Email/Phone
429
$this->email = empty( $_POST['rtb-email'] ) ? '' : sanitize_text_field( stripslashes_deep( $_POST['rtb-email'] ) ); // @todo email validation? send notification back to form on bad email address.
430
if ( empty( $this->email ) ) {
431
$this->validation_errors[] = array(
@@ -433,10 +433,26 @@ class rtbBooking {
433
'post_variable' => $this->email,
434
'message' => __( 'Please enter an email address so we can confirm your booking.', 'restaurant-reservations' ),
435
);
436
}
437
438
- // Phone/Message
439
$this->phone = empty( $_POST['rtb-phone'] ) ? '' : sanitize_text_field( stripslashes_deep( $_POST['rtb-phone'] ) );
440
$this->message = empty( $_POST['rtb-message'] ) ? '' : nl2br( wp_kses_post( stripslashes_deep( $_POST['rtb-message'] ) ) );
441
442
// Post Status (define a default post status is none passed)
425
}
426
}
427
428
+ // Email
429
$this->email = empty( $_POST['rtb-email'] ) ? '' : sanitize_text_field( stripslashes_deep( $_POST['rtb-email'] ) ); // @todo email validation? send notification back to form on bad email address.
430
if ( empty( $this->email ) ) {
431
$this->validation_errors[] = array(
433
'post_variable' => $this->email,
434
'message' => __( 'Please enter an email address so we can confirm your booking.', 'restaurant-reservations' ),
435
);
436
+ } elseif ( !is_email( $this->email ) && apply_filters( 'rtb_require_valid_email', true ) ) {
437
+ $this->validation_errors[] = array(
438
+ 'field' => 'email',
439
+ 'post_variable' => $this->email,
440
+ 'message' => __( 'Please enter a valid email address so we can confirm your booking.', 'restaurant-reservations' ),
441
+ );
442
}
443
444
+ // Phone
445
$this->phone = empty( $_POST['rtb-phone'] ) ? '' : sanitize_text_field( stripslashes_deep( $_POST['rtb-phone'] ) );
446
+ $phone_required = $rtb_controller->settings->get_setting( 'require-phone' );
447
+ if ( $phone_required && empty( $this->phone ) ) {
448
+ $this->validation_errors[] = array(
449
+ 'field' => 'phone',
450
+ 'post_variable' => $this->phone,
451
+ 'message' => __( 'Please provide a phone number so we can confirm your booking.', 'restaurant-reservations' ),
452
+ );
453
+ }
454
+
455
+ // Message
456
$this->message = empty( $_POST['rtb-message'] ) ? '' : nl2br( wp_kses_post( stripslashes_deep( $_POST['rtb-message'] ) ) );
457
458
// Post Status (define a default post status is none passed)
includes/CustomPostTypes.class.php CHANGED
@@ -24,6 +24,14 @@ class rtbCustomPostTypes {
24
// Set up $booking_statuses array and register new post statuses
25
add_action( 'init', array( $this, 'set_booking_statuses' ) );
26
27
}
28
29
/**
@@ -245,5 +253,82 @@ class rtbCustomPostTypes {
245
return !is_wp_error( $booking ) && is_object( $booking ) && $booking->post_type == RTB_BOOKING_POST_TYPE;
246
}
247
248
}
249
} // endif;
24
// Set up $booking_statuses array and register new post statuses
25
add_action( 'init', array( $this, 'set_booking_statuses' ) );
26
27
+ // Display the count of pending bookings
28
+ add_action( 'admin_footer', array( $this, 'show_pending_count' ) );
29
+
30
+ // Maintain the count of pending bookings
31
+ add_action( 'rtb_insert_booking', array( $this, 'update_pending_count' ) );
32
+ add_action( 'rtb_update_booking', array( $this, 'update_pending_count' ) );
33
+ add_action( 'transition_post_status', array( $this, 'maybe_update_pending_count' ), 999, 3 );
34
+
35
}
36
37
/**
253
return !is_wp_error( $booking ) && is_object( $booking ) && $booking->post_type == RTB_BOOKING_POST_TYPE;
254
}
255
256
+ /**
257
+ * Show the count of upcoming pending bookings in admin nav menu
258
+ *
259
+ * This is hooked to admin_footer to ensure that any actions on the page
260
+ * which might effect booking statuses have already fired, such as the
261
+ * bulk actions on the bookings page, which are processed after the nav
262
+ * menu has been loaded.
263
+ *
264
+ * @since 1.7.5
265
+ */
266
+ public function show_pending_count() {
267
+
268
+ $pending_count = get_option( 'rtb_pending_count' );
269
+
270
+ if ( $pending_count === false ) {
271
+ global $rtb_controller;
272
+ $rtb_controller->cpts->update_pending_count();
273
+ $pending_count = get_option( 'rtb_pending_count', 0 );
274
+ }
275
+
276
+ if ( !$pending_count ) {
277
+ return;
278
+ }
279
+
280
+ $pending_bubble = ' <span class="update-plugins count-' . (int) $pending_count . '">' .
281
+ '<span class="plugin-count" aria-hidden="true">' . (int) $pending_count . '</span></span>';
282
+
283
+ ?>
284
+
285
+ <script type="text/javascript">
286
+ jQuery(document).ready(function ($) {
287
+ $( '#toplevel_page_rtb-bookings > a .wp-menu-name' ).append( '<?php echo $pending_bubble; ?>' );
288
+ });
289
+ </script>
290
+
291
+ <?php
292
+ }
293
+
294
+ /**
295
+ * Update the count of upcoming pending bookings
296
+ *
297
+ * This is hooked to fire whenever a booking is added or updated. But it can
298
+ * also be called directly once to set the initial option.
299
+ *
300
+ * @param rtbBooking $booking Optional. The booking being added or updated.
301
+ * @since 1.7.5
302
+ */
303
+ public function update_pending_count( $booking = null ) {
304
+
305
+ global $wpdb;
306
+ $current_date_time = date( 'Y-m-d H:i:s', current_time( 'timestamp' ) - HOUR_IN_SECONDS );
307
+ $count = $wpdb->get_var(
308
+ $wpdb->prepare(
309
+ "SELECT COUNT(*) FROM {$wpdb->prefix}posts WHERE post_type=%s AND post_status='pending' AND post_date>=%s;",
310
+ RTB_BOOKING_POST_TYPE,
311
+ $current_date_time
312
+ )
313
+ );
314
+
315
+ update_option( 'rtb_pending_count', (int) $count );
316
+ }
317
+
318
+ /**
319
+ * Update the count of upcoming pending bookings whenever a booking status
320
+ * is modified
321
+ *
322
+ * @param string $new_status The status being transitioned to
323
+ * @param string $old_status The status the post used to have
324
+ * @param WP_Post $post The post being transitioned
325
+ * @since 1.7.5
326
+ */
327
+ public function maybe_update_pending_count( $new_status, $old_status, $post ) {
328
+ if ( $post->post_type === RTB_BOOKING_POST_TYPE ) {
329
+ $this->update_pending_count();
330
+ }
331
+ }
332
+
333
}
334
} // endif;
includes/Settings.class.php CHANGED
@@ -288,6 +288,22 @@ Sorry, we could not accomodate your booking request. We\'re full or not open at
288
)
289
);
290
291
$sap->add_setting(
292
'rtb-settings',
293
'rtb-general',
288
)
289
);
290
291
+ $sap->add_setting(
292
+ 'rtb-settings',
293
+ 'rtb-general',
294
+ 'select',
295
+ array(
296
+ 'id' => 'require-phone',
297
+ 'title' => __( 'Require Phone', 'restaurant-reservations' ),
298
+ 'description' => __( "Don't accept booking requests without a phone number.", 'restaurant-reservations' ),
299
+ 'blank_option' => false,
300
+ 'options' => array(
301
+ '' => __( 'No', 'restaurant-reservations' ),
302
+ '1' => __( 'Yes', 'restaurant-reservations' ),
303
+ ),
304
+ )
305
+ );
306
+
307
$sap->add_setting(
308
'rtb-settings',
309
'rtb-general',
languages/restaurant-reservations.pot CHANGED
@@ -2,9 +2,9 @@
2
# This file is distributed under the GNU General Public License v2.0 or later.
3
msgid ""
4
msgstr ""
5
- "Project-Id-Version: Restaurant Reservations 1.7.4\n"
6
"Report-Msgid-Bugs-To: https://themeofthecrop.com\n"
7
- "POT-Creation-Date: 2017-03-21 16:36:21+00:00\n"
8
"MIME-Version: 1.0\n"
9
"Content-Type: text/plain; charset=utf-8\n"
10
"Content-Transfer-Encoding: 8bit\n"
@@ -43,7 +43,7 @@ msgid ""
43
"services."
44
msgstr ""
45
46
- #: includes/Addons.class.php:86 includes/Settings.class.php:595
47
msgid "Email Templates"
48
msgstr ""
49
@@ -63,25 +63,98 @@ msgid ""
63
"subscription rates grow effortlessly."
64
msgstr ""
65
66
- #: includes/Addons.class.php:118
67
- msgid "Restaurant WordPress Themes"
68
msgstr ""
69
70
- #: includes/Addons.class.php:121
71
msgid ""
72
- "Find the best WordPress restaurant themes that integrate beautifully with "
73
- "your reservations plugin."
74
msgstr ""
75
76
- #: includes/Addons.class.php:125
77
- msgid "View Themes"
78
msgstr ""
79
80
#: includes/AdminBookings.class.php:86
81
msgid "Restaurant Bookings"
82
msgstr ""
83
84
- #: includes/AdminBookings.class.php:87 includes/CustomPostTypes.class.php:42
85
msgid "Add New"
86
msgstr ""
87
@@ -107,7 +180,7 @@ msgstr ""
107
msgid "Subject"
108
msgstr ""
109
110
- #: includes/AdminBookings.class.php:200 includes/Settings.class.php:886
111
#: includes/WP_List_Table.BookingsTable.class.php:450
112
msgid "Message"
113
msgstr ""
@@ -275,66 +348,74 @@ msgstr ""
275
msgid "Please enter an email address so we can confirm your booking."
276
msgstr ""
277
278
- #: includes/Booking.class.php:456
279
msgid "Please complete this field to request a booking."
280
msgstr ""
281
282
- #: includes/Booking.class.php:468
283
msgid ""
284
"Your booking has been rejected. Please call us if you would like to make a "
285
"booking."
286
msgstr ""
287
288
- #: includes/CustomPostTypes.class.php:38 includes/CustomPostTypes.class.php:40
289
- #: includes/CustomPostTypes.class.php:41
290
#: includes/WP_List_Table.BookingsTable.class.php:113
291
msgid "Bookings"
292
msgstr ""
293
294
- #: includes/CustomPostTypes.class.php:39
295
#: includes/WP_List_Table.BookingsTable.class.php:112
296
msgid "Booking"
297
msgstr ""
298
299
- #: includes/CustomPostTypes.class.php:43
300
msgid "Add New Booking"
301
msgstr ""
302
303
- #: includes/CustomPostTypes.class.php:44 restaurant-reservations.php:232
304
msgid "Edit Booking"
305
msgstr ""
306
307
- #: includes/CustomPostTypes.class.php:45
308
msgid "New Booking"
309
msgstr ""
310
311
- #: includes/CustomPostTypes.class.php:46
312
msgid "View Booking"
313
msgstr ""
314
315
- #: includes/CustomPostTypes.class.php:47
316
msgid "Search Bookings"
317
msgstr ""
318
319
- #: includes/CustomPostTypes.class.php:48
320
msgid "No bookings found"
321
msgstr ""
322
323
- #: includes/CustomPostTypes.class.php:49
324
msgid "No bookings found in trash"
325
msgstr ""
326
327
- #: includes/CustomPostTypes.class.php:50
328
msgid "All Bookings"
329
msgstr ""
330
331
- #: includes/CustomPostTypes.class.php:95
332
msgid "Confirmed <span class=\"count\">(%s)</span>"
333
msgid_plural "Confirmed <span class=\"count\">(%s)</span>"
334
msgstr[0] ""
335
msgstr[1] ""
336
337
- #: includes/CustomPostTypes.class.php:106
338
msgid "Closed <span class=\"count\">(%s)</span>"
339
msgid_plural "Closed <span class=\"count\">(%s)</span>"
340
msgstr[0] ""
@@ -390,7 +471,7 @@ msgstr ""
390
msgid "Show booking form with this location."
391
msgstr ""
392
393
- #: includes/MultipleLocations.class.php:548 includes/Settings.class.php:550
394
msgid "Reply-To Name"
395
msgstr ""
396
@@ -400,11 +481,11 @@ msgid ""
400
"email."
401
msgstr ""
402
403
- #: includes/MultipleLocations.class.php:558 includes/Settings.class.php:562
404
msgid "Reply-To Email Address"
405
msgstr ""
406
407
- #: includes/MultipleLocations.class.php:562 includes/Settings.class.php:563
408
msgid ""
409
"The email address which should appear in the Reply-To field of a user "
410
"notification email."
@@ -471,60 +552,76 @@ msgid "Set a maximum allowed party size for bookings."
471
msgstr ""
472
473
#: includes/Settings.class.php:297
474
- msgid "Success Message"
475
msgstr ""
476
477
#: includes/Settings.class.php:298
478
msgid "Enter the message to display when a booking request is made."
479
msgstr ""
480
481
- #: includes/Settings.class.php:309
482
msgid "Date Format"
483
msgstr ""
484
485
- #: includes/Settings.class.php:310
486
msgid ""
487
"Define how the date is formatted on the booking form. %sFormatting rules%s. "
488
"This only changes the format on the booking form. To change the date format "
489
"in notification messages, modify your general %sWordPress Settings%s."
490
msgstr ""
491
492
- #: includes/Settings.class.php:321
493
msgid "Time Format"
494
msgstr ""
495
496
- #: includes/Settings.class.php:322
497
msgid ""
498
"Define how the time is formatted on the booking form. %sFormatting rules%s. "
499
"This only changes the format on the booking form. To change the time format "
500
"in notification messages, modify your general %sWordPress Settings%s."
501
msgstr ""
502
503
- #: includes/Settings.class.php:335
504
msgid "Language"
505
msgstr ""
506
507
- #: includes/Settings.class.php:336
508
msgid ""
509
"Select a language to use for the booking form datepicker if it is different "
510
"than your WordPress language setting."
511
msgstr ""
512
513
- #: includes/Settings.class.php:348
514
msgid "Banned Email Addresses"
515
msgstr ""
516
517
- #: includes/Settings.class.php:349
518
msgid ""
519
"You can block bookings from specific email addresses. Enter each email "
520
"address on a separate line."
521
msgstr ""
522
523
- #: includes/Settings.class.php:359
524
msgid "Banned IP Addresses"
525
msgstr ""
526
527
- #: includes/Settings.class.php:360
528
msgid ""
529
"You can block bookings from specific IP addresses. Enter each IP address on "
530
"a separate line. Be aware that many internet providers rotate their IP "
@@ -534,394 +631,394 @@ msgid ""
534
"block several people."
535
msgstr ""
536
537
- #: includes/Settings.class.php:368
538
msgid "Booking Schedule"
539
msgstr ""
540
541
- #: includes/Settings.class.php:375
542
msgid "Add new scheduling rule"
543
msgstr ""
544
545
- #: includes/Settings.class.php:389
546
msgid "Delete scheduling rule"
547
msgstr ""
548
549
- #: includes/Settings.class.php:406
550
msgid "Schedule"
551
msgstr ""
552
553
- #: includes/Settings.class.php:407
554
msgid "Define the weekly schedule during which you accept bookings."
555
msgstr ""
556
557
- #: includes/Settings.class.php:432
558
msgid "Exceptions"
559
msgstr ""
560
561
- #: includes/Settings.class.php:433
562
msgid ""
563
"Define special opening hours for holidays, events or other needs. Leave the "
564
"time empty if you're closed all day."
565
msgstr ""
566
567
- #: includes/Settings.class.php:448
568
msgid "Early Bookings"
569
msgstr ""
570
571
- #: includes/Settings.class.php:449
572
msgid ""
573
"Select how early customers can make their booking. (Administrators and "
574
"Booking Managers are not restricted by this setting.)"
575
msgstr ""
576
577
- #: includes/Settings.class.php:452
578
msgid "Any time"
579
msgstr ""
580
581
- #: includes/Settings.class.php:453
582
msgid "From 1 day in advance"
583
msgstr ""
584
585
- #: includes/Settings.class.php:454
586
msgid "From 1 week in advance"
587
msgstr ""
588
589
- #: includes/Settings.class.php:455
590
msgid "From 2 weeks in advance"
591
msgstr ""
592
593
- #: includes/Settings.class.php:456
594
msgid "From 30 days in advance"
595
msgstr ""
596
597
- #: includes/Settings.class.php:457
598
msgid "From 90 days in advance"
599
msgstr ""
600
601
- #: includes/Settings.class.php:468
602
msgid "Late Bookings"
603
msgstr ""
604
605
- #: includes/Settings.class.php:469
606
msgid ""
607
"Select how late customers can make their booking. (Administrators and "
608
"Booking Managers are not restricted by this setting.)"
609
msgstr ""
610
611
- #: includes/Settings.class.php:472
612
msgid "Up to the last minute"
613
msgstr ""
614
615
- #: includes/Settings.class.php:473
616
msgid "At least 15 minutes in advance"
617
msgstr ""
618
619
- #: includes/Settings.class.php:474
620
msgid "At least 30 minutes in advance"
621
msgstr ""
622
623
- #: includes/Settings.class.php:475
624
msgid "At least 45 minutes in advance"
625
msgstr ""
626
627
- #: includes/Settings.class.php:476
628
msgid "At least 1 hour in advance"
629
msgstr ""
630
631
- #: includes/Settings.class.php:477
632
msgid "At least 4 hours in advance"
633
msgstr ""
634
635
- #: includes/Settings.class.php:478
636
msgid "At least 24 hours in advance"
637
msgstr ""
638
639
- #: includes/Settings.class.php:479
640
msgid "Block same-day bookings"
641
msgstr ""
642
643
- #: includes/Settings.class.php:490
644
msgid "Date Pre-selection"
645
msgstr ""
646
647
- #: includes/Settings.class.php:491
648
msgid ""
649
"When the booking form is loaded, should it automatically attempt to select "
650
"a valid date?"
651
msgstr ""
652
653
- #: includes/Settings.class.php:494
654
msgid "Select today if valid"
655
msgstr ""
656
657
- #: includes/Settings.class.php:495
658
msgid "Select today or next valid date"
659
msgstr ""
660
661
- #: includes/Settings.class.php:496
662
msgid "Leave empty"
663
msgstr ""
664
665
- #: includes/Settings.class.php:507
666
msgid "Time Interval"
667
msgstr ""
668
669
- #: includes/Settings.class.php:508
670
msgid "Select the number of minutes between each available time."
671
msgstr ""
672
673
- #: includes/Settings.class.php:511
674
msgid "Every 30 minutes"
675
msgstr ""
676
677
- #: includes/Settings.class.php:512
678
msgid "Every 15 minutes"
679
msgstr ""
680
681
- #: includes/Settings.class.php:513
682
msgid "Every 10 minutes"
683
msgstr ""
684
685
- #: includes/Settings.class.php:514
686
msgid "Every 5 minutes"
687
msgstr ""
688
689
- #: includes/Settings.class.php:525
690
msgid "Week Starts On"
691
msgstr ""
692
693
- #: includes/Settings.class.php:526
694
msgid "Select the first day of the week"
695
msgstr ""
696
697
- #: includes/Settings.class.php:529
698
msgid "Sunday"
699
msgstr ""
700
701
- #: includes/Settings.class.php:530
702
msgid "Monday"
703
msgstr ""
704
705
- #: includes/Settings.class.php:539
706
msgid "Notifications"
707
msgstr ""
708
709
- #: includes/Settings.class.php:551
710
msgid ""
711
"The name which should appear in the Reply-To field of a user notification "
712
"email"
713
msgstr ""
714
715
- #: includes/Settings.class.php:574
716
msgid "Admin Notification"
717
msgstr ""
718
719
- #: includes/Settings.class.php:575
720
msgid ""
721
"Send an email notification to an administrator when a new booking is "
722
"requested."
723
msgstr ""
724
725
- #: includes/Settings.class.php:585
726
msgid "Admin Email Address"
727
msgstr ""
728
729
- #: includes/Settings.class.php:586
730
msgid "The email address where admin notifications should be sent."
731
msgstr ""
732
733
- #: includes/Settings.class.php:597
734
msgid ""
735
"Adjust the messages that are emailed to users and admins during the booking "
736
"process."
737
msgstr ""
738
739
- #: includes/Settings.class.php:607
740
msgid "Template Tags"
741
msgstr ""
742
743
- #: includes/Settings.class.php:609
744
msgid ""
745
"Use the following tags to automatically add booking information to the "
746
"emails. Tags labeled with an asterisk (*) can be used in the email subject "
747
"as well."
748
msgstr ""
749
750
- #: includes/Settings.class.php:620
751
msgid "Admin Notification Subject"
752
msgstr ""
753
754
- #: includes/Settings.class.php:621
755
msgid "The email subject for admin notifications."
756
msgstr ""
757
758
- #: includes/Settings.class.php:632
759
msgid "Admin Notification Email"
760
msgstr ""
761
762
- #: includes/Settings.class.php:633
763
msgid ""
764
"Enter the email an admin should receive when an initial booking request is "
765
"made."
766
msgstr ""
767
768
- #: includes/Settings.class.php:644
769
msgid "New Request Email Subject"
770
msgstr ""
771
772
- #: includes/Settings.class.php:645
773
msgid ""
774
"The email subject a user should receive when they make an initial booking "
775
"request."
776
msgstr ""
777
778
- #: includes/Settings.class.php:656
779
msgid "New Request Email"
780
msgstr ""
781
782
- #: includes/Settings.class.php:657
783
msgid ""
784
"Enter the email a user should receive when they make an initial booking "
785
"request."
786
msgstr ""
787
788
- #: includes/Settings.class.php:668
789
msgid "Confirmed Email Subject"
790
msgstr ""
791
792
- #: includes/Settings.class.php:669
793
msgid ""
794
"The email subject a user should receive when their booking has been "
795
"confirmed."
796
msgstr ""
797
798
- #: includes/Settings.class.php:680
799
msgid "Confirmed Email"
800
msgstr ""
801
802
- #: includes/Settings.class.php:681
803
msgid "Enter the email a user should receive when their booking has been confirmed."
804
msgstr ""
805
806
- #: includes/Settings.class.php:692
807
msgid "Rejected Email Subject"
808
msgstr ""
809
810
- #: includes/Settings.class.php:693
811
msgid ""
812
"The email subject a user should receive when their booking has been "
813
"rejected."
814
msgstr ""
815
816
- #: includes/Settings.class.php:704
817
msgid "Rejected Email"
818
msgstr ""
819
820
- #: includes/Settings.class.php:705
821
msgid "Enter the email a user should receive when their booking has been rejected."
822
msgstr ""
823
824
- #: includes/Settings.class.php:716
825
msgid "Admin Update Subject"
826
msgstr ""
827
828
- #: includes/Settings.class.php:717
829
msgid ""
830
"The email subject a user should receive when an admin sends them a custom "
831
"email message from the %sbookings panel%s."
832
msgstr ""
833
834
- #: includes/Settings.class.php:737
835
msgid "Any size"
836
msgstr ""
837
838
- #: includes/Settings.class.php:827
839
#: includes/integrations/business-profile.php:100
840
msgid "Book a table"
841
msgstr ""
842
843
- #: includes/Settings.class.php:830
844
#: includes/WP_List_Table.BookingsTable.class.php:358
845
msgid "Date"
846
msgstr ""
847
848
- #: includes/Settings.class.php:836
849
msgid "Time"
850
msgstr ""
851
852
- #: includes/Settings.class.php:842
853
#: includes/WP_List_Table.BookingsTable.class.php:359
854
msgid "Party"
855
msgstr ""
856
857
- #: includes/Settings.class.php:855
858
msgid "Contact Details"
859
msgstr ""
860
861
- #: includes/Settings.class.php:858
862
#: includes/WP_List_Table.BookingsTable.class.php:360
863
msgid "Name"
864
msgstr ""
865
866
- #: includes/Settings.class.php:864
867
#: includes/WP_List_Table.BookingsTable.class.php:361
868
msgid "Email"
869
msgstr ""
870
871
- #: includes/Settings.class.php:873
872
#: includes/WP_List_Table.BookingsTable.class.php:362
873
msgid "Phone"
874
msgstr ""
875
876
- #: includes/Settings.class.php:881
877
msgid "Add a Message"
878
msgstr ""
879
880
- #: includes/Settings.class.php:931
881
msgid "Email of the user who made the booking"
882
msgstr ""
883
884
- #: includes/Settings.class.php:932
885
msgid "* Name of the user who made the booking"
886
msgstr ""
887
888
- #: includes/Settings.class.php:933
889
msgid "* Number of people booked"
890
msgstr ""
891
892
- #: includes/Settings.class.php:934
893
msgid "* Date and time of the booking"
894
msgstr ""
895
896
- #: includes/Settings.class.php:935
897
msgid "Phone number if supplied with the request"
898
msgstr ""
899
900
- #: includes/Settings.class.php:936
901
msgid "Message added to the request"
902
msgstr ""
903
904
- #: includes/Settings.class.php:937
905
msgid "A link to the admin panel showing pending bookings"
906
msgstr ""
907
908
- #: includes/Settings.class.php:938
909
msgid "A link to confirm this booking. Only include this in admin notifications"
910
msgstr ""
911
912
- #: includes/Settings.class.php:939
913
msgid "A link to reject this booking. Only include this in admin notifications"
914
msgstr ""
915
916
- #: includes/Settings.class.php:940
917
msgid "The name of this website"
918
msgstr ""
919
920
- #: includes/Settings.class.php:941
921
msgid "A link to this website"
922
msgstr ""
923
924
- #: includes/Settings.class.php:942
925
msgid "Current date and time"
926
msgstr ""
927
@@ -1191,7 +1288,7 @@ msgctxt "Title of addons page in the admin menu"
1191
msgid "Addons"
1192
msgstr ""
1193
1194
- #: includes/Addons.class.php:150
1195
msgctxt "restaurant-reservations"
1196
msgid ""
1197
"Find out when new addons are available by subscribing to the %smonthly "
@@ -1221,17 +1318,17 @@ msgctxt "Label next to the email address to which an email will be sent"
1221
msgid "To"
1222
msgstr ""
1223
1224
- #: includes/CustomPostTypes.class.php:82
1225
msgctxt "Booking status when it is pending review"
1226
msgid "Pending"
1227
msgstr ""
1228
1229
- #: includes/CustomPostTypes.class.php:88
1230
msgctxt "Booking status for a confirmed booking"
1231
msgid "Confirmed"
1232
msgstr ""
1233
1234
- #: includes/CustomPostTypes.class.php:99
1235
msgctxt "Booking status for a closed booking"
1236
msgid "Closed"
1237
msgstr ""
@@ -1384,86 +1481,86 @@ msgctxt ""
1384
msgid "Update regarding your booking at %s"
1385
msgstr ""
1386
1387
- #: includes/Settings.class.php:376
1388
msgctxt "Format of a scheduling rule"
1389
msgid "Weekly"
1390
msgstr ""
1391
1392
- #: includes/Settings.class.php:377
1393
msgctxt "Format of a scheduling rule"
1394
msgid "Monthly"
1395
msgstr ""
1396
1397
- #: includes/Settings.class.php:378
1398
msgctxt "Format of a scheduling rule"
1399
msgid "Date"
1400
msgstr ""
1401
1402
- #: includes/Settings.class.php:379
1403
msgctxt "Label for selecting days of the week in a scheduling rule"
1404
msgid "Days of the week"
1405
msgstr ""
1406
1407
- #: includes/Settings.class.php:380
1408
msgctxt "Label for selecting weeks of the month in a scheduling rule"
1409
msgid "Weeks of the month"
1410
msgstr ""
1411
1412
- #: includes/Settings.class.php:381
1413
msgctxt "Label to select a date for a scheduling rule"
1414
msgid "Date"
1415
msgstr ""
1416
1417
- #: includes/Settings.class.php:382
1418
msgctxt "Label to select a time slot for a scheduling rule"
1419
msgid "Time"
1420
msgstr ""
1421
1422
- #: includes/Settings.class.php:383
1423
msgctxt "Label to set a scheduling rule to last all day"
1424
msgid "All day"
1425
msgstr ""
1426
1427
- #: includes/Settings.class.php:384
1428
msgctxt "Label for the starting time of a scheduling rule"
1429
msgid "Start"
1430
msgstr ""
1431
1432
- #: includes/Settings.class.php:385
1433
msgctxt "Label for the ending time of a scheduling rule"
1434
msgid "End"
1435
msgstr ""
1436
1437
- #: includes/Settings.class.php:386
1438
msgctxt "Prompt displayed when a scheduling rule is set without any time restrictions"
1439
msgid "All day long. Want to %sset a time slot%s?"
1440
msgstr ""
1441
1442
- #: includes/Settings.class.php:387
1443
msgctxt "Toggle a scheduling rule open and closed"
1444
msgid "Open and close this rule"
1445
msgstr ""
1446
1447
- #: includes/Settings.class.php:388
1448
msgctxt "Delete a scheduling rule"
1449
msgid "Delete rule"
1450
msgstr ""
1451
1452
- #: includes/Settings.class.php:390
1453
msgctxt ""
1454
"Brief default description of a scheduling rule when no weekdays or weeks "
1455
"are included in the rule"
1456
msgid "Never"
1457
msgstr ""
1458
1459
- #: includes/Settings.class.php:391
1460
msgctxt ""
1461
"Brief default description of a scheduling rule when all the weekdays/weeks "
1462
"are included in the rule"
1463
msgid "Every day"
1464
msgstr ""
1465
1466
- #: includes/Settings.class.php:392
1467
msgctxt ""
1468
"Brief default description of a scheduling rule when some weekdays are "
1469
"included on only some weeks of the month. %s should be left alone and will "
@@ -1472,7 +1569,7 @@ msgctxt ""
1472
msgid "%s on the %s week of the month"
1473
msgstr ""
1474
1475
- #: includes/Settings.class.php:393
1476
msgctxt ""
1477
"Brief default description of a scheduling rule when some weeks of the month "
1478
"are included but all or no weekdays are selected. %s should be left alone "
@@ -1481,66 +1578,66 @@ msgctxt ""
1481
msgid "%s week of the month"
1482
msgstr ""
1483
1484
- #: includes/Settings.class.php:394
1485
msgctxt "Brief default description of a scheduling rule when no times are set"
1486
msgid "All day"
1487
msgstr ""
1488
1489
- #: includes/Settings.class.php:395
1490
msgctxt ""
1491
"Brief default description of a scheduling rule when an end time is set but "
1492
"no start time. If the end time is 6pm, it will read: Ends at 6pm"
1493
msgid "Ends at"
1494
msgstr ""
1495
1496
- #: includes/Settings.class.php:396
1497
msgctxt ""
1498
"Brief default description of a scheduling rule when a start time is set but "
1499
"no end time. If the start time is 6pm, it will read: Starts at 6pm"
1500
msgid "Starts at"
1501
msgstr ""
1502
1503
- #: includes/Settings.class.php:397
1504
msgctxt "Separator between times of a scheduling rule"
1505
msgid "&mdash;"
1506
msgstr ""
1507
1508
- #: includes/Settings.class.php:409
1509
msgctxt "Monday abbreviation"
1510
msgid "Mo"
1511
msgstr ""
1512
1513
- #: includes/Settings.class.php:410
1514
msgctxt "Tuesday abbreviation"
1515
msgid "Tu"
1516
msgstr ""
1517
1518
- #: includes/Settings.class.php:411
1519
msgctxt "Wednesday abbreviation"
1520
msgid "We"
1521
msgstr ""
1522
1523
- #: includes/Settings.class.php:412
1524
msgctxt "Thursday abbreviation"
1525
msgid "Th"
1526
msgstr ""
1527
1528
- #: includes/Settings.class.php:413
1529
msgctxt "Friday abbreviation"
1530
msgid "Fr"
1531
msgstr ""
1532
1533
- #: includes/Settings.class.php:414
1534
msgctxt "Saturday abbreviation"
1535
msgid "Sa"
1536
msgstr ""
1537
1538
- #: includes/Settings.class.php:415
1539
msgctxt "Sunday abbreviation"
1540
msgid "Su"
1541
msgstr ""
1542
1543
- #: includes/Settings.class.php:425
1544
msgctxt "Brief default description of a scheduling exception when no times are set"
1545
msgid "Closed all day"
1546
msgstr ""
2
# This file is distributed under the GNU General Public License v2.0 or later.
3
msgid ""
4
msgstr ""
5
+ "Project-Id-Version: Restaurant Reservations 1.7.5\n"
6
"Report-Msgid-Bugs-To: https://themeofthecrop.com\n"
7
+ "POT-Creation-Date: 2017-03-31 14:09:42+00:00\n"
8
"MIME-Version: 1.0\n"
9
"Content-Type: text/plain; charset=utf-8\n"
10
"Content-Transfer-Encoding: 8bit\n"
43
"services."
44
msgstr ""
45
46
+ #: includes/Addons.class.php:86 includes/Settings.class.php:611
47
msgid "Email Templates"
48
msgstr ""
49
63
"subscription rates grow effortlessly."
64
msgstr ""
65
66
+ #: includes/Addons.class.php:122
67
+ msgid "Augustan"
68
msgstr ""
69
70
+ #: includes/Addons.class.php:125
71
msgid ""
72
+ "A traditionally elegant theme for high-class restaurants, with simple setup "
73
+ "and powerful features."
74
msgstr ""
75
76
+ #: includes/Addons.class.php:129 includes/Addons.class.php:148
77
+ #: includes/Addons.class.php:167 includes/Addons.class.php:186
78
+ #: includes/Addons.class.php:205 includes/Addons.class.php:224
79
+ #: includes/Addons.class.php:243 includes/Addons.class.php:262
80
+ msgid "View Theme"
81
+ msgstr ""
82
+
83
+ #: includes/Addons.class.php:141
84
+ msgid "Luigi"
85
+ msgstr ""
86
+
87
+ #: includes/Addons.class.php:144
88
+ msgid ""
89
+ "A smart theme for upscale bistros and fine Italian restaurants. Get up and "
90
+ "running quickly."
91
+ msgstr ""
92
+
93
+ #: includes/Addons.class.php:160
94
+ msgid "The Spot"
95
+ msgstr ""
96
+
97
+ #: includes/Addons.class.php:163
98
+ msgid ""
99
+ "A vibrant theme for bars, pubs and destination restaurants with an "
100
+ "attention-grabbing homepage."
101
+ msgstr ""
102
+
103
+ #: includes/Addons.class.php:179
104
+ msgid "Plate Up"
105
+ msgstr ""
106
+
107
+ #: includes/Addons.class.php:182
108
+ msgid ""
109
+ "A refined theme for sophisticated, modern restaurants to drive customers to "
110
+ "your booking form."
111
+ msgstr ""
112
+
113
+ #: includes/Addons.class.php:198
114
+ msgid "Auberge"
115
+ msgstr ""
116
+
117
+ #: includes/Addons.class.php:201
118
+ msgid ""
119
+ "Display a menu of your restaurant, café or bar stylishly with this free "
120
+ "mobile-friendly WordPress theme."
121
+ msgstr ""
122
+
123
+ #: includes/Addons.class.php:217
124
+ msgid "Liber"
125
+ msgstr ""
126
+
127
+ #: includes/Addons.class.php:220
128
+ msgid ""
129
+ "A responsive theme optimized for restaurants and bars supporting features "
130
+ "these websites need."
131
+ msgstr ""
132
+
133
+ #: includes/Addons.class.php:236
134
+ msgid "Brasserie"
135
+ msgstr ""
136
+
137
+ #: includes/Addons.class.php:239
138
+ msgid ""
139
+ "A delightfully simple to use and beautifully crafted free theme for any "
140
+ "food establishment."
141
+ msgstr ""
142
+
143
+ #: includes/Addons.class.php:255
144
+ msgid "Veggie"
145
+ msgstr ""
146
+
147
+ #: includes/Addons.class.php:258
148
+ msgid ""
149
+ "A food blogging and restaurant theme with modern, easy-to-read typography "
150
+ "and minimalist design."
151
msgstr ""
152
153
#: includes/AdminBookings.class.php:86
154
msgid "Restaurant Bookings"
155
msgstr ""
156
157
+ #: includes/AdminBookings.class.php:87 includes/CustomPostTypes.class.php:50
158
msgid "Add New"
159
msgstr ""
160
180
msgid "Subject"
181
msgstr ""
182
183
+ #: includes/AdminBookings.class.php:200 includes/Settings.class.php:902
184
#: includes/WP_List_Table.BookingsTable.class.php:450
185
msgid "Message"
186
msgstr ""
348
msgid "Please enter an email address so we can confirm your booking."
349
msgstr ""
350
351
+ #: includes/Booking.class.php:440
352
+ msgid "Please enter a valid email address so we can confirm your booking."
353
+ msgstr ""
354
+
355
+ #: includes/Booking.class.php:451
356
+ msgid "Please provide a phone number so we can confirm your booking."
357
+ msgstr ""
358
+
359
+ #: includes/Booking.class.php:472
360
msgid "Please complete this field to request a booking."
361
msgstr ""
362
363
+ #: includes/Booking.class.php:484
364
msgid ""
365
"Your booking has been rejected. Please call us if you would like to make a "
366
"booking."
367
msgstr ""
368
369
+ #: includes/CustomPostTypes.class.php:46 includes/CustomPostTypes.class.php:48
370
+ #: includes/CustomPostTypes.class.php:49
371
#: includes/WP_List_Table.BookingsTable.class.php:113
372
msgid "Bookings"
373
msgstr ""
374
375
+ #: includes/CustomPostTypes.class.php:47
376
#: includes/WP_List_Table.BookingsTable.class.php:112
377
msgid "Booking"
378
msgstr ""
379
380
+ #: includes/CustomPostTypes.class.php:51
381
msgid "Add New Booking"
382
msgstr ""
383
384
+ #: includes/CustomPostTypes.class.php:52 restaurant-reservations.php:232
385
msgid "Edit Booking"
386
msgstr ""
387
388
+ #: includes/CustomPostTypes.class.php:53
389
msgid "New Booking"
390
msgstr ""
391
392
+ #: includes/CustomPostTypes.class.php:54
393
msgid "View Booking"
394
msgstr ""
395
396
+ #: includes/CustomPostTypes.class.php:55
397
msgid "Search Bookings"
398
msgstr ""
399
400
+ #: includes/CustomPostTypes.class.php:56
401
msgid "No bookings found"
402
msgstr ""
403
404
+ #: includes/CustomPostTypes.class.php:57
405
msgid "No bookings found in trash"
406
msgstr ""
407
408
+ #: includes/CustomPostTypes.class.php:58
409
msgid "All Bookings"
410
msgstr ""
411
412
+ #: includes/CustomPostTypes.class.php:103
413
msgid "Confirmed <span class=\"count\">(%s)</span>"
414
msgid_plural "Confirmed <span class=\"count\">(%s)</span>"
415
msgstr[0] ""
416
msgstr[1] ""
417
418
+ #: includes/CustomPostTypes.class.php:114
419
msgid "Closed <span class=\"count\">(%s)</span>"
420
msgid_plural "Closed <span class=\"count\">(%s)</span>"
421
msgstr[0] ""
471
msgid "Show booking form with this location."
472
msgstr ""
473
474
+ #: includes/MultipleLocations.class.php:548 includes/Settings.class.php:566
475
msgid "Reply-To Name"
476
msgstr ""
477
481
"email."
482
msgstr ""
483
484
+ #: includes/MultipleLocations.class.php:558 includes/Settings.class.php:578
485
msgid "Reply-To Email Address"
486
msgstr ""
487
488
+ #: includes/MultipleLocations.class.php:562 includes/Settings.class.php:579
489
msgid ""
490
"The email address which should appear in the Reply-To field of a user "
491
"notification email."
552
msgstr ""
553
554
#: includes/Settings.class.php:297
555
+ msgid "Require Phone"
556
msgstr ""
557
558
#: includes/Settings.class.php:298
559
+ msgid "Don't accept booking requests without a phone number."
560
+ msgstr ""
561
+
562
+ #: includes/Settings.class.php:301
563
+ msgid "No"
564
+ msgstr ""
565
+
566
+ #: includes/Settings.class.php:302
567
+ msgid "Yes"
568
+ msgstr ""
569
+
570
+ #: includes/Settings.class.php:313
571
+ msgid "Success Message"
572
+ msgstr ""
573
+
574
+ #: includes/Settings.class.php:314
575
msgid "Enter the message to display when a booking request is made."
576
msgstr ""
577
578
+ #: includes/Settings.class.php:325
579
msgid "Date Format"
580
msgstr ""
581
582
+ #: includes/Settings.class.php:326
583
msgid ""
584
"Define how the date is formatted on the booking form. %sFormatting rules%s. "
585
"This only changes the format on the booking form. To change the date format "
586
"in notification messages, modify your general %sWordPress Settings%s."
587
msgstr ""
588
589
+ #: includes/Settings.class.php:337
590
msgid "Time Format"
591
msgstr ""
592
593
+ #: includes/Settings.class.php:338
594
msgid ""
595
"Define how the time is formatted on the booking form. %sFormatting rules%s. "
596
"This only changes the format on the booking form. To change the time format "
597
"in notification messages, modify your general %sWordPress Settings%s."
598
msgstr ""
599
600
+ #: includes/Settings.class.php:351
601
msgid "Language"
602
msgstr ""
603
604
+ #: includes/Settings.class.php:352
605
msgid ""
606
"Select a language to use for the booking form datepicker if it is different "
607
"than your WordPress language setting."
608
msgstr ""
609
610
+ #: includes/Settings.class.php:364
611
msgid "Banned Email Addresses"
612
msgstr ""
613
614
+ #: includes/Settings.class.php:365
615
msgid ""
616
"You can block bookings from specific email addresses. Enter each email "
617
"address on a separate line."
618
msgstr ""
619
620
+ #: includes/Settings.class.php:375
621
msgid "Banned IP Addresses"
622
msgstr ""
623
624
+ #: includes/Settings.class.php:376
625
msgid ""
626
"You can block bookings from specific IP addresses. Enter each IP address on "
627
"a separate line. Be aware that many internet providers rotate their IP "
631
"block several people."
632
msgstr ""
633
634
+ #: includes/Settings.class.php:384
635
msgid "Booking Schedule"
636
msgstr ""
637
638
+ #: includes/Settings.class.php:391
639
msgid "Add new scheduling rule"
640
msgstr ""
641
642
+ #: includes/Settings.class.php:405
643
msgid "Delete scheduling rule"
644
msgstr ""
645
646
+ #: includes/Settings.class.php:422
647
msgid "Schedule"
648
msgstr ""
649
650
+ #: includes/Settings.class.php:423
651
msgid "Define the weekly schedule during which you accept bookings."
652
msgstr ""
653
654
+ #: includes/Settings.class.php:448
655
msgid "Exceptions"
656
msgstr ""
657
658
+ #: includes/Settings.class.php:449
659
msgid ""
660
"Define special opening hours for holidays, events or other needs. Leave the "
661
"time empty if you're closed all day."
662
msgstr ""
663
664
+ #: includes/Settings.class.php:464
665
msgid "Early Bookings"
666
msgstr ""
667
668
+ #: includes/Settings.class.php:465
669
msgid ""
670
"Select how early customers can make their booking. (Administrators and "
671
"Booking Managers are not restricted by this setting.)"
672
msgstr ""
673
674
+ #: includes/Settings.class.php:468
675
msgid "Any time"
676
msgstr ""
677
678
+ #: includes/Settings.class.php:469
679
msgid "From 1 day in advance"
680
msgstr ""
681
682
+ #: includes/Settings.class.php:470
683
msgid "From 1 week in advance"
684
msgstr ""
685
686
+ #: includes/Settings.class.php:471
687
msgid "From 2 weeks in advance"
688
msgstr ""
689
690
+ #: includes/Settings.class.php:472
691
msgid "From 30 days in advance"
692
msgstr ""
693
694
+ #: includes/Settings.class.php:473
695
msgid "From 90 days in advance"
696
msgstr ""
697
698
+ #: includes/Settings.class.php:484
699
msgid "Late Bookings"
700
msgstr ""
701
702
+ #: includes/Settings.class.php:485
703
msgid ""
704
"Select how late customers can make their booking. (Administrators and "
705
"Booking Managers are not restricted by this setting.)"
706
msgstr ""
707
708
+ #: includes/Settings.class.php:488
709
msgid "Up to the last minute"
710
msgstr ""
711
712
+ #: includes/Settings.class.php:489
713
msgid "At least 15 minutes in advance"
714
msgstr ""
715
716
+ #: includes/Settings.class.php:490
717
msgid "At least 30 minutes in advance"
718
msgstr ""
719
720
+ #: includes/Settings.class.php:491
721
msgid "At least 45 minutes in advance"
722
msgstr ""
723
724
+ #: includes/Settings.class.php:492
725
msgid "At least 1 hour in advance"
726
msgstr ""
727
728
+ #: includes/Settings.class.php:493
729
msgid "At least 4 hours in advance"
730
msgstr ""
731
732
+ #: includes/Settings.class.php:494
733
msgid "At least 24 hours in advance"
734
msgstr ""
735
736
+ #: includes/Settings.class.php:495
737
msgid "Block same-day bookings"
738
msgstr ""
739
740
+ #: includes/Settings.class.php:506
741
msgid "Date Pre-selection"
742
msgstr ""
743
744
+ #: includes/Settings.class.php:507
745
msgid ""
746
"When the booking form is loaded, should it automatically attempt to select "
747
"a valid date?"
748
msgstr ""
749
750
+ #: includes/Settings.class.php:510
751
msgid "Select today if valid"
752
msgstr ""
753
754
+ #: includes/Settings.class.php:511
755
msgid "Select today or next valid date"
756
msgstr ""
757
758
+ #: includes/Settings.class.php:512
759
msgid "Leave empty"
760
msgstr ""
761
762
+ #: includes/Settings.class.php:523
763
msgid "Time Interval"
764
msgstr ""
765
766
+ #: includes/Settings.class.php:524
767
msgid "Select the number of minutes between each available time."
768
msgstr ""
769
770
+ #: includes/Settings.class.php:527
771
msgid "Every 30 minutes"
772
msgstr ""
773
774
+ #: includes/Settings.class.php:528
775
msgid "Every 15 minutes"
776
msgstr ""
777
778
+ #: includes/Settings.class.php:529
779
msgid "Every 10 minutes"
780
msgstr ""
781
782
+ #: includes/Settings.class.php:530
783
msgid "Every 5 minutes"
784
msgstr ""
785
786
+ #: includes/Settings.class.php:541
787
msgid "Week Starts On"
788
msgstr ""
789
790
+ #: includes/Settings.class.php:542
791
msgid "Select the first day of the week"
792
msgstr ""
793
794
+ #: includes/Settings.class.php:545
795
msgid "Sunday"
796
msgstr ""
797
798
+ #: includes/Settings.class.php:546
799
msgid "Monday"
800
msgstr ""
801
802
+ #: includes/Settings.class.php:555
803
msgid "Notifications"
804
msgstr ""
805
806
+ #: includes/Settings.class.php:567
807
msgid ""
808
"The name which should appear in the Reply-To field of a user notification "
809
"email"
810
msgstr ""
811
812
+ #: includes/Settings.class.php:590
813
msgid "Admin Notification"
814
msgstr ""
815
816
+ #: includes/Settings.class.php:591
817
msgid ""
818
"Send an email notification to an administrator when a new booking is "
819
"requested."
820
msgstr ""
821
822
+ #: includes/Settings.class.php:601
823
msgid "Admin Email Address"
824
msgstr ""
825
826
+ #: includes/Settings.class.php:602
827
msgid "The email address where admin notifications should be sent."
828
msgstr ""
829
830
+ #: includes/Settings.class.php:613
831
msgid ""
832
"Adjust the messages that are emailed to users and admins during the booking "
833
"process."
834
msgstr ""
835
836
+ #: includes/Settings.class.php:623
837
msgid "Template Tags"
838
msgstr ""
839
840
+ #: includes/Settings.class.php:625
841
msgid ""
842
"Use the following tags to automatically add booking information to the "
843
"emails. Tags labeled with an asterisk (*) can be used in the email subject "
844
"as well."
845
msgstr ""
846
847
+ #: includes/Settings.class.php:636
848
msgid "Admin Notification Subject"
849
msgstr ""
850
851
+ #: includes/Settings.class.php:637
852
msgid "The email subject for admin notifications."
853
msgstr ""
854
855
+ #: includes/Settings.class.php:648
856
msgid "Admin Notification Email"
857
msgstr ""
858
859
+ #: includes/Settings.class.php:649
860
msgid ""
861
"Enter the email an admin should receive when an initial booking request is "
862
"made."
863
msgstr ""
864
865
+ #: includes/Settings.class.php:660
866
msgid "New Request Email Subject"
867
msgstr ""
868
869
+ #: includes/Settings.class.php:661
870
msgid ""
871
"The email subject a user should receive when they make an initial booking "
872
"request."
873
msgstr ""
874
875
+ #: includes/Settings.class.php:672
876
msgid "New Request Email"
877
msgstr ""
878
879
+ #: includes/Settings.class.php:673
880
msgid ""
881
"Enter the email a user should receive when they make an initial booking "
882
"request."
883
msgstr ""
884
885
+ #: includes/Settings.class.php:684
886
msgid "Confirmed Email Subject"
887
msgstr ""
888
889
+ #: includes/Settings.class.php:685
890
msgid ""
891
"The email subject a user should receive when their booking has been "
892
"confirmed."
893
msgstr ""
894
895
+ #: includes/Settings.class.php:696
896
msgid "Confirmed Email"
897
msgstr ""
898
899
+ #: includes/Settings.class.php:697
900
msgid "Enter the email a user should receive when their booking has been confirmed."
901
msgstr ""
902
903
+ #: includes/Settings.class.php:708
904
msgid "Rejected Email Subject"
905
msgstr ""
906
907
+ #: includes/Settings.class.php:709
908
msgid ""
909
"The email subject a user should receive when their booking has been "
910
"rejected."
911
msgstr ""
912
913
+ #: includes/Settings.class.php:720
914
msgid "Rejected Email"
915
msgstr ""
916
917
+ #: includes/Settings.class.php:721
918
msgid "Enter the email a user should receive when their booking has been rejected."
919
msgstr ""
920
921
+ #: includes/Settings.class.php:732
922
msgid "Admin Update Subject"
923
msgstr ""
924
925
+ #: includes/Settings.class.php:733
926
msgid ""
927
"The email subject a user should receive when an admin sends them a custom "
928
"email message from the %sbookings panel%s."
929
msgstr ""
930
931
+ #: includes/Settings.class.php:753
932
msgid "Any size"
933
msgstr ""
934
935
+ #: includes/Settings.class.php:843
936
#: includes/integrations/business-profile.php:100
937
msgid "Book a table"
938
msgstr ""
939
940
+ #: includes/Settings.class.php:846
941
#: includes/WP_List_Table.BookingsTable.class.php:358
942
msgid "Date"
943
msgstr ""
944
945
+ #: includes/Settings.class.php:852
946
msgid "Time"
947
msgstr ""
948
949
+ #: includes/Settings.class.php:858
950
#: includes/WP_List_Table.BookingsTable.class.php:359
951
msgid "Party"
952
msgstr ""
953
954
+ #: includes/Settings.class.php:871
955
msgid "Contact Details"
956
msgstr ""
957
958
+ #: includes/Settings.class.php:874
959
#: includes/WP_List_Table.BookingsTable.class.php:360
960
msgid "Name"
961
msgstr ""
962
963
+ #: includes/Settings.class.php:880
964
#: includes/WP_List_Table.BookingsTable.class.php:361
965
msgid "Email"
966
msgstr ""
967
968
+ #: includes/Settings.class.php:889
969
#: includes/WP_List_Table.BookingsTable.class.php:362
970
msgid "Phone"
971
msgstr ""
972
973
+ #: includes/Settings.class.php:897
974
msgid "Add a Message"
975
msgstr ""
976
977
+ #: includes/Settings.class.php:947
978
msgid "Email of the user who made the booking"
979
msgstr ""
980
981
+ #: includes/Settings.class.php:948
982
msgid "* Name of the user who made the booking"
983
msgstr ""
984
985
+ #: includes/Settings.class.php:949
986
msgid "* Number of people booked"
987
msgstr ""
988
989
+ #: includes/Settings.class.php:950
990
msgid "* Date and time of the booking"
991
msgstr ""
992
993
+ #: includes/Settings.class.php:951
994
msgid "Phone number if supplied with the request"
995
msgstr ""
996
997
+ #: includes/Settings.class.php:952
998
msgid "Message added to the request"
999
msgstr ""
1000
1001
+ #: includes/Settings.class.php:953
1002
msgid "A link to the admin panel showing pending bookings"
1003
msgstr ""
1004
1005
+ #: includes/Settings.class.php:954
1006
msgid "A link to confirm this booking. Only include this in admin notifications"
1007
msgstr ""
1008
1009
+ #: includes/Settings.class.php:955
1010
msgid "A link to reject this booking. Only include this in admin notifications"
1011
msgstr ""
1012
1013
+ #: includes/Settings.class.php:956
1014
msgid "The name of this website"
1015
msgstr ""
1016
1017
+ #: includes/Settings.class.php:957
1018
msgid "A link to this website"
1019
msgstr ""
1020
1021
+ #: includes/Settings.class.php:958
1022
msgid "Current date and time"
1023
msgstr ""
1024
1288
msgid "Addons"
1289
msgstr ""
1290
1291
+ #: includes/Addons.class.php:290
1292
msgctxt "restaurant-reservations"
1293
msgid ""
1294
"Find out when new addons are available by subscribing to the %smonthly "
1318
msgid "To"
1319
msgstr ""
1320
1321
+ #: includes/CustomPostTypes.class.php:90
1322
msgctxt "Booking status when it is pending review"
1323
msgid "Pending"
1324
msgstr ""
1325
1326
+ #: includes/CustomPostTypes.class.php:96
1327
msgctxt "Booking status for a confirmed booking"
1328
msgid "Confirmed"
1329
msgstr ""
1330
1331
+ #: includes/CustomPostTypes.class.php:107
1332
msgctxt "Booking status for a closed booking"
1333
msgid "Closed"
1334
msgstr ""
1481
msgid "Update regarding your booking at %s"
1482
msgstr ""
1483
1484
+ #: includes/Settings.class.php:392
1485
msgctxt "Format of a scheduling rule"
1486
msgid "Weekly"
1487
msgstr ""
1488
1489
+ #: includes/Settings.class.php:393
1490
msgctxt "Format of a scheduling rule"
1491
msgid "Monthly"
1492
msgstr ""
1493
1494
+ #: includes/Settings.class.php:394
1495
msgctxt "Format of a scheduling rule"
1496
msgid "Date"
1497
msgstr ""
1498
1499
+ #: includes/Settings.class.php:395
1500
msgctxt "Label for selecting days of the week in a scheduling rule"
1501
msgid "Days of the week"
1502
msgstr ""
1503
1504
+ #: includes/Settings.class.php:396
1505
msgctxt "Label for selecting weeks of the month in a scheduling rule"
1506
msgid "Weeks of the month"
1507
msgstr ""
1508
1509
+ #: includes/Settings.class.php:397
1510
msgctxt "Label to select a date for a scheduling rule"
1511
msgid "Date"
1512
msgstr ""
1513
1514
+ #: includes/Settings.class.php:398
1515
msgctxt "Label to select a time slot for a scheduling rule"
1516
msgid "Time"
1517
msgstr ""
1518
1519
+ #: includes/Settings.class.php:399
1520
msgctxt "Label to set a scheduling rule to last all day"
1521
msgid "All day"
1522
msgstr ""
1523
1524
+ #: includes/Settings.class.php:400
1525
msgctxt "Label for the starting time of a scheduling rule"
1526
msgid "Start"
1527
msgstr ""
1528
1529
+ #: includes/Settings.class.php:401
1530
msgctxt "Label for the ending time of a scheduling rule"
1531
msgid "End"
1532
msgstr ""
1533
1534
+ #: includes/Settings.class.php:402
1535
msgctxt "Prompt displayed when a scheduling rule is set without any time restrictions"
1536
msgid "All day long. Want to %sset a time slot%s?"
1537
msgstr ""
1538
1539
+ #: includes/Settings.class.php:403
1540
msgctxt "Toggle a scheduling rule open and closed"
1541
msgid "Open and close this rule"
1542
msgstr ""
1543
1544
+ #: includes/Settings.class.php:404
1545
msgctxt "Delete a scheduling rule"
1546
msgid "Delete rule"
1547
msgstr ""
1548
1549
+ #: includes/Settings.class.php:406
1550
msgctxt ""
1551
"Brief default description of a scheduling rule when no weekdays or weeks "
1552
"are included in the rule"
1553
msgid "Never"
1554
msgstr ""
1555
1556
+ #: includes/Settings.class.php:407
1557
msgctxt ""
1558
"Brief default description of a scheduling rule when all the weekdays/weeks "
1559
"are included in the rule"
1560
msgid "Every day"
1561
msgstr ""
1562
1563
+ #: includes/Settings.class.php:408
1564
msgctxt ""
1565
"Brief default description of a scheduling rule when some weekdays are "
1566
"included on only some weeks of the month. %s should be left alone and will "
1569
msgid "%s on the %s week of the month"
1570
msgstr ""
1571
1572
+ #: includes/Settings.class.php:409
1573
msgctxt ""
1574
"Brief default description of a scheduling rule when some weeks of the month "
1575
"are included but all or no weekdays are selected. %s should be left alone "
1578
msgid "%s week of the month"
1579
msgstr ""
1580
1581
+ #: includes/Settings.class.php:410
1582
msgctxt "Brief default description of a scheduling rule when no times are set"
1583
msgid "All day"
1584
msgstr ""
1585
1586
+ #: includes/Settings.class.php:411
1587
msgctxt ""
1588
"Brief default description of a scheduling rule when an end time is set but "
1589
"no start time. If the end time is 6pm, it will read: Ends at 6pm"
1590
msgid "Ends at"
1591
msgstr ""
1592
1593
+ #: includes/Settings.class.php:412
1594
msgctxt ""
1595
"Brief default description of a scheduling rule when a start time is set but "
1596
"no end time. If the start time is 6pm, it will read: Starts at 6pm"
1597
msgid "Starts at"
1598
msgstr ""
1599
1600
+ #: includes/Settings.class.php:413
1601
msgctxt "Separator between times of a scheduling rule"
1602
msgid "&mdash;"
1603
msgstr ""
1604
1605
+ #: includes/Settings.class.php:425
1606
msgctxt "Monday abbreviation"
1607
msgid "Mo"
1608
msgstr ""
1609
1610
+ #: includes/Settings.class.php:426
1611
msgctxt "Tuesday abbreviation"
1612
msgid "Tu"
1613
msgstr ""
1614
1615
+ #: includes/Settings.class.php:427
1616
msgctxt "Wednesday abbreviation"
1617
msgid "We"
1618
msgstr ""
1619
1620
+ #: includes/Settings.class.php:428
1621
msgctxt "Thursday abbreviation"
1622
msgid "Th"
1623
msgstr ""
1624
1625
+ #: includes/Settings.class.php:429
1626
msgctxt "Friday abbreviation"
1627
msgid "Fr"
1628
msgstr ""
1629
1630
+ #: includes/Settings.class.php:430
1631
msgctxt "Saturday abbreviation"
1632
msgid "Sa"
1633
msgstr ""
1634
1635
+ #: includes/Settings.class.php:431
1636
msgctxt "Sunday abbreviation"
1637
msgid "Su"
1638
msgstr ""
1639
1640
+ #: includes/Settings.class.php:441
1641
msgctxt "Brief default description of a scheduling exception when no times are set"
1642
msgid "Closed all day"
1643
msgstr ""
package.json CHANGED
@@ -1,7 +1,7 @@
1
{
2
"name": "restaurant-reservations",
3
"description": "Accept restaurant reservations and bookings online.",
4
- "version": "1.7.4",
5
"author": {
6
"name": "Theme of the Crop",
7
"url": "https://themeofthecrop.com"
1
{
2
"name": "restaurant-reservations",
3
"description": "Accept restaurant reservations and bookings online.",
4
+ "version": "1.7.5",
5
"author": {
6
"name": "Theme of the Crop",
7
"url": "https://themeofthecrop.com"
readme.md CHANGED
@@ -5,7 +5,7 @@ Plugin URL: https://themeofthecrop.com
5
Requires at Least: 4.4
6
Tested Up To: 4.7.3
7
Tags: restaurant, reservations, bookings, table bookings, restaurant reservation, table reservation
8
- Stable tag: 1.7.4
9
License: GPLv2 or later
10
Donate link: https://themeofthecrop.com
11
@@ -119,6 +119,12 @@ Find answers to even more questions in the [FAQ](http://doc.themeofthecrop.com/p
119
120
## Changelog
121
122
#### 1.7.4 (2017-03-21)
123
* Fix: Wrong time restrictions for day one month in advance. See #102
124
* Add: Disable button when submitted to prevent duplicate submissions
@@ -337,6 +343,12 @@ Find answers to even more questions in the [FAQ](http://doc.themeofthecrop.com/p
337
338
## Upgrade Notice
339
340
#### 1.7.3
341
This minor maintenance update ensures scheduling restrictions are reflected in the date and time pickers. It also allows multiple email addresses to be used in location-specific admin notifications.
342
5
Requires at Least: 4.4
6
Tested Up To: 4.7.3
7
Tags: restaurant, reservations, bookings, table bookings, restaurant reservation, table reservation
8
+ Stable tag: 1.7.5
9
License: GPLv2 or later
10
Donate link: https://themeofthecrop.com
11
119
120
## Changelog
121
122
+ #### 1.7.5 (2017-03-31)
123
+ * Add: #104 Show count of upcoming pending bookings in admin nav menu
124
+ * Add: #44 Reject invalid email addresses in booking requests
125
+ * Add: Setting to require a phone number
126
+ * Add: Recommended themes with booking form styles listed in the Addons page
127
+
128
#### 1.7.4 (2017-03-21)
129
* Fix: Wrong time restrictions for day one month in advance. See #102
130
* Add: Disable button when submitted to prevent duplicate submissions
343
344
## Upgrade Notice
345
346
+ #### 1.7.5
347
+ This update adds an option to require a phone, email address validation and a notification bubble showing the number of upcoming pending bookings in the admin area.
348
+
349
+ #### 1.7.4
350
+ This update fixes an issue with time restrictions when applied to the same day one month in advance. It also adds a technique to attempt to prevent duplicate submissions. Adds Polish translation.
351
+
352
#### 1.7.3
353
This minor maintenance update ensures scheduling restrictions are reflected in the date and time pickers. It also allows multiple email addresses to be used in location-specific admin notifications.
354
restaurant-reservations.php CHANGED
@@ -3,7 +3,7 @@
3
* Plugin Name: Restaurant Reservations
4
* Plugin URI: http://themeofthecrop.com
5
* Description: Accept restaurant reservations and bookings online.
6
- * Version: 1.7.4
7
* Author: Theme of the Crop
8
* Author URI: http://themeofthecrop.com
9
* License: GNU General Public License v2.0 or later
@@ -47,7 +47,7 @@ class rtbInit {
47
public function __construct() {
48
49
// Common strings
50
- define( 'RTB_VERSION', '1.7.4' );
51
define( 'RTB_PLUGIN_DIR', untrailingslashit( plugin_dir_path( __FILE__ ) ) );
52
define( 'RTB_PLUGIN_URL', untrailingslashit( plugins_url( basename( plugin_dir_path( __FILE__ ) ), basename( __FILE__ ) ) ) );
53
define( 'RTB_PLUGIN_FNAME', plugin_basename( __FILE__ ) );
3
* Plugin Name: Restaurant Reservations
4
* Plugin URI: http://themeofthecrop.com
5
* Description: Accept restaurant reservations and bookings online.
6
+ * Version: 1.7.5
7
* Author: Theme of the Crop
8
* Author URI: http://themeofthecrop.com
9
* License: GNU General Public License v2.0 or later
47
public function __construct() {
48
49
// Common strings
50
+ define( 'RTB_VERSION', '1.7.5' );
51
define( 'RTB_PLUGIN_DIR', untrailingslashit( plugin_dir_path( __FILE__ ) ) );
52
define( 'RTB_PLUGIN_URL', untrailingslashit( plugins_url( basename( plugin_dir_path( __FILE__ ) ), basename( __FILE__ ) ) ) );
53
define( 'RTB_PLUGIN_FNAME', plugin_basename( __FILE__ ) );