Meta Box - Version 4.10

Version Description

Download this release

Release Info

Developer rilwis
Plugin Icon 128x128 Meta Box
Version 4.10
Comparing to
See all releases

Code changes from version 4.9.8 to 4.10

css/media.css CHANGED
@@ -70,12 +70,3 @@
70
  padding-left: 5px;
71
  margin-right: 5px;
72
  }
73
-
74
- /* Status */
75
- .rwmb-media-status {
76
- display: inline-block;
77
- text-decoration: none;
78
- font-size: 13px;
79
- line-height: 26px;
80
- height: 28px;
81
- }
70
  padding-left: 5px;
71
  margin-right: 5px;
72
  }
 
 
 
 
 
 
 
 
 
css/video.css ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Video */
2
+ .rwmb-video-item {
3
+ position: relative;
4
+ float: left;
5
+ padding: 0;
6
+ margin: 0 5px 5px 0;
7
+ box-sizing: border-box;
8
+ width: 300px;
9
+ }
10
+
11
+ .rwmb-video-item .rwmb-media-preview {
12
+ width: 100%;
13
+ float: none;
14
+ background: #EEE;
15
+ }
16
+
17
+ .rwmb-video-item .rwmb-media-preview:before {
18
+ padding-top: 56.25%;
19
+ }
20
+
21
+ .rwmb-video-item video {
22
+ width: auto;
23
+ height: 100%;
24
+ }
25
+
26
+ .rwmb-media-content .rwmb-video-wrapper {
27
+ -webkit-transform: translate(-50%, -50%);
28
+ -ms-transform: translate(-50%, -50%);
29
+ transform: translate(-50%, -50%);
30
+ max-height: 100%;
31
+ max-width: 100%;
32
+ border-radius: 3px;
33
+ }
34
+
35
+ .rwmb-video-item .rwmb-media-info {
36
+ margin-left: 0;
37
+ float: none;
38
+ background: #FFF;
39
+ padding: 10px;
40
+ }
41
+
42
+ .rwmb-video-item .rwmb-media-info h4 {
43
+ white-space: nowrap;
44
+ overflow: hidden;
45
+ display: block;
46
+ text-overflow: ellipsis;
47
+ }
inc/clone.php CHANGED
@@ -70,6 +70,10 @@ class RWMB_Clone {
70
  * @return mixed
71
  */
72
  public static function value( $new, $old, $post_id, $field ) {
 
 
 
 
73
  foreach ( $new as $key => $value ) {
74
  $old_value = isset( $old[ $key ] ) ? $old[ $key ] : null;
75
  $value = RWMB_Field::call( $field, 'value', $value, $old_value, $post_id );
70
  * @return mixed
71
  */
72
  public static function value( $new, $old, $post_id, $field ) {
73
+ if ( ! is_array( $new ) ) {
74
+ return array();
75
+ }
76
+
77
  foreach ( $new as $key => $value ) {
78
  $old_value = isset( $old[ $key ] ) ? $old[ $key ] : null;
79
  $value = RWMB_Field::call( $field, 'value', $value, $old_value, $post_id );
inc/field.php CHANGED
@@ -19,16 +19,20 @@ abstract class RWMB_Field {
19
  }
20
 
21
  /**
22
- * ELocalize scripts
 
 
 
 
 
 
23
  */
24
  public static function localize_script( $handle, $name, $data ) {
25
- /**
26
- * Prevent loading localized string twice.
27
- *
28
- * @link https://github.com/rilwis/meta-box/issues/850
29
  */
30
- $wp_scripts = wp_scripts();
31
- if ( ! $wp_scripts->get_data( $handle, 'data' ) ) {
32
  wp_localize_script( $handle, $name, $data );
33
  }
34
  }
@@ -390,7 +394,7 @@ abstract class RWMB_Field {
390
  }
391
 
392
  // Get raw meta value in the database, no escape
393
- $value = RWMB_Field::call( $field, 'raw_meta', $post_id );
394
 
395
  // Make sure meta value is an array for cloneable and multiple fields
396
  if ( $field['clone'] || $field['multiple'] ) {
@@ -477,6 +481,26 @@ abstract class RWMB_Field {
477
  return call_user_func_array( array( self::get_class_name( $field ), $method ), $args );
478
  }
479
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
480
  /**
481
  * Get field class name
482
  *
@@ -484,13 +508,7 @@ abstract class RWMB_Field {
484
  * @return string Field class name
485
  */
486
  public static function get_class_name( $field ) {
487
- $type = $field['type'];
488
- if ( 'file_advanced' == $field['type'] ) {
489
- $type = 'media';
490
- }
491
- if ( 'plupload_image' == $field['type'] ) {
492
- $type = 'image_upload';
493
- }
494
  $type = str_replace( array( '-', '_' ), ' ', $type );
495
  $class = 'RWMB_' . ucwords( $type ) . '_Field';
496
  $class = str_replace( ' ', '_', $class );
19
  }
20
 
21
  /**
22
+ * Localize scripts with prevention of loading localized data twice.
23
+ *
24
+ * @link https://github.com/rilwis/meta-box/issues/850
25
+ *
26
+ * @param string $handle Script handle.
27
+ * @param string $name Object name.
28
+ * @param mixed $data Localized data.
29
  */
30
  public static function localize_script( $handle, $name, $data ) {
31
+ /*
32
+ * Check with function_exists to make it work in WordPress 4.1
33
+ * @link https://github.com/rilwis/meta-box/issues/1009
 
34
  */
35
+ if ( ! function_exists( 'wp_scripts' ) || ! wp_scripts()->get_data( $handle, 'data' ) ) {
 
36
  wp_localize_script( $handle, $name, $data );
37
  }
38
  }
394
  }
395
 
396
  // Get raw meta value in the database, no escape
397
+ $value = self::call( $field, 'raw_meta', $post_id );
398
 
399
  // Make sure meta value is an array for cloneable and multiple fields
400
  if ( $field['clone'] || $field['multiple'] ) {
481
  return call_user_func_array( array( self::get_class_name( $field ), $method ), $args );
482
  }
483
 
484
+ /**
485
+ * Map types
486
+ *
487
+ * @param array $field Field array
488
+ * @return string Field mapped type
489
+ */
490
+ public static function map_types( $field ) {
491
+ $type = isset( $field['type'] ) ? $field['type'] : 'input';
492
+ $type_map = apply_filters(
493
+ 'rwmb_type_map',
494
+ array(
495
+ 'file_advanced' => 'media',
496
+ 'plupload_image' => 'image_upload',
497
+ 'url' => 'text'
498
+ )
499
+ );
500
+
501
+ return isset( $type_map[ $type ] ) ? $type_map[ $type ] : $type;
502
+ }
503
+
504
  /**
505
  * Get field class name
506
  *
508
  * @return string Field class name
509
  */
510
  public static function get_class_name( $field ) {
511
+ $type = self::map_types( $field );
 
 
 
 
 
 
512
  $type = str_replace( array( '-', '_' ), ' ', $type );
513
  $class = 'RWMB_' . ucwords( $type ) . '_Field';
514
  $class = str_replace( ' ', '_', $class );
inc/fields/datetime.php CHANGED
@@ -13,18 +13,18 @@ class RWMB_Datetime_Field extends RWMB_Text_Field {
13
  * @var array
14
  */
15
  protected static $date_formats = array(
16
- 'd' => 'j',
17
- 'dd' => 'd',
18
- 'oo' => 'z',
19
- 'D' => 'D',
20
- 'DD' => 'l',
21
- 'm' => 'n',
22
- 'mm' => 'm',
23
- 'M' => 'M',
24
- 'MM' => 'F',
25
- 'y' => 'y',
26
- 'yy' => 'Y',
27
- 'o' => 'z',
28
  );
29
 
30
  /**
@@ -36,18 +36,18 @@ class RWMB_Datetime_Field extends RWMB_Text_Field {
36
  */
37
  protected static $time_formats = array(
38
  'H' => 'G',
39
- 'HH' => 'H',
40
- 'h' => 'g',
41
- 'hh' => 'h',
42
  'mm' => 'i',
43
- 'ss' => 's',
44
- 'l' => 'u',
45
- 'tt' => 'a',
46
- 'TT' => 'A',
47
  );
48
 
49
  /**
50
- * Register scripts and styles
51
  */
52
  public static function admin_register_scripts() {
53
  $url = RWMB_CSS_URL . 'jqueryui';
@@ -59,21 +59,14 @@ class RWMB_Datetime_Field extends RWMB_Text_Field {
59
  wp_register_style( 'jquery-ui-timepicker', "$url/jquery-ui-timepicker-addon.min.css", array( 'jquery-ui-datepicker', 'jquery-ui-slider', 'wp-datepicker' ), '1.5.0' );
60
 
61
  $url = RWMB_JS_URL . 'jqueryui';
62
- wp_register_script( 'jquery-ui-datepicker-i18n', "$url/jquery-ui-i18n.min.js", array( 'jquery-ui-datepicker' ), '1.11.4', true );
63
  wp_register_script( 'jquery-ui-timepicker', "$url/jquery-ui-timepicker-addon.min.js", array( 'jquery-ui-datepicker', 'jquery-ui-slider' ), '1.5.0', true );
64
  wp_register_script( 'jquery-ui-timepicker-i18n', "$url/jquery-ui-timepicker-addon-i18n.min.js", array( 'jquery-ui-timepicker' ), '1.5.0', true );
65
 
66
- wp_register_script( 'rwmb-datetime', RWMB_JS_URL . 'datetime.js', array( 'jquery-ui-datepicker-i18n', 'jquery-ui-timepicker-i18n' ), RWMB_VER, true );
67
- wp_register_script( 'rwmb-date', RWMB_JS_URL . 'date.js', array( 'jquery-ui-datepicker-i18n', 'jquery-ui-timepicker-i18n' ), RWMB_VER, true );
68
  wp_register_script( 'rwmb-time', RWMB_JS_URL . 'time.js', array( 'jquery-ui-timepicker-i18n' ), RWMB_VER, true );
69
 
70
- /**
71
- * Add data to scripts. Prevent loading localized string twice.
72
- *
73
- * @link https://github.com/rilwis/meta-box/issues/850
74
- */
75
- $wp_scripts = wp_scripts();
76
- $handles = array( 'datetime', 'date', 'time' );
77
  $locale = str_replace( '_', '-', get_locale() );
78
  $locale_short = substr( $locale, 0, 2 );
79
  $data = array(
13
  * @var array
14
  */
15
  protected static $date_formats = array(
16
+ 'd' => 'j',
17
+ 'dd' => 'd',
18
+ 'oo' => 'z',
19
+ 'D' => 'D',
20
+ 'DD' => 'l',
21
+ 'm' => 'n',
22
+ 'mm' => 'm',
23
+ 'M' => 'M',
24
+ 'MM' => 'F',
25
+ 'y' => 'y',
26
+ 'yy' => 'Y',
27
+ 'o' => 'z',
28
  );
29
 
30
  /**
36
  */
37
  protected static $time_formats = array(
38
  'H' => 'G',
39
+ 'HH' => 'H',
40
+ 'h' => 'g',
41
+ 'hh' => 'h',
42
  'mm' => 'i',
43
+ 'ss' => 's',
44
+ 'l' => 'u',
45
+ 'tt' => 'a',
46
+ 'TT' => 'A',
47
  );
48
 
49
  /**
50
+ * Register scripts and styles.
51
  */
52
  public static function admin_register_scripts() {
53
  $url = RWMB_CSS_URL . 'jqueryui';
59
  wp_register_style( 'jquery-ui-timepicker', "$url/jquery-ui-timepicker-addon.min.css", array( 'jquery-ui-datepicker', 'jquery-ui-slider', 'wp-datepicker' ), '1.5.0' );
60
 
61
  $url = RWMB_JS_URL . 'jqueryui';
 
62
  wp_register_script( 'jquery-ui-timepicker', "$url/jquery-ui-timepicker-addon.min.js", array( 'jquery-ui-datepicker', 'jquery-ui-slider' ), '1.5.0', true );
63
  wp_register_script( 'jquery-ui-timepicker-i18n', "$url/jquery-ui-timepicker-addon-i18n.min.js", array( 'jquery-ui-timepicker' ), '1.5.0', true );
64
 
65
+ wp_register_script( 'rwmb-datetime', RWMB_JS_URL . 'datetime.js', array( 'jquery-ui-datepicker', 'jquery-ui-timepicker-i18n' ), RWMB_VER, true );
66
+ wp_register_script( 'rwmb-date', RWMB_JS_URL . 'date.js', array( 'jquery-ui-datepicker' ), RWMB_VER, true );
67
  wp_register_script( 'rwmb-time', RWMB_JS_URL . 'time.js', array( 'jquery-ui-timepicker-i18n' ), RWMB_VER, true );
68
 
69
+ $handles = array( 'datetime', 'time' );
 
 
 
 
 
 
70
  $locale = str_replace( '_', '-', get_locale() );
71
  $locale_short = substr( $locale, 0, 2 );
72
  $data = array(
inc/fields/taxonomy-advanced.php CHANGED
@@ -1,8 +1,25 @@
1
  <?php
2
  /**
3
- * Taxonomy advanced field class which saves terms' IDs in the post meta.
 
 
 
 
 
 
4
  */
5
  class RWMB_Taxonomy_Advanced_Field extends RWMB_Taxonomy_Field {
 
 
 
 
 
 
 
 
 
 
 
6
 
7
  /**
8
  * Get meta values to save
@@ -31,7 +48,8 @@ class RWMB_Taxonomy_Advanced_Field extends RWMB_Taxonomy_Field {
31
  public static function save( $new, $old, $post_id, $field ) {
32
  if ( $new ) {
33
  update_post_meta( $post_id, $field['id'], $new );
34
- } else { delete_post_meta( $post_id, $field['id'] );
 
35
  }
36
  }
37
 
@@ -46,6 +64,7 @@ class RWMB_Taxonomy_Advanced_Field extends RWMB_Taxonomy_Field {
46
  public static function raw_meta( $post_id, $field ) {
47
  $meta = get_post_meta( $post_id, $field['id'], true );
48
  $meta = wp_parse_id_list( $meta );
 
49
  return array_filter( $meta );
50
  }
51
 
@@ -80,6 +99,7 @@ class RWMB_Taxonomy_Advanced_Field extends RWMB_Taxonomy_Field {
80
  if ( ! $field['clone'] && ! $field['multiple'] ) {
81
  $value = reset( $value );
82
  }
 
83
  return $value;
84
  }
85
  }
1
  <?php
2
  /**
3
+ * Taxonomy advanced field which saves terms' IDs in the post meta in CSV format.
4
+ *
5
+ * @package Meta Box
6
+ */
7
+
8
+ /**
9
+ * The taxonomy advanced field class.
10
  */
11
  class RWMB_Taxonomy_Advanced_Field extends RWMB_Taxonomy_Field {
12
+ public static function normalize( $field ) {
13
+ $field = wp_parse_args( $field, array(
14
+ 'clone' => false,
15
+ ) );
16
+
17
+ $clone = $field['clone'];
18
+ $field = parent::normalize( $field );
19
+ $field['clone'] = $clone;
20
+
21
+ return $field;
22
+ }
23
 
24
  /**
25
  * Get meta values to save
48
  public static function save( $new, $old, $post_id, $field ) {
49
  if ( $new ) {
50
  update_post_meta( $post_id, $field['id'], $new );
51
+ } else {
52
+ delete_post_meta( $post_id, $field['id'] );
53
  }
54
  }
55
 
64
  public static function raw_meta( $post_id, $field ) {
65
  $meta = get_post_meta( $post_id, $field['id'], true );
66
  $meta = wp_parse_id_list( $meta );
67
+
68
  return array_filter( $meta );
69
  }
70
 
99
  if ( ! $field['clone'] && ! $field['multiple'] ) {
100
  $value = reset( $value );
101
  }
102
+
103
  return $value;
104
  }
105
  }
inc/fields/video.php ADDED
@@ -0,0 +1,128 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Video field which uses WordPress media popup to upload and select video.
4
+ *
5
+ * @package Meta Box
6
+ */
7
+
8
+ /**
9
+ * The video field class.
10
+ */
11
+ class RWMB_Video_Field extends RWMB_Media_Field {
12
+ /**
13
+ * Enqueue scripts and styles
14
+ *
15
+ * @return void
16
+ */
17
+ public static function admin_enqueue_scripts() {
18
+ parent::admin_enqueue_scripts();
19
+ wp_enqueue_style( 'rwmb-video', RWMB_CSS_URL . 'video.css', array( 'rwmb-media' ), RWMB_VER );
20
+ wp_enqueue_script( 'rwmb-video', RWMB_JS_URL . 'video.js', array( 'rwmb-media' ), RWMB_VER, true );
21
+ self::localize_script( 'rwmb-video', 'i18nRwmbVideo', array(
22
+ 'extensions' => wp_get_video_extensions(),
23
+ ) );
24
+ }
25
+
26
+ /**
27
+ * Normalize parameters for field
28
+ *
29
+ * @param array $field
30
+ *
31
+ * @return array
32
+ */
33
+ public static function normalize( $field ) {
34
+ $field = parent::normalize( $field );
35
+ $field['mime_type'] = 'video';
36
+
37
+ return $field;
38
+ }
39
+
40
+ /**
41
+ * Get uploaded file information.
42
+ *
43
+ * @param int $file_id Attachment image ID (post ID). Required.
44
+ * @param array $args Array of arguments (for size).
45
+ *
46
+ * @return array|bool False if file not found. Array of image info on success
47
+ */
48
+ public static function file_info( $file_id, $args = array() ) {
49
+ if ( ! $path = get_attached_file( $file_id ) ) {
50
+ return false;
51
+ }
52
+ $attachment = get_post( $file_id );
53
+ $url = wp_get_attachment_url( $attachment->ID );
54
+ $file_type = wp_check_filetype( $url, wp_get_mime_types() );
55
+ $data = array(
56
+ 'ID' => $file_id,
57
+ 'src' => $url,
58
+ 'type' => $file_type['type'],
59
+ 'title' => $attachment->post_title,
60
+ 'caption' => $attachment->post_excerpt,
61
+ 'description' => $attachment->post_content,
62
+ );
63
+
64
+ $data['meta'] = array();
65
+ $meta = wp_get_attachment_metadata( $attachment->ID );
66
+ if ( ! empty( $meta ) ) {
67
+ foreach ( wp_get_attachment_id3_keys( $attachment ) as $key => $label ) {
68
+ if ( ! empty( $meta[ $key ] ) ) {
69
+ $data['meta'][ $key ] = $meta[ $key ];
70
+ }
71
+ }
72
+
73
+ if ( ! empty( $meta['width'] ) && ! empty( $meta['height'] ) ) {
74
+ $data['dimensions'] = array(
75
+ 'width' => $meta['width'],
76
+ 'height' => $meta['height'],
77
+ );
78
+ } else {
79
+ $data['dimensions'] = array(
80
+ 'width' => 640,
81
+ 'height' => 360,
82
+ );
83
+ }
84
+ }
85
+
86
+ $thumb_id = get_post_thumbnail_id( $attachment->ID );
87
+ if ( ! empty( $thumb_id ) ) {
88
+ list( $src, $width, $height ) = wp_get_attachment_image_src( $thumb_id, 'full' );
89
+ $data['image'] = compact( 'src', 'width', 'height' );
90
+ list( $src, $width, $height ) = wp_get_attachment_image_src( $thumb_id, 'thumbnail' );
91
+ $data['thumb'] = compact( 'src', 'width', 'height' );
92
+ } else {
93
+ $src = wp_mime_type_icon( $attachment->ID );
94
+ $width = 48;
95
+ $height = 64;
96
+ $data['image'] = compact( 'src', 'width', 'height' );
97
+ $data['thumb'] = compact( 'src', 'width', 'height' );
98
+ }
99
+
100
+ return $data;
101
+ }
102
+
103
+ /**
104
+ * Format a single value for the helper functions.
105
+ *
106
+ * @param array $field Field parameter
107
+ * @param array $value The value
108
+ *
109
+ * @return string
110
+ */
111
+ public static function format_single_value( $field, $value ) {
112
+ $ids = implode( ',', wp_list_pluck( $value, 'ID' ) );
113
+
114
+ return wp_playlist_shortcode( array(
115
+ 'ids' => $ids,
116
+ 'type' => 'video',
117
+ ) );
118
+ }
119
+
120
+ /**
121
+ * Template for media item
122
+ * @return void
123
+ */
124
+ public static function print_templates() {
125
+ parent::print_templates();
126
+ require_once( RWMB_INC_DIR . 'templates/video.php' );
127
+ }
128
+ }
inc/loader.php CHANGED
@@ -19,7 +19,7 @@ class RWMB_Loader {
19
  */
20
  protected function constants() {
21
  // Script version, used to add version for scripts and styles
22
- define( 'RWMB_VER', '4.9.8' );
23
 
24
  list( $path, $url ) = self::get_path( dirname( dirname( __FILE__ ) ) );
25
 
19
  */
20
  protected function constants() {
21
  // Script version, used to add version for scripts and styles
22
+ define( 'RWMB_VER', '4.10' );
23
 
24
  list( $path, $url ) = self::get_path( dirname( dirname( __FILE__ ) ) );
25
 
inc/meta-box.php CHANGED
@@ -1,5 +1,4 @@
1
  <?php
2
-
3
  /**
4
  * A class to rapid develop meta boxes for custom & built in content types
5
  * Piggybacks on WordPress
@@ -8,8 +7,13 @@
8
  * @license GNU GPL2+
9
  * @package Meta Box
10
  */
11
- class RW_Meta_Box {
12
 
 
 
 
 
 
 
13
  /**
14
  * @var array Meta box information
15
  */
@@ -37,15 +41,30 @@ class RW_Meta_Box {
37
  $this->meta_box = $meta_box;
38
  $this->fields = &$this->meta_box['fields'];
39
 
40
- // Allow users to show/hide meta box
41
- // 1st action applies to all meta boxes
42
- // 2nd action applies to only current meta box
43
- $show = apply_filters( 'rwmb_show', true, $this->meta_box );
44
- $show = apply_filters( "rwmb_show_{$this->meta_box['id']}", $show, $this->meta_box );
45
- if ( ! $show ) {
46
- return;
47
  }
 
48
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
49
  // Enqueue common styles and scripts
50
  add_action( 'admin_enqueue_scripts', array( $this, 'enqueue' ) );
51
 
@@ -53,7 +72,13 @@ class RW_Meta_Box {
53
  foreach ( $this->fields as $field ) {
54
  RWMB_Field::call( $field, 'add_actions' );
55
  }
 
56
 
 
 
 
 
 
57
  // Add meta box
58
  add_action( 'add_meta_boxes', array( $this, 'add_meta_boxes' ) );
59
 
@@ -131,7 +156,7 @@ class RW_Meta_Box {
131
  /**
132
  * Hide meta box if it's set 'default_hidden'
133
  *
134
- * @param array $hidden Array of default hidden meta boxes
135
  * @param object $screen Current screen information
136
  *
137
  * @return array
@@ -231,6 +256,7 @@ class RW_Meta_Box {
231
  */
232
  protected function validate() {
233
  $nonce = (string) filter_input( INPUT_POST, "nonce_{$this->meta_box['id']}" );
 
234
  return
235
  true !== $this->saved
236
  && ( ! defined( 'DOING_AUTOSAVE' ) || $this->meta_box['autosave'] )
@@ -241,6 +267,7 @@ class RW_Meta_Box {
241
  * Normalize parameters for meta box
242
  *
243
  * @param array $meta_box Meta box definition
 
244
  * @return array $meta_box Normalized meta box
245
  */
246
  public static function normalize( $meta_box ) {
@@ -273,6 +300,7 @@ class RW_Meta_Box {
273
  * Normalize an array of fields
274
  *
275
  * @param array $fields Array of fields
 
276
  * @return array $fields Normalized fields
277
  */
278
  public static function normalize_fields( $fields ) {
@@ -319,12 +347,14 @@ class RW_Meta_Box {
319
  * Check if we're on the right edit screen.
320
  *
321
  * @param WP_Screen $screen Screen object. Optional. Use current screen object by default.
 
322
  * @return bool
323
  */
324
  public function is_edit_screen( $screen = null ) {
325
  if ( ! ( $screen instanceof WP_Screen ) ) {
326
  $screen = get_current_screen();
327
  }
 
328
  return 'post' == $screen->base && in_array( $screen->post_type, $this->meta_box['post_types'] );
329
  }
330
  }
1
  <?php
 
2
  /**
3
  * A class to rapid develop meta boxes for custom & built in content types
4
  * Piggybacks on WordPress
7
  * @license GNU GPL2+
8
  * @package Meta Box
9
  */
 
10
 
11
+ /**
12
+ * The main meta box class.
13
+ *
14
+ * @package Meta Box
15
+ */
16
+ class RW_Meta_Box {
17
  /**
18
  * @var array Meta box information
19
  */
41
  $this->meta_box = $meta_box;
42
  $this->fields = &$this->meta_box['fields'];
43
 
44
+ if ( $this->is_shown() ) {
45
+ $this->global_hooks();
46
+ $this->object_hooks();
 
 
 
 
47
  }
48
+ }
49
 
50
+ /**
51
+ * Conditional check for whether initializing meta box.
52
+ *
53
+ * - 1st filter applies to all meta boxes
54
+ * - 2nd filter applies to only current meta box
55
+ *
56
+ * @return bool
57
+ */
58
+ protected function is_shown() {
59
+ $show = apply_filters( 'rwmb_show', true, $this->meta_box );
60
+
61
+ return apply_filters( "rwmb_show_{$this->meta_box['id']}", $show, $this->meta_box );
62
+ }
63
+
64
+ /**
65
+ * Add global hooks.
66
+ */
67
+ protected function global_hooks() {
68
  // Enqueue common styles and scripts
69
  add_action( 'admin_enqueue_scripts', array( $this, 'enqueue' ) );
70
 
72
  foreach ( $this->fields as $field ) {
73
  RWMB_Field::call( $field, 'add_actions' );
74
  }
75
+ }
76
 
77
+ /**
78
+ * Specific hooks for meta box object. Default is 'post'.
79
+ * This should be extended in sub-classes to support meta fields for terms, user, settings pages, etc.
80
+ */
81
+ protected function object_hooks() {
82
  // Add meta box
83
  add_action( 'add_meta_boxes', array( $this, 'add_meta_boxes' ) );
84
 
156
  /**
157
  * Hide meta box if it's set 'default_hidden'
158
  *
159
+ * @param array $hidden Array of default hidden meta boxes
160
  * @param object $screen Current screen information
161
  *
162
  * @return array
256
  */
257
  protected function validate() {
258
  $nonce = (string) filter_input( INPUT_POST, "nonce_{$this->meta_box['id']}" );
259
+
260
  return
261
  true !== $this->saved
262
  && ( ! defined( 'DOING_AUTOSAVE' ) || $this->meta_box['autosave'] )
267
  * Normalize parameters for meta box
268
  *
269
  * @param array $meta_box Meta box definition
270
+ *
271
  * @return array $meta_box Normalized meta box
272
  */
273
  public static function normalize( $meta_box ) {
300
  * Normalize an array of fields
301
  *
302
  * @param array $fields Array of fields
303
+ *
304
  * @return array $fields Normalized fields
305
  */
306
  public static function normalize_fields( $fields ) {
347
  * Check if we're on the right edit screen.
348
  *
349
  * @param WP_Screen $screen Screen object. Optional. Use current screen object by default.
350
+ *
351
  * @return bool
352
  */
353
  public function is_edit_screen( $screen = null ) {
354
  if ( ! ( $screen instanceof WP_Screen ) ) {
355
  $screen = get_current_screen();
356
  }
357
+
358
  return 'post' == $screen->base && in_array( $screen->post_type, $this->meta_box['post_types'] );
359
  }
360
  }
inc/templates/media.php CHANGED
@@ -45,3 +45,7 @@
45
  <# if ( 1 < data.maxFiles ) { #> {{{ i18nRwmbMedia.multiple }}} <# } else {#> {{{ i18nRwmbMedia.single }}} <# } #>
46
  <# } #>
47
  </script>
 
 
 
 
45
  <# if ( 1 < data.maxFiles ) { #> {{{ i18nRwmbMedia.multiple }}} <# } else {#> {{{ i18nRwmbMedia.single }}} <# } #>
46
  <# } #>
47
  </script>
48
+
49
+ <script id="tmpl-rwmb-media-button" type="text/html">
50
+ <a class="button">{{{ data.text }}}</a>
51
+ </script>
inc/templates/video.php ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <script id="tmpl-rwmb-video-item" type="text/html">
2
+ <input type="hidden" name="{{{ data.fieldName }}}" value="{{{ data.id }}}" class="rwmb-media-input">
3
+ <div class="rwmb-media-preview">
4
+ <div class="rwmb-media-content">
5
+ <div class="centered">
6
+ <# if( _.indexOf( i18nRwmbVideo.extensions, data.url.substr( data.url.lastIndexOf('.') + 1 ) ) > -1 ) { #>
7
+ <div class="rwmb-video-wrapper">
8
+ <video controls="controls" class="rwmb-video-element" preload="metadata"
9
+ <# if ( data.width ) { #>width="{{ data.width }}"<# } #>
10
+ <# if ( data.height ) { #>height="{{ data.height }}"<# } #>
11
+ <# if ( data.image && data.image.src !== data.icon ) { #>poster="{{ data.image.src }}"<# } #>>
12
+ <source type="{{ data.mime }}" src="{{ data.url }}"/>
13
+ </video>
14
+ </div>
15
+ <# } else { #>
16
+ <# if ( data.image && data.image.src && data.image.src !== data.icon ) { #>
17
+ <img src="{{ data.image.src }}" />
18
+ <# } else { #>
19
+ <img src="{{ data.icon }}" />
20
+ <# } #>
21
+ <# } #>
22
+ </div>
23
+ </div>
24
+ </div>
25
+ <div class="rwmb-media-info">
26
+ <h4>
27
+ <a href="{{{ data.url }}}" target="_blank" title="{{{ i18nRwmbMedia.view }}}">
28
+ <# if( data.title ) { #> {{{ data.title }}}
29
+ <# } else { #> {{{ i18nRwmbMedia.noTitle }}}
30
+ <# } #>
31
+ </a>
32
+ </h4>
33
+ <p>{{{ data.mime }}}</p>
34
+ <p>
35
+ <a class="rwmb-edit-media" title="{{{ i18nRwmbMedia.edit }}}" href="{{{ data.editLink }}}" target="_blank">
36
+ <span class="dashicons dashicons-edit"></span>{{{ i18nRwmbMedia.edit }}}
37
+ </a>
38
+ <a href="#" class="rwmb-remove-media" title="{{{ i18nRwmbMedia.remove }}}">
39
+ <span class="dashicons dashicons-no-alt"></span>{{{ i18nRwmbMedia.remove }}}
40
+ </a>
41
+ </p>
42
+ </div>
43
+ </script>
js/date.js CHANGED
@@ -55,14 +55,6 @@ jQuery( function ( $ ) {
55
  return Math.floor( milliseconds / 1000 );
56
  }
57
 
58
- $.datepicker.setDefaults( $.datepicker.regional[""] );
59
- if ( $.datepicker.regional.hasOwnProperty( RWMB_Date.locale ) ) {
60
- $.datepicker.setDefaults( $.datepicker.regional[RWMB_Date.locale] );
61
- }
62
- else if ( $.datepicker.regional.hasOwnProperty( RWMB_Date.localeShort ) ) {
63
- $.datepicker.setDefaults( $.datepicker.regional[RWMB_Date.localeShort] );
64
- }
65
-
66
  $( ':input.rwmb-date' ).each( update );
67
  $( '.rwmb-input' ).on( 'clone', ':input.rwmb-date', update );
68
  } );
55
  return Math.floor( milliseconds / 1000 );
56
  }
57
 
 
 
 
 
 
 
 
 
58
  $( ':input.rwmb-date' ).each( update );
59
  $( '.rwmb-input' ).on( 'clone', ':input.rwmb-date', update );
60
  } );
js/datetime.js CHANGED
@@ -56,13 +56,6 @@ jQuery( function ( $ ) {
56
  }
57
 
58
  // Set language if available
59
- $.datepicker.setDefaults( $.datepicker.regional[""] );
60
- if ( $.datepicker.regional.hasOwnProperty( RWMB_Datetime.locale ) ) {
61
- $.datepicker.setDefaults( $.datepicker.regional[RWMB_Datetime.locale] );
62
- }
63
- else if ( $.datepicker.regional.hasOwnProperty( RWMB_Datetime.localeShort ) ) {
64
- $.datepicker.setDefaults( $.datepicker.regional[RWMB_Datetime.localeShort] );
65
- }
66
  $.timepicker.setDefaults( $.timepicker.regional[""] );
67
  if ( $.timepicker.regional.hasOwnProperty( RWMB_Datetime.locale ) ) {
68
  $.timepicker.setDefaults( $.timepicker.regional[RWMB_Datetime.locale] );
56
  }
57
 
58
  // Set language if available
 
 
 
 
 
 
 
59
  $.timepicker.setDefaults( $.timepicker.regional[""] );
60
  if ( $.timepicker.regional.hasOwnProperty( RWMB_Datetime.locale ) ) {
61
  $.timepicker.setDefaults( $.timepicker.regional[RWMB_Datetime.locale] );
js/jqueryui/jquery-ui-i18n.min.js DELETED
@@ -1,7 +0,0 @@
1
- /*! jQuery UI - v1.11.4 - 2015-03-11
2
- * http://jqueryui.com
3
- * Includes: datepicker-af.js, datepicker-ar-DZ.js, datepicker-ar.js, datepicker-az.js, datepicker-be.js, datepicker-bg.js, datepicker-bs.js, datepicker-ca.js, datepicker-cs.js, datepicker-cy-GB.js, datepicker-da.js, datepicker-de.js, datepicker-el.js, datepicker-en-AU.js, datepicker-en-GB.js, datepicker-en-NZ.js, datepicker-eo.js, datepicker-es.js, datepicker-et.js, datepicker-eu.js, datepicker-fa.js, datepicker-fi.js, datepicker-fo.js, datepicker-fr-CA.js, datepicker-fr-CH.js, datepicker-fr.js, datepicker-gl.js, datepicker-he.js, datepicker-hi.js, datepicker-hr.js, datepicker-hu.js, datepicker-hy.js, datepicker-id.js, datepicker-is.js, datepicker-it-CH.js, datepicker-it.js, datepicker-ja.js, datepicker-ka.js, datepicker-kk.js, datepicker-km.js, datepicker-ko.js, datepicker-ky.js, datepicker-lb.js, datepicker-lt.js, datepicker-lv.js, datepicker-mk.js, datepicker-ml.js, datepicker-ms.js, datepicker-nb.js, datepicker-nl-BE.js, datepicker-nl.js, datepicker-nn.js, datepicker-no.js, datepicker-pl.js, datepicker-pt-BR.js, datepicker-pt.js, datepicker-rm.js, datepicker-ro.js, datepicker-ru.js, datepicker-sk.js, datepicker-sl.js, datepicker-sq.js, datepicker-sr-SR.js, datepicker-sr.js, datepicker-sv.js, datepicker-ta.js, datepicker-th.js, datepicker-tj.js, datepicker-tr.js, datepicker-uk.js, datepicker-vi.js, datepicker-zh-CN.js, datepicker-zh-HK.js, datepicker-zh-TW.js
4
- * Copyright 2015 jQuery Foundation and other contributors; Licensed MIT */
5
-
6
- (function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)})(function(e){var t=e.datepicker;t.regional.af={closeText:"Selekteer",prevText:"Vorige",nextText:"Volgende",currentText:"Vandag",monthNames:["Januarie","Februarie","Maart","April","Mei","Junie","Julie","Augustus","September","Oktober","November","Desember"],monthNamesShort:["Jan","Feb","Mrt","Apr","Mei","Jun","Jul","Aug","Sep","Okt","Nov","Des"],dayNames:["Sondag","Maandag","Dinsdag","Woensdag","Donderdag","Vrydag","Saterdag"],dayNamesShort:["Son","Maa","Din","Woe","Don","Vry","Sat"],dayNamesMin:["So","Ma","Di","Wo","Do","Vr","Sa"],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.af),t.regional.af,t.regional["ar-DZ"]={closeText:"إغلاق",prevText:"&#x3C;السابق",nextText:"التالي&#x3E;",currentText:"اليوم",monthNames:["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],monthNamesShort:["1","2","3","4","5","6","7","8","9","10","11","12"],dayNames:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],dayNamesShort:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],dayNamesMin:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],weekHeader:"أسبوع",dateFormat:"dd/mm/yy",firstDay:6,isRTL:!0,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional["ar-DZ"]),t.regional["ar-DZ"],t.regional.ar={closeText:"إغلاق",prevText:"&#x3C;السابق",nextText:"التالي&#x3E;",currentText:"اليوم",monthNames:["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],monthNamesShort:["1","2","3","4","5","6","7","8","9","10","11","12"],dayNames:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],dayNamesShort:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],dayNamesMin:["ح","ن","ث","ر","خ","ج","س"],weekHeader:"أسبوع",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!0,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.ar),t.regional.ar,t.regional.az={closeText:"Bağla",prevText:"&#x3C;Geri",nextText:"İrəli&#x3E;",currentText:"Bugün",monthNames:["Yanvar","Fevral","Mart","Aprel","May","İyun","İyul","Avqust","Sentyabr","Oktyabr","Noyabr","Dekabr"],monthNamesShort:["Yan","Fev","Mar","Apr","May","İyun","İyul","Avq","Sen","Okt","Noy","Dek"],dayNames:["Bazar","Bazar ertəsi","Çərşənbə axşamı","Çərşənbə","Cümə axşamı","Cümə","Şənbə"],dayNamesShort:["B","Be","Ça","Ç","Ca","C","Ş"],dayNamesMin:["B","B","Ç","С","Ç","C","Ş"],weekHeader:"Hf",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.az),t.regional.az,t.regional.be={closeText:"Зачыніць",prevText:"&larr;Папяр.",nextText:"Наст.&rarr;",currentText:"Сёньня",monthNames:["Студзень","Люты","Сакавік","Красавік","Травень","Чэрвень","Ліпень","Жнівень","Верасень","Кастрычнік","Лістапад","Сьнежань"],monthNamesShort:["Сту","Лют","Сак","Кра","Тра","Чэр","Ліп","Жні","Вер","Кас","Ліс","Сьн"],dayNames:["нядзеля","панядзелак","аўторак","серада","чацьвер","пятніца","субота"],dayNamesShort:["ндз","пнд","аўт","срд","чцв","птн","сбт"],dayNamesMin:["Нд","Пн","Аў","Ср","Чц","Пт","Сб"],weekHeader:"Тд",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.be),t.regional.be,t.regional.bg={closeText:"затвори",prevText:"&#x3C;назад",nextText:"напред&#x3E;",nextBigText:"&#x3E;&#x3E;",currentText:"днес",monthNames:["Януари","Февруари","Март","Април","Май","Юни","Юли","Август","Септември","Октомври","Ноември","Декември"],monthNamesShort:["Яну","Фев","Мар","Апр","Май","Юни","Юли","Авг","Сеп","Окт","Нов","Дек"],dayNames:["Неделя","Понеделник","Вторник","Сряда","Четвъртък","Петък","Събота"],dayNamesShort:["Нед","Пон","Вто","Сря","Чет","Пет","Съб"],dayNamesMin:["Не","По","Вт","Ср","Че","Пе","Съ"],weekHeader:"Wk",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.bg),t.regional.bg,t.regional.bs={closeText:"Zatvori",prevText:"&#x3C;",nextText:"&#x3E;",currentText:"Danas",monthNames:["Januar","Februar","Mart","April","Maj","Juni","Juli","August","Septembar","Oktobar","Novembar","Decembar"],monthNamesShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aug","Sep","Okt","Nov","Dec"],dayNames:["Nedelja","Ponedeljak","Utorak","Srijeda","Četvrtak","Petak","Subota"],dayNamesShort:["Ned","Pon","Uto","Sri","Čet","Pet","Sub"],dayNamesMin:["Ne","Po","Ut","Sr","Če","Pe","Su"],weekHeader:"Wk",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.bs),t.regional.bs,t.regional.ca={closeText:"Tanca",prevText:"Anterior",nextText:"Següent",currentText:"Avui",monthNames:["gener","febrer","març","abril","maig","juny","juliol","agost","setembre","octubre","novembre","desembre"],monthNamesShort:["gen","feb","març","abr","maig","juny","jul","ag","set","oct","nov","des"],dayNames:["diumenge","dilluns","dimarts","dimecres","dijous","divendres","dissabte"],dayNamesShort:["dg","dl","dt","dc","dj","dv","ds"],dayNamesMin:["dg","dl","dt","dc","dj","dv","ds"],weekHeader:"Set",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.ca),t.regional.ca,t.regional.cs={closeText:"Zavřít",prevText:"&#x3C;Dříve",nextText:"Později&#x3E;",currentText:"Nyní",monthNames:["leden","únor","březen","duben","květen","červen","červenec","srpen","září","říjen","listopad","prosinec"],monthNamesShort:["led","úno","bře","dub","kvě","čer","čvc","srp","zář","říj","lis","pro"],dayNames:["neděle","pondělí","úterý","středa","čtvrtek","pátek","sobota"],dayNamesShort:["ne","po","út","st","čt","pá","so"],dayNamesMin:["ne","po","út","st","čt","pá","so"],weekHeader:"Týd",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.cs),t.regional.cs,t.regional["cy-GB"]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["Ionawr","Chwefror","Mawrth","Ebrill","Mai","Mehefin","Gorffennaf","Awst","Medi","Hydref","Tachwedd","Rhagfyr"],monthNamesShort:["Ion","Chw","Maw","Ebr","Mai","Meh","Gor","Aws","Med","Hyd","Tac","Rha"],dayNames:["Dydd Sul","Dydd Llun","Dydd Mawrth","Dydd Mercher","Dydd Iau","Dydd Gwener","Dydd Sadwrn"],dayNamesShort:["Sul","Llu","Maw","Mer","Iau","Gwe","Sad"],dayNamesMin:["Su","Ll","Ma","Me","Ia","Gw","Sa"],weekHeader:"Wy",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional["cy-GB"]),t.regional["cy-GB"],t.regional.da={closeText:"Luk",prevText:"&#x3C;Forrige",nextText:"Næste&#x3E;",currentText:"Idag",monthNames:["Januar","Februar","Marts","April","Maj","Juni","Juli","August","September","Oktober","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aug","Sep","Okt","Nov","Dec"],dayNames:["Søndag","Mandag","Tirsdag","Onsdag","Torsdag","Fredag","Lørdag"],dayNamesShort:["Søn","Man","Tir","Ons","Tor","Fre","Lør"],dayNamesMin:["Sø","Ma","Ti","On","To","Fr","Lø"],weekHeader:"Uge",dateFormat:"dd-mm-yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.da),t.regional.da,t.regional.de={closeText:"Schließen",prevText:"&#x3C;Zurück",nextText:"Vor&#x3E;",currentText:"Heute",monthNames:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],monthNamesShort:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],dayNames:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],dayNamesShort:["So","Mo","Di","Mi","Do","Fr","Sa"],dayNamesMin:["So","Mo","Di","Mi","Do","Fr","Sa"],weekHeader:"KW",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.de),t.regional.de,t.regional.el={closeText:"Κλείσιμο",prevText:"Προηγούμενος",nextText:"Επόμενος",currentText:"Σήμερα",monthNames:["Ιανουάριος","Φεβρουάριος","Μάρτιος","Απρίλιος","Μάιος","Ιούνιος","Ιούλιος","Αύγουστος","Σεπτέμβριος","Οκτώβριος","Νοέμβριος","Δεκέμβριος"],monthNamesShort:["Ιαν","Φεβ","Μαρ","Απρ","Μαι","Ιουν","Ιουλ","Αυγ","Σεπ","Οκτ","Νοε","Δεκ"],dayNames:["Κυριακή","Δευτέρα","Τρίτη","Τετάρτη","Πέμπτη","Παρασκευή","Σάββατο"],dayNamesShort:["Κυρ","Δευ","Τρι","Τετ","Πεμ","Παρ","Σαβ"],dayNamesMin:["Κυ","Δε","Τρ","Τε","Πε","Πα","Σα"],weekHeader:"Εβδ",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.el),t.regional.el,t.regional["en-AU"]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional["en-AU"]),t.regional["en-AU"],t.regional["en-GB"]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional["en-GB"]),t.regional["en-GB"],t.regional["en-NZ"]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional["en-NZ"]),t.regional["en-NZ"],t.regional.eo={closeText:"Fermi",prevText:"&#x3C;Anta",nextText:"Sekv&#x3E;",currentText:"Nuna",monthNames:["Januaro","Februaro","Marto","Aprilo","Majo","Junio","Julio","Aŭgusto","Septembro","Oktobro","Novembro","Decembro"],monthNamesShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aŭg","Sep","Okt","Nov","Dec"],dayNames:["Dimanĉo","Lundo","Mardo","Merkredo","Ĵaŭdo","Vendredo","Sabato"],dayNamesShort:["Dim","Lun","Mar","Mer","Ĵaŭ","Ven","Sab"],dayNamesMin:["Di","Lu","Ma","Me","Ĵa","Ve","Sa"],weekHeader:"Sb",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.eo),t.regional.eo,t.regional.es={closeText:"Cerrar",prevText:"&#x3C;Ant",nextText:"Sig&#x3E;",currentText:"Hoy",monthNames:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"],monthNamesShort:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],dayNames:["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],dayNamesShort:["dom","lun","mar","mié","jue","vie","sáb"],dayNamesMin:["D","L","M","X","J","V","S"],weekHeader:"Sm",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.es),t.regional.es,t.regional.et={closeText:"Sulge",prevText:"Eelnev",nextText:"Järgnev",currentText:"Täna",monthNames:["Jaanuar","Veebruar","Märts","Aprill","Mai","Juuni","Juuli","August","September","Oktoober","November","Detsember"],monthNamesShort:["Jaan","Veebr","Märts","Apr","Mai","Juuni","Juuli","Aug","Sept","Okt","Nov","Dets"],dayNames:["Pühapäev","Esmaspäev","Teisipäev","Kolmapäev","Neljapäev","Reede","Laupäev"],dayNamesShort:["Pühap","Esmasp","Teisip","Kolmap","Neljap","Reede","Laup"],dayNamesMin:["P","E","T","K","N","R","L"],weekHeader:"näd",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.et),t.regional.et,t.regional.eu={closeText:"Egina",prevText:"&#x3C;Aur",nextText:"Hur&#x3E;",currentText:"Gaur",monthNames:["urtarrila","otsaila","martxoa","apirila","maiatza","ekaina","uztaila","abuztua","iraila","urria","azaroa","abendua"],monthNamesShort:["urt.","ots.","mar.","api.","mai.","eka.","uzt.","abu.","ira.","urr.","aza.","abe."],dayNames:["igandea","astelehena","asteartea","asteazkena","osteguna","ostirala","larunbata"],dayNamesShort:["ig.","al.","ar.","az.","og.","ol.","lr."],dayNamesMin:["ig","al","ar","az","og","ol","lr"],weekHeader:"As",dateFormat:"yy-mm-dd",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.eu),t.regional.eu,t.regional.fa={closeText:"بستن",prevText:"&#x3C;قبلی",nextText:"بعدی&#x3E;",currentText:"امروز",monthNames:["ژانویه","فوریه","مارس","آوریل","مه","ژوئن","ژوئیه","اوت","سپتامبر","اکتبر","نوامبر","دسامبر"],monthNamesShort:["1","2","3","4","5","6","7","8","9","10","11","12"],dayNames:["يکشنبه","دوشنبه","سه‌شنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"],dayNamesShort:["ی","د","س","چ","پ","ج","ش"],dayNamesMin:["ی","د","س","چ","پ","ج","ش"],weekHeader:"هف",dateFormat:"yy/mm/dd",firstDay:6,isRTL:!0,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.fa),t.regional.fa,t.regional.fi={closeText:"Sulje",prevText:"&#xAB;Edellinen",nextText:"Seuraava&#xBB;",currentText:"Tänään",monthNames:["Tammikuu","Helmikuu","Maaliskuu","Huhtikuu","Toukokuu","Kesäkuu","Heinäkuu","Elokuu","Syyskuu","Lokakuu","Marraskuu","Joulukuu"],monthNamesShort:["Tammi","Helmi","Maalis","Huhti","Touko","Kesä","Heinä","Elo","Syys","Loka","Marras","Joulu"],dayNamesShort:["Su","Ma","Ti","Ke","To","Pe","La"],dayNames:["Sunnuntai","Maanantai","Tiistai","Keskiviikko","Torstai","Perjantai","Lauantai"],dayNamesMin:["Su","Ma","Ti","Ke","To","Pe","La"],weekHeader:"Vk",dateFormat:"d.m.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.fi),t.regional.fi,t.regional.fo={closeText:"Lat aftur",prevText:"&#x3C;Fyrra",nextText:"Næsta&#x3E;",currentText:"Í dag",monthNames:["Januar","Februar","Mars","Apríl","Mei","Juni","Juli","August","September","Oktober","November","Desember"],monthNamesShort:["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Aug","Sep","Okt","Nov","Des"],dayNames:["Sunnudagur","Mánadagur","Týsdagur","Mikudagur","Hósdagur","Fríggjadagur","Leyardagur"],dayNamesShort:["Sun","Mán","Týs","Mik","Hós","Frí","Ley"],dayNamesMin:["Su","Má","Tý","Mi","Hó","Fr","Le"],weekHeader:"Vk",dateFormat:"dd-mm-yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.fo),t.regional.fo,t.regional["fr-CA"]={closeText:"Fermer",prevText:"Précédent",nextText:"Suivant",currentText:"Aujourd'hui",monthNames:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],monthNamesShort:["janv.","févr.","mars","avril","mai","juin","juil.","août","sept.","oct.","nov.","déc."],dayNames:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],dayNamesShort:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],dayNamesMin:["D","L","M","M","J","V","S"],weekHeader:"Sem.",dateFormat:"yy-mm-dd",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional["fr-CA"]),t.regional["fr-CA"],t.regional["fr-CH"]={closeText:"Fermer",prevText:"&#x3C;Préc",nextText:"Suiv&#x3E;",currentText:"Courant",monthNames:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],monthNamesShort:["janv.","févr.","mars","avril","mai","juin","juil.","août","sept.","oct.","nov.","déc."],dayNames:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],dayNamesShort:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],dayNamesMin:["D","L","M","M","J","V","S"],weekHeader:"Sm",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional["fr-CH"]),t.regional["fr-CH"],t.regional.fr={closeText:"Fermer",prevText:"Précédent",nextText:"Suivant",currentText:"Aujourd'hui",monthNames:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],monthNamesShort:["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],dayNames:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],dayNamesShort:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],dayNamesMin:["D","L","M","M","J","V","S"],weekHeader:"Sem.",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.fr),t.regional.fr,t.regional.gl={closeText:"Pechar",prevText:"&#x3C;Ant",nextText:"Seg&#x3E;",currentText:"Hoxe",monthNames:["Xaneiro","Febreiro","Marzo","Abril","Maio","Xuño","Xullo","Agosto","Setembro","Outubro","Novembro","Decembro"],monthNamesShort:["Xan","Feb","Mar","Abr","Mai","Xuñ","Xul","Ago","Set","Out","Nov","Dec"],dayNames:["Domingo","Luns","Martes","Mércores","Xoves","Venres","Sábado"],dayNamesShort:["Dom","Lun","Mar","Mér","Xov","Ven","Sáb"],dayNamesMin:["Do","Lu","Ma","Mé","Xo","Ve","Sá"],weekHeader:"Sm",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.gl),t.regional.gl,t.regional.he={closeText:"סגור",prevText:"&#x3C;הקודם",nextText:"הבא&#x3E;",currentText:"היום",monthNames:["ינואר","פברואר","מרץ","אפריל","מאי","יוני","יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר"],monthNamesShort:["ינו","פבר","מרץ","אפר","מאי","יוני","יולי","אוג","ספט","אוק","נוב","דצמ"],dayNames:["ראשון","שני","שלישי","רביעי","חמישי","שישי","שבת"],dayNamesShort:["א'","ב'","ג'","ד'","ה'","ו'","שבת"],dayNamesMin:["א'","ב'","ג'","ד'","ה'","ו'","שבת"],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!0,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.he),t.regional.he,t.regional.hi={closeText:"बंद",prevText:"पिछला",nextText:"अगला",currentText:"आज",monthNames:["जनवरी ","फरवरी","मार्च","अप्रेल","मई","जून","जूलाई","अगस्त ","सितम्बर","अक्टूबर","नवम्बर","दिसम्बर"],monthNamesShort:["जन","फर","मार्च","अप्रेल","मई","जून","जूलाई","अग","सित","अक्ट","नव","दि"],dayNames:["रविवार","सोमवार","मंगलवार","बुधवार","गुरुवार","शुक्रवार","शनिवार"],dayNamesShort:["रवि","सोम","मंगल","बुध","गुरु","शुक्र","शनि"],dayNamesMin:["रवि","सोम","मंगल","बुध","गुरु","शुक्र","शनि"],weekHeader:"हफ्ता",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.hi),t.regional.hi,t.regional.hr={closeText:"Zatvori",prevText:"&#x3C;",nextText:"&#x3E;",currentText:"Danas",monthNames:["Siječanj","Veljača","Ožujak","Travanj","Svibanj","Lipanj","Srpanj","Kolovoz","Rujan","Listopad","Studeni","Prosinac"],monthNamesShort:["Sij","Velj","Ožu","Tra","Svi","Lip","Srp","Kol","Ruj","Lis","Stu","Pro"],dayNames:["Nedjelja","Ponedjeljak","Utorak","Srijeda","Četvrtak","Petak","Subota"],dayNamesShort:["Ned","Pon","Uto","Sri","Čet","Pet","Sub"],dayNamesMin:["Ne","Po","Ut","Sr","Če","Pe","Su"],weekHeader:"Tje",dateFormat:"dd.mm.yy.",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.hr),t.regional.hr,t.regional.hu={closeText:"bezár",prevText:"vissza",nextText:"előre",currentText:"ma",monthNames:["Január","Február","Március","Április","Május","Június","Július","Augusztus","Szeptember","Október","November","December"],monthNamesShort:["Jan","Feb","Már","Ápr","Máj","Jún","Júl","Aug","Szep","Okt","Nov","Dec"],dayNames:["Vasárnap","Hétfő","Kedd","Szerda","Csütörtök","Péntek","Szombat"],dayNamesShort:["Vas","Hét","Ked","Sze","Csü","Pén","Szo"],dayNamesMin:["V","H","K","Sze","Cs","P","Szo"],weekHeader:"Hét",dateFormat:"yy.mm.dd.",firstDay:1,isRTL:!1,showMonthAfterYear:!0,yearSuffix:""},t.setDefaults(t.regional.hu),t.regional.hu,t.regional.hy={closeText:"Փակել",prevText:"&#x3C;Նախ.",nextText:"Հաջ.&#x3E;",currentText:"Այսօր",monthNames:["Հունվար","Փետրվար","Մարտ","Ապրիլ","Մայիս","Հունիս","Հուլիս","Օգոստոս","Սեպտեմբեր","Հոկտեմբեր","Նոյեմբեր","Դեկտեմբեր"],monthNamesShort:["Հունվ","Փետր","Մարտ","Ապր","Մայիս","Հունիս","Հուլ","Օգս","Սեպ","Հոկ","Նոյ","Դեկ"],dayNames:["կիրակի","եկուշաբթի","երեքշաբթի","չորեքշաբթի","հինգշաբթի","ուրբաթ","շաբաթ"],dayNamesShort:["կիր","երկ","երք","չրք","հնգ","ուրբ","շբթ"],dayNamesMin:["կիր","երկ","երք","չրք","հնգ","ուրբ","շբթ"],weekHeader:"ՇԲՏ",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.hy),t.regional.hy,t.regional.id={closeText:"Tutup",prevText:"&#x3C;mundur",nextText:"maju&#x3E;",currentText:"hari ini",monthNames:["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","Nopember","Desember"],monthNamesShort:["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Agus","Sep","Okt","Nop","Des"],dayNames:["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"],dayNamesShort:["Min","Sen","Sel","Rab","kam","Jum","Sab"],dayNamesMin:["Mg","Sn","Sl","Rb","Km","jm","Sb"],weekHeader:"Mg",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.id),t.regional.id,t.regional.is={closeText:"Loka",prevText:"&#x3C; Fyrri",nextText:"Næsti &#x3E;",currentText:"Í dag",monthNames:["Janúar","Febrúar","Mars","Apríl","Maí","Júní","Júlí","Ágúst","September","Október","Nóvember","Desember"],monthNamesShort:["Jan","Feb","Mar","Apr","Maí","Jún","Júl","Ágú","Sep","Okt","Nóv","Des"],dayNames:["Sunnudagur","Mánudagur","Þriðjudagur","Miðvikudagur","Fimmtudagur","Föstudagur","Laugardagur"],dayNamesShort:["Sun","Mán","Þri","Mið","Fim","Fös","Lau"],dayNamesMin:["Su","Má","Þr","Mi","Fi","Fö","La"],weekHeader:"Vika",dateFormat:"dd.mm.yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.is),t.regional.is,t.regional["it-CH"]={closeText:"Chiudi",prevText:"&#x3C;Prec",nextText:"Succ&#x3E;",currentText:"Oggi",monthNames:["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"],monthNamesShort:["Gen","Feb","Mar","Apr","Mag","Giu","Lug","Ago","Set","Ott","Nov","Dic"],dayNames:["Domenica","Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato"],dayNamesShort:["Dom","Lun","Mar","Mer","Gio","Ven","Sab"],dayNamesMin:["Do","Lu","Ma","Me","Gi","Ve","Sa"],weekHeader:"Sm",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional["it-CH"]),t.regional["it-CH"],t.regional.it={closeText:"Chiudi",prevText:"&#x3C;Prec",nextText:"Succ&#x3E;",currentText:"Oggi",monthNames:["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"],monthNamesShort:["Gen","Feb","Mar","Apr","Mag","Giu","Lug","Ago","Set","Ott","Nov","Dic"],dayNames:["Domenica","Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato"],dayNamesShort:["Dom","Lun","Mar","Mer","Gio","Ven","Sab"],dayNamesMin:["Do","Lu","Ma","Me","Gi","Ve","Sa"],weekHeader:"Sm",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.it),t.regional.it,t.regional.ja={closeText:"閉じる",prevText:"&#x3C;前",nextText:"次&#x3E;",currentText:"今日",monthNames:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],monthNamesShort:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayNames:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"],dayNamesShort:["日","月","火","水","木","金","土"],dayNamesMin:["日","月","火","水","木","金","土"],weekHeader:"週",dateFormat:"yy/mm/dd",firstDay:0,isRTL:!1,showMonthAfterYear:!0,yearSuffix:"年"},t.setDefaults(t.regional.ja),t.regional.ja,t.regional.ka={closeText:"დახურვა",prevText:"&#x3c; წინა",nextText:"შემდეგი &#x3e;",currentText:"დღეს",monthNames:["იანვარი","თებერვალი","მარტი","აპრილი","მაისი","ივნისი","ივლისი","აგვისტო","სექტემბერი","ოქტომბერი","ნოემბერი","დეკემბერი"],monthNamesShort:["იან","თებ","მარ","აპრ","მაი","ივნ","ივლ","აგვ","სექ","ოქტ","ნოე","დეკ"],dayNames:["კვირა","ორშაბათი","სამშაბათი","ოთხშაბათი","ხუთშაბათი","პარასკევი","შაბათი"],dayNamesShort:["კვ","ორშ","სამ","ოთხ","ხუთ","პარ","შაბ"],dayNamesMin:["კვ","ორშ","სამ","ოთხ","ხუთ","პარ","შაბ"],weekHeader:"კვირა",dateFormat:"dd-mm-yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.ka),t.regional.ka,t.regional.kk={closeText:"Жабу",prevText:"&#x3C;Алдыңғы",nextText:"Келесі&#x3E;",currentText:"Бүгін",monthNames:["Қаңтар","Ақпан","Наурыз","Сәуір","Мамыр","Маусым","Шілде","Тамыз","Қыркүйек","Қазан","Қараша","Желтоқсан"],monthNamesShort:["Қаң","Ақп","Нау","Сәу","Мам","Мау","Шіл","Там","Қыр","Қаз","Қар","Жел"],dayNames:["Жексенбі","Дүйсенбі","Сейсенбі","Сәрсенбі","Бейсенбі","Жұма","Сенбі"],dayNamesShort:["жкс","дсн","ссн","срс","бсн","жма","снб"],dayNamesMin:["Жк","Дс","Сс","Ср","Бс","Жм","Сн"],weekHeader:"Не",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.kk),t.regional.kk,t.regional.km={closeText:"ធ្វើ​រួច",prevText:"មុន",nextText:"បន្ទាប់",currentText:"ថ្ងៃ​នេះ",monthNames:["មករា","កុម្ភៈ","មីនា","មេសា","ឧសភា","មិថុនា","កក្កដា","សីហា","កញ្ញា","តុលា","វិច្ឆិកា","ធ្នូ"],monthNamesShort:["មករា","កុម្ភៈ","មីនា","មេសា","ឧសភា","មិថុនា","កក្កដា","សីហា","កញ្ញា","តុលា","វិច្ឆិកា","ធ្នូ"],dayNames:["អាទិត្យ","ចន្ទ","អង្គារ","ពុធ","ព្រហស្បតិ៍","សុក្រ","សៅរ៍"],dayNamesShort:["អា","ច","អ","ពុ","ព្រហ","សុ","សៅ"],dayNamesMin:["អា","ច","អ","ពុ","ព្រហ","សុ","សៅ"],weekHeader:"សប្ដាហ៍",dateFormat:"dd-mm-yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.km),t.regional.km,t.regional.ko={closeText:"닫기",prevText:"이전달",nextText:"다음달",currentText:"오늘",monthNames:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],monthNamesShort:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],dayNames:["일요일","월요일","화요일","수요일","목요일","금요일","토요일"],dayNamesShort:["일","월","화","수","목","금","토"],dayNamesMin:["일","월","화","수","목","금","토"],weekHeader:"Wk",dateFormat:"yy-mm-dd",firstDay:0,isRTL:!1,showMonthAfterYear:!0,yearSuffix:"년"},t.setDefaults(t.regional.ko),t.regional.ko,t.regional.ky={closeText:"Жабуу",prevText:"&#x3c;Мур",nextText:"Кий&#x3e;",currentText:"Бүгүн",monthNames:["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],monthNamesShort:["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек"],dayNames:["жекшемби","дүйшөмбү","шейшемби","шаршемби","бейшемби","жума","ишемби"],dayNamesShort:["жек","дүй","шей","шар","бей","жум","ише"],dayNamesMin:["Жк","Дш","Шш","Шр","Бш","Жм","Иш"],weekHeader:"Жум",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.ky),t.regional.ky,t.regional.lb={closeText:"Fäerdeg",prevText:"Zréck",nextText:"Weider",currentText:"Haut",monthNames:["Januar","Februar","Mäerz","Abrëll","Mee","Juni","Juli","August","September","Oktober","November","Dezember"],monthNamesShort:["Jan","Feb","Mäe","Abr","Mee","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],dayNames:["Sonndeg","Méindeg","Dënschdeg","Mëttwoch","Donneschdeg","Freideg","Samschdeg"],dayNamesShort:["Son","Méi","Dën","Mët","Don","Fre","Sam"],dayNamesMin:["So","Mé","Dë","Më","Do","Fr","Sa"],weekHeader:"W",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.lb),t.regional.lb,t.regional.lt={closeText:"Uždaryti",prevText:"&#x3C;Atgal",nextText:"Pirmyn&#x3E;",currentText:"Šiandien",monthNames:["Sausis","Vasaris","Kovas","Balandis","Gegužė","Birželis","Liepa","Rugpjūtis","Rugsėjis","Spalis","Lapkritis","Gruodis"],monthNamesShort:["Sau","Vas","Kov","Bal","Geg","Bir","Lie","Rugp","Rugs","Spa","Lap","Gru"],dayNames:["sekmadienis","pirmadienis","antradienis","trečiadienis","ketvirtadienis","penktadienis","šeštadienis"],dayNamesShort:["sek","pir","ant","tre","ket","pen","šeš"],dayNamesMin:["Se","Pr","An","Tr","Ke","Pe","Še"],weekHeader:"SAV",dateFormat:"yy-mm-dd",firstDay:1,isRTL:!1,showMonthAfterYear:!0,yearSuffix:""},t.setDefaults(t.regional.lt),t.regional.lt,t.regional.lv={closeText:"Aizvērt",prevText:"Iepr.",nextText:"Nāk.",currentText:"Šodien",monthNames:["Janvāris","Februāris","Marts","Aprīlis","Maijs","Jūnijs","Jūlijs","Augusts","Septembris","Oktobris","Novembris","Decembris"],monthNamesShort:["Jan","Feb","Mar","Apr","Mai","Jūn","Jūl","Aug","Sep","Okt","Nov","Dec"],dayNames:["svētdiena","pirmdiena","otrdiena","trešdiena","ceturtdiena","piektdiena","sestdiena"],dayNamesShort:["svt","prm","otr","tre","ctr","pkt","sst"],dayNamesMin:["Sv","Pr","Ot","Tr","Ct","Pk","Ss"],weekHeader:"Ned.",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.lv),t.regional.lv,t.regional.mk={closeText:"Затвори",prevText:"&#x3C;",nextText:"&#x3E;",currentText:"Денес",monthNames:["Јануари","Февруари","Март","Април","Мај","Јуни","Јули","Август","Септември","Октомври","Ноември","Декември"],monthNamesShort:["Јан","Фев","Мар","Апр","Мај","Јун","Јул","Авг","Сеп","Окт","Ное","Дек"],dayNames:["Недела","Понеделник","Вторник","Среда","Четврток","Петок","Сабота"],dayNamesShort:["Нед","Пон","Вто","Сре","Чет","Пет","Саб"],dayNamesMin:["Не","По","Вт","Ср","Че","Пе","Са"],weekHeader:"Сед",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.mk),t.regional.mk,t.regional.ml={closeText:"ശരി",prevText:"മുന്നത്തെ",nextText:"അടുത്തത് ",currentText:"ഇന്ന്",monthNames:["ജനുവരി","ഫെബ്രുവരി","മാര്‍ച്ച്","ഏപ്രില്‍","മേയ്","ജൂണ്‍","ജൂലൈ","ആഗസ്റ്റ്","സെപ്റ്റംബര്‍","ഒക്ടോബര്‍","നവംബര്‍","ഡിസംബര്‍"],monthNamesShort:["ജനു","ഫെബ്","മാര്‍","ഏപ്രി","മേയ്","ജൂണ്‍","ജൂലാ","ആഗ","സെപ്","ഒക്ടോ","നവം","ഡിസ"],dayNames:["ഞായര്‍","തിങ്കള്‍","ചൊവ്വ","ബുധന്‍","വ്യാഴം","വെള്ളി","ശനി"],dayNamesShort:["ഞായ","തിങ്ക","ചൊവ്വ","ബുധ","വ്യാഴം","വെള്ളി","ശനി"],dayNamesMin:["ഞാ","തി","ചൊ","ബു","വ്യാ","വെ","ശ"],weekHeader:"ആ",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.ml),t.regional.ml,t.regional.ms={closeText:"Tutup",prevText:"&#x3C;Sebelum",nextText:"Selepas&#x3E;",currentText:"hari ini",monthNames:["Januari","Februari","Mac","April","Mei","Jun","Julai","Ogos","September","Oktober","November","Disember"],monthNamesShort:["Jan","Feb","Mac","Apr","Mei","Jun","Jul","Ogo","Sep","Okt","Nov","Dis"],dayNames:["Ahad","Isnin","Selasa","Rabu","Khamis","Jumaat","Sabtu"],dayNamesShort:["Aha","Isn","Sel","Rab","kha","Jum","Sab"],dayNamesMin:["Ah","Is","Se","Ra","Kh","Ju","Sa"],weekHeader:"Mg",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.ms),t.regional.ms,t.regional.nb={closeText:"Lukk",prevText:"&#xAB;Forrige",nextText:"Neste&#xBB;",currentText:"I dag",monthNames:["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"],monthNamesShort:["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des"],dayNamesShort:["søn","man","tir","ons","tor","fre","lør"],dayNames:["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"],dayNamesMin:["sø","ma","ti","on","to","fr","lø"],weekHeader:"Uke",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.nb),t.regional.nb,t.regional["nl-BE"]={closeText:"Sluiten",prevText:"←",nextText:"→",currentText:"Vandaag",monthNames:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],monthNamesShort:["jan","feb","mrt","apr","mei","jun","jul","aug","sep","okt","nov","dec"],dayNames:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],dayNamesShort:["zon","maa","din","woe","don","vri","zat"],dayNamesMin:["zo","ma","di","wo","do","vr","za"],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional["nl-BE"]),t.regional["nl-BE"],t.regional.nl={closeText:"Sluiten",prevText:"←",nextText:"→",currentText:"Vandaag",monthNames:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],monthNamesShort:["jan","feb","mrt","apr","mei","jun","jul","aug","sep","okt","nov","dec"],dayNames:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],dayNamesShort:["zon","maa","din","woe","don","vri","zat"],dayNamesMin:["zo","ma","di","wo","do","vr","za"],weekHeader:"Wk",dateFormat:"dd-mm-yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.nl),t.regional.nl,t.regional.nn={closeText:"Lukk",prevText:"&#xAB;Førre",nextText:"Neste&#xBB;",currentText:"I dag",monthNames:["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"],monthNamesShort:["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des"],dayNamesShort:["sun","mån","tys","ons","tor","fre","lau"],dayNames:["sundag","måndag","tysdag","onsdag","torsdag","fredag","laurdag"],dayNamesMin:["su","må","ty","on","to","fr","la"],weekHeader:"Veke",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.nn),t.regional.nn,t.regional.no={closeText:"Lukk",prevText:"&#xAB;Forrige",nextText:"Neste&#xBB;",currentText:"I dag",monthNames:["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"],monthNamesShort:["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des"],dayNamesShort:["søn","man","tir","ons","tor","fre","lør"],dayNames:["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"],dayNamesMin:["sø","ma","ti","on","to","fr","lø"],weekHeader:"Uke",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.no),t.regional.no,t.regional.pl={closeText:"Zamknij",prevText:"&#x3C;Poprzedni",nextText:"Następny&#x3E;",currentText:"Dziś",monthNames:["Styczeń","Luty","Marzec","Kwiecień","Maj","Czerwiec","Lipiec","Sierpień","Wrzesień","Październik","Listopad","Grudzień"],monthNamesShort:["Sty","Lu","Mar","Kw","Maj","Cze","Lip","Sie","Wrz","Pa","Lis","Gru"],dayNames:["Niedziela","Poniedziałek","Wtorek","Środa","Czwartek","Piątek","Sobota"],dayNamesShort:["Nie","Pn","Wt","Śr","Czw","Pt","So"],dayNamesMin:["N","Pn","Wt","Śr","Cz","Pt","So"],weekHeader:"Tydz",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.pl),t.regional.pl,t.regional["pt-BR"]={closeText:"Fechar",prevText:"&#x3C;Anterior",nextText:"Próximo&#x3E;",currentText:"Hoje",monthNames:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],monthNamesShort:["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"],dayNames:["Domingo","Segunda-feira","Terça-feira","Quarta-feira","Quinta-feira","Sexta-feira","Sábado"],dayNamesShort:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],dayNamesMin:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],weekHeader:"Sm",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional["pt-BR"]),t.regional["pt-BR"],t.regional.pt={closeText:"Fechar",prevText:"Anterior",nextText:"Seguinte",currentText:"Hoje",monthNames:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],monthNamesShort:["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"],dayNames:["Domingo","Segunda-feira","Terça-feira","Quarta-feira","Quinta-feira","Sexta-feira","Sábado"],dayNamesShort:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],dayNamesMin:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],weekHeader:"Sem",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.pt),t.regional.pt,t.regional.rm={closeText:"Serrar",prevText:"&#x3C;Suandant",nextText:"Precedent&#x3E;",currentText:"Actual",monthNames:["Schaner","Favrer","Mars","Avrigl","Matg","Zercladur","Fanadur","Avust","Settember","October","November","December"],monthNamesShort:["Scha","Fev","Mar","Avr","Matg","Zer","Fan","Avu","Sett","Oct","Nov","Dec"],dayNames:["Dumengia","Glindesdi","Mardi","Mesemna","Gievgia","Venderdi","Sonda"],dayNamesShort:["Dum","Gli","Mar","Mes","Gie","Ven","Som"],dayNamesMin:["Du","Gl","Ma","Me","Gi","Ve","So"],weekHeader:"emna",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.rm),t.regional.rm,t.regional.ro={closeText:"Închide",prevText:"&#xAB; Luna precedentă",nextText:"Luna următoare &#xBB;",currentText:"Azi",monthNames:["Ianuarie","Februarie","Martie","Aprilie","Mai","Iunie","Iulie","August","Septembrie","Octombrie","Noiembrie","Decembrie"],monthNamesShort:["Ian","Feb","Mar","Apr","Mai","Iun","Iul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Duminică","Luni","Marţi","Miercuri","Joi","Vineri","Sâmbătă"],dayNamesShort:["Dum","Lun","Mar","Mie","Joi","Vin","Sâm"],dayNamesMin:["Du","Lu","Ma","Mi","Jo","Vi","Sâ"],weekHeader:"Săpt",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.ro),t.regional.ro,t.regional.ru={closeText:"Закрыть",prevText:"&#x3C;Пред",nextText:"След&#x3E;",currentText:"Сегодня",monthNames:["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],monthNamesShort:["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек"],dayNames:["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"],dayNamesShort:["вск","пнд","втр","срд","чтв","птн","сбт"],dayNamesMin:["Вс","Пн","Вт","Ср","Чт","Пт","Сб"],weekHeader:"Нед",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.ru),t.regional.ru,t.regional.sk={closeText:"Zavrieť",prevText:"&#x3C;Predchádzajúci",nextText:"Nasledujúci&#x3E;",currentText:"Dnes",monthNames:["január","február","marec","apríl","máj","jún","júl","august","september","október","november","december"],monthNamesShort:["Jan","Feb","Mar","Apr","Máj","Jún","Júl","Aug","Sep","Okt","Nov","Dec"],dayNames:["nedeľa","pondelok","utorok","streda","štvrtok","piatok","sobota"],dayNamesShort:["Ned","Pon","Uto","Str","Štv","Pia","Sob"],dayNamesMin:["Ne","Po","Ut","St","Št","Pia","So"],weekHeader:"Ty",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.sk),t.regional.sk,t.regional.sl={closeText:"Zapri",prevText:"&#x3C;Prejšnji",nextText:"Naslednji&#x3E;",currentText:"Trenutni",monthNames:["Januar","Februar","Marec","April","Maj","Junij","Julij","Avgust","September","Oktober","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Avg","Sep","Okt","Nov","Dec"],dayNames:["Nedelja","Ponedeljek","Torek","Sreda","Četrtek","Petek","Sobota"],dayNamesShort:["Ned","Pon","Tor","Sre","Čet","Pet","Sob"],dayNamesMin:["Ne","Po","To","Sr","Če","Pe","So"],weekHeader:"Teden",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.sl),t.regional.sl,t.regional.sq={closeText:"mbylle",prevText:"&#x3C;mbrapa",nextText:"Përpara&#x3E;",currentText:"sot",monthNames:["Janar","Shkurt","Mars","Prill","Maj","Qershor","Korrik","Gusht","Shtator","Tetor","Nëntor","Dhjetor"],monthNamesShort:["Jan","Shk","Mar","Pri","Maj","Qer","Kor","Gus","Sht","Tet","Nën","Dhj"],dayNames:["E Diel","E Hënë","E Martë","E Mërkurë","E Enjte","E Premte","E Shtune"],dayNamesShort:["Di","Hë","Ma","Më","En","Pr","Sh"],dayNamesMin:["Di","Hë","Ma","Më","En","Pr","Sh"],weekHeader:"Ja",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.sq),t.regional.sq,t.regional["sr-SR"]={closeText:"Zatvori",prevText:"&#x3C;",nextText:"&#x3E;",currentText:"Danas",monthNames:["Januar","Februar","Mart","April","Maj","Jun","Jul","Avgust","Septembar","Oktobar","Novembar","Decembar"],monthNamesShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Avg","Sep","Okt","Nov","Dec"],dayNames:["Nedelja","Ponedeljak","Utorak","Sreda","Četvrtak","Petak","Subota"],dayNamesShort:["Ned","Pon","Uto","Sre","Čet","Pet","Sub"],dayNamesMin:["Ne","Po","Ut","Sr","Če","Pe","Su"],weekHeader:"Sed",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional["sr-SR"]),t.regional["sr-SR"],t.regional.sr={closeText:"Затвори",prevText:"&#x3C;",nextText:"&#x3E;",currentText:"Данас",monthNames:["Јануар","Фебруар","Март","Април","Мај","Јун","Јул","Август","Септембар","Октобар","Новембар","Децембар"],monthNamesShort:["Јан","Феб","Мар","Апр","Мај","Јун","Јул","Авг","Сеп","Окт","Нов","Дец"],dayNames:["Недеља","Понедељак","Уторак","Среда","Четвртак","Петак","Субота"],dayNamesShort:["Нед","Пон","Уто","Сре","Чет","Пет","Суб"],dayNamesMin:["Не","По","Ут","Ср","Че","Пе","Су"],weekHeader:"Сед",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.sr),t.regional.sr,t.regional.sv={closeText:"Stäng",prevText:"&#xAB;Förra",nextText:"Nästa&#xBB;",currentText:"Idag",monthNames:["Januari","Februari","Mars","April","Maj","Juni","Juli","Augusti","September","Oktober","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aug","Sep","Okt","Nov","Dec"],dayNamesShort:["Sön","Mån","Tis","Ons","Tor","Fre","Lör"],dayNames:["Söndag","Måndag","Tisdag","Onsdag","Torsdag","Fredag","Lördag"],dayNamesMin:["Sö","Må","Ti","On","To","Fr","Lö"],weekHeader:"Ve",dateFormat:"yy-mm-dd",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.sv),t.regional.sv,t.regional.ta={closeText:"மூடு",prevText:"முன்னையது",nextText:"அடுத்தது",currentText:"இன்று",monthNames:["தை","மாசி","பங்குனி","சித்திரை","வைகாசி","ஆனி","ஆடி","ஆவணி","புரட்டாசி","ஐப்பசி","கார்த்திகை","மார்கழி"],monthNamesShort:["தை","மாசி","பங்","சித்","வைகா","ஆனி","ஆடி","ஆவ","புர","ஐப்","கார்","மார்"],dayNames:["ஞாயிற்றுக்கிழமை","திங்கட்கிழமை","செவ்வாய்க்கிழமை","புதன்கிழமை","வியாழக்கிழமை","வெள்ளிக்கிழமை","சனிக்கிழமை"],dayNamesShort:["ஞாயிறு","திங்கள்","செவ்வாய்","புதன்","வியாழன்","வெள்ளி","சனி"],dayNamesMin:["ஞா","தி","செ","பு","வி","வெ","ச"],weekHeader:"Не",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.ta),t.regional.ta,t.regional.th={closeText:"ปิด",prevText:"&#xAB;&#xA0;ย้อน",nextText:"ถัดไป&#xA0;&#xBB;",currentText:"วันนี้",monthNames:["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"],monthNamesShort:["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค."],dayNames:["อาทิตย์","จันทร์","อังคาร","พุธ","พฤหัสบดี","ศุกร์","เสาร์"],dayNamesShort:["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."],dayNamesMin:["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.th),t.regional.th,t.regional.tj={closeText:"Идома",prevText:"&#x3c;Қафо",nextText:"Пеш&#x3e;",currentText:"Имрӯз",monthNames:["Январ","Феврал","Март","Апрел","Май","Июн","Июл","Август","Сентябр","Октябр","Ноябр","Декабр"],monthNamesShort:["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек"],dayNames:["якшанбе","душанбе","сешанбе","чоршанбе","панҷшанбе","ҷумъа","шанбе"],dayNamesShort:["якш","душ","сеш","чор","пан","ҷум","шан"],dayNamesMin:["Як","Дш","Сш","Чш","Пш","Ҷм","Шн"],weekHeader:"Хф",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.tj),t.regional.tj,t.regional.tr={closeText:"kapat",prevText:"&#x3C;geri",nextText:"ileri&#x3e",currentText:"bugün",monthNames:["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"],monthNamesShort:["Oca","Şub","Mar","Nis","May","Haz","Tem","Ağu","Eyl","Eki","Kas","Ara"],dayNames:["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"],dayNamesShort:["Pz","Pt","Sa","Ça","Pe","Cu","Ct"],dayNamesMin:["Pz","Pt","Sa","Ça","Pe","Cu","Ct"],weekHeader:"Hf",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.tr),t.regional.tr,t.regional.uk={closeText:"Закрити",prevText:"&#x3C;",nextText:"&#x3E;",currentText:"Сьогодні",monthNames:["Січень","Лютий","Березень","Квітень","Травень","Червень","Липень","Серпень","Вересень","Жовтень","Листопад","Грудень"],monthNamesShort:["Січ","Лют","Бер","Кві","Тра","Чер","Лип","Сер","Вер","Жов","Лис","Гру"],dayNames:["неділя","понеділок","вівторок","середа","четвер","п’ятниця","субота"],dayNamesShort:["нед","пнд","вів","срд","чтв","птн","сбт"],dayNamesMin:["Нд","Пн","Вт","Ср","Чт","Пт","Сб"],weekHeader:"Тиж",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.uk),t.regional.uk,t.regional.vi={closeText:"Đóng",prevText:"&#x3C;Trước",nextText:"Tiếp&#x3E;",currentText:"Hôm nay",monthNames:["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"],monthNamesShort:["Tháng 1","Tháng 2","Tháng 3","Tháng 4","Tháng 5","Tháng 6","Tháng 7","Tháng 8","Tháng 9","Tháng 10","Tháng 11","Tháng 12"],dayNames:["Chủ Nhật","Thứ Hai","Thứ Ba","Thứ Tư","Thứ Năm","Thứ Sáu","Thứ Bảy"],dayNamesShort:["CN","T2","T3","T4","T5","T6","T7"],dayNamesMin:["CN","T2","T3","T4","T5","T6","T7"],weekHeader:"Tu",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.setDefaults(t.regional.vi),t.regional.vi,t.regional["zh-CN"]={closeText:"关闭",prevText:"&#x3C;上月",nextText:"下月&#x3E;",currentText:"今天",monthNames:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthNamesShort:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],dayNames:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayNamesShort:["周日","周一","周二","周三","周四","周五","周六"],dayNamesMin:["日","一","二","三","四","五","六"],weekHeader:"周",dateFormat:"yy-mm-dd",firstDay:1,isRTL:!1,showMonthAfterYear:!0,yearSuffix:"年"},t.setDefaults(t.regional["zh-CN"]),t.regional["zh-CN"],t.regional["zh-HK"]={closeText:"關閉",prevText:"&#x3C;上月",nextText:"下月&#x3E;",currentText:"今天",monthNames:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthNamesShort:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],dayNames:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayNamesShort:["周日","周一","周二","周三","周四","周五","周六"],dayNamesMin:["日","一","二","三","四","五","六"],weekHeader:"周",dateFormat:"dd-mm-yy",firstDay:0,isRTL:!1,showMonthAfterYear:!0,yearSuffix:"年"},t.setDefaults(t.regional["zh-HK"]),t.regional["zh-HK"],t.regional["zh-TW"]={closeText:"關閉",prevText:"&#x3C;上月",nextText:"下月&#x3E;",currentText:"今天",monthNames:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthNamesShort:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],dayNames:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayNamesShort:["周日","周一","周二","周三","周四","周五","周六"],dayNamesMin:["日","一","二","三","四","五","六"],weekHeader:"周",dateFormat:"yy/mm/dd",firstDay:1,isRTL:!1,showMonthAfterYear:!0,yearSuffix:"年"},t.setDefaults(t.regional["zh-TW"]),t.regional["zh-TW"]
7
- });
 
 
 
 
 
 
 
js/media.js CHANGED
@@ -5,7 +5,48 @@ jQuery( function ( $ ) {
5
 
6
  var views = rwmb.views = rwmb.views || {},
7
  models = rwmb.models = rwmb.models || {},
8
- Controller, MediaField, MediaList, MediaItem, MediaButton, MediaStatus;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
 
10
  /***
11
  * Controller Model
@@ -29,23 +70,12 @@ jQuery( function ( $ ) {
29
  this.set( 'ids', _.without( _.map( this.get( 'ids' ), Number ), 0, - 1 ) );
30
 
31
  // Create items collection
32
- this.set( 'items', new wp.media.model.Attachments() );
33
-
34
- this.listenTo( this.get( 'items' ), 'add remove reset', function () {
35
- var items = this.get( 'items' ),
36
- length = items.length,
37
- max = this.get( 'maxFiles' );
38
-
39
- this.set( 'length', length );
40
- this.set( 'full', max > 0 && length >= max );
41
- } );
42
 
43
  // Listen for destroy event on controller, delete all models when triggered
44
  this.on( 'destroy', function ( e ) {
45
  if ( this.get( 'forceDelete' ) ) {
46
- this.get( 'items' ).each( function ( item ) {
47
- item.destroy();
48
- } );
49
  }
50
  } );
51
  },
@@ -76,20 +106,6 @@ jQuery( function ( $ ) {
76
  item.destroy();
77
  }
78
  },
79
-
80
- // Method to add items
81
- addItems: function ( items ) {
82
- if ( this.get( 'maxFiles' ) ) {
83
- var left = this.get( 'maxFiles' ) - this.get( 'items' ).length;
84
- if ( left <= 0 ) {
85
- return this;
86
- }
87
-
88
- items = _.difference( items, this.get( 'items' ).models );
89
- items = _.first( items, left );
90
- }
91
- this.get( 'items' ).add( items );
92
- }
93
  } );
94
 
95
  /***
@@ -124,9 +140,9 @@ jQuery( function ( $ ) {
124
  this.controller.destroy();
125
  } );
126
 
127
- this.controller.on( 'change:length', function ( e ) {
128
  that.$input.trigger( 'change' );
129
- } );
130
  },
131
 
132
  // Creates media list
@@ -149,8 +165,8 @@ jQuery( function ( $ ) {
149
  // Empty then add parts
150
  this.$el.empty().append(
151
  this.list.el,
152
- this.addButton.el,
153
- this.status.el
154
  );
155
  }
156
  } );
@@ -235,7 +251,7 @@ jQuery( function ( $ ) {
235
  * Tracks status of media field if maxStatus is greater than 0
236
  */
237
  MediaStatus = views.MediaStatus = Backbone.View.extend( {
238
- tagName: 'span',
239
  className: 'rwmb-media-status',
240
  template: wp.template( 'rwmb-media-status' ),
241
 
@@ -249,7 +265,7 @@ jQuery( function ( $ ) {
249
  }
250
 
251
  //Rerender if changes happen in controller
252
- this.listenTo( this.controller, 'change:length', this.render );
253
 
254
  //Render
255
  this.render();
@@ -266,10 +282,11 @@ jQuery( function ( $ ) {
266
  * Selects and adds ,edia to controller
267
  */
268
  MediaButton = views.MediaButton = Backbone.View.extend( {
269
- className: 'rwmb-add-media button',
270
- tagName: 'a',
 
271
  events: {
272
- click: function () {
273
  // Destroy the previous collection frame.
274
  if ( this._frame ) {
275
  //this.stopListening( this._frame );
@@ -288,14 +305,15 @@ jQuery( function ( $ ) {
288
 
289
  this._frame.on( 'select', function () {
290
  var selection = this._frame.state().get( 'selection' );
291
- this.controller.addItems( selection.models );
292
  }, this );
293
 
294
  this._frame.open();
295
  }
296
  },
297
  render: function () {
298
- this.$el.text( i18nRwmbMedia.add );
 
299
  return this;
300
  },
301
 
@@ -345,19 +363,21 @@ jQuery( function ( $ ) {
345
  }
346
 
347
  // Trigger the media frame to open the correct item
348
- this._frame = wp.media( {
349
- frame: 'edit-attachments',
350
  controller: {
351
  // Needed to trick Edit modal to think there is a gridRouter
352
  gridRouter: {
353
- navigate: function ( destination ) {
 
354
  },
355
- baseUrl: function ( url ) {
 
356
  }
357
  }
358
  },
359
- library: this.controller.get( 'items' ),
360
- model: this.model
361
  } );
362
 
363
  this._frame.open();
@@ -374,6 +394,57 @@ jQuery( function ( $ ) {
374
  }
375
  } );
376
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
377
  /**
378
  * Initialize media fields
379
  * @return void
5
 
6
  var views = rwmb.views = rwmb.views || {},
7
  models = rwmb.models = rwmb.models || {},
8
+ MediaCollection, Controller, MediaField, MediaList, MediaItem, MediaButton, MediaStatus, EditMedia, MediaDetails;
9
+
10
+ MediaCollection = models.MediaCollection = wp.media.model.Attachments.extend( {
11
+ initialize: function( models, options ) {
12
+ this.controller = options.controller || new models.Controller;
13
+ this.on( 'add remove reset', function () {
14
+ var max = this.controller.get( 'maxFiles' );
15
+ this.controller.set( 'length', this.length );
16
+ this.controller.set( 'full', max > 0 && this.length >= max );
17
+ } );
18
+ wp.media.model.Attachments.prototype.initialize.call( this, models, options );
19
+ },
20
+
21
+ add: function( models, options ) {
22
+ var max = this.controller.get( 'maxFiles' ),
23
+ left = max - this.length;
24
+
25
+ if ( max > 0 && left <= 0 ) {
26
+ return this;
27
+ }
28
+
29
+ if( !models.hasOwnProperty( 'length' ) ){
30
+ models = [models];
31
+ }
32
+ else if( models instanceof wp.media.model.Attachments ) {
33
+ models = models.models;
34
+ }
35
+
36
+ if( left > 0 ) {
37
+ models = _.difference( models, this.models );
38
+ models = _.first( models, left );
39
+ }
40
+
41
+ return wp.media.model.Attachments.prototype.add.call( this, models, options );
42
+ },
43
+
44
+ destroyAll: function() {
45
+ _.each(_.clone( this.models), function( model ) {
46
+ model.destroy();
47
+ });
48
+ }
49
+ } );
50
 
51
  /***
52
  * Controller Model
70
  this.set( 'ids', _.without( _.map( this.get( 'ids' ), Number ), 0, - 1 ) );
71
 
72
  // Create items collection
73
+ this.set( 'items', new MediaCollection( [], { controller: this } ) );
 
 
 
 
 
 
 
 
 
74
 
75
  // Listen for destroy event on controller, delete all models when triggered
76
  this.on( 'destroy', function ( e ) {
77
  if ( this.get( 'forceDelete' ) ) {
78
+ this.get( 'items' ).destroyAll();
 
 
79
  }
80
  } );
81
  },
106
  item.destroy();
107
  }
108
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
109
  } );
110
 
111
  /***
140
  this.controller.destroy();
141
  } );
142
 
143
+ this.controller.get( 'items' ).on( 'add remove reset', _.debounce( function ( e ) {
144
  that.$input.trigger( 'change' );
145
+ }, 500 ) );
146
  },
147
 
148
  // Creates media list
165
  // Empty then add parts
166
  this.$el.empty().append(
167
  this.list.el,
168
+ this.status.el,
169
+ this.addButton.el
170
  );
171
  }
172
  } );
251
  * Tracks status of media field if maxStatus is greater than 0
252
  */
253
  MediaStatus = views.MediaStatus = Backbone.View.extend( {
254
+ tagName: 'div',
255
  className: 'rwmb-media-status',
256
  template: wp.template( 'rwmb-media-status' ),
257
 
265
  }
266
 
267
  //Rerender if changes happen in controller
268
+ this.listenTo( this.controller.get( 'items' ), 'update', this.render );
269
 
270
  //Render
271
  this.render();
282
  * Selects and adds ,edia to controller
283
  */
284
  MediaButton = views.MediaButton = Backbone.View.extend( {
285
+ tagName: 'div',
286
+ className: 'rwmb-media-add',
287
+ template: wp.template( 'rwmb-media-button' ),
288
  events: {
289
+ 'click .button': function () {
290
  // Destroy the previous collection frame.
291
  if ( this._frame ) {
292
  //this.stopListening( this._frame );
305
 
306
  this._frame.on( 'select', function () {
307
  var selection = this._frame.state().get( 'selection' );
308
+ this.controller.get( 'items' ).add( selection.models );
309
  }, this );
310
 
311
  this._frame.open();
312
  }
313
  },
314
  render: function () {
315
+ var attrs = { text: i18nRwmbMedia.add }
316
+ this.$el.html( this.template( attrs ) );
317
  return this;
318
  },
319
 
363
  }
364
 
365
  // Trigger the media frame to open the correct item
366
+ this._frame = new EditMedia( {
367
+ frame : 'edit-attachments',
368
  controller: {
369
  // Needed to trick Edit modal to think there is a gridRouter
370
  gridRouter: {
371
+ navigate: function ( destination )
372
+ {
373
  },
374
+ baseUrl : function ( url )
375
+ {
376
  }
377
  }
378
  },
379
+ library : this.controller.get( 'items' ),
380
+ model : this.model
381
  } );
382
 
383
  this._frame.open();
394
  }
395
  } );
396
 
397
+ /**
398
+ * Extend media frames to make things work right
399
+ */
400
+
401
+ /**
402
+ * MediaDetails
403
+ * Custom version of TwoColumn view to prevent all video and audio from being unset
404
+ */
405
+ MediaDetails = views.MediaDetails = wp.media.view.Attachment.Details.TwoColumn.extend( {
406
+ render: function() {
407
+ var that = this;
408
+ wp.media.view.Attachment.Details.prototype.render.apply( this, arguments );
409
+ this.players = this.players || [];
410
+
411
+ wp.media.mixin.unsetPlayers.call( this );
412
+
413
+ this.$( 'audio, video' ).each( function (i, elem) {
414
+ var el = wp.media.view.MediaDetails.prepareSrc( elem );
415
+ that.players.push( new window.MediaElementPlayer( el, wp.media.mixin.mejsSettings ) );
416
+ } );
417
+ }
418
+ } );
419
+
420
+ /***
421
+ * EditMedia
422
+ * Custom version of EditAttachments frame to prevent all video and audio from being unset
423
+ */
424
+ EditMedia = views.EditMedia = wp.media.view.MediaFrame.EditAttachments.extend( {
425
+ /**
426
+ * Content region rendering callback for the `edit-metadata` mode.
427
+ *
428
+ * @param {Object} contentRegion Basic object with a `view` property, which
429
+ * should be set with the proper region view.
430
+ */
431
+ editMetadataMode: function( contentRegion ) {
432
+ contentRegion.view = new MediaDetails({
433
+ controller: this,
434
+ model: this.model
435
+ });
436
+
437
+ /**
438
+ * Attach a subview to display fields added via the
439
+ * `attachment_fields_to_edit` filter.
440
+ */
441
+ contentRegion.view.views.set( '.attachment-compat', new wp.media.view.AttachmentCompat({
442
+ controller: this,
443
+ model: this.model
444
+ }) );
445
+ },
446
+ } );
447
+
448
  /**
449
  * Initialize media fields
450
  * @return void
js/video.js ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ window.rwmb = window.rwmb || {};
2
+
3
+ jQuery( function ( $ )
4
+ {
5
+ 'use strict';
6
+
7
+ var views = rwmb.views = rwmb.views || {},
8
+ MediaField = views.MediaField,
9
+ MediaItem = views.MediaItem,
10
+ MediaList = views.MediaList,
11
+ VideoField;
12
+
13
+ VideoField = views.VideoField = MediaField.extend( {
14
+ createList: function ()
15
+ {
16
+ this.list = new MediaList( {
17
+ controller: this.controller,
18
+ itemView: MediaItem.extend( {
19
+ className: 'rwmb-video-item',
20
+ template : wp.template( 'rwmb-video-item' ),
21
+ render: function()
22
+ {
23
+ var settings = ! _.isUndefined( window._wpmejsSettings ) ? _.clone( _wpmejsSettings ) : {};
24
+ MediaItem.prototype.render.apply( this, arguments );
25
+ this.player = new MediaElementPlayer( this.$( 'video' ).get(0), settings );
26
+ }
27
+ } )
28
+ } );
29
+ }
30
+ } );
31
+
32
+ /**
33
+ * Initialize image fields
34
+ * @return void
35
+ */
36
+ function initVideoField()
37
+ {
38
+ new VideoField( { input: this, el: $( this ).siblings( 'div.rwmb-media-view' ) } );
39
+ }
40
+ $( ':input.rwmb-video' ).each( initVideoField );
41
+ $( '.rwmb-input' )
42
+ .on( 'clone', ':input.rwmb-video', initVideoField )
43
+ } );
languages/meta-box-tr_TR.mo CHANGED
Binary file
languages/meta-box-tr_TR.po CHANGED
@@ -1,384 +1,180 @@
 
 
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: Meta Box Script For WordPress\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2013-06-03 22:19+0700\n"
6
- "PO-Revision-Date: 2013-07-13 01:40+0200\n"
7
- "Last-Translator: Rilwis <rilwis@gmail.com>\n"
8
- "Language-Team: Rilwis <rilwis@gmail.com>\n"
9
- "Language: en_EN\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
- "X-Poedit-KeywordsList: __;_e;_x:2c,1;_n:1,2;_n_noop:1,2;_nx:1,2;"
14
- "_nx_noop:1,2\n"
15
- "X-Poedit-Basepath: .\n"
16
- "X-Poedit-SourceCharset: UTF-8\n"
17
- "X-Generator: Poedit 1.5.5\n"
18
- "X-Poedit-SearchPath-0: ..\n"
19
- "X-Poedit-SearchPath-1: ../inc/fields\n"
20
-
21
- #: ../demo/all-custom-post-types.php:20
22
- msgid "Personal Information"
23
- msgstr "Kişisel Bilgiler"
24
-
25
- #: ../demo/all-custom-post-types.php:25
26
- msgid "Full name"
27
- msgstr "Tam İsminiz"
28
-
29
- #: ../demo/better-include.php:16 ../demo/include-by-ID-or-page-template.php:8
30
- msgid "Meta Box Title"
31
- msgstr "Meta Box Başlığı"
32
-
33
- #: ../demo/better-include.php:19 ../demo/include-by-ID-or-page-template.php:14
34
- msgid "Your images"
35
- msgstr "Resiminiz"
36
-
37
- #: ../demo/date-time-js-options.php:11
38
- msgid "Date Time Picker With JS Options"
39
- msgstr "JS Seçenekleriyle Tarih Saat Seçici"
40
-
41
- #: ../demo/date-time-js-options.php:15
42
- msgid "Date"
43
- msgstr "Tarih"
44
-
45
- #: ../demo/date-time-js-options.php:21 ../demo/demo.php:177
46
- msgid "(yyyy-mm-dd)"
47
- msgstr "(yyyy-aa-gg)"
48
-
49
- #: ../demo/date-time-js-options.php:23
50
- msgid "Select Date"
51
- msgstr "Tarih Seç"
52
-
53
- #: ../demo/date-time-js-options.php:24 ../demo/demo.php:178
54
- msgid "yy-mm-dd"
55
- msgstr "yy-aa-gg"
56
-
57
- #: ../demo/date-time-js-options.php:30
58
- msgid "Datetime"
59
- msgstr "Tarihsaat"
60
-
61
- #: ../demo/date-time-js-options.php:41
62
- msgid "Time"
63
- msgstr "Saat"
64
-
65
- #: ../demo/demo.php:34
66
- msgid "Standard Fields"
67
- msgstr "Standart Alanlar"
68
-
69
- #: ../demo/demo.php:53
70
- msgid "Text"
71
- msgstr "Yazı"
72
-
73
- #: ../demo/demo.php:57
74
- msgid "Text description"
75
- msgstr "Yazı Açıklaması"
76
-
77
- #: ../demo/demo.php:60
78
- msgid "Default text value"
79
- msgstr "Varsayılan yazı değeri"
80
-
81
- #: ../demo/demo.php:66
82
- msgid "Checkbox"
83
- msgstr "Onay Kutusu"
84
-
85
- #: ../demo/demo.php:74
86
- msgid "Radio"
87
- msgstr "Seçim Kutusu"
88
-
89
- #: ../demo/demo.php:80 ../demo/demo.php:91 ../demo/demo.php:226
90
- msgid "Label1"
91
- msgstr "Etiket1"
92
-
93
- #: ../demo/demo.php:81 ../demo/demo.php:92 ../demo/demo.php:227
94
- msgid "Label2"
95
- msgstr "Etiket2"
96
-
97
- #: ../demo/demo.php:86
98
- msgid "Select"
99
- msgstr "Seç"
100
-
101
- #: ../demo/demo.php:96
102
- msgid "Select an Item"
103
- msgstr "Bir Nesne Seçin"
104
-
105
- #: ../demo/demo.php:103
106
- msgid "Hidden value"
107
- msgstr "Gizli Alan"
108
-
109
- #: ../demo/demo.php:107
110
- msgid "Password"
111
- msgstr "Parola"
112
-
113
- #: ../demo/demo.php:113
114
- msgid "Textarea"
115
- msgstr "Yazı Alanı"
116
-
117
- #: ../demo/demo.php:114
118
- msgid "Textarea description"
119
- msgstr "Yazı Alanı Açıklaması"
120
-
121
- #: ../demo/demo.php:131
122
- msgid "Password is required"
123
- msgstr "Parola Gerekli"
124
-
125
- #: ../demo/demo.php:132
126
- msgid "Password must be at least 7 characters"
127
- msgstr "Parolanız 7 karakterden fazla olmalıdır"
128
-
129
- #: ../demo/demo.php:140
130
- msgid "Advanced Fields"
131
- msgstr "Gelişmiş Alanlar"
132
-
133
- #: ../demo/demo.php:145
134
- msgid "Slider"
135
- msgstr "Slider"
136
-
137
- #: ../demo/demo.php:150
138
- msgid "$"
139
- msgstr "$"
140
-
141
- #: ../demo/demo.php:151
142
- msgid " USD"
143
- msgstr "USD"
144
-
145
- #: ../demo/demo.php:162
146
- msgid "Number"
147
- msgstr "Numara"
148
-
149
- #: ../demo/demo.php:171
150
- msgid "Date picker"
151
- msgstr "Tarih Seçici"
152
-
153
- #: ../demo/demo.php:186
154
- msgid "Datetime picker"
155
- msgstr "Tarih Saat Seçici"
156
-
157
- #: ../demo/demo.php:200
158
- msgid "Time picker"
159
- msgstr "Saat Seçici"
160
-
161
- #: ../demo/demo.php:215
162
- msgid "Color picker"
163
- msgstr "Renk Seçici"
164
-
165
- #: ../demo/demo.php:221
166
- msgid "Checkbox list"
167
- msgstr "Onay Kutusu Litesi"
168
-
169
- #: ../demo/demo.php:232
170
- msgid "Email"
171
- msgstr "E-Posta"
172
-
173
- #: ../demo/demo.php:234
174
- msgid "Email description"
175
- msgstr "E-Posta Açıklaması"
176
-
177
- #: ../demo/demo.php:240
178
- msgid "Range"
179
- msgstr "Aralık"
180
-
181
- #: ../demo/demo.php:242
182
- msgid "Range description"
183
- msgstr "Aralık Açıklması"
184
-
185
- #: ../demo/demo.php:251
186
- msgid "URL"
187
- msgstr "URL"
188
-
189
- #: ../demo/demo.php:253
190
- msgid "URL description"
191
- msgstr "URL Açıklaması"
192
-
193
- #: ../demo/demo.php:259
194
- msgid "oEmbed"
195
- msgstr "oEmbed"
196
-
197
- #: ../demo/demo.php:261
198
- msgid "oEmbed description"
199
- msgstr "oEmbed Açıklaması"
200
-
201
- #: ../demo/demo.php:266
202
- msgid "Taxonomy"
203
- msgstr "Taxonomy"
204
-
205
- #: ../demo/demo.php:280
206
- msgid "Posts (Pages)"
207
- msgstr "Yazılar (Sayfalar)"
208
-
209
- #: ../demo/demo.php:296
210
- msgid "WYSIWYG / Rich Text Editor"
211
- msgstr "WYSIWYG / Gelişmiş Yazı Editörü"
212
-
213
- #: ../demo/demo.php:301
214
- msgid "WYSIWYG default value"
215
- msgstr "WYSIWYG varsayılan değer"
216
-
217
- #: ../demo/demo.php:312 ../demo/force-delete.php:15
218
- msgid "File Upload"
219
- msgstr "Dosya Yükleme"
220
-
221
- #: ../demo/demo.php:318
222
- msgid "File Advanced Upload"
223
- msgstr "Gelişmiş Dosya Yükleme"
224
-
225
- #: ../demo/demo.php:326 ../demo/force-delete.php:22
226
- msgid "Image Upload"
227
- msgstr "Resim Yükleme"
228
-
229
- #: ../demo/demo.php:332 ../demo/force-delete.php:28
230
- msgid "Thickbox Image Upload"
231
- msgstr "Thickbox Resim Yükleme"
232
-
233
- #: ../demo/demo.php:338 ../demo/force-delete.php:35
234
- msgid "Plupload Image Upload"
235
- msgstr "Plupload Resim Yükleme"
236
-
237
- #: ../demo/demo.php:345
238
- msgid "Image Advanced Upload"
239
- msgstr "Gelişmiş Resim Yükleme"
240
-
241
- #: ../demo/force-delete.php:11
242
- msgid "Test Meta Box"
243
- msgstr "Test Meta Box"
244
-
245
- #: ../demo/map.php:9
246
- msgid "Google Map"
247
- msgstr "Google Haritalar"
248
 
249
- #: ../demo/map.php:13
250
- msgid "Address"
251
- msgstr "Adres"
252
 
253
- #: ../demo/map.php:15
254
- msgid "Hanoi, Vietnam"
255
- msgstr "Hanoi, Vietnam"
256
 
257
- #: ../demo/map.php:19
258
- msgid "Location"
259
- msgstr "Yer Bilgisi"
260
 
261
- #: ../inc/classes/meta-box.php:220
262
- msgid "Please correct the errors highlighted below and try again."
263
- msgstr "Lütfen işaretlenmiş alanları düzeltin ve tekrar deneyin."
264
 
265
- #: ../inc/classes/meta-box.php:394
266
- msgid "+"
267
- msgstr "+"
268
 
269
- #: ../inc/classes/meta-box.php:416
270
- msgid "&#8211;"
271
- msgstr "&#8211;"
272
 
273
- #: ../inc/fields/file-advanced.php:23
274
  #, php-format
275
  msgid "You may only upload maximum %d file"
276
- msgstr "Yükleme yapabileceğiniz maksimum dosya sayısı %d dır"
277
 
278
- #: ../inc/fields/file-advanced.php:24
279
  #, php-format
280
  msgid "You may only upload maximum %d files"
281
- msgstr "Yükleme yapabileceğiniz maksimum dosya sayısı %d dır"
282
 
283
- #: ../inc/fields/file-advanced.php:25
284
- msgid "Select Files"
285
- msgstr "Dosya Seç"
286
-
287
- #: ../inc/fields/file-advanced.php:68
288
- msgctxt "file upload"
289
- msgid "Select or Upload Files"
290
- msgstr "Seç veya Dosya Yükle"
291
-
292
- #: ../inc/fields/file-advanced.php:104 ../inc/fields/file.php:133
293
- msgctxt "file upload"
294
- msgid "Delete"
295
- msgstr "Sil"
296
-
297
- #: ../inc/fields/file-advanced.php:105 ../inc/fields/file.php:134
298
- msgctxt "file upload"
299
- msgid "Edit"
300
- msgstr "Düzenle"
301
-
302
- #: ../inc/fields/file.php:66
303
  msgid "Error: Cannot delete file"
304
- msgstr "Hata: Dosya Silinemedi"
305
 
306
- #: ../inc/fields/file.php:80
307
- msgctxt "file upload"
308
  msgid "Upload Files"
309
- msgstr "Dosya Yükleme"
310
 
311
- #: ../inc/fields/file.php:81
312
- msgctxt "file upload"
313
  msgid "+ Add new file"
314
- msgstr "+ Yeni Dosya Ekle"
315
-
316
- #: ../inc/fields/image-advanced.php:22
317
- msgid "Select Images"
318
- msgstr "Resim Seç"
319
-
320
- #: ../inc/fields/image-advanced.php:71
321
- msgctxt "image upload"
322
- msgid "Select or Upload Images"
323
- msgstr "Seç veya Resim Yükle"
324
-
325
- #: ../inc/fields/image-advanced.php:107 ../inc/fields/image.php:144
326
- msgctxt "image upload"
327
- msgid "Delete"
328
- msgstr "Sil"
329
 
330
- #: ../inc/fields/image-advanced.php:108 ../inc/fields/image.php:145
331
- msgctxt "image upload"
332
  msgid "Edit"
333
  msgstr "Düzenle"
334
 
335
- #: ../inc/fields/image.php:64
336
- msgid "Order saved"
337
- msgstr "Görev Kaydedildi"
338
-
339
- #: ../inc/fields/image.php:78 ../inc/fields/thickbox-image.php:35
340
- msgctxt "image upload"
341
- msgid "Upload Images"
342
- msgstr "Resim Yükle"
343
 
344
- #: ../inc/fields/image.php:79
345
- msgctxt "image upload"
346
- msgid "+ Add new image"
347
- msgstr "+ Yeni Resim Ekle"
348
 
349
- #: ../inc/fields/map.php:48
350
  msgid "Find Address"
351
  msgstr "Adres Bul"
352
 
353
- #: ../inc/fields/plupload-image.php:104
354
- msgctxt "image upload"
355
- msgid "Drop images here"
356
- msgstr "Resimi Buraya Sürükleyin"
 
 
 
 
 
 
 
357
 
358
- #: ../inc/fields/plupload-image.php:105
359
- msgctxt "image upload"
 
 
 
 
 
 
 
 
 
 
 
360
  msgid "or"
361
  msgstr "veya"
362
 
363
- #: ../inc/fields/plupload-image.php:106
364
- msgctxt "image upload"
365
- msgid "Select Files"
366
- msgstr "Dosya Seçin"
367
 
368
- #: ../inc/fields/plupload-image.php:181
369
- msgctxt "image upload"
370
- msgid "Allowed Image Files"
371
- msgstr "İzin Verilen Resim Tipleri"
372
 
373
- #: ../inc/fields/post.php:54
374
- msgid "Post"
375
- msgstr "Yazı"
376
 
377
- #: ../inc/fields/post.php:68 ../inc/fields/taxonomy.php:40
 
 
 
 
378
  #, php-format
379
  msgid "Select a %s"
380
- msgstr "Seç bir %s"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
381
 
382
- #: ../inc/fields/select-advanced.php:71
383
- msgid "Select a value"
384
- msgstr "Bir değer seçin"
 
 
 
 
 
 
 
 
1
+ # <!=Copyright (C) 2014 Rilwis
2
+ # This file is distributed under the GPL2+.=!>
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Meta Box 4.8.7\n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/meta-box\n"
7
+ "POT-Creation-Date: 2016-11-18 16:09+0300\n"
 
 
 
 
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
+ "PO-Revision-Date: 2016-11-18 16:13+0300\n"
12
+ "Language-Team: Meta Box <admin@metabox.io>\n"
13
+ "X-Generator: Poedit 1.8.11\n"
14
+ "X-Poedit-KeywordsList: __;_x;_e;_ex;_n;_nx;esc_attr__;esc_attr_e;esc_attr_x;esc_html__;esc_html_e;esc_html_x;_n_noop;_nx_noop\n"
15
+ "X-Poedit-Basepath: ..\n"
16
+ "Last-Translator: \n"
17
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Language: tr\n"
19
+ "X-Poedit-SearchPath-0: .\n"
20
+ "X-Poedit-SearchPathExcluded-0: js\n"
21
+ "X-Poedit-SearchPathExcluded-1: demo\n"
22
+ "X-Poedit-SearchPathExcluded-2: tests\n"
23
+ "X-Poedit-SearchPathExcluded-3: css\n"
24
+ "X-Poedit-SearchPathExcluded-4: lang\n"
25
+
26
+ #: inc/core.php:40
27
+ msgid "Documentation"
28
+ msgstr "Dökümantasyon"
29
+
30
+ #: inc/core.php:41
31
+ msgid "Extensions"
32
+ msgstr "Uzantılar"
33
+
34
+ #: inc/field.php:192
35
+ msgid "+ Add more"
36
+ msgstr "+Ekle"
37
+
38
+ #: inc/fields/autocomplete.php:23 inc/fields/autocomplete.php:87
39
+ #: inc/fields/autocomplete.php:104 inc/fields/file.php:162
40
+ msgid "Delete"
41
+ msgstr "Sil"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
42
 
43
+ #: inc/fields/button.php:29
44
+ msgid "Click me"
45
+ msgstr "Bena tıkla"
46
 
47
+ #: inc/fields/checkbox.php:82
48
+ msgid "Yes"
49
+ msgstr "Evet"
50
 
51
+ #: inc/fields/checkbox.php:82
52
+ msgid "No"
53
+ msgstr "Hayır"
54
 
55
+ #: inc/fields/file-input.php:25
56
+ msgid "Select File"
57
+ msgstr "Dosya Seç"
58
 
59
+ #: inc/fields/file-input.php:49 inc/fields/select.php:91
60
+ msgid "Select"
61
+ msgstr "Seçim Yapınız"
62
 
63
+ #: inc/fields/file-input.php:51 inc/fields/media.php:28
64
+ msgid "Remove"
65
+ msgstr "Kaldır"
66
 
67
+ #: inc/fields/file.php:24
68
  #, php-format
69
  msgid "You may only upload maximum %d file"
70
+ msgstr "En fazla %d dosya yükleyebilirsiniz"
71
 
72
+ #: inc/fields/file.php:25
73
  #, php-format
74
  msgid "You may only upload maximum %d files"
75
+ msgstr "En fazla %d dosyası yükleyebilirsiniz"
76
 
77
+ #: inc/fields/file.php:85
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
78
  msgid "Error: Cannot delete file"
79
+ msgstr "Hata: Dosya silinemiyor"
80
 
81
+ #: inc/fields/file.php:98
 
82
  msgid "Upload Files"
83
+ msgstr "Dosyaları Yükle"
84
 
85
+ #: inc/fields/file.php:99
 
86
  msgid "+ Add new file"
87
+ msgstr "+ Yeni dosya ekle"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
88
 
89
+ #: inc/fields/file.php:163 inc/fields/media.php:29
 
90
  msgid "Edit"
91
  msgstr "Düzenle"
92
 
93
+ #: inc/fields/key-value.php:20
94
+ msgid "Key"
95
+ msgstr "Anahtar"
 
 
 
 
 
96
 
97
+ #: inc/fields/key-value.php:26
98
+ msgid "Value"
99
+ msgstr "Değer"
 
100
 
101
+ #: inc/fields/map.php:49
102
  msgid "Find Address"
103
  msgstr "Adres Bul"
104
 
105
+ #: inc/fields/media.php:25
106
+ msgid "+ Add Media"
107
+ msgstr "+ Media Ekle"
108
+
109
+ #: inc/fields/media.php:26
110
+ msgid " file"
111
+ msgstr "dosya"
112
+
113
+ #: inc/fields/media.php:27
114
+ msgid " files"
115
+ msgstr "dosyalar"
116
 
117
+ #: inc/fields/media.php:30
118
+ msgid "View"
119
+ msgstr "Görüntüle"
120
+
121
+ #: inc/fields/media.php:31
122
+ msgid "No Title"
123
+ msgstr "Başlık Yok"
124
+
125
+ #: inc/fields/media.php:34
126
+ msgid "Select Files"
127
+ msgstr "Dosyaları Seç"
128
+
129
+ #: inc/fields/media.php:35
130
  msgid "or"
131
  msgstr "veya"
132
 
133
+ #: inc/fields/media.php:36
134
+ msgid "Drop files here to upload"
135
+ msgstr "Yüklemek istediğiniz dosyaları buraya sürükleyiniz"
 
136
 
137
+ #: inc/fields/oembed.php:65
138
+ msgid "Embed HTML not available."
139
+ msgstr "HTML gömme mevcut değil."
 
140
 
141
+ #: inc/fields/oembed.php:81
142
+ msgid "Preview"
143
+ msgstr "Önizle"
144
 
145
+ #: inc/fields/post.php:34
146
+ msgid "Select a post"
147
+ msgstr "Yazı seçin"
148
+
149
+ #: inc/fields/post.php:38 inc/fields/taxonomy.php:51
150
  #, php-format
151
  msgid "Select a %s"
152
+ msgstr "Seç %s"
153
+
154
+ #: inc/fields/select-advanced.php:44
155
+ msgid "Select an item"
156
+ msgstr "Bir öğe seçin"
157
+
158
+ #: inc/fields/select.php:91
159
+ msgid "All"
160
+ msgstr "Tümü"
161
+
162
+ #: inc/fields/select.php:91
163
+ msgid "None"
164
+ msgstr "Hiçbiri"
165
+
166
+ #: inc/fields/taxonomy.php:47
167
+ msgid "Select a term"
168
+ msgstr "Bir terim seçin"
169
 
170
+ #: inc/fields/thickbox-image.php:53
171
+ msgid "Upload Images"
172
+ msgstr "Resimler Yükle"
173
+
174
+ #: inc/fields/user.php:34
175
+ msgid "Select an user"
176
+ msgstr "Bir Kullanıcı Seçin"
177
+
178
+ #: inc/validation.php:49
179
+ msgid "Please correct the errors highlighted below and try again."
180
+ msgstr "Lütfen vurgulanan hataları düzeltip tekrar deneyin."
meta-box.php CHANGED
@@ -2,8 +2,8 @@
2
  /**
3
  * Plugin Name: Meta Box
4
  * Plugin URI: https://metabox.io
5
- * Description: Create custom meta boxes and custom fields for any post type in WordPress.
6
- * Version: 4.9.8
7
  * Author: Rilwis
8
  * Author URI: http://www.deluxeblogtips.com
9
  * License: GPL2+
2
  /**
3
  * Plugin Name: Meta Box
4
  * Plugin URI: https://metabox.io
5
+ * Description: Create custom meta boxes and custom fields in WordPress.
6
+ * Version: 4.10
7
  * Author: Rilwis
8
  * Author URI: http://www.deluxeblogtips.com
9
  * License: GPL2+
readme.txt CHANGED
@@ -3,24 +3,35 @@ Contributors: metabox, rilwis, fitwp, f-j-kaiser, funkatronic, PerWiklander, rua
3
  Donate link: http://paypal.me/anhtnt
4
  Tags: meta-box, custom fields, custom field, meta, meta-boxes, admin, advanced, custom, edit, field, file, image, magic fields, matrix, more fields, Post, repeater, simple fields, text, textarea, type, cms, fields post
5
  Requires at least: 4.1
6
- Tested up to: 4.6.1
7
- Stable tag: 4.9.8
8
  License: GPLv2 or later
9
 
10
- Meta Box plugin is a powerful, professional solution to create custom meta boxes and custom fields for WordPress websites.
11
 
12
  == Description ==
13
 
14
- **Meta Box plugin provides powerful API to implement custom meta boxes and custom fields for any post type in WordPress**. It extends the default WordPress functionality to add more flexible data to posts, pages or any custom post types which makes your website look like a professional Content Management Systems.
 
 
 
 
 
 
15
 
16
  ### Features
17
 
18
- * Easily register multiple custom meta boxes for posts, pages or custom post types
19
- * Supports more than 35 [field types](https://metabox.io/docs/define-fields/): (text, textarea, wysiwyg, image, file, post, select, checkbox, radio buttons, date time picker, taxonomy, user, oembed and more to come!)
20
- * Uses the native WordPress meta data storage and functions for ease of use and fast processing
21
- * Has built-in hooks which allow you to change the appearance and behavior of meta boxes
22
- * Easily integrate with themes and plugins
23
- * Compatible with WPML multilingual plugin
 
 
 
 
 
24
 
25
  ### Documentation
26
 
@@ -80,6 +91,14 @@ To getting started with the plugin API, please read [this tutorial](https://meta
80
 
81
  == Changelog ==
82
 
 
 
 
 
 
 
 
 
83
  #### 4.9.8
84
  * Fix: Quick fix for enqueueing validation script
85
 
3
  Donate link: http://paypal.me/anhtnt
4
  Tags: meta-box, custom fields, custom field, meta, meta-boxes, admin, advanced, custom, edit, field, file, image, magic fields, matrix, more fields, Post, repeater, simple fields, text, textarea, type, cms, fields post
5
  Requires at least: 4.1
6
+ Tested up to: 4.7
7
+ Stable tag: 4.10
8
  License: GPLv2 or later
9
 
10
+ Meta Box plugin is a powerful, professional developer toolkit to create custom meta boxes and custom fields for WordPress.
11
 
12
  == Description ==
13
 
14
+ **Meta Box plugin is a powerful, professional toolkit for developers to create and handle everything related to custom meta boxes and custom fields for WordPress.**
15
+
16
+ The plugin provides a **wide range of field types** and **a lot of options to for each field type**, which gives you unlimited possibility to control and customize the custom fields.
17
+
18
+ With the extensions, you can easily build meta boxes not only for custom post types (default), but also for **settings page, user meta, term meta**. You can also display the fields the way you want with columns, tabs or groups.
19
+
20
+ The plugin is built mostly for developers with a little coding, but if you prefer GUI for faster creating custom post types, meta boxes and custom fields, the plugin has extensions for that: [MB Custom Post Type](https://wordpress.org/plugins/mb-custom-post-type/) and [Meta Box Builder](https://metabox.io/plugins/meta-box-builder/).
21
 
22
  ### Features
23
 
24
+ * Create custom meta boxes for posts, pages or any custom post type.
25
+ * Create custom [settings pages or theme option page](https://metabox.io/plugins/mb-settings-page/).
26
+ * Create custom meta boxes for [user profile pages](https://metabox.io/plugins/mb-user-meta/).
27
+ * Create custom meta boxes for [taxonomy terms](https://metabox.io/plugins/mb-term-meta/).
28
+ * Supports 40+ built-in [field types](https://metabox.io/docs/define-fields/) for all your needs (text, textarea, wysiwyg/editor, image, file, post, select, checkbox, radio buttons, date time picker, taxonomy, user, oembed and more to come!). You can also [create your own field type](https://metabox.io/docs/create-field-type/) easily.
29
+ * Support cloning (repeatable) fields for most field types, including WYSIWYG/editor field. Also support [repeatable field groups](https://metabox.io/plugins/meta-box-group/).
30
+ * Powerful [actions and filters](https://metabox.io/docs-category/reference/) that developers can build or change the appearance and behavior in the plugin.
31
+ * Uses the [native WordPress meta data storage](https://metabox.io/docs/how-post-meta-is-saved-in-the-database/) and functions for ease of use and fast processing.
32
+ * [Easily integrate with themes and plugins](https://metabox.io/docs/include-meta-box-plugin-themes/).
33
+ * [Works with Composer](https://metabox.io/docs/using-meta-box-composer/) if you want to include the plugin in your project.
34
+ * Compatible with WPML multilingual plugin (officially supported by WPML team).
35
 
36
  ### Documentation
37
 
91
 
92
  == Changelog ==
93
 
94
+ #### 4.10
95
+ * Improvement: Add `video` field type which allows users to upload or select video from the Media Library. See [demo](https://github.com/rilwis/meta-box/blob/master/demo/video.php).
96
+ * Improvement: Update Turkish. Prop Emre Tuna <tunaemre@windowslive.com>.
97
+ * Improvement: Use WP 4.6 date picker localization instead of JS localized file to reduce plugin size.
98
+ * Improvement: Refactor the media fields for better performance. Add `change` event for item list when add, remove or reset.
99
+ * Fix: `taxonomy_advanced` field now can be cloned.
100
+ * Fix: Make localize_script works with WP 4.1.
101
+
102
  #### 4.9.8
103
  * Fix: Quick fix for enqueueing validation script
104