Meta Box - Version 4.14.6

Version Description

Download this release

Release Info

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

Code changes from version 4.14.5 to 4.14.6

inc/about/about.php CHANGED
@@ -37,6 +37,10 @@ class RWMB_About {
37
 
38
  // Redirect to about page after activation.
39
  add_action( 'activated_plugin', array( $this, 'redirect' ), 10, 2 );
 
 
 
 
40
  }
41
 
42
  /**
@@ -78,8 +82,11 @@ class RWMB_About {
78
  ?>
79
  <div class="wrap about-wrap">
80
  <?php include dirname( __FILE__ ) . '/sections/welcome.php'; ?>
 
81
  <?php include dirname( __FILE__ ) . '/sections/tabs.php'; ?>
82
  <?php include dirname( __FILE__ ) . '/sections/getting-started.php'; ?>
 
 
83
  </div>
84
  <?php
85
  }
@@ -96,6 +103,20 @@ class RWMB_About {
96
  wp_enqueue_script( 'meta-box-about', RWMB_URL . 'inc/about/js/script.js', array( 'jquery' ), '', true );
97
  }
98
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
99
  /**
100
  * Redirect to about page after Meta Box has been activated.
101
  *
@@ -104,22 +125,9 @@ class RWMB_About {
104
  * or just the current site. Multisite only. Default is false.
105
  */
106
  public function redirect( $plugin, $network_wide ) {
107
- if ( ! $network_wide && 'meta-box/meta-box.php' === $plugin && ! $this->is_bundled() ) {
108
  wp_safe_redirect( admin_url( 'index.php?page=meta-box-about' ) );
109
  die;
110
  }
111
  }
112
-
113
- /**
114
- * Check if Meta Box is bundled by TGM Activation Class.
115
- */
116
- protected function is_bundled() {
117
- // @codingStandardsIgnoreLine
118
- foreach ( $_REQUEST as $key => $value ) {
119
- if ( false !== strpos( $key, 'tgmpa' ) || false !== strpos( $value, 'tgmpa' ) ) {
120
- return true;
121
- }
122
- }
123
- return false;
124
- }
125
  }
37
 
38
  // Redirect to about page after activation.
39
  add_action( 'activated_plugin', array( $this, 'redirect' ), 10, 2 );
40
+
41
+ if ( isset( $_GET['page'] ) && 'meta-box-about' === $_GET['page'] ) {
42
+ add_filter( 'admin_footer_text', array( $this, 'change_footer_text' ) );
43
+ }
44
  }
45
 
46
  /**
82
  ?>
83
  <div class="wrap about-wrap">
84
  <?php include dirname( __FILE__ ) . '/sections/welcome.php'; ?>
85
+ <?php include dirname( __FILE__ ) . '/sections/newsletter.php'; ?>
86
  <?php include dirname( __FILE__ ) . '/sections/tabs.php'; ?>
87
  <?php include dirname( __FILE__ ) . '/sections/getting-started.php'; ?>
88
+ <?php include dirname( __FILE__ ) . '/sections/extensions.php'; ?>
89
+ <?php include dirname( __FILE__ ) . '/sections/support.php'; ?>
90
  </div>
91
  <?php
92
  }
103
  wp_enqueue_script( 'meta-box-about', RWMB_URL . 'inc/about/js/script.js', array( 'jquery' ), '', true );
104
  }
105
 
106
+ /**
107
+ * Change WordPress footer text on about page.
108
+ */
109
+ public function change_footer_text() {
110
+ $allowed_html = array(
111
+ 'a' => array(
112
+ 'href' => array(),
113
+ 'target' => array(),
114
+ ),
115
+ 'strong' => array(),
116
+ );
117
+ echo wp_kses( __( 'If you like <strong>Meta Box</strong> please leave us a <a href="https://wordpress.org/support/view/plugin-reviews/meta-box?filter=5" target="_blank">&#9733;&#9733;&#9733;&#9733;&#9733;</a> rating. A huge thank you from Meta Box in advance!', 'meta-box' ), $allowed_html );
118
+ }
119
+
120
  /**
121
  * Redirect to about page after Meta Box has been activated.
122
  *
125
  * or just the current site. Multisite only. Default is false.
126
  */
127
  public function redirect( $plugin, $network_wide ) {
128
+ if ( ! $network_wide && 'meta-box/meta-box.php' === $plugin ) {
129
  wp_safe_redirect( admin_url( 'index.php?page=meta-box-about' ) );
130
  die;
131
  }
132
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
133
  }
inc/about/css/style.css CHANGED
@@ -11,6 +11,25 @@
11
  text-decoration: none;
12
  }
13
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  .feature-section.two-col {
15
  align-items: flex-start;
16
  }
@@ -55,3 +74,34 @@
55
  font-size: 16px;
56
  vertical-align: middle;
57
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  text-decoration: none;
12
  }
13
 
14
+ .about-buttons .dashicons {
15
+ position: relative;
16
+ top: 5px;
17
+ width: 16px;
18
+ height: 16px;
19
+ font-size: 16px;
20
+ }
21
+
22
+ /* Newsletter */
23
+ .newsletter {
24
+ margin: 40px 0;
25
+ border: 3px dashed #999;
26
+ padding: 15px;
27
+ display: inline-block;
28
+ }
29
+ .newsletter p {
30
+ margin-top: 0;
31
+ }
32
+
33
  .feature-section.two-col {
34
  align-items: flex-start;
35
  }
74
  font-size: 16px;
75
  vertical-align: middle;
76
  }
