Restaurant Reservations - Version 1.2.3

Version Description

This update adds a {user_email} notification template tag and improves the mail headers on notifications to mitigate spam risk. It also adds the missing translation for the Clear button in the time picker for many languages. More minor bug fixes listed in the changelog.

Download this release

Release Info

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

Code changes from version 1.2.2 to 1.2.3

Files changed (50) hide show
  1. assets/js/booking-form.js +13 -3
  2. includes/Booking.class.php +11 -11
  3. includes/Notification.Email.class.php +33 -8
  4. includes/Notification.class.php +1 -0
  5. includes/Settings.class.php +40 -39
  6. includes/template-functions.php +1 -1
  7. lib/simple-admin-pages/lib/pickadate/translations/FORMATTING.md +7 -0
  8. lib/simple-admin-pages/lib/pickadate/translations/NAMING.md +21 -0
  9. lib/simple-admin-pages/lib/pickadate/translations/ar.js +16 -1
  10. lib/simple-admin-pages/lib/pickadate/translations/bg_BG.js +17 -1
  11. lib/simple-admin-pages/lib/pickadate/translations/bs_BA.js +17 -1
  12. lib/simple-admin-pages/lib/pickadate/translations/ca_ES.js +17 -1
  13. lib/simple-admin-pages/lib/pickadate/translations/cs_CZ.js +17 -1
  14. lib/simple-admin-pages/lib/pickadate/translations/da_DK.js +17 -1
  15. lib/simple-admin-pages/lib/pickadate/translations/de_DE.js +17 -1
  16. lib/simple-admin-pages/lib/pickadate/translations/el_GR.js +17 -1
  17. lib/simple-admin-pages/lib/pickadate/translations/es_ES.js +18 -1
  18. lib/simple-admin-pages/lib/pickadate/translations/et_EE.js +17 -1
  19. lib/simple-admin-pages/lib/pickadate/translations/eu_ES.js +17 -1
  20. lib/simple-admin-pages/lib/pickadate/translations/fi_FI.js +17 -1
  21. lib/simple-admin-pages/lib/pickadate/translations/fr_FR.js +22 -1
  22. lib/simple-admin-pages/lib/pickadate/translations/gl_ES.js +17 -1
  23. lib/simple-admin-pages/lib/pickadate/translations/he_IL.js +16 -1
  24. lib/simple-admin-pages/lib/pickadate/translations/hi_IN.js +20 -0
  25. lib/simple-admin-pages/lib/pickadate/translations/hr_HR.js +17 -1
  26. lib/simple-admin-pages/lib/pickadate/translations/hu_HU.js +17 -1
  27. lib/simple-admin-pages/lib/pickadate/translations/id_ID.js +17 -1
  28. lib/simple-admin-pages/lib/pickadate/translations/is_IS.js +17 -1
  29. lib/simple-admin-pages/lib/pickadate/translations/it_IT.js +18 -1
  30. lib/simple-admin-pages/lib/pickadate/translations/ja_JP.js +17 -1
  31. lib/simple-admin-pages/lib/pickadate/translations/ko_KR.js +17 -1
  32. lib/simple-admin-pages/lib/pickadate/translations/ne_NP.js +17 -0
  33. lib/simple-admin-pages/lib/pickadate/translations/nl_NL.js +17 -1
  34. lib/simple-admin-pages/lib/pickadate/translations/no_NO.js +17 -1
  35. lib/simple-admin-pages/lib/pickadate/translations/pl_PL.js +17 -1
  36. lib/simple-admin-pages/lib/pickadate/translations/pt_BR.js +16 -1
  37. lib/simple-admin-pages/lib/pickadate/translations/pt_PT.js +16 -1
  38. lib/simple-admin-pages/lib/pickadate/translations/ro_RO.js +17 -1
  39. lib/simple-admin-pages/lib/pickadate/translations/ru_RU.js +18 -1
  40. lib/simple-admin-pages/lib/pickadate/translations/sk_SK.js +18 -1
  41. lib/simple-admin-pages/lib/pickadate/translations/sl_SI.js +17 -1
  42. lib/simple-admin-pages/lib/pickadate/translations/sv_SE.js +17 -1
  43. lib/simple-admin-pages/lib/pickadate/translations/th_TH.js +16 -1
  44. lib/simple-admin-pages/lib/pickadate/translations/tr_TR.js +17 -1
  45. lib/simple-admin-pages/lib/pickadate/translations/uk_UA.js +17 -1
  46. lib/simple-admin-pages/lib/pickadate/translations/vi_VN.js +15 -0
  47. lib/simple-admin-pages/lib/pickadate/translations/zh_CN.js +17 -1
  48. lib/simple-admin-pages/lib/pickadate/translations/zh_TW.js +17 -1
  49. readme.txt +47 -3
  50. restaurant-reservations.php +2 -2
