Restaurant Reservations - Version 1.4.8

Version Description

This update fixes a bug that prevented bookings managers from editing bookings within the early/late schedule restrictions. It also fixed a bug with late opening times, added a WPML config file for better multi-lingual compatibility, updated translations, and improved the mobile view of the bookings list.

Download this release

Release Info

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

Code changes from version 1.4.7 to 1.4.8

Files changed (80) hide show
  1. assets/css/admin.css +8 -3
  2. assets/js/booking-form.js +21 -2
  3. includes/Addons.class.php +1 -1
  4. includes/AdminBookings.class.php +3 -3
  5. includes/Booking.class.php +37 -33
  6. includes/Settings.class.php +1 -1
  7. includes/WP_List_Table.BookingsTable.class.php +1 -1
  8. includes/template-functions.php +2 -2
  9. languages/restaurant-reservations-nl_NL.mo +0 -0
  10. languages/restaurant-reservations-nl_NL.po +13 -13
  11. lib/simple-admin-pages/README.md +9 -4
  12. lib/simple-admin-pages/classes/AdminPage.Menu.class.php +1 -1
  13. lib/simple-admin-pages/classes/AdminPage.Submenu.class.php +1 -1
  14. lib/simple-admin-pages/classes/AdminPage.Themes.class.php +1 -1
  15. lib/simple-admin-pages/classes/AdminPage.class.php +19 -2
  16. lib/simple-admin-pages/classes/AdminPageSection.class.php +36 -1
  17. lib/simple-admin-pages/classes/AdminPageSetting.Address.class.php +1 -1
  18. lib/simple-admin-pages/classes/AdminPageSetting.Editor.class.php +1 -1
  19. lib/simple-admin-pages/classes/AdminPageSetting.HTML.class.php +1 -1
  20. lib/simple-admin-pages/classes/AdminPageSetting.OpeningHours.class.php +1 -1
  21. lib/simple-admin-pages/classes/AdminPageSetting.Scheduler.class.php +21 -9
  22. lib/simple-admin-pages/classes/AdminPageSetting.Select.class.php +1 -1
  23. lib/simple-admin-pages/classes/AdminPageSetting.SelectPost.class.php +1 -1
  24. lib/simple-admin-pages/classes/AdminPageSetting.SelectTaxonomy.class.php +1 -1
  25. lib/simple-admin-pages/classes/AdminPageSetting.Text.class.php +1 -1
  26. lib/simple-admin-pages/classes/AdminPageSetting.Textarea.class.php +1 -1
  27. lib/simple-admin-pages/classes/AdminPageSetting.Toggle.class.php +1 -1
  28. lib/simple-admin-pages/classes/AdminPageSetting.class.php +29 -2
  29. lib/simple-admin-pages/classes/Library.class.php +4 -4
  30. lib/simple-admin-pages/css/admin.css +3 -0
  31. lib/simple-admin-pages/js/address.js +14 -6
  32. lib/simple-admin-pages/js/scheduler.js +32 -1
  33. lib/simple-admin-pages/lib/pickadate/themes/default.css +2 -2
  34. lib/simple-admin-pages/lib/pickadate/translations/ar.js +1 -16
  35. lib/simple-admin-pages/lib/pickadate/translations/bg_BG.js +1 -17
  36. lib/simple-admin-pages/lib/pickadate/translations/bs_BA.js +1 -17
  37. lib/simple-admin-pages/lib/pickadate/translations/ca_ES.js +1 -18
  38. lib/simple-admin-pages/lib/pickadate/translations/cs_CZ.js +1 -17
  39. lib/simple-admin-pages/lib/pickadate/translations/da_DK.js +1 -18
  40. lib/simple-admin-pages/lib/pickadate/translations/de_DE.js +1 -18
  41. lib/simple-admin-pages/lib/pickadate/translations/el_GR.js +1 -17
  42. lib/simple-admin-pages/lib/pickadate/translations/es_ES.js +1 -18
  43. lib/simple-admin-pages/lib/pickadate/translations/et_EE.js +1 -17
  44. lib/simple-admin-pages/lib/pickadate/translations/eu_ES.js +1 -17
  45. lib/simple-admin-pages/lib/pickadate/translations/fa_IR.js +1 -19
  46. lib/simple-admin-pages/lib/pickadate/translations/fi_FI.js +1 -17
  47. lib/simple-admin-pages/lib/pickadate/translations/fr_FR.js +1 -22
  48. lib/simple-admin-pages/lib/pickadate/translations/gl_ES.js +1 -17
  49. lib/simple-admin-pages/lib/pickadate/translations/he_IL.js +1 -16
  50. lib/simple-admin-pages/lib/pickadate/translations/hi_IN.js +1 -20
  51. lib/simple-admin-pages/lib/pickadate/translations/hr_HR.js +1 -17
  52. lib/simple-admin-pages/lib/pickadate/translations/hu_HU.js +1 -17
  53. lib/simple-admin-pages/lib/pickadate/translations/id_ID.js +1 -17
  54. lib/simple-admin-pages/lib/pickadate/translations/is_IS.js +1 -17
  55. lib/simple-admin-pages/lib/pickadate/translations/it_IT.js +1 -24
  56. lib/simple-admin-pages/lib/pickadate/translations/ja_JP.js +1 -17
  57. lib/simple-admin-pages/lib/pickadate/translations/ko_KR.js +1 -17
  58. lib/simple-admin-pages/lib/pickadate/translations/lt_LT.js +1 -24
  59. lib/simple-admin-pages/lib/pickadate/translations/lv_LV.js +1 -13
  60. lib/simple-admin-pages/lib/pickadate/translations/nb_NO.js +1 -18
  61. lib/simple-admin-pages/lib/pickadate/translations/ne_NP.js +1 -17
  62. lib/simple-admin-pages/lib/pickadate/translations/nl_NL.js +1 -18
  63. lib/simple-admin-pages/lib/pickadate/translations/no_NO.js +1 -18
  64. lib/simple-admin-pages/lib/pickadate/translations/pl_PL.js +1 -18
  65. lib/simple-admin-pages/lib/pickadate/translations/pt_BR.js +1 -17
  66. lib/simple-admin-pages/lib/pickadate/translations/pt_PT.js +1 -17
  67. lib/simple-admin-pages/lib/pickadate/translations/ro_RO.js +1 -17
  68. lib/simple-admin-pages/lib/pickadate/translations/ru_RU.js +1 -18
  69. lib/simple-admin-pages/lib/pickadate/translations/sk_SK.js +1 -18
  70. lib/simple-admin-pages/lib/pickadate/translations/sl_SI.js +1 -18
  71. lib/simple-admin-pages/lib/pickadate/translations/sv_SE.js +1 -22
  72. lib/simple-admin-pages/lib/pickadate/translations/th_TH.js +1 -16
  73. lib/simple-admin-pages/lib/pickadate/translations/tr_TR.js +1 -18
  74. lib/simple-admin-pages/lib/pickadate/translations/uk_UA.js +1 -17
  75. lib/simple-admin-pages/lib/pickadate/translations/vi_VN.js +1 -15
  76. lib/simple-admin-pages/lib/pickadate/translations/zh_CN.js +1 -18
  77. lib/simple-admin-pages/lib/pickadate/translations/zh_TW.js +1 -18
  78. readme.txt +14 -2
  79. restaurant-reservations.php +1 -1
  80. wpml-config.xml +20 -0
assets/css/admin.css CHANGED
@@ -146,13 +146,18 @@
146
 
147
  @media screen and (max-width: 782px) {
148
 
 
149
  #rtb-bookings-table .fixed .column-date {
150
  display: table-cell;
151
  }
152
 
153
- #rtb-bookings-table th#party,
154
- #rtb-bookings-table th#message {
155
- width: auto;
 
 
 
 
156
  }
157
  }
158
 
146
 
147
  @media screen and (max-width: 782px) {
148
 
149
+ /* Prevent date column from being hidden in WP versions < 4.3 */
150
  #rtb-bookings-table .fixed .column-date {
151
  display: table-cell;
152
  }
153
 
154
+ /* Always display message data in mobile views */
155
+ #rtb-bookings-table .column-message .rtb-message-data {
156
+ display: block;
157
+ }
158
+
159
+ #rtb-bookings-table .column-message .rtb-show-message {
160
+ display: none;
161
  }
162
  }
163
 