77
+
78
+ /* Extensions tab */
79
+ .theme-browser {
80
+ margin-top: 40px;
81
+ }
82
+ .theme-browser .theme {
83
+ text-decoration: none;
84
+ }
85
+ .theme-browser .theme .more-details {
86
+ top: 0;
87
+ left: 0;
88
+ right: 0;
89
+ bottom: 48px;
90
+ border-radius: 0;
91
+ line-height: 1.7;
92
+ display: flex;
93
+ align-items: center;
94
+ transition: opacity .3s;
95
+ }
96
+ @media (min-width: 1640px) {
97
+ .theme-browser .theme {
98
+ width: 30.6%;
99
+ margin: 0 4% 4% 0;
100
+ }
101
+ .theme-browser .theme:nth-child(4n) {
102
+ margin-right: 4%;
103
+ }
104
+ .theme-browser .theme:nth-child(3n) {
105
+ margin-right: 0;
106
+ }
107
+ }
inc/about/images/builder.png ADDED
Binary file
inc/about/images/conditional-logic.png ADDED
Binary file
inc/about/images/custom-post-type.png ADDED
Binary file
inc/about/images/custom-table.png ADDED
Binary file
inc/about/images/frontend-submission.png ADDED
Binary file
inc/about/images/group.png ADDED
Binary file
inc/about/images/relationships.png ADDED
Binary file
inc/about/images/rest-api.png ADDED
Binary file
inc/about/images/settings-page.png ADDED
Binary file
inc/about/images/tabs.png ADDED
Binary file
inc/about/images/term-meta.png ADDED
Binary file
inc/about/images/user-meta.png ADDED
Binary file
inc/about/sections/extensions.php ADDED
@@ -0,0 +1,163 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Extensions section.
4
+ *
5
+ * @package Meta Box
6
+ */
7
+
8
+ ?>
9
+ <div id="extensions" class="gt-tab-pane">
10
+ <p class="about-description">
11
+ <?php esc_html_e( 'Extend custom fields in WordPress well beyond what others would ever consider ordinary!', 'meta-box' ); ?><br>
12
+ <?php esc_html_e( 'Save over 70% with our extensions bundles.', 'meta-box' ); ?> <a href="https://metabox.io/pricing/" target="_blank"><?php esc_html_e( 'View Bundles', 'meta-box' ); ?> &rarr;</a></p>
13
+ <div class="theme-browser rendered">
14
+ <div class="themes wp-clearfix">
15
+ <a class="theme" href="https://metabox.io/plugins/meta-box-builder/" target="_blank">
16
+ <div class="theme-screenshot">
17
+ <img src="<?php echo esc_url( RWMB_URL ); ?>inc/about/images/builder.png" alt="meta box builder">
18
+ </div>
19
+ <span class="more-details"><span class="more-details-inner"><?php esc_html_e( 'Drag and drop your custom fields into place without a single line of code.', 'meta-box' ); ?></span></span>
20
+ <div class="theme-id-container">
21
+ <h3 class="theme-name">Meta Box Builder</h3>
22
+ <div class="theme-actions">
23
+ <button class="button button-primary"><?php esc_html_e( 'Learn More', 'meta-box' ); ?></button>
24
+ </div>
25
+ </div>
26
+ </a>
27
+ <a class="theme" href="https://metabox.io/plugins/custom-post-type/" target="_blank">
28
+ <div class="theme-screenshot">
29
+ <img src="<?php echo esc_url( RWMB_URL ); ?>inc/about/images/custom-post-type.png" alt="mb custom post type">
30
+ </div>
31
+ <span class="more-details"><span class="more-details-inner"><span class="more-details-inner"><?php esc_html_e( 'Create and manage custom post types easily in WordPress with an easy-to-use interface.', 'meta-box' ); ?></span></span></span>
32
+ <div class="theme-id-container">
33
+ <h3 class="theme-name">MB Custom Post Type</h3>
34
+ <div class="theme-actions">
35
+ <button class="button button-primary"><?php esc_html_e( 'Learn More', 'meta-box' ); ?></button>
36
+ </div>
37
+ </div>
38
+ </a>
39
+ <a class="theme" href="https://metabox.io/plugins/meta-box-group/" target="_blank">
40
+ <div class="theme-screenshot">
41
+ <img src="<?php echo esc_url( RWMB_URL ); ?>inc/about/images/group.png" alt="meta box group">
42
+ </div>
43
+ <span class="more-details"><span class="more-details-inner"><?php esc_html_e( 'Create repeatable groups of custom fields for better appearance and structure.', 'meta-box' ); ?></span></span>
44
+ <div class="theme-id-container">
45
+ <h3 class="theme-name">Meta Box Group</h3>
46
+ <div class="theme-actions">
47
+ <button class="button button-primary"><?php esc_html_e( 'Learn More', 'meta-box' ); ?></button>
48
+ </div>
49
+ </div>
50
+ </a>
51
+ <a class="theme" href="https://metabox.io/plugins/mb-settings-page/" target="_blank">
52
+ <div class="theme-screenshot">
53
+ <img src="<?php echo esc_url( RWMB_URL ); ?>inc/about/images/settings-page.png" alt="">
54
+ </div>
55
+ <span class="more-details"><span class="more-details-inner"><?php esc_html_e( 'Create a powerful settings page for your theme, plugin or website.', 'meta-box' ); ?></span></span>
56
+ <div class="theme-id-container">
57
+ <h3 class="theme-name">MB Settings Page</h3>
58
+ <div class="theme-actions">
59
+ <button class="button button-primary"><?php esc_html_e( 'Learn More', 'meta-box' ); ?></button>
60
+ </div>
61
+ </div>
62
+ </a>
63
+ <a class="theme" href="https://metabox.io/plugins/meta-box-conditional-logic/" target="_blank">
64
+ <div class="theme-screenshot">
65
+ <img src="<?php echo esc_url( RWMB_URL ); ?>inc/about/images/conditional-logic.png" alt="">
66
+ </div>
67
+ <span class="more-details"><span class="more-details-inner"><?php esc_html_e( 'Control the visibility of meta boxes and fields or even HTML elements with ease.', 'meta-box' ); ?></span></span>
68
+ <div class="theme-id-container">
69
+ <h3 class="theme-name">Meta Box Conditional Logic</h3>
70
+ <div class="theme-actions">
71
+ <button class="button button-primary"><?php esc_html_e( 'Learn More', 'meta-box' ); ?></button>
72
+ </div>
73
+ </div>
74
+ </a>
75
+ <a class="theme" href="https://metabox.io/plugins/mb-term-meta/" target="_blank">
76
+ <div class="theme-screenshot">
77
+ <img src="<?php echo esc_url( RWMB_URL ); ?>inc/about/images/term-meta.png" alt="">
78
+ </div>
79
+ <span class="more-details"><span class="more-details-inner"><?php esc_html_e( 'Easily add custom fields to categories, tags or any custom taxonomy.', 'meta-box' ); ?></span></span>
80
+ <div class="theme-id-container">
81
+ <h3 class="theme-name">MB Term Meta</h3>
82
+ <div class="theme-actions">
83
+ <button class="button button-primary"><?php esc_html_e( 'Learn More', 'meta-box' ); ?></button>
84
+ </div>
85
+ </div>
86
+ </a>
87
+ <a class="theme" href="https://metabox.io/plugins/mb-user-meta/" target="_blank">
88
+ <div class="theme-screenshot">
89
+ <img src="<?php echo esc_url( RWMB_URL ); ?>inc/about/images/user-meta.png" alt="">
90
+ </div>
91
+ <span class="more-details"><span class="more-details-inner"><?php esc_html_e( 'Add custom fields to user profile (user meta) quickly with simple syntax.', 'meta-box' ); ?></span></span>
92
+ <div class="theme-id-container">
93
+ <h3 class="theme-name">MB User Meta</h3>
94
+ <div class="theme-actions">
95
+ <button class="button button-primary"><?php esc_html_e( 'Learn More', 'meta-box' ); ?></button>
96
+ </div>
97
+ </div>
98
+ </a>
99
+ <a class="theme" href="https://metabox.io/plugins/mb-frontend-submission/" target="_blank">
100
+ <div class="theme-screenshot">
101
+ <img src="<?php echo esc_url( RWMB_URL ); ?>inc/about/images/frontend-submission.png" alt="">
102
+ </div>
103
+ <span class="more-details"><span class="more-details-inner"><?php esc_html_e( 'Create frontend forms for users to submit custom content. Embed everywhere with shortcode.', 'meta-box' ); ?></span></span>
104
+ <div class="theme-id-container">
105
+ <h3 class="theme-name">MB Frontend Submission</h3>
106
+ <div class="theme-actions">
107
+ <button class="button button-primary"><?php esc_html_e( 'Learn More', 'meta-box' ); ?></button>
108
+ </div>
109
+ </div>
110
+ </a>
111
+ <a class="theme" href="https://metabox.io/plugins/meta-box-tabs/" target="_blank">
112
+ <div class="theme-screenshot">
113
+ <img src="<?php echo esc_url( RWMB_URL ); ?>inc/about/images/tabs.png" alt="meta box tabs">
114
+ </div>
115
+ <span class="more-details"><span class="more-details-inner"><?php esc_html_e( 'Add as many custom fields as you want and organize them into tabs.', 'meta-box' ); ?></span></span>
116
+ <div class="theme-id-container">
117
+ <h3 class="theme-name">Meta Box Tabs</h3>
118
+ <div class="theme-actions">
119
+ <button class="button button-primary"><?php esc_html_e( 'Learn More', 'meta-box' ); ?></button>
120
+ </div>
121
+ </div>
122
+ </a>
123
+ <a class="theme" href="https://metabox.io/plugins/mb-custom-table/" target="_blank">
124
+ <div class="theme-screenshot">
125
+ <img src="<?php echo esc_url( RWMB_URL ); ?>inc/about/images/custom-table.png" alt="mb custom table">
126
+ </div>
127
+ <span class="more-details"><span class="more-details-inner"><span class="more-details-inner"><?php esc_html_e( 'Save custom fields data to custom table instead of the default meta tables. Reduce database size and increase performance.', 'meta-box' ); ?></span></span></span>
128
+ <div class="theme-id-container">
129
+ <h3 class="theme-name">MB Custom Table</h3>
130
+ <div class="theme-actions">
131
+ <button class="button button-primary"><?php esc_html_e( 'Learn More', 'meta-box' ); ?></button>
132
+ </div>
133
+ </div>
134
+ </a>
135
+ <a class="theme" href="https://metabox.io/plugins/mb-rest-api/" target="_blank">
136
+ <div class="theme-screenshot">
137
+ <img src="<?php echo esc_url( RWMB_URL ); ?>inc/about/images/rest-api.png" alt="mb rest api">
138
+ </div>
139
+ <span class="more-details"><span class="more-details-inner"><?php esc_html_e( 'Pull all meta value from posts, terms into the WP REST API responses.', 'meta-box' ); ?></span></span>
140
+ <div class="theme-id-container">
141
+ <h3 class="theme-name">MB Frontend Submission</h3>
142
+ <div class="theme-actions">
143
+ <button class="button button-primary"><?php esc_html_e( 'Learn More', 'meta-box' ); ?></button>
144
+ </div>
145
+ </div>
146
+ </a>
147
+ <a class="theme" href="https://metabox.io/plugins/mb-relationships/" target="_blank">
148
+ <div class="theme-screenshot">
149
+ <img src="<?php echo esc_url( RWMB_URL ); ?>inc/about/images/relationships.png" alt="mb relationships">
150
+ </div>
151
+ <span class="more-details"><span class="more-details-inner"><?php esc_html_e( 'A lightweight WordPress plugin for creating many-to-many relationships between posts, terms and users.', 'meta-box' ); ?></span></span>
152
+ <div class="theme-id-container">
153
+ <h3 class="theme-name">MB Relationships</h3>
154
+ <div class="theme-actions">
155
+ <button class="button button-primary"><?php esc_html_e( 'Learn More', 'meta-box' ); ?></button>
156
+ </div>
157
+ </div>
158
+ </a>
159
+ </div>
160
+ </div>
161
+
162
+ <p><a href="https://metabox.io/plugins/" class="button button-primary"><?php esc_html_e( 'More Extensions', 'meta-box' ); ?> &rarr;</a></p>
163
+ </div>
inc/about/sections/getting-started.php CHANGED
@@ -2,8 +2,7 @@
2
  /**
3
  * Getting started section.
4
  *
5
- * @package Meta Box
6
- * @subpackage MB Custom Post Type
7
  */
8
 
9
  ?>
@@ -34,8 +33,4 @@
34
  <p><a target="_blank" class="button button-primary" href="https://metabox.io/plugins/?utm_source=plugin_about_page&utm_medium=button_extensions&utm_campaign=meta_box_about_page"><?php esc_html_e( 'More Extensions', 'meta-box' ); ?></a>
35
  </div>
36
  </div>
37
- <hr>
38
- <div class="return-to-dashboard">
39
- <a href="https://metabox.io/plugins/?utm_source=plugin_about_page&utm_medium=link_home&utm_campaign=meta_box_about_page"><?php esc_html_e( 'Go to MetaBox.IO &rarr;', 'meta-box' ); ?></a>
40
- </div>
41
  </div>
2
  /**
3
  * Getting started section.
4
  *
5
+ * @package Meta Box
 
6
  */
7
 
8
  ?>
33
  <p><a target="_blank" class="button button-primary" href="https://metabox.io/plugins/?utm_source=plugin_about_page&utm_medium=button_extensions&utm_campaign=meta_box_about_page"><?php esc_html_e( 'More Extensions', 'meta-box' ); ?></a>
34
  </div>
35
  </div>
 
 
 
 
36
  </div>