assets/js/booking-form.js CHANGED
@@ -50,6 +50,7 @@ jQuery(document).ready(function ($) {
50
  formatSubmit: 'h:i A',
51
  hiddenName: true,
52
  interval: parseInt( rtb_pickadate.time_interval, 10 ),
 
53
 
54
  // Select the value when loaded if a value has been set
55
  onStart: function() {
@@ -95,10 +96,19 @@ jQuery(document).ready(function ($) {
95
  datepicker.set( 'min', 1 );
96
  }
97
 
98
- // If no date has been set, select today's date or the soonest valid
99
  // date. User may opt not to do this in the settings.
100
- if ( rtb_pickadate.date_onload !== 'empty' && $( '#rtb-date' ).val() === '' ) {
101
- datepicker.set( 'select', new Date() );
 
 
 
 
 
 
 
 
 
102
  }
103
 
104
  // Update timepicker on pageload and whenever the datepicker is closed
50
  formatSubmit: 'h:i A',
51
  hiddenName: true,
52
  interval: parseInt( rtb_pickadate.time_interval, 10 ),
53
+ container: 'body',
54
 
55
  // Select the value when loaded if a value has been set
56
  onStart: function() {
96
  datepicker.set( 'min', 1 );
97
  }
98
 
99
+ // If no date has been set, select today's date if it's a valid
100
  // date. User may opt not to do this in the settings.
101
+ if ( $( '#rtb-date' ).val() === '' && !$( '.rtb-booking-form .date .rtb-error' ).length ) {
102
+
103
+ if ( rtb_pickadate.date_onload == 'soonest' ) {
104
+ datepicker.set( 'select', new Date() );
105
+ } else if ( rtb_pickadate.date_onload !== 'empty' ) {
106
+ var dateToVerify = datepicker.component.create( new Date() );
107
+ var isDisabled = datepicker.component.disabled( dateToVerify );
108
+ if ( !isDisabled ) {
109
+ datepicker.set( 'select', dateToVerify );
110
+ }
111
+ }
112
  }
113
 
114
  // Update timepicker on pageload and whenever the datepicker is closed
includes/Booking.class.php CHANGED
@@ -148,7 +148,7 @@ class rtbBooking {
148
  $this->validation_errors = array();
149
 
150
  // Date
151
- $date = empty( $_POST['rtb-date'] ) ? false : $_POST['rtb-date'];
152
  if ( $date === false ) {
153
  $this->validation_errors[] = array(
154
  'field' => 'date',
@@ -158,7 +158,7 @@ class rtbBooking {
158
 
159
  } else {
160
  try {
161
- $date = new DateTime( $_POST['rtb-date'] );
162
  } catch ( Exception $e ) {
163
  $this->validation_errors[] = array(
164
  'field' => 'date',
@@ -169,7 +169,7 @@ class rtbBooking {
169
  }
170
 
171
  // Time
172
- $time = empty( $_POST['rtb-time'] ) ? false : $_POST['rtb-time'];
173
  if ( $time === false ) {
174
  $this->validation_errors[] = array(
175
  'field' => 'time',
@@ -179,7 +179,7 @@ class rtbBooking {
179
 
180
  } else {
181
  try {
182
- $time = new DateTime( $_POST['rtb-time'] );
183
  } catch ( Exception $e ) {
184
  $this->validation_errors[] = array(
185
  'field' => 'time',
@@ -334,11 +334,11 @@ class rtbBooking {
334
 
335
  // Save requested date/time values in case they need to be
336
  // printed in the form again
337
- $this->request_date = empty( $_POST['rtb-date'] ) ? '' : $_POST['rtb-date'];
338
- $this->request_time = empty( $_POST['rtb-time'] ) ? '' : $_POST['rtb-time'];
339
 
340
  // Name
341
- $this->name = empty( $_POST['rtb-name'] ) ? '' : wp_strip_all_tags( sanitize_text_field( $_POST['rtb-name'] ), true ); // @todo should I limit length?
342
  if ( empty( $this->name ) ) {
343
  $this->validation_errors[] = array(
344
  'field' => 'name',
@@ -348,7 +348,7 @@ class rtbBooking {
348
  }
349
 
350
  // Party
351
- $this->party = empty( $_POST['rtb-party'] ) ? '' : sanitize_text_field( $_POST['rtb-party'] );
352
  if ( empty( $this->party ) ) {
353
  $this->validation_errors[] = array(
354
  'field' => 'party',
@@ -373,7 +373,7 @@ class rtbBooking {
373
  }
374
 
375
  // Email/Phone
376
- $this->email = empty( $_POST['rtb-email'] ) ? '' : sanitize_text_field( $_POST['rtb-email'] ); // @todo email validation? send notification back to form on bad email address.
377
  if ( empty( $this->email ) ) {
378
  $this->validation_errors[] = array(
379
  'field' => 'email',
@@ -383,8 +383,8 @@ class rtbBooking {
383
  }
384
 
385
  // Phone/Message
386
- $this->phone = empty( $_POST['rtb-phone'] ) ? '' : sanitize_text_field( $_POST['rtb-phone'] );
387
- $this->message = empty( $_POST['rtb-message'] ) ? '' : sanitize_text_field( $_POST['rtb-message'] );
388
 
389
  do_action( 'rtb_validate_booking_submission', $this );
390
 
148
  $this->validation_errors = array();
149
 
150
  // Date
151
+ $date = empty( $_POST['rtb-date'] ) ? false : stripslashes_deep( $_POST['rtb-date'] );
152
  if ( $date === false ) {
153
  $this->validation_errors[] = array(
154
  'field' => 'date',
158
 
159
  } else {
160
  try {
161
+ $date = new DateTime( stripslashes_deep( $_POST['rtb-date'] ) );
162
  } catch ( Exception $e ) {
163
  $this->validation_errors[] = array(
164
  'field' => 'date',
169
  }
170
 
171
  // Time
172
+ $time = empty( $_POST['rtb-time'] ) ? false : stripslashes_deep( $_POST['rtb-time'] );
173
  if ( $time === false ) {
174
  $this->validation_errors[] = array(
175
  'field' => 'time',
179
 
180
  } else {
181
  try {
182
+ $time = new DateTime( stripslashes_deep( $_POST['rtb-time'] ) );
183
  } catch ( Exception $e ) {
184
  $this->validation_errors[] = array(
185
  'field' => 'time',
334
 
335
  // Save requested date/time values in case they need to be
336
  // printed in the form again
337
+ $this->request_date = empty( $_POST['rtb-date'] ) ? '' : stripslashes_deep( $_POST['rtb-date'] );
338
+ $this->request_time = empty( $_POST['rtb-time'] ) ? '' : stripslashes_deep( $_POST['rtb-time'] );
339
 
340
  // Name
341
+ $this->name = empty( $_POST['rtb-name'] ) ? '' : wp_strip_all_tags( sanitize_text_field( stripslashes_deep( $_POST['rtb-name'] ) ), true ); // @todo should I limit length?
342
  if ( empty( $this->name ) ) {
343
  $this->validation_errors[] = array(
344
  'field' => 'name',
348
  }
349
 
350
  // Party
351
+ $this->party = empty( $_POST['rtb-party'] ) ? '' : sanitize_text_field( stripslashes_deep( $_POST['rtb-party'] ) );
352
  if ( empty( $this->party ) ) {
353
  $this->validation_errors[] = array(
354
  'field' => 'party',
373
  }
374
 
375
  // Email/Phone
376
+ $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.
377
  if ( empty( $this->email ) ) {
378
  $this->validation_errors[] = array(
379
  'field' => 'email',
383
  }
384
 
385
  // Phone/Message
386
+ $this->phone = empty( $_POST['rtb-phone'] ) ? '' : sanitize_text_field( stripslashes_deep( $_POST['rtb-phone'] ) );
387
+ $this->message = empty( $_POST['rtb-message'] ) ? '' : sanitize_text_field( stripslashes_deep( $_POST['rtb-message'] ) );
388
 
389
  do_action( 'rtb_validate_booking_submission', $this );
390
 
includes/Notification.Email.class.php CHANGED
@@ -100,8 +100,13 @@ class rtbNotificationEmail extends rtbNotification {
100
 
101
  global $rtb_controller;
102
 
103
- $this->from_email = $rtb_controller->settings->get_setting( 'reply-to-address' );
104
- $this->from_name = $rtb_controller->settings->get_setting( 'reply-to-name' );
 
 
 
 
 
105
 
106
  }
107
 
@@ -115,16 +120,16 @@ class rtbNotificationEmail extends rtbNotification {
115
 
116
  if( $this->event == 'new_submission' ) {
117
  if ( $this->target == 'admin' ) {
118
- $this->subject = $rtb_controller->settings->get_setting( 'subject-booking-admin' );
119
  } elseif ( $this->target == 'user' ) {
120
- $this->subject = $rtb_controller->settings->get_setting( 'subject-booking-user' );
121
  }
122
 
123
  } elseif ( $this->event == 'pending_to_confirmed' ) {
124
- $this->subject = $rtb_controller->settings->get_setting( 'subject-confirmed-user' );
125
 
126
  } elseif ( $this->event == 'pending_to_closed' ) {
127
- $this->subject = $rtb_controller->settings->get_setting( 'subject-rejected-user' );
128
  }
129
 
130
  }
@@ -135,8 +140,10 @@ class rtbNotificationEmail extends rtbNotification {
135
  */
136
  public function set_headers( $headers = null ) {
137
 
138
- $headers = "From: " . stripslashes_deep( html_entity_decode( $this->from_name, ENT_COMPAT, 'UTF-8' ) ) . " <" . $this->from_email . ">\r\n";
139
- $headers .= "Reply-To: ". $this->from_email . "\r\n";
 
 
140
  $headers .= "Content-Type: text/html; charset=utf-8\r\n";
141
  $this->headers = apply_filters( 'rtb_notification_email_headers', $headers, $this );
142
 
@@ -176,6 +183,24 @@ class rtbNotificationEmail extends rtbNotification {
176
 
177
  }
178
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
179
  /**
180
  * Send notification
181
  * @since 0.0.1
100
 
101
  global $rtb_controller;
102
 
103
+ if ( $this->target == 'user' ) {
104
+ $this->from_email = $rtb_controller->settings->get_setting( 'reply-to-address' );
105
+ $this->from_name = $rtb_controller->settings->get_setting( 'reply-to-name' );
106
+ } else {
107
+ $this->from_email = $this->booking->email;
108
+ $this->from_name = $this->booking->name;
109
+ }
110
 
111
  }
112
 
120
 
121
  if( $this->event == 'new_submission' ) {
122
  if ( $this->target == 'admin' ) {
123
+ $this->subject = $this->process_subject_template( $rtb_controller->settings->get_setting( 'subject-booking-admin' ) );
124
  } elseif ( $this->target == 'user' ) {
125
+ $this->subject = $this->process_subject_template( $rtb_controller->settings->get_setting( 'subject-booking-user' ) );
126
  }
127
 
128
  } elseif ( $this->event == 'pending_to_confirmed' ) {
129
+ $this->subject = $this->process_subject_template( $rtb_controller->settings->get_setting( 'subject-confirmed-user' ) );
130
 
131
  } elseif ( $this->event == 'pending_to_closed' ) {
132
+ $this->subject = $this->process_subject_template( $rtb_controller->settings->get_setting( 'subject-rejected-user' ) );
133
  }
134
 
135
  }
140
  */
141
  public function set_headers( $headers = null ) {
142
 
143
+ global $rtb_controller;
144
+
145
+ $headers = "From: " . stripslashes_deep( html_entity_decode( $rtb_controller->settings->get_setting( 'reply-to-name' ), ENT_COMPAT, 'UTF-8' ) ) . " <" . apply_filters( 'rtb_notification_email_header_from_email', get_option( 'admin_email' ) ) . ">\r\n";
146
+ $headers .= "Reply-To: " . stripslashes_deep( html_entity_decode( $this->from_name, ENT_COMPAT, 'UTF-8' ) ) . " <" . $this->from_email . ">\r\n";
147
  $headers .= "Content-Type: text/html; charset=utf-8\r\n";
148
  $this->headers = apply_filters( 'rtb_notification_email_headers', $headers, $this );
149
 
183
 
184
  }
185
 
186
+ /**
187
+ * Process template tags for email subjects
188
+ * @since 0.0.1
189
+ */
190
+ public function process_subject_template( $subject ) {
191
+
192
+ $template_tags = array(
193
+ '{user_name}' => $this->booking->name,
194
+ '{party}' => $this->booking->party,
195
+ '{date}' => $this->booking->format_date( $this->booking->date )
196
+ );
197
+
198
+ $template_tags = apply_filters( 'rtb_notification_email_subject_template_tags', $template_tags, $this );
199
+
200
+ return str_replace( array_keys( $template_tags ), array_values( $template_tags ), $subject );
201
+
202
+ }
203
+
204
  /**
205
  * Send notification
206
  * @since 0.0.1
includes/Notification.class.php CHANGED
@@ -79,6 +79,7 @@ abstract class rtbNotification {
79
  public function process_template( $message ) {
80
 
81
  $template_tags = array(
 
82
  '{user_name}' => $this->booking->name,
83
  '{party}' => $this->booking->party,
84
  '{date}' => $this->booking->format_date( $this->booking->date ),
79
  public function process_template( $message ) {
80
 
81
  $template_tags = array(
82
+ '{user_email}' => $this->booking->email,
83
  '{user_name}' => $this->booking->name,
84
  '{party}' => $this->booking->party,
85
  '{date}' => $this->booking->format_date( $this->booking->date ),
includes/Settings.class.php CHANGED
@@ -415,7 +415,8 @@ Sorry, we could not accomodate your booking request. We\'re full or not open at
415
  'description' => __( 'When the booking form is loaded, should it automatically attempt to select a valid date?', RTB_TEXTDOMAIN ),
416
  'blank_option' => false,
417
  'options' => array(
418
- '' => __( 'Select today or soonest valid date', RTB_TEXTDOMAIN ),
 
419
  'empty' => __( 'Leave empty', RTB_TEXTDOMAIN ),
420
  )
421
  )
@@ -455,7 +456,7 @@ Sorry, we could not accomodate your booking request. We\'re full or not open at
455
  array(
456
  'id' => 'reply-to-name',
457
  'title' => __( 'Reply-To Name', RTB_TEXTDOMAIN ),
458
- 'description' => __( 'The name which should appear in the Reply-To field of a notification email', RTB_TEXTDOMAIN ),
459
  'placeholder' => $this->defaults['reply-to-name'],
460
  )
461
  );
@@ -467,7 +468,7 @@ Sorry, we could not accomodate your booking request. We\'re full or not open at
467
  array(
468
  'id' => 'reply-to-address',
469
  'title' => __( 'Reply-To Email Address', RTB_TEXTDOMAIN ),
470
- 'description' => __( 'The email address which should appear in the Reply-To field of a notification email.', RTB_TEXTDOMAIN ),
471
  'placeholder' => $this->defaults['reply-to-address'],
472
  )
473
  );
@@ -505,8 +506,6 @@ Sorry, we could not accomodate your booking request. We\'re full or not open at
505
  )
506
  );
507
 
508
- // @todo this should be generated automatically from an array of tags/descriptions somewhere, so that addons
509
- // can easily add/edit without conflicting with each other.
510
  $sap->add_setting(
511
  'rtb-settings',
512
  'rtb-notifications-templates',
@@ -515,40 +514,8 @@ Sorry, we could not accomodate your booking request. We\'re full or not open at
515
  'id' => 'template-tags-description',
516
  'title' => __( 'Template Tags', RTB_TEXTDOMAIN ),
517
  'html' => '
518
- <p class="description">' . __( 'Use the following tags to automatically add booking information to the emails.', RTB_TEXTDOMAIN ) . '</p>
519
- <div class="rtb-template-tags-box">
520
- <strong>{user_name}</strong> ' . __( 'Name of the user who made the booking', RTB_TEXTDOMAIN ) . '
521
- </div>
522
- <div class="rtb-template-tags-box">
523
- <strong>{party}</strong> ' . __( 'Number of people booked', RTB_TEXTDOMAIN ) . '
524
- </div>
525
- <div class="rtb-template-tags-box">
526
- <strong>{date}</strong> ' . __( 'Date and time of the booking', RTB_TEXTDOMAIN ) . '
527
- </div>
528
- <div class="rtb-template-tags-box">
529
- <strong>{phone}</strong> ' . __( 'Phone number if supplied with the request', RTB_TEXTDOMAIN ) . '
530
- </div>
531
- <div class="rtb-template-tags-box">
532
- <strong>{message}</strong> ' . __( 'Message added to the request', RTB_TEXTDOMAIN ) . '
533
- </div>
534
- <div class="rtb-template-tags-box">
535
- <strong>{bookings_link}</strong> ' . __( 'A link to the admin panel showing pending bookings', RTB_TEXTDOMAIN ) . '
536
- </div>
537
- <div class="rtb-template-tags-box">
538
- <strong>{confirm_link}</strong> ' . __( 'A link to confirm this booking. Only include this in admin notifications', RTB_TEXTDOMAIN ) . '
539
- </div>
540
- <div class="rtb-template-tags-box">
541
- <strong>{close_link}</strong> ' . __( 'A link to reject this booking. Only include this in admin notifications', RTB_TEXTDOMAIN ) . '
542
- </div>
543
- <div class="rtb-template-tags-box">
544
- <strong>{site_name}</strong> ' . __( 'The name of this website', RTB_TEXTDOMAIN ) . '
545
- </div>
546
- <div class="rtb-template-tags-box">
547
- <strong>{site_link}</strong> ' . __( 'A link to this website', RTB_TEXTDOMAIN ) . '
548
- </div>
549
- <div class="rtb-template-tags-box">
550
- <strong>{current_time}</strong> ' . __( 'Current date and time', RTB_TEXTDOMAIN ) . '
551
- </div>',
552
  )
553
  );
554
 
@@ -654,5 +621,39 @@ Sorry, we could not accomodate your booking request. We\'re full or not open at
654
 
655
  }
656
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
657
  }
658
  } // endif;
415
  'description' => __( 'When the booking form is loaded, should it automatically attempt to select a valid date?', RTB_TEXTDOMAIN ),
416
  'blank_option' => false,
417
  'options' => array(
418
+ '' => __( 'Select today if valid', RTB_TEXTDOMAIN ),
419
+ 'soonest' => __( 'Select today or next valid date', RTB_TEXTDOMAIN ),
420
  'empty' => __( 'Leave empty', RTB_TEXTDOMAIN ),
421
  )
422
  )
456
  array(
457
  'id' => 'reply-to-name',
458
  'title' => __( 'Reply-To Name', RTB_TEXTDOMAIN ),
459
+ 'description' => __( 'The name which should appear in the Reply-To field of a user notification email', RTB_TEXTDOMAIN ),
460
  'placeholder' => $this->defaults['reply-to-name'],
461
  )
462
  );
468
  array(
469
  'id' => 'reply-to-address',
470
  'title' => __( 'Reply-To Email Address', RTB_TEXTDOMAIN ),
471
+ 'description' => __( 'The email address which should appear in the Reply-To field of a user notification email.', RTB_TEXTDOMAIN ),
472
  'placeholder' => $this->defaults['reply-to-address'],
473
  )
474
  );
506
  )
507
  );
508
 
 
 
509
  $sap->add_setting(
510
  'rtb-settings',
511
  'rtb-notifications-templates',
514
  'id' => 'template-tags-description',
515
  'title' => __( 'Template Tags', RTB_TEXTDOMAIN ),
516
  'html' => '
517
+ <p class="description">' . __( 'Use the following tags to automatically add booking information to the emails. Tags labeled with an asterisk (*) can be used in the email subject as well.', RTB_TEXTDOMAIN ) . '</p>' .
518
+ $this->render_template_tag_descriptions(),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
519
  )
520
  );
521
 
621
 
622
  }
623
 
624
+ /**
625
+ * Render HTML code of descriptions for the template tags
626
+ * @since 1.2.3
627
+ */
628
+ public function render_template_tag_descriptions() {
629
+
630
+ $descriptions = apply_filters( 'rtb_notification_template_tag_descriptions', array(
631
+ '{user_email}' => __( 'Email of the user who made the booking', RTB_TEXTDOMAIN ),
632
+ '{user_name}' => __( '* Name of the user who made the booking', RTB_TEXTDOMAIN ),
633
+ '{party}' => __( '* Number of people booked', RTB_TEXTDOMAIN ),
634
+ '{date}' => __( '* Date and time of the booking', RTB_TEXTDOMAIN ),
635
+ '{phone}' => __( 'Phone number if supplied with the request', RTB_TEXTDOMAIN ),
636
+ '{message}' => __( 'Message added to the request', RTB_TEXTDOMAIN ),
637
+ '{bookings_link}' => __( 'A link to the admin panel showing pending bookings', RTB_TEXTDOMAIN ),
638
+ '{confirm_link}' => __( 'A link to confirm this booking. Only include this in admin notifications', RTB_TEXTDOMAIN ),
639
+ '{close_link}' => __( 'A link to reject this booking. Only include this in admin notifications', RTB_TEXTDOMAIN ),
640
+ '{site_name}' => __( 'The name of this website', RTB_TEXTDOMAIN ),
641
+ '{site_link}' => __( 'A link to this website', RTB_TEXTDOMAIN ),
642
+ '{current_time}' => __( 'Current date and time', RTB_TEXTDOMAIN ),
643
+ )
644
+ );
645
+
646
+ $output = '';
647
+
648
+ foreach ( $descriptions as $tag => $description ) {
649
+ $output .= '
650
+ <div class="rtb-template-tags-box">
651
+ <strong>' . $tag . '</strong> ' . $description . '
652
+ </div>';
653
+ }
654
+
655
+ return $output;
656
+ }
657
+
658
  }
659
  } // endif;
includes/template-functions.php CHANGED
@@ -285,7 +285,7 @@ function rtb_get_datepicker_rules() {
285
  }
286
  }
287
 
288
- return $disable_rules;
289
 
290
  }
291
  } // endif;
285
  }
286
  }
287
 
288
+ return apply_filters( 'rtb_datepicker_disable_rules', $disable_rules, $schedule_open, $schedule_closed );
289
 
290
  }
291
  } // endif;
lib/simple-admin-pages/lib/pickadate/translations/FORMATTING.md ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
1
+ ### The following convention is used for choosing a format for the translation files:
2
+
3
+ 1. Google for “Microsoft Style Guide LANGUAGE COUNTRY”.
4
+ 2. Check the standard suggestions for Long Date Formats.
5
+ 3. Set this as the `format` option using [pickadate’s formatting rules](http://amsul.ca/pickadate.js/date.htm#formatting-rules).
6
+
7
+ Make sure `formatSubmit` is always `yyyy/mm/dd` to ensure our servers always get the value formatted the same.
lib/simple-admin-pages/lib/pickadate/translations/NAMING.md ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ### The following convention is used for naming the translation files:
2
+
3
+ ```
4
+ LANGUAGE_COUNTRY.js
5
+ ```
6
+
7
+ #### Where:
8
+
9
+ ```
10
+ LANGUAGE = The lowercase ISO 639-1 language code.
11
+ ```
12
+
13
+ > See http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
14
+
15
+ ```
16
+ COUNTRY = The uppercase ISO 3166-1 country code.
17
+ ```
18
+
19
+ > See http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements
20
+
21
+ When there is no `COUNTRY` in the filename, it is assumed the generic language is used in multiple countries.
lib/simple-admin-pages/lib/pickadate/translations/ar.js CHANGED
@@ -1 +1,16 @@
1
- jQuery.extend(jQuery.fn.pickadate.defaults,{monthsFull:["يناير","فبراير","مارس","ابريل","مايو","يونيو","يوليو","اغسطس","سبتمبر","اكتوبر","نوفمبر","ديسمبر"],monthsShort:["يناير","فبراير","مارس","ابريل","مايو","يونيو","يوليو","اغسطس","سبتمبر","اكتوبر","نوفمبر","ديسمبر"],weekdaysFull:["الاحد","الاثنين","الثلاثاء","الاربعاء","الخميس","الجمعة","السبت"],weekdaysShort:["الاحد","الاثنين","الثلاثاء","الاربعاء","الخميس","الجمعة","السبت"],today:"اليوم",clear:"مسح",format:"yyyy mmmm dd",formatSubmit:"yyyy/mm/dd"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Arabic
2
+
3
+ jQuery.extend( jQuery.fn.pickadate.defaults, {
4
+ monthsFull: [ 'يناير', 'فبراير', 'مارس', 'ابريل', 'مايو', 'يونيو', 'يوليو', 'اغسطس', 'سبتمبر', 'اكتوبر', 'نوفمبر', 'ديسمبر' ],
5
+ monthsShort: [ 'يناير', 'فبراير', 'مارس', 'ابريل', 'مايو', 'يونيو', 'يوليو', 'اغسطس', 'سبتمبر', 'اكتوبر', 'نوفمبر', 'ديسمبر' ],
6
+ weekdaysFull: [ 'الاحد', 'الاثنين', 'الثلاثاء', 'الاربعاء', 'الخميس', 'الجمعة', 'السبت' ],
7
+ weekdaysShort: [ 'الاحد', 'الاثنين', 'الثلاثاء', 'الاربعاء', 'الخميس', 'الجمعة', 'السبت' ],
8
+ today: 'اليوم',
9
+ clear: 'مسح',
10
+ format: 'yyyy mmmm dd',
11
+ formatSubmit: 'yyyy/mm/dd'
12
+ });
13
+
14
+ jQuery.extend( jQuery.fn.pickatime.defaults, {
15
+ clear: 'مسح'
16
+ });
lib/simple-admin-pages/lib/pickadate/translations/bg_BG.js CHANGED
@@ -1 +1,17 @@
1
- jQuery.extend(jQuery.fn.pickadate.defaults,{monthsFull:["януари","февруари","март","април","май","юни","юли","август","септември","октомври","ноември","декември"],monthsShort:["янр","фев","мар","апр","май","юни","юли","авг","сеп","окт","ное","дек"],weekdaysFull:["неделя","понеделник","вторник","сряда","четвъртък","петък","събота"],weekdaysShort:["нд","пн","вт","ср","чт","пт","сб"],today:"днес",clear:"изтривам",firstDay:1,format:"d mmmm yyyy г.",formatSubmit:"yyyy/mm/dd"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Bulgarian
2
+
3
+ jQuery.extend( jQuery.fn.pickadate.defaults, {
4
+ monthsFull: [ 'януари','февруари','март','април','май','юни','юли','август','септември','октомври','ноември','декември' ],
5
+ monthsShort: [ 'янр','фев','мар','апр','май','юни','юли','авг','сеп','окт','ное','дек' ],
6
+ weekdaysFull: [ 'неделя', 'понеделник', 'вторник', 'сряда', 'четвъртък', 'петък', 'събота' ],
7
+ weekdaysShort: [ 'нд', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб' ],
8
+ today: 'днес',
9
+ clear: 'изтривам',
10
+ firstDay: 1,
11
+ format: 'd mmmm yyyy г.',
12
+ formatSubmit: 'yyyy/mm/dd'
13
+ });
14
+
15
+ jQuery.extend( jQuery.fn.pickatime.defaults, {
16
+ clear: 'изтривам'
17
+ });
lib/simple-admin-pages/lib/pickadate/translations/bs_BA.js CHANGED
@@ -1 +1,17 @@
1
- jQuery.extend(jQuery.fn.pickadate.defaults,{monthsFull:["januar","februar","mart","april","maj","juni","juli","august","septembar","oktobar","novembar","decembar"],monthsShort:["jan","feb","mar","apr","maj","jun","jul","aug","sep","okt","nov","dec"],weekdaysFull:["nedjelja","ponedjeljak","utorak","srijeda","cetvrtak","petak","subota"],weekdaysShort:["ne","po","ut","sr","če","pe","su"],today:"danas",clear:"izbrisati",firstDay:1,format:"dd. mmmm yyyy.",formatSubmit:"yyyy/mm/dd"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Bosnian
2
+
3
+ jQuery.extend( jQuery.fn.pickadate.defaults, {
4
+ monthsFull: [ 'januar', 'februar', 'mart', 'april', 'maj', 'juni', 'juli', 'august', 'septembar', 'oktobar', 'novembar', 'decembar' ],
5
+ monthsShort: [ 'jan', 'feb', 'mar', 'apr', 'maj', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'dec' ],
6
+ weekdaysFull: [ 'nedjelja', 'ponedjeljak', 'utorak', 'srijeda', 'cetvrtak', 'petak', 'subota' ],
7
+ weekdaysShort: [ 'ne', 'po', 'ut', 'sr', 'če', 'pe', 'su' ],
8
+ today: 'danas',
9
+ clear: 'izbrisati',
10
+ firstDay: 1,
11
+ format: 'dd. mmmm yyyy.',
12
+ formatSubmit: 'yyyy/mm/dd'
13
+ });
14
+
15
+ jQuery.extend( jQuery.fn.pickatime.defaults, {
16
+ clear: 'izbrisati'
17
+ });
lib/simple-admin-pages/lib/pickadate/translations/ca_ES.js CHANGED
@@ -1 +1,17 @@
1
- jQuery.extend(jQuery.fn.pickadate.defaults,{monthsFull:["Gener","Febrer","Març","Abril","Maig","juny","Juliol","Agost","Setembre","Octubre","Novembre","Desembre"],monthsShort:["Gen","Feb","Mar","Abr","Mai","Jun","Jul","Ago","Set","Oct","Nov","Des"],weekdaysFull:["diumenge","dilluns","dimarts","dimecres","dijous","divendres","dissabte"],weekdaysShort:["diu","dil","dim","dmc","dij","div","dis"],today:"avui",clear:"esborrar",firstDay:1,format:"dddd d !de mmmm !de yyyy",formatSubmit:"yyyy/mm/dd"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Catalan
2
+
3
+ jQuery.extend( jQuery.fn.pickadate.defaults, {
4
+ monthsFull: [ 'Gener', 'Febrer', 'Març', 'Abril', 'Maig', 'juny', 'Juliol', 'Agost', 'Setembre', 'Octubre', 'Novembre', 'Desembre' ],
5
+ monthsShort: [ 'Gen', 'Feb', 'Mar', 'Abr', 'Mai', 'Jun', 'Jul', 'Ago', 'Set', 'Oct', 'Nov', 'Des' ],
6
+ weekdaysFull: [ 'diumenge', 'dilluns', 'dimarts', 'dimecres', 'dijous', 'divendres', 'dissabte' ],
7
+ weekdaysShort: [ 'diu', 'dil', 'dim', 'dmc', 'dij', 'div', 'dis' ],
8
+ today: 'avui',
9
+ clear: 'esborrar',
10
+ firstDay: 1,
11
+ format: 'dddd d !de mmmm !de yyyy',
12
+ formatSubmit: 'yyyy/mm/dd'
13
+ });
14
+
15
+ jQuery.extend( jQuery.fn.pickatime.defaults, {
16
+ clear: 'esborrar'
17
+ });
lib/simple-admin-pages/lib/pickadate/translations/cs_CZ.js CHANGED
@@ -1 +1,17 @@
1
- jQuery.extend(jQuery.fn.pickadate.defaults,{monthsFull:["leden","únor","březen","duben","květen","červen","červenec","srpen","září","říjen","listopad","prosinec"],monthsShort:["led","úno","bře","dub","kvě","čer","čvc","srp","zář","říj","lis","pro"],weekdaysFull:["neděle","pondělí","úterý","středa","čtvrtek","pátek","sobota"],weekdaysShort:["ne","po","út","st","čt","pá","so"],today:"dnes",clear:"vymazat",firstDay:1,format:"d. mmmm yyyy",formatSubmit:"yyyy/mm/dd"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Czech
2
+
3
+ jQuery.extend( jQuery.fn.pickadate.defaults, {
4
+ monthsFull: [ 'leden', 'únor', 'březen', 'duben', 'květen', 'červen', 'červenec', 'srpen', 'září', 'říjen', 'listopad', 'prosinec' ],
5
+ monthsShort: [ 'led', 'úno', 'bře', 'dub', 'kvě', 'čer', 'čvc', 'srp', 'zář', 'říj', 'lis', 'pro' ],
6
+ weekdaysFull: [ 'neděle', 'pondělí', 'úterý', 'středa', 'čtvrtek', 'pátek', 'sobota' ],
7
+ weekdaysShort: [ 'ne', 'po', 'út', 'st', 'čt', 'pá', 'so' ],
8
+ today: 'dnes',
9
+ clear: 'vymazat',
10
+ firstDay: 1,
11
+ format: 'd. mmmm yyyy',
12
+ formatSubmit: 'yyyy/mm/dd'
13
+ });
14
+
15
+ jQuery.extend( jQuery.fn.pickatime.defaults, {
16
+ clear: 'vymazat'
17
+ });
lib/simple-admin-pages/lib/pickadate/translations/da_DK.js CHANGED
@@ -1 +1,17 @@
1
- jQuery.extend(jQuery.fn.pickadate.defaults,{monthsFull:["januar","februar","marts","april","maj","juni","juli","august","september","oktober","november","december"],monthsShort:["jan","feb","mar","apr","maj","jun","jul","aug","sep","okt","nov","dec"],weekdaysFull:["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"],weekdaysShort:["søn","man","tir","ons","tor","fre","lør"],today:"i dag",clear:"slet",firstDay:1,format:"d. mmmm yyyy",formatSubmit:"yyyy/mm/dd"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Danish
2
+
3
+ jQuery.extend( jQuery.fn.pickadate.defaults, {
4
+ monthsFull: [ 'januar', 'februar', 'marts', 'april', 'maj', 'juni', 'juli', 'august', 'september', 'oktober', 'november', 'december' ],
5
+ monthsShort: [ 'jan', 'feb', 'mar', 'apr', 'maj', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'dec' ],
6
+ weekdaysFull: [ 'søndag', 'mandag', 'tirsdag', 'onsdag', 'torsdag', 'fredag', 'lørdag' ],
7
+ weekdaysShort: [ 'søn', 'man', 'tir', 'ons', 'tor', 'fre', 'lør' ],
8
+ today: 'i dag',
9
+ clear: 'slet',
10
+ firstDay: 1,
11
+ format: 'd. mmmm yyyy',
12
+ formatSubmit: 'yyyy/mm/dd'
13
+ });
14
+
15
+ jQuery.extend( jQuery.fn.pickatime.defaults, {
16
+ clear: 'slet'
17
+ });
lib/simple-admin-pages/lib/pickadate/translations/de_DE.js CHANGED
@@ -1 +1,17 @@
1
- jQuery.extend(jQuery.fn.pickadate.defaults,{monthsFull:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],monthsShort:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],weekdaysFull:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],weekdaysShort:["So","Mo","Di","Mi","Do","Fr","Sa"],today:"Heute",clear:"Löschen",firstDay:1,format:"dddd, dd. mmmm yyyy",formatSubmit:"yyyy/mm/dd"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // German
2
+
3
+ jQuery.extend( jQuery.fn.pickadate.defaults, {
4
+ monthsFull: [ 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember' ],
5
+ monthsShort: [ 'Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez' ],
6
+ weekdaysFull: [ 'Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag' ],
7
+ weekdaysShort: [ 'So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa' ],
8
+ today: 'Heute',
9
+ clear: 'Löschen',
10
+ firstDay: 1,
11
+ format: 'dddd, dd. mmmm yyyy',
12
+ formatSubmit: 'yyyy/mm/dd'
13
+ });
14
+
15
+ jQuery.extend( jQuery.fn.pickatime.defaults, {
16
+ clear: 'Löschen'
17
+ });
lib/simple-admin-pages/lib/pickadate/translations/el_GR.js CHANGED
@@ -1 +1,17 @@
1
- jQuery.extend(jQuery.fn.pickadate.defaults,{monthsFull:["Ιανουάριος","Φεβρουάριος","Μάρτιος","Απρίλιος","Μάιος","Ιούνιος","Ιούλιος","Αύγουστος","Σεπτέμβριος","Οκτώβριος","Νοέμβριος","Δεκέμβριος"],monthsShort:["Ιαν","Φεβ","Μαρ","Απρ","Μαι","Ιουν","Ιουλ","Αυγ","Σεπ","Οκτ","Νοε","Δεκ"],weekdaysFull:["Κυριακή","Δευτέρα","Τρίτη","Τετάρτη","Πέμπτη","Παρασκευή","Σάββατο"],weekdaysShort:["Κυρ","Δευ","Τρι","Τετ","Πεμ","Παρ","Σαβ"],today:"σήμερα",clear:"Διαγραφή",firstDay:1,format:"d mmmm yyyy",formatSubmit:"yyyy/mm/dd"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Greek
2
+
3
+ jQuery.extend( jQuery.fn.pickadate.defaults, {
4
+ monthsFull: [ 'Ιανουάριος', 'Φεβρουάριος', 'Μάρτιος', 'Απρίλιος', 'Μάιος', 'Ιούνιος', 'Ιούλιος', 'Αύγουστος', 'Σεπτέμβριος', 'Οκτώβριος', 'Νοέμβριος', 'Δεκέμβριος' ],
5
+ monthsShort: [ 'Ιαν', 'Φεβ', 'Μαρ', 'Απρ', 'Μαι', 'Ιουν', 'Ιουλ', 'Αυγ', 'Σεπ', 'Οκτ', 'Νοε', 'Δεκ' ],
6
+ weekdaysFull: [ 'Κυριακή', 'Δευτέρα', 'Τρίτη', 'Τετάρτη', 'Πέμπτη', 'Παρασκευή', 'Σάββατο' ],
7
+ weekdaysShort: [ 'Κυρ', 'Δευ', 'Τρι', 'Τετ', 'Πεμ', 'Παρ', 'Σαβ' ],
8
+ today: 'σήμερα',
9
+ clear: 'Διαγραφή',
10
+ firstDay: 1,
11
+ format: 'd mmmm yyyy',
12
+ formatSubmit: 'yyyy/mm/dd'
13
+ });
14
+
15
+ jQuery.extend( jQuery.fn.pickatime.defaults, {
16
+ clear: 'Διαγραφή'
17
+ });
lib/simple-admin-pages/lib/pickadate/translations/es_ES.js CHANGED
@@ -1 +1,18 @@
1
- jQuery.extend(jQuery.fn.pickadate.defaults,{monthsFull:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"],monthsShort:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],weekdaysFull:["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],weekdaysShort:["dom","lun","mar","mié","jue","vie","sáb"],today:"hoy",clear:"borrar",firstDay:1,format:"dddd d !de mmmm !de yyyy",formatSubmit:"yyyy/mm/dd"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Spanish
2
+
3
+ jQuery.extend( jQuery.fn.pickadate.defaults, {
4
+ monthsFull: [ 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', 'octubre', 'noviembre', 'diciembre' ],
5
+ monthsShort: [ 'ene', 'feb', 'mar', 'abr', 'may', 'jun', 'jul', 'ago', 'sep', 'oct', 'nov', 'dic' ],
6
+ weekdaysFull: [ 'domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado' ],
7
+ weekdaysShort: [ 'dom', 'lun', 'mar', 'mié', 'jue', 'vie', 'sáb' ],
8
+ today: 'hoy',
9
+ clear: 'borrar',
10
+ close: 'cerrar',
11
+ firstDay: 1,
12
+ format: 'dddd d !de mmmm !de yyyy',
13
+ formatSubmit: 'yyyy/mm/dd'
14
+ });
15
+
16
+ jQuery.extend( jQuery.fn.pickatime.defaults, {
17
+ clear: 'borrar'
18
+ });
lib/simple-admin-pages/lib/pickadate/translations/et_EE.js CHANGED
@@ -1 +1,17 @@
1
- jQuery.extend(jQuery.fn.pickadate.defaults,{monthsFull:["jaanuar","veebruar","märts","aprill","mai","juuni","juuli","august","september","oktoober","november","detsember"],monthsShort:["jaan","veebr","märts","apr","mai","juuni","juuli","aug","sept","okt","nov","dets"],weekdaysFull:["pühapäev","esmaspäev","teisipäev","kolmapäev","neljapäev","reede","laupäev"],weekdaysShort:["püh","esm","tei","kol","nel","ree","lau"],today:"täna",clear:"kustutama",firstDay:1,format:"d. mmmm yyyy. a",formatSubmit:"yyyy/mm/dd"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Estonian
2
+
3
+ jQuery.extend( jQuery.fn.pickadate.defaults, {
4
+ monthsFull: [ 'jaanuar', 'veebruar', 'märts', 'aprill', 'mai', 'juuni', 'juuli', 'august', 'september', 'oktoober', 'november', 'detsember' ],
5
+ monthsShort: [ 'jaan', 'veebr', 'märts', 'apr', 'mai', 'juuni', 'juuli', 'aug', 'sept', 'okt', 'nov', 'dets' ],
6
+ weekdaysFull: [ 'pühapäev', 'esmaspäev', 'teisipäev', 'kolmapäev', 'neljapäev', 'reede', 'laupäev' ],
7
+ weekdaysShort: [ 'püh', 'esm', 'tei', 'kol', 'nel', 'ree', 'lau' ],
8
+ today: 'täna',
9
+ clear: 'kustutama',
10
+ firstDay: 1,
11
+ format: 'd. mmmm yyyy. a',
12
+ formatSubmit: 'yyyy/mm/dd'
13
+ });
14
+
15
+ jQuery.extend( jQuery.fn.pickatime.defaults, {
16
+ clear: 'kustutama'
17
+ });
lib/simple-admin-pages/lib/pickadate/translations/eu_ES.js CHANGED
@@ -1 +1,17 @@
1
- jQuery.extend(jQuery.fn.pickadate.defaults,{monthsFull:["urtarrila","otsaila","martxoa","apirila","maiatza","ekaina","uztaila","abuztua","iraila","urria","azaroa","abendua"],monthsShort:["urt","ots","mar","api","mai","eka","uzt","abu","ira","urr","aza","abe"],weekdaysFull:["igandea","astelehena","asteartea","asteazkena","osteguna","ostirala","larunbata"],weekdaysShort:["ig.","al.","ar.","az.","og.","or.","lr."],today:"gaur",clear:"garbitu",firstDay:1,format:"dddd, yyyy(e)ko mmmmren da",formatSubmit:"yyyy/mm/dd"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Basque
2
+
3
+ jQuery.extend( jQuery.fn.pickadate.defaults, {
4
+ monthsFull: [ 'urtarrila', 'otsaila', 'martxoa', 'apirila', 'maiatza', 'ekaina', 'uztaila', 'abuztua', 'iraila', 'urria', 'azaroa', 'abendua' ],
5
+ monthsShort: [ 'urt', 'ots', 'mar', 'api', 'mai', 'eka', 'uzt', 'abu', 'ira', 'urr', 'aza', 'abe' ],
6
+ weekdaysFull: [ 'igandea', 'astelehena', 'asteartea', 'asteazkena', 'osteguna', 'ostirala', 'larunbata' ],
7
+ weekdaysShort: [ 'ig.', 'al.', 'ar.', 'az.', 'og.', 'or.', 'lr.' ],
8
+ today: 'gaur',
9
+ clear: 'garbitu',
10
+ firstDay: 1,
11
+ format: 'dddd, yyyy(e)ko mmmmren da',
12
+ formatSubmit: 'yyyy/mm/dd'
13
+ });
14
+
15
+ jQuery.extend( jQuery.fn.pickatime.defaults, {
16
+ clear: 'garbitu'
17
+ });
lib/simple-admin-pages/lib/pickadate/translations/fi_FI.js CHANGED
@@ -1 +1,17 @@
1
- jQuery.extend(jQuery.fn.pickadate.defaults,{monthsFull:["tammikuu","helmikuu","maaliskuu","huhtikuu","toukokuu","kesäkuu","heinäkuu","elokuu","syyskuu","lokakuu","marraskuu","joulukuu"],monthsShort:["tammi","helmi","maalis","huhti","touko","kesä","heinä","elo","syys","loka","marras","joulu"],weekdaysFull:["sunnuntai","maanantai","tiistai","keskiviikko","torstai","perjantai","lauantai"],weekdaysShort:["su","ma","ti","ke","to","pe","la"],today:"tänään",clear:"tyhjennä",firstDay:1,format:"d.m.yyyy",formatSubmit:"yyyy/mm/dd"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Finnish
2
+
3
+ jQuery.extend( jQuery.fn.pickadate.defaults, {
4
+ monthsFull: [ 'tammikuu', 'helmikuu', 'maaliskuu', 'huhtikuu', 'toukokuu', 'kesäkuu', 'heinäkuu', 'elokuu', 'syyskuu', 'lokakuu', 'marraskuu', 'joulukuu' ],
5
+ monthsShort: [ 'tammi', 'helmi', 'maalis', 'huhti', 'touko', 'kesä', 'heinä', 'elo', 'syys', 'loka', 'marras', 'joulu' ],
6
+ weekdaysFull: [ 'sunnuntai', 'maanantai', 'tiistai', 'keskiviikko', 'torstai', 'perjantai', 'lauantai' ],
7
+ weekdaysShort: [ 'su', 'ma', 'ti', 'ke', 'to', 'pe', 'la' ],
8
+ today: 'tänään',
9
+ clear: 'tyhjennä',
10
+ firstDay: 1,
11
+ format: 'd.m.yyyy',
12
+ formatSubmit: 'yyyy/mm/dd'
13
+ });
14
+
15
+ jQuery.extend( jQuery.fn.pickatime.defaults, {
16
+ clear: 'tyhjennä'
17
+ });
lib/simple-admin-pages/lib/pickadate/translations/fr_FR.js CHANGED
@@ -1 +1,22 @@
1
- jQuery.extend(jQuery.fn.pickadate.defaults,{monthsFull:["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],monthsShort:["Jan","Fev","Mar","Avr","Mai","Juin","Juil","Aou","Sep","Oct","Nov","Dec"],weekdaysFull:["Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi"],weekdaysShort:["Dim","Lun","Mar","Mer","Jeu","Ven","Sam"],today:"Aujourd'hui",clear:"Effacer",firstDay:1,format:"dd mmmm yyyy",formatSubmit:"yyyy/mm/dd"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // French
2
+
3
+ jQuery.extend( jQuery.fn.pickadate.defaults, {
4
+ monthsFull: [ 'Janvier', 'Février', 'Mars', 'Avril', 'Mai', 'Juin', 'Juillet', 'Août', 'Septembre', 'Octobre', 'Novembre', 'Décembre' ],
5
+ monthsShort: [ 'Jan', 'Fev', 'Mar', 'Avr', 'Mai', 'Juin', 'Juil', 'Aou', 'Sep', 'Oct', 'Nov', 'Dec' ],
6
+ weekdaysFull: [ 'Dimanche', 'Lundi', 'Mardi', 'Mercredi', 'Jeudi', 'Vendredi', 'Samedi' ],
7
+ weekdaysShort: [ 'Dim', 'Lun', 'Mar', 'Mer', 'Jeu', 'Ven', 'Sam' ],
8
+ today: 'Aujourd\'hui',
9
+ clear: 'Effacer',
10
+ close: 'Fermer',
11
+ firstDay: 1,
12
+ format: 'dd mmmm yyyy',
13
+ formatSubmit: 'yyyy/mm/dd',
14
+ labelMonthNext: 'Mois suivant',
15
+ labelMonthPrev: 'Mois précédent',
16
+ labelMonthSelect: 'Sélectionner un mois',
17
+ labelYearSelect: 'Sélectionner une année'
18
+ });
19
+
20
+ jQuery.extend( jQuery.fn.pickatime.defaults, {
21
+ clear: 'Effacer'
22
+ });
lib/simple-admin-pages/lib/pickadate/translations/gl_ES.js CHANGED
@@ -1 +1,17 @@
1
- jQuery.extend(jQuery.fn.pickadate.defaults,{monthsFull:["Xaneiro","Febreiro","Marzo","Abril","Maio","Xuño","Xullo","Agosto","Setembro","Outubro","Novembro","Decembro"],monthsShort:["xan","feb","mar","abr","mai","xun","xul","ago","sep","out","nov","dec"],weekdaysFull:["domingo","luns","martes","mércores","xoves","venres","sábado"],weekdaysShort:["dom","lun","mar","mér","xov","ven","sab"],today:"hoxe",clear:"borrar",firstDay:1,format:"dddd d !de mmmm !de yyyy",formatSubmit:"yyyy/mm/dd"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Galician
2
+
3
+ jQuery.extend( jQuery.fn.pickadate.defaults, {
4
+ monthsFull: [ 'Xaneiro', 'Febreiro', 'Marzo', 'Abril', 'Maio', 'Xuño', 'Xullo', 'Agosto', 'Setembro', 'Outubro', 'Novembro', 'Decembro' ],
5
+ monthsShort: [ 'xan', 'feb', 'mar', 'abr', 'mai', 'xun', 'xul', 'ago', 'sep', 'out', 'nov', 'dec' ],
6
+ weekdaysFull: [ 'domingo', 'luns', 'martes', 'mércores', 'xoves', 'venres', 'sábado' ],
7
+ weekdaysShort: [ 'dom', 'lun', 'mar', 'mér', 'xov', 'ven', 'sab' ],
8
+ today: 'hoxe',
9
+ clear: 'borrar',
10
+ firstDay: 1,
11
+ format: 'dddd d !de mmmm !de yyyy',
12
+ formatSubmit: 'yyyy/mm/dd'
13
+ });
14
+
15
+ jQuery.extend( jQuery.fn.pickatime.defaults, {
16
+ clear: 'borrar'
17
+ });
lib/simple-admin-pages/lib/pickadate/translations/he_IL.js CHANGED
@@ -1 +1,16 @@
1
- jQuery.extend(jQuery.fn.pickadate.defaults,{monthsFull:["ינואר","פברואר","מרץ","אפריל","מאי","יוני","יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר"],monthsShort:["ינו","פבר","מרץ","אפר","מאי","יונ","יול","אוג","ספט","אוק","נוב","דצמ"],weekdaysFull:["יום ראשון","יום שני","יום שלישי","יום רביעי","יום חמישי","יום ששי","יום שבת"],weekdaysShort:["א","ב","ג","ד","ה","ו","ש"],today:"היום",clear:"למחוק",format:"yyyy mmmmב d dddd",formatSubmit:"yyyy/mm/dd"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Hebrew
2
+
3
+ jQuery.extend( jQuery.fn.pickadate.defaults, {
4
+ monthsFull: [ 'ינואר', 'פברואר', 'מרץ', 'אפריל', 'מאי', 'יוני', 'יולי', 'אוגוסט', 'ספטמבר', 'אוקטובר', 'נובמבר', 'דצמבר' ],
5
+ monthsShort: [ 'ינו', 'פבר', 'מרץ', 'אפר', 'מאי', 'יונ', 'יול', 'אוג', 'ספט', 'אוק', 'נוב', 'דצמ' ],
6
+ weekdaysFull: [ 'יום ראשון', 'יום שני', 'יום שלישי', 'יום רביעי', 'יום חמישי', 'יום ששי', 'יום שבת' ],
7
+ weekdaysShort: [ 'א', 'ב', 'ג', 'ד', 'ה', 'ו', 'ש' ],
8
+ today: 'היום',
9
+ clear: 'למחוק',
10
+ format: 'yyyy mmmmב d dddd',
11
+ formatSubmit: 'yyyy/mm/dd'
12
+ });
13
+
14
+ jQuery.extend( jQuery.fn.pickatime.defaults, {
15
+ clear: 'למחוק'
16
+ });
lib/simple-admin-pages/lib/pickadate/translations/hi_IN.js ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ jQuery.extend( jQuery.fn.pickadate.defaults, {
2
+ monthsFull: [ 'जनवरी', 'फरवरी', 'मार्च', 'अप्रैल', 'मई', 'जून', 'जुलाई', 'अगस्त', 'सितम्बर', 'अक्टूबर', 'नवम्बर', 'दिसम्बर' ],
3
+ monthsShort: [ 'जन', 'फर', 'मार्च', 'अप्रैल', 'मई', 'जून', 'जु', 'अग', 'सित', 'अक्टू', 'नव', 'दिस' ],
4
+ weekdaysFull: [ 'रविवार', 'सोमवार', 'मंगलवार', 'बुधवार', 'गुरुवार', 'शुक्रवार', 'शनिवार' ],
5
+ weekdaysShort: [ 'रवि', 'सोम', 'मंगल', 'बुध', 'गुरु', 'शुक्र','शनि' ],
6
+ today: 'आज की तारीख चयन करें',
7
+ clear: 'चुनी हुई तारीख को मिटाएँ',
8
+ close: 'विंडो बंद करे',
9
+ firstDay: 1,
10
+ format: 'dd/mm/yyyy',
11
+ formatSubmit: 'yyyy/mm/dd',
12
+ labelMonthNext: 'अगले माह का चयन करें',
13
+ labelMonthPrev: 'पिछले माह का चयन करें',
14
+ labelMonthSelect: 'किसि एक महीने का चयन करें',
15
+ labelYearSelect: 'किसि एक वर्ष का चयन करें'
16
+ });
17
+
18
+ jQuery.extend( jQuery.fn.pickatime.defaults, {
19
+ clear: 'चुनी हुई तारीख को मिटाएँ'
20
+ });
lib/simple-admin-pages/lib/pickadate/translations/hr_HR.js CHANGED
@@ -1 +1,17 @@
1
- jQuery.extend(jQuery.fn.pickadate.defaults,{monthsFull:["sijećanj","veljača","ožujak","travanj","svibanj","lipanj","srpanj","kolovoz","rujan","listopad","studeni","prosinac"],monthsShort:["sij","velj","ožu","tra","svi","lip","srp","kol","ruj","lis","stu","pro"],weekdaysFull:["nedjelja","ponedjeljak","utorak","srijeda","četvrtak","petak","subota"],weekdaysShort:["ned","pon","uto","sri","čet","pet","sub"],today:"danas",clear:"izbrisati",firstDay:1,format:"d. mmmm yyyy.",formatSubmit:"yyyy/mm/dd"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Croatian
2
+
3
+ jQuery.extend( jQuery.fn.pickadate.defaults, {
4
+ monthsFull: [ 'sijećanj', 'veljača', 'ožujak', 'travanj', 'svibanj', 'lipanj', 'srpanj', 'kolovoz', 'rujan', 'listopad', 'studeni', 'prosinac' ],
5
+ monthsShort: [ 'sij', 'velj', 'ožu', 'tra', 'svi', 'lip', 'srp', 'kol', 'ruj', 'lis', 'stu', 'pro' ],
6
+ weekdaysFull: [ 'nedjelja', 'ponedjeljak', 'utorak', 'srijeda', 'četvrtak', 'petak', 'subota' ],
7
+ weekdaysShort: [ 'ned', 'pon', 'uto', 'sri', 'čet', 'pet', 'sub' ],
8
+ today: 'danas',
9
+ clear: 'izbrisati',
10
+ firstDay: 1,
11
+ format: 'd. mmmm yyyy.',
12
+ formatSubmit: 'yyyy/mm/dd'
13
+ });
14
+
15
+ jQuery.extend( jQuery.fn.pickatime.defaults, {
16
+ clear: 'izbrisati'
17
+ });
lib/simple-admin-pages/lib/pickadate/translations/hu_HU.js CHANGED
@@ -1 +1,17 @@
1
- jQuery.extend(jQuery.fn.pickadate.defaults,{monthsFull:["január","február","március","aprilis","május","június","július","augusztus","szeptember","október","november","december"],monthsShort:["jan","febr","márc","apr","máj","jún","júl","aug","szept","okt","nov","dec"],weekdaysFull:["vasámap","hétfö","kedd","szerda","csütörtök","péntek","szombat"],weekdaysShort:["V","H","K","SZ","CS","P","SZ"],today:"ma",clear:"töröl",firstDay:1,format:"yyyy. mmmm dd.",formatSubmit:"yyyy/mm/dd"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Hungarian
2
+
3
+ jQuery.extend( jQuery.fn.pickadate.defaults, {
4
+ monthsFull: [ 'január', 'február', 'március', 'április', 'május', 'június', 'július', 'augusztus', 'szeptember', 'október', 'november', 'december' ],
5
+ monthsShort: [ 'jan', 'febr', 'márc', 'ápr', 'máj', 'jún', 'júl', 'aug', 'szept', 'okt', 'nov', 'dec' ],
6
+ weekdaysFull: [ 'vasárnap', 'hétfő', 'kedd', 'szerda', 'csütörtök', 'péntek', 'szombat' ],
7
+ weekdaysShort: [ 'V', 'H', 'K', 'SZe', 'CS', 'P', 'SZo' ],
8
+ today: 'Ma',
9
+ clear: 'Törlés',
10
+ firstDay: 1,
11
+ format: 'yyyy. mmmm dd.',
12
+ formatSubmit: 'yyyy/mm/dd'
13
+ });
14
+
15
+ jQuery.extend( jQuery.fn.pickatime.defaults, {
16
+ clear: 'Törlés'
17
+ });
lib/simple-admin-pages/lib/pickadate/translations/id_ID.js CHANGED
@@ -1 +1,17 @@
1
- jQuery.extend(jQuery.fn.pickadate.defaults,{monthsFull:["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"],monthsShort:["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Agu","Sep","Okt","Nov","Des"],weekdaysFull:["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"],weekdaysShort:["Min","Sen","Sel","Rab","Kam","Jum","Sab"],today:"hari ini",clear:"menghapus",firstDay:1,format:"d mmmm yyyy",formatSubmit:"yyyy/mm/dd"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Indonesian
2
+
3
+ jQuery.extend( jQuery.fn.pickadate.defaults, {
4
+ monthsFull: [ 'Januari', 'Februari', 'Maret', 'April', 'Mei', 'Juni', 'Juli', 'Agustus', 'September', 'Oktober', 'November', 'Desember' ],
5
+ monthsShort: [ 'Jan', 'Feb', 'Mar', 'Apr', 'Mei', 'Jun', 'Jul', 'Agu', 'Sep', 'Okt', 'Nov', 'Des' ],
6
+ weekdaysFull: [ 'Minggu', 'Senin', 'Selasa', 'Rabu', 'Kamis', 'Jumat', 'Sabtu' ],
7
+ weekdaysShort: [ 'Min', 'Sen', 'Sel', 'Rab', 'Kam', 'Jum', 'Sab' ],
8
+ today: 'hari ini',
9
+ clear: 'menghapus',
10
+ firstDay: 1,
11
+ format: 'd mmmm yyyy',
12
+ formatSubmit: 'yyyy/mm/dd'
13
+ });
14
+
15
+ jQuery.extend( jQuery.fn.pickatime.defaults, {
16
+ clear: 'menghapus'
17
+ });
lib/simple-admin-pages/lib/pickadate/translations/is_IS.js CHANGED
@@ -1 +1,17 @@
1
- jQuery.extend(jQuery.fn.pickadate.defaults,{monthsFull:["janúar","febrúar","mars","apríl","maí","júní","júlí","ágúst","september","október","nóvember","desember"],monthsShort:["jan","feb","mar","apr","maí","jún","júl","ágú","sep","okt","nóv","des"],weekdaysFull:["sunnudagur","mánudagur","þriðjudagur","miðvikudagur","fimmtudagur","föstudagur","laugardagur"],weekdaysShort:["sun","mán","þri","mið","fim","fös","lau"],today:"Í dag",clear:"Hreinsa",firstDay:1,format:"dd. mmmm yyyy",formatSubmit:"yyyy/mm/dd"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Icelandic
2
+
3
+ jQuery.extend( jQuery.fn.pickadate.defaults, {
4
+ monthsFull: [ 'janúar', 'febrúar', 'mars', 'apríl', 'maí', 'júní', 'júlí', 'ágúst', 'september', 'október', 'nóvember', 'desember' ],
5
+ monthsShort: [ 'jan', 'feb', 'mar', 'apr', 'maí', 'jún', 'júl', 'ágú', 'sep', 'okt', 'nóv', 'des' ],
6
+ weekdaysFull: [ 'sunnudagur', 'mánudagur', 'þriðjudagur', 'miðvikudagur', 'fimmtudagur', 'föstudagur', 'laugardagur' ],
7
+ weekdaysShort: [ 'sun', 'mán', 'þri', 'mið', 'fim', 'fös', 'lau' ],
8
+ today: 'Í dag',
9
+ clear: 'Hreinsa',
10
+ firstDay: 1,
11
+ format: 'dd. mmmm yyyy',
12
+ formatSubmit: 'yyyy/mm/dd'
13
+ });
14
+
15
+ jQuery.extend( jQuery.fn.pickatime.defaults, {
16
+ clear: 'Hreinsa'
17
+ });
lib/simple-admin-pages/lib/pickadate/translations/it_IT.js CHANGED
@@ -1 +1,18 @@
1
- jQuery.extend(jQuery.fn.pickadate.defaults,{monthsFull:["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"],monthsShort:["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic"],weekdaysFull:["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"],weekdaysShort:["dom","lun","mar","mer","gio","ven","sab"],today:"oggi",clear:"cancellare",firstDay:1,format:"dddd d mmmm yyyy",formatSubmit:"yyyy/mm/dd"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Italian
2
+
3
+ jQuery.extend( jQuery.fn.pickadate.defaults, {
4
+ monthsFull: [ 'gennaio', 'febbraio', 'marzo', 'aprile', 'maggio', 'giugno', 'luglio', 'agosto', 'settembre', 'ottobre', 'novembre', 'dicembre' ],
5
+ monthsShort: [ 'gen', 'feb', 'mar', 'apr', 'mag', 'giu', 'lug', 'ago', 'set', 'ott', 'nov', 'dic' ],
6
+ weekdaysFull: [ 'domenica', 'lunedì', 'martedì', 'mercoledì', 'giovedì', 'venerdì', 'sabato' ],
7
+ weekdaysShort: [ 'dom', 'lun', 'mar', 'mer', 'gio', 'ven', 'sab' ],
8
+ today: 'Oggi',
9
+ clear: 'Cancellare',
10
+ close: 'Chiudi',
11
+ firstDay: 1,
12
+ format: 'dddd d mmmm yyyy',
13
+ formatSubmit: 'yyyy/mm/dd'
14
+ });
15
+
16
+ jQuery.extend( jQuery.fn.pickatime.defaults, {
17
+ clear: 'Cancellare'
18
+ });
lib/simple-admin-pages/lib/pickadate/translations/ja_JP.js CHANGED
@@ -1 +1,17 @@
1
- jQuery.extend(jQuery.fn.pickadate.defaults,{monthsFull:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],monthsShort:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],weekdaysFull:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"],weekdaysShort:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"],today:"今日",clear:"消去",firstDay:1,format:"yyyy mm dd",formatSubmit:"yyyy/mm/dd"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Japanese
2
+
3
+ jQuery.extend( jQuery.fn.pickadate.defaults, {
4
+ monthsFull: [ '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月' ],
5
+ monthsShort: [ '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月' ],
6
+ weekdaysFull: [ '日曜日', '月曜日', '火曜日', '水曜日', '木曜日', '金曜日', '土曜日' ],
7
+ weekdaysShort: [ '日曜日', '月曜日', '火曜日', '水曜日', '木曜日', '金曜日', '土曜日' ],
8
+ today: '今日',
9
+ clear: '消去',
10
+ firstDay: 1,
11
+ format: 'yyyy mm dd',
12
+ formatSubmit: 'yyyy/mm/dd'
13
+ });
14
+
15
+ jQuery.extend( jQuery.fn.pickatime.defaults, {
16
+ clear: '消去'
17
+ });
lib/simple-admin-pages/lib/pickadate/translations/ko_KR.js CHANGED
@@ -1 +1,17 @@
1
- jQuery.extend(jQuery.fn.pickadate.defaults,{monthsFull:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],monthsShort:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],weekdaysFull:["일요일","월요일","화요일","수요일","목요일","금요일","토요일"],weekdaysShort:["일","월","화","수","목","금","토"],today:"오늘",clear:"취소",firstDay:1,format:"yyyy 년 mm 월 dd 일",formatSubmit:"yyyy/mm/dd"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Korean
2
+
3
+ jQuery.extend( jQuery.fn.pickadate.defaults, {
4
+ monthsFull: [ '1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', '12월' ],
5
+ monthsShort: [ '1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', '12월' ],
6
+ weekdaysFull: [ '일요일', '월요일', '화요일', '수요일', '목요일', '금요일', '토요일' ],
7
+ weekdaysShort: [ '일', '월', '화', '수', '목', '금', '토' ],
8
+ today: '오늘',
9
+ clear: '취소',
10
+ firstDay: 1,
11
+ format: 'yyyy 년 mm 월 dd 일',
12
+ formatSubmit: 'yyyy/mm/dd'
13
+ });
14
+
15
+ jQuery.extend( jQuery.fn.pickatime.defaults, {
16
+ clear: '취소'
17
+ });
lib/simple-admin-pages/lib/pickadate/translations/ne_NP.js ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Nepali
2
+
3
+ jQuery.extend( jQuery.fn.pickadate.defaults, {
4
+ monthsFull: [ 'जनवरी', 'फेब्रुअरी', 'मार्च', 'अप्रिल', 'मे', 'जुन', 'जुलाई', 'अगस्त', 'सेप्टेम्बर', 'अक्टोबर', 'नोवेम्बर', 'डिसेम्बर' ],
5
+ monthsShort: [ 'जन', 'फेब्रु', 'मार्च', 'अप्रिल', 'मे', 'जुन', 'जुल', 'अग', 'सेप्टे', 'अक्टो', 'नोभे', 'डिसे' ],
6
+ weekdaysFull: [ 'सोमबार', 'मङ्लबार', 'बुधबार', 'बिहीबार', 'शुक्रबार', 'शनिबार', 'आईतबार' ],
7
+ weekdaysShort: [ 'सोम', 'मंगल्', 'बुध', 'बिही', 'शुक्र', 'शनि', 'आईत' ],
8
+ numbers: [ '०', '१', '२', '३', '४', '५', '६', '७', '८', '९' ],
9
+ today: 'आज',
10
+ clear: 'मेटाउनुहोस्',
11
+ format: 'dddd, dd mmmm, yyyy',
12
+ formatSubmit: 'yyyy/mm/dd'
13
+ });
14
+
15
+ jQuery.extend( jQuery.fn.pickatime.defaults, {
16
+ clear: 'मेटाउनुहोस्'
17
+ });
lib/simple-admin-pages/lib/pickadate/translations/nl_NL.js CHANGED
@@ -1 +1,17 @@
1
- jQuery.extend(jQuery.fn.pickadate.defaults,{monthsFull:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],monthsShort:["jan","feb","maa","apr","mei","jun","jul","aug","sep","okt","nov","dec"],weekdaysFull:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],weekdaysShort:["zo","ma","di","wo","do","vr","za"],today:"vandaag",clear:"verwijderen",firstDay:1,format:"dddd d mmmm yyyy",formatSubmit:"yyyy/mm/dd"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Dutch
2
+
3
+ jQuery.extend( jQuery.fn.pickadate.defaults, {
4
+ monthsFull: [ 'januari', 'februari', 'maart', 'april', 'mei', 'juni', 'juli', 'augustus', 'september', 'oktober', 'november', 'december' ],
5
+ monthsShort: [ 'jan', 'feb', 'maa', 'apr', 'mei', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'dec' ],
6
+ weekdaysFull: [ 'zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag' ],
7
+ weekdaysShort: [ 'zo', 'ma', 'di', 'wo', 'do', 'vr', 'za' ],
8
+ today: 'vandaag',
9
+ clear: 'verwijderen',
10
+ firstDay: 1,
11
+ format: 'dddd d mmmm yyyy',
12
+ formatSubmit: 'yyyy/mm/dd'
13
+ });
14
+
15
+ jQuery.extend( jQuery.fn.pickatime.defaults, {
16
+ clear: 'verwijderen'
17
+ });
lib/simple-admin-pages/lib/pickadate/translations/no_NO.js CHANGED
@@ -1 +1,17 @@
1
- jQuery.extend(jQuery.fn.pickadate.defaults,{monthsFull:["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"],monthsShort:["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des"],weekdaysFull:["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"],weekdaysShort:["søn","man","tir","ons","tor","fre","lør"],today:"i dag",clear:"nullstill",firstDay:1,format:"dd. mmm. yyyy",formatSubmit:"yyyy/mm/dd"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Norwegian
2
+
3
+ jQuery.extend( jQuery.fn.pickadate.defaults, {
4
+ monthsFull: [ 'januar', 'februar', 'mars', 'april', 'mai', 'juni', 'juli', 'august', 'september', 'oktober', 'november', 'desember' ],
5
+ monthsShort: [ 'jan', 'feb', 'mar', 'apr', 'mai', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'des' ],
6
+ weekdaysFull: [ 'søndag', 'mandag', 'tirsdag', 'onsdag', 'torsdag', 'fredag', 'lørdag' ],
7
+ weekdaysShort: [ 'søn','man','tir', 'ons', 'tor', 'fre', 'lør' ],
8
+ today: 'i dag',
9
+ clear: 'nullstill',
10
+ firstDay: 1,
11
+ format: 'dd. mmm. yyyy',
12
+ formatSubmit: 'yyyy/mm/dd'
13
+ });
14
+
15
+ jQuery.extend( jQuery.fn.pickatime.defaults, {
16
+ clear: 'nullstill'
17
+ });
lib/simple-admin-pages/lib/pickadate/translations/pl_PL.js CHANGED
@@ -1 +1,17 @@
1
- jQuery.extend(jQuery.fn.pickadate.defaults,{monthsFull:["styczeń","luty","marzec","kwiecień","maj","czerwiec","lipiec","sierpień","wrzesień","październik","listopad","grudzień"],monthsShort:["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru"],weekdaysFull:["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"],weekdaysShort:["N","Pn","Wt","Śr","Cz","Pt","So"],today:"dzisiaj",clear:"usunąć",firstDay:1,format:"d mmmm yyyy",formatSubmit:"yyyy/mm/dd"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Polish
2
+
3
+ jQuery.extend( jQuery.fn.pickadate.defaults, {
4
+ monthsFull: [ 'styczeń', 'luty', 'marzec', 'kwiecień', 'maj', 'czerwiec', 'lipiec', 'sierpień', 'wrzesień', 'październik', 'listopad', 'grudzień' ],
5
+ monthsShort: [ 'sty', 'lut', 'mar', 'kwi', 'maj', 'cze', 'lip', 'sie', 'wrz', 'paź', 'lis', 'gru' ],
6
+ weekdaysFull: [ 'niedziela', 'poniedziałek', 'wtorek', 'środa', 'czwartek', 'piątek', 'sobota' ],
7
+ weekdaysShort: [ 'N', 'Pn', 'Wt', 'Śr', 'Cz', 'Pt', 'So' ],
8
+ today: 'dzisiaj',
9
+ clear: 'usunąć',
10
+ firstDay: 1,
11
+ format: 'd mmmm yyyy',
12
+ formatSubmit: 'yyyy/mm/dd'
13
+ });
14
+
15
+ jQuery.extend( jQuery.fn.pickatime.defaults, {
16
+ clear: 'usunąć'
17
+ });
lib/simple-admin-pages/lib/pickadate/translations/pt_BR.js CHANGED
@@ -1 +1,16 @@
1
- jQuery.extend(jQuery.fn.pickadate.defaults,{monthsFull:["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"],monthsShort:["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez"],weekdaysFull:["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"],weekdaysShort:["dom","seg","ter","qua","qui","sex","sab"],today:"hoje",clear:"excluir",format:"dddd, d !de mmmm !de yyyy",formatSubmit:"yyyy/mm/dd"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Brazilian Portuguese
2
+
3
+ jQuery.extend( jQuery.fn.pickadate.defaults, {
4
+ monthsFull: [ 'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', 'outubro', 'novembro', 'dezembro' ],
5
+ monthsShort: [ 'jan', 'fev', 'mar', 'abr', 'mai', 'jun', 'jul', 'ago', 'set', 'out', 'nov', 'dez' ],
6
+ weekdaysFull: [ 'domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', 'sábado' ],
7
+ weekdaysShort: [ 'dom', 'seg', 'ter', 'qua', 'qui', 'sex', 'sab' ],
8
+ today: 'hoje',
9
+ clear: 'excluir',
10
+ format: 'dddd, d !de mmmm !de yyyy',
11
+ formatSubmit: 'yyyy/mm/dd'
12
+ });
13
+
14
+ jQuery.extend( jQuery.fn.pickatime.defaults, {
15
+ clear: 'excluir'
16
+ });
lib/simple-admin-pages/lib/pickadate/translations/pt_PT.js CHANGED
@@ -1 +1,16 @@
1
- jQuery.extend(jQuery.fn.pickadate.defaults,{monthsFull:["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"],monthsShort:["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez"],weekdaysFull:["domingo","segunda","terça","quarta","quinta","sexta","sábado"],weekdaysShort:["dom","seg","ter","qua","qui","sex","sab"],today:"hoje",clear:"excluir",format:"d !de mmmm !de yyyy",formatSubmit:"yyyy/mm/dd"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Portuguese
2
+
3
+ jQuery.extend( jQuery.fn.pickadate.defaults, {
4
+ monthsFull: [ 'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', 'outubro', 'novembro', 'dezembro' ],
5
+ monthsShort: [ 'jan', 'fev', 'mar', 'abr', 'mai', 'jun', 'jul', 'ago', 'set', 'out', 'nov', 'dez' ],
6
+ weekdaysFull: [ 'domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado' ],
7
+ weekdaysShort: [ 'dom', 'seg', 'ter', 'qua', 'qui', 'sex', 'sab' ],
8
+ today: 'hoje',
9
+ clear: 'excluir',
10
+ format: 'd !de mmmm !de yyyy',
11
+ formatSubmit: 'yyyy/mm/dd'
12
+ });
13
+
14
+ jQuery.extend( jQuery.fn.pickatime.defaults, {
15
+ clear: 'excluir'
16
+ });
lib/simple-admin-pages/lib/pickadate/translations/ro_RO.js CHANGED
@@ -1 +1,17 @@
1
- jQuery.extend(jQuery.fn.pickadate.defaults,{monthsFull:["ianuarie","februarie","martie","aprilie","mai","iunie","iulie","august","septembrie","octombrie","noiembrie","decembrie"],monthsShort:["ian","feb","mar","apr","mai","iun","iul","aug","sep","oct","noi","dec"],weekdaysFull:["duminică","luni","marţi","miercuri","joi","vineri","sâmbătă"],weekdaysShort:["D","L","Ma","Mi","J","V","S"],today:"azi",clear:"șterge",firstDay:1,format:"dd mmmm yyyy",formatSubmit:"yyyy/mm/dd"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Romanian
2
+
3
+ jQuery.extend( jQuery.fn.pickadate.defaults, {
4
+ monthsFull: [ 'ianuarie', 'februarie', 'martie', 'aprilie', 'mai', 'iunie', 'iulie', 'august', 'septembrie', 'octombrie', 'noiembrie', 'decembrie' ],
5
+ monthsShort: [ 'ian', 'feb', 'mar', 'apr', 'mai', 'iun', 'iul', 'aug', 'sep', 'oct', 'noi', 'dec' ],
6
+ weekdaysFull: [ 'duminică', 'luni', 'marţi', 'miercuri', 'joi', 'vineri', 'sâmbătă' ],
7
+ weekdaysShort: [ 'D', 'L', 'Ma', 'Mi', 'J', 'V', 'S' ],
8
+ today: 'azi',
9
+ clear: 'șterge',
10
+ firstDay: 1,
11
+ format: 'dd mmmm yyyy',
12
+ formatSubmit: 'yyyy/mm/dd'
13
+ });
14
+
15
+ jQuery.extend( jQuery.fn.pickatime.defaults, {
16
+ clear: 'șterge'
17
+ });
lib/simple-admin-pages/lib/pickadate/translations/ru_RU.js CHANGED
@@ -1 +1,18 @@
1
- jQuery.extend(jQuery.fn.pickadate.defaults,{monthsFull:["Января","Февраля","Марта","Апреля","Мая","Июня","Июля","Августа","Сентября","Октября","Ноября","Декабря"],monthsShort:["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек"],weekdaysFull:["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"],weekdaysShort:["вс","пн","вт","ср","чт","пт","сб"],today:"сегодня",clear:"удалить",firstDay:1,format:"d mmmm yyyy г.",formatSubmit:"yyyy/mm/dd"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Russian
2
+
3
+ jQuery.extend( jQuery.fn.pickadate.defaults, {
4
+ monthsFull: [ 'января', 'февраля', 'марта', 'апреля', 'мая', 'июня', 'июля', 'августа', 'сентября', 'октября', 'ноября', 'декабря' ],
5
+ monthsShort: [ 'янв', 'фев', 'мар', 'апр', 'май', 'июн', 'июл', 'авг', 'сен', 'окт', 'ноя', 'дек' ],
6
+ weekdaysFull: [ 'воскресенье', 'понедельник', 'вторник', 'среда', 'четверг', 'пятница', 'суббота' ],
7
+ weekdaysShort: [ 'вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб' ],
8
+ today: 'сегодня',
9
+ clear: 'удалить',
10
+ close: 'закрыть',
11
+ firstDay: 1,
12
+ format: 'd mmmm yyyy г.',
13
+ formatSubmit: 'yyyy/mm/dd'
14
+ });
15
+
16
+ jQuery.extend( jQuery.fn.pickatime.defaults, {
17
+ clear: 'удалить'
18
+ });
lib/simple-admin-pages/lib/pickadate/translations/sk_SK.js CHANGED
@@ -1 +1,18 @@
1
- jQuery.extend(jQuery.fn.pickadate.defaults,{monthsFull:["január","február","marec","apríl","máj","jún","júl","august","september","október","november","december"],monthsShort:["I","II","III","IV","V","VI","VII","VIII","IX","X","XI","XII"],weekdaysFull:["nedeļľa","pondelok","utorok","streda","š̌švrtok","piatok","sobota"],weekdaysShort:["Ne","Po","Ut","St","Št","Pi","So"],today:"dnes",clear:"vymazať",firstDay:1,format:"d. mmmm yyyy",formatSubmit:"yyyy/mm/dd"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Slovak
2
+
3
+ jQuery.extend( jQuery.fn.pickadate.defaults, {
4
+ monthsFull: [ 'január', 'február', 'marec', 'apríl', 'máj', 'jún', 'júl', 'august', 'september', 'október', 'november', 'december' ],
5
+ monthsShort: [ 'jan', 'feb', 'mar', 'apr', 'máj', 'jún', 'júl', 'aug', 'sep', 'okt', 'nov', 'dec' ],
6
+ weekdaysFull: [ 'nedeľa', 'pondelok', 'utorok', 'streda', 'štvrtok', 'piatok', 'sobota' ],
7
+ weekdaysShort: [ 'Ne', 'Po', 'Ut', 'St', 'Št', 'Pi', 'So' ],
8
+ today: 'dnes',
9
+ clear: 'vymazať',
10
+ close: 'zavrieť',
11
+ firstDay: 1,
12
+ format: 'd. mmmm yyyy',
13
+ formatSubmit: 'yyyy/mm/dd'
14
+ });
15
+
16
+ jQuery.extend( jQuery.fn.pickatime.defaults, {
17
+ clear: 'vymazať'
18
+ });
lib/simple-admin-pages/lib/pickadate/translations/sl_SI.js CHANGED
@@ -1 +1,17 @@
1
- jQuery.extend(jQuery.fn.pickadate.defaults,{monthsFull:["januar","februar","marec","april","maj","junij","julij","avgust","september","oktober","november","december"],monthsShort:["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec"],weekdaysFull:["nedelja","ponedeljek","torek","sreda","četrtek","petek","sobota"],weekdaysShort:["ned","pon","tor","sre","čet","pet","sob"],today:"danes",clear:"izbriši",firstDay:1,format:"d. mmmm yyyy",formatSubmit:"yyyy/mm/dd"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Slovenian
2
+
3
+ jQuery.extend( jQuery.fn.pickadate.defaults, {
4
+ monthsFull: [ 'januar', 'februar', 'marec', 'april', 'maj', 'junij', 'julij', 'avgust', 'september', 'oktober', 'november', 'december' ],
5
+ monthsShort: [ 'jan', 'feb', 'mar', 'apr', 'maj', 'jun', 'jul', 'avg', 'sep', 'okt', 'nov', 'dec' ],
6
+ weekdaysFull: [ 'nedelja', 'ponedeljek', 'torek', 'sreda', 'četrtek', 'petek', 'sobota' ],
7
+ weekdaysShort: [ 'ned', 'pon', 'tor', 'sre', 'čet', 'pet', 'sob' ],
8
+ today: 'danes',
9
+ clear: 'izbriši',
10
+ firstDay: 1,
11
+ format: 'd. mmmm yyyy',
12
+ formatSubmit: 'yyyy/mm/dd'
13
+ });
14
+
15
+ jQuery.extend( jQuery.fn.pickatime.defaults, {
16
+ clear: 'izbriši'
17
+ });
lib/simple-admin-pages/lib/pickadate/translations/sv_SE.js CHANGED
@@ -1 +1,17 @@
1
- jQuery.extend(jQuery.fn.pickadate.defaults,{monthsFull:["januari","februari","mars","april","maj","juni","juli","augusti","september","oktober","november","december"],monthsShort:["jan","feb","mar","apr","maj","jun","jul","aug","sep","okt","nov","dec"],weekdaysFull:["söndag","måndag","tisdag","onsdag","torsdag","fredag","lördag"],weekdaysShort:["sön","mån","tis","ons","tor","fre","lör"],today:"i dag",clear:"bort",firstDay:1,format:"d/m yyyy",formatSubmit:"yyyy/mm/dd"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Swedish
2
+
3
+ jQuery.extend( jQuery.fn.pickadate.defaults, {
4
+ monthsFull: [ 'januari', 'februari', 'mars', 'april', 'maj', 'juni', 'juli', 'augusti', 'september', 'oktober', 'november', 'december' ],
5
+ monthsShort: [ 'jan', 'feb', 'mar', 'apr', 'maj', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'dec' ],
6
+ weekdaysFull: [ 'söndag', 'måndag', 'tisdag', 'onsdag', 'torsdag', 'fredag', 'lördag' ],
7
+ weekdaysShort: [ 'sön', 'mån', 'tis', 'ons', 'tor', 'fre', 'lör' ],
8
+ today: 'i dag',
9
+ clear: 'bort',
10
+ firstDay: 1,
11
+ format: 'd/m yyyy',
12
+ formatSubmit: 'yyyy/mm/dd'
13
+ });
14
+
15
+ jQuery.extend( jQuery.fn.pickatime.defaults, {
16
+ clear: 'bort'
17
+ });
lib/simple-admin-pages/lib/pickadate/translations/th_TH.js CHANGED
@@ -1 +1,16 @@
1
- jQuery.extend(jQuery.fn.pickadate.defaults,{monthsFull:["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"],monthsShort:["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค."],weekdaysFull:["อาทติย","จันทร","องัคาร","พุธ","พฤหสั บดี","ศกุร","เสาร"],weekdaysShort:["อ.","จ.","อ.","พ.","พฤ.","ศ.","ส."],today:"วันนี้",clear:"ลบ",format:"d mmmm yyyy",formatSubmit:"yyyy/mm/dd"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Thai
2
+
3
+ jQuery.extend( jQuery.fn.pickadate.defaults, {
4
+ monthsFull: [ 'มกราคม', 'กุมภาพันธ์', 'มีนาคม', 'เมษายน', 'พฤษภาคม', 'มิถุนายน', 'กรกฎาคม', 'สิงหาคม', 'กันยายน', 'ตุลาคม', 'พฤศจิกายน', 'ธันวาคม' ],
5
+ monthsShort: [ 'ม.ค.', 'ก.พ.', 'มี.ค.', 'เม.ย.', 'พ.ค.', 'มิ.ย.', 'ก.ค.', 'ส.ค.', 'ก.ย.', 'ต.ค.', 'พ.ย.', 'ธ.ค.' ],
6
+ weekdaysFull: [ 'อาทติย', 'จันทร', 'องัคาร', 'พุธ', 'พฤหสั บดี', 'ศกุร', 'เสาร' ],
7
+ weekdaysShort: [ 'อ.', 'จ.', 'อ.', 'พ.', 'พฤ.', 'ศ.', 'ส.' ],
8
+ today: 'วันนี้',
9
+ clear: 'ลบ',
10
+ format: 'd mmmm yyyy',
11
+ formatSubmit: 'yyyy/mm/dd'
12
+ });
13
+
14
+ jQuery.extend( jQuery.fn.pickatime.defaults, {
15
+ clear: 'ลบ'
16
+ });
lib/simple-admin-pages/lib/pickadate/translations/tr_TR.js CHANGED
@@ -1 +1,17 @@
1
- jQuery.extend(jQuery.fn.pickadate.defaults,{monthsFull:["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"],monthsShort:["Oca","Şub","Mar","Nis","May","Haz","Tem","Ağu","Eyl","Eki","Kas","Ara"],weekdaysFull:["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"],weekdaysShort:["Pzr","Pzt","Sal","Çrş","Prş","Cum","Cmt"],today:"bugün",clear:"sil",firstDay:1,format:"dd mmmm yyyy dddd",formatSubmit:"yyyy/mm/dd"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Turkish
2
+
3
+ jQuery.extend( jQuery.fn.pickadate.defaults, {
4
+ monthsFull: [ 'Ocak', 'Şubat', 'Mart', 'Nisan', 'Mayıs', 'Haziran', 'Temmuz', 'Ağustos', 'Eylül', 'Ekim', 'Kasım', 'Aralık' ],
5
+ monthsShort: [ 'Oca', 'Şub', 'Mar', 'Nis', 'May', 'Haz', 'Tem', 'Ağu', 'Eyl', 'Eki', 'Kas', 'Ara' ],
6
+ weekdaysFull: [ 'Pazar', 'Pazartesi', 'Salı', 'Çarşamba', 'Perşembe', 'Cuma', 'Cumartesi' ],
7
+ weekdaysShort: [ 'Pzr', 'Pzt', 'Sal', 'Çrş', 'Prş', 'Cum', 'Cmt' ],
8
+ today: 'bugün',
9
+ clear: 'sil',
10
+ firstDay: 1,
11
+ format: 'dd mmmm yyyy dddd',
12
+ formatSubmit: 'yyyy/mm/dd'
13
+ });
14
+
15
+ jQuery.extend( jQuery.fn.pickatime.defaults, {
16
+ clear: 'sil'
17
+ });
lib/simple-admin-pages/lib/pickadate/translations/uk_UA.js CHANGED
@@ -1 +1,17 @@
1
- jQuery.extend(jQuery.fn.pickadate.defaults,{monthsFull:["січень","лютий","березень","квітень","травень","червень","липень","серпень","вересень","жовтень","листопад","грудень"],monthsShort:["січ","лют","бер","кві","тра","чер","лип","сер","вер","жов","лис","гру"],weekdaysFull:["неділя","понеділок","вівторок","середа","четвер","п‘ятниця","субота"],weekdaysShort:["нд","пн","вт","ср","чт","пт","сб"],today:"сьогодні",clear:"викреслити",firstDay:1,format:"dd mmmm yyyy p.",formatSubmit:"yyyy/mm/dd"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Ukrainian
2
+
3
+ jQuery.extend( jQuery.fn.pickadate.defaults, {
4
+ monthsFull: [ 'січень', 'лютий', 'березень', 'квітень', 'травень', 'червень', 'липень', 'серпень', 'вересень', 'жовтень', 'листопад', 'грудень' ],
5
+ monthsShort: [ 'січ', 'лют', 'бер', 'кві', 'тра', 'чер', 'лип', 'сер', 'вер', 'жов', 'лис', 'гру' ],
6
+ weekdaysFull: [ 'неділя', 'понеділок', 'вівторок', 'середа', 'четвер', 'п‘ятниця', 'субота' ],
7
+ weekdaysShort: [ 'нд', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб' ],
8
+ today: 'сьогодні',
9
+ clear: 'викреслити',
10
+ firstDay: 1,
11
+ format: 'dd mmmm yyyy p.',
12
+ formatSubmit: 'yyyy/mm/dd'
13
+ });
14
+
15
+ jQuery.extend( jQuery.fn.pickatime.defaults, {
16
+ clear: 'викреслити'
17
+ });
lib/simple-admin-pages/lib/pickadate/translations/vi_VN.js ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Vietnamese
2
+
3
+ jQuery.extend( jQuery.fn.pickadate.defaults, {
4
+ monthsFull: [ 'Tháng Một', 'Tháng Hai', 'Tháng Ba', 'Tháng Tư', 'Tháng Năm', 'Tháng Sáu', 'Tháng Bảy', 'Tháng Tám', 'Tháng Chín', 'Tháng Mười', 'Tháng Mười Một', 'Tháng Mười Hai' ],
5
+ monthsShort: [ 'Một', 'Hai', 'Ba', 'Tư', 'Năm', 'Sáu', 'Bảy', 'Tám', 'Chín', 'Mưới', 'Mười Một', 'Mười Hai' ],
6
+ weekdaysFull: [ 'Chủ Nhật', 'Thứ Hai', 'Thứ Ba', 'Thứ Tư', 'Thứ Năm', 'Thứ Sáu', 'Thứ Bảy' ],
7
+ weekdaysShort: [ 'C.Nhật', 'T.Hai', 'T.Ba', 'T.Tư', 'T.Năm', 'T.Sáu', 'T.Bảy' ],
8
+ today: 'Hôm Nay',
9
+ clear: 'Xoá',
10
+ firstDay: 1
11
+ });
12
+
13
+ jQuery.extend( jQuery.fn.pickatime.defaults, {
14
+ clear: 'Xoá'
15
+ });
lib/simple-admin-pages/lib/pickadate/translations/zh_CN.js CHANGED
@@ -1 +1,17 @@
1
- jQuery.extend(jQuery.fn.pickadate.defaults,{monthsFull:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthsShort:["一","二","三","四","五","六","七","八","九","十","十一","十二"],weekdaysFull:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],weekdaysShort:["日","一","二","三","四","五","六"],today:"今日",clear:"删",firstDay:1,format:"yyyy mm 月 dd 日",formatSubmit:"yyyy/mm/dd"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Simplified Chinese
2
+
3
+ jQuery.extend( jQuery.fn.pickadate.defaults, {
4
+ monthsFull: [ '一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月' ],
5
+ monthsShort: [ '一', '二', '三', '四', '五', '六', '七', '八', '九', '十', '十一', '十二' ],
6
+ weekdaysFull: [ '星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六' ],
7
+ weekdaysShort: [ '日', '一', '二', '三', '四', '五', '六' ],
8
+ today: '今日',
9
+ clear: '删',
10
+ firstDay: 1,
11
+ format: 'yyyy 年 mm 月 dd 日',
12
+ formatSubmit: 'yyyy/mm/dd'
13
+ });
14
+
15
+ jQuery.extend( jQuery.fn.pickatime.defaults, {
16
+ clear: '删'
17
+ });
lib/simple-admin-pages/lib/pickadate/translations/zh_TW.js CHANGED
@@ -1 +1,17 @@
1
- jQuery.extend(jQuery.fn.pickadate.defaults,{monthsFull:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthsShort:["一","二","三","四","五","六","七","八","九","十","十一","十二"],weekdaysFull:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],weekdaysShort:["日","一","二","三","四","五","六"],today:"今天",clear:"清除",firstDay:1,format:"yyyy mm 月 dd 日",formatSubmit:"yyyy/mm/dd"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Traditional Chinese
2
+
3
+ jQuery.extend( jQuery.fn.pickadate.defaults, {
4
+ monthsFull: [ '一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月' ],
5
+ monthsShort: [ '一', '二', '三', '四', '五', '六', '七', '八', '九', '十', '十一', '十二' ],
6
+ weekdaysFull: [ '星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六' ],
7
+ weekdaysShort: [ '日', '一', '二', '三', '四', '五', '六' ],
8
+ today: '今天',
9
+ clear: '清除',
10
+ firstDay: 1,
11
+ format: 'yyyy 年 mm 月 dd 日',
12
+ formatSubmit: 'yyyy/mm/dd'
13
+ });
14
+
15
+ jQuery.extend( jQuery.fn.pickatime.defaults, {
16
+ clear: '清除'
17
+ });
readme.txt CHANGED
@@ -3,9 +3,9 @@ Contributors: NateWr
3
  Author URI: https://github.com/NateWr
4
  Plugin URL: http://themeofthecrop.com
5
  Requires at Least: 3.8
6
- Tested Up To: 4.0
7
  Tags: restaurant, reservations, bookings, table bookings, restaurant reservation, table reservation
8
- Stable tag: 1.2.2
9
  License: GPLv2 or later
10
  Donate link: http://themeofthecrop.com
11
 
@@ -32,7 +32,7 @@ This plugin is part of a group of plugins for restaurants. Check out the [Food a
32
  There is a short guide to using the plugin in the /docs/ folder. It can be accessed by following the Help link listed under the plugin on the Plugins page in your WordPress admin area. Not sure where that is? One of the [screenshots](http://wordpress.org/plugins/restaurant-reservations/screenshots/) for this plugin will show you where to find it.
33
 
34
  = Addons =
35
- [MailChimp for Restaurant Reservations](http://themeofthecrop.com/2014/08/18/mailchimp-restaurant-reservations-ready-beta/?utm_source=Plugin&utm_medium=Plugin%20Description&utm_campaign=Restaurant%20Reservations) - Subscribe emails from new restaurant reservations to your MailChimp mailing list.
36
 
37
  = Developers =
38
 
@@ -45,6 +45,38 @@ This plugin is packed with hooks so you can extend it, customize it and rebrand
45
  3. Activate the plugin through the 'Plugins' menu in WordPress
46
  4. Go to Bookings > Settings to set up the page to display your booking form.
47
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48
  == Screenshots ==
49
 
50
  1. Easily manage bookings. View today's bookings or upcoming bookings at-a-glance. Confirm or reject bookings quickly.
@@ -59,6 +91,15 @@ This plugin is packed with hooks so you can extend it, customize it and rebrand
59
 
60
  == Changelog ==
61
 
 
 
 
 
 
 
 
 
 
62
  = 1.2.2 (2014-08-24) =
63
  * Fix: custom date formats can break date validation for new bookings
64
  * Add new booking form generation hooks for easier customization
@@ -109,6 +150,9 @@ This plugin is packed with hooks so you can extend it, customize it and rebrand
109
 
110
  == Upgrade Notice ==
111
 
 
 
 
112
  = 1.2.2 =
113
  This update adds support for a new MailChimp addon that will be released soon. An addons page is now available under the Bookings menu. A bug in which custom date/time formats could cause validation errors has been fixed. New hooks are now in place so that it's easier to customize the form output.
114
 
3
  Author URI: https://github.com/NateWr
4
  Plugin URL: http://themeofthecrop.com
5
  Requires at Least: 3.8
6
+ Tested Up To: 4.1
7
  Tags: restaurant, reservations, bookings, table bookings, restaurant reservation, table reservation
8
+ Stable tag: 1.2.3
9
  License: GPLv2 or later
10
  Donate link: http://themeofthecrop.com
11
 
32
  There is a short guide to using the plugin in the /docs/ folder. It can be accessed by following the Help link listed under the plugin on the Plugins page in your WordPress admin area. Not sure where that is? One of the [screenshots](http://wordpress.org/plugins/restaurant-reservations/screenshots/) for this plugin will show you where to find it.
33
 
34
  = Addons =
35
+ [MailChimp for Restaurant Reservations](http://themeofthecrop.com/plugin/mailchimp-restaurant-reservations/?utm_source=Plugin&utm_medium=Plugin%20Description&utm_campaign=Restaurant%20Reservations) - Subscribe emails from new restaurant reservations to your MailChimp mailing list.
36
 
37
  = Developers =
38
 
45
  3. Activate the plugin through the 'Plugins' menu in WordPress
46
  4. Go to Bookings > Settings to set up the page to display your booking form.
47
 
48
+ == Frequently Asked Questions ==
49
+
50
+ = Is there a shortcode to print the booking form? =
51
+
52
+ Yes, use the `[booking-form]` shortcode.
53
+
54
+ = Can I change the format of the date or time? =
55
+
56
+ Yes, set the format for the datepicker in *Bookings > Settings*. The format used in the backend will depend on the date and time formats in your WordPress settings.
57
+
58
+ = The datepicker or timepicker is not working. =
59
+
60
+ If you load up the form and no date or time picker is popping up when you select those fields, this is likely caused by a Javascript error from another plugin or theme. You can find the problematic plugin by deactivating other plugins you're using one-by-one. Test after each deactivation to see if the date and time pickers work.
61
+
62
+ If you have deactivated all other plugins and still have a problem, try switching to a default theme (one of the TwentySomething themes).
63
+
64
+ = I'm not receiving notification emails for new bookings. =
65
+
66
+ This is almost always the result of issues with your server and can be caused by a number of things. Before posting a support request, please run through the following checklist:
67
+
68
+ 1. Double-check that the notification email in *Bookings > Settings > Notifications* is correct.
69
+ 2. Make sure that WordPress is able to send emails. The admin email address in the WordPress settings page should receive notifications of new users.
70
+ 3. If you're not able to receive regular WordPress emails, contact your web host and ask them for help sorting it out.
71
+ 4. If you're able to receive regular WordPress emails but not booking notifications, check your spam filters or junk mail folders.
72
+ 5. If you still haven't found the emails, contact your web host and let them know the date, time and email address where you expected to receive a booking. They should be able to check their logs to see what is happening to the email.
73
+
74
+ = Can I translate the booking form? =
75
+
76
+ Yes, everything in this plugin can be translated using the standard translation process and software like PoEdit. If you're not familiar with that process, I'd recommend you take a look at the [Loco Translate](https://wordpress.org/plugins/loco-translate/) plugin, which provides a simple interface in your WordPress admin area for translating themes and plugins.
77
+
78
+ If you make a translation, please help others out by adding it to the [GitHub repository](https://github.com/NateWr/restaurant-reservations) so that I can distribute it for others.
79
+
80
  == Screenshots ==
81
 
82
  1. Easily manage bookings. View today's bookings or upcoming bookings at-a-glance. Confirm or reject bookings quickly.
91
 
92
  == Changelog ==
93
 
94
+ = 1.2.3 (2014-11-04) =
95
+ * Add a {user_email} notification template tag
96
+ * Add filter to notification template tag descriptions for extensions
97
+ * Add Reply-To mail headers and use a more reliable From header
98
+ * Add filter to the datepicker rules for disabled dates
99
+ * Fix: missing "Clear" button translation in time picker for many languages
100
+ * Fix: open time picker in body container to mitigate rare positioning bugs
101
+ * Fix: don't auto-select today's date if it's not a valid date or errors are attached to the date field
102
+
103
  = 1.2.2 (2014-08-24) =
104
  * Fix: custom date formats can break date validation for new bookings
105
  * Add new booking form generation hooks for easier customization
150
 
151
  == Upgrade Notice ==
152
 
153
+ = 1.2.3 =
154
+ This update adds a {user_email} notification template tag and improves the mail headers on notifications to mitigate spam risk. It also adds the missing translation for the Clear button in the time picker for many languages. More minor bug fixes listed in the changelog.
155
+
156
  = 1.2.2 =
157
  This update adds support for a new MailChimp addon that will be released soon. An addons page is now available under the Bookings menu. A bug in which custom date/time formats could cause validation errors has been fixed. New hooks are now in place so that it's easier to customize the form output.
158
 
restaurant-reservations.php CHANGED
@@ -3,13 +3,13 @@
3
  * Plugin Name: Restaurant Reservations
4
  * Plugin URI: http://themeofthecrop.com
5
  * Description: Accept restaurant reservations and bookings online.
6
- * Version: 1.2.2
7
  * Author: Theme of the Crop
8
  * Author URI: http://themeofthecrop.com
9
  * License: GNU General Public License v2.0 or later
10
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
  * Requires at least: 3.8
12
- * Tested up to: 3.9.1
13
  *
14
  * Text Domain: rtbdomain
15
  * Domain Path: /languages/
3
  * Plugin Name: Restaurant Reservations
4
  * Plugin URI: http://themeofthecrop.com
5
  * Description: Accept restaurant reservations and bookings online.
6
+ * Version: 1.2.3
7
  * Author: Theme of the Crop
8
  * Author URI: http://themeofthecrop.com
9
  * License: GNU General Public License v2.0 or later
10
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
  * Requires at least: 3.8
12
+ * Tested up to: 4.1
13
  *
14
  * Text Domain: rtbdomain
15
  * Domain Path: /languages/