assets/js/booking-form.js CHANGED
@@ -248,7 +248,7 @@ jQuery(document).ready(function ($) {
248
 
249
  if ( typeof rtb_pickadate.schedule_open[open_key].time.end !== 'undefined' ) {
250
  rule_end_date = new Date( '1 January 2000 ' + rtb_pickadate.schedule_open[open_key].time.end );
251
- rule_end_time = [ rule_end_date.getHours(), rule_end_date.getMinutes() ];
252
  } else {
253
  rule_end_time = [ 24, 0 ]; // End of the day
254
  }
@@ -282,7 +282,7 @@ jQuery(document).ready(function ($) {
282
  * Get the outer times to exclude based on the time interval
283
  *
284
  * This is a work-around for a bug in pickadate.js
285
- * https://github.com/amsul/pickadate.js/issues/614
286
  */
287
  rtb_booking_form.get_outer_time_range = function() {
288
 
@@ -303,5 +303,24 @@ jQuery(document).ready(function ($) {
303
  return { from: [0, 0], to: [ hour, interval ] };
304
  };
305
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
306
  rtb_booking_form.init();
307
  });
248
 
249
  if ( typeof rtb_pickadate.schedule_open[open_key].time.end !== 'undefined' ) {
250
  rule_end_date = new Date( '1 January 2000 ' + rtb_pickadate.schedule_open[open_key].time.end );
251
+ rule_end_time = rtb_booking_form.get_latest_viable_time( rule_end_date.getHours(), rule_end_date.getMinutes() );
252
  } else {
253
  rule_end_time = [ 24, 0 ]; // End of the day
254
  }
282
  * Get the outer times to exclude based on the time interval
283
  *
284
  * This is a work-around for a bug in pickadate.js
285
+ * See: https://github.com/amsul/pickadate.js/issues/614
286
  */
287
  rtb_booking_form.get_outer_time_range = function() {
288
 
303
  return { from: [0, 0], to: [ hour, interval ] };
304
  };
305
 
306
+ /**
307
+ * Get the latest working opening hour/minute value
308
+ *
309
+ * This is a workaround for a bug in pickadate.js. The end time of a valid
310
+ * time value must NOT fall within the last timepicker interval and midnight
311
+ * See: https://github.com/amsul/pickadate.js/issues/614
312
+ */
313
+ rtb_booking_form.get_latest_viable_time = function( hour, minute ) {
314
+
315
+ var outer_time_range = this.get_outer_time_range();
316
+
317
+ if ( hour > outer_time_range.to[0] || minute > outer_time_range.to[1] ) {
318
+ return outer_time_range.to;
319
+ } else {
320
+ return [ hour, minute ];
321
+ }
322
+ };
323
+
324
+
325
  rtb_booking_form.init();
326
  });
includes/Addons.class.php CHANGED
@@ -132,7 +132,7 @@ class rtbAddons {
132
  ?>
133
 
134
  <div class="wrap">
135
- <h2><?php _e( 'Addons for Restaurant Reservations', 'restaurant-reservations' ); ?></h2>
136
  <?php do_action( 'rtb_addons_pre' ); ?>
137
  <div id="rtb-addons">
138
  <div class="rtb-loading">
132
  ?>
133
 
134
  <div class="wrap">
135
+ <h1><?php _e( 'Addons for Restaurant Reservations', 'restaurant-reservations' ); ?></h1>
136
  <?php do_action( 'rtb_addons_pre' ); ?>
137
  <div id="rtb-addons">
138
  <div class="rtb-loading">
includes/AdminBookings.class.php CHANGED
@@ -63,10 +63,10 @@ class rtbAdminBookings {
63
  ?>
64
 
65
  <div class="wrap">
66
- <h2>
67
  <?php _e( 'Restaurant Bookings', 'restaurant-reservations' ); ?>
68
- <a href="#" class="add-new-h2 add-booking"><?php _e( 'Add New', 'restaurant-reservations' ); ?></a>
69
- </h2>
70
 
71
  <?php do_action( 'rtb_bookings_table_top' ); ?>
72
  <form id="rtb-bookings-table" method="POST" action="">
63
  ?>
64
 
65
  <div class="wrap">
66
+ <h1>
67
  <?php _e( 'Restaurant Bookings', 'restaurant-reservations' ); ?>
68
+ <a href="#" class="add-new-h2 page-title-action add-booking"><?php _e( 'Add New', 'restaurant-reservations' ); ?></a>
69
+ </h1>
70
 
71
  <?php do_action( 'rtb_bookings_table_top' ); ?>
72
  <form id="rtb-bookings-table" method="POST" action="">
includes/Booking.class.php CHANGED
@@ -218,43 +218,47 @@ class rtbBooking {
218
 
219
  $request = new DateTime( $date->format( 'Y-m-d' ) . ' ' . $time->format( 'H:i:s' ) );
220
 
221
- $early_bookings = $rtb_controller->settings->get_setting( 'early-bookings' );
222
- if ( !empty( $early_bookings ) ) {
223
- $early_bookings_seconds = $early_bookings * 24 * 60 * 60; // Advanced bookings allowance in seconds
224
- if ( $request->format( 'U' ) > ( current_time( 'timestamp' ) + $early_bookings_seconds ) ) {
225
- $this->validation_errors[] = array(
226
- 'field' => 'time',
227
- 'error_msg' => 'Booking request too far in the future',
228
- 'message' => sprintf( __( 'Sorry, bookings can not be made more than %s days in advance.', 'restaurant-reservations' ), $early_bookings ),
229
- );
 
 
 
 
230
  }
231
- }
232
 
233
- $late_bookings = $rtb_controller->settings->get_setting( 'late-bookings' );
234
- if ( empty( $late_bookings ) ) {
235
- if ( $request->format( 'U' ) < current_time( 'timestamp' ) ) {
236
- $this->validation_errors[] = array(
237
- 'field' => 'time',
238
- 'error_msg' => 'Booking request in the past',
239
- 'message' => __( 'Sorry, bookings can not be made in the past.', 'restaurant-reservations' ),
240
- );
241
- }
242
 
243
- } else {
244
- $late_bookings_seconds = $late_bookings * 60; // Late bookings allowance in seconds
245
- if ( $request->format( 'U' ) < ( current_time( 'timestamp' ) + $late_bookings_seconds ) ) {
246
- if ( $late_bookings >= 1440 ) {
247
- $late_bookings_message = sprintf( __( 'Sorry, bookings must be made more than %s days in advance.', 'restaurant-reservations' ), $late_bookings / 1440 );
248
- } elseif ( $late_bookings >= 60 ) {
249
- $late_bookings_message = sprintf( __( 'Sorry, bookings must be made more than %s hours in advance.', 'restaurant-reservations' ), $late_bookings / 60 );
250
- } else {
251
- $late_bookings_message = sprintf( __( 'Sorry, bookings must be made more than %s minutes in advance.', 'restaurant-reservations' ), $late_bookings );
 
 
 
 
 
 
252
  }
253
- $this->validation_errors[] = array(
254
- 'field' => 'time',
255
- 'error_msg' => 'Booking request made too close to the reserved time',
256
- 'message' => $late_bookings_message,
257
- );
258
  }
259
  }
260
 
218
 
219
  $request = new DateTime( $date->format( 'Y-m-d' ) . ' ' . $time->format( 'H:i:s' ) );
220
 
221
+ // Exempt Bookings Managers from the early and late bookings restrictions
222
+ if ( !current_user_can( 'manage_bookings' ) ) {
223
+
224
+ $early_bookings = $rtb_controller->settings->get_setting( 'early-bookings' );
225
+ if ( !empty( $early_bookings ) ) {
226
+ $early_bookings_seconds = $early_bookings * 24 * 60 * 60; // Advanced bookings allowance in seconds
227
+ if ( $request->format( 'U' ) > ( current_time( 'timestamp' ) + $early_bookings_seconds ) ) {
228
+ $this->validation_errors[] = array(
229
+ 'field' => 'time',
230
+ 'error_msg' => 'Booking request too far in the future',
231
+ 'message' => sprintf( __( 'Sorry, bookings can not be made more than %s days in advance.', 'restaurant-reservations' ), $early_bookings ),
232
+ );
233
+ }
234
  }
 
235
 
236
+ $late_bookings = $rtb_controller->settings->get_setting( 'late-bookings' );
237
+ if ( empty( $late_bookings ) ) {
238
+ if ( $request->format( 'U' ) < current_time( 'timestamp' ) ) {
239
+ $this->validation_errors[] = array(
240
+ 'field' => 'time',
241
+ 'error_msg' => 'Booking request in the past',
242
+ 'message' => __( 'Sorry, bookings can not be made in the past.', 'restaurant-reservations' ),
243
+ );
244
+ }
245
 
246
+ } else {
247
+ $late_bookings_seconds = $late_bookings * 60; // Late bookings allowance in seconds
248
+ if ( $request->format( 'U' ) < ( current_time( 'timestamp' ) + $late_bookings_seconds ) ) {
249
+ if ( $late_bookings >= 1440 ) {
250
+ $late_bookings_message = sprintf( __( 'Sorry, bookings must be made more than %s days in advance.', 'restaurant-reservations' ), $late_bookings / 1440 );
251
+ } elseif ( $late_bookings >= 60 ) {
252
+ $late_bookings_message = sprintf( __( 'Sorry, bookings must be made more than %s hours in advance.', 'restaurant-reservations' ), $late_bookings / 60 );
253
+ } else {
254
+ $late_bookings_message = sprintf( __( 'Sorry, bookings must be made more than %s minutes in advance.', 'restaurant-reservations' ), $late_bookings );
255
+ }
256
+ $this->validation_errors[] = array(
257
+ 'field' => 'time',
258
+ 'error_msg' => 'Booking request made too close to the reserved time',
259
+ 'message' => $late_bookings_message,
260
+ );
261
  }
 
 
 
 
 
262
  }
263
  }
264
 
includes/Settings.class.php CHANGED
@@ -218,7 +218,7 @@ Sorry, we could not accomodate your booking request. We\'re full or not open at
218
  require_once( RTB_PLUGIN_DIR . '/lib/simple-admin-pages/simple-admin-pages.php' );
219
  $sap = sap_initialize_library(
220
  $args = array(
221
- 'version' => '2.0.a.8',
222
  'lib_url' => RTB_PLUGIN_URL . '/lib/simple-admin-pages/',
223
  )
224
  );
218
  require_once( RTB_PLUGIN_DIR . '/lib/simple-admin-pages/simple-admin-pages.php' );
219
  $sap = sap_initialize_library(
220
  $args = array(
221
+ 'version' => '2.0.a.10',
222
  'lib_url' => RTB_PLUGIN_URL . '/lib/simple-admin-pages/',
223
  )
224
  );
includes/WP_List_Table.BookingsTable.class.php CHANGED
@@ -372,7 +372,7 @@ class rtbBookingsTable extends WP_List_Table {
372
  case 'message' :
373
  $value = '';
374
  if ( trim( $booking->message ) ) {
375
- $value = '<a href="#" data-id="message-' . esc_attr( $booking->ID ) . '"><span class="dashicons dashicons-testimonial"></span></a>';
376
  $value .= '<div class="rtb-message-data">' . $booking->message . '</div>';
377
  }
378
  break;
372
  case 'message' :
373
  $value = '';
374
  if ( trim( $booking->message ) ) {
375
+ $value = '<a href="#" class="rtb-show-message" data-id="message-' . esc_attr( $booking->ID ) . '"><span class="dashicons dashicons-testimonial"></span></a>';
376
  $value .= '<div class="rtb-message-data">' . $booking->message . '</div>';
377
  }
378
  break;
includes/template-functions.php CHANGED
@@ -158,8 +158,8 @@ function rtb_enqueue_assets() {
158
  'disable_dates' => rtb_get_datepicker_rules(),
159
  'schedule_open' => $rtb_controller->settings->get_setting( 'schedule-open' ),
160
  'schedule_closed' => $rtb_controller->settings->get_setting( 'schedule-closed' ),
161
- 'early_bookings' => $rtb_controller->settings->get_setting( 'early-bookings' ),
162
- 'late_bookings' => $rtb_controller->settings->get_setting( 'late-bookings' ),
163
  'date_onload' => $rtb_controller->settings->get_setting( 'date-onload' ),
164
  'time_interval' => $rtb_controller->settings->get_setting( 'time-interval' ),
165
  )
158
  'disable_dates' => rtb_get_datepicker_rules(),
159
  'schedule_open' => $rtb_controller->settings->get_setting( 'schedule-open' ),
160
  'schedule_closed' => $rtb_controller->settings->get_setting( 'schedule-closed' ),
161
+ 'early_bookings' => current_user_can( 'manage_bookings' ) ? '' : $rtb_controller->settings->get_setting( 'early-bookings' ),
162
+ 'late_bookings' => current_user_can( 'manage_bookings' ) ? '' : $rtb_controller->settings->get_setting( 'late-bookings' ),
163
  'date_onload' => $rtb_controller->settings->get_setting( 'date-onload' ),
164
  'time_interval' => $rtb_controller->settings->get_setting( 'time-interval' ),
165
  )
languages/restaurant-reservations-nl_NL.mo CHANGED
Binary file
languages/restaurant-reservations-nl_NL.po CHANGED
@@ -4,9 +4,9 @@ msgstr ""
4
  "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/restaurant-"
5
  "reservations\n"
6
  "POT-Creation-Date: 2015-03-31 09:08:36+00:00\n"
7
- "PO-Revision-Date: 2015-04-09 11:20+0100\n"
8
  "Last-Translator: Dick <massimo@studio020.com>\n"
9
- "Language-Team: \n"
10
  "Language: nl\n"
11
  "MIME-Version: 1.0\n"
12
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -19,7 +19,7 @@ msgstr ""
19
  "_x:1,2c;_ex:1,2c;_nx:1,2,4c;_nx_noop:1,2,3c;_n_js:1,2;_nx_js:1,2,3c;"
20
  "esc_attr__:1;esc_html__:1;esc_attr_e:1;esc_html_e:1;esc_attr_x:1,2c;"
21
  "esc_html_x:1,2c;comments_number_link:2,3;t:1;st:1;trans:1;transChoice:1,2\n"
22
- "X-Generator: Poedit 1.7.5\n"
23
  "X-Loco-Target-Locale: nl_NL\n"
24
  "X-Poedit-SearchPath-0: ..\n"
25
 
@@ -446,7 +446,7 @@ msgid ""
446
  "Define special opening hours for holidays, events or other needs. Leave the "
447
  "time empty if you're closed all day."
448
  msgstr ""
449
- "Definieer speciale openingstijden voor de feestdagen, evenementen of andere "
450
  "dagen. Laat de tijd leeg als u de hele dag gesloten bent."
451
 
452
  #: includes/Settings.class.php:404
@@ -526,8 +526,8 @@ msgid ""
526
  "When the booking form is loaded, should it automatically attempt to select a "
527
  "valid date?"
528
  msgstr ""
529
- "Wilt u, wanneer het reserveringssformulier is geladen, het proberen om "
530
- "automatisch een geldige datum te selecteren?"
531
 
532
  #: includes/Settings.class.php:449
533
  msgid "Select today if valid"
@@ -882,7 +882,7 @@ msgstr "Bevestigd"
882
 
883
  #: includes/WP_List_Table.BookingsTable.class.php:249
884
  msgid "Closed"
885
- msgstr "Gesloten"
886
 
887
  #: includes/WP_List_Table.BookingsTable.class.php:250
888
  #: includes/WP_List_Table.BookingsTable.class.php:331
@@ -911,7 +911,7 @@ msgstr "In afwachting"
911
 
912
  #: includes/WP_List_Table.BookingsTable.class.php:398
913
  msgid "Set To Closed"
914
- msgstr "Afgewezen"
915
 
916
  #: includes/WP_List_Table.BookingsTable.class.php:513
917
  msgid "%d booking deleted successfully."
@@ -934,8 +934,8 @@ msgstr[1] "%d reserveringenstatus is in wachtende op bevestiging."
934
  #: includes/WP_List_Table.BookingsTable.class.php:522
935
  msgid "%d booking closed."
936
  msgid_plural "%d bookings closed."
937
- msgstr[0] "%d reservering gesloten."
938
- msgstr[1] "%d reserveringen gesloten."
939
 
940
  #: includes/WP_List_Table.BookingsTable.class.php:534
941
  msgid "%d booking had errors and could not be processed."
@@ -1071,7 +1071,7 @@ msgstr "Bevestigd"
1071
  #: includes/CustomPostTypes.class.php:97
1072
  msgctxt "Booking status for a closed booking"
1073
  msgid "Closed"
1074
- msgstr "Afgesloten"
1075
 
1076
  #: includes/Settings.class.php:83
1077
  msgctxt "restaurant-reservations"
@@ -1128,7 +1128,7 @@ msgid ""
1128
  "\n"
1129
  "<em>This message was sent by {site_link} on {current_time}.</em>"
1130
  msgstr ""
1131
- "Er is een nieuwe reservering is aangevraagd via {site_name}:\n"
1132
  "\n"
1133
  "{user_name}\n"
1134
  "{party} personen\n"
@@ -1172,7 +1172,7 @@ msgid ""
1172
  "\n"
1173
  "<em>This message was sent by {site_link} on {current_time}.</em>"
1174
  msgstr ""
1175
- "Beadankt {user_name},\n"
1176
  "\n"
1177
  "Uw reservering <strong>wacht op bevestiging</strong>.\n"
1178
  "\n"
4
  "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/restaurant-"
5
  "reservations\n"
6
  "POT-Creation-Date: 2015-03-31 09:08:36+00:00\n"
7
+ "PO-Revision-Date: 2015-07-03 20:29+0200\n"
8
  "Last-Translator: Dick <massimo@studio020.com>\n"
9
+ "Language-Team: Roy van den Houten <r.vandenhouten@gmx.net>\n"
10
  "Language: nl\n"
11
  "MIME-Version: 1.0\n"
12
  "Content-Type: text/plain; charset=UTF-8\n"
19
  "_x:1,2c;_ex:1,2c;_nx:1,2,4c;_nx_noop:1,2,3c;_n_js:1,2;_nx_js:1,2,3c;"
20
  "esc_attr__:1;esc_html__:1;esc_attr_e:1;esc_html_e:1;esc_attr_x:1,2c;"
21
  "esc_html_x:1,2c;comments_number_link:2,3;t:1;st:1;trans:1;transChoice:1,2\n"
22
+ "X-Generator: Poedit 1.8.2\n"
23
  "X-Loco-Target-Locale: nl_NL\n"
24
  "X-Poedit-SearchPath-0: ..\n"
25
 
446
  "Define special opening hours for holidays, events or other needs. Leave the "
447
  "time empty if you're closed all day."
448
  msgstr ""
449
+ "Definieer speciale openingstijden voor feestdagen, evenementen of andere "
450
  "dagen. Laat de tijd leeg als u de hele dag gesloten bent."
451
 
452
  #: includes/Settings.class.php:404
526
  "When the booking form is loaded, should it automatically attempt to select a "
527
  "valid date?"
528
  msgstr ""
529
+ "Als het reserveringssformulier is geladen, automatisch een geldige datum "
530
+ "selecteren?"
531
 
532
  #: includes/Settings.class.php:449
533
  msgid "Select today if valid"
882
 
883
  #: includes/WP_List_Table.BookingsTable.class.php:249
884
  msgid "Closed"
885
+ msgstr "Geannuleerd"
886
 
887
  #: includes/WP_List_Table.BookingsTable.class.php:250
888
  #: includes/WP_List_Table.BookingsTable.class.php:331
911
 
912
  #: includes/WP_List_Table.BookingsTable.class.php:398
913
  msgid "Set To Closed"
914
+ msgstr "Annuleren"
915
 
916
  #: includes/WP_List_Table.BookingsTable.class.php:513
917
  msgid "%d booking deleted successfully."
934
  #: includes/WP_List_Table.BookingsTable.class.php:522
935
  msgid "%d booking closed."
936
  msgid_plural "%d bookings closed."
937
+ msgstr[0] "%d reservering afgewezen."
938
+ msgstr[1] "%d reserveringen afgewezen."
939
 
940
  #: includes/WP_List_Table.BookingsTable.class.php:534
941
  msgid "%d booking had errors and could not be processed."
1071
  #: includes/CustomPostTypes.class.php:97
1072
  msgctxt "Booking status for a closed booking"
1073
  msgid "Closed"
1074
+ msgstr "Geannuleerd"
1075
 
1076
  #: includes/Settings.class.php:83
1077
  msgctxt "restaurant-reservations"
1128
  "\n"
1129
  "<em>This message was sent by {site_link} on {current_time}.</em>"
1130
  msgstr ""
1131
+ "Er is een nieuwe reservering aangevraagd via {site_name}:\n"
1132
  "\n"
1133
  "{user_name}\n"
1134
  "{party} personen\n"
1172
  "\n"
1173
  "<em>This message was sent by {site_link} on {current_time}.</em>"
1174
  msgstr ""
1175
+ "Bedankt {user_name},\n"
1176
  "\n"
1177
  "Uw reservering <strong>wacht op bevestiging</strong>.\n"
1178
  "\n"
lib/simple-admin-pages/README.md CHANGED
@@ -41,7 +41,7 @@ Here's a simple example of how you can use this library to create an admin page.
41
  require_once( 'path/to/simple-admin-pages/simple-admin-pages.php' );
42
  $sap = sap_initialize_library(
43
  array(
44
- 'version' => '2.0.a.8', // Version of the library
45
  'lib_url' => PLUGIN_URL . '/lib/simple-admin-pages/', // URL path to sap library
46
  )
47
  );
@@ -130,7 +130,7 @@ The lib_url is used to print stylesheets or scripts attached to the library.
130
  require_once( 'path/to/simple-admin-pages/simple-admin-pages.php' );
131
  $sap = sap_initialize_library(
132
  $args = array(
133
- 'version' => '2.0.a.8', // Version of the library
134
  'lib_url' => PLUGIN_URL . '/lib/simple-admin-pages/', // URL path to sap library
135
  )
136
  );
@@ -371,11 +371,16 @@ $all_page_settings[ $my_setting_id ];
371
 
372
  ## Changelog
373
 
374
- - 2_0_a_8 - 2014-11-12
 
 
 
 
 
375
  - SelectPost: Use WP_Query instead of get_posts() so that filters can effect the list
376
  - Require translateable strings to be declared when adding the setting so the library can conform to the upcoming single textdomain best practice in the .org repos
377
 
378
- - 2_0_a_7 - 2014-08-20
379
  - Only enqueue assets on appropriate admin pages to prevent version conflicts and be a good citizen
380
  - Enforce stored date/time formats so date format is reliable
381
 
41
  require_once( 'path/to/simple-admin-pages/simple-admin-pages.php' );
42
  $sap = sap_initialize_library(
43
  array(
44
+ 'version' => '2.0.a.10', // Version of the library
45
  'lib_url' => PLUGIN_URL . '/lib/simple-admin-pages/', // URL path to sap library
46
  )
47
  );
130
  require_once( 'path/to/simple-admin-pages/simple-admin-pages.php' );
131
  $sap = sap_initialize_library(
132
  $args = array(
133
+ 'version' => '2.0.a.10', // Version of the library
134
  'lib_url' => PLUGIN_URL . '/lib/simple-admin-pages/', // URL path to sap library
135
  )
136
  );
371
 
372
  ## Changelog
373
 
374
+ - 2.0.a.10 - 2015-08-19
375
+ - Use h1 tags for page titles, in line with WP 4.3 changes
376
+ - Check for has_position before calling on a setting, in case of custom third-party settings being loaded
377
+ - Update pickadate.js lib
378
+
379
+ - 2.0.a.9 - 2014-11-12
380
  - SelectPost: Use WP_Query instead of get_posts() so that filters can effect the list
381
  - Require translateable strings to be declared when adding the setting so the library can conform to the upcoming single textdomain best practice in the .org repos
382
 
383
+ - 2.0.a.7 - 2014-08-20
384
  - Only enqueue assets on appropriate admin pages to prevent version conflicts and be a good citizen
385
  - Enforce stored date/time formats so date format is reliable
386
 
lib/simple-admin-pages/classes/AdminPage.Menu.class.php CHANGED
@@ -8,7 +8,7 @@
8
  * @package Simple Admin Pages
9
  */
10
 
11
- class sapAdminPageMenu_2_0_a_8 extends sapAdminPage_2_0_a_8 {
12
 
13
  public $setup_function = 'add_menu_page'; // WP function to register the page
14
 
8
  * @package Simple Admin Pages
9
  */
10
 
11
+ class sapAdminPageMenu_2_0_a_10 extends sapAdminPage_2_0_a_10 {
12
 
13
  public $setup_function = 'add_menu_page'; // WP function to register the page
14
 
lib/simple-admin-pages/classes/AdminPage.Submenu.class.php CHANGED
@@ -8,7 +8,7 @@
8
  * @package Simple Admin Pages
9
  */
10
 
11
- class sapAdminPageSubmenu_2_0_a_8 extends sapAdminPage_2_0_a_8 {
12
 
13
  public $setup_function = 'add_submenu_page'; // WP function to register the page
14
 
8
  * @package Simple Admin Pages
9
  */
10
 
11
+ class sapAdminPageSubmenu_2_0_a_10 extends sapAdminPage_2_0_a_10 {
12
 
13
  public $setup_function = 'add_submenu_page'; // WP function to register the page
14
 
lib/simple-admin-pages/classes/AdminPage.Themes.class.php CHANGED
@@ -8,7 +8,7 @@
8
  * @package Simple Admin Pages
9
  */
10
 
11
- class sapAdminPageThemes_2_0_a_8 extends sapAdminPage_2_0_a_8 {
12
 
13
  public $setup_function = 'add_theme_page'; // WP function to register the page
14
 
8
  * @package Simple Admin Pages
9
  */
10
 
11
+ class sapAdminPageThemes_2_0_a_10 extends sapAdminPage_2_0_a_10 {
12
 
13
  public $setup_function = 'add_theme_page'; // WP function to register the page
14
 
lib/simple-admin-pages/classes/AdminPage.class.php CHANGED
@@ -7,7 +7,7 @@
7
  * @package Simple Admin Pages
8
  */
9
 
10
- class sapAdminPage_2_0_a_8 {
11
 
12
  public $title;
13
  public $menu_title;
@@ -29,6 +29,11 @@ class sapAdminPage_2_0_a_8 {
29
  // Parse the values passed
30
  $this->parse_args( $args );
31
 
 
 
 
 
 
32
  }
33
 
34
  /**
@@ -50,6 +55,14 @@ class sapAdminPage_2_0_a_8 {
50
  }
51
  }
52
 
 
 
 
 
 
 
 
 
53
  /**
54
  * Add the page to the appropriate menu slot.
55
  * @note The default will be to post to the options page, but other classes
@@ -156,6 +169,10 @@ class sapAdminPage_2_0_a_8 {
156
  return;
157
  }
158
 
 
 
 
 
159
  $current_page = $this->get_current_page( $_GET );
160
 
161
  ?>
@@ -208,7 +225,7 @@ class sapAdminPage_2_0_a_8 {
208
  return;
209
  }
210
  ?>
211
- <h2><?php echo $this->title; ?></h2>
212
  <?php
213
  }
214
 
7
  * @package Simple Admin Pages
8
  */
9
 
10
+ class sapAdminPage_2_0_a_10 {
11
 
12
  public $title;
13
  public $menu_title;
29
  // Parse the values passed
30
  $this->parse_args( $args );
31
 
32
+ // Modify capability required to save the settings if it's not
33
+ // the default `manage_options`
34
+ if ( !empty( $this->capability ) && $this->capability !== 'manage_options') {
35
+ add_filter( 'option_page_capability_' . $this->id, array( $this, 'modify_required_capability' ) );
36
+ }
37
  }
38
 
39
  /**
55
  }
56
  }
57
 
58
+ /**
59
+ * Modify the capability required to save settings on this page
60
+ * @since 2.0
61
+ */
62
+ public function modify_required_capability( $cap ) {
63
+ return $this->capability;
64
+ }
65
+
66
  /**
67
  * Add the page to the appropriate menu slot.
68
  * @note The default will be to post to the options page, but other classes
169
  return;
170
  }
171
 
172
+ if ( !current_user_can( $this->capability ) ) {
173
+ wp_die( __('You do not have sufficient permissions to access this page.') );
174
+ }
175
+
176
  $current_page = $this->get_current_page( $_GET );
177
 
178
  ?>
225
  return;
226
  }
227
  ?>
228
+ <h1><?php echo $this->title; ?></h1>
229
  <?php
230
  }
231
 
lib/simple-admin-pages/classes/AdminPageSection.class.php CHANGED
@@ -7,7 +7,7 @@
7
  * @package Simple Admin Pages
8
  */
9
 
10
- class sapAdminPageSection_2_0_a_8 {
11
 
12
  // Page defaults
13
  public $id; // unique id for this section
@@ -63,10 +63,45 @@ class sapAdminPageSection_2_0_a_8 {
63
  * @since 1.0
64
  */
65
  public function add_setting( $setting ) {
 
66
  if ( !$setting ) {
67
  return;
68
  }
69
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
70
  $this->settings[ $setting->id ] = $setting;
71
  }
72
 
7
  * @package Simple Admin Pages
8
  */
9
 
10
+ class sapAdminPageSection_2_0_a_10 {
11
 
12
  // Page defaults
13
  public $id; // unique id for this section
63
  * @since 1.0
64
  */
65
  public function add_setting( $setting ) {
66
+
67
  if ( !$setting ) {
68
  return;
69
  }
70
 
71
+ if ( method_exists( $setting, 'has_position' ) && $setting->has_position() ) {
72
+
73
+ // Top
74
+ if ( $setting->position[0] == 'top' ) {
75
+ $this->settings = array_merge( array( $setting->id => $setting ), $this->settings );
76
+ return;
77
+ }
78
+
79
+ // Position setting relative to another setting
80
+ if ( !empty( $setting->position[1] ) ) {
81
+
82
+ $new_settings = array();
83
+ foreach( $this->settings as $id => $current ) {
84
+
85
+ // Above
86
+ if ( $setting->position[1] == $id && $setting->position[0] == 'above' ) {
87
+ $new_settings[ $setting->id ] = $setting;
88
+ }
89
+
90
+ $new_settings[ $id ] = $current;
91
+
92
+ // Below
93
+ if ( $setting->position[1] == $id && $setting->position[0] == 'below' ) {
94
+ $new_settings[ $setting->id ] = $setting;
95
+ }
96
+ }
97
+
98
+ $this->settings = $new_settings;
99
+
100
+ return;
101
+ }
102
+ }
103
+
104
+ // Fallback to appending it at the end
105
  $this->settings[ $setting->id ] = $setting;
106
  }
107
 
lib/simple-admin-pages/classes/AdminPageSetting.Address.class.php CHANGED
@@ -7,7 +7,7 @@
7
  * @package Simple Admin Pages
8
  */
9
 
10
- class sapAdminPageSettingAddress_2_0_a_8 extends sapAdminPageSetting_2_0_a_8 {
11
 
12
  /*
13
  * Size of this textarea
7
  * @package Simple Admin Pages
8
  */
9
 
10
+ class sapAdminPageSettingAddress_2_0_a_10 extends sapAdminPageSetting_2_0_a_10 {
11
 
12
  /*
13
  * Size of this textarea
lib/simple-admin-pages/classes/AdminPageSetting.Editor.class.php CHANGED
@@ -7,7 +7,7 @@
7
  * @package Simple Admin Pages
8
  */
9
 
10
- class sapAdminPageSettingEditor_2_0_a_8 extends sapAdminPageSetting_2_0_a_8 {
11
 
12
  public $sanitize_callback = 'wp_kses_post';
13
 
7
  * @package Simple Admin Pages
8
  */
9
 
10
+ class sapAdminPageSettingEditor_2_0_a_10 extends sapAdminPageSetting_2_0_a_10 {
11
 
12
  public $sanitize_callback = 'wp_kses_post';
13
 
lib/simple-admin-pages/classes/AdminPageSetting.HTML.class.php CHANGED
@@ -14,7 +14,7 @@
14
  * @package Simple Admin Pages
15
  */
16
 
17
- class sapAdminPageSettingHTML_2_0_a_8 extends sapAdminPageSetting_2_0_a_8 {
18
 
19
  public $sanitize_callback = 'sanitize_text_field';
20
 
14
  * @package Simple Admin Pages
15
  */
16
 
17
+ class sapAdminPageSettingHTML_2_0_a_10 extends sapAdminPageSetting_2_0_a_10 {
18
 
19
  public $sanitize_callback = 'sanitize_text_field';
20
 
lib/simple-admin-pages/classes/AdminPageSetting.OpeningHours.class.php CHANGED
@@ -25,7 +25,7 @@
25
  * @package Simple Admin Pages
26
  */
27
 
28
- class sapAdminPageSettingOpeningHours_2_0_a_8 extends sapAdminPageSetting_2_0_a_8 {
29
 
30
  public $sanitize_callback = 'sanitize_text_field';
31
 
25
  * @package Simple Admin Pages
26
  */
27
 
28
+ class sapAdminPageSettingOpeningHours_2_0_a_10 extends sapAdminPageSetting_2_0_a_10 {
29
 
30
  public $sanitize_callback = 'sanitize_text_field';
31
 
lib/simple-admin-pages/classes/AdminPageSetting.Scheduler.class.php CHANGED
@@ -10,10 +10,10 @@
10
  * @package Simple Admin Pages
11
  */
12
 
13
- class sapAdminPageSettingScheduler_2_0_a_8 extends sapAdminPageSetting_2_0_a_8 {
14
 
15
  public $sanitize_callback = 'sanitize_text_field';
16
-
17
  /**
18
  * Scripts that must be loaded for this component
19
  * @since 2.0.a.4
@@ -22,31 +22,31 @@ class sapAdminPageSettingScheduler_2_0_a_8 extends sapAdminPageSetting_2_0_a_8 {
22
  'pickadate' => array(
23
  'path' => 'lib/pickadate/picker.js',
24
  'dependencies' => array( 'jquery' ),
25
- 'version' => '3.5.0',
26
  'footer' => true,
27
  ),
28
  'pickadate-date' => array(
29
  'path' => 'lib/pickadate/picker.date.js',
30
  'dependencies' => array( 'jquery' ),
31
- 'version' => '3.5.0',
32
  'footer' => true,
33
  ),
34
  'pickadate-time' => array(
35
  'path' => 'lib/pickadate/picker.time.js',
36
  'dependencies' => array( 'jquery' ),
37
- 'version' => '3.5.0',
38
  'footer' => true,
39
  ),
40
  'pickadate-legacy' => array(
41
  'path' => 'lib/pickadate/legacy.js',
42
  'dependencies' => array( 'jquery' ),
43
- 'version' => '3.5.0',
44
  'footer' => true,
45
  ),
46
  'sap-scheduler' => array(
47
  'path' => 'js/scheduler.js',
48
  'dependencies' => array( 'jquery' ),
49
- 'version' => '2.0.a.8',
50
  'footer' => true,
51
  ),
52
  // @todo there should be some way to load alternate language .js files
@@ -174,6 +174,11 @@ class sapAdminPageSettingScheduler_2_0_a_8 extends sapAdminPageSetting_2_0_a_8 {
174
  */
175
  public $disable_end_time = false;
176
 
 
 
 
 
 
177
  /**
178
  * Escape the value to display it in text fields and other input fields
179
  * @since 2.0
@@ -252,6 +257,7 @@ class sapAdminPageSettingScheduler_2_0_a_8 extends sapAdminPageSetting_2_0_a_8 {
252
  'disable_weeks' => $this->disable_weeks,
253
  'disable_date' => $this->disable_date,
254
  'disable_time' => $this->disable_time,
 
255
  'summaries' => $this->schedule_summaries,
256
  );
257
 
@@ -290,7 +296,8 @@ class sapAdminPageSettingScheduler_2_0_a_8 extends sapAdminPageSetting_2_0_a_8 {
290
  }
291
  ?>
292
  </div>
293
- <div class="sap-add-scheduler">
 
294
  <a href="#" class="button">
295
  <?php echo $this->strings['add_rule']; ?>
296
  </a>
@@ -637,7 +644,7 @@ class sapAdminPageSettingScheduler_2_0_a_8 extends sapAdminPageSetting_2_0_a_8 {
637
  public function sanitize_callback_wrapper( $values ) {
638
 
639
  $output = array();
640
-
641
  if ( !is_array( $values ) || !count( $values ) ) {
642
  return $output;
643
  }
@@ -683,6 +690,11 @@ class sapAdminPageSettingScheduler_2_0_a_8 extends sapAdminPageSetting_2_0_a_8 {
683
  }
684
  }
685
 
 
 
 
 
 
686
  return $output;
687
  }
688
 
10
  * @package Simple Admin Pages
11
  */
12
 
13
+ class sapAdminPageSettingScheduler_2_0_a_10 extends sapAdminPageSetting_2_0_a_10 {
14
 
15
  public $sanitize_callback = 'sanitize_text_field';
16
+
17
  /**
18
  * Scripts that must be loaded for this component
19
  * @since 2.0.a.4
22
  'pickadate' => array(
23
  'path' => 'lib/pickadate/picker.js',
24
  'dependencies' => array( 'jquery' ),
25
+ 'version' => '3.5.5',
26
  'footer' => true,
27
  ),
28
  'pickadate-date' => array(
29
  'path' => 'lib/pickadate/picker.date.js',
30
  'dependencies' => array( 'jquery' ),
31
+ 'version' => '3.5.5',
32
  'footer' => true,
33
  ),
34
  'pickadate-time' => array(
35
  'path' => 'lib/pickadate/picker.time.js',
36
  'dependencies' => array( 'jquery' ),
37
+ 'version' => '3.5.5',
38
  'footer' => true,
39
  ),
40
  'pickadate-legacy' => array(
41
  'path' => 'lib/pickadate/legacy.js',
42
  'dependencies' => array( 'jquery' ),
43
+ 'version' => '3.5.5',
44
  'footer' => true,
45
  ),
46
  'sap-scheduler' => array(
47
  'path' => 'js/scheduler.js',
48
  'dependencies' => array( 'jquery' ),
49
+ 'version' => '2.0.a.9',
50
  'footer' => true,
51
  ),
52
  // @todo there should be some way to load alternate language .js files
174
  */
175
  public $disable_end_time = false;
176
 
177
+ /**
178
+ * Boolean to disable multiple rules per component
179
+ */
180
+ public $disable_multiple = false;
181
+
182
  /**
183
  * Escape the value to display it in text fields and other input fields
184
  * @since 2.0
257
  'disable_weeks' => $this->disable_weeks,
258
  'disable_date' => $this->disable_date,
259
  'disable_time' => $this->disable_time,
260
+ 'disable_multiple' => $this->disable_multiple,
261
  'summaries' => $this->schedule_summaries,
262
  );
263
 
296
  }
297
  ?>
298
  </div>
299
+
300
+ <div class="sap-add-scheduler<?php if ( $this->disable_multiple && count( $this->value ) ) : ?> disabled<?php endif; ?>">
301
  <a href="#" class="button">
302
  <?php echo $this->strings['add_rule']; ?>
303
  </a>
644
  public function sanitize_callback_wrapper( $values ) {
645
 
646
  $output = array();
647
+
648
  if ( !is_array( $values ) || !count( $values ) ) {
649
  return $output;
650
  }
690
  }
691
  }
692
 
693
+ // Only return the first rule if multiple rules are disabled
694
+ if ( $this->disable_multiple && count( $output ) > 1 ) {
695
+ $output = array( array_shift( $output ) );
696
+ }
697
+
698
  return $output;
699
  }
700
 
lib/simple-admin-pages/classes/AdminPageSetting.Select.class.php CHANGED
@@ -21,7 +21,7 @@
21
  * @package Simple Admin Pages
22
  */
23
 
24
- class sapAdminPageSettingSelect_2_0_a_8 extends sapAdminPageSetting_2_0_a_8 {
25
 
26
  public $sanitize_callback = 'sanitize_text_field';
27
 
21
  * @package Simple Admin Pages
22
  */
23
 
24
+ class sapAdminPageSettingSelect_2_0_a_10 extends sapAdminPageSetting_2_0_a_10 {
25
 
26
  public $sanitize_callback = 'sanitize_text_field';
27
 
lib/simple-admin-pages/classes/AdminPageSetting.SelectPost.class.php CHANGED
@@ -17,7 +17,7 @@
17
  * @package Simple Admin Pages
18
  */
19
 
20
- class sapAdminPageSettingSelectPost_2_0_a_8 extends sapAdminPageSetting_2_0_a_8 {
21
 
22
  public $sanitize_callback = 'intval';
23
 
17
  * @package Simple Admin Pages
18
  */
19
 
20
+ class sapAdminPageSettingSelectPost_2_0_a_10 extends sapAdminPageSetting_2_0_a_10 {
21
 
22
  public $sanitize_callback = 'intval';
23
 
lib/simple-admin-pages/classes/AdminPageSetting.SelectTaxonomy.class.php CHANGED
@@ -19,7 +19,7 @@
19
  * @package Simple Admin Pages
20
  */
21
 
22
- class sapAdminPageSettingSelectTaxonomy_2_0_a_8 extends sapAdminPageSetting_2_0_a_8 {
23
 
24
  public $sanitize_callback = 'intval';
25
 
19
  * @package Simple Admin Pages
20
  */
21
 
22
+ class sapAdminPageSettingSelectTaxonomy_2_0_a_10 extends sapAdminPageSetting_2_0_a_10 {
23
 
24
  public $sanitize_callback = 'intval';
25
 
lib/simple-admin-pages/classes/AdminPageSetting.Text.class.php CHANGED
@@ -7,7 +7,7 @@
7
  * @package Simple Admin Pages
8
  */
9
 
10
- class sapAdminPageSettingText_2_0_a_8 extends sapAdminPageSetting_2_0_a_8 {
11
 
12
  public $sanitize_callback = 'sanitize_text_field';
13
 
7
  * @package Simple Admin Pages
8
  */
9
 
10
+ class sapAdminPageSettingText_2_0_a_10 extends sapAdminPageSetting_2_0_a_10 {
11
 
12
  public $sanitize_callback = 'sanitize_text_field';
13
 
lib/simple-admin-pages/classes/AdminPageSetting.Textarea.class.php CHANGED
@@ -9,7 +9,7 @@
9
  * @todo textareas should have an option to swap new lines for <br>s
10
  */
11
 
12
- class sapAdminPageSettingTextarea_2_0_a_8 extends sapAdminPageSetting_2_0_a_8 {
13
 
14
  /*
15
  * Size of this textarea
9
  * @todo textareas should have an option to swap new lines for <br>s
10
  */
11
 
12
+ class sapAdminPageSettingTextarea_2_0_a_10 extends sapAdminPageSetting_2_0_a_10 {
13
 
14
  /*
15
  * Size of this textarea
lib/simple-admin-pages/classes/AdminPageSetting.Toggle.class.php CHANGED
@@ -17,7 +17,7 @@
17
  * @package Simple Admin Pages
18
  */
19
 
20
- class sapAdminPageSettingToggle_2_0_a_8 extends sapAdminPageSetting_2_0_a_8 {
21
 
22
  public $sanitize_callback = 'sanitize_text_field';
23
 
17
  * @package Simple Admin Pages
18
  */
19
 
20
+ class sapAdminPageSettingToggle_2_0_a_10 extends sapAdminPageSetting_2_0_a_10 {
21
 
22
  public $sanitize_callback = 'sanitize_text_field';
23
 
lib/simple-admin-pages/classes/AdminPageSetting.class.php CHANGED
@@ -15,7 +15,7 @@
15
  * @package Simple Admin Pages
16
  */
17
 
18
- abstract class sapAdminPageSetting_2_0_a_8 {
19
 
20
  // Page defaults
21
  public $id; // used in form fields and database to track and store setting
@@ -26,7 +26,26 @@ abstract class sapAdminPageSetting_2_0_a_8 {
26
  // Array to store errors
27
  public $errors = array();
28
 
29
- /*
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
30
  * Function to use when sanitizing the data
31
  *
32
  * We set this to a strict sanitization function as a default, but a
@@ -286,4 +305,12 @@ abstract class sapAdminPageSetting_2_0_a_8 {
286
  )
287
  );
288
  }
 
 
 
 
 
 
 
 
289
  }
15
  * @package Simple Admin Pages
16
  */
17
 
18
+ abstract class sapAdminPageSetting_2_0_a_10 {
19
 
20
  // Page defaults
21
  public $id; // used in form fields and database to track and store setting
26
  // Array to store errors
27
  public $errors = array();
28
 
29
+ /**
30
+ * Position in section
31
+ *
32
+ * An array with two elements describing where this setting should
33
+ * be placed in its section. The first element describes a position
34
+ * and the second (optional) element identifies the id of an
35
+ * existing setting. Examples:
36
+ *
37
+ * array( 'bottom' ) // Default. bottom of section
38
+ * array( 'top' ) // top of section
39
+ * array( 'before', 'my-setting' ) // before a specific setting
40
+ * array( 'after', 'my-setting' ) // after a specific setting
41
+ *
42
+ * This setting is intended for use when you have to hook in after
43
+ * the settings page has been defined, such as adding a new setting
44
+ * from a third-party plugin.
45
+ */
46
+ public $position;
47
+
48
+ /**
49
  * Function to use when sanitizing the data
50
  *
51
  * We set this to a strict sanitization function as a default, but a
305
  )
306
  );
307
  }
308
+
309
+ /**
310
+ * Check if a setting has a position
311
+ * @since 2.0.a.9
312
+ */
313
+ public function has_position() {
314
+ return !empty( $this->position ) && is_array( $this->position ) && !empty( $this->position[0] );
315
+ }
316
  }
lib/simple-admin-pages/classes/Library.class.php CHANGED
@@ -1,5 +1,5 @@
1
  <?php
2
- if ( !class_exists( 'sapLibrary_2_0_a_8' ) ) {
3
  /**
4
  * This library class loads and provides access to the correct version of the
5
  * Simple Admin Pages library.
@@ -7,10 +7,10 @@ if ( !class_exists( 'sapLibrary_2_0_a_8' ) ) {
7
  * @since 1.0
8
  * @package Simple Admin Pages
9
  */
10
- class sapLibrary_2_0_a_8 {
11
 
12
  // Version of the library
13
- private $version = '2.0.a.8';
14
 
15
  // A full URL to the library which is used to correctly link scripts and
16
  // stylesheets.
@@ -383,7 +383,7 @@ class sapLibrary_2_0_a_8 {
383
  public function enqueue_scripts() {
384
 
385
  $screen = get_current_screen();
386
-
387
  foreach ( $this->pages as $page_id => $page ) {
388
 
389
  // Only enqueue assets for the current page
1
  <?php
2
+ if ( !class_exists( 'sapLibrary_2_0_a_10' ) ) {
3
  /**
4
  * This library class loads and provides access to the correct version of the
5
  * Simple Admin Pages library.
7
  * @since 1.0
8
  * @package Simple Admin Pages
9
  */
10
+ class sapLibrary_2_0_a_10 {
11
 
12
  // Version of the library
13
+ private $version = '2.0.a.10';
14
 
15
  // A full URL to the library which is used to correctly link scripts and
16
  // stylesheets.
383
  public function enqueue_scripts() {
384
 
385
  $screen = get_current_screen();
386
+
387
  foreach ( $this->pages as $page_id => $page ) {
388
 
389
  // Only enqueue assets for the current page
lib/simple-admin-pages/css/admin.css CHANGED
@@ -189,6 +189,9 @@ input.sap-opening-hours-hours {
189
  .sap-scheduler-brief .date {
190
  margin-right: 1em;
191
  }
 
 
 
192
  @media (min-width: 783px) {
193
  .sap-selector li {
194
  font-size: 13px;
189
  .sap-scheduler-brief .date {
190
  margin-right: 1em;
191
  }
192
+ .sap-add-scheduler.disabled {
193
+ display: none;
194
+ }
195
  @media (min-width: 783px) {
196
  .sap-selector li {
197
  font-size: 13px;
lib/simple-admin-pages/js/address.js CHANGED
@@ -13,7 +13,7 @@ jQuery(document).ready(function ($) {
13
  control.find( '.sap-coords-result' ).remove();
14
  control.find( 'input.lat' ).val( lat );
15
  control.find( 'input.lon' ).val( lon );
16
-
17
  if ( lat == '' && lon == '' ) {
18
  control.find( '.sap-map-coords' ).text( lat + sap_address.strings['no-setting'] + lon ).attr( 'style', '' );
19
  } else {
@@ -31,7 +31,11 @@ jQuery(document).ready(function ($) {
31
  /**
32
  * Retrieve coordinates
33
  */
34
- $('.sap-get-coords').click( function() {
 
 
 
 
35
  var control = $(this).parent().parent();
36
  var address = control.find( 'textarea' ).val();
37
 
@@ -65,8 +69,8 @@ jQuery(document).ready(function ($) {
65
  }
66
 
67
  } else {
68
- sap_address_set_coords( control, control.find( 'input.lat' ).val(), control.find( 'input.lon' ).val() );
69
-
70
  if ( data.status == 'UNKNOWN_ERROR' ) {
71
  control.find( '.sap-coords-action-wrapper' ).prepend( '<div class="error">' + sap_address.strings.result_error + '</div>' );
72
  } else if ( data.status == 'INVALID_REQUEST' ) {
@@ -84,11 +88,15 @@ jQuery(document).ready(function ($) {
84
  }
85
  )
86
  });
87
-
88
  /**
89
  * Remove coordinates from settings
90
  */
91
- $('.sap-remove-coords').click( function() {
 
 
 
 
92
  var control = $(this).parent().parent();
93
  sap_address_set_coords( control, '', '' );
94
  });
13
  control.find( '.sap-coords-result' ).remove();
14
  control.find( 'input.lat' ).val( lat );
15
  control.find( 'input.lon' ).val( lon );
16
+
17
  if ( lat == '' && lon == '' ) {
18
  control.find( '.sap-map-coords' ).text( lat + sap_address.strings['no-setting'] + lon ).attr( 'style', '' );
19
  } else {
31
  /**
32
  * Retrieve coordinates
33
  */
34
+ $('.sap-get-coords').click( function(e) {
35
+
36
+ e.stopPropagation();
37
+ e.preventDefault();
38
+
39
  var control = $(this).parent().parent();
40
  var address = control.find( 'textarea' ).val();
41
 
69
  }
70
 
71
  } else {
72
+ sap_address_set_coords( control, control.find( 'input.lat' ).val(), control.find( 'input.lon' ).val() );
73
+
74
  if ( data.status == 'UNKNOWN_ERROR' ) {
75
  control.find( '.sap-coords-action-wrapper' ).prepend( '<div class="error">' + sap_address.strings.result_error + '</div>' );
76
  } else if ( data.status == 'INVALID_REQUEST' ) {
88
  }
89
  )
90
  });
91
+
92
  /**
93
  * Remove coordinates from settings
94
  */
95
+ $('.sap-remove-coords').click( function(e) {
96
+
97
+ e.stopPropagation();
98
+ e.preventDefault();
99
+
100
  var control = $(this).parent().parent();
101
  sap_address_set_coords( control, '', '' );
102
  });
lib/simple-admin-pages/js/scheduler.js CHANGED
@@ -182,6 +182,13 @@ jQuery(document).ready(function ($) {
182
  $(this).attr( 'id', name );
183
  });
184
  });
 
 
 
 
 
 
 
185
  });
186
 
187
  return false;
@@ -356,7 +363,13 @@ jQuery(document).ready(function ($) {
356
  /**
357
  * Add a new scheduler panel
358
  */
359
- $( '.sap-add-scheduler a' ).click( function() {
 
 
 
 
 
 
360
  var scheduler = $(this).parent().siblings( '.sap-scheduler' );
361
  var scheduler_id = scheduler.attr( 'id' );
362
  var scheduler_settings = sap_scheduler.settings[ scheduler_id ];
@@ -365,8 +378,26 @@ jQuery(document).ready(function ($) {
365
  sap_scheduler_register_timepicker( scheduler.last( '#' + scheduler_id + ' .sap-scheduler-rule' ).find( '.sap-scheduler-time-input input[type="text"]' ) );
366
  sap_scheduler_register_events();
367
 
 
 
 
 
 
368
  return false;
369
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
370
  }
371
 
372
  });
182
  $(this).attr( 'id', name );
183
  });
184
  });
185
+
186
+ // Show the add rule button when multiple rules are
187
+ // disabled and there are no more children
188
+ var scheduler_id = scheduler.attr( 'id' );
189
+ if ( sap_scheduler.settings[scheduler_id].disable_multiple && !scheduler.children().length ) {
190
+ sap_scheduler_toggle_button( true, scheduler );
191
+ }
192
  });
193
 
194
  return false;
363
  /**
364
  * Add a new scheduler panel
365
  */
366
+ $( '.sap-add-scheduler a' ).click( function(e) {
367
+
368
+ if ( $(this).parent().hasClass( 'disabled' ) ) {
369
+ e.preventDefault();
370
+ return;
371
+ }
372
+
373
  var scheduler = $(this).parent().siblings( '.sap-scheduler' );
374
  var scheduler_id = scheduler.attr( 'id' );
375
  var scheduler_settings = sap_scheduler.settings[ scheduler_id ];
378
  sap_scheduler_register_timepicker( scheduler.last( '#' + scheduler_id + ' .sap-scheduler-rule' ).find( '.sap-scheduler-time-input input[type="text"]' ) );
379
  sap_scheduler_register_events();
380
 
381
+ // Hide the add rule button if we've disabled multiple rules
382
+ if ( sap_scheduler.settings[scheduler_id].disable_multiple ) {
383
+ sap_scheduler_toggle_button( false, scheduler );
384
+ }
385
+
386
  return false;
387
  });
388
+
389
+ /**
390
+ * Enable/disable the add new rule button
391
+ */
392
+ function sap_scheduler_toggle_button( on, scheduler ) {
393
+ if ( on ) {
394
+ scheduler.siblings( '.sap-add-scheduler' ).removeClass( 'disabled' );
395
+ } else {
396
+ scheduler.siblings( '.sap-add-scheduler' ).addClass( 'disabled' );
397
+ }
398
+ }
399
+
400
+
401
  }
402
 
403
  });
lib/simple-admin-pages/lib/pickadate/themes/default.css CHANGED
@@ -1,4 +1,4 @@
1
- .picker{font-size:16px;text-align:left;line-height:1.2;color:#000;position:absolute;z-index:10000;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.picker__input{cursor:default}.picker__input.picker__input--active{border-color:#0089ec}.picker__holder{width:100%;overflow-y:auto;-webkit-overflow-scrolling:touch;position:fixed;-webkit-backface-visibility:hidden}/*!
2
  * Default mobile-first, responsive styling for pickadate.js
3
  * Demo: http://amsul.github.io/pickadate.js
4
- */.picker__frame,.picker__holder{top:0;bottom:0;left:0;right:0;-webkit-transform:translateY(100%);-ms-transform:translateY(100%);transform:translateY(100%)}.picker__frame{position:absolute;margin:0 auto;min-width:256px;max-width:666px;width:100%;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";filter:alpha(opacity=0);-moz-opacity:0;opacity:0;transition:all .15s ease-out}.picker__wrap{display:table;width:100%;height:100%}@media (min-height:33.875em){.picker__frame{overflow:visible;top:auto;bottom:-100%;max-height:80%}.picker__wrap{display:block}}.picker__box{background:#fff;display:table-cell;vertical-align:middle}@media (min-height:26.5em){.picker__box{font-size:1.25em}}@media (min-height:33.875em){.picker__box{display:block;font-size:1.33em;border:1px solid #777;border-top-color:#898989;border-bottom-width:0;border-radius:5px 5px 0 0;box-shadow:0 12px 36px 16px rgba(0,0,0,.24)}}@media (min-height:40.125em){.picker__frame{margin-bottom:7.5%}.picker__box{font-size:1.5em;border-bottom-width:1px;border-radius:5px}}.picker--opened .picker__holder{-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0);zoom:1;background:rgba(0,0,0,.32);transition:background .15s ease-out}.picker--opened .picker__frame{-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0);-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";filter:alpha(opacity=100);-moz-opacity:1;opacity:1}@media (min-height:33.875em){.picker--opened .picker__frame{top:auto;bottom:0}}
1
+ .picker{font-size:16px;text-align:left;line-height:1.2;color:#000;position:absolute;z-index:10000;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.picker__input{cursor:default}.picker__input.picker__input--active{border-color:#0089ec}.picker__holder{width:100%;overflow-y:auto;-webkit-overflow-scrolling:touch;position:fixed;transition:background .15s ease-out,-webkit-transform 0s .15s;transition:background .15s ease-out,transform 0s .15s;-webkit-backface-visibility:hidden}/*!
2
  * Default mobile-first, responsive styling for pickadate.js
3
  * Demo: http://amsul.github.io/pickadate.js
4
+ */.picker__frame,.picker__holder{top:0;bottom:0;left:0;right:0;-webkit-transform:translateY(100%);-ms-transform:translateY(100%);transform:translateY(100%)}.picker__frame{position:absolute;margin:0 auto;min-width:256px;max-width:666px;width:100%;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";filter:alpha(opacity=0);-moz-opacity:0;opacity:0;transition:all .15s ease-out}.picker__wrap{display:table;width:100%;height:100%}@media (min-height:33.875em){.picker__frame{overflow:visible;top:auto;bottom:-100%;max-height:80%}.picker__wrap{display:block}}.picker__box{background:#fff;display:table-cell;vertical-align:middle}@media (min-height:26.5em){.picker__box{font-size:1.25em}}@media (min-height:33.875em){.picker__box{display:block;font-size:1.33em;border:1px solid #777;border-top-color:#898989;border-bottom-width:0;border-radius:5px 5px 0 0;box-shadow:0 12px 36px 16px rgba(0,0,0,.24)}}@media (min-height:40.125em){.picker__frame{margin-bottom:7.5%}.picker__box{font-size:1.5em;border-bottom-width:1px;border-radius:5px}}.picker--opened .picker__holder{-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0);zoom:1;background:rgba(0,0,0,.32);transition:background .15s ease-out}.picker--opened .picker__frame{-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0);-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";filter:alpha(opacity=100);-moz-opacity:1;opacity:1}@media (min-height:33.875em){.picker--opened .picker__frame{top:auto;bottom:0}}
lib/simple-admin-pages/lib/pickadate/translations/ar.js CHANGED
@@ -1,16 +1 @@
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
- });
1
+ jQuery.extend(jQuery.fn.pickadate.defaults,{monthsFull:["يناير","فبراير","مارس","ابريل","مايو","يونيو","يوليو","اغسطس","سبتمبر","اكتوبر","نوفمبر","ديسمبر"],monthsShort:["يناير","فبراير","مارس","ابريل","مايو","يونيو","يوليو","اغسطس","سبتمبر","اكتوبر","نوفمبر","ديسمبر"],weekdaysFull:["الاحد","الاثنين","الثلاثاء","الاربعاء","الخميس","الجمعة","السبت"],weekdaysShort:["الاحد","الاثنين","الثلاثاء","الاربعاء","الخميس","الجمعة","السبت"],today:"اليوم",clear:"مسح",format:"yyyy mmmm dd",formatSubmit:"yyyy/mm/dd"}),jQuery.extend(jQuery.fn.pickatime.defaults,{clear:"مسح"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/simple-admin-pages/lib/pickadate/translations/bg_BG.js CHANGED
@@ -1,17 +1 @@
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
- });
1
+ jQuery.extend(jQuery.fn.pickadate.defaults,{monthsFull:["януари","февруари","март","април","май","юни","юли","август","септември","октомври","ноември","декември"],monthsShort:["янр","фев","мар","апр","май","юни","юли","авг","сеп","окт","ное","дек"],weekdaysFull:["неделя","понеделник","вторник","сряда","четвъртък","петък","събота"],weekdaysShort:["нд","пн","вт","ср","чт","пт","сб"],today:"днес",clear:"изтривам",firstDay:1,format:"d mmmm yyyy г.",formatSubmit:"yyyy/mm/dd"}),jQuery.extend(jQuery.fn.pickatime.defaults,{clear:"изтривам"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/simple-admin-pages/lib/pickadate/translations/bs_BA.js CHANGED
@@ -1,17 +1 @@
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
- });
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"}),jQuery.extend(jQuery.fn.pickatime.defaults,{clear:"izbrisati"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/simple-admin-pages/lib/pickadate/translations/ca_ES.js CHANGED
@@ -1,18 +1 @@
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
- close: 'tancar',
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: 'esborrar'
18
- });
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",close:"tancar",firstDay:1,format:"dddd d !de mmmm !de yyyy",formatSubmit:"yyyy/mm/dd"}),jQuery.extend(jQuery.fn.pickatime.defaults,{clear:"esborrar"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/simple-admin-pages/lib/pickadate/translations/cs_CZ.js CHANGED
@@ -1,17 +1 @@
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
- });
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"}),jQuery.extend(jQuery.fn.pickatime.defaults,{clear:"vymazat"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/simple-admin-pages/lib/pickadate/translations/da_DK.js CHANGED
@@ -1,18 +1 @@
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
- close: 'luk',
11
- firstDay: 1,
12
- format: 'd. mmmm yyyy',
13
- formatSubmit: 'yyyy/mm/dd'
14
- });
15
-
16
- jQuery.extend( jQuery.fn.pickatime.defaults, {
17
- clear: 'slet'
18
- });
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",close:"luk",firstDay:1,format:"d. mmmm yyyy",formatSubmit:"yyyy/mm/dd"}),jQuery.extend(jQuery.fn.pickatime.defaults,{clear:"slet"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/simple-admin-pages/lib/pickadate/translations/de_DE.js CHANGED
@@ -1,18 +1 @@
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
- close: 'Schließen',
11
- firstDay: 1,
12
- format: 'dddd, dd. mmmm yyyy',
13
- formatSubmit: 'yyyy/mm/dd'
14
- });
15
-
16
- jQuery.extend( jQuery.fn.pickatime.defaults, {
17
- clear: 'Löschen'
18
- });
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",close:"Schließen",firstDay:1,format:"dddd, dd. mmmm yyyy",formatSubmit:"yyyy/mm/dd"}),jQuery.extend(jQuery.fn.pickatime.defaults,{clear:"Löschen"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/simple-admin-pages/lib/pickadate/translations/el_GR.js CHANGED
@@ -1,17 +1 @@
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
- });
1
+ jQuery.extend(jQuery.fn.pickadate.defaults,{monthsFull:["Ιανουάριος","Φεβρουάριος","Μάρτιος","Απρίλιος","Μάιος","Ιούνιος","Ιούλιος","Αύγουστος","Σεπτέμβριος","Οκτώβριος","Νοέμβριος","Δεκέμβριος"],monthsShort:["Ιαν","Φεβ","Μαρ","Απρ","Μαι","Ιουν","Ιουλ","Αυγ","Σεπ","Οκτ","Νοε","Δεκ"],weekdaysFull:["Κυριακή","Δευτέρα","Τρίτη","Τετάρτη","Πέμπτη","Παρασκευή","Σάββατο"],weekdaysShort:["Κυρ","Δευ","Τρι","Τετ","Πεμ","Παρ","Σαβ"],today:"σήμερα",clear:"Διαγραφή",firstDay:1,format:"d mmmm yyyy",formatSubmit:"yyyy/mm/dd"}),jQuery.extend(jQuery.fn.pickatime.defaults,{clear:"Διαγραφή"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/simple-admin-pages/lib/pickadate/translations/es_ES.js CHANGED
@@ -1,18 +1 @@
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
- });
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",close:"cerrar",firstDay:1,format:"dddd d !de mmmm !de yyyy",formatSubmit:"yyyy/mm/dd"}),jQuery.extend(jQuery.fn.pickatime.defaults,{clear:"borrar"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/simple-admin-pages/lib/pickadate/translations/et_EE.js CHANGED
@@ -1,17 +1 @@
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
- });
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"}),jQuery.extend(jQuery.fn.pickatime.defaults,{clear:"kustutama"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/simple-admin-pages/lib/pickadate/translations/eu_ES.js CHANGED
@@ -1,17 +1 @@
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
- });
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"}),jQuery.extend(jQuery.fn.pickatime.defaults,{clear:"garbitu"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/simple-admin-pages/lib/pickadate/translations/fa_IR.js CHANGED
@@ -1,19 +1 @@
1
- // Farsi
2
-
3
- jQuery.extend( jQuery.fn.pickadate.defaults, {
4
- monthsFull: [ 'ژانویه', 'فوریه', 'مارس', 'آوریل', 'مه', 'ژوئن', 'ژوئیه', 'اوت', 'سپتامبر', 'اکتبر', 'نوامبر', 'دسامبر'],
5
- monthsShort: [ 'ژانویه', 'فوریه', 'مارس', 'آوریل', 'مه', 'ژوئن', 'ژوئیه', 'اوت', 'سپتامبر', 'اکتبر', 'نوامبر', 'دسامبر' ],
6
- weekdaysFull: [ 'یکشنبه', 'دوشنبه', 'سه شنبه', 'چهارشنبه', 'پنجشنبه', 'جمعه', 'شنبه' ],
7
- weekdaysShort: [ 'یکشنبه', 'دوشنبه', 'سه شنبه', 'چهارشنبه', 'پنجشنبه', 'جمعه', 'شنبه' ],
8
- today: 'امروز',
9
- clear: 'پاک کردن',
10
- close: 'بستن',
11
- format: 'yyyy mmmm dd',
12
- formatSubmit: 'yyyy/mm/dd',
13
- labelMonthNext: 'ماه بعدی',
14
- labelMonthPrev: 'ماه قبلی'
15
- });
16
-
17
- jQuery.extend( jQuery.fn.pickatime.defaults, {
18
- clear: 'پاک کردن'
19
- });
1
+ jQuery.extend(jQuery.fn.pickadate.defaults,{monthsFull:["ژانویه","فوریه","مارس","آوریل","مه","ژوئن","ژوئیه","اوت","سپتامبر","اکتبر","نوامبر","دسامبر"],monthsShort:["ژانویه","فوریه","مارس","آوریل","مه","ژوئن","ژوئیه","اوت","سپتامبر","اکتبر","نوامبر","دسامبر"],weekdaysFull:["یکشنبه","دوشنبه","سه شنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"],weekdaysShort:["یکشنبه","دوشنبه","سه شنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"],today:"امروز",clear:"پاک کردن",close:"بستن",format:"yyyy mmmm dd",formatSubmit:"yyyy/mm/dd",labelMonthNext:"ماه بعدی",labelMonthPrev:"ماه قبلی"}),jQuery.extend(jQuery.fn.pickatime.defaults,{clear:"پاک کردن"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/simple-admin-pages/lib/pickadate/translations/fi_FI.js CHANGED
@@ -1,17 +1 @@
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
- });
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"}),jQuery.extend(jQuery.fn.pickatime.defaults,{clear:"tyhjennä"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/simple-admin-pages/lib/pickadate/translations/fr_FR.js CHANGED
@@ -1,22 +1 @@
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
- });
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",close:"Fermer",firstDay:1,format:"dd mmmm yyyy",formatSubmit:"yyyy/mm/dd",labelMonthNext:"Mois suivant",labelMonthPrev:"Mois précédent",labelMonthSelect:"Sélectionner un mois",labelYearSelect:"Sélectionner une année"}),jQuery.extend(jQuery.fn.pickatime.defaults,{clear:"Effacer"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/simple-admin-pages/lib/pickadate/translations/gl_ES.js CHANGED
@@ -1,17 +1 @@
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
- });
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"}),jQuery.extend(jQuery.fn.pickatime.defaults,{clear:"borrar"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/simple-admin-pages/lib/pickadate/translations/he_IL.js CHANGED
@@ -1,16 +1 @@
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
- });
1
+ jQuery.extend(jQuery.fn.pickadate.defaults,{monthsFull:["ינואר","פברואר","מרץ","אפריל","מאי","יוני","יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר"],monthsShort:["ינו","פבר","מרץ","אפר","מאי","יונ","יול","אוג","ספט","אוק","נוב","דצמ"],weekdaysFull:["יום ראשון","יום שני","יום שלישי","יום רביעי","יום חמישי","יום ששי","יום שבת"],weekdaysShort:["א","ב","ג","ד","ה","ו","ש"],today:"היום",clear:"למחוק",format:"yyyy mmmmב d dddd",formatSubmit:"yyyy/mm/dd"}),jQuery.extend(jQuery.fn.pickatime.defaults,{clear:"למחוק"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/simple-admin-pages/lib/pickadate/translations/hi_IN.js CHANGED
@@ -1,20 +1 @@
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
- });
1
+ jQuery.extend(jQuery.fn.pickadate.defaults,{monthsFull:["जनवरी","फरवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्टूबर","नवम्बर","दिसम्बर"],monthsShort:["जन","फर","मार्च","अप्रैल","मई","जून","जु","अग","सित","अक्टू","नव","दिस"],weekdaysFull:["रविवार","सोमवार","मंगलवार","बुधवार","गुरुवार","शुक्रवार","शनिवार"],weekdaysShort:["रवि","सोम","मंगल","बुध","गुरु","शुक्र","शनि"],today:"आज की तारीख चयन करें",clear:"चुनी हुई तारीख को मिटाएँ",close:"विंडो बंद करे",firstDay:1,format:"dd/mm/yyyy",formatSubmit:"yyyy/mm/dd",labelMonthNext:"अगले माह का चयन करें",labelMonthPrev:"पिछले माह का चयन करें",labelMonthSelect:"किसि एक महीने का चयन करें",labelYearSelect:"किसि एक वर्ष का चयन करें"}),jQuery.extend(jQuery.fn.pickatime.defaults,{clear:"चुनी हुई तारीख को मिटाएँ"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/simple-admin-pages/lib/pickadate/translations/hr_HR.js CHANGED
@@ -1,17 +1 @@
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
- });
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"}),jQuery.extend(jQuery.fn.pickatime.defaults,{clear:"izbrisati"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/simple-admin-pages/lib/pickadate/translations/hu_HU.js CHANGED
@@ -1,17 +1 @@
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
- });
1
+ jQuery.extend(jQuery.fn.pickadate.defaults,{monthsFull:["január","február","március","április","május","június","július","augusztus","szeptember","október","november","december"],monthsShort:["jan","febr","márc","ápr","máj","jún","júl","aug","szept","okt","nov","dec"],weekdaysFull:["vasárnap","hétfő","kedd","szerda","csütörtök","péntek","szombat"],weekdaysShort:["V","H","K","SZe","CS","P","SZo"],today:"Ma",clear:"Törlés",firstDay:1,format:"yyyy. mmmm dd.",formatSubmit:"yyyy/mm/dd"}),jQuery.extend(jQuery.fn.pickatime.defaults,{clear:"Törlés"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/simple-admin-pages/lib/pickadate/translations/id_ID.js CHANGED
@@ -1,17 +1 @@
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
- });
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"}),jQuery.extend(jQuery.fn.pickatime.defaults,{clear:"menghapus"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/simple-admin-pages/lib/pickadate/translations/is_IS.js CHANGED
@@ -1,17 +1 @@
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
- });
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"}),jQuery.extend(jQuery.fn.pickatime.defaults,{clear:"Hreinsa"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/simple-admin-pages/lib/pickadate/translations/it_IT.js CHANGED
@@ -1,24 +1 @@
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: 'Cancella',
10
- close: 'Chiudi',
11
- firstDay: 1,
12
- format: 'dddd d mmmm yyyy',
13
- formatSubmit: 'yyyy/mm/dd',
14
- labelMonthNext: 'Mese successivo',
15
- labelMonthPrev: 'Mese precedente',
16
- labelMonthSelect: 'Seleziona un mese',
17
- labelYearSelect: 'Seleziona un anno'
18
- });
19
-
20
- jQuery.extend( jQuery.fn.pickatime.defaults, {
21
- clear: 'Cancella',
22
- format: 'HH:i',
23
- formatSubmit: 'HH:i'
24
- });
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:"Cancella",close:"Chiudi",firstDay:1,format:"dddd d mmmm yyyy",formatSubmit:"yyyy/mm/dd",labelMonthNext:"Mese successivo",labelMonthPrev:"Mese precedente",labelMonthSelect:"Seleziona un mese",labelYearSelect:"Seleziona un anno"}),jQuery.extend(jQuery.fn.pickatime.defaults,{clear:"Cancella",format:"HH:i",formatSubmit:"HH:i"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/simple-admin-pages/lib/pickadate/translations/ja_JP.js CHANGED
@@ -1,17 +1 @@
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
- });
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"}),jQuery.extend(jQuery.fn.pickatime.defaults,{clear:"消去"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/simple-admin-pages/lib/pickadate/translations/ko_KR.js CHANGED
@@ -1,17 +1 @@
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
- });
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"}),jQuery.extend(jQuery.fn.pickatime.defaults,{clear:"취소"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/simple-admin-pages/lib/pickadate/translations/lt_LT.js CHANGED
@@ -1,24 +1 @@
1
- // Lietuviškai
2
-
3
- jQuery.extend( jQuery.fn.pickadate.defaults, {
4
- labelMonthNext: 'Sekantis mėnuo',
5
- labelMonthPrev: 'Ankstesnis mėnuo',
6
- labelMonthSelect: 'Pasirinkite mėnesį',
7
- labelYearSelect: 'Pasirinkite metus',
8
- monthsFull: ['Sausis', 'Vasaris', 'Kovas', 'Balandis', 'Gegužė', 'Birželis', 'Liepa', 'Rugpjūtis', 'Rugsėjis', 'Spalis', 'Lapkritis', 'Gruodis'],
9
- monthsShort: ['Sau', 'Vas', 'Kov', 'Bal', 'Geg', 'Bir', 'Lie', 'Rgp', 'Rgs', 'Spa', 'Lap', 'Grd'],
10
- weekdaysFull: ['Sekmadienis', 'Pirmadienis', 'Antradienis', 'Trečiadienis', 'Ketvirtadienis', 'Penktadienis', 'Šeštadienis'],
11
- weekdaysShort: ['Sk', 'Pr', 'An', 'Tr', 'Kt', 'Pn', 'Št'],
12
- today: 'Šiandien',
13
- clear: 'Išvalyti',
14
- close: 'Uždaryti',
15
- firstDay: 1,
16
- //format: 'yyyy !m. mmmm d !d.', // need to have diffrent case of full months name
17
- format: 'yyyy-mm-dd',
18
- formatSubmit: 'yyyy/mm/dd'
19
- });
20
-
21
- jQuery.extend( jQuery.fn.pickatime.defaults, {
22
- clear: 'Išvalyti',
23
- format: 'HH:i'
24
- });
1
+ jQuery.extend(jQuery.fn.pickadate.defaults,{labelMonthNext:"Sekantis mėnuo",labelMonthPrev:"Ankstesnis mėnuo",labelMonthSelect:"Pasirinkite mėnesį",labelYearSelect:"Pasirinkite metus",monthsFull:["Sausis","Vasaris","Kovas","Balandis","Gegužė","Birželis","Liepa","Rugpjūtis","Rugsėjis","Spalis","Lapkritis","Gruodis"],monthsShort:["Sau","Vas","Kov","Bal","Geg","Bir","Lie","Rgp","Rgs","Spa","Lap","Grd"],weekdaysFull:["Sekmadienis","Pirmadienis","Antradienis","Trečiadienis","Ketvirtadienis","Penktadienis","Šeštadienis"],weekdaysShort:["Sk","Pr","An","Tr","Kt","Pn","Št"],today:"Šiandien",clear:"Išvalyti",close:"Uždaryti",firstDay:1,format:"yyyy-mm-dd",formatSubmit:"yyyy/mm/dd"}),jQuery.extend(jQuery.fn.pickatime.defaults,{clear:"Išvalyti",format:"HH:i"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/simple-admin-pages/lib/pickadate/translations/lv_LV.js CHANGED
@@ -1,13 +1 @@
1
- // Latvian
2
-
3
- jQuery.extend( jQuery.fn.pickadate.defaults, {
4
- monthsFull: [ 'Janvāris', 'Februāris', 'Marts', 'Aprīlis', 'Maijs', 'Jūnijs', 'Jūlijs', 'Augusts', 'Septembris', 'Oktobris', 'Novembris', 'Decembris' ],
5
- monthsShort: [ 'Jan', 'Feb', 'Mar', 'Apr', 'Mai', 'Jūn', 'Jūl', 'Aug', 'Sep', 'Okt', 'Nov', 'Dec' ],
6
- weekdaysFull: [ 'Svētdiena', 'Pirmdiena', 'Otrdiena', 'Trešdiena', 'Ceturtdiena', 'Piektdiena', 'Sestdiena' ],
7
- weekdaysShort: [ 'Sv', 'P', 'O', 'T', 'C', 'Pk', 'S' ],
8
- today: 'Šodiena',
9
- clear: 'Atcelt',
10
- firstDay: 1,
11
- format: 'yyyy.mm.dd. dddd',
12
- formatSubmit: 'yyyy/mm/dd'
13
- });
1
+ jQuery.extend(jQuery.fn.pickadate.defaults,{monthsFull:["Janvāris","Februāris","Marts","Aprīlis","Maijs","Jūnijs","Jūlijs","Augusts","Septembris","Oktobris","Novembris","Decembris"],monthsShort:["Jan","Feb","Mar","Apr","Mai","Jūn","Jūl","Aug","Sep","Okt","Nov","Dec"],weekdaysFull:["Svētdiena","Pirmdiena","Otrdiena","Trešdiena","Ceturtdiena","Piektdiena","Sestdiena"],weekdaysShort:["Sv","P","O","T","C","Pk","S"],today:"Šodiena",clear:"Atcelt",firstDay:1,format:"yyyy.mm.dd. dddd",formatSubmit:"yyyy/mm/dd"});
 
 
 
 
 
 
 
 
 
 
 
 
lib/simple-admin-pages/lib/pickadate/translations/nb_NO.js CHANGED
@@ -1,18 +1 @@
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
- close: 'lukk',
11
- firstDay: 1,
12
- format: 'dd. mmm. yyyy',
13
- formatSubmit: 'yyyy/mm/dd'
14
- });
15
-
16
- jQuery.extend( jQuery.fn.pickatime.defaults, {
17
- clear: 'nullstill'
18
- });
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",close:"lukk",firstDay:1,format:"dd. mmm. yyyy",formatSubmit:"yyyy/mm/dd"}),jQuery.extend(jQuery.fn.pickatime.defaults,{clear:"nullstill"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/simple-admin-pages/lib/pickadate/translations/ne_NP.js CHANGED
@@ -1,17 +1 @@
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
- });
1
+ jQuery.extend(jQuery.fn.pickadate.defaults,{monthsFull:["जनवरी","फेब्रुअरी","मार्च","अप्रिल","मे","जुन","जुलाई","अगस्त","सेप्टेम्बर","अक्टोबर","नोवेम्बर","डिसेम्बर"],monthsShort:["जन","फेब्रु","मार्च","अप्रिल","मे","जुन","जुल","अग","सेप्टे","अक्टो","नोभे","डिसे"],weekdaysFull:["सोमबार","मङ्लबार","बुधबार","बिहीबार","शुक्रबार","शनिबार","आईतबार"],weekdaysShort:["सोम","मंगल्","बुध","बिही","शुक्र","शनि","आईत"],numbers:["०","१","२","३","४","५","६","७","८","९"],today:"आज",clear:"मेटाउनुहोस्",format:"dddd, dd mmmm, yyyy",formatSubmit:"yyyy/mm/dd"}),jQuery.extend(jQuery.fn.pickatime.defaults,{clear:"मेटाउनुहोस्"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/simple-admin-pages/lib/pickadate/translations/nl_NL.js CHANGED
@@ -1,18 +1 @@
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
- close: 'sluiten',
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: 'verwijderen'
18
- });
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",close:"sluiten",firstDay:1,format:"dddd d mmmm yyyy",formatSubmit:"yyyy/mm/dd"}),jQuery.extend(jQuery.fn.pickatime.defaults,{clear:"verwijderen"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/simple-admin-pages/lib/pickadate/translations/no_NO.js CHANGED
@@ -1,18 +1 @@
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
- close: 'lukk',
11
- firstDay: 1,
12
- format: 'dd. mmm. yyyy',
13
- formatSubmit: 'yyyy/mm/dd'
14
- });
15
-
16
- jQuery.extend( jQuery.fn.pickatime.defaults, {
17
- clear: 'nullstill'
18
- });
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"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/simple-admin-pages/lib/pickadate/translations/pl_PL.js CHANGED
@@ -1,18 +1 @@
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: [ 'niedz.', 'pn.', 'wt.', 'śr.', 'cz.', 'pt.', 'sob.' ],
8
- today: 'Dzisiaj',
9
- clear: 'Usuń',
10
- close: 'Zamknij',
11
- firstDay: 1,
12
- format: 'd mmmm yyyy',
13
- formatSubmit: 'yyyy/mm/dd'
14
- });
15
-
16
- jQuery.extend( jQuery.fn.pickatime.defaults, {
17
- clear: 'usunąć'
18
- });
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:["niedz.","pn.","wt.","śr.","cz.","pt.","sob."],today:"Dzisiaj",clear:"Usuń",close:"Zamknij",firstDay:1,format:"d mmmm yyyy",formatSubmit:"yyyy/mm/dd"}),jQuery.extend(jQuery.fn.pickatime.defaults,{clear:"usunąć"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/simple-admin-pages/lib/pickadate/translations/pt_BR.js CHANGED
@@ -1,17 +1 @@
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: 'limpar',
10
- close: 'fechar',
11
- format: 'dddd, d !de mmmm !de yyyy',
12
- formatSubmit: 'yyyy/mm/dd'
13
- });
14
-
15
- jQuery.extend( jQuery.fn.pickatime.defaults, {
16
- clear: 'limpar'
17
- });
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:"limpar",close:"fechar",format:"dddd, d !de mmmm !de yyyy",formatSubmit:"yyyy/mm/dd"}),jQuery.extend(jQuery.fn.pickatime.defaults,{clear:"limpar"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/simple-admin-pages/lib/pickadate/translations/pt_PT.js CHANGED
@@ -1,17 +1 @@
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: 'Limpar',
10
- close: 'Fechar',
11
- format: 'd !de mmmm !de yyyy',
12
- formatSubmit: 'yyyy/mm/dd'
13
- });
14
-
15
- jQuery.extend( jQuery.fn.pickatime.defaults, {
16
- clear: 'Limpar'
17
- });
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:"Limpar",close:"Fechar",format:"d !de mmmm !de yyyy",formatSubmit:"yyyy/mm/dd"}),jQuery.extend(jQuery.fn.pickatime.defaults,{clear:"Limpar"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/simple-admin-pages/lib/pickadate/translations/ro_RO.js CHANGED
@@ -1,17 +1 @@
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
- });
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"}),jQuery.extend(jQuery.fn.pickatime.defaults,{clear:"șterge"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/simple-admin-pages/lib/pickadate/translations/ru_RU.js CHANGED
@@ -1,18 +1 @@
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
- });
1
+ jQuery.extend(jQuery.fn.pickadate.defaults,{monthsFull:["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"],monthsShort:["янв","фев","мар","апр","май","июн","июл","авг","сен","окт","ноя","дек"],weekdaysFull:["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"],weekdaysShort:["вс","пн","вт","ср","чт","пт","сб"],today:"сегодня",clear:"удалить",close:"закрыть",firstDay:1,format:"d mmmm yyyy г.",formatSubmit:"yyyy/mm/dd"}),jQuery.extend(jQuery.fn.pickatime.defaults,{clear:"удалить"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/simple-admin-pages/lib/pickadate/translations/sk_SK.js CHANGED
@@ -1,18 +1 @@
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
- });
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:["jan","feb","mar","apr","máj","jún","júl","aug","sep","okt","nov","dec"],weekdaysFull:["nedeľa","pondelok","utorok","streda","štvrtok","piatok","sobota"],weekdaysShort:["Ne","Po","Ut","St","Št","Pi","So"],today:"dnes",clear:"vymazať",close:"zavrieť",firstDay:1,format:"d. mmmm yyyy",formatSubmit:"yyyy/mm/dd"}),jQuery.extend(jQuery.fn.pickatime.defaults,{clear:"vymazať"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/simple-admin-pages/lib/pickadate/translations/sl_SI.js CHANGED
@@ -1,18 +1 @@
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
- close: 'zapri',
11
- firstDay: 1,
12
- format: 'd. mmmm yyyy',
13
- formatSubmit: 'yyyy/mm/dd'
14
- });
15
-
16
- jQuery.extend( jQuery.fn.pickatime.defaults, {
17
- clear: 'izbriši'
18
- });
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",close:"zapri",firstDay:1,format:"d. mmmm yyyy",formatSubmit:"yyyy/mm/dd"}),jQuery.extend(jQuery.fn.pickatime.defaults,{clear:"izbriši"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/simple-admin-pages/lib/pickadate/translations/sv_SE.js CHANGED
@@ -1,22 +1 @@
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: 'Idag',
9
- clear: 'Rensa',
10
- close: 'Stäng',
11
- firstDay: 1,
12
- format: 'yyyy-mm-dd',
13
- formatSubmit: 'yyyy/mm/dd',
14
- labelMonthNext: 'Nästa månad',
15
- labelMonthPrev: 'Föregående månad',
16
- labelMonthSelect: 'Välj månad',
17
- labelYearSelect: 'Välj år'
18
- });
19
-
20
- jQuery.extend( jQuery.fn.pickatime.defaults, {
21
- clear: 'Rensa'
22
- });
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:"Idag",clear:"Rensa",close:"Stäng",firstDay:1,format:"yyyy-mm-dd",formatSubmit:"yyyy/mm/dd",labelMonthNext:"Nästa månad",labelMonthPrev:"Föregående månad",labelMonthSelect:"Välj månad",labelYearSelect:"Välj år"}),jQuery.extend(jQuery.fn.pickatime.defaults,{clear:"Rensa"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/simple-admin-pages/lib/pickadate/translations/th_TH.js CHANGED
@@ -1,16 +1 @@
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
- });
1
+ jQuery.extend(jQuery.fn.pickadate.defaults,{monthsFull:["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"],monthsShort:["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค."],weekdaysFull:["อาทติย","จันทร","องัคาร","พุธ","พฤหสั บดี","ศกุร","เสาร"],weekdaysShort:["อ.","จ.","อ.","พ.","พฤ.","ศ.","ส."],today:"วันนี้",clear:"ลบ",format:"d mmmm yyyy",formatSubmit:"yyyy/mm/dd"}),jQuery.extend(jQuery.fn.pickatime.defaults,{clear:"ลบ"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/simple-admin-pages/lib/pickadate/translations/tr_TR.js CHANGED
@@ -1,18 +1 @@
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
- close: 'Kapat',
11
- firstDay: 1,
12
- format: 'dd mmmm yyyy dddd',
13
- formatSubmit: 'yyyy/mm/dd'
14
- });
15
-
16
- jQuery.extend( jQuery.fn.pickatime.defaults, {
17
- clear: 'sil'
18
- });
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",close:"Kapat",firstDay:1,format:"dd mmmm yyyy dddd",formatSubmit:"yyyy/mm/dd"}),jQuery.extend(jQuery.fn.pickatime.defaults,{clear:"sil"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/simple-admin-pages/lib/pickadate/translations/uk_UA.js CHANGED
@@ -1,17 +1 @@
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
- });
1
+ jQuery.extend(jQuery.fn.pickadate.defaults,{monthsFull:["січень","лютий","березень","квітень","травень","червень","липень","серпень","вересень","жовтень","листопад","грудень"],monthsShort:["січ","лют","бер","кві","тра","чер","лип","сер","вер","жов","лис","гру"],weekdaysFull:["неділя","понеділок","вівторок","середа","четвер","п‘ятниця","субота"],weekdaysShort:["нд","пн","вт","ср","чт","пт","сб"],today:"сьогодні",clear:"викреслити",firstDay:1,format:"dd mmmm yyyy p.",formatSubmit:"yyyy/mm/dd"}),jQuery.extend(jQuery.fn.pickatime.defaults,{clear:"викреслити"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/simple-admin-pages/lib/pickadate/translations/vi_VN.js CHANGED
@@ -1,15 +1 @@
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
- });
1
+ jQuery.extend(jQuery.fn.pickadate.defaults,{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"],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"],weekdaysFull:["Chủ Nhật","Thứ Hai","Thứ Ba","Thứ Tư","Thứ Năm","Thứ Sáu","Thứ Bảy"],weekdaysShort:["C.Nhật","T.Hai","T.Ba","T.Tư","T.Năm","T.Sáu","T.Bảy"],today:"Hôm Nay",clear:"Xoá",firstDay:1}),jQuery.extend(jQuery.fn.pickatime.defaults,{clear:"Xoá"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/simple-admin-pages/lib/pickadate/translations/zh_CN.js CHANGED
@@ -1,18 +1 @@
1
- // Simplified Chinese
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: 'yyyy 年 mm 月 dd 日',
13
- formatSubmit: 'yyyy/mm/dd'
14
- });
15
-
16
- jQuery.extend( jQuery.fn.pickatime.defaults, {
17
- clear: '清除'
18
- });
1
+ jQuery.extend(jQuery.fn.pickadate.defaults,{monthsFull:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthsShort:["一","二","三","四","五","六","七","八","九","十","十一","十二"],weekdaysFull:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],weekdaysShort:["日","一","二","三","四","五","六"],today:"今日",clear:"清除",close:"关闭",firstDay:1,format:"yyyy mm 月 dd 日",formatSubmit:"yyyy/mm/dd"}),jQuery.extend(jQuery.fn.pickatime.defaults,{clear:"清除"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/simple-admin-pages/lib/pickadate/translations/zh_TW.js CHANGED
@@ -1,18 +1 @@
1
- // Traditional Chinese
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: 'yyyy 年 mm 月 dd 日',
13
- formatSubmit: 'yyyy/mm/dd'
14
- });
15
-
16
- jQuery.extend( jQuery.fn.pickatime.defaults, {
17
- clear: '清除'
18
- });
1
+ jQuery.extend(jQuery.fn.pickadate.defaults,{monthsFull:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthsShort:["一","二","三","四","五","六","七","八","九","十","十一","十二"],weekdaysFull:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],weekdaysShort:["日","一","二","三","四","五","六"],today:"今天",clear:"清除",close:"关闭",firstDay:1,format:"yyyy mm 月 dd 日",formatSubmit:"yyyy/mm/dd"}),jQuery.extend(jQuery.fn.pickatime.defaults,{clear:"清除"});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.2.2
7
  Tags: restaurant, reservations, bookings, table bookings, restaurant reservation, table reservation