inc/about/sections/newsletter.php ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Newsletter form
4
+ *
5
+ * @package Meta Box
6
+ */
7
+
8
+ ?>
9
+
10
+ <form method="post" action="https://app.zetamail.vn/form.php?form=77" target="_blank" class="newsletter">
11
+ <input name="format" value="h" type="hidden">
12
+ <p><?php esc_html_e( 'Subscribe to our newsletter to receive news and tutorials for Meta Box and WordPress.', 'meta-box' ); ?></p>
13
+ <p>
14
+ <input name="email" value="" placeholder="joe@gmail.com" required type="email" class="regular-text">
15
+ <button class="button button-primary"><?php esc_html_e( 'Subscribe', 'meta-box' ); ?></button>
16
+ </p>
17
+ </form>
inc/about/sections/support.php ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Support section.
4
+ *
5
+ * @package Meta Box
6
+ */
7
+
8
+ ?>
9
+ <div id="support" class="gt-tab-pane">
10
+ <p class="about-description">Still need help with Meta Box? We offer excellent support for you. But don't forget to check our <a href="https://docs.metabox.io">documentation</a> first.</p>
11
+ <div class="feature-section two-col">
12
+ <div class="col">
13
+ <h3><?php esc_html_e( 'Free Support', 'meta-box' ); ?></h3>
14
+ <p><?php esc_html_e( 'If you have any question about how to use the plugin, please open a new topic on WordPress.org support forum or open a new issue on Github (preferable). We will try to answer as soon as we can.', 'meta-box' ); ?><p>
15
+ <p><a href="https://github.com/wpmetabox/meta-box/issues" class="button button-primary" target="_blank"><?php esc_html_e( 'Go to Github', 'meta-box' ); ?> &rarr;</a></p>
16
+ <p><a href="https://wordpress.org/support/plugin/meta-box" class="button button-primary" target="_blank"><?php esc_html_e( 'Go to WordPress.org', 'meta-box' ); ?> &rarr;</a></p>
17
+ </div>
18
+
19
+ <div class="col">
20
+ <h3><?php esc_html_e( 'Premium Support', 'meta-box' ); ?></h3>
21
+ <p><?php esc_html_e( 'For users that have bought premium extensions, the support is provided in the Meta Box Support forum. Any question will be answered with technical details within 24 hours.', 'meta-box' ); ?><p>
22
+ <p><a href="https://metabox.io/support/" class="button button-primary" target="_blank"><?php esc_html_e( 'Go to support forum', 'meta-box' ); ?> &rarr;</a></p>
23
+ </div>
24
+ </div>
25
+ </div>
inc/about/sections/tabs.php CHANGED
@@ -2,11 +2,12 @@
2
  /**
3
  * Tabs navigation.
4
  *
5
- * @package Meta Box
6
- * @subpackage MB Custom Post Type
7
  */
8
 
9
  ?>
10
  <h2 class="nav-tab-wrapper">
11
  <a href="#getting-started" class="nav-tab nav-tab-active"><?php esc_html_e( 'Getting Started', 'meta-box' ); ?></a>
 
 
12
  </h2>
2
  /**
3
  * Tabs navigation.
4
  *
5
+ * @package Meta Box
 
6
  */
7
 
8
  ?>
9
  <h2 class="nav-tab-wrapper">
10
  <a href="#getting-started" class="nav-tab nav-tab-active"><?php esc_html_e( 'Getting Started', 'meta-box' ); ?></a>
11
+ <a href="#extensions" class="nav-tab"><?php esc_html_e( 'Extensions', 'meta-box' ); ?></a>
12
+ <a href="#support" class="nav-tab"><?php esc_html_e( 'Support', 'meta-box' ); ?></a>
13
  </h2>
inc/about/sections/welcome.php CHANGED
@@ -13,5 +13,12 @@
13
  echo esc_html( sprintf( __( 'Welcome to %1$s %2$s', 'meta-box' ), $this->plugin['Name'], $this->plugin['Version'] ) );
14
  ?>
15
  </h1>
16
- <div class="about-text"><?php esc_html_e( 'This plugin is a lightweight and powerful toolkit that helps you to create custom meta boxes and custom fields in WordPress fast and easy. Follow the instruction below to get started.', 'meta-box' ); ?></div>
17
  <a target="_blank" href="<?php echo esc_url( 'https://metabox.io/?utm_source=plugin_about_page&utm_medium=badge_link&utm_campaign=meta_box_about' ); ?>" class="wp-badge"><?php echo esc_html( $this->plugin['Name'] ); ?></a>
 
 
 
 
 
 
 
13
  echo esc_html( sprintf( __( 'Welcome to %1$s %2$s', 'meta-box' ), $this->plugin['Name'], $this->plugin['Version'] ) );
14
  ?>
15
  </h1>
16
+ <div class="about-text"><?php esc_html_e( 'Meta Box is a free Gutenberg and GDPR-compatible WordPress custom fields plugin and framework that makes quick work of customizing a website with—you guessed it—meta boxes and custom fields in WordPress. Follow the instruction below to get started!', 'meta-box' ); ?></div>
17
  <a target="_blank" href="<?php echo esc_url( 'https://metabox.io/?utm_source=plugin_about_page&utm_medium=badge_link&utm_campaign=meta_box_about' ); ?>" class="wp-badge"><?php echo esc_html( $this->plugin['Name'] ); ?></a>
18
+ <p class="about-buttons">
19
+ <a target="_blank" class="button button-primary" href="<?php echo esc_url( 'https://docs.metabox.io?utm_source=plugin_about_page&utm_medium=docs_link&utm_campaign=meta_box_about' ); ?>"><?php esc_html_e( 'Documentation', 'meta-box' ); ?></a>
20
+ <a target="_blank" class="button button-primary" href="<?php echo esc_url( 'https://metabox.io/plugins/?utm_source=plugin_about_page&utm_medium=plugins_link&utm_campaign=meta_box_about' ); ?>"><?php esc_html_e( 'Extensions', 'meta-box' ); ?></a>
21
+ <a target="_blank" class="button button-primary" href="<?php echo esc_url( 'https://metabox.io/support/?utm_source=plugin_about_page&utm_medium=support_link&utm_campaign=meta_box_about' ); ?>"><?php esc_html_e( 'Support', 'meta-box' ); ?></a>
22
+ <a target="_blank" class="button button-primary" href="https://www.facebook.com/sharer/sharer.php?u=https%3A//metabox.io"><span class="dashicons dashicons-facebook-alt"></span> Share</a>
23
+ <a target="_blank" class="button button-primary" href="https://twitter.com/home?status=Reduce%20your%20dev%20time!%20Meta%20Box%20is%20the%20most%20powerful%20custom%20fields%20plugin%20for%20WordPress%20on%20the%20web%20https%3A//metabox.io%20via%20%40wpmetabox"><span class="dashicons dashicons-twitter"></span> Tweet</a>
24
+ </p>
inc/core.php CHANGED
@@ -17,7 +17,7 @@ class RWMB_Core {
17
  public function init() {
18
  load_plugin_textdomain( 'meta-box', false, plugin_basename( RWMB_DIR ) . '/languages/' );
19
 
20
- add_filter( 'plugin_action_links_meta-box/meta-box.php', array( $this, 'plugin_links' ) );
21
 
22
  // Uses priority 20 to support custom port types registered using the default priority.
23
  add_action( 'init', array( $this, 'register_meta_boxes' ), 20 );
@@ -36,7 +36,7 @@ class RWMB_Core {
36
  */
37
  public function plugin_links( $links ) {
38
  $links[] = '<a href="https://docs.metabox.io">' . esc_html__( 'Documentation', 'meta-box' ) . '</a>';
39
- $links[] = '<a href="https://metabox.io/plugins/">' . esc_html__( 'Extensions', 'meta-box' ) . '</a>';
40
  return $links;
41
  }
42
 
17
  public function init() {
18
  load_plugin_textdomain( 'meta-box', false, plugin_basename( RWMB_DIR ) . '/languages/' );
19
 
20
+ add_filter( 'plugin_action_links_meta-box/meta-box.php', array( $this, 'plugin_links' ), 20 );
21
 
22
  // Uses priority 20 to support custom port types registered using the default priority.
23
  add_action( 'init', array( $this, 'register_meta_boxes' ), 20 );
36
  */
37
  public function plugin_links( $links ) {
38
  $links[] = '<a href="https://docs.metabox.io">' . esc_html__( 'Documentation', 'meta-box' ) . '</a>';
39
+ $links[] = '<a href="https://metabox.io/plugins/" style="color: #39b54a; font-weight: bold">' . esc_html__( 'Extensions', 'meta-box' ) . '</a>';
40
  return $links;
41
  }
42
 
inc/field.php CHANGED
@@ -196,6 +196,10 @@ abstract class RWMB_Field {
196
  $args['single'] = $field['clone'] || ! $field['multiple'];
197
  }
198
 
 
 
 
 
199
  return $storage->get( $object_id, $field['id'], $args );
200
  }
201
 
@@ -298,6 +302,38 @@ abstract class RWMB_Field {
298
  return;
299
  }
300
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
301
  // If field is cloneable, value is saved as a single entry in the database.
302
  if ( $field['clone'] ) {
303
  // Remove empty values.
@@ -353,11 +389,12 @@ abstract class RWMB_Field {
353
  'field_name' => isset( $field['id'] ) ? $field['id'] : '',
354
  'placeholder' => '',
355
 
356
- 'clone' => false,
357
- 'max_clone' => 0,
358
- 'sort_clone' => false,
359
- 'add_button' => __( '+ Add more', 'meta-box' ),
360
- 'clone_default' => false,
 
361
 
362
  'class' => '',
363
  'disabled' => false,
@@ -394,7 +431,7 @@ abstract class RWMB_Field {
394
  'name' => $field['field_name'],
395
  ) );
396
 
397
- $attributes['class'] = implode( ' ', array_merge( array( "rwmb-{$field['type']}" ), (array) $attributes['class'] ) );
398
 
399
  return $attributes;
400
  }
196
  $args['single'] = $field['clone'] || ! $field['multiple'];
197
  }
198
 
199
+ if ( $field['clone'] && $field['clone_as_multiple'] ) {
200
+ $args['single'] = false;
201
+ }
202
+
203
  return $storage->get( $object_id, $field['id'], $args );
204
  }
205
 
302
  return;
303
  }
304
 
305
+ // Save cloned fields as multiple values instead serialized array.
306
+ if ( $field['clone'] && $field['clone_as_multiple'] ) {
307
+ $old = array_filter( (array) $old );
308
+ $new = array_filter( (array) $new );
309
+
310
+ if ( empty( $new ) ) {
311
+ $storage->delete( $post_id, $name );
312
+ }
313
+
314
+ if ( $field['sort_clone'] && array_values( $new ) != array_values( $old ) ) {
315
+ $storage->delete( $post_id, $name );
316
+
317
+ foreach ( $new as $new_value ) {
318
+ $storage->add( $post_id, $name, $new_value, false );
319
+ }
320
+
321
+ return;
322
+ }
323
+
324
+ $new_values = array_diff( $new, $old );
325
+ foreach ( $new_values as $new_value ) {
326
+ $storage->add( $post_id, $name, $new_value, false );
327
+ }
328
+
329
+ $old_values = array_diff( $old, $new );
330
+ foreach ( $old_values as $old_value ) {
331
+ $storage->delete( $post_id, $name, $old_value );
332
+ }
333
+
334
+ return;
335
+ }
336
+
337
  // If field is cloneable, value is saved as a single entry in the database.
338
  if ( $field['clone'] ) {
339
  // Remove empty values.
389
  'field_name' => isset( $field['id'] ) ? $field['id'] : '',
390
  'placeholder' => '',
391
 
392
+ 'clone' => false,
393
+ 'max_clone' => 0,
394
+ 'sort_clone' => false,
395
+ 'add_button' => __( '+ Add more', 'meta-box' ),
396
+ 'clone_default' => false,
397
+ 'clone_as_multiple' => false,
398
 
399
  'class' => '',
400
  'disabled' => false,
431
  'name' => $field['field_name'],
432
  ) );
433
 
434
+ $attributes['class'] = trim( implode( ' ', array_merge( array( "rwmb-{$field['type']}" ), (array) $attributes['class'] ) ) );
435
 
436
  return $attributes;
437
  }
inc/fields/object-choice.php CHANGED
@@ -62,6 +62,8 @@ abstract class RWMB_Object_Choice_Field extends RWMB_Choice_Field {
62
  $attributes = call_user_func( array( self::get_type_class( $field ), 'get_attributes' ), $field, $value );
63
  if ( 'select_advanced' === $field['field_type'] ) {
64
  $attributes['class'] .= ' rwmb-select_advanced';
 
 
65
  }
66
  return $attributes;
67
  }
62
  $attributes = call_user_func( array( self::get_type_class( $field ), 'get_attributes' ), $field, $value );
63
  if ( 'select_advanced' === $field['field_type'] ) {
64
  $attributes['class'] .= ' rwmb-select_advanced';
65
+ } elseif ( 'select' === $field['field_type'] ) {
66
+ $attributes['class'] .= ' rwmb-select';
67
  }
68
  return $attributes;
69
  }