8
- Stable tag: 1.4.7
9
  License: GPLv2 or later
10
  Donate link: http://themeofthecrop.com
11
 
@@ -106,6 +106,15 @@ The addon, [Custom Fields for Restaurant Reservations](http://themeofthecrop.com
106
 
107
  == Changelog ==
108
 
 
 
 
 
 
 
 
 
 
109
  = 1.4.7 (2015-07-02) =
110
  * Add: Spanish translation from Joaqin Sanz Boixader
111
  * Fix: Sorting of bookings by date and name in list table broken
@@ -231,6 +240,9 @@ The addon, [Custom Fields for Restaurant Reservations](http://themeofthecrop.com
231
 
232
  == Upgrade Notice ==
233
 
 
 
 
234
  = 1.4.7 =
235
  This update fixes a bug that prevented bookings from being sorted by date or name in the admin panel. It also updates some translations and improves support for custom late bookings values.
236
 
3
  Author URI: https://github.com/NateWr
4
  Plugin URL: http://themeofthecrop.com
5
  Requires at Least: 3.8
6
+ Tested Up To: 4.3
7
  Tags: restaurant, reservations, bookings, table bookings, restaurant reservation, table reservation
8
+ Stable tag: 1.4.8
9
  License: GPLv2 or later
10
  Donate link: http://themeofthecrop.com
11
 
106
 
107
  == Changelog ==
108
 
109
+ = 1.4.8 (2015-08-20) =
110
+ * Add: WPML config file for improved multi-lingual compatibility
111
+ * Add: Danish translation by Yusef Mubeen
112
+ * Fix: Allow bookings managers to bypass early/late bookings restrictions
113
+ * Fix: No times available when latest time falls between last interval and midnight
114
+ * Updated: Improve bookings message view on small screens (adapt to 4.3 style)
115
+ * Updated: Simple Admin Pages lib to v2.0.a.10
116
+ * Updated: Dutch translation h/t Roy van den Houten and Clements Tolboom
117
+
118
  = 1.4.7 (2015-07-02) =
119
  * Add: Spanish translation from Joaqin Sanz Boixader
120
  * Fix: Sorting of bookings by date and name in list table broken
240
 
241
  == Upgrade Notice ==
242
 
243
+ = 1.4.8 =
244
+ This update fixes a bug that prevented bookings managers from editing bookings within the early/late schedule restrictions. It also fixed a bug with late opening times, added a WPML config file for better multi-lingual compatibility, updated translations, and improved the mobile view of the bookings list.
245
+
246
  = 1.4.7 =
247
  This update fixes a bug that prevented bookings from being sorted by date or name in the admin panel. It also updates some translations and improves support for custom late bookings values.
248
 
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.4.7
7
  * Author: Theme of the Crop
8
  * Author URI: http://themeofthecrop.com
9
  * License: GNU General Public License v2.0 or later
3
  * Plugin Name: Restaurant Reservations
4
  * Plugin URI: http://themeofthecrop.com
5
  * Description: Accept restaurant reservations and bookings online.
6
+ * Version: 1.4.8
7
  * Author: Theme of the Crop
8
  * Author URI: http://themeofthecrop.com
9
  * License: GNU General Public License v2.0 or later
wpml-config.xml ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <wpml-config>
2
+ <admin-texts>
3
+ <key name="rtb-settings">
4
+ <key name="booking-page" />
5
+ <key name="success-message" />
6
+ <key name="date-format" />
7
+ <key name="time-format" />
8
+ <key name="i8n" />
9
+ <key name="reply-to-name" />
10
+ <key name="subject-booking-admin" />
11
+ <key name="template-booking-admin" />
12
+ <key name="subject-booking-user" />
13
+ <key name="template-booking-user" />
14
+ <key name="subject-confirmed-user" />
15
+ <key name="template-confirmed-user" />
16
+ <key name="subject-rejected-user" />
17
+ <key name="template-rejected-user" />
18
+ </key>
19
+ </admin-texts>
20
+ </wpml-config>