inc/fields/select.php CHANGED
@@ -28,9 +28,10 @@ class RWMB_Select_Field extends RWMB_Choice_Field {
28
  * @return string
29
  */
30
  public static function walk( $field, $options, $db_fields, $meta ) {
31
- $attributes = self::call( 'get_attributes', $field, $meta );
32
- $walker = new RWMB_Walker_Select( $db_fields, $field, $meta );
33
- $output = sprintf(
 
34
  '<select %s>',
35
  self::render_attributes( $attributes )
36
  );
28
  * @return string
29
  */
30
  public static function walk( $field, $options, $db_fields, $meta ) {
31
+ $attributes = self::call( 'get_attributes', $field, $meta );
32
+ $attributes['data-selected'] = $meta;
33
+ $walker = new RWMB_Walker_Select( $db_fields, $field, $meta );
34
+ $output = sprintf(
35
  '<select %s>',
36
  self::render_attributes( $attributes )
37
  );
inc/fields/taxonomy.php CHANGED
@@ -121,7 +121,9 @@ class RWMB_Taxonomy_Field extends RWMB_Object_Choice_Field {
121
  return '';
122
  }
123
 
124
- $meta = wp_get_object_terms( $object_id, $field['taxonomy'] );
 
 
125
  $meta = wp_list_pluck( $meta, 'term_id' );
126
 
127
  return $field['multiple'] ? $meta : reset( $meta );
@@ -141,7 +143,9 @@ class RWMB_Taxonomy_Field extends RWMB_Object_Choice_Field {
141
  if ( ! $post_id ) {
142
  $post_id = get_the_ID();
143
  }
144
- $value = wp_get_object_terms( $post_id, $field['taxonomy'] );
 
 
145
 
146
  // Get single value if necessary.
147
  if ( ! $field['clone'] && ! $field['multiple'] && is_array( $value ) ) {
121
  return '';
122
  }
123
 
124
+ $meta = wp_get_object_terms( $object_id, $field['taxonomy'], [
125
+ 'orderby' => 'term_order',
126
+ ] );
127
  $meta = wp_list_pluck( $meta, 'term_id' );
128
 
129
  return $field['multiple'] ? $meta : reset( $meta );
143
  if ( ! $post_id ) {
144
  $post_id = get_the_ID();
145
  }
146
+ $value = wp_get_object_terms( $post_id, $field['taxonomy'], [
147
+ 'orderby' => 'term_order',
148
+ ] );
149
 
150
  // Get single value if necessary.
151
  if ( ! $field['clone'] && ! $field['multiple'] && is_array( $value ) ) {
inc/loader.php CHANGED
@@ -18,7 +18,7 @@ class RWMB_Loader {
18
  */
19
  protected function constants() {
20
  // Script version, used to add version for scripts and styles.
21
- define( 'RWMB_VER', '4.14.5' );
22
 
23
  list( $path, $url ) = self::get_path( dirname( dirname( __FILE__ ) ) );
24
 
18
  */
19
  protected function constants() {
20
  // Script version, used to add version for scripts and styles.
21
+ define( 'RWMB_VER', '4.14.6' );
22
 
23
  list( $path, $url ) = self::get_path( dirname( dirname( __FILE__ ) ) );
24
 
inc/meta-box.php CHANGED
@@ -210,7 +210,7 @@ class RW_Meta_Box {
210
  * Callback function to show fields in meta box
211
  */
212
  public function show() {
213
- if ( ! $this->object_id ) {
214
  $this->set_object_id( $this->get_current_object_id() );
215
  }
216
  $saved = $this->is_saved();
210
  * Callback function to show fields in meta box
211
  */
212
  public function show() {
213
+ if ( null === $this->object_id ) {
214
  $this->set_object_id( $this->get_current_object_id() );
215
  }
216
  $saved = $this->is_saved();
js/select-advanced.js CHANGED
@@ -1,6 +1,23 @@
1
  jQuery( function ( $ ) {
2
  'use strict';
3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  /**
5
  * Turn select field into beautiful dropdown with select2 library
6
  * This function is called when document ready and when clone button is clicked (to update the new cloned field)
@@ -14,6 +31,22 @@ jQuery( function ( $ ) {
14
  $this.show().select2( options );
15
 
16
  rwmbSelect.bindEvents( $this );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  }
18
 
19
  $( '.rwmb-select_advanced' ).each( update );
1
  jQuery( function ( $ ) {
2
  'use strict';
3
 
4
+ /**
5
+ * Reorder selected values in correct order that they were selected.
6
+ * @param $select2 jQuery element of the select2.
7
+ */
8
+ function reorderSelected( $select2 ) {
9
+ var selected = $select2.data( 'selected' );
10
+ if ( ! selected ) {
11
+ return;
12
+ }
13
+ selected.forEach( function ( value ) {
14
+ var option = $select2.children( '[value="' + value + '"]' );
15
+ option.detach();
16
+ $select2.append( option );
17
+ } );
18
+ $select2.trigger( 'change' );
19
+ }
20
+
21
  /**
22
  * Turn select field into beautiful dropdown with select2 library
23
  * This function is called when document ready and when clone button is clicked (to update the new cloned field)
31
  $this.show().select2( options );
32
 
33
  rwmbSelect.bindEvents( $this );
34
+
35
+ if ( ! $this.attr( 'multiple' ) ) {
36
+ return;
37
+ }
38
+
39
+ reorderSelected( $this );
40
+
41
+ /**
42
+ * Preserve the order that options are selected.
43
+ * @see https://github.com/select2/select2/issues/3106#issuecomment-255492815
44
+ */
45
+ $this.on( 'select2:select', function ( event ) {
46
+ var option = $this.children( '[value="' + event.params.data.id + '"]' );
47
+ option.detach();
48
+ $this.append( option ).trigger( 'change' );
49
+ } );
50
  }
51
 
52
  $( '.rwmb-select_advanced' ).each( update );
js/select.js CHANGED
@@ -5,68 +5,47 @@ jQuery( function ( $ ) {
5
  * Object stores all necessary methods for select All/None actions
6
  * Assign to global variable so we can access to this object from select advanced field
7
  */
8
- var select = window.rwmbSelect = {
9
  /**
10
  * Select all/none for select tag
11
- *
12
- * @param $input jQuery selector for input wrapper
13
- *
14
- * @return void
15
  */
16
- selectAllNone: function ( $input ) {
17
- var $element = $input.find( 'select' );
 
 
18
 
19
- $input.on( 'click', '.rwmb-select-all-none a', function ( e ) {
20
- e.preventDefault();
21
- if ( 'all' == $( this ).data( 'type' ) ) {
22
- var selected = [];
23
- $element.find( 'option' ).each( function ( i, e ) {
24
- var $value = $( e ).attr( 'value' );
25
-
26
- if ( $value != '' ) {
27
- selected.push( $value );
28
- }
29
- } );
30
- $element.val( selected ).trigger( 'change' );
31
- }
32
- else {
33
- $element.val( '' );
34
- }
35
  } );
 
36
  },
37
 
38
  /**
39
  * Add event listener for select all/none links when click
40
- *
41
- * @param $el jQuery element
42
- *
43
- * @return void
44
  */
45
  bindEvents: function ( $el ) {
46
- var $input = $el.closest( '.rwmb-input' ),
47
- $clone = $input.find( '.rwmb-clone' );
48
-
49
- if ( $clone.length ) {
50
- $clone.each( function () {
51
- select.selectAllNone( $( this ) );
52
- } );
53
- }
54
- else {
55
- select.selectAllNone( $input );
56
- }
57
  }
58
  };
59
 
60
  /**
61
  * Update select field when clicking clone button
62
- *
63
- * @return void
64
  */
65
  function update() {
66
  select.bindEvents( $( this ) );
67
  }
68
 
69
- // Run for select field
70
  $( '.rwmb-select' ).each( update );
71
  $( document ).on( 'clone', '.rwmb-select', update );
 
 
 
72
  } );
5
  * Object stores all necessary methods for select All/None actions
6
  * Assign to global variable so we can access to this object from select advanced field
7
  */
8
+ var select = {
9
  /**
10
  * Select all/none for select tag
11
+ * @param event Click event.
 
 
 
12
  */
13
+ selectAllNone: function ( event ) {
14
+ event.preventDefault();
15
+ var $this = $( this ),
16
+ $element = $this.parent().siblings( 'select' );
17
 
18
+ if ( 'none' === $this.data( 'type' ) ) {
19
+ $element.val( [] ).trigger( 'change' );
20
+ return;
21
+ }
22
+ var selected = [];
23
+ $element.find( 'option' ).each( function ( index, option ) {
24
+ selected.push( option.value );
 
 
 
 
 
 
 
 
 
25
  } );
26
+ $element.val( selected ).trigger( 'change' );
27
  },
28
 
29
  /**
30
  * Add event listener for select all/none links when click
31
+ * @param $el jQuery select element
 
 
 
32
  */
33
  bindEvents: function ( $el ) {
34
+ $el.closest( '.rwmb-input' ).on( 'click', '.rwmb-select-all-none a', select.selectAllNone );
 
 
 
 
 
 
 
 
 
 
35
  }
36
  };
37
 
38
  /**
39
  * Update select field when clicking clone button
 
 
40
  */
41
  function update() {
42
  select.bindEvents( $( this ) );
43
  }
44
 
45
+ // Run for select field.
46
  $( '.rwmb-select' ).each( update );
47
  $( document ).on( 'clone', '.rwmb-select', update );
48
+
49
+ // Export to use for select_advanced.
50
+ window.rwmbSelect = select;
51
  } );
languages/default.pot CHANGED
@@ -3,16 +3,16 @@
3
  #, fuzzy
4
  msgid ""
5
  msgstr ""
6
- "Project-Id-Version: Meta Box 4.8.7\n"
7
  "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/meta-box\n"
8
- "POT-Creation-Date: 2017-02-03 17:49+0700\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
  "PO-Revision-Date: 2014-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
- "Language-Team: Meta Box <admin@metabox.io>\n"
15
- "X-Generator: Poedit 1.8.11\n"
16
  "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"
17
  "X-Poedit-Basepath: ..\n"
18
  "X-Poedit-SearchPath-0: .\n"
@@ -22,114 +22,284 @@ msgstr ""
22
  "X-Poedit-SearchPathExcluded-3: css\n"
23
  "X-Poedit-SearchPathExcluded-4: lang\n"
24
 
25
- #: inc/clone.php:98
26
- msgid "+ Add more"
27
  msgstr ""
28
 
29
- #: inc/core.php:42
30
- msgid "Documentation"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
  msgstr ""
32
 
33
- #: inc/core.php:43
 
 
 
 
34
  msgid "Extensions"
35
  msgstr ""
36
 
37
- #: inc/fields/autocomplete.php:19 inc/fields/autocomplete.php:78
38
- #: inc/fields/autocomplete.php:93 inc/fields/file.php:154
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
39
  msgid "Delete"
40
  msgstr ""
41
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
42
  #: inc/fields/button.php:32
43
  msgid "Click me"
44
  msgstr ""
45
 
46
- #: inc/fields/checkbox.php:57
47
  msgid "Yes"
48
  msgstr ""
49
 
50
- #: inc/fields/checkbox.php:57
51
  msgid "No"
52
  msgstr ""
53
 
54
- #: inc/fields/file-input.php:21
55
  msgid "Select File"
56
  msgstr ""
57
 
58
- #: inc/fields/file-input.php:43 inc/fields/select.php:89
59
  msgid "Select"
60
  msgstr ""
61
 
62
- #: inc/fields/file-input.php:45 inc/fields/media.php:24
63
  msgid "Remove"
64
  msgstr ""
65
 
66
- #: inc/fields/file.php:20
67
  #, php-format
68
  msgid "You may only upload maximum %d file"
69
  msgstr ""
70
 
71
- #: inc/fields/file.php:21
72
  #, php-format
73
  msgid "You may only upload maximum %d files"
74
  msgstr ""
75
 
76
- #: inc/fields/file.php:77
77
  msgid "Error: Cannot delete file"
78
  msgstr ""
79
 
80
- #: inc/fields/file.php:89
81
- msgid "Upload Files"
82
- msgstr ""
83
-
84
- #: inc/fields/file.php:90
85
  msgid "+ Add new file"
86
  msgstr ""
87
 
88
- #: inc/fields/file.php:155 inc/fields/media.php:25
89
  msgid "Edit"
90
  msgstr ""
91
 
92
- #: inc/fields/key-value.php:116
 
 
 
 
93
  msgid "Key"
94
  msgstr ""
95
 
96
- #: inc/fields/key-value.php:117
97
  msgid "Value"
98
  msgstr ""
99
 
100
- #: inc/fields/map.php:60
101
  msgid "Find Address"
102
  msgstr ""
103
 
104
- #: inc/fields/media.php:21
105
  msgid "+ Add Media"
106
  msgstr ""
107
 
108
- #: inc/fields/media.php:22
109
  msgid " file"
110
  msgstr ""
111
 
112
- #: inc/fields/media.php:23
113
  msgid " files"
114
  msgstr ""
115
 
116
- #: inc/fields/media.php:26
117
  msgid "View"
118
  msgstr ""
119
 
120
- #: inc/fields/media.php:27
121
  msgid "No Title"
122
  msgstr ""
123
 
124
- #: inc/fields/media.php:30
125
  msgid "Select Files"
126
  msgstr ""
127
 
128
- #: inc/fields/media.php:31
129
  msgid "or"
130
  msgstr ""
131
 
132
- #: inc/fields/media.php:32
133
  msgid "Drop files here to upload"
134
  msgstr ""
135
 
@@ -137,40 +307,44 @@ msgstr ""
137
  msgid "Embed HTML not available."
138
  msgstr ""
139
 
140
- #: inc/fields/oembed.php:79
141
- msgid "Preview"
142
- msgstr ""
143
-
144
- #: inc/fields/post.php:38
145
  msgid "Select a post"
146
  msgstr ""
147
 
148
- #: inc/fields/post.php:41 inc/fields/taxonomy.php:56
149
  #, php-format
150
  msgid "Select a %s"
151
  msgstr ""
152
 
153
- #: inc/fields/select-advanced.php:46
154
  msgid "Select an item"
155
  msgstr ""
156
 
157
- #: inc/fields/select.php:89
158
  msgid "All"
159
  msgstr ""
160
 
161
- #: inc/fields/select.php:89
162
  msgid "None"
163
  msgstr ""
164
 
165
- #: inc/fields/taxonomy.php:53
166
- msgid "Select a term"
 
 
 
 
167
  msgstr ""
168
 
169
- #: inc/fields/thickbox-image.php:55
170
- msgid "Upload Images"
 
 
 
 
171
  msgstr ""
172
 
173
- #: inc/fields/user.php:38
174
  msgid "Select an user"
175
  msgstr ""
176
 
3
  #, fuzzy
4
  msgid ""
5
  msgstr ""
6
+ "Project-Id-Version: Meta Box\n"
7
  "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/meta-box\n"
8
+ "POT-Creation-Date: 2018-04-19 08:43+0700\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
  "PO-Revision-Date: 2014-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
+ "Language-Team: Meta Box <info@metabox.io>\n"
15
+ "X-Generator: Poedit 2.0.6\n"
16
  "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"
17
  "X-Poedit-Basepath: ..\n"
18
  "X-Poedit-SearchPath-0: .\n"
22
  "X-Poedit-SearchPathExcluded-3: css\n"
23
  "X-Poedit-SearchPathExcluded-4: lang\n"
24
 
25
+ #: inc/about/about.php:50
26
+ msgid "About"
27
  msgstr ""
28
 
29
+ #: inc/about/about.php:59 inc/about/about.php:60
30
+ msgid "Welcome to Meta Box"
31
+ msgstr ""
32
+
33
+ #: inc/about/sections/getting-started.php:13
34
+ msgid "Getting Started With Online Generator"
35
+ msgstr ""
36
+
37
+ #: inc/about/sections/getting-started.php:14
38
+ msgid "The fastest way to getting started with Meta Box is use our online generator to generate meta boxes with custom fields. It provides a friendly UI for you to create meta boxes and custom fields just by drag and drop fields."
39
+ msgstr ""
40
+
41
+ #: inc/about/sections/getting-started.php:16
42
+ msgid "online generator"
43
+ msgstr ""
44
+
45
+ #: inc/about/sections/getting-started.php:18
46
+ msgid "Go to Online Generator"
47
+ msgstr ""
48
+
49
+ #: inc/about/sections/getting-started.php:22
50
+ msgid "Understand The Basics"
51
+ msgstr ""
52
+
53
+ #: inc/about/sections/getting-started.php:23
54
+ msgid "Meta Box doesn't have any admin page for configuration or settings. Instead of that, it provides a very powerful API to speed up the process of creating meta boxes and custom fields. It might take you a little time at first, but then you'll love the way it work because it helps you do and customize almost everything."
55
  msgstr ""
56
 
57
+ #: inc/about/sections/getting-started.php:24
58
+ msgid "Learn More"
59
+ msgstr ""
60
+
61
+ #: inc/about/sections/getting-started.php:26 inc/core.php:39
62
  msgid "Extensions"
63
  msgstr ""
64
 
65
+ #: inc/about/sections/getting-started.php:27
66
+ msgid "Wanna see more features that transform your WordPress website into a powerful CMS? Check out some extensions below:"
67
+ msgstr ""
68
+
69
+ #: inc/about/sections/getting-started.php:29
70
+ msgid "Meta Box Group"
71
+ msgstr ""
72
+
73
+ #: inc/about/sections/getting-started.php:30
74
+ msgid "Meta Box Conditional Logic"
75
+ msgstr ""
76
+
77
+ #: inc/about/sections/getting-started.php:31
78
+ msgid "MB Settings Page"
79
+ msgstr ""
80
+
81
+ #: inc/about/sections/getting-started.php:32
82
+ msgid "MB Term Meta"
83
+ msgstr ""
84
+
85
+ #: inc/about/sections/getting-started.php:34
86
+ msgid "More Extensions"
87
+ msgstr ""
88
+
89
+ #: inc/about/sections/getting-started.php:39
90
+ msgid "Go to MetaBox.IO &rarr;"
91
+ msgstr ""
92
+
93
+ #: inc/about/sections/tabs.php:11
94
+ msgid "Getting Started"
95
+ msgstr ""
96
+
97
+ #: inc/about/sections/welcome.php:13
98
+ #, php-format
99
+ msgid "Welcome to %1$s %2$s"
100
+ msgstr ""
101
+
102
+ #: inc/about/sections/welcome.php:16
103
+ msgid "This plugin is a lightweight and powerful toolkit that helps you to create custom meta boxes and custom fields in WordPress fast and easy. Follow the instruction below to get started."
104
+ msgstr ""
105
+
106
+ #: inc/core.php:38
107
+ msgid "Documentation"
108
+ msgstr ""
109
+
110
+ #: inc/field.php:359
111
+ msgid "+ Add more"
112
+ msgstr ""
113
+
114
+ #: inc/fields/autocomplete.php:20 inc/fields/autocomplete.php:81
115
+ #: inc/fields/autocomplete.php:93 inc/fields/file.php:121
116
  msgid "Delete"
117
  msgstr ""
118
 
119
+ #: inc/fields/background.php:58
120
+ msgid "Background Image"
121
+ msgstr ""
122
+
123
+ #: inc/fields/background.php:70
124
+ msgid "-- Background Repeat --"
125
+ msgstr ""
126
+
127
+ #: inc/fields/background.php:72
128
+ msgid "No Repeat"
129
+ msgstr ""
130
+
131
+ #: inc/fields/background.php:73
132
+ msgid "Repeat All"
133
+ msgstr ""
134
+
135
+ #: inc/fields/background.php:74
136
+ msgid "Repeat Horizontally"
137
+ msgstr ""
138
+
139
+ #: inc/fields/background.php:75
140
+ msgid "Repeat Vertically"
141
+ msgstr ""
142
+
143
+ #: inc/fields/background.php:76 inc/fields/background.php:110
144
+ #: inc/fields/background.php:122
145
+ msgid "Inherit"
146
+ msgstr ""
147
+
148
+ #: inc/fields/background.php:86
149
+ msgid "-- Background Position --"
150
+ msgstr ""
151
+
152
+ #: inc/fields/background.php:88
153
+ msgid "Top Left"
154
+ msgstr ""
155
+
156
+ #: inc/fields/background.php:89
157
+ msgid "Top Center"
158
+ msgstr ""
159
+
160
+ #: inc/fields/background.php:90
161
+ msgid "Top Right"
162
+ msgstr ""
163
+
164
+ #: inc/fields/background.php:91
165
+ msgid "Center Left"
166
+ msgstr ""
167
+
168
+ #: inc/fields/background.php:92
169
+ msgid "Center Center"
170
+ msgstr ""
171
+
172
+ #: inc/fields/background.php:93
173
+ msgid "Center Right"
174
+ msgstr ""
175
+
176
+ #: inc/fields/background.php:94
177
+ msgid "Bottom Left"
178
+ msgstr ""
179
+
180
+ #: inc/fields/background.php:95
181
+ msgid "Bottom Center"
182
+ msgstr ""
183
+
184
+ #: inc/fields/background.php:96
185
+ msgid "Bottom Right"
186
+ msgstr ""
187
+
188
+ #: inc/fields/background.php:106
189
+ msgid "-- Background Attachment --"
190
+ msgstr ""
191
+
192
+ #: inc/fields/background.php:108
193
+ msgid "Fixed"
194
+ msgstr ""
195
+
196
+ #: inc/fields/background.php:109
197
+ msgid "Scroll"
198
+ msgstr ""
199
+
200
+ #: inc/fields/background.php:120
201
+ msgid "-- Background Size --"
202
+ msgstr ""
203
+
204
+ #: inc/fields/background.php:123
205
+ msgid "Cover"
206
+ msgstr ""
207
+
208
+ #: inc/fields/background.php:124
209
+ msgid "Contain"
210
+ msgstr ""
211
+
212
  #: inc/fields/button.php:32
213
  msgid "Click me"
214
  msgstr ""
215
 
216
+ #: inc/fields/checkbox.php:53
217
  msgid "Yes"
218
  msgstr ""
219
 
220
+ #: inc/fields/checkbox.php:53
221
  msgid "No"
222
  msgstr ""
223
 
224
+ #: inc/fields/file-input.php:20
225
  msgid "Select File"
226
  msgstr ""
227
 
228
+ #: inc/fields/file-input.php:39 inc/fields/select.php:87
229
  msgid "Select"
230
  msgstr ""
231
 
232
+ #: inc/fields/file-input.php:41 inc/fields/media.php:27
233
  msgid "Remove"
234
  msgstr ""
235
 
236
+ #: inc/fields/file.php:21
237
  #, php-format
238
  msgid "You may only upload maximum %d file"
239
  msgstr ""
240
 
241
+ #: inc/fields/file.php:23
242
  #, php-format
243
  msgid "You may only upload maximum %d files"
244
  msgstr ""
245
 
246
+ #: inc/fields/file.php:53
247
  msgid "Error: Cannot delete file"
248
  msgstr ""
249
 
250
+ #: inc/fields/file.php:66
 
 
 
 
251
  msgid "+ Add new file"
252
  msgstr ""
253
 
254
+ #: inc/fields/file.php:122 inc/fields/media.php:28
255
  msgid "Edit"
256
  msgstr ""
257
 
258
+ #: inc/fields/input-list.php:90
259
+ msgid "Select All / None"
260
+ msgstr ""
261
+
262
+ #: inc/fields/key-value.php:132
263
  msgid "Key"
264
  msgstr ""
265
 
266
+ #: inc/fields/key-value.php:133
267
  msgid "Value"
268
  msgstr ""
269
 
270
+ #: inc/fields/map.php:73
271
  msgid "Find Address"
272
  msgstr ""
273
 
274
+ #: inc/fields/media.php:24
275
  msgid "+ Add Media"
276
  msgstr ""
277
 
278
+ #: inc/fields/media.php:25
279
  msgid " file"
280
  msgstr ""
281
 
282
+ #: inc/fields/media.php:26
283
  msgid " files"
284
  msgstr ""
285
 
286
+ #: inc/fields/media.php:29
287
  msgid "View"
288
  msgstr ""
289
 
290
+ #: inc/fields/media.php:30
291
  msgid "No Title"
292
  msgstr ""
293
 
294
+ #: inc/fields/media.php:33
295
  msgid "Select Files"
296
  msgstr ""
297
 
298
+ #: inc/fields/media.php:34
299
  msgid "or"
300
  msgstr ""
301
 
302
+ #: inc/fields/media.php:35
303
  msgid "Drop files here to upload"
304
  msgstr ""
305
 
307
  msgid "Embed HTML not available."
308
  msgstr ""
309
 
310
+ #: inc/fields/post.php:32
 
 
 
 
311
  msgid "Select a post"
312
  msgstr ""
313
 
314
+ #: inc/fields/post.php:38 inc/fields/taxonomy.php:49
315
  #, php-format
316
  msgid "Select a %s"
317
  msgstr ""
318
 
319
+ #: inc/fields/select-advanced.php:45
320
  msgid "Select an item"
321
  msgstr ""
322
 
323
+ #: inc/fields/select.php:87
324
  msgid "All"
325
  msgstr ""
326
 
327
+ #: inc/fields/select.php:87
328
  msgid "None"
329
  msgstr ""
330
 
331
+ #: inc/fields/sidebar.php:30
332
+ msgid "Select a sidebar"
333
+ msgstr ""
334
+
335
+ #: inc/fields/switch.php:90
336
+ msgid "On"
337
  msgstr ""
338
 
339
+ #: inc/fields/switch.php:91
340
+ msgid "Off"
341
+ msgstr ""
342
+
343
+ #: inc/fields/taxonomy.php:43
344
+ msgid "Select a term"
345
  msgstr ""
346
 
347
+ #: inc/fields/user.php:22
348
  msgid "Select an user"
349
  msgstr ""
350
 
languages/meta-box-de_DE.mo DELETED
Binary file
languages/meta-box-de_DE.po DELETED
@@ -1,160 +0,0 @@
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-03-23 22:08+0100\n"
6
- "PO-Revision-Date: 2013-03-23 22:21+0100\n"
7
- "Last-Translator: Johann Kratzik <johann@kratzik.com>\n"
8
- "Language-Team: Johann Kratzik <info@zoomdrive.at>\n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "X-Poedit-KeywordsList: __;_x:2c,1;_n:1,2;_n_noop:1,2;_nx:1,2;_nx_noop:1,2\n"
13
- "X-Poedit-Basepath: .\n"
14
- "X-Poedit-Language: German\n"
15
- "X-Poedit-Country: AUSTRIA\n"
16
- "X-Poedit-SourceCharset: utf-8\n"
17
- "X-Poedit-SearchPath-0: ..\n"
18
- "X-Poedit-SearchPath-1: ../inc/fields\n"
19
-
20
- #: ../inc/classes/meta-box.php:296
21
- msgid "Please correct the errors highlighted below and try again."
22
- msgstr "Bitte beheben Sie die unten angeführten Fehler und versuchen Sie es erneut."
23
-
24
- #: ../inc/classes/meta-box.php:357
25
- msgid "+"
26
- msgstr "+"
27
-
28
- #: ../inc/classes/meta-box.php:379
29
- msgid "&#8211;"
30
- msgstr "&#8211;"
31
-
32
- #: ../inc/fields/file-advanced.php:59
33
- msgctxt "file upload"
34
- msgid "Select Files"
35
- msgstr "Dateien auswählen"
36
-
37
- #: ../inc/fields/file.php:66
38
- msgid "Error: Cannot delete file"
39
- msgstr "Fehler: Datei kann nicht gelöscht werden"
40
-
41
- #: ../inc/fields/file.php:80
42
- msgctxt "file upload"
43
- msgid "Upload Files"
44
- msgstr "Dateien hochladen"
45
-
46
- #: ../inc/fields/file.php:81
47
- msgctxt "file upload"
48
- msgid "+ Add new file"
49
- msgstr "+ Neue Datei hinzufügen"
50
-
51
- #: ../inc/fields/file.php:133
52
- msgctxt "file upload"
53
- msgid "Delete"
54
- msgstr "Löschen"
55
-
56
- #: ../inc/fields/file.php:134
57
- msgctxt "file upload"
58
- msgid "Edit"
59
- msgstr "Bearbeiten"
60
-
61
- #: ../inc/fields/image-advanced.php:63
62
- msgctxt "image upload"
63
- msgid "Select or Upload Images"
64
- msgstr "Bilder auswählen oder hochladen"
65
-
66
- #: ../inc/fields/image.php:64
67
- msgid "Order saved"
68
- msgstr "Reihenfolge gespeichert"
69
-
70
- #: ../inc/fields/image.php:78
71
- msgctxt "image upload"
72
- msgid "Upload Images"
73
- msgstr "Bilder hochladen"
74
-
75
- #: ../inc/fields/image.php:79
76
- msgctxt "image upload"
77
- msgid "+ Add new image"
78
- msgstr "+ Neues Bild hinzufügen"
79
-
80
- #: ../inc/fields/image.php:144
81
- msgctxt "image upload"
82
- msgid "Delete"
83
- msgstr "Löschen"
84
-
85
- #: ../inc/fields/image.php:145
86
- msgctxt "image upload"
87
- msgid "Edit"
88
- msgstr "Bearbeiten"
89
-
90
- #: ../inc/fields/map.php:46
91
- msgid "Find Address"
92
- msgstr "Adresse finden"
93
-
94
- #: ../inc/fields/plupload-image.php:104
95
- msgctxt "image upload"
96
- msgid "Drop images here"
97
- msgstr "Bilder hierher ziehen"
98
-
99
- #: ../inc/fields/plupload-image.php:105
100
- msgctxt "image upload"
101
- msgid "or"
102
- msgstr "oder"
103
-
104
- #: ../inc/fields/plupload-image.php:106
105
- msgctxt "image upload"
106
- msgid "Select Files"
107
- msgstr "Dateien auswählen"
108
-
109
- #: ../inc/fields/plupload-image.php:181
110
- msgctxt "image upload"
111
- msgid "Allowed Image Files"
112
- msgstr "Erlaubte Typen von Bilddateien"
113
-
114
- #: ../inc/fields/posts.php:54
115
- msgid "Post"
116
- msgstr "Beitrag"
117
-
118
- #: ../inc/fields/posts.php:64
119
- #: ../inc/fields/taxonomy.php:42
120
- #, php-format
121
- msgid "Select a %s"
122
- msgstr "%s auswählen"
123
-
124
- #: ../inc/fields/select-advanced.php:69
125
- msgid "Select a value"
126
- msgstr "Einen Wert wählen"
127
-
128
- #, fuzzy
129
- #~ msgctxt "file upload"
130
-
131
- #~ msgid "Uploaded files"
132
- #~ msgstr "Dateien fertig geladen"
133
- #~ msgctxt "file upload"
134
-
135
- #~ msgid "Delete this file"
136
- #~ msgstr "Datei löschen"
137
-
138
- #, fuzzy
139
- #~ msgctxt "image upload"
140
-
141
- #~ msgid "Uploaded files"
142
- #~ msgstr "Dateien fertig geladen"
143
- #~ msgctxt "image upload"
144
-
145
- #~ msgid "Delete this file"
146
- #~ msgstr "Datei löschen"
147
- #~ msgctxt "image upload"
148
-
149
- #~ msgid "Upload files"
150
- #~ msgstr "Dateien hochladen"
151
- #~ msgctxt "image upload"
152
-
153
- #~ msgid "Add another file"
154
- #~ msgstr "Weitere Datei"
155
-
156
- #~ msgid "Cannot delete file. Something's wrong."
157
- #~ msgstr "Fehler: Datei kann nicht gelöscht werden."
158
-
159
- #~ msgid "Upload new files"
160
- #~ msgstr "Neue Dateien hochladen"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/meta-box-sv_SE.mo DELETED
Binary file
languages/meta-box-sv_SE.po DELETED
@@ -1,118 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Meta Box Script For WordPress\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2012-06-03 15:09+0700\n"
6
- "PO-Revision-Date: 2012-08-09 16:15+0100\n"
7
- "Last-Translator: \n"
8
- "Language-Team: Rilwis <rilwis@gmail.com>\n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "X-Poedit-KeywordsList: __;_e;_x:2c,1;_n:1,2;_n_noop:1,2;_nx:1,2;"
13
- "_nx_noop:1,2\n"
14
- "X-Poedit-Basepath: .\n"
15
- "X-Poedit-SourceCharset: utf-8\n"
16
- "Language: en_VN\n"
17
- "X-Poedit-SearchPath-0: ..\n"
18
- "X-Poedit-SearchPath-1: ../inc/fields\n"
19
-
20
- #: ../meta-box.php:79
21
- msgid "RW_Meta_Box Debug:"
22
- msgstr ""
23
-
24
- #: ../inc/classes/meta-box.php:316
25
- msgid "+"
26
- msgstr ""
27
-
28
- #: ../inc/classes/meta-box.php:340
29
- msgid "&#8211;"
30
- msgstr ""
31
-
32
- #: ../inc/fields/file.php:69
33
- msgid "Error: Cannot delete file"
34
- msgstr "Fel: Kan inte radera filen"
35
-
36
- #: ../inc/fields/file.php:83
37
- msgctxt "file upload"
38
- msgid "Uploaded files"
39
- msgstr "Uppladdade filer"
40
-
41
- #: ../inc/fields/file.php:84
42
- msgctxt "file upload"
43
- msgid "Delete this file"
44
- msgstr "Radera den här filen"
45
-
46
- #: ../inc/fields/file.php:85
47
- msgctxt "file upload"
48
- msgid "Delete"
49
- msgstr "Radera"
50
-
51
- #: ../inc/fields/file.php:86
52
- msgctxt "file upload"
53
- msgid "Upload files"
54
- msgstr "Ladda upp"
55
-
56
- #: ../inc/fields/file.php:87
57
- msgctxt "file upload"
58
- msgid "+ Add new file"
59
- msgstr "+ Lägg till ny fil"
60
-
61
- #: ../inc/fields/image.php:75
62
- msgid "Order saved"
63
- msgstr "Ordning sparad"
64
-
65
- #: ../inc/fields/image.php:91 ../inc/fields/plupload-image.php:156
66
- msgctxt "image upload"
67
- msgid "Uploaded files"
68
- msgstr "Uppladdade filer"
69
-
70
- #: ../inc/fields/image.php:92 ../inc/fields/plupload-image.php:112
71
- msgctxt "image upload"
72
- msgid "Delete this file"
73
- msgstr "Radera den här filen"
74
-
75
- #: ../inc/fields/image.php:93 ../inc/fields/plupload-image.php:113
76
- msgctxt "image upload"
77
- msgid "Delete"
78
- msgstr "Radera"
79
-
80
- #: ../inc/fields/image.php:94 ../inc/fields/plupload-image.php:114
81
- msgctxt "image upload"
82
- msgid "Edit"
83
- msgstr "Redigera"
84
-
85
- #: ../inc/fields/image.php:95 ../inc/fields/plupload-image.php:157
86
- msgctxt "image upload"
87
- msgid "Upload files"
88
- msgstr "Ladda upp filer"
89
-
90
- #: ../inc/fields/image.php:96
91
- msgctxt "image upload"
92
- msgid "+ Add new image"
93
- msgstr "+ Lägg till ny bild"
94
-
95
- #: ../inc/fields/plupload-image.php:95
96
- msgctxt "image upload"
97
- msgid "Allowed Image Files"
98
- msgstr "Tillåtna bildformat"
99
-
100
- #: ../inc/fields/plupload-image.php:160
101
- msgctxt "image upload"
102
- msgid "Drop images here"
103
- msgstr "Släpp bilder här"
104
-
105
- #: ../inc/fields/plupload-image.php:161
106
- msgctxt "image upload"
107
- msgid "or"
108
- msgstr "eller"
109
-
110
- #: ../inc/fields/plupload-image.php:162
111
- msgctxt "image upload"
112
- msgid "Select Files"
113
- msgstr "Välj filer"
114
-
115
- #: ../inc/fields/thickbox-image.php:45
116
- msgctxt "image upload"
117
- msgid "Upload image"
118
- msgstr "Ladda upp bild"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/meta-box-zh_TW.mo DELETED
Binary file
languages/meta-box-zh_TW.po DELETED
@@ -1,189 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Meta Box v4.8.7\n"
4
- "POT-Creation-Date: 2016-06-03 16:24+0800\n"
5
- "PO-Revision-Date: \n"
6
- "Last-Translator: OOME <1049879335@qq.com>\n"
7
- "Language-Team: 偶米工作室 <1049879335@qq.com>\n"
8
- "MIME-Version: 1.0\n"
9
- "Content-Type: text/plain; charset=UTF-8\n"
10
- "Content-Transfer-Encoding: 8bit\n"
11
- "X-Generator: Poedit 1.5.7\n"
12
- "X-Poedit-KeywordsList: __;_e;_x:2c,1;_nx:1,2;_n_noop:1,2\n"
13
- "X-Poedit-Basepath: C:\\xampp\\htdocs\\000\\wp-content\\plugins\\meta-box"
14
- "\\lang\n"
15
- "X-Poedit-SearchPath-0: ..\n"
16
-
17
- #: ../inc/core.php:40
18
- msgid "Documentation"
19
- msgstr "文檔"
20
-
21
- #: ../inc/core.php:41
22
- msgid "Extensions"
23
- msgstr "擴展"
24
-
25
- #: ../inc/field.php:192
26
- msgid "+ Add more"
27
- msgstr "+ 新增"
28
-
29
- #: ../inc/validation.php:49
30
- msgid "Please correct the errors highlighted below and try again."
31
- msgstr "請修正高亮位置的錯誤,並重新嘗試。"
32
-
33
- #: ../inc/fields/autocomplete.php:23 ../inc/fields/autocomplete.php:87
34
- #: ../inc/fields/autocomplete.php:104
35
- msgid "Delete"
36
- msgstr "刪除"
37
-
38
- #: ../inc/fields/button.php:29
39
- msgid "Click me"
40
- msgstr "點我"
41
-
42
- #: ../inc/fields/checkbox.php:82
43
- msgid "Yes"
44
- msgstr "是"
45
-
46
- #: ../inc/fields/checkbox.php:82
47
- msgid "No"
48
- msgstr "否"
49
-
50
- #: ../inc/fields/file-input.php:25
51
- msgid "Select File"
52
- msgstr "選擇檔"
53
-
54
- #: ../inc/fields/file-input.php:49 ../inc/fields/select.php:91
55
- msgid "Select"
56
- msgstr "選擇"
57
-
58
- #: ../inc/fields/file-input.php:51
59
- msgid "Remove"
60
- msgstr "移除"
61
-
62
- #: ../inc/fields/file.php:24
63
- #, php-format
64
- msgid "You may only upload maximum %d file"
65
- msgstr "您允許上傳的檔上限為 %d 個。"
66
-
67
- #: ../inc/fields/file.php:25
68
- #, php-format
69
- msgid "You may only upload maximum %d files"
70
- msgstr "您允許上傳的檔上限為 %d 個。"
71
-
72
- #: ../inc/fields/file.php:85
73
- msgid "Error: Cannot delete file"
74
- msgstr "錯誤:無法刪除檔。"
75
-
76
- #: ../inc/fields/file.php:98
77
- msgctxt "file upload"
78
- msgid "Upload Files"
79
- msgstr "上傳文件"
80
-
81
- #: ../inc/fields/file.php:99
82
- msgctxt "file upload"
83
- msgid "+ Add new file"
84
- msgstr "+ 新增文件"
85
-
86
- #: ../inc/fields/file.php:162
87
- msgctxt "file upload"
88
- msgid "Delete"
89
- msgstr "刪除"
90
-
91
- #: ../inc/fields/file.php:163
92
- msgctxt "file upload"
93
- msgid "Edit"
94
- msgstr "編輯"
95
-
96
- #: ../inc/fields/map.php:49
97
- msgid "Find Address"
98
- msgstr "查找位址"
99
-
100
- #: ../inc/fields/media.php:25
101
- msgctxt "media"
102
- msgid "+ Add Media"
103
- msgstr "從媒體庫選擇"
104
-
105
- #: ../inc/fields/media.php:26
106
- msgctxt "media"
107
- msgid " file"
108
- msgstr "文件"
109
-
110
- #: ../inc/fields/media.php:27
111
- msgctxt "media"
112
- msgid " files"
113
- msgstr "文件"
114
-
115
- #: ../inc/fields/media.php:28
116
- msgctxt "media"
117
- msgid "Remove"
118
- msgstr "移除"
119
-
120
- #: ../inc/fields/media.php:29
121
- msgctxt "media"
122
- msgid "Edit"
123
- msgstr "編輯"
124
-
125
- #: ../inc/fields/media.php:30
126
- msgctxt "media"
127
- msgid "View"
128
- msgstr "查看"
129
-
130
- #: ../inc/fields/media.php:31
131
- msgctxt "media"
132
- msgid "No Title"
133
- msgstr "無標題"
134
-
135
- #: ../inc/fields/media.php:34
136
- msgctxt "media"
137
- msgid "Select Files"
138
- msgstr "選擇圖像"
139
-
140
- #: ../inc/fields/media.php:35
141
- msgctxt "media"
142
- msgid "or"
143
- msgstr " 或"
144
-
145
- #: ../inc/fields/media.php:36
146
- msgctxt "media"
147
- msgid "Drop files here to upload"
148
- msgstr "請把檔拖動到該區域上傳"
149
-
150
- #: ../inc/fields/oembed.php:65
151
- msgid "Embed HTML not available."
152
- msgstr ""
153
- "oEmbed 代碼無效,請檢查。 如需瞭解更多 oEmbed 資訊和支援的網站,請訪問 <a "
154
- "href=\"http://codex.wordpress.org/Embeds\" target=\"_blank\">WordPress 官網</"
155
- "a>。"
156
-
157
- #: ../inc/fields/post.php:34
158
- msgid "Select a post"
159
- msgstr "選擇文章"
160
-
161
- #: ../inc/fields/post.php:38 ../inc/fields/taxonomy.php:51
162
- #, php-format
163
- msgid "Select a %s"
164
- msgstr "選擇%s"
165
-
166
- #: ../inc/fields/select-advanced.php:44
167
- msgid "Select an item"
168
- msgstr "選擇項目"
169
-
170
- #: ../inc/fields/select.php:91
171
- msgid "All"
172
- msgstr "全部"
173
-
174
- #: ../inc/fields/select.php:91
175
- msgid "None"
176
- msgstr "無"
177
-
178
- #: ../inc/fields/taxonomy.php:47
179
- msgid "Select a term"
180
- msgstr "選擇分類"
181
-
182
- #: ../inc/fields/thickbox-image.php:53
183
- msgctxt "image upload"
184
- msgid "Upload Images"
185
- msgstr "上傳圖像"
186
-
187
- #: ../inc/fields/user.php:34
188
- msgid "Select an user"
189
- msgstr "選擇用戶"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/readme.md CHANGED
@@ -2,18 +2,14 @@
2
 
3
  ## Who translates Meta Box? How can I get involved?
4
 
5
- Anyone can help by suggesting new translations [here](http://translate.wordpress.com/projects/meta-box/). No need to use a Translation Editor, you can do it all from [GlotPress](http://translate.wordpress.com/projects/meta-box/)!
6
 
7
- Once you've suggested a new translation, a GlotPress validator will review it. They will then approve, reject, or change your suggestions. Once your changes get approved, they are automatically included in the next Meta Box release.
8
-
9
- ## How does GlotPress work?
10
-
11
- You can find detailed GlotPress documentation on [this page](https://en.support.wordpress.com/glotpress/).
12
 
13
  ## Who decides which languages are available? I want my language added
14
 
15
- If you can't find your language in GlotPress, [send us an email](https://metabox.io) and we'll add it for you.
16
 
17
- == I want to change translations locally. Where can I download the .PO file for my language? ==
18
 
19
- You'll find options to create a .PO file and export translations at the bottom of each language page in GlotPress.
2
 
3
  ## Who translates Meta Box? How can I get involved?
4
 
5
+ Anyone can help by suggesting new translations [here](https://translate.wordpress.org/projects/wp-plugins/meta-box). No need to use a translation editor, you can do it all from the web interface.
6
 
7
+ Once you've suggested a new translation, a language validator will review it. They will then approve, reject, or change your suggestions. Once your changes get approved, they are automatically included in the next Meta Box release.
 
 
 
 
8
 
9
  ## Who decides which languages are available? I want my language added
10
 
11
+ If you can't find your language, [send us an email](https://metabox.io) and we'll add it for you.
12
 
13
+ ## I want to change translations locally. Where can I download the .PO file for my language?
14
 
15
+ You'll find options to create a .PO file and export translations at the bottom of each language page.
meta-box.php CHANGED
@@ -3,7 +3,7 @@
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.14.5
7
  * Author: MetaBox.io
8
  * Author URI: https://metabox.io
9
  * License: GPL2+
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.14.6
7
  * Author: MetaBox.io
8
  * Author URI: https://metabox.io
9
  * License: GPL2+
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://metabox.io/pricing/
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.3
6
  Tested up to: 4.9.5
7
- Stable tag: 4.14.5
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.
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.3
6
  Tested up to: 4.9.5
7
+ Stable tag: 4.14.6
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.