Version Description
Release Date - May 18, 2018
Download this release
Release Info
Developer | webbistro |
Plugin | Enhanced Media Library |
Version | 2.6 |
Comparing to | |
See all releases |
Code changes from version 2.5 to 2.6
- core/medialist.php +17 -8
- core/mime-types.php +29 -24
- core/options-pages.php +816 -191
- core/taxonomies.php +192 -53
- css/eml-admin-rtl.css +18 -5
- css/eml-admin.css +18 -5
- enhanced-media-library.php +306 -194
- js/eml-media-grid.js +0 -3
- js/eml-media-list.js +10 -18
- js/eml-media-models.js +5 -3
- js/eml-media-views.js +165 -84
- js/eml-medialibrary-options.js +10 -0
- js/eml-mimetype-options.js +26 -15
- js/eml-options.js +1 -1
- js/eml-taxonomies-options.js +378 -184
- languages/enhanced-media-library-de_DE.mo +0 -0
- languages/enhanced-media-library-de_DE.po +0 -1174
- languages/enhanced-media-library-it_IT.mo +0 -0
- languages/enhanced-media-library-it_IT.po +0 -1094
- languages/enhanced-media-library-ru.mo +0 -0
- languages/enhanced-media-library-ru.po +0 -1166
- languages/enhanced-media-library.pot +485 -260
- readme.txt +85 -4
core/medialist.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
|
3 |
if ( ! defined( 'ABSPATH' ) )
|
4 |
-
|
5 |
|
6 |
|
7 |
|
@@ -22,6 +22,8 @@ if ( ! function_exists( 'wpuxss_eml_shortcode_atts' ) ) {
|
|
22 |
|
23 |
function wpuxss_eml_shortcode_atts( $out, $pairs, $atts ) {
|
24 |
|
|
|
|
|
25 |
$is_filter_based = false;
|
26 |
$id = isset( $atts['id'] ) ? intval( $atts['id'] ) : 0;
|
27 |
|
@@ -32,11 +34,11 @@ if ( ! function_exists( 'wpuxss_eml_shortcode_atts' ) ) {
|
|
32 |
|
33 |
|
34 |
foreach ( $pairs as $name => $default ) {
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
|
41 |
|
42 |
if ( isset( $atts['monthnum'] ) && isset( $atts['year'] ) ) {
|
@@ -57,6 +59,7 @@ if ( ! function_exists( 'wpuxss_eml_shortcode_atts' ) ) {
|
|
57 |
'field' => 'term_id',
|
58 |
'terms' => $terms,
|
59 |
'operator' => 'IN',
|
|
|
60 |
);
|
61 |
|
62 |
$is_filter_based = true;
|
@@ -80,7 +83,6 @@ if ( ! function_exists( 'wpuxss_eml_shortcode_atts' ) ) {
|
|
80 |
'order' => $out['order'],
|
81 |
'orderby' => $out['orderby'],
|
82 |
'posts_per_page' => isset( $atts['limit'] ) ? intval( $atts['limit'] ) : -1, //TODO: add pagination
|
83 |
-
'fields' => 'ids'
|
84 |
);
|
85 |
|
86 |
if ( isset( $atts['monthnum'] ) && isset( $atts['year'] ) ) {
|
@@ -103,10 +105,17 @@ if ( ! function_exists( 'wpuxss_eml_shortcode_atts' ) ) {
|
|
103 |
$query['post_parent'] = $id;
|
104 |
}
|
105 |
|
106 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
107 |
|
108 |
if ( ! empty( $ids ) ) {
|
109 |
$out['ids'] = $out['include'] = implode( ',', $ids );
|
|
|
110 |
}
|
111 |
|
112 |
return $out;
|
1 |
<?php
|
2 |
|
3 |
if ( ! defined( 'ABSPATH' ) )
|
4 |
+
exit;
|
5 |
|
6 |
|
7 |
|
22 |
|
23 |
function wpuxss_eml_shortcode_atts( $out, $pairs, $atts ) {
|
24 |
|
25 |
+
$wpuxss_eml_lib_options = get_option('wpuxss_eml_lib_options');
|
26 |
+
|
27 |
$is_filter_based = false;
|
28 |
$id = isset( $atts['id'] ) ? intval( $atts['id'] ) : 0;
|
29 |
|
34 |
|
35 |
|
36 |
foreach ( $pairs as $name => $default ) {
|
37 |
+
if ( array_key_exists( $name, $atts ) )
|
38 |
+
$out[$name] = $atts[$name];
|
39 |
+
else
|
40 |
+
$out[$name] = $default;
|
41 |
+
}
|
42 |
|
43 |
|
44 |
if ( isset( $atts['monthnum'] ) && isset( $atts['year'] ) ) {
|
59 |
'field' => 'term_id',
|
60 |
'terms' => $terms,
|
61 |
'operator' => 'IN',
|
62 |
+
'include_children' => (bool) $wpuxss_eml_lib_options['include_children']
|
63 |
);
|
64 |
|
65 |
$is_filter_based = true;
|
83 |
'order' => $out['order'],
|
84 |
'orderby' => $out['orderby'],
|
85 |
'posts_per_page' => isset( $atts['limit'] ) ? intval( $atts['limit'] ) : -1, //TODO: add pagination
|
|
|
86 |
);
|
87 |
|
88 |
if ( isset( $atts['monthnum'] ) && isset( $atts['year'] ) ) {
|
105 |
$query['post_parent'] = $id;
|
106 |
}
|
107 |
|
108 |
+
|
109 |
+
$get_posts = new WP_Query;
|
110 |
+
$attachments = $get_posts->query($query);
|
111 |
+
|
112 |
+
foreach ( $attachments as $attachment ) {
|
113 |
+
$ids[] = $attachment->ID;
|
114 |
+
}
|
115 |
|
116 |
if ( ! empty( $ids ) ) {
|
117 |
$out['ids'] = $out['include'] = implode( ',', $ids );
|
118 |
+
$out['orderby'] = ( 'title' === $out['orderby'] && (bool) $wpuxss_eml_lib_options['natural_sort'] ) ? 'post__in' : $out['orderby'];
|
119 |
}
|
120 |
|
121 |
return $out;
|
core/mime-types.php
CHANGED
@@ -80,10 +80,9 @@ if ( ! function_exists( 'wpuxss_eml_sanitize_extension' ) ) {
|
|
80 |
|
81 |
function wpuxss_eml_sanitize_extension( $key ) {
|
82 |
|
83 |
-
$raw_key = $key;
|
84 |
$key = strtolower( $key );
|
85 |
$key = preg_replace( '/[^a-z0-9|]/', '', $key );
|
86 |
-
return
|
87 |
}
|
88 |
}
|
89 |
|
@@ -96,7 +95,7 @@ if ( ! function_exists( 'wpuxss_eml_sanitize_extension' ) ) {
|
|
96 |
* @created 03/08/13
|
97 |
*/
|
98 |
|
99 |
-
add_filter('post_mime_types', 'wpuxss_eml_post_mime_types');
|
100 |
|
101 |
if ( ! function_exists( 'wpuxss_eml_post_mime_types' ) ) {
|
102 |
|
@@ -104,16 +103,18 @@ if ( ! function_exists( 'wpuxss_eml_post_mime_types' ) ) {
|
|
104 |
|
105 |
$wpuxss_eml_mimes = get_option('wpuxss_eml_mimes');
|
106 |
|
107 |
-
if ( !empty($wpuxss_eml_mimes) ) {
|
|
|
|
|
108 |
|
109 |
-
|
110 |
|
111 |
-
|
112 |
|
113 |
-
$post_mime_types[$
|
114 |
-
$mime['
|
115 |
-
'Manage ' . $mime['
|
116 |
-
_n_noop($mime['singular'] . ' <span class="count">(%s)</span>', $mime['plural'] . ' <span class="count">(%s)</span>')
|
117 |
);
|
118 |
}
|
119 |
}
|
@@ -128,6 +129,8 @@ if ( ! function_exists( 'wpuxss_eml_post_mime_types' ) ) {
|
|
128 |
/**
|
129 |
* wpuxss_eml_upload_mimes
|
130 |
*
|
|
|
|
|
131 |
* @since 1.0
|
132 |
* @created 03/08/13
|
133 |
*/
|
@@ -136,23 +139,22 @@ add_filter('upload_mimes', 'wpuxss_eml_upload_mimes');
|
|
136 |
|
137 |
if ( ! function_exists( 'wpuxss_eml_upload_mimes' ) ) {
|
138 |
|
139 |
-
function wpuxss_eml_upload_mimes
|
140 |
|
141 |
$wpuxss_eml_mimes = get_option('wpuxss_eml_mimes');
|
142 |
|
143 |
if ( ! empty( $wpuxss_eml_mimes ) ) {
|
144 |
|
145 |
-
foreach ( $wpuxss_eml_mimes as $
|
|
|
|
|
146 |
|
147 |
-
if ( $mime['upload'] == 1 ) {
|
148 |
|
149 |
-
|
150 |
-
|
151 |
}
|
152 |
else {
|
153 |
-
|
154 |
-
if ( isset($existing_mimes[$type]) )
|
155 |
-
unset($existing_mimes[$type]);
|
156 |
}
|
157 |
}
|
158 |
}
|
@@ -166,6 +168,8 @@ if ( ! function_exists( 'wpuxss_eml_upload_mimes' ) ) {
|
|
166 |
/**
|
167 |
* wpuxss_eml_mime_types
|
168 |
*
|
|
|
|
|
169 |
* @since 1.0
|
170 |
* @created 03/08/13
|
171 |
*/
|
@@ -180,16 +184,17 @@ if ( ! function_exists( 'wpuxss_eml_mime_types' ) ) {
|
|
180 |
|
181 |
if ( ! empty( $wpuxss_eml_mimes ) ) {
|
182 |
|
183 |
-
foreach ( $wpuxss_eml_mimes as $
|
184 |
|
185 |
-
|
186 |
-
|
187 |
}
|
188 |
|
189 |
-
foreach ( $existing_mimes as $
|
190 |
|
191 |
-
if ( ! isset( $wpuxss_eml_mimes[$
|
192 |
-
unset( $existing_mimes[$
|
|
|
193 |
}
|
194 |
}
|
195 |
|
80 |
|
81 |
function wpuxss_eml_sanitize_extension( $key ) {
|
82 |
|
|
|
83 |
$key = strtolower( $key );
|
84 |
$key = preg_replace( '/[^a-z0-9|]/', '', $key );
|
85 |
+
return $key;
|
86 |
}
|
87 |
}
|
88 |
|
95 |
* @created 03/08/13
|
96 |
*/
|
97 |
|
98 |
+
add_filter( 'post_mime_types', 'wpuxss_eml_post_mime_types' );
|
99 |
|
100 |
if ( ! function_exists( 'wpuxss_eml_post_mime_types' ) ) {
|
101 |
|
103 |
|
104 |
$wpuxss_eml_mimes = get_option('wpuxss_eml_mimes');
|
105 |
|
106 |
+
if ( ! empty( $wpuxss_eml_mimes ) ) {
|
107 |
+
|
108 |
+
foreach ( $wpuxss_eml_mimes as $extension => $mime ) {
|
109 |
|
110 |
+
if ( (bool) $mime['filter'] ) {
|
111 |
|
112 |
+
$mime_type = sanitize_mime_type( $mime['mime'] );
|
113 |
|
114 |
+
$post_mime_types[$mime_type] = array(
|
115 |
+
esc_html( $mime['plural'] ),
|
116 |
+
'Manage ' . esc_html( $mime['plural'] ),
|
117 |
+
_n_noop( esc_html( $mime['singular'] ) . ' <span class="count">(%s)</span>', esc_html( $mime['plural'] ) . ' <span class="count">(%s)</span>' )
|
118 |
);
|
119 |
}
|
120 |
}
|
129 |
/**
|
130 |
* wpuxss_eml_upload_mimes
|
131 |
*
|
132 |
+
* Allowed mime types
|
133 |
+
*
|
134 |
* @since 1.0
|
135 |
* @created 03/08/13
|
136 |
*/
|
139 |
|
140 |
if ( ! function_exists( 'wpuxss_eml_upload_mimes' ) ) {
|
141 |
|
142 |
+
function wpuxss_eml_upload_mimes( $existing_mimes=array() ) {
|
143 |
|
144 |
$wpuxss_eml_mimes = get_option('wpuxss_eml_mimes');
|
145 |
|
146 |
if ( ! empty( $wpuxss_eml_mimes ) ) {
|
147 |
|
148 |
+
foreach ( $wpuxss_eml_mimes as $extension => $mime ) {
|
149 |
+
|
150 |
+
$extension = wpuxss_eml_sanitize_extension( $extension );
|
151 |
|
|
|
152 |
|
153 |
+
if ( (bool) $mime['upload'] ) {
|
154 |
+
$existing_mimes[$extension] = sanitize_mime_type( $mime['mime'] );
|
155 |
}
|
156 |
else {
|
157 |
+
unset( $existing_mimes[$extension] );
|
|
|
|
|
158 |
}
|
159 |
}
|
160 |
}
|
168 |
/**
|
169 |
* wpuxss_eml_mime_types
|
170 |
*
|
171 |
+
* All mime Types
|
172 |
+
*
|
173 |
* @since 1.0
|
174 |
* @created 03/08/13
|
175 |
*/
|
184 |
|
185 |
if ( ! empty( $wpuxss_eml_mimes ) ) {
|
186 |
|
187 |
+
foreach ( $wpuxss_eml_mimes as $extension => $mime ) {
|
188 |
|
189 |
+
$extension = wpuxss_eml_sanitize_extension( $extension );
|
190 |
+
$existing_mimes[$extension] = sanitize_mime_type( $mime['mime'] );
|
191 |
}
|
192 |
|
193 |
+
foreach ( $existing_mimes as $extension => $mime ) {
|
194 |
|
195 |
+
if ( ! isset( $wpuxss_eml_mimes[$extension] ) ) {
|
196 |
+
unset( $existing_mimes[$extension] );
|
197 |
+
}
|
198 |
}
|
199 |
}
|
200 |
|
core/options-pages.php
CHANGED
@@ -32,7 +32,7 @@ if ( ! function_exists( 'wpuxss_eml_register_setting' ) ) {
|
|
32 |
'wpuxss_eml_taxonomies_validate' //sanitize_callback
|
33 |
);
|
34 |
|
35 |
-
// plugin settings:
|
36 |
register_setting(
|
37 |
'media-taxonomies', //option_group
|
38 |
'wpuxss_eml_tax_options', //option_name
|
@@ -46,6 +46,14 @@ if ( ! function_exists( 'wpuxss_eml_register_setting' ) ) {
|
|
46 |
'wpuxss_eml_mimes_validate' //sanitize_callback
|
47 |
);
|
48 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
// plugin settings: mime types backup
|
50 |
register_setting(
|
51 |
'wpuxss_eml_mimes_backup', //option_group
|
@@ -63,32 +71,24 @@ if ( ! function_exists( 'wpuxss_eml_register_setting' ) ) {
|
|
63 |
|
64 |
|
65 |
/**
|
66 |
-
*
|
67 |
*
|
68 |
-
* @since
|
69 |
-
* @created 28/
|
70 |
*/
|
71 |
|
72 |
-
add_action('admin_menu', '
|
73 |
-
|
74 |
-
if ( ! function_exists( 'wpuxss_eml_admin_menu' ) ) {
|
75 |
|
76 |
-
|
77 |
|
78 |
-
|
79 |
|
|
|
80 |
|
81 |
-
|
82 |
-
|
83 |
-
foreach( $submenu['options-general.php'] as $k => $d ){
|
84 |
|
85 |
-
|
86 |
-
|
87 |
-
$page = isset( $_GET['page'] ) && in_array( $_GET['page'], array('media','media-library','media-taxonomies','mime-types') ) ? $_GET['page'] : 'media';
|
88 |
-
$submenu['options-general.php'][$k]['2'] = 'options-general.php?page=' . $page;
|
89 |
-
break;
|
90 |
-
}
|
91 |
-
}
|
92 |
}
|
93 |
|
94 |
|
@@ -102,52 +102,154 @@ if ( ! function_exists( 'wpuxss_eml_admin_menu' ) ) {
|
|
102 |
);
|
103 |
|
104 |
$eml_medialibrary_options_page = add_submenu_page(
|
105 |
-
|
|
|
106 |
__('Media Library','enhanced-media-library'),
|
107 |
-
'',
|
108 |
'manage_options',
|
109 |
'media-library',
|
110 |
'wpuxss_eml_print_media_library_options'
|
111 |
);
|
112 |
|
113 |
$eml_taxonomies_options_page = add_submenu_page(
|
114 |
-
|
115 |
__('Taxonomies','enhanced-media-library'),
|
116 |
-
'',
|
117 |
'manage_options',
|
118 |
'media-taxonomies',
|
119 |
'wpuxss_eml_print_taxonomies_options'
|
120 |
);
|
121 |
|
122 |
$eml_mimetype_options_page = add_submenu_page(
|
123 |
-
|
|
|
124 |
__('MIME Types','enhanced-media-library'),
|
125 |
-
'',
|
126 |
'manage_options',
|
127 |
'mime-types',
|
128 |
'wpuxss_eml_print_mimetypes_options'
|
129 |
);
|
130 |
|
131 |
-
|
132 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
133 |
|
134 |
$eml_options_page = add_options_page(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
135 |
__('Enhanced Media Library','enhanced-media-library'),
|
136 |
__('Enhanced Media Library','enhanced-media-library'),
|
137 |
'manage_options',
|
138 |
'eml-settings',
|
139 |
-
'
|
140 |
);
|
141 |
|
|
|
|
|
|
|
142 |
|
143 |
-
add_action( 'load-' . $eml_media_options_page, 'wpuxss_eml_load_media_options_page' );
|
144 |
-
add_action( $eml_media_options_page, 'wpuxss_eml_media_options_page' );
|
145 |
|
146 |
-
add_action('admin_print_scripts-' . $eml_medialibrary_options_page, 'wpuxss_eml_medialibrary_options_page_scripts');
|
147 |
-
add_action('admin_print_scripts-' . $eml_taxonomies_options_page, 'wpuxss_eml_taxonomies_options_page_scripts');
|
148 |
-
add_action('admin_print_scripts-' . $eml_mimetype_options_page, 'wpuxss_eml_mimetype_options_page_scripts');
|
149 |
|
150 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
151 |
}
|
152 |
}
|
153 |
|
@@ -198,7 +300,7 @@ if ( ! function_exists( 'wpuxss_eml_admin_body_class_for_media_options_page' ) )
|
|
198 |
|
199 |
$hook_suffix = 'options-media.php';
|
200 |
|
201 |
-
$admin_body_class .= preg_replace('/[^a-z0-9_
|
202 |
|
203 |
return $admin_body_class;
|
204 |
}
|
@@ -226,44 +328,63 @@ if ( ! function_exists( 'wpuxss_eml_admin_title_for_media_options_page' ) ) {
|
|
226 |
|
227 |
|
228 |
/**
|
229 |
-
*
|
230 |
*
|
231 |
-
*
|
232 |
-
*
|
233 |
-
* @since 2.3.6
|
234 |
-
* @created 16/12/16
|
235 |
*/
|
236 |
|
237 |
-
if ( ! function_exists( '
|
238 |
|
239 |
-
function
|
240 |
|
241 |
-
$
|
242 |
|
243 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
244 |
}
|
245 |
}
|
246 |
|
247 |
|
248 |
|
249 |
/**
|
250 |
-
*
|
251 |
*
|
252 |
-
*
|
253 |
-
*
|
|
|
|
|
254 |
*/
|
255 |
|
256 |
-
|
257 |
-
|
258 |
-
if ( ! function_exists( 'wpuxss_eml_submenu_file' ) ) {
|
259 |
|
260 |
-
function
|
261 |
|
262 |
-
|
263 |
-
$submenu_file = 'options-general.php?page=' . $_GET['page'];
|
264 |
-
}
|
265 |
|
266 |
-
|
267 |
}
|
268 |
}
|
269 |
|
@@ -309,6 +430,14 @@ if ( ! function_exists( 'wpuxss_eml_print_media_settings' ) ) {
|
|
309 |
if ( ! current_user_can( 'manage_options' ) )
|
310 |
wp_die( __('You do not have sufficient permissions to access this page.','enhanced-media-library') );
|
311 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
312 |
|
313 |
$title = __('Media Settings');
|
314 |
?>
|
@@ -497,9 +626,16 @@ if ( ! function_exists( 'wpuxss_eml_taxonomies_options_page_scripts' ) ) {
|
|
497 |
'tax_error_duplicate_text' => __( 'Taxonomy with the same name already exists. Please chose other one.', 'enhanced-media-library' ),
|
498 |
|
499 |
'tax_error_empty_fileds_title' => __( 'Empty Fields', 'enhanced-media-library' ),
|
|
|
|
|
|
|
500 |
'tax_error_empty_both' => __( 'Please choose Singular and Plural names for all new taxomonies.', 'enhanced-media-library' ),
|
501 |
'tax_error_empty_singular' => __( 'Please choose Singular name for all new taxomonies.', 'enhanced-media-library' ),
|
502 |
-
'tax_error_empty_plural' => __( 'Please choose Plural
|
|
|
|
|
|
|
|
|
503 |
|
504 |
'okay' => __( 'Ok', 'enhanced-media-library' ),
|
505 |
'cancel' => __( 'Cancel', 'enhanced-media-library' ),
|
@@ -551,8 +687,10 @@ if ( ! function_exists( 'wpuxss_eml_mimetype_options_page_scripts' ) ) {
|
|
551 |
'mime_restoring_yes' => __( 'Restore Defaults', 'enhanced-media-library' ),
|
552 |
'in_progress_restoring_text' => __( 'Restoring...', 'enhanced-media-library' ),
|
553 |
|
|
|
554 |
'cancel' => __( 'Cancel', 'enhanced-media-library' ),
|
555 |
|
|
|
556 |
'mime_error_empty_fields' => __( 'Please fill into all fields.', 'enhanced-media-library' ),
|
557 |
'mime_error_duplicate' => __( 'Duplicate extensions or MIME types. Please choose other one.', 'enhanced-media-library' )
|
558 |
);
|
@@ -622,11 +760,20 @@ if ( ! function_exists( 'wpuxss_eml_print_settings' ) ) {
|
|
622 |
|
623 |
if ( ! current_user_can( 'manage_options' ) )
|
624 |
wp_die( __('You do not have sufficient permissions to access this page.','enhanced-media-library') );
|
625 |
-
?>
|
626 |
|
627 |
-
<div id="wpuxss-eml-global-options-wrap" class="wrap">
|
628 |
|
629 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
630 |
|
631 |
<div id="poststuff">
|
632 |
|
@@ -640,12 +787,20 @@ if ( ! function_exists( 'wpuxss_eml_print_settings' ) ) {
|
|
640 |
|
641 |
<div class="inside">
|
642 |
|
643 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
644 |
|
645 |
-
<
|
646 |
|
|
|
|
|
647 |
<?php wp_nonce_field( 'eml_settings_export_nonce', 'eml-settings-export-nonce' ); ?>
|
648 |
-
<?php submit_button( __( 'Export Plugin Settings', 'enhanced-media-library' ), 'primary', 'eml-settings-export' ); ?>
|
649 |
</form>
|
650 |
|
651 |
</div>
|
@@ -659,15 +814,21 @@ if ( ! function_exists( 'wpuxss_eml_print_settings' ) ) {
|
|
659 |
|
660 |
<div class="inside">
|
661 |
|
662 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
663 |
<p><?php _e( 'All plugin settings will be overridden by the import. You will have a chance to restore current data from an automatic backup in case you are not satisfied with the result of the import.', 'enhanced-media-library' ); ?></p>
|
664 |
|
665 |
<form method="post" enctype="multipart/form-data">
|
666 |
-
|
667 |
<p><input type="file" name="import_file"/></p>
|
668 |
-
|
669 |
<?php wp_nonce_field( 'eml_settings_import_nonce', 'eml-settings-import-nonce' ); ?>
|
670 |
-
<?php submit_button(
|
671 |
</form>
|
672 |
|
673 |
</div>
|
@@ -692,10 +853,18 @@ if ( ! function_exists( 'wpuxss_eml_print_settings' ) ) {
|
|
692 |
<?php else : ?>
|
693 |
|
694 |
<p><?php _e( 'The backup has been automatically created before the latest import operation.', 'enhanced-media-library' ); ?></p>
|
695 |
-
<form method="post">
|
696 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
697 |
<?php wp_nonce_field( 'eml_settings_restore_nonce', 'eml-settings-restore-nonce' ); ?>
|
698 |
-
<?php submit_button( __( 'Restore Settings from the Backup', 'enhanced-media-library' ), 'primary', 'eml-settings-restore' ); ?>
|
699 |
</form>
|
700 |
|
701 |
<?php endif; ?>
|
@@ -706,22 +875,180 @@ if ( ! function_exists( 'wpuxss_eml_print_settings' ) ) {
|
|
706 |
</div>
|
707 |
|
708 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
709 |
<div class="postbox">
|
710 |
|
711 |
<h3 class="hndle"><?php _e( 'Complete Cleanup', 'enhanced-media-library' ); ?></h3>
|
712 |
|
713 |
<div class="inside">
|
714 |
|
715 |
-
<?php $
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
716 |
|
717 |
<ul>
|
718 |
<li><strong><?php _e( 'What will be deleted:', 'enhanced-media-library' ); ?></strong></li>
|
719 |
<?php foreach( (array) $wpuxss_eml_taxonomies as $taxonomy => $params ) : ?>
|
720 |
<li><?php _e( 'All', 'enhanced-media-library' );
|
721 |
-
echo ' ' . $params['labels']['name']; ?></li>
|
722 |
<?php endforeach; ?>
|
723 |
-
<li><?php _e( 'All plugin options', 'enhanced-media-library' ); ?></li>
|
724 |
-
<li><?php _e( '
|
|
|
725 |
</ul>
|
726 |
|
727 |
<ul>
|
@@ -730,22 +1057,20 @@ if ( ! function_exists( 'wpuxss_eml_print_settings' ) ) {
|
|
730 |
<li><?php _e( 'All taxonomies not listed above', 'enhanced-media-library' ); ?></li>
|
731 |
</ul>
|
732 |
|
733 |
-
<p><?php _e( 'The plugin cannot delete itself
|
734 |
|
735 |
-
<p><strong style="color:red;"><?php _e( 'If you are not sure about this operation
|
736 |
|
737 |
<form id="eml-form-cleanup" method="post">
|
738 |
-
|
739 |
<input type='hidden' name='eml-settings-cleanup' />
|
740 |
<?php wp_nonce_field( 'eml_settings_cleanup_nonce', 'eml-settings-cleanup-nonce' ); ?>
|
741 |
-
<?php submit_button( __( 'Delete All Data & Deactivate', 'enhanced-media-library' ), 'primary', 'eml-settings-cleanup' ); ?>
|
742 |
</form>
|
743 |
|
744 |
</div>
|
745 |
|
746 |
</div>
|
747 |
|
748 |
-
|
749 |
<?php do_action( 'wpuxss_eml_extend_settings_page' ); ?>
|
750 |
|
751 |
</div>
|
@@ -762,7 +1087,46 @@ if ( ! function_exists( 'wpuxss_eml_print_settings' ) ) {
|
|
762 |
|
763 |
</div>
|
764 |
|
765 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
766 |
}
|
767 |
}
|
768 |
|
@@ -790,6 +1154,14 @@ if ( ! function_exists( 'wpuxss_eml_settings_export' ) ) {
|
|
790 |
if ( ! current_user_can( 'manage_options' ) )
|
791 |
return;
|
792 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
793 |
|
794 |
$settings = wpuxss_eml_get_settings();
|
795 |
|
@@ -830,6 +1202,14 @@ if ( ! function_exists( 'wpuxss_eml_settings_import' ) ) {
|
|
830 |
if ( ! current_user_can( 'manage_options' ) )
|
831 |
return;
|
832 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
833 |
|
834 |
$import_file = $_FILES['import_file'];
|
835 |
|
@@ -838,7 +1218,7 @@ if ( ! function_exists( 'wpuxss_eml_settings_import' ) ) {
|
|
838 |
add_settings_error(
|
839 |
'eml-settings',
|
840 |
'eml_settings_file_absent',
|
841 |
-
__('Please upload a file to import settings.', 'enhanced-media-library'),
|
842 |
'error'
|
843 |
);
|
844 |
|
@@ -854,6 +1234,19 @@ if ( ! function_exists( 'wpuxss_eml_settings_import' ) ) {
|
|
854 |
$json_data = file_get_contents( $import_file['tmp_name'] );
|
855 |
$settings = json_decode( $json_data, true );
|
856 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
857 |
update_option( 'wpuxss_eml_taxonomies', $settings['taxonomies'] );
|
858 |
update_option( 'wpuxss_eml_lib_options', $settings['lib_options'] );
|
859 |
update_option( 'wpuxss_eml_tax_options', $settings['tax_options'] );
|
@@ -894,6 +1287,14 @@ if ( ! function_exists( 'wpuxss_eml_settings_restoring' ) ) {
|
|
894 |
if ( ! current_user_can( 'manage_options' ) )
|
895 |
return;
|
896 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
897 |
|
898 |
$wpuxss_eml_backup = get_option( 'wpuxss_eml_backup' );
|
899 |
|
@@ -930,9 +1331,6 @@ if ( ! function_exists( 'wpuxss_eml_settings_cleanup' ) ) {
|
|
930 |
|
931 |
function wpuxss_eml_settings_cleanup() {
|
932 |
|
933 |
-
global $wpdb;
|
934 |
-
|
935 |
-
|
936 |
if ( ! isset( $_POST['eml-settings-cleanup'] ) )
|
937 |
return;
|
938 |
|
@@ -942,6 +1340,62 @@ if ( ! function_exists( 'wpuxss_eml_settings_cleanup' ) ) {
|
|
942 |
if ( ! current_user_can( 'manage_options' ) )
|
943 |
return;
|
944 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
945 |
|
946 |
foreach ( get_option( 'wpuxss_eml_taxonomies', array() ) as $taxonomy => $params ) {
|
947 |
|
@@ -1001,10 +1455,23 @@ if ( ! function_exists( 'wpuxss_eml_settings_cleanup' ) ) {
|
|
1001 |
}
|
1002 |
}
|
1003 |
}
|
|
|
|
|
|
|
1004 |
|
1005 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1006 |
$options = array(
|
1007 |
-
'wpuxss_eml_version',
|
1008 |
'wpuxss_eml_taxonomies',
|
1009 |
'wpuxss_eml_lib_options',
|
1010 |
'wpuxss_eml_tax_options',
|
@@ -1018,7 +1485,50 @@ if ( ! function_exists( 'wpuxss_eml_settings_cleanup' ) ) {
|
|
1018 |
foreach ( $options as $option ) {
|
1019 |
delete_option( $option );
|
1020 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1021 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1022 |
|
1023 |
$transients = array();
|
1024 |
|
@@ -1027,12 +1537,6 @@ if ( ! function_exists( 'wpuxss_eml_settings_cleanup' ) ) {
|
|
1027 |
foreach ( $transients as $transient ) {
|
1028 |
delete_site_transient( $transient );
|
1029 |
}
|
1030 |
-
|
1031 |
-
|
1032 |
-
deactivate_plugins( wpuxss_get_eml_basename() );
|
1033 |
-
|
1034 |
-
wp_safe_redirect( admin_url( 'plugins.php' ) );
|
1035 |
-
exit;
|
1036 |
}
|
1037 |
}
|
1038 |
|
@@ -1084,12 +1588,20 @@ if ( ! function_exists( 'wpuxss_eml_print_media_library_options' ) ) {
|
|
1084 |
if ( ! current_user_can( 'manage_options' ) )
|
1085 |
wp_die( __( 'You do not have sufficient permissions to access this page.', 'enhanced-media-library' ) );
|
1086 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1087 |
|
1088 |
$wpuxss_eml_lib_options = get_option( 'wpuxss_eml_lib_options' );
|
1089 |
$title = __('Media Settings'); ?>
|
1090 |
|
1091 |
|
1092 |
-
<div id="wpuxss-eml-media-library-options-wrap" class="wrap">
|
1093 |
|
1094 |
<h1><?php echo esc_html( $title ); ?></h1>
|
1095 |
|
@@ -1105,9 +1617,76 @@ if ( ! function_exists( 'wpuxss_eml_print_media_library_options' ) ) {
|
|
1105 |
|
1106 |
<?php settings_fields( 'media-library' ); ?>
|
1107 |
|
|
|
|
|
|
|
1108 |
<div class="postbox">
|
1109 |
|
1110 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1111 |
|
1112 |
<div class="inside">
|
1113 |
|
@@ -1122,7 +1701,7 @@ if ( ! function_exists( 'wpuxss_eml_print_media_library_options' ) ) {
|
|
1122 |
<option value="menuOrder" <?php selected( $wpuxss_eml_lib_options['media_orderby'], 'menuOrder' ); ?>><?php _e('Custom Order','enhanced-media-library'); ?></option>
|
1123 |
</select>
|
1124 |
<?php _e('For media library and media popups','enhanced-media-library'); ?>
|
1125 |
-
<p class="description"><?php _e( '
|
1126 |
</td>
|
1127 |
</tr>
|
1128 |
|
@@ -1142,22 +1721,60 @@ if ( ! function_exists( 'wpuxss_eml_print_media_library_options' ) ) {
|
|
1142 |
<td>
|
1143 |
<fieldset>
|
1144 |
<legend class="screen-reader-text"><span><?php _e('Natural sort order','enhanced-media-library'); ?></span></legend>
|
1145 |
-
<label><input name="wpuxss_eml_lib_options[natural_sort]" type="hidden" value="0" /><input name="wpuxss_eml_lib_options[natural_sort]" type="checkbox" value="1" <?php checked( true, $wpuxss_eml_lib_options['natural_sort'], true ); ?> /> <?php _e('Apply human-friendly sort order to
|
1146 |
<p class="description"><?php _e( 'Example: [1, 2, 3, 10, 18, 22, abc-2, abc-11] instead of [1, 10, 18, 2, 22, 3, abc-11, abc-2]', 'enhanced-media-library' ); ?></p>
|
1147 |
</fieldset>
|
1148 |
</td>
|
1149 |
</tr>
|
1150 |
</table>
|
1151 |
|
1152 |
-
<?php submit_button(); ?>
|
1153 |
|
1154 |
</div>
|
1155 |
|
1156 |
</div>
|
1157 |
|
|
|
|
|
|
|
1158 |
<div class="postbox">
|
1159 |
|
1160 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1161 |
|
1162 |
<div class="inside">
|
1163 |
|
@@ -1168,22 +1785,31 @@ if ( ! function_exists( 'wpuxss_eml_print_media_library_options' ) ) {
|
|
1168 |
<td>
|
1169 |
<fieldset>
|
1170 |
<legend class="screen-reader-text"><span><?php _e('Enhanced media shortcodes','enhanced-media-library'); ?></span></legend>
|
1171 |
-
<label><input name="wpuxss_eml_lib_options[enhance_media_shortcodes]" type="hidden" value="0" /><input name="wpuxss_eml_lib_options[enhance_media_shortcodes]" type="checkbox" value="1" <?php checked( true, $wpuxss_eml_lib_options['enhance_media_shortcodes'], true ); ?> /> <?php _e('Enhance WordPress media shortcodes to make them understand media taxonomies, upload date, and media items number limit','enhanced-media-library'); ?></label>
|
1172 |
<p class="description"><?php _e( 'Gallery example:', 'enhanced-media-library' ); ?> [gallery media_category="5" limit="10" monthnum="12" year="2015"]</p>
|
1173 |
<p class="description"><?php _e( 'Audio playlist example:', 'enhanced-media-library' ); ?> [playlist media_category="5" limit="10" monthnum="12" year="2015"]</p>
|
1174 |
<p class="description"><?php _e( 'Video playlist example:', 'enhanced-media-library' ); ?> [playlist type="video" media_category="5" limit="10" monthnum="12" year="2015"]</p>
|
1175 |
<p class="description"><?php
|
1176 |
-
printf(
|
1177 |
-
|
1178 |
-
|
1179 |
-
|
1180 |
-
printf(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1181 |
</fieldset>
|
1182 |
</td>
|
1183 |
</tr>
|
1184 |
</table>
|
1185 |
|
1186 |
-
<?php submit_button(); ?>
|
1187 |
|
1188 |
</div>
|
1189 |
|
@@ -1220,11 +1846,20 @@ if ( ! function_exists( 'wpuxss_eml_print_taxonomies_options' ) ) {
|
|
1220 |
if ( ! current_user_can( 'manage_options' ) )
|
1221 |
wp_die( __( 'You do not have sufficient permissions to access this page.', 'enhanced-media-library' ) );
|
1222 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1223 |
$wpuxss_eml_taxonomies = get_option( 'wpuxss_eml_taxonomies' );
|
1224 |
$title = __('Media Settings'); ?>
|
1225 |
|
1226 |
|
1227 |
-
<div id="wpuxss-eml-global-options-wrap" class="wrap">
|
1228 |
|
1229 |
<h1><?php echo esc_html( $title ); ?></h1>
|
1230 |
|
@@ -1254,18 +1889,18 @@ if ( ! function_exists( 'wpuxss_eml_print_taxonomies_options' ) ) {
|
|
1254 |
|
1255 |
if ( (in_array('attachment',$taxonomy->object_type) && count($taxonomy->object_type) == 1) || empty($taxonomy->object_type) ) {
|
1256 |
|
1257 |
-
$assigned =
|
1258 |
-
$eml_media =
|
1259 |
|
1260 |
if ( $eml_media )
|
1261 |
$li_class = 'wpuxss-eml-taxonomy';
|
1262 |
else
|
1263 |
$li_class = 'wpuxss-non-eml-taxonomy';
|
1264 |
|
1265 |
-
$html .= '<li class="' . $li_class . '" id="' . $taxonomy->name . '">';
|
1266 |
|
1267 |
-
$html .= '<input name="wpuxss_eml_taxonomies[' . $taxonomy->name . '][eml_media]" type="hidden" value="' . $eml_media . '" />';
|
1268 |
-
$html .= '<label><input class="wpuxss-eml-assigned" name="wpuxss_eml_taxonomies[' . $taxonomy->name . '][assigned]" type="checkbox" value="1" ' . checked( true, $assigned, false ) . ' title="' . __('Assign Taxonomy','enhanced-media-library') . '" />' . $taxonomy->label . '</label>';
|
1269 |
$html .= '<a class="wpuxss-eml-button-edit" title="' . __('Edit Taxonomy','enhanced-media-library') . '" href="javascript:;">' . __('Edit','enhanced-media-library') . ' ↓</a>';
|
1270 |
|
1271 |
if ( $eml_media ) {
|
@@ -1277,17 +1912,17 @@ if ( ! function_exists( 'wpuxss_eml_print_taxonomies_options' ) ) {
|
|
1277 |
$html .= '<div class="wpuxss-eml-labels-edit">';
|
1278 |
$html .= '<h4>' . __('Labels','enhanced-media-library') . '</h4>';
|
1279 |
$html .= '<ul>';
|
1280 |
-
$html .= '<li><label>' . __('Singular','enhanced-media-library') . '</label><input type="text" class="wpuxss-eml-singular_name" name="wpuxss_eml_taxonomies[' . $taxonomy->name . '][labels][singular_name]" value="' . esc_html($taxonomy->labels->singular_name) . '" /></li>';
|
1281 |
-
$html .= '<li><label>' . __('Plural','enhanced-media-library') . '</label><input type="text" class="wpuxss-eml-name" name="wpuxss_eml_taxonomies[' . $taxonomy->name . '][labels][name]" value="' . esc_html($taxonomy->labels->name) . '" /></li>';
|
1282 |
-
$html .= '<li><label>' . __('Menu Name','enhanced-media-library') . '</label><input type="text" class="wpuxss-eml-menu_name" name="wpuxss_eml_taxonomies[' . $taxonomy->name . '][labels][menu_name]" value="' . esc_html($taxonomy->labels->menu_name) . '" /></li>';
|
1283 |
-
$html .= '<li><label>' . __('All','enhanced-media-library') . '</label><input type="text" class="wpuxss-eml-all_items" name="wpuxss_eml_taxonomies[' . $taxonomy->name . '][labels][all_items]" value="' . esc_html($taxonomy->labels->all_items) . '" /></li>';
|
1284 |
-
$html .= '<li><label>' . __('Edit','enhanced-media-library') . '</label><input type="text" class="wpuxss-eml-edit_item" name="wpuxss_eml_taxonomies[' . $taxonomy->name . '][labels][edit_item]" value="' . esc_html($taxonomy->labels->edit_item) . '" /></li>';
|
1285 |
-
$html .= '<li><label>' . __('View','enhanced-media-library') . '</label><input type="text" class="wpuxss-eml-view_item" name="wpuxss_eml_taxonomies[' . $taxonomy->name . '][labels][view_item]" value="' . esc_html($taxonomy->labels->view_item) . '" /></li>';
|
1286 |
-
$html .= '<li><label>' . __('Update','enhanced-media-library') . '</label><input type="text" class="wpuxss-eml-update_item" name="wpuxss_eml_taxonomies[' . $taxonomy->name . '][labels][update_item]" value="' . esc_html($taxonomy->labels->update_item) . '" /></li>';
|
1287 |
-
$html .= '<li><label>' . __('Add New','enhanced-media-library') . '</label><input type="text" class="wpuxss-eml-add_new_item" name="wpuxss_eml_taxonomies[' . $taxonomy->name . '][labels][add_new_item]" value="' . esc_html($taxonomy->labels->add_new_item) . '" /></li>';
|
1288 |
-
$html .= '<li><label>' . __('New','enhanced-media-library') . '</label><input type="text" class="wpuxss-eml-new_item_name" name="wpuxss_eml_taxonomies[' . $taxonomy->name . '][labels][new_item_name]" value="' . esc_html($taxonomy->labels->new_item_name) . '" /></li>';
|
1289 |
-
$html .= '<li><label>' . __('Parent','enhanced-media-library') . '</label><input type="text" class="wpuxss-eml-parent_item" name="wpuxss_eml_taxonomies[' . $taxonomy->name . '][labels][parent_item]" value="' . esc_html($taxonomy->labels->parent_item) . '" /></li>';
|
1290 |
-
$html .= '<li><label>' . __('Search','enhanced-media-library') . '</label><input type="text" class="wpuxss-eml-search_items" name="wpuxss_eml_taxonomies[' . $taxonomy->name . '][labels][search_items]" value="' . esc_html($taxonomy->labels->search_items) . '" /></li>';
|
1291 |
$html .= '</ul>';
|
1292 |
$html .= '</div>';
|
1293 |
|
@@ -1295,16 +1930,16 @@ if ( ! function_exists( 'wpuxss_eml_print_taxonomies_options' ) ) {
|
|
1295 |
$html .= '<h4>' . __('Settings','enhanced-media-library') . '</h4>';
|
1296 |
$html .= '<ul>';
|
1297 |
$html .= '<li><label>' . __('Taxonomy Name','enhanced-media-library') . '</label><input type="text" class="wpuxss-eml-taxonomy-name" name="" value="' . esc_attr($taxonomy->name) . '" disabled="disabled" /></li>';
|
1298 |
-
$html .= '<li><label>' . __('Hierarchical','enhanced-media-library') . '</label><input type="checkbox" class="wpuxss-eml-hierarchical" name="wpuxss_eml_taxonomies[' . $taxonomy->name . '][hierarchical]" value="1" ' . checked(
|
1299 |
-
$html .= '<li><label>' . __('Column for List View','enhanced-media-library') . '</label><input type="checkbox" class="wpuxss-eml-show_admin_column" name="wpuxss_eml_taxonomies[' . $taxonomy->name . '][show_admin_column]" value="1" ' . checked(
|
1300 |
-
$html .= '<li><label>' . __('Filter for List View','enhanced-media-library') . '</label><input type="checkbox" class="wpuxss-eml-admin_filter" name="wpuxss_eml_taxonomies[' . $taxonomy->name . '][admin_filter]" value="1" ' . checked(
|
1301 |
-
$html .= '<li><label>' . __('Filter for Grid View / Media Popup','enhanced-media-library') . '</label><input type="checkbox" class="wpuxss-eml-media_uploader_filter" name="wpuxss_eml_taxonomies[' . $taxonomy->name . '][media_uploader_filter]" value="1" ' . checked(
|
1302 |
-
$html .= '<li><label>' . __('Edit in Media Popup','enhanced-media-library') . '</label><input type="checkbox" class="wpuxss-eml-media_popup_taxonomy_edit" name="wpuxss_eml_taxonomies[' . $taxonomy->name . '][media_popup_taxonomy_edit]" value="1" ' . checked(
|
1303 |
-
$html .= '<li><label>' . __('Show in Nav Menu','enhanced-media-library') . '</label><input type="checkbox" class="wpuxss-eml-show_in_nav_menus" name="wpuxss_eml_taxonomies[' . $taxonomy->name . '][show_in_nav_menus]" value="1" ' . checked(
|
1304 |
-
$html .= '<li><label>' . __('Remember Terms Order (sort)','enhanced-media-library') . '</label><input type="checkbox" class="wpuxss-eml-sort" name="wpuxss_eml_taxonomies[' . $taxonomy->name . '][sort]" value="1" ' . checked(
|
1305 |
-
$html .= '<li><label>' . __('Show in REST','enhanced-media-library') . '</label><input type="checkbox" class="wpuxss-eml-show_in_rest" name="wpuxss_eml_taxonomies[' . $taxonomy->name . '][show_in_rest]" value="1" ' . checked(
|
1306 |
-
$html .= '<li><label>' . __('Rewrite Slug','enhanced-media-library') . '</label><input type="text" class="wpuxss-eml-slug" name="wpuxss_eml_taxonomies[' . $taxonomy->name . '][rewrite][slug]" value="' . esc_attr($taxonomy->rewrite['slug']) . '" /></li>';
|
1307 |
-
$html .= '<li><label>' . __('Slug with Front','enhanced-media-library') . '</label><input type="checkbox" class="wpuxss-eml-with_front" name="wpuxss_eml_taxonomies[' . $taxonomy->name . '][rewrite][with_front]" value="1" ' . checked(
|
1308 |
$html .= '</ul>';
|
1309 |
$html .= '</div>';
|
1310 |
|
@@ -1317,9 +1952,9 @@ if ( ! function_exists( 'wpuxss_eml_print_taxonomies_options' ) ) {
|
|
1317 |
$html .= '<div class="wpuxss-eml-settings-edit">';
|
1318 |
$html .= '<h4>' . __('Settings','enhanced-media-library') . '</h4>';
|
1319 |
$html .= '<ul>';
|
1320 |
-
$html .= '<li><label>' . __('Filter for List View','enhanced-media-library') . '</label><input type="checkbox" class="wpuxss-eml-admin_filter" name="wpuxss_eml_taxonomies[' . $taxonomy->name . '][admin_filter]" value="1" ' . checked(
|
1321 |
-
$html .= '<li><label>' . __('Filter for Grid View / Media Popup','enhanced-media-library') . '</label><input type="checkbox" class="wpuxss-eml-media_uploader_filter" name="wpuxss_eml_taxonomies[' . $taxonomy->name . '][media_uploader_filter]" value="1" ' . checked(
|
1322 |
-
$html .= '<li><label>' . __('Edit in Media Popup','enhanced-media-library') . '</label><input type="checkbox" class="wpuxss-eml-media_popup_taxonomy_edit" name="wpuxss_eml_taxonomies[' . $taxonomy->name . '][media_popup_taxonomy_edit]" value="1" ' . checked(
|
1323 |
$html .= '</ul>';
|
1324 |
$html .= '</div>';
|
1325 |
$html .= '</div>';
|
@@ -1357,7 +1992,7 @@ if ( ! function_exists( 'wpuxss_eml_print_taxonomies_options' ) ) {
|
|
1357 |
$html .= '<div class="wpuxss-eml-settings-edit">';
|
1358 |
$html .= '<h4>' . __('Settings','enhanced-media-library') . '</h4>';
|
1359 |
$html .= '<ul>';
|
1360 |
-
$html .= '<li><label>' . __('Taxonomy Name','enhanced-media-library') . '</label><input type="text" class="wpuxss-eml-taxonomy-name" name="" value=""
|
1361 |
$html .= '<li><label>' . __('Hierarchical','enhanced-media-library') . '</label><input type="checkbox" class="wpuxss-eml-hierarchical" name="" value="1" checked="checked" /></li>';
|
1362 |
$html .= '<li><label>' . __('Column for List View','enhanced-media-library') . '</label><input class="wpuxss-eml-show_admin_column" type="checkbox" name="" value="1" /></li>';
|
1363 |
$html .= '<li><label>' . __('Filter for List View','enhanced-media-library') . '</label><input class="wpuxss-eml-admin_filter" type="checkbox" name="" value="1" /></li>';
|
@@ -1382,7 +2017,7 @@ if ( ! function_exists( 'wpuxss_eml_print_taxonomies_options' ) ) {
|
|
1382 |
<div class="wpuxss-eml-button-container-right"><a class="add-new-h2 wpuxss-eml-button-create-taxonomy" href="javascript:;">+ <?php _e( 'Add New Taxonomy', 'enhanced-media-library' ); ?></a></div>
|
1383 |
<?php endif; ?>
|
1384 |
|
1385 |
-
<?php submit_button(); ?>
|
1386 |
</div>
|
1387 |
|
1388 |
</div>
|
@@ -1413,17 +2048,17 @@ if ( ! function_exists( 'wpuxss_eml_print_taxonomies_options' ) ) {
|
|
1413 |
}
|
1414 |
|
1415 |
|
1416 |
-
$html .= '<li class="wpuxss-non-eml-taxonomy" id="' . $taxonomy->name . '">';
|
1417 |
-
$html .= '<input name="wpuxss_eml_taxonomies[' . $taxonomy->name . '][eml_media]" type="hidden" value="' . $wpuxss_eml_taxonomies[$taxonomy->name]['eml_media'] . '" />';
|
1418 |
-
$html .= '<label><input class="wpuxss-eml-assigned" name="wpuxss_eml_taxonomies[' . $taxonomy->name . '][assigned]" type="checkbox" value="1" ' . checked(
|
1419 |
$html .= '<a class="wpuxss-eml-button-edit" title="' . __('Edit Taxonomy','enhanced-media-library') . '" href="javascript:;">' . __('Edit','enhanced-media-library') . ' ↓</a>';
|
1420 |
$html .= '<div class="wpuxss-eml-taxonomy-edit" style="display:none;">';
|
1421 |
|
1422 |
$html .= '<h4>' . __('Settings','enhanced-media-library') . '</h4>';
|
1423 |
$html .= '<ul>';
|
1424 |
-
$html .= '<li><input type="checkbox" class="wpuxss-eml-admin_filter" name="wpuxss_eml_taxonomies[' . $taxonomy->name . '][admin_filter]" id="wpuxss_eml_taxonomies-' . $taxonomy->name . '-admin_filter" value="1" ' . checked(
|
1425 |
-
$html .= '<li><input type="checkbox" class="wpuxss-eml-media_uploader_filter" name="wpuxss_eml_taxonomies[' . $taxonomy->name . '][media_uploader_filter]" id="wpuxss_eml_taxonomies-' . $taxonomy->name . '-media_uploader_filter" value="1" ' . checked(
|
1426 |
-
$html .= '<li><input type="checkbox" class="wpuxss-eml-media_popup_taxonomy_edit" name="wpuxss_eml_taxonomies[' . $taxonomy->name . '][media_popup_taxonomy_edit]" id="wpuxss_eml_taxonomies-' . $taxonomy->name . '-media_popup_taxonomy_edit" value="1" ' . checked(
|
1427 |
|
1428 |
$options = '';
|
1429 |
$html .= apply_filters( 'wpuxss_eml_extend_non_media_taxonomy_options', $options, $taxonomy, $post_type, $wpuxss_eml_taxonomies );
|
@@ -1436,7 +2071,7 @@ if ( ! function_exists( 'wpuxss_eml_print_taxonomies_options' ) ) {
|
|
1436 |
|
1437 |
<?php if ( ! empty( $html ) ) : ?>
|
1438 |
|
1439 |
-
<h4><?php echo $post_type->label; ?></h4>
|
1440 |
<ul class="wpuxss-eml-settings-list wpuxss-eml-non-media-taxonomy-list">
|
1441 |
<?php echo $html; ?>
|
1442 |
</ul>
|
@@ -1446,7 +2081,7 @@ if ( ! function_exists( 'wpuxss_eml_print_taxonomies_options' ) ) {
|
|
1446 |
}
|
1447 |
}
|
1448 |
|
1449 |
-
submit_button(); ?>
|
1450 |
|
1451 |
</div>
|
1452 |
|
@@ -1466,7 +2101,7 @@ if ( ! function_exists( 'wpuxss_eml_print_taxonomies_options' ) ) {
|
|
1466 |
<td>
|
1467 |
<fieldset>
|
1468 |
<legend class="screen-reader-text"><span><?php _e('Taxonomy archive pages','enhanced-media-library'); ?></span></legend>
|
1469 |
-
<label><input name="wpuxss_eml_tax_options[tax_archives]" type="hidden" value="0" /><input name="wpuxss_eml_tax_options[tax_archives]" type="checkbox" value="1" <?php checked( true, $wpuxss_eml_tax_options['tax_archives'], true ); ?> /> <?php _e('Turn on media taxonomy archive pages on the front-end','enhanced-media-library'); ?></label>
|
1470 |
<p class="description"><?php _e( 'Re-save your permalink settings after this option change to make it work.', 'enhanced-media-library' ); ?></p>
|
1471 |
</fieldset>
|
1472 |
</td>
|
@@ -1477,35 +2112,14 @@ if ( ! function_exists( 'wpuxss_eml_print_taxonomies_options' ) ) {
|
|
1477 |
<td>
|
1478 |
<fieldset>
|
1479 |
<legend class="screen-reader-text"><span><?php _e('Assign all like hierarchical','enhanced-media-library'); ?></span></legend>
|
1480 |
-
<label><input name="wpuxss_eml_tax_options[edit_all_as_hierarchical]" type="hidden" value="0" /><input name="wpuxss_eml_tax_options[edit_all_as_hierarchical]" type="checkbox" value="1" <?php checked( true, $wpuxss_eml_tax_options['edit_all_as_hierarchical'], true ); ?> /> <?php _e('Show non-hierarchical taxonomies like hierarchical in Grid View / Media Popup','enhanced-media-library'); ?></label>
|
1481 |
-
</fieldset>
|
1482 |
-
</td>
|
1483 |
-
</tr>
|
1484 |
-
|
1485 |
-
<tr>
|
1486 |
-
<th scope="row"><?php _e('Force filters','enhanced-media-library'); ?></th>
|
1487 |
-
<td>
|
1488 |
-
<fieldset>
|
1489 |
-
<legend class="screen-reader-text"><span><?php _e('Force filters','enhanced-media-library'); ?></span></legend>
|
1490 |
-
<label><input name="wpuxss_eml_tax_options[force_filters]" type="hidden" value="0" /><input name="wpuxss_eml_tax_options[force_filters]" type="checkbox" value="1" <?php checked( true, $wpuxss_eml_tax_options['force_filters'], true ); ?> /> <?php _e('Show media filters for ANY Media Popup','enhanced-media-library'); ?></label>
|
1491 |
-
<p class="description"><?php _e( 'Try this if filters are not shown for third-party plugins or themes.', 'enhanced-media-library' ); ?></p>
|
1492 |
-
</fieldset>
|
1493 |
-
</td>
|
1494 |
-
</tr>
|
1495 |
-
|
1496 |
-
<tr>
|
1497 |
-
<th scope="row"><?php _e('Show count','enhanced-media-library'); ?></th>
|
1498 |
-
<td>
|
1499 |
-
<fieldset>
|
1500 |
-
<legend class="screen-reader-text"><span><?php _e('Show count','enhanced-media-library'); ?></span></legend>
|
1501 |
-
<label><input name="wpuxss_eml_tax_options[show_count]" type="hidden" value="0" /><input name="wpuxss_eml_tax_options[show_count]" type="checkbox" value="1" <?php checked( true, $wpuxss_eml_tax_options['show_count'], true ); ?> /> <?php _e('Show item count per category for media filters','enhanced-media-library'); ?></label>
|
1502 |
</fieldset>
|
1503 |
</td>
|
1504 |
</tr>
|
1505 |
|
1506 |
</table>
|
1507 |
|
1508 |
-
<?php submit_button(); ?>
|
1509 |
|
1510 |
</div>
|
1511 |
|
@@ -1544,11 +2158,20 @@ if ( ! function_exists( 'wpuxss_eml_print_mimetypes_options' ) ) {
|
|
1544 |
if ( ! current_user_can('manage_options' ) )
|
1545 |
wp_die( __('You do not have sufficient permissions to access this page.','enhanced-media-library') );
|
1546 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1547 |
$wpuxss_eml_mimes = get_option('wpuxss_eml_mimes');
|
1548 |
$wpuxss_eml_mimes_backup = get_option('wpuxss_eml_mimes_backup');
|
1549 |
$title = __('Media Settings'); ?>
|
1550 |
|
1551 |
-
<div id="wpuxss-eml-global-options-wrap" class="wrap">
|
1552 |
|
1553 |
<h1>
|
1554 |
<?php echo esc_html( $title ); ?>
|
@@ -1588,26 +2211,25 @@ if ( ! function_exists( 'wpuxss_eml_print_mimetypes_options' ) ) {
|
|
1588 |
<?php
|
1589 |
$allowed_mimes = get_allowed_mime_types();
|
1590 |
$all_mimes = wp_get_mime_types();
|
1591 |
-
ksort( $all_mimes, SORT_STRING );
|
1592 |
-
?>
|
1593 |
|
1594 |
<?php foreach ( $all_mimes as $type => $mime ) :
|
1595 |
|
1596 |
if ( isset( $wpuxss_eml_mimes[$type] ) ) :
|
1597 |
|
1598 |
-
$label = '<code>'. str_replace( '|', '</code>, <code>', $type ) .'</code>';
|
1599 |
|
1600 |
$allowed = false;
|
1601 |
if ( array_key_exists( $type,$allowed_mimes ) )
|
1602 |
$allowed = true; ?>
|
1603 |
|
1604 |
<tr>
|
1605 |
-
<td id="<?php echo $type; ?>"><?php echo $label; ?></td>
|
1606 |
-
<td><code><?php echo $mime; ?></code><input type="hidden" class="wpuxss-eml-mime" name="wpuxss_eml_mimes[<?php echo $type; ?>][mime]" value="<?php echo $wpuxss_eml_mimes[$type]['mime']; ?>" /></td>
|
1607 |
-
<td><input type="text" name="wpuxss_eml_mimes[<?php echo $type; ?>][singular]" value="<?php echo esc_html($wpuxss_eml_mimes[$type]['singular']); ?>" /></td>
|
1608 |
-
<td><input type="text" name="wpuxss_eml_mimes[<?php echo $type; ?>][plural]" value="<?php echo esc_html($wpuxss_eml_mimes[$type]['plural']); ?>" /></td>
|
1609 |
-
<td class="checkbox_td"><input type="checkbox" name="wpuxss_eml_mimes[<?php echo $type; ?>][filter]" title="<?php _e('Add Filter','enhanced-media-library'); ?>" value="1" <?php checked(
|
1610 |
-
<td class="checkbox_td"><input type="checkbox" name="wpuxss_eml_mimes[<?php echo $type; ?>][upload]" title="<?php _e('Allow Upload','enhanced-media-library'); ?>" value="1" <?php checked(true, $allowed); ?> /></td>
|
1611 |
<td><a class="wpuxss-eml-button-remove" title="<?php _e('Delete MIME Type','enhanced-media-library'); ?>" href="javascript:;">–</a></td>
|
1612 |
</tr>
|
1613 |
|
@@ -1668,7 +2290,7 @@ if ( ! function_exists( 'wpuxss_eml_print_mimetypes_buttons' ) ) {
|
|
1668 |
function wpuxss_eml_print_mimetypes_buttons() { ?>
|
1669 |
|
1670 |
<p class="submit">
|
1671 |
-
<?php submit_button( __( 'Save Changes'
|
1672 |
|
1673 |
<input type="button" name="eml-restore-mime-types-settings" id="eml-restore-mime-types-settings" class="button" value="<?php _e('Restore WordPress default MIME Types','enhanced-media-library'); ?>">
|
1674 |
</p>
|
@@ -1699,24 +2321,24 @@ if ( ! function_exists( 'wpuxss_eml_print_credits' ) ) {
|
|
1699 |
<div class="inside">
|
1700 |
|
1701 |
<h4><?php _e( 'Changelog', 'enhanced-media-library' ); ?></h4>
|
1702 |
-
<p><?php _e( 'What\'s new in', 'enhanced-media-library' ); ?> <a href="
|
1703 |
|
1704 |
<h4>Enhanced Media Library PRO</h4>
|
1705 |
-
<p><?php _e( 'More features under the hood', 'enhanced-media-library' ); ?> <a href="
|
1706 |
|
1707 |
<h4><?php _e( 'Support', 'enhanced-media-library' ); ?></h4>
|
1708 |
-
<p><?php _e( 'Feel free to ask for help on', 'enhanced-media-library' ); ?> <a href="
|
1709 |
|
1710 |
<h4><?php _e( 'Plugin rating', 'enhanced-media-library' ); ?> <span class="dashicons dashicons-thumbs-up"></span></h4>
|
1711 |
-
<p><?php _e( 'Please', 'enhanced-media-library' ); ?> <a href="
|
1712 |
|
1713 |
<h4><?php _e( 'Other plugins you may find useful', 'enhanced-media-library' ); ?></h4>
|
1714 |
<ul>
|
1715 |
-
<li><a href="
|
1716 |
</ul>
|
1717 |
|
1718 |
<div class="author">
|
1719 |
-
<span><a href="
|
1720 |
</div>
|
1721 |
|
1722 |
</div>
|
@@ -1739,20 +2361,23 @@ if ( ! function_exists( 'wpuxss_eml_print_credits' ) ) {
|
|
1739 |
*/
|
1740 |
|
1741 |
add_filter( 'plugin_action_links_' . wpuxss_get_eml_basename(), 'wpuxss_eml_settings_link' );
|
|
|
1742 |
|
1743 |
if ( ! function_exists( 'wpuxss_eml_settings_link' ) ) {
|
1744 |
|
1745 |
function wpuxss_eml_settings_link( $links ) {
|
1746 |
|
1747 |
-
|
1748 |
-
|
1749 |
-
|
1750 |
-
),
|
1751 |
-
array(
|
1752 |
-
'utility' => '<a href="' . admin_url('options-general.php?page=eml-settings') . '">' . __( 'Utility', 'enhanced-media-library' ) . '</a>'
|
1753 |
-
),
|
1754 |
-
$links
|
1755 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
1756 |
}
|
1757 |
}
|
1758 |
|
32 |
'wpuxss_eml_taxonomies_validate' //sanitize_callback
|
33 |
);
|
34 |
|
35 |
+
// plugin settings: taxonomies options
|
36 |
register_setting(
|
37 |
'media-taxonomies', //option_group
|
38 |
'wpuxss_eml_tax_options', //option_name
|
46 |
'wpuxss_eml_mimes_validate' //sanitize_callback
|
47 |
);
|
48 |
|
49 |
+
// plugin settings: network settings
|
50 |
+
// no validation callback here
|
51 |
+
// called explicitly in wpuxss_eml_update_network_settings
|
52 |
+
register_setting(
|
53 |
+
'eml-network-settings', //option_group
|
54 |
+
'wpuxss_eml_network_options' //option_name
|
55 |
+
);
|
56 |
+
|
57 |
// plugin settings: mime types backup
|
58 |
register_setting(
|
59 |
'wpuxss_eml_mimes_backup', //option_group
|
71 |
|
72 |
|
73 |
/**
|
74 |
+
* wpuxss_eml_admin_media_menu
|
75 |
*
|
76 |
+
* @since 2.6
|
77 |
+
* @created 28/04/18
|
78 |
*/
|
79 |
|
80 |
+
add_action( 'admin_menu', 'wpuxss_eml_admin_media_menu' );
|
|
|
|
|
81 |
|
82 |
+
if ( ! function_exists( 'wpuxss_eml_admin_media_menu' ) ) {
|
83 |
|
84 |
+
function wpuxss_eml_admin_media_menu() {
|
85 |
|
86 |
+
if ( is_multisite() ) {
|
87 |
|
88 |
+
$wpuxss_eml_network_options = get_site_option( 'wpuxss_eml_network_options', array() );
|
|
|
|
|
89 |
|
90 |
+
if ( ! current_user_can( 'manage_network_options' ) && ! (bool) $wpuxss_eml_network_options['media_settings'] )
|
91 |
+
return;
|
|
|
|
|
|
|
|
|
|
|
92 |
}
|
93 |
|
94 |
|
102 |
);
|
103 |
|
104 |
$eml_medialibrary_options_page = add_submenu_page(
|
105 |
+
'options-general.php',
|
106 |
+
__('Media Library','enhanced-media-library'),
|
107 |
__('Media Library','enhanced-media-library'),
|
|
|
108 |
'manage_options',
|
109 |
'media-library',
|
110 |
'wpuxss_eml_print_media_library_options'
|
111 |
);
|
112 |
|
113 |
$eml_taxonomies_options_page = add_submenu_page(
|
114 |
+
'options-general.php',
|
115 |
__('Taxonomies','enhanced-media-library'),
|
116 |
+
__('Media Taxonomies','enhanced-media-library'),
|
117 |
'manage_options',
|
118 |
'media-taxonomies',
|
119 |
'wpuxss_eml_print_taxonomies_options'
|
120 |
);
|
121 |
|
122 |
$eml_mimetype_options_page = add_submenu_page(
|
123 |
+
'options-general.php',
|
124 |
+
__('MIME Types','enhanced-media-library'),
|
125 |
__('MIME Types','enhanced-media-library'),
|
|
|
126 |
'manage_options',
|
127 |
'mime-types',
|
128 |
'wpuxss_eml_print_mimetypes_options'
|
129 |
);
|
130 |
|
131 |
+
|
132 |
+
add_filter( 'custom_menu_order', 'wpuxss_eml_submenu_order' );
|
133 |
+
add_filter( 'admin_title', 'wpuxss_eml_admin_title_for_media_options_sub_pages', 10, 2 );
|
134 |
+
|
135 |
+
add_action( 'load-' . $eml_media_options_page, 'wpuxss_eml_load_media_options_page' );
|
136 |
+
add_action( $eml_media_options_page, 'wpuxss_eml_media_options_page' );
|
137 |
+
|
138 |
+
add_action('admin_print_scripts-' . $eml_medialibrary_options_page, 'wpuxss_eml_medialibrary_options_page_scripts');
|
139 |
+
add_action('admin_print_scripts-' . $eml_taxonomies_options_page, 'wpuxss_eml_taxonomies_options_page_scripts');
|
140 |
+
add_action('admin_print_scripts-' . $eml_mimetype_options_page, 'wpuxss_eml_mimetype_options_page_scripts');
|
141 |
+
}
|
142 |
+
}
|
143 |
+
|
144 |
+
|
145 |
+
|
146 |
+
/**
|
147 |
+
* wpuxss_eml_admin_utility_menu
|
148 |
+
*
|
149 |
+
* @since 2.6
|
150 |
+
* @created 28/04/18
|
151 |
+
*/
|
152 |
+
|
153 |
+
add_action( 'admin_menu', 'wpuxss_eml_admin_utility_menu' );
|
154 |
+
|
155 |
+
if ( ! function_exists( 'wpuxss_eml_admin_utility_menu' ) ) {
|
156 |
+
|
157 |
+
function wpuxss_eml_admin_utility_menu() {
|
158 |
+
|
159 |
+
if ( is_multisite() ) {
|
160 |
+
|
161 |
+
$wpuxss_eml_network_options = get_site_option( 'wpuxss_eml_network_options', array() );
|
162 |
+
|
163 |
+
if ( ! current_user_can( 'manage_network_options' ) && ! (bool) $wpuxss_eml_network_options['utilities'] )
|
164 |
+
return;
|
165 |
+
}
|
166 |
+
|
167 |
|
168 |
$eml_options_page = add_options_page(
|
169 |
+
__('Enhanced Media Library','enhanced-media-library'),
|
170 |
+
__('Enhanced Media Library','enhanced-media-library'),
|
171 |
+
'manage_options',
|
172 |
+
'eml-settings',
|
173 |
+
'wpuxss_eml_print_settings'
|
174 |
+
);
|
175 |
+
|
176 |
+
add_action('admin_print_scripts-' . $eml_options_page, 'wpuxss_eml_options_page_scripts');
|
177 |
+
}
|
178 |
+
}
|
179 |
+
|
180 |
+
|
181 |
+
|
182 |
+
/**
|
183 |
+
* wpuxss_eml_network_admin_menu
|
184 |
+
*
|
185 |
+
* @since 2.6
|
186 |
+
* @created 22/04/18
|
187 |
+
*/
|
188 |
+
|
189 |
+
add_action( 'network_admin_menu', 'wpuxss_eml_network_admin_menu' );
|
190 |
+
|
191 |
+
if ( ! function_exists( 'wpuxss_eml_network_admin_menu' ) ) {
|
192 |
+
|
193 |
+
function wpuxss_eml_network_admin_menu() {
|
194 |
+
|
195 |
+
$eml_network_options_page = add_submenu_page(
|
196 |
+
'settings.php',
|
197 |
__('Enhanced Media Library','enhanced-media-library'),
|
198 |
__('Enhanced Media Library','enhanced-media-library'),
|
199 |
'manage_options',
|
200 |
'eml-settings',
|
201 |
+
'wpuxss_eml_print_network_settings'
|
202 |
);
|
203 |
|
204 |
+
add_action('admin_print_scripts-' . $eml_network_options_page, 'wpuxss_eml_options_page_scripts');
|
205 |
+
}
|
206 |
+
}
|
207 |
|
|
|
|
|
208 |
|
|
|
|
|
|
|
209 |
|
210 |
+
/**
|
211 |
+
* wpuxss_eml_submenu_order
|
212 |
+
*
|
213 |
+
* Custom admin media menu.
|
214 |
+
*
|
215 |
+
* @since 2.6
|
216 |
+
* @created 04/03/18
|
217 |
+
*/
|
218 |
+
|
219 |
+
if ( ! function_exists( 'wpuxss_eml_submenu_order' ) ) {
|
220 |
+
|
221 |
+
function wpuxss_eml_submenu_order( $menu_order ) {
|
222 |
+
|
223 |
+
global $submenu;
|
224 |
+
|
225 |
+
|
226 |
+
$media_key = 0;
|
227 |
+
$page = isset( $_GET['page'] ) && in_array( $_GET['page'], array('media','media-library','media-taxonomies','mime-types') ) ? $_GET['page'] : '';
|
228 |
+
|
229 |
+
|
230 |
+
if ( isset( $submenu['options-general.php'] ) ) {
|
231 |
+
|
232 |
+
foreach( $submenu['options-general.php'] as $key => $item ) {
|
233 |
+
|
234 |
+
if ( 'options-media.php' === $item[2] ) {
|
235 |
+
|
236 |
+
$media_key = $key;
|
237 |
+
$submenu['options-general.php'][$key][2] = 'options-general.php?page=media';
|
238 |
+
$submenu['options-general.php'][$key][4] = ( 'media' === $page ) ? 'eml-menu-media current' : 'eml-menu-media';
|
239 |
+
}
|
240 |
+
|
241 |
+
if ( in_array( $item[2], array('media-library','media-taxonomies','mime-types') ) ) {
|
242 |
+
|
243 |
+
$item[4] = ( $item[2] === $page ) ? 'eml-media-submenu current' : 'eml-media-submenu';
|
244 |
+
$submenu['options-general.php'][++$media_key] = $item;
|
245 |
+
unset( $submenu['options-general.php'][$key] );
|
246 |
+
}
|
247 |
+
}
|
248 |
+
|
249 |
+
ksort( $submenu['options-general.php'] );
|
250 |
+
}
|
251 |
+
|
252 |
+
return $menu_order;
|
253 |
}
|
254 |
}
|
255 |
|
300 |
|
301 |
$hook_suffix = 'options-media.php';
|
302 |
|
303 |
+
$admin_body_class .= preg_replace('/[^a-z0-9_\-]+/i', '-', $hook_suffix);
|
304 |
|
305 |
return $admin_body_class;
|
306 |
}
|
328 |
|
329 |
|
330 |
/**
|
331 |
+
* wpuxss_eml_admin_title_for_media_options_sub_pages
|
332 |
*
|
333 |
+
* @since 2.6
|
334 |
+
* @created 10/02/18
|
|
|
|
|
335 |
*/
|
336 |
|
337 |
+
if ( ! function_exists( 'wpuxss_eml_admin_title_for_media_options_sub_pages' ) ) {
|
338 |
|
339 |
+
function wpuxss_eml_admin_title_for_media_options_sub_pages( $admin_title, $title ) {
|
340 |
|
341 |
+
global $pagenow;
|
342 |
|
343 |
+
|
344 |
+
if ( 'options-general.php' !== $pagenow ) {
|
345 |
+
return $admin_title;
|
346 |
+
}
|
347 |
+
|
348 |
+
|
349 |
+
$page = isset( $_GET['page'] ) && in_array( $_GET['page'], array('media','media-library','media-taxonomies','mime-types') ) ? $_GET['page'] : '';
|
350 |
+
|
351 |
+
switch ( $page ) {
|
352 |
+
|
353 |
+
case 'media-library' :
|
354 |
+
$admin_title = __('Media Library Settings', 'enhanced-media-library') . $admin_title;
|
355 |
+
break;
|
356 |
+
|
357 |
+
case 'media-taxonomies' :
|
358 |
+
$admin_title = __('Media Taxonomies Settings', 'enhanced-media-library') . $admin_title;
|
359 |
+
break;
|
360 |
+
|
361 |
+
case 'mime-types' :
|
362 |
+
$admin_title = __('MIME Types Settings', 'enhanced-media-library') . $admin_title;
|
363 |
+
break;
|
364 |
+
}
|
365 |
+
|
366 |
+
return $admin_title;
|
367 |
}
|
368 |
}
|
369 |
|
370 |
|
371 |
|
372 |
/**
|
373 |
+
* wpuxss_eml_media_options_page
|
374 |
*
|
375 |
+
* Ensure compatibility with default options-media.php for third-parties
|
376 |
+
*
|
377 |
+
* @since 2.3.6
|
378 |
+
* @created 16/12/16
|
379 |
*/
|
380 |
|
381 |
+
if ( ! function_exists( 'wpuxss_eml_media_options_page' ) ) {
|
|
|
|
|
382 |
|
383 |
+
function wpuxss_eml_media_options_page() {
|
384 |
|
385 |
+
$hook_suffix = 'options-media.php';
|
|
|
|
|
386 |
|
387 |
+
do_action( $hook_suffix );
|
388 |
}
|
389 |
}
|
390 |
|
430 |
if ( ! current_user_can( 'manage_options' ) )
|
431 |
wp_die( __('You do not have sufficient permissions to access this page.','enhanced-media-library') );
|
432 |
|
433 |
+
if ( is_multisite() ) {
|
434 |
+
|
435 |
+
$wpuxss_eml_network_options = get_site_option( 'wpuxss_eml_network_options', array() );
|
436 |
+
|
437 |
+
if ( ! current_user_can( 'manage_network_options' ) && ! (bool) $wpuxss_eml_network_options['media_settings'] )
|
438 |
+
wp_die( __('You do not have sufficient permissions to access this page.','enhanced-media-library') );
|
439 |
+
}
|
440 |
+
|
441 |
|
442 |
$title = __('Media Settings');
|
443 |
?>
|
626 |
'tax_error_duplicate_text' => __( 'Taxonomy with the same name already exists. Please chose other one.', 'enhanced-media-library' ),
|
627 |
|
628 |
'tax_error_empty_fileds_title' => __( 'Empty Fields', 'enhanced-media-library' ),
|
629 |
+
'tax_error_wrong_taxname_title' => __( 'Wrong Taxonomy Name', 'enhanced-media-library' ),
|
630 |
+
'tax_error_wrong_slug_title' => __( 'Wrong Slug', 'enhanced-media-library' ),
|
631 |
+
|
632 |
'tax_error_empty_both' => __( 'Please choose Singular and Plural names for all new taxomonies.', 'enhanced-media-library' ),
|
633 |
'tax_error_empty_singular' => __( 'Please choose Singular name for all new taxomonies.', 'enhanced-media-library' ),
|
634 |
+
'tax_error_empty_plural' => __( 'Please choose Plural name for all new taxomonies.', 'enhanced-media-library' ),
|
635 |
+
|
636 |
+
'tax_error_empty_taxname' => __( 'Taxonomy Name cannot be empty. If it was not generated from the Singular name please enter it manually.', 'enhanced-media-library' ),
|
637 |
+
'tax_error_wrong_taxname' => __( 'Taxonomy Name should only contain lowercase Latin letters, the underscore character ( _ ), and be 3-32 characters long.', 'enhanced-media-library' ),
|
638 |
+
'tax_error_wrong_slug' => __( 'Slug should only contain lowercase Latin letters, numbers, underscore ( _ ) or hyphen ( - ) characters.', 'enhanced-media-library' ),
|
639 |
|
640 |
'okay' => __( 'Ok', 'enhanced-media-library' ),
|
641 |
'cancel' => __( 'Cancel', 'enhanced-media-library' ),
|
687 |
'mime_restoring_yes' => __( 'Restore Defaults', 'enhanced-media-library' ),
|
688 |
'in_progress_restoring_text' => __( 'Restoring...', 'enhanced-media-library' ),
|
689 |
|
690 |
+
'okay' => __( 'Ok', 'enhanced-media-library' ),
|
691 |
'cancel' => __( 'Cancel', 'enhanced-media-library' ),
|
692 |
|
693 |
+
'mime_error_cannot_save_title' => __( 'MIME Types cannot be saved', 'enhanced-media-library' ),
|
694 |
'mime_error_empty_fields' => __( 'Please fill into all fields.', 'enhanced-media-library' ),
|
695 |
'mime_error_duplicate' => __( 'Duplicate extensions or MIME types. Please choose other one.', 'enhanced-media-library' )
|
696 |
);
|
760 |
|
761 |
if ( ! current_user_can( 'manage_options' ) )
|
762 |
wp_die( __('You do not have sufficient permissions to access this page.','enhanced-media-library') );
|
|
|
763 |
|
|
|
764 |
|
765 |
+
if ( is_multisite() ) {
|
766 |
+
|
767 |
+
$wpuxss_eml_network_options = get_site_option( 'wpuxss_eml_network_options', array() );
|
768 |
+
|
769 |
+
if ( ! current_user_can( 'manage_network_options' ) && ! (bool) $wpuxss_eml_network_options['utilities'] )
|
770 |
+
wp_die( __('You do not have sufficient permissions to access this page.','enhanced-media-library') );
|
771 |
+
} ?>
|
772 |
+
|
773 |
+
|
774 |
+
<div id="wpuxss-eml-global-options-wrap" class="wrap eml-options">
|
775 |
+
|
776 |
+
<h2><?php _e( 'Enhanced Media Library Utilities', 'enhanced-media-library' ); ?></h2>
|
777 |
|
778 |
<div id="poststuff">
|
779 |
|
787 |
|
788 |
<div class="inside">
|
789 |
|
790 |
+
<ul>
|
791 |
+
<li><strong><?php _e( 'Plugin settings to export:', 'enhanced-media-library' ); ?></strong></li>
|
792 |
+
<li><?php _e( 'Settings > Media Library', 'enhanced-media-library' ); ?></li>
|
793 |
+
<li><?php _e( 'Settings > Media Taxonomies', 'enhanced-media-library' ); ?></li>
|
794 |
+
<li><?php _e( 'Settings > MIME Types', 'enhanced-media-library' ); ?></li>
|
795 |
+
</ul>
|
796 |
+
|
797 |
|
798 |
+
<p><?php _e( 'Use generated JSON file to import the configuration into another website.', 'enhanced-media-library' ); ?></p>
|
799 |
|
800 |
+
<form method="post">
|
801 |
+
<input type='hidden' name='eml-settings-export' />
|
802 |
<?php wp_nonce_field( 'eml_settings_export_nonce', 'eml-settings-export-nonce' ); ?>
|
803 |
+
<?php submit_button( __( 'Export Plugin Settings', 'enhanced-media-library' ), 'primary', 'eml-submit-settings-export', true ); ?>
|
804 |
</form>
|
805 |
|
806 |
</div>
|
814 |
|
815 |
<div class="inside">
|
816 |
|
817 |
+
<ul>
|
818 |
+
<li><strong><?php _e( 'Plugin settings to import:', 'enhanced-media-library' ); ?></strong></li>
|
819 |
+
<li><?php _e( 'Settings > Media Library', 'enhanced-media-library' ); ?></li>
|
820 |
+
<li><?php _e( 'Settings > Media Taxonomies', 'enhanced-media-library' ); ?></li>
|
821 |
+
<li><?php _e( 'Settings > MIME Types', 'enhanced-media-library' ); ?></li>
|
822 |
+
</ul>
|
823 |
+
|
824 |
+
<p><?php _e( 'Plugin settings will be imported from a configuration JSON file which can be obtained by exporting the settings on another website using the export button above.', 'enhanced-media-library' ); ?></p>
|
825 |
<p><?php _e( 'All plugin settings will be overridden by the import. You will have a chance to restore current data from an automatic backup in case you are not satisfied with the result of the import.', 'enhanced-media-library' ); ?></p>
|
826 |
|
827 |
<form method="post" enctype="multipart/form-data">
|
|
|
828 |
<p><input type="file" name="import_file"/></p>
|
829 |
+
<input type='hidden' name='eml-settings-import' />
|
830 |
<?php wp_nonce_field( 'eml_settings_import_nonce', 'eml-settings-import-nonce' ); ?>
|
831 |
+
<?php submit_button( __( 'Import Plugin Settings', 'enhanced-media-library' ), 'primary', 'eml-submit-settings-import' ); ?>
|
832 |
</form>
|
833 |
|
834 |
</div>
|
853 |
<?php else : ?>
|
854 |
|
855 |
<p><?php _e( 'The backup has been automatically created before the latest import operation.', 'enhanced-media-library' ); ?></p>
|
|
|
856 |
|
857 |
+
<ul>
|
858 |
+
<li><strong><?php _e( 'Plugin settings to restore:', 'enhanced-media-library' ); ?></strong></li>
|
859 |
+
<li><?php _e( 'Settings > Media Library', 'enhanced-media-library' ); ?></li>
|
860 |
+
<li><?php _e( 'Settings > Media Taxonomies', 'enhanced-media-library' ); ?></li>
|
861 |
+
<li><?php _e( 'Settings > MIME Types', 'enhanced-media-library' ); ?></li>
|
862 |
+
</ul>
|
863 |
+
|
864 |
+
<form method="post">
|
865 |
+
<input type='hidden' name='eml-settings-restore' />
|
866 |
<?php wp_nonce_field( 'eml_settings_restore_nonce', 'eml-settings-restore-nonce' ); ?>
|
867 |
+
<?php submit_button( __( 'Restore Settings from the Backup', 'enhanced-media-library' ), 'primary', 'eml-submit-settings-restore', true, array( 'id' => 'eml-submit-settings-restore' ) ); ?>
|
868 |
</form>
|
869 |
|
870 |
<?php endif; ?>
|
875 |
</div>
|
876 |
|
877 |
|
878 |
+
<?php if ( ! is_multisite() || is_network_admin() ) : ?>
|
879 |
+
|
880 |
+
|
881 |
+
<div class="postbox">
|
882 |
+
|
883 |
+
<h3 class="hndle"><?php _e( 'Complete Cleanup', 'enhanced-media-library' ); ?></h3>
|
884 |
+
|
885 |
+
<div class="inside">
|
886 |
+
|
887 |
+
<?php $wpuxss_eml_taxonomies = wpuxss_eml_get_eml_taxonomies(); ?>
|
888 |
+
|
889 |
+
<ul>
|
890 |
+
<li><strong><?php _e( 'What will be deleted:', 'enhanced-media-library' ); ?></strong></li>
|
891 |
+
<?php foreach( (array) $wpuxss_eml_taxonomies as $taxonomy => $params ) : ?>
|
892 |
+
<li><?php _e( 'All', 'enhanced-media-library' );
|
893 |
+
echo ' ' . esc_html( $params['labels']['name'] ); ?></li>
|
894 |
+
<?php endforeach; ?>
|
895 |
+
<li><?php _e( 'All plugin options', 'enhanced-media-library' ); ?></li>
|
896 |
+
<li><?php _e( 'All plugin backups stored in the database', 'enhanced-media-library' ); ?></li>
|
897 |
+
</ul>
|
898 |
+
|
899 |
+
<ul>
|
900 |
+
<li><strong><?php _e( 'What will remain intact:', 'enhanced-media-library' ); ?></strong></li>
|
901 |
+
<li><?php _e( 'All media items', 'enhanced-media-library' ); ?></li>
|
902 |
+
<li><?php _e( 'All taxonomies not listed above', 'enhanced-media-library' ); ?></li>
|
903 |
+
</ul>
|
904 |
+
|
905 |
+
<p><?php _e( 'The plugin cannot delete itself for security reasons. Please delete it manually from the plugin list after the cleanup is complete.', 'enhanced-media-library' ); ?></p>
|
906 |
+
|
907 |
+
<p><strong style="color:red;"><?php _e( 'If you are not sure about this operation it\'s HIGHLY RECOMMENDED to create a backup of your database prior to cleanup!', 'enhanced-media-library' ); ?></strong></p>
|
908 |
+
|
909 |
+
<form id="eml-form-cleanup" method="post">
|
910 |
+
<input type='hidden' name='eml-settings-cleanup' />
|
911 |
+
<?php wp_nonce_field( 'eml_settings_cleanup_nonce', 'eml-settings-cleanup-nonce' ); ?>
|
912 |
+
<?php submit_button( __( 'Delete All Data & Deactivate', 'enhanced-media-library' ), 'primary', 'eml-submit-settings-cleanup', true ); ?>
|
913 |
+
</form>
|
914 |
+
|
915 |
+
</div>
|
916 |
+
|
917 |
+
</div>
|
918 |
+
|
919 |
+
<?php do_action( 'wpuxss_eml_extend_settings_page' ); ?>
|
920 |
+
|
921 |
+
<?php endif; ?>
|
922 |
+
|
923 |
+
</div>
|
924 |
+
|
925 |
+
<div id="postbox-container-1" class="postbox-container">
|
926 |
+
|
927 |
+
<?php wpuxss_eml_print_credits(); ?>
|
928 |
+
|
929 |
+
</div>
|
930 |
+
|
931 |
+
</div>
|
932 |
+
|
933 |
+
</div>
|
934 |
+
|
935 |
+
</div>
|
936 |
+
|
937 |
+
<?php
|
938 |
+
}
|
939 |
+
}
|
940 |
+
|
941 |
+
|
942 |
+
|
943 |
+
/**
|
944 |
+
* wpuxss_eml_print_network_settings
|
945 |
+
*
|
946 |
+
* @since 2.6
|
947 |
+
* @created 22/04/18
|
948 |
+
*/
|
949 |
+
|
950 |
+
if ( ! function_exists( 'wpuxss_eml_print_network_settings' ) ) {
|
951 |
+
|
952 |
+
function wpuxss_eml_print_network_settings() {
|
953 |
+
|
954 |
+
if ( ! current_user_can( 'manage_network_options' ) )
|
955 |
+
wp_die( __('You do not have sufficient permissions to access this page.', 'enhanced-media-library') );
|
956 |
+
|
957 |
+
|
958 |
+
settings_errors();
|
959 |
+
|
960 |
+
$wpuxss_eml_network_options = get_site_option( 'wpuxss_eml_network_options', array() ); ?>
|
961 |
+
|
962 |
+
|
963 |
+
<div id="wpuxss-eml-global-options-wrap" class="wrap eml-options">
|
964 |
+
|
965 |
+
<h2><?php _e( 'Enhanced Media Library Utilities', 'enhanced-media-library' ); ?></h2>
|
966 |
+
|
967 |
+
<div id="poststuff">
|
968 |
+
|
969 |
+
<div id="post-body" class="metabox-holder columns-2">
|
970 |
+
|
971 |
+
<div id="postbox-container-2" class="postbox-container">
|
972 |
+
|
973 |
+
<div class="postbox">
|
974 |
+
|
975 |
+
<h3 class="hndle" id="eml-license-key-section"><?php _e('Network Settings','enhanced-media-library'); ?></h3>
|
976 |
+
|
977 |
+
|
978 |
+
<div class="inside">
|
979 |
+
|
980 |
+
<?php if ( ! is_plugin_active_for_network( wpuxss_get_eml_basename() ) ) : ?>
|
981 |
+
|
982 |
+
<p class="description"><?php _e( 'No settings available. The plugin is not network activated.', 'enhanced-media-library' ); ?></p>
|
983 |
+
|
984 |
+
<?php else : ?>
|
985 |
+
|
986 |
+
<form method="post">
|
987 |
+
|
988 |
+
<?php settings_fields( 'eml-network-settings' ); ?>
|
989 |
+
|
990 |
+
<table class="form-table">
|
991 |
+
|
992 |
+
<tr>
|
993 |
+
<th scope="row"><?php _e('Media Settings per site','enhanced-media-library'); ?></th>
|
994 |
+
<td>
|
995 |
+
<fieldset>
|
996 |
+
<legend class="screen-reader-text"><span><?php _e('Enable Media Settings','enhanced-media-library'); ?></span></legend>
|
997 |
+
<label><input name="wpuxss_eml_network_options[media_settings]" type="hidden" value="0" /><input name="wpuxss_eml_network_options[media_settings]" type="checkbox" value="1" <?php checked( true, (bool) $wpuxss_eml_network_options['media_settings'], true ); ?> /> <?php _e('Allow an individual site admin to edit enhanced Media Settings','enhanced-media-library'); ?></label>
|
998 |
+
<p class="description"><?php _e( 'Otherwise, only a network (super) admin can see the menu and edit media settings.', 'enhanced-media-library' ); ?></p>
|
999 |
+
</fieldset>
|
1000 |
+
</td>
|
1001 |
+
</tr>
|
1002 |
+
|
1003 |
+
<tr>
|
1004 |
+
<th scope="row"><?php _e('Plugin Utilities per site','enhanced-media-library'); ?></th>
|
1005 |
+
<td>
|
1006 |
+
<fieldset>
|
1007 |
+
<legend class="screen-reader-text"><span><?php _e('Enable plugin Utilities','enhanced-media-library'); ?></span></legend>
|
1008 |
+
<label><input name="wpuxss_eml_network_options[utilities]" type="hidden" value="0" /><input name="wpuxss_eml_network_options[utilities]" type="checkbox" value="1" <?php checked( true, (bool) $wpuxss_eml_network_options['utilities'], true ); ?> /> <?php _e('Allow an individual site admin to import / export / restore plugin settings and perform the complete cleanup for a specific site','enhanced-media-library'); ?></label>
|
1009 |
+
<p class="description"><?php _e( 'Otherwise, only a network (super) admin can see the menu and perform those actions.', 'enhanced-media-library' ); ?></p>
|
1010 |
+
</fieldset>
|
1011 |
+
</td>
|
1012 |
+
</tr>
|
1013 |
+
|
1014 |
+
</table>
|
1015 |
+
|
1016 |
+
<?php submit_button( __( 'Save Changes' ), 'primary', 'submit', true, array( 'id' => 'eml-submit-network-settings' ) ); ?>
|
1017 |
+
|
1018 |
+
</form>
|
1019 |
+
|
1020 |
+
<?php endif; ?>
|
1021 |
+
</div>
|
1022 |
+
</div>
|
1023 |
+
|
1024 |
<div class="postbox">
|
1025 |
|
1026 |
<h3 class="hndle"><?php _e( 'Complete Cleanup', 'enhanced-media-library' ); ?></h3>
|
1027 |
|
1028 |
<div class="inside">
|
1029 |
|
1030 |
+
<?php $sites = get_sites();
|
1031 |
+
$wpuxss_eml_taxonomies = array();
|
1032 |
+
|
1033 |
+
foreach( $sites as $site ) :
|
1034 |
+
|
1035 |
+
switch_to_blog( $site->blog_id );
|
1036 |
+
$wpuxss_eml_taxonomies = array_merge( $wpuxss_eml_taxonomies, wpuxss_eml_get_eml_taxonomies() );
|
1037 |
+
|
1038 |
+
restore_current_blog();
|
1039 |
+
|
1040 |
+
endforeach; ?>
|
1041 |
+
|
1042 |
|
1043 |
<ul>
|
1044 |
<li><strong><?php _e( 'What will be deleted:', 'enhanced-media-library' ); ?></strong></li>
|
1045 |
<?php foreach( (array) $wpuxss_eml_taxonomies as $taxonomy => $params ) : ?>
|
1046 |
<li><?php _e( 'All', 'enhanced-media-library' );
|
1047 |
+
echo ' ' . esc_html( $params['labels']['name'] ); ?></li>
|
1048 |
<?php endforeach; ?>
|
1049 |
+
<li><?php _e( 'All plugin options on every site', 'enhanced-media-library' ); ?></li>
|
1050 |
+
<li><?php _e( 'Network settings', 'enhanced-media-library' ); ?></li>
|
1051 |
+
<li><?php _e( 'All plugin backups stored in the database', 'enhanced-media-library' ); ?></li>
|
1052 |
</ul>
|
1053 |
|
1054 |
<ul>
|
1057 |
<li><?php _e( 'All taxonomies not listed above', 'enhanced-media-library' ); ?></li>
|
1058 |
</ul>
|
1059 |
|
1060 |
+
<p><?php _e( 'The plugin cannot delete itself for security reasons. Please delete it manually from the plugin list after the cleanup is complete.', 'enhanced-media-library' ); ?></p>
|
1061 |
|
1062 |
+
<p><strong style="color:red;"><?php _e( 'If you are not sure about this operation it\'s HIGHLY RECOMMENDED to create a backup of your database prior to cleanup!', 'enhanced-media-library' ); ?></strong></p>
|
1063 |
|
1064 |
<form id="eml-form-cleanup" method="post">
|
|
|
1065 |
<input type='hidden' name='eml-settings-cleanup' />
|
1066 |
<?php wp_nonce_field( 'eml_settings_cleanup_nonce', 'eml-settings-cleanup-nonce' ); ?>
|
1067 |
+
<?php submit_button( __( 'Delete All Data & Network Deactivate', 'enhanced-media-library' ), 'primary', 'eml-submit-settings-cleanup', true ); ?>
|
1068 |
</form>
|
1069 |
|
1070 |
</div>
|
1071 |
|
1072 |
</div>
|
1073 |
|
|
|
1074 |
<?php do_action( 'wpuxss_eml_extend_settings_page' ); ?>
|
1075 |
|
1076 |
</div>
|
1087 |
|
1088 |
</div>
|
1089 |
|
1090 |
+
<?php
|
1091 |
+
}
|
1092 |
+
}
|
1093 |
+
|
1094 |
+
|
1095 |
+
|
1096 |
+
/**
|
1097 |
+
* wpuxss_eml_update_network_settings
|
1098 |
+
*
|
1099 |
+
* @since 2.6
|
1100 |
+
* @created 28/04/18
|
1101 |
+
*/
|
1102 |
+
|
1103 |
+
add_action( 'network_admin_menu', 'wpuxss_eml_update_network_settings' );
|
1104 |
+
|
1105 |
+
if ( ! function_exists( 'wpuxss_eml_update_network_settings' ) ) {
|
1106 |
+
|
1107 |
+
function wpuxss_eml_update_network_settings() {
|
1108 |
+
|
1109 |
+
if ( ! isset($_POST['submit']) )
|
1110 |
+
return;
|
1111 |
+
|
1112 |
+
check_admin_referer( 'eml-network-settings-options' );
|
1113 |
+
|
1114 |
+
if ( ! current_user_can( 'manage_network_options' ) )
|
1115 |
+
return;
|
1116 |
+
|
1117 |
+
|
1118 |
+
$wpuxss_eml_network_options = isset( $_POST['wpuxss_eml_network_options'] ) ? $_POST['wpuxss_eml_network_options'] : array();
|
1119 |
+
|
1120 |
+
$wpuxss_eml_network_options = wpuxss_eml_tax_options_validate( $wpuxss_eml_network_options );
|
1121 |
+
|
1122 |
+
update_site_option( 'wpuxss_eml_network_options', $wpuxss_eml_network_options );
|
1123 |
+
|
1124 |
+
add_settings_error(
|
1125 |
+
'eml-network-settings',
|
1126 |
+
'eml_network_settings_saved',
|
1127 |
+
__('Network settings saved.', 'enhanced-media-library'),
|
1128 |
+
'updated'
|
1129 |
+
);
|
1130 |
}
|
1131 |
}
|
1132 |
|
1154 |
if ( ! current_user_can( 'manage_options' ) )
|
1155 |
return;
|
1156 |
|
1157 |
+
if ( is_multisite() ) {
|
1158 |
+
|
1159 |
+
$wpuxss_eml_network_options = get_site_option( 'wpuxss_eml_network_options', array() );
|
1160 |
+
|
1161 |
+
if ( ! current_user_can( 'manage_network_options' ) && ! (bool) $wpuxss_eml_network_options['utilities'] )
|
1162 |
+
return;
|
1163 |
+
}
|
1164 |
+
|
1165 |
|
1166 |
$settings = wpuxss_eml_get_settings();
|
1167 |
|
1202 |
if ( ! current_user_can( 'manage_options' ) )
|
1203 |
return;
|
1204 |
|
1205 |
+
if ( is_multisite() ) {
|
1206 |
+
|
1207 |
+
$wpuxss_eml_network_options = get_site_option( 'wpuxss_eml_network_options', array() );
|
1208 |
+
|
1209 |
+
if ( ! current_user_can( 'manage_network_options' ) && ! (bool) $wpuxss_eml_network_options['utilities'] )
|
1210 |
+
return;
|
1211 |
+
}
|
1212 |
+
|
1213 |
|
1214 |
$import_file = $_FILES['import_file'];
|
1215 |
|
1218 |
add_settings_error(
|
1219 |
'eml-settings',
|
1220 |
'eml_settings_file_absent',
|
1221 |
+
__('Settings cannot be imported. Please upload a file to import settings.', 'enhanced-media-library'),
|
1222 |
'error'
|
1223 |
);
|
1224 |
|
1234 |
$json_data = file_get_contents( $import_file['tmp_name'] );
|
1235 |
$settings = json_decode( $json_data, true );
|
1236 |
|
1237 |
+
if ( empty( $settings ) ) {
|
1238 |
+
|
1239 |
+
add_settings_error(
|
1240 |
+
'eml-settings',
|
1241 |
+
'eml_settings_wrong_format',
|
1242 |
+
__('Settings cannot be imported. Please upload a correct JSON file to import settings.', 'enhanced-media-library'),
|
1243 |
+
'error'
|
1244 |
+
);
|
1245 |
+
|
1246 |
+
return;
|
1247 |
+
}
|
1248 |
+
|
1249 |
+
|
1250 |
update_option( 'wpuxss_eml_taxonomies', $settings['taxonomies'] );
|
1251 |
update_option( 'wpuxss_eml_lib_options', $settings['lib_options'] );
|
1252 |
update_option( 'wpuxss_eml_tax_options', $settings['tax_options'] );
|
1287 |
if ( ! current_user_can( 'manage_options' ) )
|
1288 |
return;
|
1289 |
|
1290 |
+
if ( is_multisite() ) {
|
1291 |
+
|
1292 |
+
$wpuxss_eml_network_options = get_site_option( 'wpuxss_eml_network_options', array() );
|
1293 |
+
|
1294 |
+
if ( ! current_user_can( 'manage_network_options' ) && ! (bool) $wpuxss_eml_network_options['utilities'] )
|
1295 |
+
return;
|
1296 |
+
}
|
1297 |
+
|
1298 |
|
1299 |
$wpuxss_eml_backup = get_option( 'wpuxss_eml_backup' );
|
1300 |
|
1331 |
|
1332 |
function wpuxss_eml_settings_cleanup() {
|
1333 |
|
|
|
|
|
|
|
1334 |
if ( ! isset( $_POST['eml-settings-cleanup'] ) )
|
1335 |
return;
|
1336 |
|
1340 |
if ( ! current_user_can( 'manage_options' ) )
|
1341 |
return;
|
1342 |
|
1343 |
+
if ( is_multisite() ) {
|
1344 |
+
|
1345 |
+
$wpuxss_eml_network_options = get_site_option( 'wpuxss_eml_network_options', array() );
|
1346 |
+
|
1347 |
+
if ( ! current_user_can( 'manage_network_options' ) && ! (bool) $wpuxss_eml_network_options['utilities'] )
|
1348 |
+
return;
|
1349 |
+
}
|
1350 |
+
|
1351 |
+
|
1352 |
+
if ( is_multisite() ) {
|
1353 |
+
|
1354 |
+
foreach( get_sites() as $site ) {
|
1355 |
+
|
1356 |
+
switch_to_blog( $site->blog_id );
|
1357 |
+
|
1358 |
+
wpuxss_eml_term_relationship_cleanup();
|
1359 |
+
wpuxss_eml_options_cleanup();
|
1360 |
+
wpuxss_eml_transients_cleanup();
|
1361 |
+
|
1362 |
+
restore_current_blog();
|
1363 |
+
}
|
1364 |
+
|
1365 |
+
wpuxss_eml_common_options_cleanup();
|
1366 |
+
}
|
1367 |
+
else {
|
1368 |
+
|
1369 |
+
wpuxss_eml_term_relationship_cleanup();
|
1370 |
+
wpuxss_eml_options_cleanup();
|
1371 |
+
wpuxss_eml_common_options_cleanup();
|
1372 |
+
wpuxss_eml_transients_cleanup();
|
1373 |
+
}
|
1374 |
+
|
1375 |
+
|
1376 |
+
deactivate_plugins( wpuxss_get_eml_basename(), false, is_multisite() );
|
1377 |
+
|
1378 |
+
|
1379 |
+
wp_safe_redirect( self_admin_url( 'plugins.php' ) );
|
1380 |
+
exit;
|
1381 |
+
}
|
1382 |
+
}
|
1383 |
+
|
1384 |
+
|
1385 |
+
|
1386 |
+
/**
|
1387 |
+
* wpuxss_eml_term_relationship_cleanup
|
1388 |
+
*
|
1389 |
+
* @since 2.6
|
1390 |
+
* @created 28/04/18
|
1391 |
+
*/
|
1392 |
+
|
1393 |
+
if ( ! function_exists( 'wpuxss_eml_term_relationship_cleanup' ) ) {
|
1394 |
+
|
1395 |
+
function wpuxss_eml_term_relationship_cleanup() {
|
1396 |
+
|
1397 |
+
global $wpdb;
|
1398 |
+
|
1399 |
|
1400 |
foreach ( get_option( 'wpuxss_eml_taxonomies', array() ) as $taxonomy => $params ) {
|
1401 |
|
1455 |
}
|
1456 |
}
|
1457 |
}
|
1458 |
+
}
|
1459 |
+
}
|
1460 |
+
|
1461 |
|
1462 |
|
1463 |
+
/**
|
1464 |
+
* wpuxss_eml_options_cleanup
|
1465 |
+
*
|
1466 |
+
* @since 2.6
|
1467 |
+
* @created 28/04/18
|
1468 |
+
*/
|
1469 |
+
|
1470 |
+
if ( ! function_exists( 'wpuxss_eml_options_cleanup' ) ) {
|
1471 |
+
|
1472 |
+
function wpuxss_eml_options_cleanup() {
|
1473 |
+
|
1474 |
$options = array(
|
|
|
1475 |
'wpuxss_eml_taxonomies',
|
1476 |
'wpuxss_eml_lib_options',
|
1477 |
'wpuxss_eml_tax_options',
|
1485 |
foreach ( $options as $option ) {
|
1486 |
delete_option( $option );
|
1487 |
}
|
1488 |
+
}
|
1489 |
+
}
|
1490 |
+
|
1491 |
+
|
1492 |
+
|
1493 |
+
/**
|
1494 |
+
* wpuxss_eml_common_options_cleanup
|
1495 |
+
*
|
1496 |
+
* @since 2.6
|
1497 |
+
* @created 28/04/18
|
1498 |
+
*/
|
1499 |
+
|
1500 |
+
if ( ! function_exists( 'wpuxss_eml_common_options_cleanup' ) ) {
|
1501 |
|
1502 |
+
function wpuxss_eml_common_options_cleanup() {
|
1503 |
+
|
1504 |
+
$options = array(
|
1505 |
+
'wpuxss_eml_version'
|
1506 |
+
);
|
1507 |
+
|
1508 |
+
if ( is_multisite() ) {
|
1509 |
+
$options[] = 'wpuxss_eml_network_options';
|
1510 |
+
}
|
1511 |
+
|
1512 |
+
$options = apply_filters( 'wpuxss_eml_pro_add_common_options', $options );
|
1513 |
+
|
1514 |
+
foreach ( $options as $option ) {
|
1515 |
+
delete_site_option( $option );
|
1516 |
+
}
|
1517 |
+
}
|
1518 |
+
}
|
1519 |
+
|
1520 |
+
|
1521 |
+
|
1522 |
+
/**
|
1523 |
+
* wpuxss_eml_transients_cleanup
|
1524 |
+
*
|
1525 |
+
* @since 2.6
|
1526 |
+
* @created 28/04/18
|
1527 |
+
*/
|
1528 |
+
|
1529 |
+
if ( ! function_exists( 'wpuxss_eml_transients_cleanup' ) ) {
|
1530 |
+
|
1531 |
+
function wpuxss_eml_transients_cleanup() {
|
1532 |
|
1533 |
$transients = array();
|
1534 |
|
1537 |
foreach ( $transients as $transient ) {
|
1538 |
delete_site_transient( $transient );
|
1539 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
1540 |
}
|
1541 |
}
|
1542 |
|
1588 |
if ( ! current_user_can( 'manage_options' ) )
|
1589 |
wp_die( __( 'You do not have sufficient permissions to access this page.', 'enhanced-media-library' ) );
|
1590 |
|
1591 |
+
if ( is_multisite() ) {
|
1592 |
+
|
1593 |
+
$wpuxss_eml_network_options = get_site_option( 'wpuxss_eml_network_options', array() );
|
1594 |
+
|
1595 |
+
if ( ! current_user_can( 'manage_network_options' ) && ! (bool) $wpuxss_eml_network_options['media_settings'] )
|
1596 |
+
wp_die( __('You do not have sufficient permissions to access this page.','enhanced-media-library') );
|
1597 |
+
}
|
1598 |
+
|
1599 |
|
1600 |
$wpuxss_eml_lib_options = get_option( 'wpuxss_eml_lib_options' );
|
1601 |
$title = __('Media Settings'); ?>
|
1602 |
|
1603 |
|
1604 |
+
<div id="wpuxss-eml-media-library-options-wrap" class="wrap eml-options">
|
1605 |
|
1606 |
<h1><?php echo esc_html( $title ); ?></h1>
|
1607 |
|
1617 |
|
1618 |
<?php settings_fields( 'media-library' ); ?>
|
1619 |
|
1620 |
+
|
1621 |
+
<h2><?php _e('Filters','enhanced-media-library'); ?></h2>
|
1622 |
+
|
1623 |
<div class="postbox">
|
1624 |
|
1625 |
+
<div class="inside">
|
1626 |
+
|
1627 |
+
<table class="form-table">
|
1628 |
+
|
1629 |
+
<tr>
|
1630 |
+
<th scope="row"><?php _e('Force filters','enhanced-media-library'); ?></th>
|
1631 |
+
<td>
|
1632 |
+
<fieldset>
|
1633 |
+
<legend class="screen-reader-text"><span><?php _e('Force filters','enhanced-media-library'); ?></span></legend>
|
1634 |
+
<label><input name="wpuxss_eml_lib_options[force_filters]" type="hidden" value="0" /><input name="wpuxss_eml_lib_options[force_filters]" type="checkbox" value="1" <?php checked( true, (bool) $wpuxss_eml_lib_options['force_filters'], true ); ?> /> <?php _e('Show media filters for ANY Media Popup','enhanced-media-library'); ?></label>
|
1635 |
+
<p class="description"><?php _e( 'Try this if filters are not shown for third-party plugins or themes.', 'enhanced-media-library' ); ?></p>
|
1636 |
+
</fieldset>
|
1637 |
+
</td>
|
1638 |
+
</tr>
|
1639 |
+
|
1640 |
+
<tr>
|
1641 |
+
<th scope="row"><?php _e('Filters to show', 'enhanced-media-library'); ?></th>
|
1642 |
+
<td>
|
1643 |
+
<fieldset>
|
1644 |
+
<legend class="screen-reader-text"><span><?php _e('Filters to show', 'enhanced-media-library'); ?></span></legend>
|
1645 |
+
<label><input name="wpuxss_eml_lib_options[filters_to_show][]" type="hidden" value="none" /><input name="wpuxss_eml_lib_options[filters_to_show][]" type="checkbox" value="types" <?php echo in_array('types', $wpuxss_eml_lib_options['filters_to_show']) ? 'checked' : ''; ?> /> <?php _e('Types','enhanced-media-library'); ?>
|
1646 |
+
<em>(<?php _e( 'Can be disabled for Grid Mode only', 'enhanced-media-library' ); ?>)</em></label><br />
|
1647 |
+
<label><input name="wpuxss_eml_lib_options[filters_to_show][]" type="checkbox" value="dates" <?php echo in_array('dates', $wpuxss_eml_lib_options['filters_to_show']) ? 'checked' : ''; ?> /> <?php _e('Dates','enhanced-media-library'); ?></label><br />
|
1648 |
+
<label><input name="wpuxss_eml_lib_options[filters_to_show][]" type="checkbox" value="authors" <?php echo in_array('authors', $wpuxss_eml_lib_options['filters_to_show']) ? 'checked' : ''; ?> /> <?php _e('Authors','enhanced-media-library'); ?></label><br />
|
1649 |
+
<label><input name="wpuxss_eml_lib_options[filters_to_show][]" type="checkbox" value="taxonomies" <?php echo in_array('taxonomies', $wpuxss_eml_lib_options['filters_to_show']) ? 'checked' : ''; ?> /> <?php _e('Media Taxonomies','enhanced-media-library'); ?></label>
|
1650 |
+
</fieldset>
|
1651 |
+
</td>
|
1652 |
+
</tr>
|
1653 |
+
|
1654 |
+
<tr>
|
1655 |
+
<th scope="row"><?php _e('Show count','enhanced-media-library'); ?></th>
|
1656 |
+
<td>
|
1657 |
+
<fieldset>
|
1658 |
+
<legend class="screen-reader-text"><span><?php _e('Show count','enhanced-media-library'); ?></span></legend>
|
1659 |
+
<label><input name="wpuxss_eml_lib_options[show_count]" type="hidden" value="0" /><input name="wpuxss_eml_lib_options[show_count]" type="checkbox" value="1" <?php checked( true, (bool) $wpuxss_eml_lib_options['show_count'], true ); ?> /> <?php _e('Show item count per category for media filters','enhanced-media-library'); ?></label>
|
1660 |
+
<p class="description"><?php _e( 'Disable this if it slows down your site admin. The problem is resolved in the upcoming major update v3.0', 'enhanced-media-library' ); ?></p>
|
1661 |
+
</fieldset>
|
1662 |
+
</td>
|
1663 |
+
</tr>
|
1664 |
+
|
1665 |
+
<tr>
|
1666 |
+
<th scope="row"><?php _e('Include children','enhanced-media-library'); ?></th>
|
1667 |
+
<td>
|
1668 |
+
<fieldset>
|
1669 |
+
<legend class="screen-reader-text"><span><?php _e('Include children','enhanced-media-library'); ?></span></legend>
|
1670 |
+
<label><input name="wpuxss_eml_lib_options[include_children]" type="hidden" value="0" /><input name="wpuxss_eml_lib_options[include_children]" type="checkbox" value="1" <?php checked( true, (bool) $wpuxss_eml_lib_options['include_children'], true ); ?> /> <?php _e('Show media items of child media categories as a result of filtering', 'enhanced-media-library'); ?></label>
|
1671 |
+
</fieldset>
|
1672 |
+
</td>
|
1673 |
+
</tr>
|
1674 |
+
|
1675 |
+
</table>
|
1676 |
+
|
1677 |
+
<?php submit_button( __( 'Save Changes' ), 'primary', 'submit', true, array( 'id' => 'eml-submit-lib-settings-filters' ) ); ?>
|
1678 |
+
|
1679 |
+
</div>
|
1680 |
+
|
1681 |
+
</div>
|
1682 |
+
|
1683 |
+
|
1684 |
+
<?php do_action( 'wpuxss_eml_extend_library_option_page' ); ?>
|
1685 |
+
|
1686 |
+
|
1687 |
+
<h2><?php _e('Order','enhanced-media-library'); ?></h2>
|
1688 |
+
|
1689 |
+
<div class="postbox">
|
1690 |
|
1691 |
<div class="inside">
|
1692 |
|
1701 |
<option value="menuOrder" <?php selected( $wpuxss_eml_lib_options['media_orderby'], 'menuOrder' ); ?>><?php _e('Custom Order','enhanced-media-library'); ?></option>
|
1702 |
</select>
|
1703 |
<?php _e('For media library and media popups','enhanced-media-library'); ?>
|
1704 |
+
<p class="description"><?php _e( 'Allows changing media items order by drag and drop with Custom Order value.', 'enhanced-media-library' ); ?></p>
|
1705 |
</td>
|
1706 |
</tr>
|
1707 |
|
1721 |
<td>
|
1722 |
<fieldset>
|
1723 |
<legend class="screen-reader-text"><span><?php _e('Natural sort order','enhanced-media-library'); ?></span></legend>
|
1724 |
+
<label><input name="wpuxss_eml_lib_options[natural_sort]" type="hidden" value="0" /><input name="wpuxss_eml_lib_options[natural_sort]" type="checkbox" value="1" <?php checked( true, (bool) $wpuxss_eml_lib_options['natural_sort'], true ); ?> /> <?php _e('Apply human-friendly sort order to Media Library and Galleries','enhanced-media-library'); ?></label>
|
1725 |
<p class="description"><?php _e( 'Example: [1, 2, 3, 10, 18, 22, abc-2, abc-11] instead of [1, 10, 18, 2, 22, 3, abc-11, abc-2]', 'enhanced-media-library' ); ?></p>
|
1726 |
</fieldset>
|
1727 |
</td>
|
1728 |
</tr>
|
1729 |
</table>
|
1730 |
|
1731 |
+
<?php submit_button( __( 'Save Changes' ), 'primary', 'submit', true, array( 'id' => 'eml-submit-lib-settings-order' ) ); ?>
|
1732 |
|
1733 |
</div>
|
1734 |
|
1735 |
</div>
|
1736 |
|
1737 |
+
|
1738 |
+
<h2><?php _e('Grid Mode','enhanced-media-library'); ?></h2>
|
1739 |
+
|
1740 |
<div class="postbox">
|
1741 |
|
1742 |
+
<div class="inside">
|
1743 |
+
|
1744 |
+
<table class="form-table">
|
1745 |
+
|
1746 |
+
<tr>
|
1747 |
+
<th scope="row"><?php _e('Show caption','enhanced-media-library'); ?></th>
|
1748 |
+
<td>
|
1749 |
+
<fieldset>
|
1750 |
+
<legend class="screen-reader-text"><span><?php _e('Show caption','enhanced-media-library'); ?></span></legend>
|
1751 |
+
<label><input name="wpuxss_eml_lib_options[grid_show_caption]" type="hidden" value="0" /><input id="wpuxss_eml_lib_options_grid_show_caption" name="wpuxss_eml_lib_options[grid_show_caption]" type="checkbox" value="1" <?php checked( true, (bool) $wpuxss_eml_lib_options['grid_show_caption'], true ); ?> /> <?php _e('Add text caption for media item thumbnails', 'enhanced-media-library'); ?></label>
|
1752 |
+
</fieldset>
|
1753 |
+
</td>
|
1754 |
+
</tr>
|
1755 |
+
|
1756 |
+
<tr id="wpuxss_eml_lib_options_grid_caption_type">
|
1757 |
+
<th scope="row"><label for="wpuxss_eml_lib_options[media_order]"><?php _e('Caption type','enhanced-media-library'); ?></label></th>
|
1758 |
+
<td>
|
1759 |
+
<select name="wpuxss_eml_lib_options[grid_caption_type]">
|
1760 |
+
<option value="title" <?php selected( $wpuxss_eml_lib_options['grid_caption_type'], 'title' ); ?>><?php _e('Title','enhanced-media-library'); ?></option>
|
1761 |
+
<option value="filename" <?php selected( $wpuxss_eml_lib_options['grid_caption_type'], 'filename' ); ?>><?php _e('Filename','enhanced-media-library'); ?></option>
|
1762 |
+
<option value="caption" <?php selected( $wpuxss_eml_lib_options['grid_caption_type'], 'caption' ); ?>><?php _e('Caption','enhanced-media-library'); ?></option>
|
1763 |
+
</select>
|
1764 |
+
</td>
|
1765 |
+
</tr>
|
1766 |
+
</table>
|
1767 |
+
|
1768 |
+
<?php submit_button( __( 'Save Changes' ), 'primary', 'submit', true, array( 'id' => 'eml-submit-lib-settings-grid-mode' ) ); ?>
|
1769 |
+
|
1770 |
+
</div>
|
1771 |
+
|
1772 |
+
</div>
|
1773 |
+
|
1774 |
+
|
1775 |
+
<h2><?php _e('Media Shortcodes','enhanced-media-library'); ?></h2>
|
1776 |
+
|
1777 |
+
<div class="postbox">
|
1778 |
|
1779 |
<div class="inside">
|
1780 |
|
1785 |
<td>
|
1786 |
<fieldset>
|
1787 |
<legend class="screen-reader-text"><span><?php _e('Enhanced media shortcodes','enhanced-media-library'); ?></span></legend>
|
1788 |
+
<label><input name="wpuxss_eml_lib_options[enhance_media_shortcodes]" type="hidden" value="0" /><input name="wpuxss_eml_lib_options[enhance_media_shortcodes]" type="checkbox" value="1" <?php checked( true, (bool) $wpuxss_eml_lib_options['enhance_media_shortcodes'], true ); ?> /> <?php _e('Enhance WordPress media shortcodes to make them understand media taxonomies, upload date, and media items number limit','enhanced-media-library'); ?></label>
|
1789 |
<p class="description"><?php _e( 'Gallery example:', 'enhanced-media-library' ); ?> [gallery media_category="5" limit="10" monthnum="12" year="2015"]</p>
|
1790 |
<p class="description"><?php _e( 'Audio playlist example:', 'enhanced-media-library' ); ?> [playlist media_category="5" limit="10" monthnum="12" year="2015"]</p>
|
1791 |
<p class="description"><?php _e( 'Video playlist example:', 'enhanced-media-library' ); ?> [playlist type="video" media_category="5" limit="10" monthnum="12" year="2015"]</p>
|
1792 |
<p class="description"><?php
|
1793 |
+
printf(
|
1794 |
+
'<strong style="color:red">%s:</strong> ',
|
1795 |
+
__( 'Warning', 'enhanced-media-library' )
|
1796 |
+
);
|
1797 |
+
printf(
|
1798 |
+
__( 'Incompatibility with other gallery plugins or themes possible! <a href="%s">Learn more</a>.', 'enhanced-media-library' ),
|
1799 |
+
esc_url('https://wpuxsolutions.com/documents/enhanced-media-library/enhanced-gallery-possible-conflicts/')
|
1800 |
+
);
|
1801 |
+
echo ' ';
|
1802 |
+
printf(
|
1803 |
+
__( 'Please check out your gallery front-end and back-end functionality once this option activated. If you find an issue please inform plugin authors at %s or %s.', 'enhanced-media-library' ),
|
1804 |
+
'<a href="https://wordpress.org/support/plugin/enhanced-media-library">wordpress.org</a>',
|
1805 |
+
'<a href="https://wpuxsolutions.com/support/create-new-ticket/">wpuxsolutions.com</a>'
|
1806 |
+
); ?></p>
|
1807 |
</fieldset>
|
1808 |
</td>
|
1809 |
</tr>
|
1810 |
</table>
|
1811 |
|
1812 |
+
<?php submit_button( __( 'Save Changes' ), 'primary', 'submit', true, array( 'id' => 'eml-submit-lib-settings-media-shortcode' ) ); ?>
|
1813 |
|
1814 |
</div>
|
1815 |
|
1846 |
if ( ! current_user_can( 'manage_options' ) )
|
1847 |
wp_die( __( 'You do not have sufficient permissions to access this page.', 'enhanced-media-library' ) );
|
1848 |
|
1849 |
+
if ( is_multisite() ) {
|
1850 |
+
|
1851 |
+
$wpuxss_eml_network_options = get_site_option( 'wpuxss_eml_network_options', array() );
|
1852 |
+
|
1853 |
+
if ( ! current_user_can( 'manage_network_options' ) && ! (bool) $wpuxss_eml_network_options['media_settings'] )
|
1854 |
+
wp_die( __('You do not have sufficient permissions to access this page.','enhanced-media-library') );
|
1855 |
+
}
|
1856 |
+
|
1857 |
+
|
1858 |
$wpuxss_eml_taxonomies = get_option( 'wpuxss_eml_taxonomies' );
|
1859 |
$title = __('Media Settings'); ?>
|
1860 |
|
1861 |
|
1862 |
+
<div id="wpuxss-eml-global-options-wrap" class="wrap eml-options">
|
1863 |
|
1864 |
<h1><?php echo esc_html( $title ); ?></h1>
|
1865 |
|
1889 |
|
1890 |
if ( (in_array('attachment',$taxonomy->object_type) && count($taxonomy->object_type) == 1) || empty($taxonomy->object_type) ) {
|
1891 |
|
1892 |
+
$assigned = (bool) $wpuxss_eml_taxonomies[$taxonomy->name]['assigned'];
|
1893 |
+
$eml_media = (bool) $wpuxss_eml_taxonomies[$taxonomy->name]['eml_media'];
|
1894 |
|
1895 |
if ( $eml_media )
|
1896 |
$li_class = 'wpuxss-eml-taxonomy';
|
1897 |
else
|
1898 |
$li_class = 'wpuxss-non-eml-taxonomy';
|
1899 |
|
1900 |
+
$html .= '<li class="' . $li_class . '" id="' . esc_attr($taxonomy->name) . '">';
|
1901 |
|
1902 |
+
$html .= '<input name="wpuxss_eml_taxonomies[' . esc_attr($taxonomy->name) . '][eml_media]" type="hidden" value="' . $eml_media . '" />';
|
1903 |
+
$html .= '<label><input class="wpuxss-eml-assigned" name="wpuxss_eml_taxonomies[' . esc_attr($taxonomy->name) . '][assigned]" type="checkbox" value="1" ' . checked( true, $assigned, false ) . ' title="' . __('Assign Taxonomy','enhanced-media-library') . '" />' . esc_html($taxonomy->label) . '</label>';
|
1904 |
$html .= '<a class="wpuxss-eml-button-edit" title="' . __('Edit Taxonomy','enhanced-media-library') . '" href="javascript:;">' . __('Edit','enhanced-media-library') . ' ↓</a>';
|
1905 |
|
1906 |
if ( $eml_media ) {
|
1912 |
$html .= '<div class="wpuxss-eml-labels-edit">';
|
1913 |
$html .= '<h4>' . __('Labels','enhanced-media-library') . '</h4>';
|
1914 |
$html .= '<ul>';
|
1915 |
+
$html .= '<li><label>' . __('Singular','enhanced-media-library') . '</label><input type="text" class="wpuxss-eml-singular_name" name="wpuxss_eml_taxonomies[' . esc_attr($taxonomy->name) . '][labels][singular_name]" value="' . esc_html($taxonomy->labels->singular_name) . '" /></li>';
|
1916 |
+
$html .= '<li><label>' . __('Plural','enhanced-media-library') . '</label><input type="text" class="wpuxss-eml-name" name="wpuxss_eml_taxonomies[' . esc_attr($taxonomy->name) . '][labels][name]" value="' . esc_html($taxonomy->labels->name) . '" /></li>';
|
1917 |
+
$html .= '<li><label>' . __('Menu Name','enhanced-media-library') . '</label><input type="text" class="wpuxss-eml-menu_name" name="wpuxss_eml_taxonomies[' . esc_attr($taxonomy->name) . '][labels][menu_name]" value="' . esc_html($taxonomy->labels->menu_name) . '" /></li>';
|
1918 |
+
$html .= '<li><label>' . __('All','enhanced-media-library') . '</label><input type="text" class="wpuxss-eml-all_items" name="wpuxss_eml_taxonomies[' . esc_attr($taxonomy->name) . '][labels][all_items]" value="' . esc_html($taxonomy->labels->all_items) . '" /></li>';
|
1919 |
+
$html .= '<li><label>' . __('Edit','enhanced-media-library') . '</label><input type="text" class="wpuxss-eml-edit_item" name="wpuxss_eml_taxonomies[' . esc_attr($taxonomy->name) . '][labels][edit_item]" value="' . esc_html($taxonomy->labels->edit_item) . '" /></li>';
|
1920 |
+
$html .= '<li><label>' . __('View','enhanced-media-library') . '</label><input type="text" class="wpuxss-eml-view_item" name="wpuxss_eml_taxonomies[' . esc_attr($taxonomy->name) . '][labels][view_item]" value="' . esc_html($taxonomy->labels->view_item) . '" /></li>';
|
1921 |
+
$html .= '<li><label>' . __('Update','enhanced-media-library') . '</label><input type="text" class="wpuxss-eml-update_item" name="wpuxss_eml_taxonomies[' . esc_attr($taxonomy->name) . '][labels][update_item]" value="' . esc_html($taxonomy->labels->update_item) . '" /></li>';
|
1922 |
+
$html .= '<li><label>' . __('Add New','enhanced-media-library') . '</label><input type="text" class="wpuxss-eml-add_new_item" name="wpuxss_eml_taxonomies[' . esc_attr($taxonomy->name) . '][labels][add_new_item]" value="' . esc_html($taxonomy->labels->add_new_item) . '" /></li>';
|
1923 |
+
$html .= '<li><label>' . __('New','enhanced-media-library') . '</label><input type="text" class="wpuxss-eml-new_item_name" name="wpuxss_eml_taxonomies[' . esc_attr($taxonomy->name) . '][labels][new_item_name]" value="' . esc_html($taxonomy->labels->new_item_name) . '" /></li>';
|
1924 |
+
$html .= '<li><label>' . __('Parent','enhanced-media-library') . '</label><input type="text" class="wpuxss-eml-parent_item" name="wpuxss_eml_taxonomies[' . esc_attr($taxonomy->name) . '][labels][parent_item]" value="' . esc_html($taxonomy->labels->parent_item) . '" /></li>';
|
1925 |
+
$html .= '<li><label>' . __('Search','enhanced-media-library') . '</label><input type="text" class="wpuxss-eml-search_items" name="wpuxss_eml_taxonomies[' . esc_attr($taxonomy->name) . '][labels][search_items]" value="' . esc_html($taxonomy->labels->search_items) . '" /></li>';
|
1926 |
$html .= '</ul>';
|
1927 |
$html .= '</div>';
|
1928 |
|
1930 |
$html .= '<h4>' . __('Settings','enhanced-media-library') . '</h4>';
|
1931 |
$html .= '<ul>';
|
1932 |
$html .= '<li><label>' . __('Taxonomy Name','enhanced-media-library') . '</label><input type="text" class="wpuxss-eml-taxonomy-name" name="" value="' . esc_attr($taxonomy->name) . '" disabled="disabled" /></li>';
|
1933 |
+
$html .= '<li><label>' . __('Hierarchical','enhanced-media-library') . '</label><input type="checkbox" class="wpuxss-eml-hierarchical" name="wpuxss_eml_taxonomies[' . esc_attr($taxonomy->name) . '][hierarchical]" value="1" ' . checked( true, (bool) $taxonomy->hierarchical, false ) . ' /></li>';
|
1934 |
+
$html .= '<li><label>' . __('Column for List View','enhanced-media-library') . '</label><input type="checkbox" class="wpuxss-eml-show_admin_column" name="wpuxss_eml_taxonomies[' . esc_attr($taxonomy->name) . '][show_admin_column]" value="1" ' . checked( true, (bool) $taxonomy->show_admin_column, false ) . ' /></li>';
|
1935 |
+
$html .= '<li><label>' . __('Filter for List View','enhanced-media-library') . '</label><input type="checkbox" class="wpuxss-eml-admin_filter" name="wpuxss_eml_taxonomies[' . esc_attr($taxonomy->name) . '][admin_filter]" value="1" ' . checked( true, (bool) $wpuxss_eml_taxonomies[$taxonomy->name]['admin_filter'], false ) . ' /></li>';
|
1936 |
+
$html .= '<li><label>' . __('Filter for Grid View / Media Popup','enhanced-media-library') . '</label><input type="checkbox" class="wpuxss-eml-media_uploader_filter" name="wpuxss_eml_taxonomies[' . esc_attr($taxonomy->name) . '][media_uploader_filter]" value="1" ' . checked( true, (bool) $wpuxss_eml_taxonomies[$taxonomy->name]['media_uploader_filter'], false ) . ' /></li>';
|
1937 |
+
$html .= '<li><label>' . __('Edit in Media Popup','enhanced-media-library') . '</label><input type="checkbox" class="wpuxss-eml-media_popup_taxonomy_edit" name="wpuxss_eml_taxonomies[' . esc_attr($taxonomy->name) . '][media_popup_taxonomy_edit]" value="1" ' . checked( true, (bool) $wpuxss_eml_taxonomies[$taxonomy->name]['media_popup_taxonomy_edit'], false ) . ' /></li>';
|
1938 |
+
$html .= '<li><label>' . __('Show in Nav Menu','enhanced-media-library') . '</label><input type="checkbox" class="wpuxss-eml-show_in_nav_menus" name="wpuxss_eml_taxonomies[' . esc_attr($taxonomy->name) . '][show_in_nav_menus]" value="1" ' . checked( true, (bool) $taxonomy->show_in_nav_menus, false ) . ' /></li>';
|
1939 |
+
$html .= '<li><label>' . __('Remember Terms Order (sort)','enhanced-media-library') . '</label><input type="checkbox" class="wpuxss-eml-sort" name="wpuxss_eml_taxonomies[' . esc_attr($taxonomy->name) . '][sort]" value="1" ' . checked( true, (bool) $taxonomy->sort, false ) . ' /></li>';
|
1940 |
+
$html .= '<li><label>' . __('Show in REST','enhanced-media-library') . '</label><input type="checkbox" class="wpuxss-eml-show_in_rest" name="wpuxss_eml_taxonomies[' . esc_attr($taxonomy->name) . '][show_in_rest]" value="1" ' . checked( true, (bool) $taxonomy->show_in_rest, false ) . ' /></li>';
|
1941 |
+
$html .= '<li><label>' . __('Rewrite Slug','enhanced-media-library') . '</label><input type="text" class="wpuxss-eml-slug" name="wpuxss_eml_taxonomies[' . esc_attr($taxonomy->name) . '][rewrite][slug]" value="' . esc_attr($taxonomy->rewrite['slug']) . '" /></li>';
|
1942 |
+
$html .= '<li><label>' . __('Slug with Front','enhanced-media-library') . '</label><input type="checkbox" class="wpuxss-eml-with_front" name="wpuxss_eml_taxonomies[' . esc_attr($taxonomy->name) . '][rewrite][with_front]" value="1" ' . checked( true, (bool) $taxonomy->rewrite['with_front'], false ) . ' /></li>';
|
1943 |
$html .= '</ul>';
|
1944 |
$html .= '</div>';
|
1945 |
|
1952 |
$html .= '<div class="wpuxss-eml-settings-edit">';
|
1953 |
$html .= '<h4>' . __('Settings','enhanced-media-library') . '</h4>';
|
1954 |
$html .= '<ul>';
|
1955 |
+
$html .= '<li><label>' . __('Filter for List View','enhanced-media-library') . '</label><input type="checkbox" class="wpuxss-eml-admin_filter" name="wpuxss_eml_taxonomies[' . esc_attr($taxonomy->name) . '][admin_filter]" value="1" ' . checked( true, (bool) $wpuxss_eml_taxonomies[$taxonomy->name]['admin_filter'], false ) . ' /></li>';
|
1956 |
+
$html .= '<li><label>' . __('Filter for Grid View / Media Popup','enhanced-media-library') . '</label><input type="checkbox" class="wpuxss-eml-media_uploader_filter" name="wpuxss_eml_taxonomies[' . esc_attr($taxonomy->name) . '][media_uploader_filter]" value="1" ' . checked( true, (bool) $wpuxss_eml_taxonomies[$taxonomy->name]['media_uploader_filter'], false ) . ' /></li>';
|
1957 |
+
$html .= '<li><label>' . __('Edit in Media Popup','enhanced-media-library') . '</label><input type="checkbox" class="wpuxss-eml-media_popup_taxonomy_edit" name="wpuxss_eml_taxonomies[' . esc_attr($taxonomy->name) . '][media_popup_taxonomy_edit]" value="1" ' . checked( true, (bool) $wpuxss_eml_taxonomies[$taxonomy->name]['media_popup_taxonomy_edit'], false ) . ' /></li>';
|
1958 |
$html .= '</ul>';
|
1959 |
$html .= '</div>';
|
1960 |
$html .= '</div>';
|
1992 |
$html .= '<div class="wpuxss-eml-settings-edit">';
|
1993 |
$html .= '<h4>' . __('Settings','enhanced-media-library') . '</h4>';
|
1994 |
$html .= '<ul>';
|
1995 |
+
$html .= '<li><label>' . __('Taxonomy Name','enhanced-media-library') . '</label><input type="text" class="wpuxss-eml-taxonomy-name" name="" value="" /></li>';
|
1996 |
$html .= '<li><label>' . __('Hierarchical','enhanced-media-library') . '</label><input type="checkbox" class="wpuxss-eml-hierarchical" name="" value="1" checked="checked" /></li>';
|
1997 |
$html .= '<li><label>' . __('Column for List View','enhanced-media-library') . '</label><input class="wpuxss-eml-show_admin_column" type="checkbox" name="" value="1" /></li>';
|
1998 |
$html .= '<li><label>' . __('Filter for List View','enhanced-media-library') . '</label><input class="wpuxss-eml-admin_filter" type="checkbox" name="" value="1" /></li>';
|
2017 |
<div class="wpuxss-eml-button-container-right"><a class="add-new-h2 wpuxss-eml-button-create-taxonomy" href="javascript:;">+ <?php _e( 'Add New Taxonomy', 'enhanced-media-library' ); ?></a></div>
|
2018 |
<?php endif; ?>
|
2019 |
|
2020 |
+
<?php submit_button( __( 'Save Changes' ), 'primary', 'submit', true, array( 'id' => 'eml-submit-tax-settings-media' ) ); ?>
|
2021 |
</div>
|
2022 |
|
2023 |
</div>
|
2048 |
}
|
2049 |
|
2050 |
|
2051 |
+
$html .= '<li class="wpuxss-non-eml-taxonomy" id="' . esc_attr($taxonomy->name) . '">';
|
2052 |
+
$html .= '<input name="wpuxss_eml_taxonomies[' . esc_attr($taxonomy->name) . '][eml_media]" type="hidden" value="' . esc_attr($wpuxss_eml_taxonomies[$taxonomy->name]['eml_media']) . '" />';
|
2053 |
+
$html .= '<label><input class="wpuxss-eml-assigned" name="wpuxss_eml_taxonomies[' . esc_attr($taxonomy->name) . '][assigned]" type="checkbox" value="1" ' . checked( true, (bool) $wpuxss_eml_taxonomies[$taxonomy->name]['assigned'], false ) . ' title="' . __('Assign Taxonomy','enhanced-media-library') . '" />' . esc_html($taxonomy->label) . '</label>';
|
2054 |
$html .= '<a class="wpuxss-eml-button-edit" title="' . __('Edit Taxonomy','enhanced-media-library') . '" href="javascript:;">' . __('Edit','enhanced-media-library') . ' ↓</a>';
|
2055 |
$html .= '<div class="wpuxss-eml-taxonomy-edit" style="display:none;">';
|
2056 |
|
2057 |
$html .= '<h4>' . __('Settings','enhanced-media-library') . '</h4>';
|
2058 |
$html .= '<ul>';
|
2059 |
+
$html .= '<li><input type="checkbox" class="wpuxss-eml-admin_filter" name="wpuxss_eml_taxonomies[' . esc_attr($taxonomy->name) . '][admin_filter]" id="wpuxss_eml_taxonomies-' . esc_attr($taxonomy->name) . '-admin_filter" value="1" ' . checked( true, (bool) $wpuxss_eml_taxonomies[$taxonomy->name]['admin_filter'], false ) . ' /><label for="wpuxss_eml_taxonomies-' . esc_attr($taxonomy->name) . '-admin_filter">' . __('Filter for List View','enhanced-media-library') . '</label></li>';
|
2060 |
+
$html .= '<li><input type="checkbox" class="wpuxss-eml-media_uploader_filter" name="wpuxss_eml_taxonomies[' . esc_attr($taxonomy->name) . '][media_uploader_filter]" id="wpuxss_eml_taxonomies-' . esc_attr($taxonomy->name) . '-media_uploader_filter" value="1" ' . checked( true, (bool) $wpuxss_eml_taxonomies[$taxonomy->name]['media_uploader_filter'], false ) . ' /><label for="wpuxss_eml_taxonomies-' . esc_attr($taxonomy->name) . '-media_uploader_filter">' . __('Filter for Grid View / Media Popup','enhanced-media-library') . '</label></li>';
|
2061 |
+
$html .= '<li><input type="checkbox" class="wpuxss-eml-media_popup_taxonomy_edit" name="wpuxss_eml_taxonomies[' . esc_attr($taxonomy->name) . '][media_popup_taxonomy_edit]" id="wpuxss_eml_taxonomies-' . esc_attr($taxonomy->name) . '-media_popup_taxonomy_edit" value="1" ' . checked( true, (bool) $wpuxss_eml_taxonomies[$taxonomy->name]['media_popup_taxonomy_edit'], false ) . ' /><label for="wpuxss_eml_taxonomies-' . esc_attr($taxonomy->name) . '-media_popup_taxonomy_edit">' . __('Edit in Media Popup','enhanced-media-library') . '</label></li>';
|
2062 |
|
2063 |
$options = '';
|
2064 |
$html .= apply_filters( 'wpuxss_eml_extend_non_media_taxonomy_options', $options, $taxonomy, $post_type, $wpuxss_eml_taxonomies );
|
2071 |
|
2072 |
<?php if ( ! empty( $html ) ) : ?>
|
2073 |
|
2074 |
+
<h4><?php echo esc_html($post_type->label); ?></h4>
|
2075 |
<ul class="wpuxss-eml-settings-list wpuxss-eml-non-media-taxonomy-list">
|
2076 |
<?php echo $html; ?>
|
2077 |
</ul>
|
2081 |
}
|
2082 |
}
|
2083 |
|
2084 |
+
submit_button( __( 'Save Changes' ), 'primary', 'submit', true, array( 'id' => 'eml-submit-tax-settings-non-media' ) ); ?>
|
2085 |
|
2086 |
</div>
|
2087 |
|
2101 |
<td>
|
2102 |
<fieldset>
|
2103 |
<legend class="screen-reader-text"><span><?php _e('Taxonomy archive pages','enhanced-media-library'); ?></span></legend>
|
2104 |
+
<label><input name="wpuxss_eml_tax_options[tax_archives]" type="hidden" value="0" /><input name="wpuxss_eml_tax_options[tax_archives]" type="checkbox" value="1" <?php checked( true, (bool) $wpuxss_eml_tax_options['tax_archives'], true ); ?> /> <?php _e('Turn on media taxonomy archive pages on the front-end','enhanced-media-library'); ?></label>
|
2105 |
<p class="description"><?php _e( 'Re-save your permalink settings after this option change to make it work.', 'enhanced-media-library' ); ?></p>
|
2106 |
</fieldset>
|
2107 |
</td>
|
2112 |
<td>
|
2113 |
<fieldset>
|
2114 |
<legend class="screen-reader-text"><span><?php _e('Assign all like hierarchical','enhanced-media-library'); ?></span></legend>
|
2115 |
+
<label><input name="wpuxss_eml_tax_options[edit_all_as_hierarchical]" type="hidden" value="0" /><input name="wpuxss_eml_tax_options[edit_all_as_hierarchical]" type="checkbox" value="1" <?php checked( true, (bool) $wpuxss_eml_tax_options['edit_all_as_hierarchical'], true ); ?> /> <?php _e('Show non-hierarchical taxonomies like hierarchical in Grid View / Media Popup','enhanced-media-library'); ?></label>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2116 |
</fieldset>
|
2117 |
</td>
|
2118 |
</tr>
|
2119 |
|
2120 |
</table>
|
2121 |
|
2122 |
+
<?php submit_button( __( 'Save Changes' ), 'primary', 'submit', true, array( 'id' => 'eml-submit-tax-settings' ) ); ?>
|
2123 |
|
2124 |
</div>
|
2125 |
|
2158 |
if ( ! current_user_can('manage_options' ) )
|
2159 |
wp_die( __('You do not have sufficient permissions to access this page.','enhanced-media-library') );
|
2160 |
|
2161 |
+
if ( is_multisite() ) {
|
2162 |
+
|
2163 |
+
$wpuxss_eml_network_options = get_site_option( 'wpuxss_eml_network_options', array() );
|
2164 |
+
|
2165 |
+
if ( ! current_user_can( 'manage_network_options' ) && ! (bool) $wpuxss_eml_network_options['media_settings'] )
|
2166 |
+
wp_die( __('You do not have sufficient permissions to access this page.','enhanced-media-library') );
|
2167 |
+
}
|
2168 |
+
|
2169 |
+
|
2170 |
$wpuxss_eml_mimes = get_option('wpuxss_eml_mimes');
|
2171 |
$wpuxss_eml_mimes_backup = get_option('wpuxss_eml_mimes_backup');
|
2172 |
$title = __('Media Settings'); ?>
|
2173 |
|
2174 |
+
<div id="wpuxss-eml-global-options-wrap" class="wrap eml-options">
|
2175 |
|
2176 |
<h1>
|
2177 |
<?php echo esc_html( $title ); ?>
|
2211 |
<?php
|
2212 |
$allowed_mimes = get_allowed_mime_types();
|
2213 |
$all_mimes = wp_get_mime_types();
|
2214 |
+
ksort( $all_mimes, SORT_STRING ); ?>
|
|
|
2215 |
|
2216 |
<?php foreach ( $all_mimes as $type => $mime ) :
|
2217 |
|
2218 |
if ( isset( $wpuxss_eml_mimes[$type] ) ) :
|
2219 |
|
2220 |
+
$label = '<code>'. str_replace( '|', '</code>, <code>', esc_html($type) ) .'</code>';
|
2221 |
|
2222 |
$allowed = false;
|
2223 |
if ( array_key_exists( $type,$allowed_mimes ) )
|
2224 |
$allowed = true; ?>
|
2225 |
|
2226 |
<tr>
|
2227 |
+
<td id="<?php echo esc_attr($type); ?>"><?php echo $label; ?></td>
|
2228 |
+
<td><code><?php echo esc_html($mime); ?></code><input type="hidden" class="wpuxss-eml-mime" name="wpuxss_eml_mimes[<?php echo esc_attr($type); ?>][mime]" value="<?php echo esc_html($wpuxss_eml_mimes[$type]['mime']); ?>" /></td>
|
2229 |
+
<td><input type="text" name="wpuxss_eml_mimes[<?php echo esc_attr($type); ?>][singular]" value="<?php echo esc_html($wpuxss_eml_mimes[$type]['singular']); ?>" /></td>
|
2230 |
+
<td><input type="text" name="wpuxss_eml_mimes[<?php echo esc_attr($type); ?>][plural]" value="<?php echo esc_html($wpuxss_eml_mimes[$type]['plural']); ?>" /></td>
|
2231 |
+
<td class="checkbox_td"><input type="checkbox" name="wpuxss_eml_mimes[<?php echo esc_attr($type); ?>][filter]" title="<?php _e('Add Filter','enhanced-media-library'); ?>" value="1" <?php checked(true, (bool) $wpuxss_eml_mimes[$type]['filter']); ?> /></td>
|
2232 |
+
<td class="checkbox_td"><input type="checkbox" name="wpuxss_eml_mimes[<?php echo esc_attr($type); ?>][upload]" title="<?php _e('Allow Upload','enhanced-media-library'); ?>" value="1" <?php checked(true, $allowed); ?> /></td>
|
2233 |
<td><a class="wpuxss-eml-button-remove" title="<?php _e('Delete MIME Type','enhanced-media-library'); ?>" href="javascript:;">–</a></td>
|
2234 |
</tr>
|
2235 |
|
2290 |
function wpuxss_eml_print_mimetypes_buttons() { ?>
|
2291 |
|
2292 |
<p class="submit">
|
2293 |
+
<?php submit_button( __( 'Save Changes' ), 'primary', 'eml-save-mime-types-settings', false, array( 'id' => 'eml-submit-settings-save-mime-types' ) ); ?>
|
2294 |
|
2295 |
<input type="button" name="eml-restore-mime-types-settings" id="eml-restore-mime-types-settings" class="button" value="<?php _e('Restore WordPress default MIME Types','enhanced-media-library'); ?>">
|
2296 |
</p>
|
2321 |
<div class="inside">
|
2322 |
|
2323 |
<h4><?php _e( 'Changelog', 'enhanced-media-library' ); ?></h4>
|
2324 |
+
<p><?php _e( 'What\'s new in', 'enhanced-media-library' ); ?> <a href="https://wordpress.org/plugins/enhanced-media-library/changelog/"><?php _e( 'version', 'enhanced-media-library' ); echo ' ' . $wpuxss_eml_version; ?></a>.</p>
|
2325 |
|
2326 |
<h4>Enhanced Media Library PRO</h4>
|
2327 |
+
<p><?php _e( 'More features under the hood', 'enhanced-media-library' ); ?> <a href="https://wpuxsolutions.com/plugins/enhanced-media-library/">wpuxsolutions.com</a>.</p>
|
2328 |
|
2329 |
<h4><?php _e( 'Support', 'enhanced-media-library' ); ?></h4>
|
2330 |
+
<p><?php _e( 'Feel free to ask for help on', 'enhanced-media-library' ); ?> <a href="https://wpuxsolutions.com/support/">wpuxsolutions.com</a>. <?php _e( 'Support is free for both versions of the plugin.', 'enhanced-media-library' ); ?></p>
|
2331 |
|
2332 |
<h4><?php _e( 'Plugin rating', 'enhanced-media-library' ); ?> <span class="dashicons dashicons-thumbs-up"></span></h4>
|
2333 |
+
<p><?php _e( 'Please', 'enhanced-media-library' ); ?> <a href="https://wordpress.org/support/view/plugin-reviews/enhanced-media-library"><?php _e( 'vote for the plugin', 'enhanced-media-library' ); ?></a>. <?php _e( 'Thanks!', 'enhanced-media-library' ); ?></p>
|
2334 |
|
2335 |
<h4><?php _e( 'Other plugins you may find useful', 'enhanced-media-library' ); ?></h4>
|
2336 |
<ul>
|
2337 |
+
<li><a href="https://wordpress.org/plugins/toolbar-publish-button/">Toolbar Publish Button</a></li>
|
2338 |
</ul>
|
2339 |
|
2340 |
<div class="author">
|
2341 |
+
<span><a href="https://wpuxsolutions.com/">wpUXsolutions</a> by <a class="logo-webbistro" href="https://twitter.com/wpUXsolutions"><span class="icon-webbistro">@</span>webbistro</a></span>
|
2342 |
</div>
|
2343 |
|
2344 |
</div>
|
2361 |
*/
|
2362 |
|
2363 |
add_filter( 'plugin_action_links_' . wpuxss_get_eml_basename(), 'wpuxss_eml_settings_link' );
|
2364 |
+
add_filter( 'network_admin_plugin_action_links_' . wpuxss_get_eml_basename(), 'wpuxss_eml_settings_link' );
|
2365 |
|
2366 |
if ( ! function_exists( 'wpuxss_eml_settings_link' ) ) {
|
2367 |
|
2368 |
function wpuxss_eml_settings_link( $links ) {
|
2369 |
|
2370 |
+
$settings_page = is_network_admin() ? 'settings.php' : 'options-general.php';
|
2371 |
+
|
2372 |
+
$settings_link = is_network_admin() ? array() : array(
|
2373 |
+
'settings' => '<a href="' . self_admin_url($settings_page.'?page=media') . '">' . __( 'Media Settings', 'enhanced-media-library' ) . '</a>'
|
|
|
|
|
|
|
|
|
2374 |
);
|
2375 |
+
|
2376 |
+
$utility_link = array(
|
2377 |
+
'utility' => '<a href="' . self_admin_url($settings_page.'?page=eml-settings') . '">' . __( 'Utility', 'enhanced-media-library' ) . '</a>'
|
2378 |
+
);
|
2379 |
+
|
2380 |
+
return array_merge( $settings_link, $utility_link, $links );
|
2381 |
}
|
2382 |
}
|
2383 |
|
core/taxonomies.php
CHANGED
@@ -135,14 +135,29 @@ if ( ! function_exists( 'wpuxss_eml_sanitize_slug' ) ) {
|
|
135 |
|
136 |
|
137 |
|
|
|
|
|
|
|
|
|
|
|
|
|
138 |
if ( ! function_exists( 'wpuxss_eml_lib_options_validate' ) ) {
|
139 |
|
140 |
function wpuxss_eml_lib_options_validate( $input ) {
|
141 |
|
142 |
foreach ( (array)$input as $key => $option ) {
|
143 |
|
144 |
-
if ( 'media_orderby' === $key || 'media_order' === $key ) {
|
145 |
$input[$key] = sanitize_text_field( $option );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
146 |
}
|
147 |
else {
|
148 |
$input[$key] = isset( $option ) && !! $option ? 1 : 0;
|
@@ -202,13 +217,16 @@ if ( ! function_exists( 'wpuxss_eml_ajax_query_attachments_args' ) ) {
|
|
202 |
function wpuxss_eml_ajax_query_attachments_args( $query ) {
|
203 |
|
204 |
$wpuxss_eml_taxonomies = get_option( 'wpuxss_eml_taxonomies', array() );
|
|
|
205 |
$tax_query = array();
|
206 |
$eml_query = isset( $_REQUEST['query'] ) ? (array) $_REQUEST['query'] : array();
|
207 |
$processed_taxonomies = get_object_taxonomies( 'attachment', 'object' );
|
208 |
$keys = array(
|
209 |
-
'uncategorized'
|
|
|
210 |
);
|
211 |
|
|
|
212 |
foreach ( $processed_taxonomies as $taxonomy => $params ) {
|
213 |
if ( isset( $eml_query[$taxonomy] ) ) {
|
214 |
$keys[] = $taxonomy;
|
@@ -252,7 +270,8 @@ if ( ! function_exists( 'wpuxss_eml_ajax_query_attachments_args' ) ) {
|
|
252 |
$tax_query[] = array(
|
253 |
'taxonomy' => $taxonomy_name,
|
254 |
'field' => 'term_id',
|
255 |
-
'terms' => (array) $query[$taxonomy_name]
|
|
|
256 |
);
|
257 |
}
|
258 |
elseif ( 'not_in' === $query[$taxonomy_name] ) {
|
@@ -304,11 +323,11 @@ if ( ! function_exists( 'wpuxss_eml_ajax_query_attachments_args' ) ) {
|
|
304 |
* @created 11/08/13
|
305 |
*/
|
306 |
|
307 |
-
add_action( 'restrict_manage_posts', 'wpuxss_eml_restrict_manage_posts' );
|
308 |
|
309 |
if ( ! function_exists( 'wpuxss_eml_restrict_manage_posts' ) ) {
|
310 |
|
311 |
-
function wpuxss_eml_restrict_manage_posts() {
|
312 |
|
313 |
global $current_screen,
|
314 |
$wp_query;
|
@@ -321,43 +340,88 @@ if ( ! function_exists( 'wpuxss_eml_restrict_manage_posts' ) ) {
|
|
321 |
return;
|
322 |
}
|
323 |
|
324 |
-
$
|
325 |
$wpuxss_eml_taxonomies = get_option( 'wpuxss_eml_taxonomies', array() );
|
326 |
|
327 |
$uncategorized = ( isset( $_REQUEST['attachment-filter'] ) && 'uncategorized' === $_REQUEST['attachment-filter'] ) ? 1 : 0;
|
328 |
|
329 |
-
foreach ( get_object_taxonomies( 'attachment', 'object' ) as $taxonomy ) {
|
330 |
|
331 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
332 |
|
333 |
-
echo "<label for='
|
334 |
|
335 |
$selected = ( ! $uncategorized && isset( $wp_query->query[$taxonomy->name] ) ) ? $wp_query->query[$taxonomy->name] : 0;
|
336 |
|
337 |
wp_dropdown_categories(
|
338 |
array(
|
339 |
-
'show_option_all' => __( 'Filter by', 'enhanced-media-library' ) . ' ' . $taxonomy->labels->singular_name,
|
340 |
-
'show_option_in' => '— ' . __( 'All', 'enhanced-media-library' ) . ' ' . $taxonomy->labels->name . ' —',
|
341 |
-
'show_option_not_in' => '— ' . __( 'Not in a', 'enhanced-media-library' ) . ' ' . $taxonomy->labels->singular_name . ' —',
|
342 |
'taxonomy' => $taxonomy->name,
|
343 |
'name' => $taxonomy->name,
|
344 |
'orderby' => 'name',
|
345 |
'selected' => $selected,
|
346 |
'hierarchical' => true,
|
347 |
-
'show_count' => (bool) $
|
348 |
'hide_empty' => false,
|
349 |
'hide_if_empty' => true,
|
350 |
-
'class' => 'eml-taxonomy-filters',
|
351 |
'walker' => new wpuxss_eml_Walker_CategoryDropdown()
|
352 |
)
|
353 |
);
|
354 |
-
}
|
355 |
-
} //
|
356 |
}
|
357 |
}
|
358 |
|
359 |
|
360 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
361 |
/**
|
362 |
* wpuxss_eml_dropdown_cats
|
363 |
*
|
@@ -404,18 +468,18 @@ if ( ! function_exists( 'wpuxss_eml_dropdown_cats' ) ) {
|
|
404 |
|
405 |
$new_output = '';
|
406 |
|
407 |
-
if ( isset( $r['show_option_in'] ) &&
|
408 |
|
409 |
$show_option_in = $r['show_option_in'];
|
410 |
$selected = ( 'in' === strval($r['selected']) ) ? " selected='selected'" : '';
|
411 |
-
$new_output .= "\t<option value='in'$selected
|
412 |
}
|
413 |
|
414 |
-
if ( isset( $r['show_option_not_in'] ) &&
|
415 |
|
416 |
$show_option_not_in = $r['show_option_not_in'];
|
417 |
$selected = ( 'not_in' === strval($r['selected']) ) ? " selected='selected'" : '';
|
418 |
-
$new_output .= "\t<option value='not_in'$selected
|
419 |
}
|
420 |
|
421 |
array_splice( $options_array, 2, 0, $new_output );
|
@@ -458,6 +522,8 @@ if ( ! function_exists( 'wpuxss_eml_parse_tax_query' ) ) {
|
|
458 |
|
459 |
|
460 |
$uncategorized = ( isset( $_REQUEST['attachment-filter'] ) && 'uncategorized' === $_REQUEST['attachment-filter'] ) ? 1 : 0;
|
|
|
|
|
461 |
|
462 |
if ( isset( $_REQUEST['category'] ) )
|
463 |
$query->query['category'] = $query->query_vars['category'] = $_REQUEST['category'];
|
@@ -495,7 +561,8 @@ if ( ! function_exists( 'wpuxss_eml_parse_tax_query' ) ) {
|
|
495 |
$tax_query[] = array(
|
496 |
'taxonomy' => $taxonomy,
|
497 |
'field' => 'term_id',
|
498 |
-
'terms' => array( $term->term_id )
|
|
|
499 |
);
|
500 |
|
501 |
$query->query_vars[$taxonomy] = $term->term_id;
|
@@ -510,7 +577,7 @@ if ( ! function_exists( 'wpuxss_eml_parse_tax_query' ) ) {
|
|
510 |
'taxonomy' => $taxonomy,
|
511 |
'field' => 'term_id',
|
512 |
'terms' => $terms,
|
513 |
-
'operator' => 'NOT IN'
|
514 |
);
|
515 |
|
516 |
if ( isset( $query->query[$taxonomy] ) ) unset( $query->query[$taxonomy] );
|
@@ -525,7 +592,8 @@ if ( ! function_exists( 'wpuxss_eml_parse_tax_query' ) ) {
|
|
525 |
$tax_query[] = array(
|
526 |
'taxonomy' => $taxonomy,
|
527 |
'field' => 'term_id',
|
528 |
-
'terms' => array( $query->query[$taxonomy] )
|
|
|
529 |
);
|
530 |
}
|
531 |
elseif ( 'not_in' === $query->query[$taxonomy] ) {
|
@@ -602,7 +670,7 @@ if ( ! function_exists( 'wpuxss_eml_attachment_fields_to_edit' ) ) {
|
|
602 |
if ( $content )
|
603 |
$html = '<ul class="term-list">' . $content . '</ul>';
|
604 |
else
|
605 |
-
$html = '<ul class="term-list"><li>No ' . $args['label'] . ' found.</li></ul>';
|
606 |
|
607 |
ob_end_clean();
|
608 |
|
@@ -638,7 +706,7 @@ if ( ! class_exists( 'wpuxss_eml_Walker_CategoryDropdown' ) ) {
|
|
638 |
|
639 |
function start_el( &$output, $category, $depth = 0, $args = array(), $id = 0 ) {
|
640 |
|
641 |
-
$
|
642 |
|
643 |
$pad = str_repeat(' ', $depth * 3);
|
644 |
|
@@ -660,7 +728,7 @@ if ( ! class_exists( 'wpuxss_eml_Walker_CategoryDropdown' ) ) {
|
|
660 |
$output .= $pad.$cat_name;
|
661 |
|
662 |
|
663 |
-
if ( $args['show_count'] && (bool) $
|
664 |
|
665 |
$count = wpuxss_eml_get_media_term_count( $category->term_id, $category->term_taxonomy_id );
|
666 |
$output .= ' ('. number_format_i18n( $count ) .')';
|
@@ -688,9 +756,13 @@ if ( ! function_exists( 'wpuxss_eml_get_media_term_count' ) ) {
|
|
688 |
|
689 |
|
690 |
$terms = array( $tt_id );
|
|
|
|
|
691 |
|
692 |
-
|
693 |
-
|
|
|
|
|
694 |
|
695 |
|
696 |
if ( ! empty( $children ) ) {
|
@@ -796,13 +868,13 @@ if ( ! class_exists( 'Walker_Media_Taxonomy_Uploader_Filter' ) ) {
|
|
796 |
|
797 |
extract($args);
|
798 |
|
799 |
-
$
|
800 |
$indent = str_repeat(' ', $depth);
|
801 |
|
802 |
-
$count = ( (bool) $
|
803 |
|
804 |
$el = array(
|
805 |
-
'term_id' => $category->term_id,
|
806 |
'term_name' => $indent . esc_html( apply_filters( 'the_category', $category->name ) ) . $count
|
807 |
);
|
808 |
|
@@ -843,7 +915,7 @@ if ( ! function_exists( 'wpuxss_eml_save_attachment_compat' ) ) {
|
|
843 |
wp_send_json_error();
|
844 |
|
845 |
|
846 |
-
$
|
847 |
$attachment_data = $_REQUEST['attachments'][ $id ];
|
848 |
|
849 |
check_ajax_referer( 'update-post_' . $id, 'nonce' );
|
@@ -870,7 +942,7 @@ if ( ! function_exists( 'wpuxss_eml_save_attachment_compat' ) ) {
|
|
870 |
|
871 |
$media_taxonomy_names = get_object_taxonomies( 'attachment','names' );
|
872 |
|
873 |
-
if ( (bool) $
|
874 |
|
875 |
$terms = get_terms( $media_taxonomy_names, array('fields'=>'all','get'=>'all') );
|
876 |
$term_pairs = wpuxss_eml_get_media_term_pairs( $terms, 'id=>tt_id' );
|
@@ -896,7 +968,7 @@ if ( ! function_exists( 'wpuxss_eml_save_attachment_compat' ) ) {
|
|
896 |
|
897 |
wp_set_object_terms( $id, $term_ids, $taxonomy, false );
|
898 |
|
899 |
-
if ( (bool) $
|
900 |
|
901 |
foreach( $term_pairs as $term_id => $tt_id) {
|
902 |
$tcount[$term_id] = wpuxss_eml_get_media_term_count( $term_id, $tt_id );
|
@@ -907,7 +979,7 @@ if ( ! function_exists( 'wpuxss_eml_save_attachment_compat' ) ) {
|
|
907 |
if ( ! $attachment = wp_prepare_attachment_for_js( $id ) )
|
908 |
wp_send_json_error();
|
909 |
|
910 |
-
if ( (bool) $
|
911 |
$attachment['tcount'] = $tcount;
|
912 |
|
913 |
|
@@ -949,11 +1021,11 @@ if ( ! function_exists( 'wpuxss_eml_delete_post' ) ) {
|
|
949 |
if ( 'attachment' === $post->post_type ) {
|
950 |
|
951 |
$response = array();
|
952 |
-
$
|
953 |
|
954 |
if ( wp_delete_post( $id ) ) {
|
955 |
|
956 |
-
if ( (bool) $
|
957 |
|
958 |
$terms = get_terms( get_object_taxonomies( 'attachment','names' ), array('fields'=>'all','get'=>'all') );
|
959 |
|
@@ -1107,6 +1179,10 @@ if ( ! function_exists( 'wpuxss_eml_get_media_term_pairs' ) ) {
|
|
1107 |
|
1108 |
foreach( $terms as $term ) {
|
1109 |
|
|
|
|
|
|
|
|
|
1110 |
if ( 'id=>tt_id' === $mode )
|
1111 |
$result[$term->term_id] = $term->term_taxonomy_id;
|
1112 |
|
@@ -1222,7 +1298,7 @@ add_filter( 'the_posts', 'wpuxss_eml_the_posts', 10, 2);
|
|
1222 |
|
1223 |
if ( ! function_exists( 'wpuxss_eml_the_posts' ) ) {
|
1224 |
|
1225 |
-
function wpuxss_eml_the_posts
|
1226 |
|
1227 |
$wpuxss_eml_lib_options = get_option('wpuxss_eml_lib_options');
|
1228 |
|
@@ -1244,7 +1320,7 @@ if ( ! function_exists( 'wpuxss_eml_the_posts' ) ) {
|
|
1244 |
|
1245 |
uksort( $sort_posts, 'strnatcmp' );
|
1246 |
|
1247 |
-
if ( strtolower( $query->query_vars['order'] )
|
1248 |
$sort_posts = array_reverse( $sort_posts );
|
1249 |
}
|
1250 |
|
@@ -1271,17 +1347,31 @@ if ( ! function_exists('wpuxss_eml_pre_get_posts') ) {
|
|
1271 |
|
1272 |
global $current_screen;
|
1273 |
|
1274 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1275 |
|
1276 |
$wpuxss_eml_tax_options = get_option('wpuxss_eml_tax_options');
|
1277 |
|
1278 |
-
if ( $wpuxss_eml_tax_options['tax_archives'] ) {
|
1279 |
|
1280 |
$wpuxss_eml_taxonomies = get_option('wpuxss_eml_taxonomies');
|
1281 |
|
1282 |
foreach ( (array) $wpuxss_eml_taxonomies as $taxonomy => $params ) {
|
1283 |
|
1284 |
-
if ( $params['assigned'] && $params['eml_media'] && is_tax( $taxonomy ) ) {
|
1285 |
|
1286 |
$query->set( 'post_type', 'attachment' );
|
1287 |
$query->set( 'post_status', 'inherit' );
|
@@ -1290,21 +1380,55 @@ if ( ! function_exists('wpuxss_eml_pre_get_posts') ) {
|
|
1290 |
}
|
1291 |
}
|
1292 |
|
1293 |
-
if ( is_admin() && $query->is_main_query() && 'attachment' === $query->get('post_type') ) {
|
1294 |
|
1295 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
1296 |
$wpuxss_eml_lib_options = get_option('wpuxss_eml_lib_options');
|
1297 |
|
1298 |
$query_orderby = $query->get('orderby');
|
1299 |
$query_order = $query->get('order');
|
1300 |
|
1301 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1302 |
|
1303 |
-
|
1304 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
1305 |
|
1306 |
-
|
1307 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1308 |
}
|
1309 |
}
|
1310 |
}
|
@@ -1328,11 +1452,15 @@ if ( ! function_exists( 'wpuxss_eml_print_media_templates' ) ) {
|
|
1328 |
global $wp_version;
|
1329 |
|
1330 |
|
|
|
|
|
|
|
|
|
1331 |
if ( version_compare( $wp_version, '4.3', '<' ) ) {
|
1332 |
|
1333 |
-
$remove_button = '<a class="close media-modal-icon" href="#" title="' .
|
1334 |
|
1335 |
-
$deselect_button = '<a class="check" href="#" title="' .
|
1336 |
|
1337 |
}
|
1338 |
else {
|
@@ -1352,13 +1480,24 @@ if ( ! function_exists( 'wpuxss_eml_print_media_templates' ) ) {
|
|
1352 |
<i class="eml-icon dashicons dashicons-edit edit" data-name="edit"></i>
|
1353 |
<# } #>
|
1354 |
</div>
|
1355 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
1356 |
<# if ( data.uploading ) { #>
|
1357 |
<div class="media-progress-bar"><div style="width: {{ data.percent }}%"></div></div>
|
1358 |
<# } else if ( 'image' === data.type && data.sizes ) { #>
|
1359 |
<div class="centered">
|
1360 |
<img src="{{ data.size.url }}" draggable="false" alt="" />
|
1361 |
</div>
|
|
|
|
|
|
|
|
|
|
|
1362 |
<# } else { #>
|
1363 |
<div class="centered">
|
1364 |
<# if ( data.image && data.image.src && data.image.src !== data.icon ) { #>
|
@@ -1370,7 +1509,7 @@ if ( ! function_exists( 'wpuxss_eml_print_media_templates' ) ) {
|
|
1370 |
<# } #>
|
1371 |
</div>
|
1372 |
<div class="filename">
|
1373 |
-
<div>{{
|
1374 |
</div>
|
1375 |
<# } #>
|
1376 |
</div>
|
135 |
|
136 |
|
137 |
|
138 |
+
/**
|
139 |
+
* wpuxss_eml_lib_options_validate
|
140 |
+
*
|
141 |
+
* @since 2.2.1
|
142 |
+
*/
|
143 |
+
|
144 |
if ( ! function_exists( 'wpuxss_eml_lib_options_validate' ) ) {
|
145 |
|
146 |
function wpuxss_eml_lib_options_validate( $input ) {
|
147 |
|
148 |
foreach ( (array)$input as $key => $option ) {
|
149 |
|
150 |
+
if ( 'media_orderby' === $key || 'media_order' === $key || 'grid_caption_type' === $key ) {
|
151 |
$input[$key] = sanitize_text_field( $option );
|
152 |
+
|
153 |
+
}
|
154 |
+
elseif ( 'filters_to_show' === $key ) {
|
155 |
+
$allowed = array( 'types', 'dates', 'authors', 'taxonomies' );
|
156 |
+
$input[$key] = array_values( array_intersect( $option, $allowed ) );
|
157 |
+
}
|
158 |
+
elseif ( 'search_in' === $key ) {
|
159 |
+
$allowed = array( 'titles', 'captions', 'descriptions', 'authors', 'taxonomies' );
|
160 |
+
$input[$key] = array_values( array_intersect( $option, $allowed ) );
|
161 |
}
|
162 |
else {
|
163 |
$input[$key] = isset( $option ) && !! $option ? 1 : 0;
|
217 |
function wpuxss_eml_ajax_query_attachments_args( $query ) {
|
218 |
|
219 |
$wpuxss_eml_taxonomies = get_option( 'wpuxss_eml_taxonomies', array() );
|
220 |
+
$wpuxss_eml_lib_options = get_option( 'wpuxss_eml_lib_options' );
|
221 |
$tax_query = array();
|
222 |
$eml_query = isset( $_REQUEST['query'] ) ? (array) $_REQUEST['query'] : array();
|
223 |
$processed_taxonomies = get_object_taxonomies( 'attachment', 'object' );
|
224 |
$keys = array(
|
225 |
+
'uncategorized',
|
226 |
+
'author'
|
227 |
);
|
228 |
|
229 |
+
|
230 |
foreach ( $processed_taxonomies as $taxonomy => $params ) {
|
231 |
if ( isset( $eml_query[$taxonomy] ) ) {
|
232 |
$keys[] = $taxonomy;
|
270 |
$tax_query[] = array(
|
271 |
'taxonomy' => $taxonomy_name,
|
272 |
'field' => 'term_id',
|
273 |
+
'terms' => (array) $query[$taxonomy_name],
|
274 |
+
'include_children' => (bool) $wpuxss_eml_lib_options['include_children']
|
275 |
);
|
276 |
}
|
277 |
elseif ( 'not_in' === $query[$taxonomy_name] ) {
|
323 |
* @created 11/08/13
|
324 |
*/
|
325 |
|
326 |
+
add_action( 'restrict_manage_posts', 'wpuxss_eml_restrict_manage_posts', 10, 2 );
|
327 |
|
328 |
if ( ! function_exists( 'wpuxss_eml_restrict_manage_posts' ) ) {
|
329 |
|
330 |
+
function wpuxss_eml_restrict_manage_posts( $post_type, $which ) {
|
331 |
|
332 |
global $current_screen,
|
333 |
$wp_query;
|
340 |
return;
|
341 |
}
|
342 |
|
343 |
+
$wpuxss_eml_lib_options = get_option( 'wpuxss_eml_lib_options' );
|
344 |
$wpuxss_eml_taxonomies = get_option( 'wpuxss_eml_taxonomies', array() );
|
345 |
|
346 |
$uncategorized = ( isset( $_REQUEST['attachment-filter'] ) && 'uncategorized' === $_REQUEST['attachment-filter'] ) ? 1 : 0;
|
347 |
|
|
|
348 |
|
349 |
+
if ( current_user_can( 'manage_options' ) && in_array( 'authors', $wpuxss_eml_lib_options['filters_to_show'] ) ) {
|
350 |
+
|
351 |
+
echo "<label for='author' class='screen-reader-text'>" . __('Filter by author','enhanced-media-library') . "</label>";
|
352 |
+
|
353 |
+
wp_dropdown_users(
|
354 |
+
array(
|
355 |
+
'show_option_all' => __( 'All Authors', 'enhanced-media-library' ),
|
356 |
+
'name' => 'author',
|
357 |
+
'class' => 'attachment-filters',
|
358 |
+
'who' => 'authors',
|
359 |
+
'hide_if_only_one_author' => true
|
360 |
+
)
|
361 |
+
);
|
362 |
+
}
|
363 |
+
|
364 |
+
|
365 |
+
if ( in_array( 'taxonomies', $wpuxss_eml_lib_options['filters_to_show'] ) ) {
|
366 |
+
|
367 |
+
foreach ( get_object_taxonomies( 'attachment', 'object' ) as $taxonomy ) {
|
368 |
+
|
369 |
+
if ( ! (bool) $wpuxss_eml_taxonomies[$taxonomy->name]['admin_filter'] )
|
370 |
+
continue;
|
371 |
|
372 |
+
echo "<label for='" . esc_attr($taxonomy->name) ."' class='screen-reader-text'>" . __('Filter by','enhanced-media-library') . " " . esc_html($taxonomy->labels->singular_name) . "</label>";
|
373 |
|
374 |
$selected = ( ! $uncategorized && isset( $wp_query->query[$taxonomy->name] ) ) ? $wp_query->query[$taxonomy->name] : 0;
|
375 |
|
376 |
wp_dropdown_categories(
|
377 |
array(
|
378 |
+
'show_option_all' => __( 'Filter by', 'enhanced-media-library' ) . ' ' . esc_html($taxonomy->labels->singular_name),
|
379 |
+
'show_option_in' => '— ' . __( 'All', 'enhanced-media-library' ) . ' ' . esc_html($taxonomy->labels->name) . ' —',
|
380 |
+
'show_option_not_in' => '— ' . __( 'Not in a', 'enhanced-media-library' ) . ' ' . esc_html($taxonomy->labels->singular_name) . ' —',
|
381 |
'taxonomy' => $taxonomy->name,
|
382 |
'name' => $taxonomy->name,
|
383 |
'orderby' => 'name',
|
384 |
'selected' => $selected,
|
385 |
'hierarchical' => true,
|
386 |
+
'show_count' => (bool) $wpuxss_eml_lib_options['show_count'],
|
387 |
'hide_empty' => false,
|
388 |
'hide_if_empty' => true,
|
389 |
+
'class' => 'attachment-filters eml-taxonomy-filters',
|
390 |
'walker' => new wpuxss_eml_Walker_CategoryDropdown()
|
391 |
)
|
392 |
);
|
393 |
+
} // endforeach
|
394 |
+
} // endif
|
395 |
}
|
396 |
}
|
397 |
|
398 |
|
399 |
|
400 |
+
/**
|
401 |
+
* wpuxss_eml_disable_months_dropdown
|
402 |
+
*
|
403 |
+
* @since 2.6
|
404 |
+
* @created 07/03/18
|
405 |
+
*/
|
406 |
+
|
407 |
+
add_action( 'load-upload.php', 'wpuxss_eml_disable_months_dropdown' );
|
408 |
+
|
409 |
+
if ( ! function_exists( 'wpuxss_eml_disable_months_dropdown' ) ) {
|
410 |
+
|
411 |
+
function wpuxss_eml_disable_months_dropdown() {
|
412 |
+
|
413 |
+
$wpuxss_eml_lib_options = get_option( 'wpuxss_eml_lib_options' );
|
414 |
+
|
415 |
+
if ( ! in_array( 'dates', $wpuxss_eml_lib_options['filters_to_show'] ) ) {
|
416 |
+
add_filter( 'disable_months_dropdown', '__return_true' );
|
417 |
+
}
|
418 |
+
}
|
419 |
+
}
|
420 |
+
|
421 |
+
|
422 |
+
|
423 |
+
|
424 |
+
|
425 |
/**
|
426 |
* wpuxss_eml_dropdown_cats
|
427 |
*
|
468 |
|
469 |
$new_output = '';
|
470 |
|
471 |
+
if ( isset( $r['show_option_in'] ) && $r['show_option_in'] ) {
|
472 |
|
473 |
$show_option_in = $r['show_option_in'];
|
474 |
$selected = ( 'in' === strval($r['selected']) ) ? " selected='selected'" : '';
|
475 |
+
$new_output .= "\t<option value='in'{$selected}>" . esc_html($show_option_in) . "</option>\n";
|
476 |
}
|
477 |
|
478 |
+
if ( isset( $r['show_option_not_in'] ) && $r['show_option_not_in'] ) {
|
479 |
|
480 |
$show_option_not_in = $r['show_option_not_in'];
|
481 |
$selected = ( 'not_in' === strval($r['selected']) ) ? " selected='selected'" : '';
|
482 |
+
$new_output .= "\t<option value='not_in'{$selected}>" . esc_html($show_option_not_in) . "</option>\n";
|
483 |
}
|
484 |
|
485 |
array_splice( $options_array, 2, 0, $new_output );
|
522 |
|
523 |
|
524 |
$uncategorized = ( isset( $_REQUEST['attachment-filter'] ) && 'uncategorized' === $_REQUEST['attachment-filter'] ) ? 1 : 0;
|
525 |
+
$wpuxss_eml_lib_options = get_option( 'wpuxss_eml_lib_options' );
|
526 |
+
|
527 |
|
528 |
if ( isset( $_REQUEST['category'] ) )
|
529 |
$query->query['category'] = $query->query_vars['category'] = $_REQUEST['category'];
|
561 |
$tax_query[] = array(
|
562 |
'taxonomy' => $taxonomy,
|
563 |
'field' => 'term_id',
|
564 |
+
'terms' => array( $term->term_id ),
|
565 |
+
'include_children' => (bool) $wpuxss_eml_lib_options['include_children']
|
566 |
);
|
567 |
|
568 |
$query->query_vars[$taxonomy] = $term->term_id;
|
577 |
'taxonomy' => $taxonomy,
|
578 |
'field' => 'term_id',
|
579 |
'terms' => $terms,
|
580 |
+
'operator' => 'NOT IN'
|
581 |
);
|
582 |
|
583 |
if ( isset( $query->query[$taxonomy] ) ) unset( $query->query[$taxonomy] );
|
592 |
$tax_query[] = array(
|
593 |
'taxonomy' => $taxonomy,
|
594 |
'field' => 'term_id',
|
595 |
+
'terms' => array( $query->query[$taxonomy] ),
|
596 |
+
'include_children' => (bool) $wpuxss_eml_lib_options['include_children']
|
597 |
);
|
598 |
}
|
599 |
elseif ( 'not_in' === $query->query[$taxonomy] ) {
|
670 |
if ( $content )
|
671 |
$html = '<ul class="term-list">' . $content . '</ul>';
|
672 |
else
|
673 |
+
$html = '<ul class="term-list"><li>No ' . esc_html($args['label']) . ' found.</li></ul>';
|
674 |
|
675 |
ob_end_clean();
|
676 |
|
706 |
|
707 |
function start_el( &$output, $category, $depth = 0, $args = array(), $id = 0 ) {
|
708 |
|
709 |
+
$wpuxss_eml_lib_options = get_option( 'wpuxss_eml_lib_options' );
|
710 |
|
711 |
$pad = str_repeat(' ', $depth * 3);
|
712 |
|
728 |
$output .= $pad.$cat_name;
|
729 |
|
730 |
|
731 |
+
if ( $args['show_count'] && (bool) $wpuxss_eml_lib_options['show_count'] ) {
|
732 |
|
733 |
$count = wpuxss_eml_get_media_term_count( $category->term_id, $category->term_taxonomy_id );
|
734 |
$output .= ' ('. number_format_i18n( $count ) .')';
|
756 |
|
757 |
|
758 |
$terms = array( $tt_id );
|
759 |
+
$children = array();
|
760 |
+
$wpuxss_eml_lib_options = get_option( 'wpuxss_eml_lib_options' );
|
761 |
|
762 |
+
|
763 |
+
if ( (bool) $wpuxss_eml_lib_options['include_children'] ) {
|
764 |
+
$children = $wpdb->get_results( $wpdb->prepare( "SELECT term_taxonomy_id FROM $wpdb->term_taxonomy WHERE parent = %d", (int) $term_id ) );
|
765 |
+
}
|
766 |
|
767 |
|
768 |
if ( ! empty( $children ) ) {
|
868 |
|
869 |
extract($args);
|
870 |
|
871 |
+
$wpuxss_eml_lib_options = get_option( 'wpuxss_eml_lib_options' );
|
872 |
$indent = str_repeat(' ', $depth);
|
873 |
|
874 |
+
$count = ( (bool) $wpuxss_eml_lib_options['show_count'] ) ? ' ('. number_format_i18n( wpuxss_eml_get_media_term_count( $category->term_id, $category->term_taxonomy_id ) ) .')' : '';
|
875 |
|
876 |
$el = array(
|
877 |
+
'term_id' => intval( $category->term_id ),
|
878 |
'term_name' => $indent . esc_html( apply_filters( 'the_category', $category->name ) ) . $count
|
879 |
);
|
880 |
|
915 |
wp_send_json_error();
|
916 |
|
917 |
|
918 |
+
$wpuxss_eml_lib_options = get_option( 'wpuxss_eml_lib_options' );
|
919 |
$attachment_data = $_REQUEST['attachments'][ $id ];
|
920 |
|
921 |
check_ajax_referer( 'update-post_' . $id, 'nonce' );
|
942 |
|
943 |
$media_taxonomy_names = get_object_taxonomies( 'attachment','names' );
|
944 |
|
945 |
+
if ( (bool) $wpuxss_eml_lib_options['show_count'] ) {
|
946 |
|
947 |
$terms = get_terms( $media_taxonomy_names, array('fields'=>'all','get'=>'all') );
|
948 |
$term_pairs = wpuxss_eml_get_media_term_pairs( $terms, 'id=>tt_id' );
|
968 |
|
969 |
wp_set_object_terms( $id, $term_ids, $taxonomy, false );
|
970 |
|
971 |
+
if ( (bool) $wpuxss_eml_lib_options['show_count'] ) {
|
972 |
|
973 |
foreach( $term_pairs as $term_id => $tt_id) {
|
974 |
$tcount[$term_id] = wpuxss_eml_get_media_term_count( $term_id, $tt_id );
|
979 |
if ( ! $attachment = wp_prepare_attachment_for_js( $id ) )
|
980 |
wp_send_json_error();
|
981 |
|
982 |
+
if ( (bool) $wpuxss_eml_lib_options['show_count'] )
|
983 |
$attachment['tcount'] = $tcount;
|
984 |
|
985 |
|
1021 |
if ( 'attachment' === $post->post_type ) {
|
1022 |
|
1023 |
$response = array();
|
1024 |
+
$wpuxss_eml_lib_options = get_option('wpuxss_eml_lib_options');
|
1025 |
|
1026 |
if ( wp_delete_post( $id ) ) {
|
1027 |
|
1028 |
+
if ( (bool) $wpuxss_eml_lib_options['show_count'] ) {
|
1029 |
|
1030 |
$terms = get_terms( get_object_taxonomies( 'attachment','names' ), array('fields'=>'all','get'=>'all') );
|
1031 |
|
1179 |
|
1180 |
foreach( $terms as $term ) {
|
1181 |
|
1182 |
+
if ( ! is_object( $term ) ) {
|
1183 |
+
continue;
|
1184 |
+
}
|
1185 |
+
|
1186 |
if ( 'id=>tt_id' === $mode )
|
1187 |
$result[$term->term_id] = $term->term_taxonomy_id;
|
1188 |
|
1298 |
|
1299 |
if ( ! function_exists( 'wpuxss_eml_the_posts' ) ) {
|
1300 |
|
1301 |
+
function wpuxss_eml_the_posts( $posts, $query ) {
|
1302 |
|
1303 |
$wpuxss_eml_lib_options = get_option('wpuxss_eml_lib_options');
|
1304 |
|
1320 |
|
1321 |
uksort( $sort_posts, 'strnatcmp' );
|
1322 |
|
1323 |
+
if ( "desc" === strtolower( $query->query_vars['order'] ) ) {
|
1324 |
$sort_posts = array_reverse( $sort_posts );
|
1325 |
}
|
1326 |
|
1347 |
|
1348 |
global $current_screen;
|
1349 |
|
1350 |
+
|
1351 |
+
if ( ! $query->is_main_query() ) {
|
1352 |
+
return;
|
1353 |
+
}
|
1354 |
+
|
1355 |
+
if ( is_admin() ) {
|
1356 |
+
$media_library_mode = get_user_option( 'media_library_mode' ) ? get_user_option( 'media_library_mode' ) : 'grid';
|
1357 |
+
}
|
1358 |
+
|
1359 |
+
if ( is_admin() && ! ( isset( $current_screen ) && 'upload' === $current_screen->base && 'list' === $media_library_mode ) ) {
|
1360 |
+
return;
|
1361 |
+
}
|
1362 |
+
|
1363 |
+
|
1364 |
+
if ( ! is_admin() ) {
|
1365 |
|
1366 |
$wpuxss_eml_tax_options = get_option('wpuxss_eml_tax_options');
|
1367 |
|
1368 |
+
if ( (bool) $wpuxss_eml_tax_options['tax_archives'] ) {
|
1369 |
|
1370 |
$wpuxss_eml_taxonomies = get_option('wpuxss_eml_taxonomies');
|
1371 |
|
1372 |
foreach ( (array) $wpuxss_eml_taxonomies as $taxonomy => $params ) {
|
1373 |
|
1374 |
+
if ( (bool) $params['assigned'] && (bool) $params['eml_media'] && is_tax( $taxonomy ) ) {
|
1375 |
|
1376 |
$query->set( 'post_type', 'attachment' );
|
1377 |
$query->set( 'post_status', 'inherit' );
|
1380 |
}
|
1381 |
}
|
1382 |
|
|
|
1383 |
|
1384 |
+
if ( 'attachment' !== $query->get('post_type') ) {
|
1385 |
+
return;
|
1386 |
+
}
|
1387 |
+
|
1388 |
+
|
1389 |
+
if ( empty( $query_orderby ) && empty( $query_order ) ) {
|
1390 |
+
|
1391 |
$wpuxss_eml_lib_options = get_option('wpuxss_eml_lib_options');
|
1392 |
|
1393 |
$query_orderby = $query->get('orderby');
|
1394 |
$query_order = $query->get('order');
|
1395 |
|
1396 |
+
$orderby = ( 'menuOrder' === $wpuxss_eml_lib_options['media_orderby'] ) ? 'menu_order' : $wpuxss_eml_lib_options['media_orderby'];
|
1397 |
+
$order = $wpuxss_eml_lib_options['media_order'];
|
1398 |
+
|
1399 |
+
$query->set('orderby', $orderby );
|
1400 |
+
$query->set('order', $order );
|
1401 |
+
}
|
1402 |
+
|
1403 |
+
|
1404 |
+
}
|
1405 |
+
}
|
1406 |
+
|
1407 |
+
|
1408 |
+
|
1409 |
+
add_action( 'parse_tax_query', 'kia_no_child_terms' );
|
1410 |
+
|
1411 |
+
function kia_no_child_terms( $query ) {
|
1412 |
|
1413 |
+
if ( ! $query->is_main_query() ) {
|
1414 |
+
return;
|
1415 |
+
}
|
1416 |
+
|
1417 |
+
|
1418 |
+
if ( ! is_admin() ) {
|
1419 |
+
|
1420 |
+
$wpuxss_eml_tax_options = get_option('wpuxss_eml_tax_options');
|
1421 |
|
1422 |
+
if ( (bool) $wpuxss_eml_tax_options['tax_archives'] ) {
|
1423 |
+
|
1424 |
+
$wpuxss_eml_lib_options = get_option('wpuxss_eml_lib_options');
|
1425 |
+
|
1426 |
+
foreach ( get_option('wpuxss_eml_taxonomies', array() ) as $taxonomy => $params ) {
|
1427 |
+
|
1428 |
+
if ( (bool) $params['assigned'] && (bool) $params['eml_media'] && is_tax( $taxonomy ) ) {
|
1429 |
+
|
1430 |
+
$query->tax_query->queries[0]['include_children'] = (bool) $wpuxss_eml_lib_options['include_children'];
|
1431 |
+
}
|
1432 |
}
|
1433 |
}
|
1434 |
}
|
1452 |
global $wp_version;
|
1453 |
|
1454 |
|
1455 |
+
$wpuxss_eml_lib_options = get_option('wpuxss_eml_lib_options');
|
1456 |
+
$caption_type = isset( $wpuxss_eml_lib_options['grid_caption_type'] ) ? $wpuxss_eml_lib_options['grid_caption_type'] : 'title';
|
1457 |
+
|
1458 |
+
|
1459 |
if ( version_compare( $wp_version, '4.3', '<' ) ) {
|
1460 |
|
1461 |
+
$remove_button = '<a class="close media-modal-icon" href="#" title="' . __('Remove') . '"></a>';
|
1462 |
|
1463 |
+
$deselect_button = '<a class="check" href="#" title="' . __('Deselect') . '" tabindex="-1"><div class="media-modal-icon"></div></a>';
|
1464 |
|
1465 |
}
|
1466 |
else {
|
1480 |
<i class="eml-icon dashicons dashicons-edit edit" data-name="edit"></i>
|
1481 |
<# } #>
|
1482 |
</div>
|
1483 |
+
|
1484 |
+
<# show_caption = parseInt(wpuxss_eml_media_grid_l10n.grid_show_caption);
|
1485 |
+
caption_type = wpuxss_eml_media_grid_l10n.grid_caption_type;
|
1486 |
+
caption = data[caption_type].length <= 15 ? data[caption_type] : data[caption_type].substring(0, 15) + '...';
|
1487 |
+
non_image_caption = ( 'image' !== data.type && caption ) ? caption : data.filename;
|
1488 |
+
title = show_caption ? data[caption_type] : ''; #>
|
1489 |
+
<div class="thumbnail" title="{{ title }}">
|
1490 |
<# if ( data.uploading ) { #>
|
1491 |
<div class="media-progress-bar"><div style="width: {{ data.percent }}%"></div></div>
|
1492 |
<# } else if ( 'image' === data.type && data.sizes ) { #>
|
1493 |
<div class="centered">
|
1494 |
<img src="{{ data.size.url }}" draggable="false" alt="" />
|
1495 |
</div>
|
1496 |
+
<# if ( show_caption && caption ) { #>
|
1497 |
+
<div class="filename">
|
1498 |
+
<div>{{ caption }}</div>
|
1499 |
+
</div>
|
1500 |
+
<# } #>
|
1501 |
<# } else { #>
|
1502 |
<div class="centered">
|
1503 |
<# if ( data.image && data.image.src && data.image.src !== data.icon ) { #>
|
1509 |
<# } #>
|
1510 |
</div>
|
1511 |
<div class="filename">
|
1512 |
+
<div>{{ non_image_caption }}</div>
|
1513 |
</div>
|
1514 |
<# } #>
|
1515 |
</div>
|
css/eml-admin-rtl.css
CHANGED
@@ -1,4 +1,12 @@
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
/* == Attachment Fields == */
|
3 |
|
4 |
body.eml-media-css .term-list {
|
@@ -384,6 +392,11 @@ body.eml-media-css .media-frame .spinner {
|
|
384 |
.eml-dialog-modal {
|
385 |
z-index: 300000 !important;
|
386 |
}
|
|
|
|
|
|
|
|
|
|
|
387 |
|
388 |
|
389 |
|
@@ -541,7 +554,7 @@ body.eml-media-css .media-frame .spinner {
|
|
541 |
|
542 |
/* == Plugin Options Page Styles == */
|
543 |
|
544 |
-
.wp-core-ui #eml-settings-cleanup,
|
545 |
.wp-core-ui .button-primary.eml-warning-button {
|
546 |
background: #d54e21;
|
547 |
border-color: #EC5F30 #940B0B #940B0B;
|
@@ -551,13 +564,13 @@ body.eml-media-css .media-frame .spinner {
|
|
551 |
text-decoration: none;
|
552 |
text-shadow: 0 -1px 1px #940B0B, -1px 0 1px #940B0B, 0 1px 1px #940B0B, 1px 0 1px #940B0B;
|
553 |
}
|
554 |
-
.wp-core-ui #eml-settings-cleanup:hover,
|
555 |
.wp-core-ui .button-primary.eml-warning-button:hover {
|
556 |
background: #E45728;
|
557 |
border-color: #940B0B;
|
558 |
color: #fff;
|
559 |
}
|
560 |
-
.wp-core-ui #eml-settings-cleanup:active,
|
561 |
.wp-core-ui .button-primary.eml-warning-button:active {
|
562 |
background: #D54E21;
|
563 |
border-color: #940B0B;
|
@@ -565,7 +578,7 @@ body.eml-media-css .media-frame .spinner {
|
|
565 |
box-shadow: inset 0 2px 0 #940B0B;
|
566 |
color: #fff;
|
567 |
}
|
568 |
-
.wp-core-ui #eml-settings-cleanup:focus,
|
569 |
.wp-core-ui .button-primary.eml-warning-button:focus {
|
570 |
-webkit-box-shadow: 0 1px 0 #D54E21, 0 0 2px 1px #F17349;
|
571 |
box-shadow: 0 1px 0 #D54E21, 0 0 2px 1px #F17349;
|
@@ -654,7 +667,7 @@ body.eml-media-css .media-frame .spinner {
|
|
654 |
width: 70%;
|
655 |
}
|
656 |
|
657 |
-
|
658 |
font-size: 23px;
|
659 |
font-weight: 400;
|
660 |
}
|
1 |
|
2 |
+
/* == Main Menu Styles == */
|
3 |
+
#adminmenu .wp-submenu li.eml-media-submenu {
|
4 |
+
padding-right: 20px;
|
5 |
+
}
|
6 |
+
|
7 |
+
|
8 |
+
|
9 |
+
|
10 |
/* == Attachment Fields == */
|
11 |
|
12 |
body.eml-media-css .term-list {
|
392 |
.eml-dialog-modal {
|
393 |
z-index: 300000 !important;
|
394 |
}
|
395 |
+
.eml-dialog-modal,
|
396 |
+
.eml-dialog-modal p{
|
397 |
+
font-size: 15px;
|
398 |
+
line-height: 1.5em;
|
399 |
+
}
|
400 |
|
401 |
|
402 |
|
554 |
|
555 |
/* == Plugin Options Page Styles == */
|
556 |
|
557 |
+
.wp-core-ui #eml-submit-settings-cleanup,
|
558 |
.wp-core-ui .button-primary.eml-warning-button {
|
559 |
background: #d54e21;
|
560 |
border-color: #EC5F30 #940B0B #940B0B;
|
564 |
text-decoration: none;
|
565 |
text-shadow: 0 -1px 1px #940B0B, -1px 0 1px #940B0B, 0 1px 1px #940B0B, 1px 0 1px #940B0B;
|
566 |
}
|
567 |
+
.wp-core-ui #eml-submit-settings-cleanup:hover,
|
568 |
.wp-core-ui .button-primary.eml-warning-button:hover {
|
569 |
background: #E45728;
|
570 |
border-color: #940B0B;
|
571 |
color: #fff;
|
572 |
}
|
573 |
+
.wp-core-ui #eml-submit-settings-cleanup:active,
|
574 |
.wp-core-ui .button-primary.eml-warning-button:active {
|
575 |
background: #D54E21;
|
576 |
border-color: #940B0B;
|
578 |
box-shadow: inset 0 2px 0 #940B0B;
|
579 |
color: #fff;
|
580 |
}
|
581 |
+
.wp-core-ui #eml-submit-settings-cleanup:focus,
|
582 |
.wp-core-ui .button-primary.eml-warning-button:focus {
|
583 |
-webkit-box-shadow: 0 1px 0 #D54E21, 0 0 2px 1px #F17349;
|
584 |
box-shadow: 0 1px 0 #D54E21, 0 0 2px 1px #F17349;
|
667 |
width: 70%;
|
668 |
}
|
669 |
|
670 |
+
.eml-options #poststuff h2 {
|
671 |
font-size: 23px;
|
672 |
font-weight: 400;
|
673 |
}
|
css/eml-admin.css
CHANGED
@@ -1,4 +1,12 @@
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
/* == Attachment Fields == */
|
3 |
|
4 |
body.eml-media-css .term-list {
|
@@ -384,6 +392,11 @@ body.eml-media-css .media-frame .spinner {
|
|
384 |
.eml-dialog-modal {
|
385 |
z-index: 300000 !important;
|
386 |
}
|
|
|
|
|
|
|
|
|
|
|
387 |
|
388 |
|
389 |
|
@@ -541,7 +554,7 @@ body.eml-media-css .media-frame .spinner {
|
|
541 |
|
542 |
/* == Plugin Options Page Styles == */
|
543 |
|
544 |
-
.wp-core-ui #eml-settings-cleanup,
|
545 |
.wp-core-ui .button-primary.eml-warning-button {
|
546 |
background: #d54e21;
|
547 |
border-color: #EC5F30 #940B0B #940B0B;
|
@@ -551,13 +564,13 @@ body.eml-media-css .media-frame .spinner {
|
|
551 |
text-decoration: none;
|
552 |
text-shadow: 0 -1px 1px #940B0B, 1px 0 1px #940B0B, 0 1px 1px #940B0B, -1px 0 1px #940B0B;
|
553 |
}
|
554 |
-
.wp-core-ui #eml-settings-cleanup:hover,
|
555 |
.wp-core-ui .button-primary.eml-warning-button:hover {
|
556 |
background: #E45728;
|
557 |
border-color: #940B0B;
|
558 |
color: #fff;
|
559 |
}
|
560 |
-
.wp-core-ui #eml-settings-cleanup:active,
|
561 |
.wp-core-ui .button-primary.eml-warning-button:active {
|
562 |
background: #D54E21;
|
563 |
border-color: #940B0B;
|
@@ -565,7 +578,7 @@ body.eml-media-css .media-frame .spinner {
|
|
565 |
box-shadow: inset 0 2px 0 #940B0B;
|
566 |
color: #fff;
|
567 |
}
|
568 |
-
.wp-core-ui #eml-settings-cleanup:focus,
|
569 |
.wp-core-ui .button-primary.eml-warning-button:focus {
|
570 |
-webkit-box-shadow: 0 1px 0 #D54E21, 0 0 2px 1px #F17349;
|
571 |
box-shadow: 0 1px 0 #D54E21, 0 0 2px 1px #F17349;
|
@@ -654,7 +667,7 @@ body.eml-media-css .media-frame .spinner {
|
|
654 |
width: 70%;
|
655 |
}
|
656 |
|
657 |
-
|
658 |
font-size: 23px;
|
659 |
font-weight: 400;
|
660 |
}
|
1 |
|
2 |
+
/* == Main Menu Styles == */
|
3 |
+
#adminmenu .wp-submenu li.eml-media-submenu {
|
4 |
+
padding-left: 20px;
|
5 |
+
}
|
6 |
+
|
7 |
+
|
8 |
+
|
9 |
+
|
10 |
/* == Attachment Fields == */
|
11 |
|
12 |
body.eml-media-css .term-list {
|
392 |
.eml-dialog-modal {
|
393 |
z-index: 300000 !important;
|
394 |
}
|
395 |
+
.eml-dialog-modal,
|
396 |
+
.eml-dialog-modal p{
|
397 |
+
font-size: 15px;
|
398 |
+
line-height: 1.5em;
|
399 |
+
}
|
400 |
|
401 |
|
402 |
|
554 |
|
555 |
/* == Plugin Options Page Styles == */
|
556 |
|
557 |
+
.wp-core-ui #eml-submit-settings-cleanup,
|
558 |
.wp-core-ui .button-primary.eml-warning-button {
|
559 |
background: #d54e21;
|
560 |
border-color: #EC5F30 #940B0B #940B0B;
|
564 |
text-decoration: none;
|
565 |
text-shadow: 0 -1px 1px #940B0B, 1px 0 1px #940B0B, 0 1px 1px #940B0B, -1px 0 1px #940B0B;
|
566 |
}
|
567 |
+
.wp-core-ui #eml-submit-settings-cleanup:hover,
|
568 |
.wp-core-ui .button-primary.eml-warning-button:hover {
|
569 |
background: #E45728;
|
570 |
border-color: #940B0B;
|
571 |
color: #fff;
|
572 |
}
|
573 |
+
.wp-core-ui #eml-submit-settings-cleanup:active,
|
574 |
.wp-core-ui .button-primary.eml-warning-button:active {
|
575 |
background: #D54E21;
|
576 |
border-color: #940B0B;
|
578 |
box-shadow: inset 0 2px 0 #940B0B;
|
579 |
color: #fff;
|
580 |
}
|
581 |
+
.wp-core-ui #eml-submit-settings-cleanup:focus,
|
582 |
.wp-core-ui .button-primary.eml-warning-button:focus {
|
583 |
-webkit-box-shadow: 0 1px 0 #D54E21, 0 0 2px 1px #F17349;
|
584 |
box-shadow: 0 1px 0 #D54E21, 0 0 2px 1px #F17349;
|
667 |
width: 70%;
|
668 |
}
|
669 |
|
670 |
+
.eml-options #poststuff h2 {
|
671 |
font-size: 23px;
|
672 |
font-weight: 400;
|
673 |
}
|
enhanced-media-library.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Enhanced Media Library
|
4 |
Plugin URI: http://wpUXsolutions.com
|
5 |
Description: This plugin will be handy for those who need to manage a lot of media files.
|
6 |
-
Version: 2.
|
7 |
Author: wpUXsolutions
|
8 |
Author URI: http://wpUXsolutions.com
|
9 |
Text Domain: enhanced-media-library
|
@@ -27,7 +27,7 @@ global $wp_version,
|
|
27 |
|
28 |
|
29 |
|
30 |
-
$wpuxss_eml_version = '2.
|
31 |
|
32 |
|
33 |
|
@@ -125,6 +125,8 @@ if ( is_admin() ) {
|
|
125 |
include_once( 'core/options-pages.php' );
|
126 |
}
|
127 |
|
|
|
|
|
128 |
|
129 |
|
130 |
/**
|
@@ -149,21 +151,50 @@ if ( ! function_exists( 'wpuxss_eml_on_init' ) ) {
|
|
149 |
$wpuxss_eml_path = plugin_dir_path( __FILE__ );
|
150 |
|
151 |
|
152 |
-
$wpuxss_eml_old_version =
|
153 |
|
154 |
if ( version_compare( $wpuxss_eml_version, $wpuxss_eml_old_version, '<>' ) ) {
|
155 |
|
156 |
-
|
157 |
|
158 |
-
if ( is_null( $wpuxss_eml_old_version ) ) {
|
159 |
-
wpuxss_eml_on_activation();
|
160 |
-
}
|
161 |
-
else {
|
162 |
wpuxss_eml_on_update();
|
163 |
}
|
164 |
}
|
165 |
|
166 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
167 |
$wpuxss_eml_taxonomies = get_option( 'wpuxss_eml_taxonomies', array() );
|
168 |
|
169 |
// register eml taxonomies
|
@@ -171,22 +202,24 @@ if ( ! function_exists( 'wpuxss_eml_on_init' ) ) {
|
|
171 |
|
172 |
if ( $params['eml_media'] && ! empty( $params['labels']['singular_name'] ) && ! empty( $params['labels']['name'] ) ) {
|
173 |
|
|
|
|
|
174 |
register_taxonomy(
|
175 |
$taxonomy,
|
176 |
'attachment',
|
177 |
array(
|
178 |
-
'labels' => $
|
179 |
'public' => true,
|
180 |
-
'show_admin_column' => $params['show_admin_column'],
|
181 |
-
'show_in_nav_menus' => $params['show_in_nav_menus'],
|
182 |
-
'hierarchical' => $params['hierarchical'],
|
183 |
'update_count_callback' => '_eml_update_attachment_term_count',
|
184 |
-
'sort' => $params['sort'],
|
185 |
-
'show_in_rest' => $params['show_in_rest'],
|
186 |
-
'query_var' => $taxonomy,
|
187 |
'rewrite' => array(
|
188 |
-
'slug' => $params['rewrite']['slug'],
|
189 |
-
'with_front' => $params['rewrite']['with_front']
|
190 |
)
|
191 |
)
|
192 |
);
|
@@ -243,10 +276,12 @@ if ( ! function_exists( 'wpuxss_eml_on_wp_loaded' ) ) {
|
|
243 |
// assign/unassign taxonomies to atachment
|
244 |
foreach ( $wpuxss_eml_taxonomies as $taxonomy => $params ) {
|
245 |
|
246 |
-
|
|
|
|
|
247 |
register_taxonomy_for_object_type( $taxonomy, 'attachment' );
|
248 |
|
249 |
-
if ( ! $params['assigned'] )
|
250 |
unregister_taxonomy_for_object_type( $taxonomy, 'attachment' );
|
251 |
}
|
252 |
|
@@ -301,6 +336,8 @@ if ( ! function_exists( 'wpuxss_eml_admin_enqueue_scripts' ) ) {
|
|
301 |
|
302 |
$media_library_mode = get_user_option( 'media_library_mode', get_current_user_id() ) ? get_user_option( 'media_library_mode', get_current_user_id() ) : 'grid';
|
303 |
|
|
|
|
|
304 |
|
305 |
// admin styles
|
306 |
wp_enqueue_style(
|
@@ -325,7 +362,6 @@ if ( ! function_exists( 'wpuxss_eml_admin_enqueue_scripts' ) ) {
|
|
325 |
);
|
326 |
|
327 |
|
328 |
-
|
329 |
// scripts for list view :: /wp-admin/upload.php
|
330 |
if ( isset( $current_screen ) && 'upload' === $current_screen->base && 'list' === $media_library_mode ) {
|
331 |
|
@@ -338,9 +374,10 @@ if ( ! function_exists( 'wpuxss_eml_admin_enqueue_scripts' ) ) {
|
|
338 |
);
|
339 |
|
340 |
$media_list_l10n = array(
|
341 |
-
'$_GET'
|
342 |
-
'uncategorized'
|
343 |
-
'reset_all_filters' => __( 'Reset All Filters', 'enhanced-media-library' )
|
|
|
344 |
);
|
345 |
|
346 |
wp_localize_script(
|
@@ -362,6 +399,17 @@ if ( ! function_exists( 'wpuxss_eml_admin_enqueue_scripts' ) ) {
|
|
362 |
$wpuxss_eml_version,
|
363 |
true
|
364 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
365 |
}
|
366 |
}
|
367 |
}
|
@@ -411,6 +459,17 @@ if ( ! function_exists( 'wpuxss_eml_enqueue_media' ) ) {
|
|
411 |
$terms_id_name_ready_for_script = wpuxss_eml_get_media_term_pairs( $terms, 'id=>name' );
|
412 |
|
413 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
414 |
if ( function_exists( 'wp_terms_checklist' ) ) {
|
415 |
|
416 |
foreach ( $media_taxonomies as $taxonomy ) {
|
@@ -483,10 +542,10 @@ if ( ! function_exists( 'wpuxss_eml_enqueue_media' ) ) {
|
|
483 |
|
484 |
|
485 |
$media_models_l10n = array(
|
486 |
-
'media_orderby' => $wpuxss_eml_lib_options['media_orderby'],
|
487 |
-
'media_order' => $wpuxss_eml_lib_options['media_order'],
|
488 |
'bulk_edit_nonce' => wp_create_nonce( 'eml-bulk-edit-nonce' ),
|
489 |
-
'natural_sort' => $wpuxss_eml_lib_options['natural_sort']
|
490 |
);
|
491 |
|
492 |
wp_localize_script(
|
@@ -503,13 +562,17 @@ if ( ! function_exists( 'wpuxss_eml_enqueue_media' ) ) {
|
|
503 |
'compat_taxonomies' => $media_taxonomy_names,
|
504 |
'compat_taxonomies_to_hide' => $compat_taxonomies_to_hide,
|
505 |
'is_tax_compat' => count( $media_taxonomy_names ) - count( $compat_taxonomies_to_hide ) > 0 ? 1 : 0,
|
506 |
-
'force_filters' => $
|
|
|
|
|
507 |
'wp_version' => $wp_version,
|
508 |
'uncategorized' => __( 'All Uncategorized', 'enhanced-media-library' ),
|
509 |
'filter_by' => __( 'Filter by', 'enhanced-media-library' ),
|
510 |
'in' => __( 'All', 'enhanced-media-library' ),
|
511 |
'not_in' => __( 'Not in a', 'enhanced-media-library' ),
|
512 |
'reset_filters' => __( 'Reset All Filters', 'enhanced-media-library' ),
|
|
|
|
|
513 |
'current_screen' => isset( $current_screen ) ? $current_screen->id : ''
|
514 |
);
|
515 |
|
@@ -554,7 +617,6 @@ if ( ! function_exists( 'wpuxss_eml_enqueue_media' ) ) {
|
|
554 |
|
555 |
|
556 |
|
557 |
-
|
558 |
/**
|
559 |
* wpuxss_eml_on_activation
|
560 |
*
|
@@ -564,83 +626,148 @@ if ( ! function_exists( 'wpuxss_eml_enqueue_media' ) ) {
|
|
564 |
|
565 |
if ( ! function_exists( 'wpuxss_eml_on_activation' ) ) {
|
566 |
|
567 |
-
function wpuxss_eml_on_activation() {
|
568 |
|
569 |
-
$
|
570 |
-
'assigned' => 1,
|
571 |
-
'eml_media' => 1,
|
572 |
-
'public' => 1,
|
573 |
-
|
574 |
-
'labels' => array(
|
575 |
-
'name' => __( 'Media Categories', 'enhanced-media-library' ),
|
576 |
-
'singular_name' => __( 'Media Category', 'enhanced-media-library' ),
|
577 |
-
'menu_name' => __( 'Media Categories', 'enhanced-media-library' ),
|
578 |
-
'all_items' => __( 'All Media Categories', 'enhanced-media-library' ),
|
579 |
-
'edit_item' => __( 'Edit Media Category', 'enhanced-media-library' ),
|
580 |
-
'view_item' => __( 'View Media Category', 'enhanced-media-library' ),
|
581 |
-
'update_item' => __( 'Update Media Category', 'enhanced-media-library' ),
|
582 |
-
'add_new_item' => __( 'Add New Media Category', 'enhanced-media-library' ),
|
583 |
-
'new_item_name' => __( 'New Media Category Name', 'enhanced-media-library' ),
|
584 |
-
'parent_item' => __( 'Parent Media Category', 'enhanced-media-library' ),
|
585 |
-
'parent_item_colon' => __( 'Parent Media Category:', 'enhanced-media-library' ),
|
586 |
-
'search_items' => __( 'Search Media Categories', 'enhanced-media-library' )
|
587 |
-
),
|
588 |
|
589 |
-
|
590 |
|
591 |
-
|
592 |
-
|
593 |
-
|
594 |
-
|
|
|
|
|
|
|
|
|
595 |
|
596 |
-
|
597 |
-
'sort' => 0,
|
598 |
-
'show_in_rest' => 0,
|
599 |
-
'rewrite' => array(
|
600 |
-
'slug' => 'media_category',
|
601 |
-
'with_front' => 1
|
602 |
-
)
|
603 |
-
);
|
604 |
|
605 |
-
|
606 |
-
|
607 |
-
|
608 |
-
|
609 |
-
'natural_sort' => 0
|
610 |
-
);
|
611 |
|
612 |
-
|
613 |
-
|
614 |
-
|
615 |
-
|
616 |
-
'show_count' => 1
|
617 |
-
);
|
618 |
|
619 |
-
$allowed_mimes = get_allowed_mime_types();
|
620 |
|
621 |
-
foreach ( wp_get_mime_types() as $type => $mime ) {
|
622 |
|
623 |
-
|
624 |
-
|
625 |
-
|
626 |
-
|
627 |
-
|
628 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
629 |
);
|
|
|
|
|
630 |
}
|
631 |
|
632 |
-
|
633 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
634 |
|
635 |
-
|
636 |
-
|
637 |
-
$wpuxss_eml_mimes['pdf']['filter'] = 1;
|
638 |
|
639 |
-
|
640 |
-
|
641 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
642 |
|
643 |
-
update_option( 'wpuxss_eml_mimes', $wpuxss_eml_mimes );
|
644 |
}
|
645 |
}
|
646 |
|
@@ -658,137 +785,122 @@ if ( ! function_exists( 'wpuxss_eml_on_update' ) ) {
|
|
658 |
function wpuxss_eml_on_update() {
|
659 |
|
660 |
$wpuxss_eml_taxonomies = get_option( 'wpuxss_eml_taxonomies', array() );
|
661 |
-
$wpuxss_eml_lib_options = get_option( 'wpuxss_eml_lib_options',
|
662 |
-
$wpuxss_eml_tax_options = get_option( 'wpuxss_eml_tax_options',
|
663 |
|
664 |
|
665 |
-
|
|
|
|
|
|
|
|
|
666 |
|
667 |
-
|
668 |
|
669 |
-
|
670 |
-
|
671 |
-
|
672 |
-
|
673 |
|
674 |
-
|
675 |
-
|
676 |
-
|
677 |
-
|
|
|
|
|
|
|
678 |
|
679 |
-
|
680 |
-
|
681 |
-
|
682 |
-
|
|
|
|
|
|
|
|
|
|
|
683 |
|
684 |
-
// since 2.2
|
685 |
-
if ( ! $eml_media && ! isset( $params['taxonomy_auto_assign'] ) ) {
|
686 |
-
$wpuxss_eml_taxonomies[$taxonomy]['taxonomy_auto_assign'] = 0;
|
687 |
-
}
|
688 |
|
689 |
-
|
690 |
-
|
691 |
-
|
|
|
692 |
}
|
693 |
-
if ( ! $eml_media ) {
|
694 |
|
695 |
-
|
696 |
-
|
697 |
-
|
698 |
-
|
699 |
-
|
700 |
-
|
701 |
-
|
702 |
-
unset( $wpuxss_eml_taxonomies[$taxonomy]['sort'] );
|
703 |
-
}
|
704 |
-
if ( isset( $params['show_admin_column'] ) ) {
|
705 |
-
unset( $wpuxss_eml_taxonomies[$taxonomy]['show_admin_column'] );
|
706 |
-
}
|
707 |
-
if ( isset( $params['show_in_nav_menus'] ) ) {
|
708 |
-
unset( $wpuxss_eml_taxonomies[$taxonomy]['show_in_nav_menus'] );
|
709 |
-
}
|
710 |
-
if ( isset( $params['show_in_rest'] ) ) {
|
711 |
-
unset( $wpuxss_eml_taxonomies[$taxonomy]['show_in_rest'] );
|
712 |
}
|
713 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
714 |
}
|
715 |
|
716 |
|
717 |
-
//
|
718 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
719 |
|
720 |
-
|
721 |
-
|
722 |
-
'edit_all_as_hierarchical' => 0,
|
723 |
-
'force_filters' => 1,
|
724 |
-
'show_count' => 1
|
725 |
-
);
|
726 |
-
}
|
727 |
-
else {
|
728 |
|
729 |
-
// since 2.3
|
730 |
-
if ( ! isset( $wpuxss_eml_tax_options['show_count'] ) )
|
731 |
-
$wpuxss_eml_tax_options['show_count'] = 1;
|
732 |
-
}
|
733 |
|
|
|
|
|
|
|
|
|
|
|
734 |
|
735 |
-
|
736 |
-
|
737 |
|
738 |
-
if ( ! is_null( $wpuxss_eml_tax_options ) ) {
|
739 |
|
740 |
-
|
741 |
-
|
742 |
-
|
743 |
-
}
|
744 |
-
elseif ( isset( $wpuxss_eml_tax_options['enhance_gallery_shortcode'] ) ) {
|
745 |
-
$wpuxss_eml_lib_options['enhance_media_shortcodes'] = $wpuxss_eml_tax_options['enhance_gallery_shortcode'];
|
746 |
-
unset( $wpuxss_eml_tax_options['enhance_gallery_shortcode'] );
|
747 |
-
}
|
748 |
-
else {
|
749 |
-
$wpuxss_eml_lib_options['enhance_media_shortcodes'] = 0;
|
750 |
-
}
|
751 |
|
752 |
-
if ( isset( $wpuxss_eml_tax_options['media_orderby'] ) ) {
|
753 |
-
$wpuxss_eml_lib_options['media_orderby'] = $wpuxss_eml_tax_options['media_orderby'];
|
754 |
-
unset( $wpuxss_eml_tax_options['media_orderby'] );
|
755 |
-
}
|
756 |
-
else {
|
757 |
-
$wpuxss_eml_lib_options['media_orderby'] = 'date';
|
758 |
-
}
|
759 |
|
760 |
-
|
761 |
-
$wpuxss_eml_lib_options['media_order'] = $wpuxss_eml_tax_options['media_order'];
|
762 |
-
unset( $wpuxss_eml_tax_options['media_order'] );
|
763 |
-
}
|
764 |
-
else {
|
765 |
-
$wpuxss_eml_lib_options['media_order'] = 'DESC';
|
766 |
-
}
|
767 |
-
}
|
768 |
-
else {
|
769 |
-
$wpuxss_eml_lib_options = array(
|
770 |
-
'enhance_media_shortcodes' => 0,
|
771 |
-
'media_orderby' => 'date',
|
772 |
-
'media_order' => 'DESC',
|
773 |
-
'natural_sort' => 0
|
774 |
-
);
|
775 |
-
}
|
776 |
-
}
|
777 |
|
778 |
-
|
779 |
-
if ( ! isset( $wpuxss_eml_lib_options['media_orderby'] ) )
|
780 |
-
$wpuxss_eml_lib_options['media_orderby'] = 'date';
|
781 |
-
if ( ! isset( $wpuxss_eml_lib_options['media_order'] ) )
|
782 |
-
$wpuxss_eml_lib_options['media_order'] = 'DESC';
|
783 |
|
784 |
-
|
785 |
-
|
786 |
-
|
|
|
787 |
|
|
|
|
|
788 |
|
789 |
-
|
790 |
-
|
791 |
-
update_option( 'wpuxss_eml_tax_options', $wpuxss_eml_tax_options );
|
792 |
}
|
793 |
}
|
794 |
|
3 |
Plugin Name: Enhanced Media Library
|
4 |
Plugin URI: http://wpUXsolutions.com
|
5 |
Description: This plugin will be handy for those who need to manage a lot of media files.
|
6 |
+
Version: 2.6
|
7 |
Author: wpUXsolutions
|
8 |
Author URI: http://wpUXsolutions.com
|
9 |
Text Domain: enhanced-media-library
|
27 |
|
28 |
|
29 |
|
30 |
+
$wpuxss_eml_version = '2.6';
|
31 |
|
32 |
|
33 |
|
125 |
include_once( 'core/options-pages.php' );
|
126 |
}
|
127 |
|
128 |
+
register_activation_hook( __FILE__, 'wpuxss_eml_on_activation' );
|
129 |
+
|
130 |
|
131 |
|
132 |
/**
|
151 |
$wpuxss_eml_path = plugin_dir_path( __FILE__ );
|
152 |
|
153 |
|
154 |
+
$wpuxss_eml_old_version = get_site_option( 'wpuxss_eml_version', null );
|
155 |
|
156 |
if ( version_compare( $wpuxss_eml_version, $wpuxss_eml_old_version, '<>' ) ) {
|
157 |
|
158 |
+
update_site_option( 'wpuxss_eml_version', $wpuxss_eml_version );
|
159 |
|
160 |
+
if ( ! is_null( $wpuxss_eml_old_version ) ) {
|
|
|
|
|
|
|
161 |
wpuxss_eml_on_update();
|
162 |
}
|
163 |
}
|
164 |
|
165 |
|
166 |
+
$plugins = get_site_option( 'active_sitewide_plugins');
|
167 |
+
|
168 |
+
if ( is_multisite() && isset($plugins[wpuxss_get_eml_basename()]) ) {
|
169 |
+
|
170 |
+
$sites = get_sites();
|
171 |
+
|
172 |
+
foreach( $sites as $site ) {
|
173 |
+
|
174 |
+
switch_to_blog( $site->blog_id );
|
175 |
+
wpuxss_eml_register_taxonomies();
|
176 |
+
restore_current_blog();
|
177 |
+
}
|
178 |
+
}
|
179 |
+
else {
|
180 |
+
wpuxss_eml_register_taxonomies();
|
181 |
+
}
|
182 |
+
}
|
183 |
+
}
|
184 |
+
|
185 |
+
|
186 |
+
|
187 |
+
/**
|
188 |
+
* wpuxss_eml_register_taxonomies
|
189 |
+
*
|
190 |
+
* @since 2.6
|
191 |
+
* @created 28/04/18
|
192 |
+
*/
|
193 |
+
|
194 |
+
if ( ! function_exists( 'wpuxss_eml_register_taxonomies' ) ) {
|
195 |
+
|
196 |
+
function wpuxss_eml_register_taxonomies() {
|
197 |
+
|
198 |
$wpuxss_eml_taxonomies = get_option( 'wpuxss_eml_taxonomies', array() );
|
199 |
|
200 |
// register eml taxonomies
|
202 |
|
203 |
if ( $params['eml_media'] && ! empty( $params['labels']['singular_name'] ) && ! empty( $params['labels']['name'] ) ) {
|
204 |
|
205 |
+
$labels = array_map( 'sanitize_text_field', $params['labels'] );
|
206 |
+
|
207 |
register_taxonomy(
|
208 |
$taxonomy,
|
209 |
'attachment',
|
210 |
array(
|
211 |
+
'labels' => $labels,
|
212 |
'public' => true,
|
213 |
+
'show_admin_column' => (bool) $params['show_admin_column'],
|
214 |
+
'show_in_nav_menus' => (bool) $params['show_in_nav_menus'],
|
215 |
+
'hierarchical' => (bool) $params['hierarchical'],
|
216 |
'update_count_callback' => '_eml_update_attachment_term_count',
|
217 |
+
'sort' => (bool) $params['sort'],
|
218 |
+
'show_in_rest' => (bool) $params['show_in_rest'],
|
219 |
+
'query_var' => sanitize_key( $taxonomy ),
|
220 |
'rewrite' => array(
|
221 |
+
'slug' => wpuxss_eml_sanitize_slug( $params['rewrite']['slug'] ),
|
222 |
+
'with_front' => (bool) $params['rewrite']['with_front']
|
223 |
)
|
224 |
)
|
225 |
);
|
276 |
// assign/unassign taxonomies to atachment
|
277 |
foreach ( $wpuxss_eml_taxonomies as $taxonomy => $params ) {
|
278 |
|
279 |
+
$taxonomy = sanitize_key($taxonomy);
|
280 |
+
|
281 |
+
if ( (bool) $params['assigned'] )
|
282 |
register_taxonomy_for_object_type( $taxonomy, 'attachment' );
|
283 |
|
284 |
+
if ( ! (bool) $params['assigned'] )
|
285 |
unregister_taxonomy_for_object_type( $taxonomy, 'attachment' );
|
286 |
}
|
287 |
|
336 |
|
337 |
$media_library_mode = get_user_option( 'media_library_mode', get_current_user_id() ) ? get_user_option( 'media_library_mode', get_current_user_id() ) : 'grid';
|
338 |
|
339 |
+
$wpuxss_eml_lib_options = get_option('wpuxss_eml_lib_options');
|
340 |
+
|
341 |
|
342 |
// admin styles
|
343 |
wp_enqueue_style(
|
362 |
);
|
363 |
|
364 |
|
|
|
365 |
// scripts for list view :: /wp-admin/upload.php
|
366 |
if ( isset( $current_screen ) && 'upload' === $current_screen->base && 'list' === $media_library_mode ) {
|
367 |
|
374 |
);
|
375 |
|
376 |
$media_list_l10n = array(
|
377 |
+
'$_GET' => wp_json_encode($_GET),
|
378 |
+
'uncategorized' => __( 'All Uncategorized', 'enhanced-media-library' ),
|
379 |
+
'reset_all_filters' => __( 'Reset All Filters', 'enhanced-media-library' ),
|
380 |
+
'filters_to_show' => array_map( 'sanitize_key', $wpuxss_eml_lib_options['filters_to_show'] )
|
381 |
);
|
382 |
|
383 |
wp_localize_script(
|
399 |
$wpuxss_eml_version,
|
400 |
true
|
401 |
);
|
402 |
+
|
403 |
+
$media_grid_l10n = array(
|
404 |
+
'grid_show_caption' => (bool) $wpuxss_eml_lib_options['grid_show_caption'],
|
405 |
+
'grid_caption_type' => sanitize_key( $wpuxss_eml_lib_options['grid_caption_type'] ),
|
406 |
+
);
|
407 |
+
|
408 |
+
wp_localize_script(
|
409 |
+
'wpuxss-eml-media-grid-script',
|
410 |
+
'wpuxss_eml_media_grid_l10n',
|
411 |
+
$media_grid_l10n
|
412 |
+
);
|
413 |
}
|
414 |
}
|
415 |
}
|
459 |
$terms_id_name_ready_for_script = wpuxss_eml_get_media_term_pairs( $terms, 'id=>name' );
|
460 |
|
461 |
|
462 |
+
$users = current_user_can( 'manage_options' ) ? get_users() : array();
|
463 |
+
$users_ready_for_script = array();
|
464 |
+
|
465 |
+
foreach( $users as $user ) {
|
466 |
+
$users_ready_for_script[] = array(
|
467 |
+
'user_id' => $user->ID,
|
468 |
+
'user_name' => $user->data->display_name
|
469 |
+
);
|
470 |
+
}
|
471 |
+
|
472 |
+
|
473 |
if ( function_exists( 'wp_terms_checklist' ) ) {
|
474 |
|
475 |
foreach ( $media_taxonomies as $taxonomy ) {
|
542 |
|
543 |
|
544 |
$media_models_l10n = array(
|
545 |
+
'media_orderby' => sanitize_text_field( $wpuxss_eml_lib_options['media_orderby'] ),
|
546 |
+
'media_order' => strtoupper( sanitize_text_field( $wpuxss_eml_lib_options['media_order'] ) ),
|
547 |
'bulk_edit_nonce' => wp_create_nonce( 'eml-bulk-edit-nonce' ),
|
548 |
+
'natural_sort' => (bool) $wpuxss_eml_lib_options['natural_sort']
|
549 |
);
|
550 |
|
551 |
wp_localize_script(
|
562 |
'compat_taxonomies' => $media_taxonomy_names,
|
563 |
'compat_taxonomies_to_hide' => $compat_taxonomies_to_hide,
|
564 |
'is_tax_compat' => count( $media_taxonomy_names ) - count( $compat_taxonomies_to_hide ) > 0 ? 1 : 0,
|
565 |
+
'force_filters' => (bool) $wpuxss_eml_lib_options['force_filters'],
|
566 |
+
'filters_to_show' => array_map( 'sanitize_key', $wpuxss_eml_lib_options['filters_to_show'] ),
|
567 |
+
'users' => $users_ready_for_script,
|
568 |
'wp_version' => $wp_version,
|
569 |
'uncategorized' => __( 'All Uncategorized', 'enhanced-media-library' ),
|
570 |
'filter_by' => __( 'Filter by', 'enhanced-media-library' ),
|
571 |
'in' => __( 'All', 'enhanced-media-library' ),
|
572 |
'not_in' => __( 'Not in a', 'enhanced-media-library' ),
|
573 |
'reset_filters' => __( 'Reset All Filters', 'enhanced-media-library' ),
|
574 |
+
'author' => __( 'author', 'enhanced-media-library' ),
|
575 |
+
'authors' => __( 'authors', 'enhanced-media-library' ),
|
576 |
'current_screen' => isset( $current_screen ) ? $current_screen->id : ''
|
577 |
);
|
578 |
|
617 |
|
618 |
|
619 |
|
|
|
620 |
/**
|
621 |
* wpuxss_eml_on_activation
|
622 |
*
|
626 |
|
627 |
if ( ! function_exists( 'wpuxss_eml_on_activation' ) ) {
|
628 |
|
629 |
+
function wpuxss_eml_on_activation( $network_wide ) {
|
630 |
|
631 |
+
if ( $network_wide ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
632 |
|
633 |
+
foreach( get_sites() as $site ) {
|
634 |
|
635 |
+
switch_to_blog( $site->blog_id );
|
636 |
+
wpuxss_eml_set_options();
|
637 |
+
restore_current_blog();
|
638 |
+
}
|
639 |
+
}
|
640 |
+
else {
|
641 |
+
wpuxss_eml_set_options();
|
642 |
+
}
|
643 |
|
644 |
+
if ( is_multisite() && null === get_site_option( 'wpuxss_eml_network_options', null ) ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
645 |
|
646 |
+
$wpuxss_eml_network_options = array(
|
647 |
+
'media_settings' => 1,
|
648 |
+
'utilities' => 1
|
649 |
+
);
|
|
|
|
|
650 |
|
651 |
+
update_site_option( 'wpuxss_eml_network_options', $wpuxss_eml_network_options );
|
652 |
+
}
|
653 |
+
}
|
654 |
+
}
|
|
|
|
|
655 |
|
|
|
656 |
|
|
|
657 |
|
658 |
+
/**
|
659 |
+
* wpuxss_eml_set_options
|
660 |
+
*
|
661 |
+
* @since 2.6
|
662 |
+
* @created 02/05/18
|
663 |
+
*/
|
664 |
+
|
665 |
+
if ( ! function_exists( 'wpuxss_eml_set_options' ) ) {
|
666 |
+
|
667 |
+
function wpuxss_eml_set_options() {
|
668 |
+
|
669 |
+
if ( null === get_option( 'wpuxss_eml_taxonomies', null ) ) {
|
670 |
+
|
671 |
+
$wpuxss_eml_taxonomies['media_category'] = array(
|
672 |
+
'assigned' => 1,
|
673 |
+
'eml_media' => 1,
|
674 |
+
'public' => 1,
|
675 |
+
|
676 |
+
'labels' => array(
|
677 |
+
'name' => __( 'Media Categories', 'enhanced-media-library' ),
|
678 |
+
'singular_name' => __( 'Media Category', 'enhanced-media-library' ),
|
679 |
+
'menu_name' => __( 'Media Categories', 'enhanced-media-library' ),
|
680 |
+
'all_items' => __( 'All Media Categories', 'enhanced-media-library' ),
|
681 |
+
'edit_item' => __( 'Edit Media Category', 'enhanced-media-library' ),
|
682 |
+
'view_item' => __( 'View Media Category', 'enhanced-media-library' ),
|
683 |
+
'update_item' => __( 'Update Media Category', 'enhanced-media-library' ),
|
684 |
+
'add_new_item' => __( 'Add New Media Category', 'enhanced-media-library' ),
|
685 |
+
'new_item_name' => __( 'New Media Category Name', 'enhanced-media-library' ),
|
686 |
+
'parent_item' => __( 'Parent Media Category', 'enhanced-media-library' ),
|
687 |
+
'parent_item_colon' => __( 'Parent Media Category:', 'enhanced-media-library' ),
|
688 |
+
'search_items' => __( 'Search Media Categories', 'enhanced-media-library' )
|
689 |
+
),
|
690 |
+
|
691 |
+
'hierarchical' => 1,
|
692 |
+
|
693 |
+
'show_admin_column' => 1,
|
694 |
+
'admin_filter' => 1, // list view filter
|
695 |
+
'media_uploader_filter' => 1, // grid view filter
|
696 |
+
'media_popup_taxonomy_edit' => 1,
|
697 |
+
|
698 |
+
'show_in_nav_menus' => 1,
|
699 |
+
'sort' => 0,
|
700 |
+
'show_in_rest' => 0,
|
701 |
+
'rewrite' => array(
|
702 |
+
'slug' => 'media_category',
|
703 |
+
'with_front' => 1
|
704 |
+
)
|
705 |
);
|
706 |
+
|
707 |
+
update_option( 'wpuxss_eml_taxonomies', $wpuxss_eml_taxonomies );
|
708 |
}
|
709 |
|
710 |
+
if ( null === get_option( 'wpuxss_eml_lib_options', null ) ) {
|
711 |
+
|
712 |
+
$wpuxss_eml_lib_options = array(
|
713 |
+
'enhance_media_shortcodes' => 0,
|
714 |
+
'media_orderby' => 'date',
|
715 |
+
'media_order' => 'DESC',
|
716 |
+
'natural_sort' => 0,
|
717 |
+
'force_filters' => 1, // since 2.5
|
718 |
+
'filters_to_show' => array( // since 2.5
|
719 |
+
'types',
|
720 |
+
'dates',
|
721 |
+
'taxonomies'
|
722 |
+
),
|
723 |
+
'show_count' => 1,
|
724 |
+
'include_children' => 1, // since 2.6
|
725 |
+
'grid_show_caption' => 0, // since 2.6
|
726 |
+
'grid_caption_type' => 'title', // since 2.6
|
727 |
+
'search_in' => array( // since 2.6
|
728 |
+
'titles',
|
729 |
+
'captions',
|
730 |
+
'descriptions'
|
731 |
+
)
|
732 |
+
);
|
733 |
|
734 |
+
update_option( 'wpuxss_eml_lib_options', $wpuxss_eml_lib_options );
|
735 |
+
}
|
|
|
736 |
|
737 |
+
if ( null === get_option( 'wpuxss_eml_tax_options', null ) ) {
|
738 |
+
|
739 |
+
$wpuxss_eml_tax_options = array(
|
740 |
+
'tax_archives' => 0, // since 2.6
|
741 |
+
'edit_all_as_hierarchical' => 0
|
742 |
+
);
|
743 |
+
|
744 |
+
update_option( 'wpuxss_eml_tax_options', $wpuxss_eml_tax_options );
|
745 |
+
}
|
746 |
+
|
747 |
+
if ( null === get_option( 'wpuxss_eml_mimes', null ) ) {
|
748 |
+
|
749 |
+
$allowed_mimes = get_allowed_mime_types();
|
750 |
+
$default_mimes = array();
|
751 |
+
|
752 |
+
foreach ( wp_get_mime_types() as $type => $mime ) {
|
753 |
+
|
754 |
+
$wpuxss_eml_mimes[$type] = $default_mimes[$type] = array(
|
755 |
+
'mime' => $mime,
|
756 |
+
'singular' => $mime,
|
757 |
+
'plural' => $mime,
|
758 |
+
'filter' => 0,
|
759 |
+
'upload' => isset($allowed_mimes[$type]) ? 1 : 0
|
760 |
+
);
|
761 |
+
}
|
762 |
+
|
763 |
+
$wpuxss_eml_mimes['pdf']['singular'] = 'PDF';
|
764 |
+
$wpuxss_eml_mimes['pdf']['plural'] = 'PDFs';
|
765 |
+
$wpuxss_eml_mimes['pdf']['filter'] = 1;
|
766 |
+
|
767 |
+
update_option( 'wpuxss_eml_mimes', $wpuxss_eml_mimes );
|
768 |
+
update_option( 'wpuxss_eml_mimes_backup', $default_mimes );
|
769 |
+
}
|
770 |
|
|
|
771 |
}
|
772 |
}
|
773 |
|
785 |
function wpuxss_eml_on_update() {
|
786 |
|
787 |
$wpuxss_eml_taxonomies = get_option( 'wpuxss_eml_taxonomies', array() );
|
788 |
+
$wpuxss_eml_lib_options = get_option( 'wpuxss_eml_lib_options', array() );
|
789 |
+
$wpuxss_eml_tax_options = get_option( 'wpuxss_eml_tax_options', array() );
|
790 |
|
791 |
|
792 |
+
// per-taxonomy settings
|
793 |
+
$media_taxonomy_args_defaults = array(
|
794 |
+
'assigned' => 0,
|
795 |
+
'eml_media' => 1,
|
796 |
+
'media_only' => 0,
|
797 |
|
798 |
+
'hierarchical' => 1,
|
799 |
|
800 |
+
'show_admin_column' => 0,
|
801 |
+
'admin_filter' => 0,
|
802 |
+
'media_uploader_filter' => 0,
|
803 |
+
'media_popup_taxonomy_edit' => 0,
|
804 |
|
805 |
+
'show_in_nav_menus' => 0,
|
806 |
+
'sort' => 0,
|
807 |
+
'show_in_rest' => 0,
|
808 |
+
'rewrite' => array(
|
809 |
+
'with_front' => 1
|
810 |
+
)
|
811 |
+
);
|
812 |
|
813 |
+
$non_media_taxonomy_args_defaults = array(
|
814 |
+
'assigned' => 0,
|
815 |
+
'eml_media' => 0,
|
816 |
+
'media_only' => 0,
|
817 |
+
'admin_filter' => 0,
|
818 |
+
'media_uploader_filter' => 0,
|
819 |
+
'media_popup_taxonomy_edit' => 0,
|
820 |
+
'taxonomy_auto_assign' => 0
|
821 |
+
);
|
822 |
|
|
|
|
|
|
|
|
|
823 |
|
824 |
+
foreach( $wpuxss_eml_taxonomies as $taxonomy => $params ) {
|
825 |
+
|
826 |
+
if ( ! isset( $params['eml_media'] ) ) {
|
827 |
+
$wpuxss_eml_taxonomies[$taxonomy]['eml_media'] = 0;
|
828 |
}
|
|
|
829 |
|
830 |
+
if ( (bool) $wpuxss_eml_taxonomies[$taxonomy]['eml_media'] ) {
|
831 |
+
|
832 |
+
$wpuxss_eml_taxonomies[$taxonomy] = array_intersect_key( $params, $media_taxonomy_args_defaults);
|
833 |
+
$wpuxss_eml_taxonomies[$taxonomy] = array_merge( $media_taxonomy_args_defaults, $params );
|
834 |
+
|
835 |
+
if ( ! isset( $params['rewrite']['slug'] ) || empty( $params['rewrite']['slug'] ) ) {
|
836 |
+
$wpuxss_eml_taxonomies[$taxonomy]['rewrite']['slug'] = $taxonomy;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
837 |
}
|
838 |
}
|
839 |
+
|
840 |
+
if ( ! (bool) $wpuxss_eml_taxonomies[$taxonomy]['eml_media'] ) {
|
841 |
+
|
842 |
+
$wpuxss_eml_taxonomies[$taxonomy] = array_intersect_key( $params, $non_media_taxonomy_args_defaults);
|
843 |
+
$wpuxss_eml_taxonomies[$taxonomy] = array_merge( $non_media_taxonomy_args_defaults, $params );
|
844 |
+
}
|
845 |
}
|
846 |
|
847 |
|
848 |
+
// media library settings
|
849 |
+
$eml_lib_options_defaults = array(
|
850 |
+
'enhance_media_shortcodes' => isset( $wpuxss_eml_tax_options['enhance_media_shortcodes'] ) ? (bool) $wpuxss_eml_tax_options['enhance_media_shortcodes'] : ( isset( $wpuxss_eml_tax_options['enhance_gallery_shortcode'] ) ? (bool) $wpuxss_eml_tax_options['enhance_gallery_shortcode'] : 0 ),
|
851 |
+
'media_orderby' => isset( $wpuxss_eml_tax_options['media_orderby'] ) ? sanitize_text_field( $wpuxss_eml_tax_options['media_orderby'] ) : 'date',
|
852 |
+
'media_order' => isset( $wpuxss_eml_tax_options['media_order'] ) ? strtoupper( sanitize_text_field( $wpuxss_eml_tax_options['media_order'] ) ) : 'DESC',
|
853 |
+
'natural_sort' => 0,
|
854 |
+
'force_filters' => isset( $wpuxss_eml_tax_options['force_filters'] ) ? (bool) $wpuxss_eml_tax_options['force_filters'] : 1,
|
855 |
+
'filters_to_show' => array(
|
856 |
+
'types',
|
857 |
+
'dates',
|
858 |
+
'taxonomies'
|
859 |
+
),
|
860 |
+
'show_count' => isset( $wpuxss_eml_tax_options['show_count'] ) ? (bool) $wpuxss_eml_tax_options['show_count'] : 1,
|
861 |
+
'include_children' => 1,
|
862 |
+
'grid_show_caption' => 0,
|
863 |
+
'grid_caption_type' => 'title',
|
864 |
+
'search_in' => array(
|
865 |
+
'titles',
|
866 |
+
'captions',
|
867 |
+
'descriptions'
|
868 |
+
)
|
869 |
+
);
|
870 |
|
871 |
+
$wpuxss_eml_lib_options = array_intersect_key( $wpuxss_eml_lib_options, $eml_lib_options_defaults );
|
872 |
+
$wpuxss_eml_lib_options = array_merge( $eml_lib_options_defaults, $wpuxss_eml_lib_options );
|
|
|
|
|
|
|
|
|
|
|
|
|
873 |
|
|
|
|
|
|
|
|
|
874 |
|
875 |
+
// media taxonomies settings
|
876 |
+
$eml_tax_options_defaults = array(
|
877 |
+
'tax_archives' => 0, // since 2.6
|
878 |
+
'edit_all_as_hierarchical' => 0
|
879 |
+
);
|
880 |
|
881 |
+
$wpuxss_eml_tax_options = array_intersect_key( $wpuxss_eml_tax_options, $eml_tax_options_defaults );
|
882 |
+
$wpuxss_eml_tax_options = array_merge( $eml_tax_options_defaults, $wpuxss_eml_tax_options );
|
883 |
|
|
|
884 |
|
885 |
+
update_option( 'wpuxss_eml_taxonomies', $wpuxss_eml_taxonomies );
|
886 |
+
update_option( 'wpuxss_eml_lib_options', $wpuxss_eml_lib_options );
|
887 |
+
update_option( 'wpuxss_eml_tax_options', $wpuxss_eml_tax_options );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
888 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
889 |
|
890 |
+
if ( is_multisite() ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
891 |
|
892 |
+
$wpuxss_eml_network_options = get_site_option( 'wpuxss_eml_network_options', array() );
|
|
|
|
|
|
|
|
|
893 |
|
894 |
+
$wpuxss_eml_network_options_defaults = array(
|
895 |
+
'media_settings' => 1,
|
896 |
+
'utilities' => 1
|
897 |
+
);
|
898 |
|
899 |
+
$wpuxss_eml_network_options = array_intersect_key( $wpuxss_eml_network_options, $wpuxss_eml_network_options_defaults );
|
900 |
+
$wpuxss_eml_network_options = array_merge( $wpuxss_eml_network_options_defaults, $wpuxss_eml_network_options );
|
901 |
|
902 |
+
update_site_option( 'wpuxss_eml_network_options', $wpuxss_eml_network_options );
|
903 |
+
}
|
|
|
904 |
}
|
905 |
}
|
906 |
|
js/eml-media-grid.js
CHANGED
@@ -5,12 +5,9 @@ window.wp = window.wp || {};
|
|
5 |
( function( $, _ ) {
|
6 |
|
7 |
var media = wp.media,
|
8 |
-
l10n = media.view.l10n,
|
9 |
original = {};
|
10 |
|
11 |
|
12 |
-
|
13 |
-
|
14 |
_.extend( media.view.Attachment.Library.prototype, {
|
15 |
|
16 |
buttons: {
|
5 |
( function( $, _ ) {
|
6 |
|
7 |
var media = wp.media,
|
|
|
8 |
original = {};
|
9 |
|
10 |
|
|
|
|
|
11 |
_.extend( media.view.Attachment.Library.prototype, {
|
12 |
|
13 |
buttons: {
|
js/eml-media-list.js
CHANGED
@@ -6,8 +6,8 @@
|
|
6 |
|
7 |
$( document ).ready( function() {
|
8 |
|
9 |
-
var $
|
10 |
-
$
|
11 |
$taxFilters = $('select.eml-taxonomy-filters'),
|
12 |
$resetFilters,
|
13 |
$_GET = $.parseJSON( l10n.$_GET );
|
@@ -16,24 +16,19 @@
|
|
16 |
// Add "All Uncategorized" option
|
17 |
$mainFilter.append('<option value="uncategorized">'+l10n.uncategorized+'</option>');
|
18 |
|
|
|
19 |
// Add "Reset All Filters" button
|
20 |
-
$
|
21 |
-
|
|
|
|
|
22 |
|
23 |
if ( 'uncategorized' == $_GET['attachment-filter'] ) {
|
24 |
-
$mainFilter.val(
|
25 |
}
|
26 |
|
27 |
|
28 |
-
|
29 |
-
! $dataFilter.prop( 'selectedIndex' ) &&
|
30 |
-
! $taxFilters.filter( function() { return $(this).prop( 'selectedIndex' ) } ).get().length ) {
|
31 |
-
|
32 |
-
$resetFilters.prop( 'disabled', true );
|
33 |
-
}
|
34 |
-
else {
|
35 |
-
$resetFilters.prop( 'disabled', false );
|
36 |
-
}
|
37 |
|
38 |
|
39 |
|
@@ -48,10 +43,7 @@
|
|
48 |
}, resetFilters );
|
49 |
|
50 |
$( document ).on( 'click', '#eml-reset-filters-query-submit', function() {
|
51 |
-
|
52 |
-
$mainFilter.prop( 'selectedIndex', 0 );
|
53 |
-
$taxFilters.prop( 'selectedIndex', 0 );
|
54 |
-
$dataFilter.prop( 'selectedIndex', 0 );
|
55 |
});
|
56 |
|
57 |
});
|
6 |
|
7 |
$( document ).ready( function() {
|
8 |
|
9 |
+
var $filters = $('select.attachment-filters, select#filter-by-date'),
|
10 |
+
$mainFilter = $('select[name="attachment-filter"]'),
|
11 |
$taxFilters = $('select.eml-taxonomy-filters'),
|
12 |
$resetFilters,
|
13 |
$_GET = $.parseJSON( l10n.$_GET );
|
16 |
// Add "All Uncategorized" option
|
17 |
$mainFilter.append('<option value="uncategorized">'+l10n.uncategorized+'</option>');
|
18 |
|
19 |
+
|
20 |
// Add "Reset All Filters" button
|
21 |
+
if ( $filters.length > 1 ) {
|
22 |
+
$('#post-query-submit').after('<input type="submit" name="filter_action" id="eml-reset-filters-query-submit" class="button" value="'+l10n.reset_all_filters+'">');
|
23 |
+
$resetFilters = $('#eml-reset-filters-query-submit');
|
24 |
+
}
|
25 |
|
26 |
if ( 'uncategorized' == $_GET['attachment-filter'] ) {
|
27 |
+
$mainFilter.val('uncategorized');
|
28 |
}
|
29 |
|
30 |
|
31 |
+
$resetFilters.prop( 'disabled', ! $filters.filter( function() { return $(this).prop( 'selectedIndex' ) } ).get().length );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
|
33 |
|
34 |
|
43 |
}, resetFilters );
|
44 |
|
45 |
$( document ).on( 'click', '#eml-reset-filters-query-submit', function() {
|
46 |
+
$filters.prop( 'selectedIndex', 0 );
|
|
|
|
|
|
|
47 |
});
|
48 |
|
49 |
});
|
js/eml-media-models.js
CHANGED
@@ -7,12 +7,13 @@ window.eml = window.eml || { l10n: {} };
|
|
7 |
var media = wp.media,
|
8 |
Attachments = media.model.Attachments,
|
9 |
Query = media.model.Query,
|
|
|
10 |
original = {};
|
11 |
|
12 |
|
13 |
|
14 |
_.extend( eml.l10n, wpuxss_eml_media_models_l10n );
|
15 |
-
|
16 |
|
17 |
|
18 |
original.Attachment = {
|
@@ -74,6 +75,7 @@ window.eml = window.eml || { l10n: {} };
|
|
74 |
|
75 |
var nonce = wp.media.model.settings.post.nonce || eml.l10n.bulk_edit_nonce;
|
76 |
|
|
|
77 |
if ( 'menuOrder' !== this.props.get('orderby') ) {
|
78 |
return;
|
79 |
}
|
@@ -223,8 +225,8 @@ window.eml = window.eml || { l10n: {} };
|
|
223 |
|
224 |
return new Attachments( null, {
|
225 |
props: _.extend( _.defaults( props || {}, {
|
226 |
-
orderby: eml.l10n.media_orderby
|
227 |
-
order: eml.l10n.media_order
|
228 |
} ), { query: true } )
|
229 |
});
|
230 |
};
|
7 |
var media = wp.media,
|
8 |
Attachments = media.model.Attachments,
|
9 |
Query = media.model.Query,
|
10 |
+
l10n_defaults = { media_orderby: 'date', media_order: 'DESC' },
|
11 |
original = {};
|
12 |
|
13 |
|
14 |
|
15 |
_.extend( eml.l10n, wpuxss_eml_media_models_l10n );
|
16 |
+
_.defaults( eml.l10n, l10n_defaults );
|
17 |
|
18 |
|
19 |
original.Attachment = {
|
75 |
|
76 |
var nonce = wp.media.model.settings.post.nonce || eml.l10n.bulk_edit_nonce;
|
77 |
|
78 |
+
|
79 |
if ( 'menuOrder' !== this.props.get('orderby') ) {
|
80 |
return;
|
81 |
}
|
225 |
|
226 |
return new Attachments( null, {
|
227 |
props: _.extend( _.defaults( props || {}, {
|
228 |
+
orderby: eml.l10n.media_orderby,
|
229 |
+
order: eml.l10n.media_order
|
230 |
} ), { query: true } )
|
231 |
});
|
232 |
};
|
js/eml-media-views.js
CHANGED
@@ -6,11 +6,12 @@ window.eml = window.eml || { l10n: {} };
|
|
6 |
|
7 |
var media = wp.media,
|
8 |
l10n = media.view.l10n,
|
|
|
9 |
original = {};
|
10 |
|
11 |
|
12 |
-
|
13 |
_.extend( eml.l10n, wpuxss_eml_media_views_l10n );
|
|
|
14 |
|
15 |
|
16 |
|
@@ -351,8 +352,8 @@ window.eml = window.eml || { l10n: {} };
|
|
351 |
|
352 |
_.each( self.options.termList || {}, function( term, key ) {
|
353 |
|
354 |
-
var term_id = term
|
355 |
-
term_name = $("<div/>").html(term
|
356 |
|
357 |
filters[ term_id ] = {
|
358 |
text: term_name,
|
@@ -409,6 +410,50 @@ window.eml = window.eml || { l10n: {} };
|
|
409 |
|
410 |
|
411 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
412 |
media.view.Button.resetFilters = media.view.Button.extend({
|
413 |
|
414 |
id: 'reset-all-filters',
|
@@ -624,7 +669,14 @@ window.eml = window.eml || { l10n: {} };
|
|
624 |
$attachments = $browser.find('.attachments'),
|
625 |
$uploader = $browser.find('.uploader-inline'),
|
626 |
$toolbar = $browser.find('.media-toolbar'),
|
627 |
-
$messages = $('.eml-media-css .updated:visible, .eml-media-css .error:visible, .eml-media-css .notice:visible')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
628 |
|
629 |
|
630 |
if ( ! this.controller.isModeActive( 'select' ) &&
|
@@ -646,6 +698,7 @@ window.eml = window.eml || { l10n: {} };
|
|
646 |
{
|
647 |
var messagesOuterHeight = 0;
|
648 |
|
|
|
649 |
if ( ! _.isUndefined( $messages ) )
|
650 |
{
|
651 |
$messages.each( function() {
|
@@ -664,7 +717,9 @@ window.eml = window.eml || { l10n: {} };
|
|
664 |
|
665 |
var LibraryViewSwitcher, Filters, toolbarOptions,
|
666 |
self = this,
|
667 |
-
i = 1
|
|
|
|
|
668 |
|
669 |
toolbarOptions = {
|
670 |
controller: this.controller
|
@@ -688,6 +743,21 @@ window.eml = window.eml || { l10n: {} };
|
|
688 |
}) );
|
689 |
|
690 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
691 |
if ( -1 !== $.inArray( this.options.filters, [ 'uploaded', 'all' ] ) ||
|
692 |
( parseInt( eml.l10n.force_filters ) &&
|
693 |
! this.controller.isModeActive( 'eml-bulk-edit' ) &&
|
@@ -697,45 +767,35 @@ window.eml = window.eml || { l10n: {} };
|
|
697 |
'customize' === eml.l10n.current_screen ||
|
698 |
'widgets' === eml.l10n.current_screen ) {
|
699 |
|
700 |
-
if ( this.controller.isModeActive( 'grid' ) ||
|
701 |
-
this.controller.isModeActive( 'eml-grid' ) ) {
|
702 |
-
|
703 |
-
LibraryViewSwitcher = media.View.extend({
|
704 |
-
className: 'view-switch media-grid-view-switch',
|
705 |
-
template: media.template( 'media-library-view-switcher')
|
706 |
-
});
|
707 |
-
|
708 |
-
this.toolbar.set( 'libraryViewSwitcher', new LibraryViewSwitcher({
|
709 |
-
controller: this.controller,
|
710 |
-
priority: -90
|
711 |
-
}).render() );
|
712 |
-
}
|
713 |
|
714 |
-
|
715 |
-
value: l10n.filterByType,
|
716 |
-
attributes: {
|
717 |
-
'for': 'media-attachment-filters'
|
718 |
-
},
|
719 |
-
priority: -80
|
720 |
-
}).render() );
|
721 |
|
722 |
-
|
723 |
-
|
724 |
-
|
725 |
-
|
|
|
726 |
priority: -80
|
727 |
}).render() );
|
728 |
-
} else {
|
729 |
-
Filters = new media.view.AttachmentFilters.All({
|
730 |
-
controller: this.controller,
|
731 |
-
model: this.collection.props,
|
732 |
-
priority: -80
|
733 |
-
});
|
734 |
|
735 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
736 |
}
|
737 |
|
738 |
-
if ( eml.l10n.wp_version >= '4.0' ) {
|
739 |
|
740 |
this.toolbar.set( 'dateFilterLabel', new media.view.Label({
|
741 |
value: l10n.filterByDate,
|
@@ -751,69 +811,90 @@ window.eml = window.eml || { l10n: {} };
|
|
751 |
}).render() );
|
752 |
}
|
753 |
|
|
|
754 |
|
755 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
756 |
|
757 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
758 |
|
759 |
-
self.toolbar.set( taxonomy+'FilterLabel', new media.view.Label({
|
760 |
-
value: eml.l10n.filter_by + values.singular_name,
|
761 |
-
attributes: {
|
762 |
-
'for': 'media-attachment-' + taxonomy + '-filters',
|
763 |
-
},
|
764 |
-
priority: -70 + i++
|
765 |
-
}).render() );
|
766 |
-
self.toolbar.set( taxonomy+'-filter', new media.view.AttachmentFilters.Taxonomy({
|
767 |
-
controller: self.controller,
|
768 |
-
model: self.collection.props,
|
769 |
-
priority: -70 + i++,
|
770 |
-
taxonomy: taxonomy,
|
771 |
-
termList: values.term_list,
|
772 |
-
singularName: values.singular_name,
|
773 |
-
pluralName: values.plural_name
|
774 |
-
}).render() );
|
775 |
-
}
|
776 |
-
});
|
777 |
|
778 |
-
|
|
|
|
|
779 |
controller: this.controller,
|
780 |
-
text:
|
781 |
disabled: true,
|
782 |
priority: -70 + i++
|
783 |
}).render() );
|
784 |
|
785 |
-
|
786 |
-
|
787 |
-
|
788 |
-
|
789 |
-
|
790 |
-
|
791 |
-
|
792 |
-
|
|
|
793 |
|
794 |
-
|
|
|
795 |
filters: Filters,
|
796 |
style: 'primary',
|
797 |
-
// className: 'delete-selected-button',
|
798 |
disabled: true,
|
799 |
-
text:
|
800 |
controller: this.controller,
|
801 |
-
priority: -
|
802 |
}).render() );
|
803 |
-
|
804 |
-
if ( media.view.settings.mediaTrash ) {
|
805 |
-
this.toolbar.set( 'emlDeleteSelectedPermanentlyButton', new media.view.Button.DeleteSelectedPermanently({
|
806 |
-
filters: Filters,
|
807 |
-
style: 'primary',
|
808 |
-
disabled: true,
|
809 |
-
text: l10n.deleteSelected,
|
810 |
-
controller: this.controller,
|
811 |
-
priority: -55
|
812 |
-
}).render() );
|
813 |
-
}
|
814 |
}
|
815 |
-
|
816 |
-
} // endif
|
817 |
|
818 |
|
819 |
// in case it is not eml-grid but the original grid somewhere
|
6 |
|
7 |
var media = wp.media,
|
8 |
l10n = media.view.l10n,
|
9 |
+
l10n_defaults = { media_orderby: 'date', media_order: 'DESC' },
|
10 |
original = {};
|
11 |
|
12 |
|
|
|
13 |
_.extend( eml.l10n, wpuxss_eml_media_views_l10n );
|
14 |
+
_.defaults( eml.l10n, l10n_defaults );
|
15 |
|
16 |
|
17 |
|
352 |
|
353 |
_.each( self.options.termList || {}, function( term, key ) {
|
354 |
|
355 |
+
var term_id = term.term_id,
|
356 |
+
term_name = $("<div/>").html(term.term_name).text();
|
357 |
|
358 |
filters[ term_id ] = {
|
359 |
text: term_name,
|
410 |
|
411 |
|
412 |
|
413 |
+
/**
|
414 |
+
* wp.media.view.AttachmentFilters.Authors
|
415 |
+
*
|
416 |
+
*/
|
417 |
+
media.view.AttachmentFilters.Authors = media.view.AttachmentFilters.extend({
|
418 |
+
|
419 |
+
createFilters: function() {
|
420 |
+
|
421 |
+
var filters = {},
|
422 |
+
self = this;
|
423 |
+
|
424 |
+
|
425 |
+
_.each( self.options.users || {}, function( user, key ) {
|
426 |
+
|
427 |
+
var user_id = user.user_id,
|
428 |
+
user_name = user.user_name;
|
429 |
+
|
430 |
+
filters[ user_id ] = {
|
431 |
+
text: user_name,
|
432 |
+
props: {
|
433 |
+
author : user_id,
|
434 |
+
orderby : eml.l10n.media_orderby,
|
435 |
+
order : eml.l10n.media_order
|
436 |
+
},
|
437 |
+
priority: key+2
|
438 |
+
};
|
439 |
+
});
|
440 |
+
|
441 |
+
filters.all = {
|
442 |
+
text: eml.l10n.in + ' ' + eml.l10n.authors,
|
443 |
+
props: {
|
444 |
+
author : null,
|
445 |
+
orderby : eml.l10n.media_orderby,
|
446 |
+
order : eml.l10n.media_order
|
447 |
+
},
|
448 |
+
priority: 1
|
449 |
+
};
|
450 |
+
|
451 |
+
this.filters = filters;
|
452 |
+
}
|
453 |
+
});
|
454 |
+
|
455 |
+
|
456 |
+
|
457 |
media.view.Button.resetFilters = media.view.Button.extend({
|
458 |
|
459 |
id: 'reset-all-filters',
|
669 |
$attachments = $browser.find('.attachments'),
|
670 |
$uploader = $browser.find('.uploader-inline'),
|
671 |
$toolbar = $browser.find('.media-toolbar'),
|
672 |
+
$messages = $('.eml-media-css .updated:visible, .eml-media-css .error:visible, .eml-media-css .notice:visible, .eml-media-css .notice-error:visible, .eml-media-css .notice-warning:visible, .eml-media-css .notice-success:visible, .eml-media-css .notice-info:visible'),
|
673 |
+
$update_nag = $('.eml-media-css .update-nag');
|
674 |
+
|
675 |
+
|
676 |
+
if ( $update_nag.length ) {
|
677 |
+
$update_nag.css( 'margin-left', 15 + 'px' );
|
678 |
+
$browser.closest('.wrap').css( 'top', $update_nag.outerHeight() + 25 + 'px' );
|
679 |
+
}
|
680 |
|
681 |
|
682 |
if ( ! this.controller.isModeActive( 'select' ) &&
|
698 |
{
|
699 |
var messagesOuterHeight = 0;
|
700 |
|
701 |
+
|
702 |
if ( ! _.isUndefined( $messages ) )
|
703 |
{
|
704 |
$messages.each( function() {
|
717 |
|
718 |
var LibraryViewSwitcher, Filters, toolbarOptions,
|
719 |
self = this,
|
720 |
+
i = 1,
|
721 |
+
isResetButton = false;
|
722 |
+
|
723 |
|
724 |
toolbarOptions = {
|
725 |
controller: this.controller
|
743 |
}) );
|
744 |
|
745 |
|
746 |
+
if ( this.controller.isModeActive( 'grid' ) ||
|
747 |
+
this.controller.isModeActive( 'eml-grid' ) ) {
|
748 |
+
|
749 |
+
LibraryViewSwitcher = media.View.extend({
|
750 |
+
className: 'view-switch media-grid-view-switch',
|
751 |
+
template: media.template( 'media-library-view-switcher')
|
752 |
+
});
|
753 |
+
|
754 |
+
this.toolbar.set( 'libraryViewSwitcher', new LibraryViewSwitcher({
|
755 |
+
controller: this.controller,
|
756 |
+
priority: -90
|
757 |
+
}).render() );
|
758 |
+
}
|
759 |
+
|
760 |
+
|
761 |
if ( -1 !== $.inArray( this.options.filters, [ 'uploaded', 'all' ] ) ||
|
762 |
( parseInt( eml.l10n.force_filters ) &&
|
763 |
! this.controller.isModeActive( 'eml-bulk-edit' ) &&
|
767 |
'customize' === eml.l10n.current_screen ||
|
768 |
'widgets' === eml.l10n.current_screen ) {
|
769 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
770 |
|
771 |
+
if ( -1 !== $.inArray( 'types', eml.l10n.filters_to_show ) ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
772 |
|
773 |
+
this.toolbar.set( 'filtersLabel', new media.view.Label({
|
774 |
+
value: l10n.filterByType,
|
775 |
+
attributes: {
|
776 |
+
'for': 'media-attachment-filters'
|
777 |
+
},
|
778 |
priority: -80
|
779 |
}).render() );
|
|
|
|
|
|
|
|
|
|
|
|
|
780 |
|
781 |
+
if ( 'uploaded' === this.options.filters ) {
|
782 |
+
this.toolbar.set( 'filters', new media.view.AttachmentFilters.Uploaded({
|
783 |
+
controller: this.controller,
|
784 |
+
model: this.collection.props,
|
785 |
+
priority: -80
|
786 |
+
}).render() );
|
787 |
+
} else {
|
788 |
+
Filters = new media.view.AttachmentFilters.All({
|
789 |
+
controller: this.controller,
|
790 |
+
model: this.collection.props,
|
791 |
+
priority: -80
|
792 |
+
});
|
793 |
+
|
794 |
+
this.toolbar.set( 'filters', Filters.render() );
|
795 |
+
}
|
796 |
}
|
797 |
|
798 |
+
if ( eml.l10n.wp_version >= '4.0' && -1 !== $.inArray( 'dates', eml.l10n.filters_to_show ) && media.view.settings.months.length ) {
|
799 |
|
800 |
this.toolbar.set( 'dateFilterLabel', new media.view.Label({
|
801 |
value: l10n.filterByDate,
|
811 |
}).render() );
|
812 |
}
|
813 |
|
814 |
+
if ( eml.l10n.users.length > 1 && -1 !== $.inArray( 'authors', eml.l10n.filters_to_show ) ) {
|
815 |
|
816 |
+
this.toolbar.set( 'authorFilterLabel', new media.view.Label({
|
817 |
+
value: eml.l10n.filter_by + ' ' + eml.l10n.author,
|
818 |
+
attributes: {
|
819 |
+
'for': 'author-filter',
|
820 |
+
},
|
821 |
+
priority: -70 + i++
|
822 |
+
}).render() );
|
823 |
+
this.toolbar.set( 'author-filter', new media.view.AttachmentFilters.Authors({
|
824 |
+
controller: this.controller,
|
825 |
+
model: this.collection.props,
|
826 |
+
priority: -70 + i++,
|
827 |
+
users: eml.l10n.users,
|
828 |
+
}).render() );
|
829 |
+
}
|
830 |
|
831 |
+
if ( -1 !== $.inArray( 'taxonomies', eml.l10n.filters_to_show ) ) {
|
832 |
+
$.each( eml.l10n.taxonomies, function( taxonomy, values ) {
|
833 |
+
|
834 |
+
if ( -1 !== _.indexOf( eml.l10n.filter_taxonomies, taxonomy ) && values.term_list.length ) {
|
835 |
+
|
836 |
+
self.toolbar.set( taxonomy+'FilterLabel', new media.view.Label({
|
837 |
+
value: eml.l10n.filter_by + values.singular_name,
|
838 |
+
attributes: {
|
839 |
+
'for': 'media-attachment-' + taxonomy + '-filters',
|
840 |
+
},
|
841 |
+
priority: -70 + i++
|
842 |
+
}).render() );
|
843 |
+
self.toolbar.set( taxonomy+'-filter', new media.view.AttachmentFilters.Taxonomy({
|
844 |
+
controller: self.controller,
|
845 |
+
model: self.collection.props,
|
846 |
+
priority: -70 + i++,
|
847 |
+
taxonomy: taxonomy,
|
848 |
+
termList: values.term_list,
|
849 |
+
singularName: values.singular_name,
|
850 |
+
pluralName: values.plural_name
|
851 |
+
}).render() );
|
852 |
+
}
|
853 |
+
});
|
854 |
+
}
|
855 |
+
|
856 |
+
if ( this.toolbar.$el.find('.attachment-filters').length > 1 ) {
|
857 |
+
this.toolbar.set( 'resetFilterButton', new media.view.Button.resetFilters({
|
858 |
+
controller: this.controller,
|
859 |
+
text: eml.l10n.reset_filters,
|
860 |
+
disabled: true,
|
861 |
+
priority: -70 + i++
|
862 |
+
}).render() );
|
863 |
+
}
|
864 |
+
|
865 |
+
} // endif
|
866 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
867 |
|
868 |
+
if ( this.controller.isModeActive( 'eml-grid' ) ) {
|
869 |
+
|
870 |
+
this.toolbar.set( 'deselectButton', new media.view.Button.Deselect ({
|
871 |
controller: this.controller,
|
872 |
+
text: l10n.cancelSelection,
|
873 |
disabled: true,
|
874 |
priority: -70 + i++
|
875 |
}).render() );
|
876 |
|
877 |
+
this.toolbar.set( 'emlDeleteSelectedButton', new media.view.Button.DeleteSelected({
|
878 |
+
filters: Filters,
|
879 |
+
style: 'primary',
|
880 |
+
// className: 'delete-selected-button',
|
881 |
+
disabled: true,
|
882 |
+
text: media.view.settings.mediaTrash ? l10n.trashSelected : l10n.deleteSelected,
|
883 |
+
controller: this.controller,
|
884 |
+
priority: -70 + i++
|
885 |
+
}).render() );
|
886 |
|
887 |
+
if ( media.view.settings.mediaTrash ) {
|
888 |
+
this.toolbar.set( 'emlDeleteSelectedPermanentlyButton', new media.view.Button.DeleteSelectedPermanently({
|
889 |
filters: Filters,
|
890 |
style: 'primary',
|
|
|
891 |
disabled: true,
|
892 |
+
text: l10n.deleteSelected,
|
893 |
controller: this.controller,
|
894 |
+
priority: -55
|
895 |
}).render() );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
896 |
}
|
897 |
+
}
|
|
|
898 |
|
899 |
|
900 |
// in case it is not eml-grid but the original grid somewhere
|
js/eml-medialibrary-options.js
CHANGED
@@ -8,6 +8,7 @@
|
|
8 |
|
9 |
orderValue = $('#wpuxss_eml_lib_options_media_order').val();
|
10 |
$('#wpuxss_eml_lib_options_media_orderby').change();
|
|
|
11 |
});
|
12 |
|
13 |
|
@@ -25,4 +26,13 @@
|
|
25 |
$('#wpuxss_eml_lib_options_natural_sort').prop( 'hidden', ! isTitleOrder );
|
26 |
});
|
27 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
})( jQuery );
|
8 |
|
9 |
orderValue = $('#wpuxss_eml_lib_options_media_order').val();
|
10 |
$('#wpuxss_eml_lib_options_media_orderby').change();
|
11 |
+
$('#wpuxss_eml_lib_options_grid_show_caption').change();
|
12 |
});
|
13 |
|
14 |
|
26 |
$('#wpuxss_eml_lib_options_natural_sort').prop( 'hidden', ! isTitleOrder );
|
27 |
});
|
28 |
|
29 |
+
|
30 |
+
|
31 |
+
$( document ).on( 'change', '#wpuxss_eml_lib_options_grid_show_caption', function( event ) {
|
32 |
+
|
33 |
+
var isChecked = $(this).prop( 'checked' );
|
34 |
+
|
35 |
+
$('#wpuxss_eml_lib_options_grid_caption_type').prop( 'hidden', ! isChecked );
|
36 |
+
});
|
37 |
+
|
38 |
})( jQuery );
|
js/eml-mimetype-options.js
CHANGED
@@ -1,6 +1,9 @@
|
|
|
|
|
|
|
|
1 |
( function( $, _ ) {
|
2 |
|
3 |
-
|
4 |
|
5 |
|
6 |
|
@@ -26,7 +29,7 @@
|
|
26 |
$( document ).on( 'blur', '.wpuxss-eml-clone-mime .wpuxss-eml-type', function() {
|
27 |
|
28 |
var extension = $(this).val().toLowerCase(),
|
29 |
-
|
30 |
|
31 |
$(this).val(extension);
|
32 |
|
@@ -42,7 +45,7 @@
|
|
42 |
$( document ).on( 'blur', '.wpuxss-eml-clone-mime .wpuxss-eml-mime', function() {
|
43 |
|
44 |
var mime_type = $(this).val().toLowerCase(),
|
45 |
-
|
46 |
|
47 |
$(this).val(mime_type);
|
48 |
});
|
@@ -56,10 +59,10 @@
|
|
56 |
|
57 |
event.preventDefault();
|
58 |
|
59 |
-
emlConfirmDialog( l10n.mime_restoring_confirm_title, l10n.mime_restoring_confirm_text, l10n.mime_restoring_yes, l10n.cancel, 'button button-primary eml-warning-button' )
|
60 |
.done( function() {
|
61 |
|
62 |
-
emlFullscreenSpinnerStart( l10n.in_progress_restoring_text );
|
63 |
|
64 |
$('<input type="hidden"/>').attr( 'name', name )
|
65 |
.val( value )
|
@@ -76,24 +79,26 @@
|
|
76 |
// on mime types form submit
|
77 |
$( '#wpuxss-eml-form-mimetypes' ).submit( function( event ) {
|
78 |
|
79 |
-
submit_it = true
|
80 |
-
|
|
|
81 |
|
82 |
-
$('.wpuxss-eml-clone-mime').each(function( index ) {
|
83 |
|
84 |
-
if (
|
85 |
-
|
86 |
|
87 |
submit_it = false;
|
88 |
-
alert_text = eml.l10n.
|
89 |
}
|
90 |
-
else if ( $('
|
91 |
-
|
92 |
|
93 |
submit_it = false;
|
94 |
-
alert_text = eml.l10n.
|
95 |
}
|
96 |
|
|
|
97 |
if ( ! $('.wpuxss-eml-singular',this).val() || $('.wpuxss-eml-singular',this).val() == '' ||
|
98 |
! $('.wpuxss-eml-plural',this).val() || $('.wpuxss-eml-plural',this).val() == '' ) {
|
99 |
|
@@ -102,7 +107,13 @@
|
|
102 |
}
|
103 |
});
|
104 |
|
105 |
-
if ( ! submit_it
|
|
|
|
|
|
|
|
|
|
|
|
|
106 |
|
107 |
return submit_it;
|
108 |
});
|
1 |
+
window.eml = window.eml || { l10n: {} };
|
2 |
+
|
3 |
+
|
4 |
( function( $, _ ) {
|
5 |
|
6 |
+
_.extend( eml.l10n, wpuxss_eml_mimetype_options_l10n_data );
|
7 |
|
8 |
|
9 |
|
29 |
$( document ).on( 'blur', '.wpuxss-eml-clone-mime .wpuxss-eml-type', function() {
|
30 |
|
31 |
var extension = $(this).val().toLowerCase(),
|
32 |
+
mime_type_tr = $(this).closest('tr');
|
33 |
|
34 |
$(this).val(extension);
|
35 |
|
45 |
$( document ).on( 'blur', '.wpuxss-eml-clone-mime .wpuxss-eml-mime', function() {
|
46 |
|
47 |
var mime_type = $(this).val().toLowerCase(),
|
48 |
+
mime_type_tr = $(this).closest('tr');
|
49 |
|
50 |
$(this).val(mime_type);
|
51 |
});
|
59 |
|
60 |
event.preventDefault();
|
61 |
|
62 |
+
emlConfirmDialog( eml.l10n.mime_restoring_confirm_title, eml.l10n.mime_restoring_confirm_text, eml.l10n.mime_restoring_yes, eml.l10n.cancel, 'button button-primary eml-warning-button' )
|
63 |
.done( function() {
|
64 |
|
65 |
+
emlFullscreenSpinnerStart( eml.l10n.in_progress_restoring_text );
|
66 |
|
67 |
$('<input type="hidden"/>').attr( 'name', name )
|
68 |
.val( value )
|
79 |
// on mime types form submit
|
80 |
$( '#wpuxss-eml-form-mimetypes' ).submit( function( event ) {
|
81 |
|
82 |
+
var submit_it = true,
|
83 |
+
alert_title = eml.l10n.mime_error_cannot_save_title,
|
84 |
+
alert_text = '';
|
85 |
|
86 |
+
$('.wpuxss-eml-clone-mime').each( function( index ) {
|
87 |
|
88 |
+
if ( $('[id="'+$('.wpuxss-eml-type',this).val()+'"]').length > 0 ||
|
89 |
+
$('.wpuxss-eml-mime[value="'+$('.wpuxss-eml-mime',this).val()+'"]').length > 0 ) {
|
90 |
|
91 |
submit_it = false;
|
92 |
+
alert_text = '<p>' + eml.l10n.mime_error_duplicate + '</p>';
|
93 |
}
|
94 |
+
else if ( ! $('.wpuxss-eml-type',this).val() || $('.wpuxss-eml-type',this).val() == '' ||
|
95 |
+
! $('.wpuxss-eml-mime',this).val() || $('.wpuxss-eml-mime',this).val() == '' ) {
|
96 |
|
97 |
submit_it = false;
|
98 |
+
alert_text = '<p>' + eml.l10n.mime_error_empty_fields + '</p>';
|
99 |
}
|
100 |
|
101 |
+
|
102 |
if ( ! $('.wpuxss-eml-singular',this).val() || $('.wpuxss-eml-singular',this).val() == '' ||
|
103 |
! $('.wpuxss-eml-plural',this).val() || $('.wpuxss-eml-plural',this).val() == '' ) {
|
104 |
|
107 |
}
|
108 |
});
|
109 |
|
110 |
+
if ( ! submit_it ) {
|
111 |
+
|
112 |
+
emlAlertDialog( alert_title, alert_text, eml.l10n.okay, 'button button-primary' )
|
113 |
+
.done( function() {
|
114 |
+
return false;
|
115 |
+
});
|
116 |
+
}
|
117 |
|
118 |
return submit_it;
|
119 |
});
|
js/eml-options.js
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
|
5 |
|
6 |
|
7 |
-
$( document ).on('click', '#eml-settings-cleanup', function( event ) {
|
8 |
|
9 |
event.preventDefault();
|
10 |
|
4 |
|
5 |
|
6 |
|
7 |
+
$( document ).on('click', '#eml-submit-settings-cleanup', function( event ) {
|
8 |
|
9 |
event.preventDefault();
|
10 |
|
js/eml-taxonomies-options.js
CHANGED
@@ -1,10 +1,12 @@
|
|
1 |
-
|
2 |
|
3 |
-
var l10n = wpuxss_eml_taxonomies_options_l10n_data;
|
4 |
|
|
|
5 |
|
|
|
6 |
|
7 |
-
|
|
|
8 |
$( document ).on( 'click', 'li .wpuxss-eml-button-remove', function() {
|
9 |
|
10 |
var target = $(this).parent();
|
@@ -17,7 +19,7 @@
|
|
17 |
}
|
18 |
else {
|
19 |
|
20 |
-
emlConfirmDialog( l10n.tax_deletion_confirm_title, l10n.tax_deletion_confirm_text_p1+l10n.tax_deletion_confirm_text_p2+l10n.tax_deletion_confirm_text_p3+l10n.tax_deletion_confirm_text_p4, l10n.tax_deletion_yes, l10n.cancel, 'button button-primary eml-warning-button' )
|
21 |
.done( function() {
|
22 |
|
23 |
target.hide( 300, function() {
|
@@ -34,9 +36,8 @@
|
|
34 |
|
35 |
|
36 |
|
37 |
-
//
|
38 |
-
$(document).on( 'click', '.wpuxss-eml-button-create-taxonomy', function()
|
39 |
-
{
|
40 |
$('.wpuxss-eml-media-taxonomy-list').find('.wpuxss-eml-clone').clone().attr('class','wpuxss-eml-clone-taxonomy').appendTo('.wpuxss-eml-media-taxonomy-list').show(300);
|
41 |
|
42 |
return false;
|
@@ -44,14 +45,14 @@
|
|
44 |
|
45 |
|
46 |
|
47 |
-
//
|
48 |
$(document).on( 'click', '.wpuxss-eml-button-edit', function() {
|
49 |
|
50 |
$(this).parent().find('.wpuxss-eml-taxonomy-edit').toggle(300);
|
51 |
|
52 |
$(this).html(function(i, html)
|
53 |
{
|
54 |
-
return html == l10n.edit+' \u2193' ? l10n.close+' \u2191' : l10n.edit+' \u2193';
|
55 |
});
|
56 |
|
57 |
return false;
|
@@ -59,195 +60,144 @@
|
|
59 |
|
60 |
|
61 |
|
62 |
-
// on
|
63 |
-
$(document).on( 'blur', '.wpuxss-eml-clone-taxonomy .wpuxss-eml-
|
64 |
|
65 |
-
var
|
66 |
-
|
67 |
-
|
68 |
-
taxonomy_edit_box = $(this).parents('.wpuxss-eml-taxonomy-edit'),
|
69 |
-
built_in = [ 'link_category', 'post_format' ];
|
70 |
|
71 |
|
72 |
-
if ( '
|
73 |
-
|
|
|
|
|
74 |
}
|
75 |
|
|
|
76 |
|
77 |
-
if ( '' !==
|
78 |
-
|
79 |
-
// thanks to
|
80 |
-
// https://github.com/borodean/jquery-translit
|
81 |
-
// https://gist.github.com/richardsweeney/5317392
|
82 |
-
// http://www.advancedcustomfields.com/
|
83 |
-
// for the 'dictionary' code!
|
84 |
-
dictionary = {
|
85 |
-
'а': 'a',
|
86 |
-
'б': 'b',
|
87 |
-
'в': 'v',
|
88 |
-
'г': 'g',
|
89 |
-
'д': 'd',
|
90 |
-
'е': 'e',
|
91 |
-
'ё': 'e',
|
92 |
-
'ж': 'zh',
|
93 |
-
'з': 'z',
|
94 |
-
'и': 'i',
|
95 |
-
'й': 'i',
|
96 |
-
'к': 'k',
|
97 |
-
'л': 'l',
|
98 |
-
'м': 'm',
|
99 |
-
'н': 'n',
|
100 |
-
'о': 'o',
|
101 |
-
'п': 'p',
|
102 |
-
'р': 'r',
|
103 |
-
'с': 's',
|
104 |
-
'т': 't',
|
105 |
-
'у': 'u',
|
106 |
-
'ф': 'f',
|
107 |
-
'х': 'kh',
|
108 |
-
'ц': 'tc',
|
109 |
-
'ч': 'ch',
|
110 |
-
'ш': 'sh',
|
111 |
-
'щ': 'shch',
|
112 |
-
'ъ': '',
|
113 |
-
'ы': 'y',
|
114 |
-
'ь': '',
|
115 |
-
'э': 'e',
|
116 |
-
'ю': 'iu',
|
117 |
-
'я': 'ia',
|
118 |
-
'ä': 'a',
|
119 |
-
'æ': 'a',
|
120 |
-
'å': 'a',
|
121 |
-
'ö': 'o',
|
122 |
-
'ø': 'o',
|
123 |
-
'é': 'e',
|
124 |
-
'ë': 'e',
|
125 |
-
'ü': 'u',
|
126 |
-
'ó': 'o',
|
127 |
-
'ő': 'o',
|
128 |
-
'ú': 'u',
|
129 |
-
'é': 'e',
|
130 |
-
'á': 'a',
|
131 |
-
'ű': 'u',
|
132 |
-
'í': 'i',
|
133 |
-
' ' : '_',
|
134 |
-
'-' : '_',
|
135 |
-
'\'' : '',
|
136 |
-
'&' : '_'
|
137 |
-
};
|
138 |
|
139 |
-
|
|
|
|
|
|
|
140 |
|
141 |
-
|
142 |
-
|
143 |
-
|
|
|
|
|
144 |
|
145 |
-
|
|
|
|
|
|
|
|
|
146 |
|
147 |
-
|
|
|
148 |
|
|
|
|
|
|
|
|
|
|
|
149 |
|
150 |
-
if ( $('.wpuxss-eml-clone-taxonomy[id='+taxonomy_name+'], .wpuxss-eml-taxonomy[id='+taxonomy_name+'], .wpuxss-non-eml-taxonomy[id='+taxonomy_name+']').length > 1 || -1 !== $.inArray( taxonomy_name, built_in ) ) {
|
151 |
-
emlAlertDialog( l10n.tax_error_duplicate_title, l10n.tax_error_duplicate_text, l10n.okay, 'button button-primary' )
|
152 |
-
.done( function() {
|
153 |
-
return false;
|
154 |
-
});
|
155 |
-
}
|
156 |
|
157 |
-
$(this).attr('name','wpuxss_eml_taxonomies['+taxonomy_name+'][labels][singular_name]');
|
158 |
|
159 |
-
|
160 |
-
|
161 |
-
|
|
|
|
|
|
|
162 |
|
163 |
-
|
164 |
-
|
165 |
}
|
166 |
|
167 |
-
|
168 |
|
169 |
-
changeSingularLabels( taxonomy_edit_box, taxonomy_singular_name );
|
170 |
-
});
|
171 |
|
172 |
-
|
|
|
|
|
|
|
173 |
|
174 |
-
|
|
|
|
|
|
|
|
|
|
|
175 |
});
|
176 |
|
177 |
-
function addTaxonomyName( edit_box, taxonomy_name ) {
|
178 |
|
179 |
-
var fields = {
|
180 |
-
'labels' : [ 'name', 'menu_name', 'all_items', 'edit_item', 'view_item', 'update_item', 'add_new_item', 'new_item_name', 'parent_item', 'search_items' ],
|
181 |
-
'hierarchical' : 'hierarchical',
|
182 |
-
'show_admin_column' : 'show_admin_column',
|
183 |
-
'admin_filter' : 'admin_filter',
|
184 |
-
'media_uploader_filter' : 'media_uploader_filter',
|
185 |
-
'media_popup_taxonomy_edit' : 'media_popup_taxonomy_edit',
|
186 |
-
'show_in_nav_menus' : 'show_in_nav_menus',
|
187 |
-
'sort' : 'sort',
|
188 |
-
'show_in_rest' : 'show_in_rest',
|
189 |
-
'rewrite' : [ 'slug', 'with_front' ]
|
190 |
-
};
|
191 |
|
192 |
-
|
|
|
193 |
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
});
|
201 |
-
}
|
202 |
-
});
|
203 |
-
}
|
204 |
|
205 |
-
function changeSingularLabels( edit_box, singular_name ) {
|
206 |
|
207 |
-
|
208 |
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
edit_box.find('.wpuxss-eml-new_item_name').val( l10n.new+' '+singular_name );
|
214 |
-
edit_box.find('.wpuxss-eml-parent_item').val( l10n.parent+' '+singular_name );
|
215 |
}
|
216 |
-
else {
|
217 |
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
|
|
224 |
}
|
225 |
-
}
|
226 |
|
|
|
|
|
|
|
|
|
|
|
227 |
|
|
|
|
|
|
|
228 |
|
229 |
-
// on change of a plural taxonomy name during creation
|
230 |
-
$(document).on( 'blur', '.wpuxss-eml-clone-taxonomy .wpuxss-eml-name, .wpuxss-eml-taxonomy .wpuxss-eml-name', function()
|
231 |
-
{
|
232 |
-
var taxonomy_plural_name = $(this).val().replace(/(<([^>]+)>)/g,''),
|
233 |
-
taxonomy_edit_box = $(this).parents('.wpuxss-eml-taxonomy-edit'),
|
234 |
-
main_tax_label = $(this).closest('.wpuxss-eml-clone-taxonomy').find('.wpuxss-eml-taxonomy-label span');
|
235 |
|
236 |
|
237 |
-
|
|
|
238 |
|
239 |
-
|
240 |
-
|
241 |
-
taxonomy_edit_box.find('.wpuxss-eml-search_items').val( l10n.search+' '+taxonomy_plural_name );
|
242 |
-
main_tax_label.text( taxonomy_plural_name );
|
243 |
-
}
|
244 |
-
else {
|
245 |
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
251 |
});
|
252 |
|
253 |
|
@@ -255,44 +205,61 @@
|
|
255 |
// on taxonomy form submit
|
256 |
$('#wpuxss-eml-form-taxonomies').submit(function( event ) {
|
257 |
|
258 |
-
var built_in = [ 'link_category', 'post_format' ]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
259 |
|
260 |
|
261 |
-
|
262 |
-
alert_title = l10n.tax_error_empty_fileds_title;
|
263 |
-
alert_text = '';
|
264 |
|
265 |
-
$('.wpuxss-eml-clone-taxonomy, .wpuxss-eml-taxonomy').each(function( index )
|
266 |
-
{
|
267 |
current_taxonomy = $(this).attr('id');
|
|
|
|
|
|
|
268 |
|
269 |
-
|
270 |
-
|
|
|
271 |
submit_it = false;
|
272 |
-
alert_text = l10n.
|
|
|
|
|
|
|
|
|
273 |
}
|
274 |
-
|
275 |
-
{
|
276 |
submit_it = false;
|
277 |
-
alert_text = l10n.
|
278 |
}
|
279 |
-
|
280 |
-
{
|
281 |
submit_it = false;
|
282 |
-
alert_text = l10n.
|
283 |
}
|
284 |
-
|
285 |
-
{
|
286 |
submit_it = false;
|
287 |
-
|
288 |
-
|
|
|
|
|
|
|
|
|
|
|
289 |
}
|
290 |
});
|
291 |
|
292 |
|
293 |
if ( ! submit_it ) {
|
294 |
-
emlAlertDialog( alert_title, alert_text, l10n.okay, 'button button-primary' )
|
295 |
.done( function() {
|
|
|
296 |
return false;
|
297 |
});
|
298 |
}
|
@@ -302,13 +269,240 @@
|
|
302 |
|
303 |
|
304 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
305 |
// synchronize parent terms to media items (PRO)
|
306 |
$( document ).on( 'click', '.eml-button-synchronize-terms', function( event ) {
|
307 |
|
308 |
var $el, post_type, taxonomy;
|
309 |
|
310 |
|
311 |
-
emlConfirmDialog( l10n.sync_warning_title, l10n.sync_warning_text, l10n.sync_warning_yes, l10n.sync_warning_no, 'button button-primary' )
|
312 |
.done( function() {
|
313 |
|
314 |
$el = $( event.target );
|
@@ -316,10 +510,10 @@
|
|
316 |
post_type = $el.attr( 'data-post-type' );
|
317 |
taxonomy = $el.attr( 'data-taxonomy' );
|
318 |
|
319 |
-
emlFullscreenSpinnerStart( l10n.in_progress_sync_text );
|
320 |
|
321 |
$.post( ajaxurl, {
|
322 |
-
nonce: l10n.bulk_edit_nonce,
|
323 |
action: 'eml-synchronize-terms',
|
324 |
post_type: post_type,
|
325 |
taxonomy: taxonomy
|
@@ -332,4 +526,4 @@
|
|
332 |
});
|
333 |
});
|
334 |
|
335 |
-
})( jQuery );
|
1 |
+
window.eml = window.eml || { l10n: {} };
|
2 |
|
|
|
3 |
|
4 |
+
( function( $, _ ) {
|
5 |
|
6 |
+
_.extend( eml.l10n, wpuxss_eml_taxonomies_options_l10n_data );
|
7 |
|
8 |
+
|
9 |
+
// Click on "Remove Taxonomy" button
|
10 |
$( document ).on( 'click', 'li .wpuxss-eml-button-remove', function() {
|
11 |
|
12 |
var target = $(this).parent();
|
19 |
}
|
20 |
else {
|
21 |
|
22 |
+
emlConfirmDialog( eml.l10n.tax_deletion_confirm_title, eml.l10n.tax_deletion_confirm_text_p1+eml.l10n.tax_deletion_confirm_text_p2+eml.l10n.tax_deletion_confirm_text_p3+eml.l10n.tax_deletion_confirm_text_p4, eml.l10n.tax_deletion_yes, eml.l10n.cancel, 'button button-primary eml-warning-button' )
|
23 |
.done( function() {
|
24 |
|
25 |
target.hide( 300, function() {
|
36 |
|
37 |
|
38 |
|
39 |
+
// Click on "Create New Taxonomy" button
|
40 |
+
$(document).on( 'click', '.wpuxss-eml-button-create-taxonomy', function() {
|
|
|
41 |
$('.wpuxss-eml-media-taxonomy-list').find('.wpuxss-eml-clone').clone().attr('class','wpuxss-eml-clone-taxonomy').appendTo('.wpuxss-eml-media-taxonomy-list').show(300);
|
42 |
|
43 |
return false;
|
45 |
|
46 |
|
47 |
|
48 |
+
// Click on "Edit Taxonomy" button
|
49 |
$(document).on( 'click', '.wpuxss-eml-button-edit', function() {
|
50 |
|
51 |
$(this).parent().find('.wpuxss-eml-taxonomy-edit').toggle(300);
|
52 |
|
53 |
$(this).html(function(i, html)
|
54 |
{
|
55 |
+
return html == eml.l10n.edit+' \u2193' ? eml.l10n.close+' \u2191' : eml.l10n.edit+' \u2193';
|
56 |
});
|
57 |
|
58 |
return false;
|
60 |
|
61 |
|
62 |
|
63 |
+
// on Taxonomy Name change (clone)
|
64 |
+
$(document).on( 'blur', '.wpuxss-eml-clone-taxonomy .wpuxss-eml-taxonomy-name', function() {
|
65 |
|
66 |
+
var taxname = $(this).val().toLowerCase(),
|
67 |
+
taxonomy_clone_box = $(this).parents('.wpuxss-eml-clone-taxonomy'),
|
68 |
+
slug = taxonomy_clone_box.find('.wpuxss-eml-slug').val();
|
|
|
|
|
69 |
|
70 |
|
71 |
+
if ( '' === taxname ) {
|
72 |
+
setTaxonomyID( '', taxonomy_clone_box );
|
73 |
+
setTaxonomyName( '', taxonomy_clone_box );
|
74 |
+
return;
|
75 |
}
|
76 |
|
77 |
+
taxname = taxname.replace(/[^a-z0-9_]/g, '');
|
78 |
|
79 |
+
if ( '' !== taxname ) {
|
80 |
+
taxname = generateTaxname( taxname );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
|
82 |
+
if ( 'year' == taxname ) {
|
83 |
+
taxname = 'media_year';
|
84 |
+
}
|
85 |
+
}
|
86 |
|
87 |
+
$(this).val( taxname );
|
88 |
+
|
89 |
+
if ( '' === slug ) {
|
90 |
+
taxonomy_clone_box.find('.wpuxss-eml-slug').val( taxname );
|
91 |
+
}
|
92 |
|
93 |
+
if ( validateTaxname( taxname ) ) {
|
94 |
+
setTaxonomyID( taxname, taxonomy_clone_box );
|
95 |
+
setTaxonomyName( taxname, taxonomy_clone_box );
|
96 |
+
return;
|
97 |
+
}
|
98 |
|
99 |
+
setTaxonomyID( '', taxonomy_clone_box );
|
100 |
+
setTaxonomyName( '', taxonomy_clone_box );
|
101 |
|
102 |
+
emlAlertDialog( eml.l10n.tax_error_wrong_taxname_title, eml.l10n.tax_error_wrong_taxname, eml.l10n.okay, 'button button-primary' )
|
103 |
+
.done( function() {
|
104 |
+
return false;
|
105 |
+
});
|
106 |
+
});
|
107 |
|
|
|
|
|
|
|
|
|
|
|
|
|
108 |
|
|
|
109 |
|
110 |
+
// on Taxonomy Slug change (both clone and non-clone)
|
111 |
+
$(document).on( 'blur', '.wpuxss-eml-slug', function() {
|
112 |
+
|
113 |
+
var slug = $(this).val().toLowerCase(),
|
114 |
+
taxname = $(this).parents('.wpuxss-eml-clone-taxonomy').find('.wpuxss-eml-taxonomy-name').val();
|
115 |
+
|
116 |
|
117 |
+
if ( '' === slug && '' === taxname ) {
|
118 |
+
return;
|
119 |
}
|
120 |
|
121 |
+
slug = slug.replace(/[^a-z0-9_\-]/g, '');
|
122 |
|
|
|
|
|
123 |
|
124 |
+
if ( validateSlug( slug ) ) {
|
125 |
+
$(this).val( slug );
|
126 |
+
return;
|
127 |
+
}
|
128 |
|
129 |
+
$(this).val( taxname );
|
130 |
+
|
131 |
+
emlAlertDialog( eml.l10n.tax_error_wrong_slug_title, eml.l10n.tax_error_wrong_slug, eml.l10n.okay, 'button button-primary' )
|
132 |
+
.done( function() {
|
133 |
+
return false;
|
134 |
+
});
|
135 |
});
|
136 |
|
|
|
137 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
138 |
|
139 |
+
// on Singular Name change (clone)
|
140 |
+
$(document).on( 'blur', '.wpuxss-eml-clone-taxonomy .wpuxss-eml-singular_name', function() {
|
141 |
|
142 |
+
var singular_name = $(this).val().replace(/(<([^>]+)>)/g,''),
|
143 |
+
taxname,
|
144 |
+
taxonomy_clone_box = $(this).closest('.wpuxss-eml-clone-taxonomy'),
|
145 |
+
taxonomy_edit_box = $(this).parents('.wpuxss-eml-taxonomy-edit'),
|
146 |
+
taxname_field = taxonomy_edit_box.find('.wpuxss-eml-taxonomy-name'),
|
147 |
+
slug = taxonomy_edit_box.find('.wpuxss-eml-slug').val();
|
|
|
|
|
|
|
|
|
148 |
|
|
|
149 |
|
150 |
+
$(this).val( singular_name );
|
151 |
|
152 |
+
// check if generate a new taxname
|
153 |
+
if ( '' === singular_name ) {
|
154 |
+
setSingularLabels( '', taxonomy_edit_box );
|
155 |
+
return;
|
|
|
|
|
156 |
}
|
|
|
157 |
|
158 |
+
setSingularLabels( singular_name, taxonomy_edit_box );
|
159 |
+
|
160 |
+
taxname = generateTaxname( singular_name );
|
161 |
+
taxname_field.val( taxname );
|
162 |
+
|
163 |
+
if ( '' === slug ) {
|
164 |
+
taxonomy_edit_box.find('.wpuxss-eml-slug').val( taxname );
|
165 |
}
|
|
|
166 |
|
167 |
+
if ( validateTaxname( taxname ) ) {
|
168 |
+
setTaxonomyID( taxname, taxonomy_clone_box );
|
169 |
+
setTaxonomyName( taxname, taxonomy_clone_box );
|
170 |
+
return;
|
171 |
+
}
|
172 |
|
173 |
+
setTaxonomyID( '', taxonomy_clone_box );
|
174 |
+
setTaxonomyName( '', taxonomy_clone_box );
|
175 |
+
});
|
176 |
|
|
|
|
|
|
|
|
|
|
|
|
|
177 |
|
178 |
|
179 |
+
// on Singular Name change (non-clone)
|
180 |
+
$(document).on( 'blur', '.wpuxss-eml-taxonomy .wpuxss-eml-singular_name', function() {
|
181 |
|
182 |
+
var singular_name = $(this).val().replace(/(<([^>]+)>)/g,''),
|
183 |
+
edit_box = $(this).parents('.wpuxss-eml-taxonomy-edit');
|
|
|
|
|
|
|
|
|
184 |
|
185 |
+
|
186 |
+
$(this).val( singular_name );
|
187 |
+
setSingularLabels( singular_name, edit_box );
|
188 |
+
});
|
189 |
+
|
190 |
+
|
191 |
+
|
192 |
+
// on Plural Label change (clone)
|
193 |
+
$(document).on( 'blur', '.wpuxss-eml-clone-taxonomy .wpuxss-eml-name, .wpuxss-eml-taxonomy .wpuxss-eml-name', function() {
|
194 |
+
var plural_name = $(this).val().replace(/(<([^>]+)>)/g,''),
|
195 |
+
edit_box = $(this).parents('.wpuxss-eml-taxonomy-edit'),
|
196 |
+
main_tax_label = $(this).closest('.wpuxss-eml-clone-taxonomy').find('.wpuxss-eml-taxonomy-label span');
|
197 |
+
|
198 |
+
|
199 |
+
$(this).val( plural_name );
|
200 |
+
setPluralLabels( plural_name, edit_box, main_tax_label );
|
201 |
});
|
202 |
|
203 |
|
205 |
// on taxonomy form submit
|
206 |
$('#wpuxss-eml-form-taxonomies').submit(function( event ) {
|
207 |
|
208 |
+
var built_in = [ 'link_category', 'post_format' ],
|
209 |
+
current_taxonomy,
|
210 |
+
singular_name,
|
211 |
+
plural_name,
|
212 |
+
slug,
|
213 |
+
submit_it = true,
|
214 |
+
alert_title = eml.l10n.tax_error_empty_fileds_title,
|
215 |
+
alert_text = '';
|
216 |
|
217 |
|
218 |
+
$('.wpuxss-eml-clone-taxonomy, .wpuxss-eml-taxonomy').each( function( index ) {
|
|
|
|
|
219 |
|
|
|
|
|
220 |
current_taxonomy = $(this).attr('id');
|
221 |
+
singular_name = $('.wpuxss-eml-singular_name',this).val();
|
222 |
+
plural_name = $('.wpuxss-eml-name',this).val();
|
223 |
+
slug = $('.wpuxss-eml-slug',this).val();
|
224 |
|
225 |
+
|
226 |
+
// no taxonomy name
|
227 |
+
if ( ! current_taxonomy ) {
|
228 |
submit_it = false;
|
229 |
+
alert_text = '<p>' + eml.l10n.tax_error_empty_taxname + '</p><p>' + eml.l10n.tax_error_wrong_taxname + '</p>';
|
230 |
+
}
|
231 |
+
// if no slug just make it same as taxname
|
232 |
+
else if ( ! slug ) {
|
233 |
+
$('.wpuxss-eml-slug',this).val( current_taxonomy );
|
234 |
}
|
235 |
+
// no singular and plural names
|
236 |
+
else if ( ! singular_name && ! plural_name ) {
|
237 |
submit_it = false;
|
238 |
+
alert_text = eml.l10n.tax_error_empty_both;
|
239 |
}
|
240 |
+
// no singular name
|
241 |
+
else if ( ! singular_name ) {
|
242 |
submit_it = false;
|
243 |
+
alert_text = eml.l10n.tax_error_empty_singular;
|
244 |
}
|
245 |
+
// no plural name
|
246 |
+
else if ( ! plural_name ) {
|
247 |
submit_it = false;
|
248 |
+
alert_text = eml.l10n.tax_error_empty_plural;
|
249 |
+
}
|
250 |
+
// duplicates existing taxonomy
|
251 |
+
else if ( $('.wpuxss-eml-clone-taxonomy[id='+current_taxonomy+'], .wpuxss-eml-taxonomy[id='+current_taxonomy+'], .wpuxss-non-eml-taxonomy[id='+current_taxonomy+']').length > 1 || -1 !== $.inArray( current_taxonomy, built_in ) ) {
|
252 |
+
submit_it = false;
|
253 |
+
alert_title = eml.l10n.tax_error_duplicate_title;
|
254 |
+
alert_text = eml.l10n.tax_error_duplicate_text;
|
255 |
}
|
256 |
});
|
257 |
|
258 |
|
259 |
if ( ! submit_it ) {
|
260 |
+
emlAlertDialog( alert_title, alert_text, eml.l10n.okay, 'button button-primary' )
|
261 |
.done( function() {
|
262 |
+
$('.wpuxss-eml-clone-taxonomy, .wpuxss-eml-taxonomy-name').focus();
|
263 |
return false;
|
264 |
});
|
265 |
}
|
269 |
|
270 |
|
271 |
|
272 |
+
function validateTaxname( taxname ) {
|
273 |
+
|
274 |
+
var re = new RegExp('^(?=.{3,32}$)[a-z][a-z0-9]*(?:_[a-z0-9]+)*$');
|
275 |
+
|
276 |
+
|
277 |
+
if ( re.test( taxname ) )
|
278 |
+
return true;
|
279 |
+
|
280 |
+
return false;
|
281 |
+
}
|
282 |
+
|
283 |
+
|
284 |
+
|
285 |
+
function validateSlug( slug ) {
|
286 |
+
|
287 |
+
var re = new RegExp('^[a-z][a-z0-9]*(?:[_\-][a-z0-9]+)*$');
|
288 |
+
|
289 |
+
|
290 |
+
if ( re.test( slug ) )
|
291 |
+
return true;
|
292 |
+
|
293 |
+
return false;
|
294 |
+
}
|
295 |
+
|
296 |
+
|
297 |
+
|
298 |
+
function generateTaxname( label ) {
|
299 |
+
|
300 |
+
var dictionary,
|
301 |
+
taxonomy_name = label.toLowerCase().replace(/[^a-z0-9_\s]/g, '');
|
302 |
+
|
303 |
+
|
304 |
+
// thanks to
|
305 |
+
// https://github.com/borodean/jquery-translit
|
306 |
+
// https://gist.github.com/richardsweeney/5317392
|
307 |
+
// http://www.advancedcustomfields.com/
|
308 |
+
// for the 'dictionary' code!
|
309 |
+
dictionary = {
|
310 |
+
'а': 'a',
|
311 |
+
'б': 'b',
|
312 |
+
'в': 'v',
|
313 |
+
'г': 'g',
|
314 |
+
'ґ': 'g',
|
315 |
+
'д': 'd',
|
316 |
+
'е': 'e',
|
317 |
+
'є': 'ie',
|
318 |
+
'ж': 'zh',
|
319 |
+
'з': 'z',
|
320 |
+
'и': 'y',
|
321 |
+
'і': 'i',
|
322 |
+
'ї': 'i',
|
323 |
+
'й': 'i',
|
324 |
+
'к': 'k',
|
325 |
+
'л': 'l',
|
326 |
+
'м': 'm',
|
327 |
+
'н': 'n',
|
328 |
+
'о': 'o',
|
329 |
+
'п': 'p',
|
330 |
+
'р': 'r',
|
331 |
+
'с': 's',
|
332 |
+
'т': 't',
|
333 |
+
'у': 'u',
|
334 |
+
'ф': 'f',
|
335 |
+
'х': 'kh',
|
336 |
+
'ц': 'tc',
|
337 |
+
'ч': 'ch',
|
338 |
+
'ш': 'sh',
|
339 |
+
'щ': 'shch',
|
340 |
+
'ь': '',
|
341 |
+
'ю': 'iu',
|
342 |
+
'я': 'ia',
|
343 |
+
|
344 |
+
'ё': 'e',
|
345 |
+
'ы': 'y',
|
346 |
+
'ъ': '',
|
347 |
+
'э': 'e',
|
348 |
+
|
349 |
+
'ä': 'a',
|
350 |
+
'æ': 'a',
|
351 |
+
'å': 'a',
|
352 |
+
'ö': 'o',
|
353 |
+
'ø': 'o',
|
354 |
+
'é': 'e',
|
355 |
+
'ë': 'e',
|
356 |
+
'ü': 'u',
|
357 |
+
'ó': 'o',
|
358 |
+
'ő': 'o',
|
359 |
+
'ú': 'u',
|
360 |
+
'é': 'e',
|
361 |
+
'á': 'a',
|
362 |
+
'ű': 'u',
|
363 |
+
'í': 'i',
|
364 |
+
' ' : '_',
|
365 |
+
'-' : '_',
|
366 |
+
'\'' : '',
|
367 |
+
'&' : '_'
|
368 |
+
};
|
369 |
+
|
370 |
+
$.each( dictionary, function(k, v) {
|
371 |
+
|
372 |
+
var regex = new RegExp( k, 'g' );
|
373 |
+
taxonomy_name = taxonomy_name.replace( regex, v );
|
374 |
+
});
|
375 |
+
|
376 |
+
return taxonomy_name;
|
377 |
+
}
|
378 |
+
|
379 |
+
|
380 |
+
|
381 |
+
function setTaxonomyID( id, taxonomy_clone_box ) {
|
382 |
+
|
383 |
+
var built_in = [ 'link_category', 'post_format' ];
|
384 |
+
|
385 |
+
|
386 |
+
taxonomy_clone_box.attr( 'id', id );
|
387 |
+
|
388 |
+
if ( '' !== id && $('.wpuxss-eml-clone-taxonomy[id='+id+'], .wpuxss-eml-taxonomy[id='+id+'], .wpuxss-non-eml-taxonomy[id='+id+']').length > 1 || -1 !== $.inArray( id, built_in ) ) {
|
389 |
+
|
390 |
+
taxonomy_clone_box.attr( 'id', '' );
|
391 |
+
|
392 |
+
emlAlertDialog( eml.l10n.tax_error_duplicate_title, eml.l10n.tax_error_duplicate_text, eml.l10n.okay, 'button button-primary' )
|
393 |
+
.done( function() {
|
394 |
+
return false;
|
395 |
+
});
|
396 |
+
}
|
397 |
+
}
|
398 |
+
|
399 |
+
|
400 |
+
|
401 |
+
function setTaxonomyName( taxonomy_name, taxonomy_clone_box ) {
|
402 |
+
|
403 |
+
var fields = {
|
404 |
+
assigned : '.wpuxss-eml-assigned',
|
405 |
+
eml_media : '.wpuxss-eml-eml_media',
|
406 |
+
create_taxonomy : '.wpuxss-eml-create_taxonomy'
|
407 |
+
},
|
408 |
+
tax_fields = {
|
409 |
+
labels : [ 'singular_name', 'name', 'menu_name', 'all_items', 'edit_item', 'view_item', 'update_item', 'add_new_item', 'new_item_name', 'parent_item', 'search_items' ],
|
410 |
+
hierarchical : 'hierarchical',
|
411 |
+
show_admin_column : 'show_admin_column',
|
412 |
+
admin_filter : 'admin_filter',
|
413 |
+
media_uploader_filter : 'media_uploader_filter',
|
414 |
+
media_popup_taxonomy_edit : 'media_popup_taxonomy_edit',
|
415 |
+
show_in_nav_menus : 'show_in_nav_menus',
|
416 |
+
sort : 'sort',
|
417 |
+
show_in_rest : 'show_in_rest',
|
418 |
+
rewrite : [ 'slug', 'with_front' ]
|
419 |
+
};
|
420 |
+
|
421 |
+
|
422 |
+
$.each( fields, function( key, field ) {
|
423 |
+
taxonomy_clone_box.find(field).attr('name','wpuxss_eml_taxonomies['+taxonomy_name+']['+key+']');
|
424 |
+
});
|
425 |
+
|
426 |
+
|
427 |
+
$.each( tax_fields, function( key, field ) {
|
428 |
+
|
429 |
+
if ( key === field ) {
|
430 |
+
taxonomy_clone_box.find('.wpuxss-eml-'+field).attr('name','wpuxss_eml_taxonomies['+taxonomy_name+']['+field+']');
|
431 |
+
}
|
432 |
+
else {
|
433 |
+
$.each( field, function( i, field ) {
|
434 |
+
taxonomy_clone_box.find('.wpuxss-eml-'+field).attr('name','wpuxss_eml_taxonomies['+taxonomy_name+']['+key+']['+field+']');
|
435 |
+
});
|
436 |
+
}
|
437 |
+
});
|
438 |
+
}
|
439 |
+
|
440 |
+
|
441 |
+
|
442 |
+
function setSingularLabels( singular_name, edit_box ) {
|
443 |
+
|
444 |
+
var fields = {
|
445 |
+
edit : '.wpuxss-eml-edit_item',
|
446 |
+
view : '.wpuxss-eml-view_item',
|
447 |
+
update : '.wpuxss-eml-update_item',
|
448 |
+
add_new : '.wpuxss-eml-add_new_item',
|
449 |
+
new : '.wpuxss-eml-new_item_name',
|
450 |
+
parent : '.wpuxss-eml-parent_item'
|
451 |
+
};
|
452 |
+
|
453 |
+
if ( '' !== singular_name ) {
|
454 |
+
|
455 |
+
$.each( fields, function( key, field ){
|
456 |
+
edit_box.find(field).val( eml.l10n[key]+' '+singular_name );
|
457 |
+
});
|
458 |
+
|
459 |
+
}
|
460 |
+
else {
|
461 |
+
|
462 |
+
$.each( fields, function( key, field ){
|
463 |
+
edit_box.find(field).val( '' );
|
464 |
+
});
|
465 |
+
}
|
466 |
+
}
|
467 |
+
|
468 |
+
|
469 |
+
|
470 |
+
function setPluralLabels( plural_name, edit_box, main_tax_label ) {
|
471 |
+
|
472 |
+
var fields = {
|
473 |
+
all : '.wpuxss-eml-all_items',
|
474 |
+
search : '.wpuxss-eml-search_items'
|
475 |
+
};
|
476 |
+
|
477 |
+
if ( '' !== plural_name ) {
|
478 |
+
|
479 |
+
edit_box.find('.wpuxss-eml-menu_name').val( plural_name );
|
480 |
+
main_tax_label.text( plural_name );
|
481 |
+
|
482 |
+
$.each( fields, function( key, field ){
|
483 |
+
edit_box.find(field).val( eml.l10n[key]+' '+plural_name );
|
484 |
+
});
|
485 |
+
}
|
486 |
+
else {
|
487 |
+
|
488 |
+
edit_box.find('.wpuxss-eml-menu_name').val( '' );
|
489 |
+
main_tax_label.text( eml.l10n.tax_new );
|
490 |
+
|
491 |
+
$.each( fields, function( key, field ){
|
492 |
+
edit_box.find(field).val( '' );
|
493 |
+
});
|
494 |
+
}
|
495 |
+
}
|
496 |
+
|
497 |
+
|
498 |
+
|
499 |
// synchronize parent terms to media items (PRO)
|
500 |
$( document ).on( 'click', '.eml-button-synchronize-terms', function( event ) {
|
501 |
|
502 |
var $el, post_type, taxonomy;
|
503 |
|
504 |
|
505 |
+
emlConfirmDialog( eml.l10n.sync_warning_title, eml.l10n.sync_warning_text, eml.l10n.sync_warning_yes, eml.l10n.sync_warning_no, 'button button-primary' )
|
506 |
.done( function() {
|
507 |
|
508 |
$el = $( event.target );
|
510 |
post_type = $el.attr( 'data-post-type' );
|
511 |
taxonomy = $el.attr( 'data-taxonomy' );
|
512 |
|
513 |
+
emlFullscreenSpinnerStart( eml.l10n.in_progress_sync_text );
|
514 |
|
515 |
$.post( ajaxurl, {
|
516 |
+
nonce: eml.l10n.bulk_edit_nonce,
|
517 |
action: 'eml-synchronize-terms',
|
518 |
post_type: post_type,
|
519 |
taxonomy: taxonomy
|
526 |
});
|
527 |
});
|
528 |
|
529 |
+
})( jQuery, _ );
|
languages/enhanced-media-library-de_DE.mo
DELETED
Binary file
|
languages/enhanced-media-library-de_DE.po
DELETED
@@ -1,1174 +0,0 @@
|
|
1 |
-
# Translation of Enhanced Media Library (Free & PRO) in German
|
2 |
-
# This file is distributed under the same license as the Enhanced Media Library (Free & PRO) package.
|
3 |
-
msgid ""
|
4 |
-
msgstr ""
|
5 |
-
"Project-Id-Version: Enhanced Media Library (Free & PRO)\n"
|
6 |
-
"POT-Creation-Date: 2018-02-06 01:13+0200\n"
|
7 |
-
"PO-Revision-Date: 2018-02-06 01:17+0200\n"
|
8 |
-
"Last-Translator: \n"
|
9 |
-
"Language-Team: \n"
|
10 |
-
"Language: de\n"
|
11 |
-
"MIME-Version: 1.0\n"
|
12 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
-
"Content-Transfer-Encoding: 8bit\n"
|
14 |
-
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
15 |
-
"X-Generator: Poedit 2.0.5\n"
|
16 |
-
|
17 |
-
#: core/mime-types.php:30
|
18 |
-
msgid "MIME Types settings restored."
|
19 |
-
msgstr "MIME-Typ-Einstellungen wiederhergestellt."
|
20 |
-
|
21 |
-
#: core/mime-types.php:39
|
22 |
-
msgid "MIME Types settings saved."
|
23 |
-
msgstr "MIME-Typ-Einstellungen gespeichert."
|
24 |
-
|
25 |
-
#: core/mime-types.php:116
|
26 |
-
#, php-format
|
27 |
-
msgid " <span class=\"count\">(%s)</span>"
|
28 |
-
msgid_plural " <span class=\"count\">(%s)</span>"
|
29 |
-
msgstr[0] " <span class=\"count\">(%s)</span>"
|
30 |
-
msgstr[1] " <span class=\"count\">(%s)</span>"
|
31 |
-
|
32 |
-
#: core/options-pages.php:97 core/options-pages.php:220
|
33 |
-
#: core/options-pages.php:313 core/options-pages.php:1089
|
34 |
-
#: core/options-pages.php:1224 core/options-pages.php:1549
|
35 |
-
#: core/options-pages.php:1749
|
36 |
-
msgid "Media Settings"
|
37 |
-
msgstr "Medien-Einstellungen"
|
38 |
-
|
39 |
-
#: core/options-pages.php:106 core/options-pages.php:285
|
40 |
-
msgid "Media Library"
|
41 |
-
msgstr "Mediathek"
|
42 |
-
|
43 |
-
#: core/options-pages.php:115
|
44 |
-
msgid "Taxonomies"
|
45 |
-
msgstr "Taxonomien"
|
46 |
-
|
47 |
-
#: core/options-pages.php:124 core/options-pages.php:287
|
48 |
-
msgid "MIME Types"
|
49 |
-
msgstr "MIME-Typen"
|
50 |
-
|
51 |
-
#. Plugin Name of the plugin/theme
|
52 |
-
#: core/options-pages.php:135 core/options-pages.php:136
|
53 |
-
msgid "Enhanced Media Library"
|
54 |
-
msgstr "Enhanced Media Library"
|
55 |
-
|
56 |
-
#: core/options-pages.php:284
|
57 |
-
msgid "General"
|
58 |
-
msgstr "Allgemein"
|
59 |
-
|
60 |
-
#: core/options-pages.php:286 core/options-pages.php:1245
|
61 |
-
msgid "Media Taxonomies"
|
62 |
-
msgstr "Media Taxonomien"
|
63 |
-
|
64 |
-
#: core/options-pages.php:310 core/options-pages.php:624
|
65 |
-
#: core/options-pages.php:1085 core/options-pages.php:1221
|
66 |
-
#: core/options-pages.php:1545
|
67 |
-
msgid "You do not have sufficient permissions to access this page."
|
68 |
-
msgstr "Unzureichende Rechte, um auf diese Seite zuzugreifen."
|
69 |
-
|
70 |
-
#: core/options-pages.php:324
|
71 |
-
msgid "Image sizes"
|
72 |
-
msgstr "Bildgrössen"
|
73 |
-
|
74 |
-
#: core/options-pages.php:325
|
75 |
-
msgid ""
|
76 |
-
"The sizes listed below determine the maximum dimensions in pixels to use "
|
77 |
-
"when adding an image to the Media Library."
|
78 |
-
msgstr ""
|
79 |
-
"Die unten aufgeführten Größen sind die maximalen Abmessungen in Pixel für "
|
80 |
-
"Bilder, die zur Mediathek hinzugefügt werden sollen."
|
81 |
-
|
82 |
-
#: core/options-pages.php:329
|
83 |
-
msgid "Thumbnail size"
|
84 |
-
msgstr "Thumbnail Grösse"
|
85 |
-
|
86 |
-
#: core/options-pages.php:331
|
87 |
-
msgid "Width"
|
88 |
-
msgstr "Breite"
|
89 |
-
|
90 |
-
#: core/options-pages.php:333
|
91 |
-
msgid "Height"
|
92 |
-
msgstr "Höhe"
|
93 |
-
|
94 |
-
#: core/options-pages.php:336
|
95 |
-
msgid ""
|
96 |
-
"Crop thumbnail to exact dimensions (normally thumbnails are proportional)"
|
97 |
-
msgstr ""
|
98 |
-
"Thumbnail auf die exakte Größe beschneiden (normalerweise sind Thumbnails "
|
99 |
-
"proportional)"
|
100 |
-
|
101 |
-
#: core/options-pages.php:341 core/options-pages.php:342
|
102 |
-
msgid "Medium size"
|
103 |
-
msgstr "Mittel"
|
104 |
-
|
105 |
-
#: core/options-pages.php:343 core/options-pages.php:354
|
106 |
-
msgid "Max Width"
|
107 |
-
msgstr "Maximale Breite"
|
108 |
-
|
109 |
-
#: core/options-pages.php:346 core/options-pages.php:357
|
110 |
-
msgid "Max Height"
|
111 |
-
msgstr "Maximale Höhe"
|
112 |
-
|
113 |
-
#: core/options-pages.php:352 core/options-pages.php:353
|
114 |
-
msgid "Large size"
|
115 |
-
msgstr "Gross"
|
116 |
-
|
117 |
-
#: core/options-pages.php:370
|
118 |
-
msgid "Embeds"
|
119 |
-
msgstr "Einbettungen"
|
120 |
-
|
121 |
-
#: core/options-pages.php:377
|
122 |
-
msgid "Uploading Files"
|
123 |
-
msgstr "Dateien hochladen"
|
124 |
-
|
125 |
-
#: core/options-pages.php:384
|
126 |
-
msgid "Store uploads in this folder"
|
127 |
-
msgstr "Uploads in folgendem Ordner speichern"
|
128 |
-
|
129 |
-
#: core/options-pages.php:388
|
130 |
-
#, php-format
|
131 |
-
msgid "Default is %s"
|
132 |
-
msgstr "Standard ist %s"
|
133 |
-
|
134 |
-
#: core/options-pages.php:394
|
135 |
-
msgid "Full URL path to files"
|
136 |
-
msgstr "Kompletter URL Pfad zur Datei"
|
137 |
-
|
138 |
-
#: core/options-pages.php:396
|
139 |
-
msgid "Configuring this is optional. By default, it should be blank."
|
140 |
-
msgstr "Diese Konfiguration ist optional und kann leer gelassen werden."
|
141 |
-
|
142 |
-
#: core/options-pages.php:404
|
143 |
-
msgid "Organize my uploads into month- and year-based folders"
|
144 |
-
msgstr "Die Uploads in Ordner basierend auf Monat und Jahr sortieren"
|
145 |
-
|
146 |
-
#: core/options-pages.php:476 core/options-pages.php:1269
|
147 |
-
#: core/options-pages.php:1284 core/options-pages.php:1347
|
148 |
-
#: core/options-pages.php:1419
|
149 |
-
msgid "Edit"
|
150 |
-
msgstr "Bearbeiten"
|
151 |
-
|
152 |
-
#: core/options-pages.php:477
|
153 |
-
msgid "Close"
|
154 |
-
msgstr "Schließen"
|
155 |
-
|
156 |
-
#: core/options-pages.php:478 core/options-pages.php:1285
|
157 |
-
#: core/options-pages.php:1348
|
158 |
-
msgid "View"
|
159 |
-
msgstr "Anzeigen"
|
160 |
-
|
161 |
-
#: core/options-pages.php:479 core/options-pages.php:1286
|
162 |
-
#: core/options-pages.php:1349
|
163 |
-
msgid "Update"
|
164 |
-
msgstr "Aktualisieren"
|
165 |
-
|
166 |
-
#: core/options-pages.php:480 core/options-pages.php:1287
|
167 |
-
#: core/options-pages.php:1350
|
168 |
-
msgid "Add New"
|
169 |
-
msgstr "Neu hinzufügen"
|
170 |
-
|
171 |
-
#: core/options-pages.php:481 core/options-pages.php:1288
|
172 |
-
#: core/options-pages.php:1351
|
173 |
-
msgid "New"
|
174 |
-
msgstr "Neu"
|
175 |
-
|
176 |
-
#: core/options-pages.php:482
|
177 |
-
msgid "Name"
|
178 |
-
msgstr "Name"
|
179 |
-
|
180 |
-
#: core/options-pages.php:483 core/options-pages.php:1289
|
181 |
-
#: core/options-pages.php:1352
|
182 |
-
msgid "Parent"
|
183 |
-
msgstr "Übergeordneter"
|
184 |
-
|
185 |
-
#: core/options-pages.php:484 core/options-pages.php:720
|
186 |
-
#: core/options-pages.php:1283 core/options-pages.php:1346
|
187 |
-
#: core/taxonomies.php:340 enhanced-media-library.php:510
|
188 |
-
msgid "All"
|
189 |
-
msgstr "Alle"
|
190 |
-
|
191 |
-
#: core/options-pages.php:485 core/options-pages.php:1290
|
192 |
-
#: core/options-pages.php:1353
|
193 |
-
msgid "Search"
|
194 |
-
msgstr "Durchsuchen"
|
195 |
-
|
196 |
-
#: core/options-pages.php:487 core/options-pages.php:1334
|
197 |
-
msgid "New Taxonomy"
|
198 |
-
msgstr "Neue Taxonomie"
|
199 |
-
|
200 |
-
#: core/options-pages.php:489
|
201 |
-
msgid "Remove Taxonomy"
|
202 |
-
msgstr "Taxonomie entfernen"
|
203 |
-
|
204 |
-
#: core/options-pages.php:490
|
205 |
-
msgid "Taxonomy will be removed."
|
206 |
-
msgstr "Taxonomie wird entfernt."
|
207 |
-
|
208 |
-
#: core/options-pages.php:491
|
209 |
-
msgid ""
|
210 |
-
"Taxonomy terms (categories) will remain intact in the database. If you "
|
211 |
-
"create a taxonomy with the same name in the future, its terms (categories) "
|
212 |
-
"will be available again."
|
213 |
-
msgstr ""
|
214 |
-
"Taxonomie-Begriffe (Kategorien) bleiben in der Datenbank erhalten. Bei "
|
215 |
-
"erneutem Anlegen einer Taxonomie gleichen Namens, sind die Begriffe "
|
216 |
-
"(Kategorien) wieder verfügbar."
|
217 |
-
|
218 |
-
#: core/options-pages.php:492
|
219 |
-
msgid "Media items will remain intact."
|
220 |
-
msgstr "Medien bleiben erhalten."
|
221 |
-
|
222 |
-
#: core/options-pages.php:493
|
223 |
-
msgid "Are you still sure?"
|
224 |
-
msgstr "Sicher?"
|
225 |
-
|
226 |
-
#: core/options-pages.php:494
|
227 |
-
msgid "Yes, remove taxonomy"
|
228 |
-
msgstr "Ja, Taxonomie löschen"
|
229 |
-
|
230 |
-
#: core/options-pages.php:496
|
231 |
-
msgid "Duplicate"
|
232 |
-
msgstr "Duplikat"
|
233 |
-
|
234 |
-
#: core/options-pages.php:497
|
235 |
-
msgid "Taxonomy with the same name already exists. Please chose other one."
|
236 |
-
msgstr ""
|
237 |
-
"Es existiert bereits eine Taxonomie mit demselben Namen. Bitte einen anderen "
|
238 |
-
"wählen."
|
239 |
-
|
240 |
-
#: core/options-pages.php:499
|
241 |
-
msgid "Empty Fields"
|
242 |
-
msgstr "Keine Angaben"
|
243 |
-
|
244 |
-
#: core/options-pages.php:500
|
245 |
-
msgid "Please choose Singular and Plural names for all new taxomonies."
|
246 |
-
msgstr "Bitte Singular und Plural Namen für alle neuen Taxonomien wählen."
|
247 |
-
|
248 |
-
#: core/options-pages.php:501
|
249 |
-
msgid "Please choose Singular name for all new taxomonies."
|
250 |
-
msgstr "Bitte einen Singular Namen für alle neuen Taxonomien wählen."
|
251 |
-
|
252 |
-
#: core/options-pages.php:502
|
253 |
-
msgid "Please choose Plural Name for all new taxomonies."
|
254 |
-
msgstr "Bitte einen Plural Namen für alle neuen Taxonomien wählen."
|
255 |
-
|
256 |
-
#: core/options-pages.php:504
|
257 |
-
msgid "Ok"
|
258 |
-
msgstr "Ok"
|
259 |
-
|
260 |
-
#: core/options-pages.php:505 core/options-pages.php:510
|
261 |
-
#: core/options-pages.php:554 core/options-pages.php:599
|
262 |
-
msgid "Cancel"
|
263 |
-
msgstr "Abbrechen"
|
264 |
-
|
265 |
-
#: core/options-pages.php:507
|
266 |
-
msgid "Synchronize Now"
|
267 |
-
msgstr "Jetzt synchronisieren"
|
268 |
-
|
269 |
-
#: core/options-pages.php:508 core/options-pages.php:596
|
270 |
-
msgid "This operation cannot be canceled! Are you still sure?"
|
271 |
-
msgstr "Diese Aktion kann nicht abgebrochen werden! Trotzdem fortfahren?"
|
272 |
-
|
273 |
-
#: core/options-pages.php:509
|
274 |
-
msgid "Synchronize"
|
275 |
-
msgstr "Synchronisieren"
|
276 |
-
|
277 |
-
#: core/options-pages.php:511
|
278 |
-
msgid "Synchronizing..."
|
279 |
-
msgstr "Synchronisiere…"
|
280 |
-
|
281 |
-
#: core/options-pages.php:549 core/options-pages.php:1673
|
282 |
-
msgid "Restore WordPress default MIME Types"
|
283 |
-
msgstr "Standard WordPress MIME-Typen wiederherstellen"
|
284 |
-
|
285 |
-
#: core/options-pages.php:550
|
286 |
-
msgid "Warning! All your custom MIME Types will be deleted by this operation."
|
287 |
-
msgstr ""
|
288 |
-
"Warnung! Alle benutzerdefinierten MIME-Typen werden durch diesen Vorgang "
|
289 |
-
"gelöscht."
|
290 |
-
|
291 |
-
#: core/options-pages.php:551
|
292 |
-
msgid "Restore Defaults"
|
293 |
-
msgstr "Standard wiederherstellen"
|
294 |
-
|
295 |
-
#: core/options-pages.php:552
|
296 |
-
msgid "Restoring..."
|
297 |
-
msgstr "Wird wiederhergestellt…"
|
298 |
-
|
299 |
-
#: core/options-pages.php:556
|
300 |
-
msgid "Please fill into all fields."
|
301 |
-
msgstr "Bitte alle Felder ausfüllen."
|
302 |
-
|
303 |
-
#: core/options-pages.php:557
|
304 |
-
msgid "Duplicate extensions or MIME types. Please choose other one."
|
305 |
-
msgstr "Erweiterungen- oder MIME-Typ Duplikat. Bitte einen anderen wählen."
|
306 |
-
|
307 |
-
#: core/options-pages.php:594 core/options-pages.php:711
|
308 |
-
msgid "Complete Cleanup"
|
309 |
-
msgstr "Vollständiges Aufräumen"
|
310 |
-
|
311 |
-
#: core/options-pages.php:595
|
312 |
-
msgid ""
|
313 |
-
"You are about to <strong style=\"text-transform:uppercase\">delete all "
|
314 |
-
"plugin data</strong> from the database including backups."
|
315 |
-
msgstr ""
|
316 |
-
"Sämtliche Plugin Daten in Datenbank, sowie Backups <strong style=\"text-"
|
317 |
-
"transform:uppercase\">werden gelöscht</strong>."
|
318 |
-
|
319 |
-
#: core/options-pages.php:597
|
320 |
-
msgid "Yes, delete all data"
|
321 |
-
msgstr "Ja, alle Daten löschen"
|
322 |
-
|
323 |
-
#: core/options-pages.php:598
|
324 |
-
msgid "Cleaning..."
|
325 |
-
msgstr "Aufräumen…"
|
326 |
-
|
327 |
-
#: core/options-pages.php:629
|
328 |
-
msgid "Enhanced Media Library Settings"
|
329 |
-
msgstr "Enhanced Media Library Einstellungen"
|
330 |
-
|
331 |
-
#: core/options-pages.php:639
|
332 |
-
msgid "Export"
|
333 |
-
msgstr "Exportieren"
|
334 |
-
|
335 |
-
#: core/options-pages.php:643
|
336 |
-
msgid ""
|
337 |
-
"Plugin settings tabs <strong>Media Library</strong>, <strong>Media "
|
338 |
-
"Taxonomies</strong>, and <strong>MIME Types</strong> will be exported to a "
|
339 |
-
"configuration file. It allows you to easily import the configuration into "
|
340 |
-
"another website."
|
341 |
-
msgstr ""
|
342 |
-
"Die Einstellungen der Registerkarten <strong>Mediathek</strong>, "
|
343 |
-
"<strong>Medien Taxonomien</strong> und<strong>MIME-Typen</strong> des "
|
344 |
-
"Plugins werden in einer Konfigurationsdatei exportiert. Diese Konfiguration "
|
345 |
-
"kann dann für eine weitere Website importiert werden."
|
346 |
-
|
347 |
-
#: core/options-pages.php:648
|
348 |
-
msgid "Export Plugin Settings"
|
349 |
-
msgstr "Plugin-Einstellungen exportieren"
|
350 |
-
|
351 |
-
#: core/options-pages.php:658
|
352 |
-
msgid "Import"
|
353 |
-
msgstr "Importieren"
|
354 |
-
|
355 |
-
#: core/options-pages.php:662
|
356 |
-
msgid ""
|
357 |
-
"Plugin settings tabs <strong>Media Library</strong>, <strong>Media "
|
358 |
-
"Taxonomies</strong>, and <strong>MIME Types</strong> will be imported from a "
|
359 |
-
"configuration file which can be obtained by exporting the settings on "
|
360 |
-
"another website using the export button above."
|
361 |
-
msgstr ""
|
362 |
-
"Die Einstellungen der Registerkarten <strong>Mediathek</strong>, "
|
363 |
-
"<strong>Medien Taxonomien</strong> und<strong>MIME-Typen</strong> des "
|
364 |
-
"Plugins werden von einer Konfigurationsdatei importiert, die durch den "
|
365 |
-
"Export von einer anderen Website durch Klick des obigen Export-Buttons "
|
366 |
-
"erstellt wird."
|
367 |
-
|
368 |
-
#: core/options-pages.php:663
|
369 |
-
msgid ""
|
370 |
-
"All plugin settings will be overridden by the import. You will have a chance "
|
371 |
-
"to restore current data from an automatic backup in case you are not "
|
372 |
-
"satisfied with the result of the import."
|
373 |
-
msgstr ""
|
374 |
-
"Alle Plugin-Einstellungen werden durch den Import überschrieben. Die "
|
375 |
-
"jetzigen Daten können aus einem automatischen Backup wiederhergestellt "
|
376 |
-
"werden, wenn das Resultat des Imports nicht zufriedenstellend ist."
|
377 |
-
|
378 |
-
#: core/options-pages.php:670
|
379 |
-
msgid "Import Plugin Settings"
|
380 |
-
msgstr "Plugin-Einstellungen importieren"
|
381 |
-
|
382 |
-
#: core/options-pages.php:682
|
383 |
-
msgid "Restore"
|
384 |
-
msgstr "Wiederherstellen"
|
385 |
-
|
386 |
-
#: core/options-pages.php:688
|
387 |
-
msgid "No backup available at the moment."
|
388 |
-
msgstr "Zur Zeit sind keine Backups verfügbar."
|
389 |
-
|
390 |
-
#: core/options-pages.php:690
|
391 |
-
msgid "Backup will be created automatically before any import operation."
|
392 |
-
msgstr "Ein Backup wird automatisch vor jeder Import-Aktion erstellt."
|
393 |
-
|
394 |
-
#: core/options-pages.php:694
|
395 |
-
msgid ""
|
396 |
-
"The backup has been automatically created before the latest import operation."
|
397 |
-
msgstr "Das Backup wurde automatisch vor der letzten Import-Aktion erstellt."
|
398 |
-
|
399 |
-
#: core/options-pages.php:698
|
400 |
-
msgid "Restore Settings from the Backup"
|
401 |
-
msgstr "Einstellungen aus dem Backup wiederherstellen"
|
402 |
-
|
403 |
-
#: core/options-pages.php:718
|
404 |
-
msgid "What will be deleted:"
|
405 |
-
msgstr "Das wird gelöscht:"
|
406 |
-
|
407 |
-
#: core/options-pages.php:723
|
408 |
-
msgid "All plugin options"
|
409 |
-
msgstr "Alle Plugin-Optionen"
|
410 |
-
|
411 |
-
#: core/options-pages.php:724
|
412 |
-
msgid "All plugin backups stored in database"
|
413 |
-
msgstr "Alle in der Datenbank gespeicherten Backups des Plugins"
|
414 |
-
|
415 |
-
#: core/options-pages.php:728
|
416 |
-
msgid "What will remain intact:"
|
417 |
-
msgstr "Das bleibt erhalten:"
|
418 |
-
|
419 |
-
#: core/options-pages.php:729
|
420 |
-
msgid "All media items"
|
421 |
-
msgstr "Alle Medien"
|
422 |
-
|
423 |
-
#: core/options-pages.php:730
|
424 |
-
msgid "All taxonomies not listed above"
|
425 |
-
msgstr "Alle nicht oben aufgeführten Taxonomien"
|
426 |
-
|
427 |
-
#: core/options-pages.php:733
|
428 |
-
msgid ""
|
429 |
-
"The plugin cannot delete itself because of security reason. Please delete it "
|
430 |
-
"manually from plugin list after cleanup."
|
431 |
-
msgstr ""
|
432 |
-
"Aus Sicherheitsgründen wird das Plugin nicht automatisch entfernt. Bitte "
|
433 |
-
"nach dem Aufräumen das Plugin manuell aus der Plugin-Liste löschen."
|
434 |
-
|
435 |
-
#: core/options-pages.php:735
|
436 |
-
msgid ""
|
437 |
-
"If you are not sure about this operation please create a backup of your "
|
438 |
-
"database prior to cleanup!"
|
439 |
-
msgstr ""
|
440 |
-
"Um ungewollten Datenverlust zu vermeiden, sollte vor dem Aufräumen ein "
|
441 |
-
"Backup der Datenbank erstellt werden."
|
442 |
-
|
443 |
-
#: core/options-pages.php:741
|
444 |
-
msgid "Delete All Data & Deactivate"
|
445 |
-
msgstr "Alle Daten löschen und deaktivieren"
|
446 |
-
|
447 |
-
#: core/options-pages.php:841
|
448 |
-
msgid "Please upload a file to import settings."
|
449 |
-
msgstr "Bitte Datei hochladen, um Einstellungen zu importieren."
|
450 |
-
|
451 |
-
#: core/options-pages.php:867
|
452 |
-
msgid "Plugin settings imported."
|
453 |
-
msgstr "Plugin-Einstellungen importiert."
|
454 |
-
|
455 |
-
#: core/options-pages.php:912
|
456 |
-
msgid "Plugin settings restored from the backup."
|
457 |
-
msgstr "Plugin-Einstellungen aus dem Backup wiederhergestellt."
|
458 |
-
|
459 |
-
#: core/options-pages.php:1110
|
460 |
-
msgid "Media Items Order"
|
461 |
-
msgstr "Medien Reihenfolge"
|
462 |
-
|
463 |
-
#: core/options-pages.php:1117
|
464 |
-
msgid "Order media items by"
|
465 |
-
msgstr "Ordne Medien nach"
|
466 |
-
|
467 |
-
#: core/options-pages.php:1120
|
468 |
-
msgid "Date"
|
469 |
-
msgstr "Datum"
|
470 |
-
|
471 |
-
#: core/options-pages.php:1121
|
472 |
-
msgid "Title"
|
473 |
-
msgstr "Titel"
|
474 |
-
|
475 |
-
#: core/options-pages.php:1122
|
476 |
-
msgid "Custom Order"
|
477 |
-
msgstr "Benutzerdefinierte Reihenfolge"
|
478 |
-
|
479 |
-
#: core/options-pages.php:1124 core/options-pages.php:1136
|
480 |
-
msgid "For media library and media popups"
|
481 |
-
msgstr "Für die Mediathek und Medien-Popups"
|
482 |
-
|
483 |
-
#: core/options-pages.php:1125
|
484 |
-
msgid "Option allows to change order by drag and drop with Custom Order value."
|
485 |
-
msgstr ""
|
486 |
-
"Erlaubt es, die Reihenfolge per Drag & Drop mit benutzerspezifischen "
|
487 |
-
"Sortierwerten zu ändern."
|
488 |
-
|
489 |
-
#: core/options-pages.php:1130
|
490 |
-
msgid "Sort order"
|
491 |
-
msgstr "Sortierreihenfolge"
|
492 |
-
|
493 |
-
#: core/options-pages.php:1133
|
494 |
-
msgid "Ascending"
|
495 |
-
msgstr "Aufsteigend"
|
496 |
-
|
497 |
-
#: core/options-pages.php:1134
|
498 |
-
msgid "Descending"
|
499 |
-
msgstr "Absteigend"
|
500 |
-
|
501 |
-
#: core/options-pages.php:1141 core/options-pages.php:1144
|
502 |
-
msgid "Natural sort order"
|
503 |
-
msgstr ""
|
504 |
-
|
505 |
-
#: core/options-pages.php:1145
|
506 |
-
msgid "Apply human-friendly sort order to the media library and galleries."
|
507 |
-
msgstr ""
|
508 |
-
|
509 |
-
#: core/options-pages.php:1146
|
510 |
-
msgid ""
|
511 |
-
"Example: [1, 2, 3, 10, 18, 22, abc-2, abc-11] instead of [1, 10, 18, 2, 22, "
|
512 |
-
"3, abc-11, abc-2]"
|
513 |
-
msgstr ""
|
514 |
-
|
515 |
-
#: core/options-pages.php:1160
|
516 |
-
msgid "Media Shortcodes"
|
517 |
-
msgstr "Medien Shortcodes"
|
518 |
-
|
519 |
-
#: core/options-pages.php:1167 core/options-pages.php:1170
|
520 |
-
msgid "Enhanced media shortcodes"
|
521 |
-
msgstr "Verbesserte Medien Shortcodes"
|
522 |
-
|
523 |
-
#: core/options-pages.php:1171
|
524 |
-
msgid ""
|
525 |
-
"Enhance WordPress media shortcodes to make them understand media taxonomies, "
|
526 |
-
"upload date, and media items number limit"
|
527 |
-
msgstr ""
|
528 |
-
"Verbessere WordPress Medien Shortcodes, damit sie mit Medien Taxonomien, "
|
529 |
-
"Hochladedatum und Medien Mengenbeschränkungen umgehen können."
|
530 |
-
|
531 |
-
#: core/options-pages.php:1172
|
532 |
-
msgid "Gallery example:"
|
533 |
-
msgstr "Beispielgalerie:"
|
534 |
-
|
535 |
-
#: core/options-pages.php:1173
|
536 |
-
msgid "Audio playlist example:"
|
537 |
-
msgstr "Beispiel Audio Playlist"
|
538 |
-
|
539 |
-
#: core/options-pages.php:1174
|
540 |
-
msgid "Video playlist example:"
|
541 |
-
msgstr "Beispiel Video Playlist"
|
542 |
-
|
543 |
-
#: core/options-pages.php:1176
|
544 |
-
#, php-format
|
545 |
-
msgid ""
|
546 |
-
"%sWarning:%s Incompatibility with other gallery plugins or themes possible!"
|
547 |
-
msgstr ""
|
548 |
-
"%sWarnung:%s Inkompatibilität mit anderen Galerie-Plugins oder Themes "
|
549 |
-
"möglich!"
|
550 |
-
|
551 |
-
#: core/options-pages.php:1178
|
552 |
-
#, php-format
|
553 |
-
msgid "%sLearn more%s."
|
554 |
-
msgstr "%sMehr erfahren%s"
|
555 |
-
|
556 |
-
#: core/options-pages.php:1180
|
557 |
-
#, php-format
|
558 |
-
msgid ""
|
559 |
-
"Please check out your gallery front-end and back-end functionality once this "
|
560 |
-
"option activated. If you find an issue please inform plugin authors at %s or "
|
561 |
-
"%s."
|
562 |
-
msgstr ""
|
563 |
-
"Bitte die Front-End und Back-End Funktionalität der Galerie überprüfen, "
|
564 |
-
"sobald diese Option aktiviert ist. Sollten Probleme auftreten, bitte die "
|
565 |
-
"Autoren des Plugins hier %s oder %s informieren."
|
566 |
-
|
567 |
-
#: core/options-pages.php:1249 core/options-pages.php:1396
|
568 |
-
msgid "Assign following taxonomies to Media Library:"
|
569 |
-
msgstr "Folgende Taxonomien der Mediathek zuweisen:"
|
570 |
-
|
571 |
-
#: core/options-pages.php:1268 core/options-pages.php:1334
|
572 |
-
#: core/options-pages.php:1418
|
573 |
-
msgid "Assign Taxonomy"
|
574 |
-
msgstr "Taxonomie zuweisen"
|
575 |
-
|
576 |
-
#: core/options-pages.php:1269 core/options-pages.php:1419
|
577 |
-
msgid "Edit Taxonomy"
|
578 |
-
msgstr "Taxonomie bearbeiten"
|
579 |
-
|
580 |
-
#: core/options-pages.php:1273 core/options-pages.php:1336
|
581 |
-
msgid "Delete Taxonomy"
|
582 |
-
msgstr "Taxonomie löschen"
|
583 |
-
|
584 |
-
#: core/options-pages.php:1278 core/options-pages.php:1341
|
585 |
-
msgid "Labels"
|
586 |
-
msgstr "Label"
|
587 |
-
|
588 |
-
#: core/options-pages.php:1280 core/options-pages.php:1343
|
589 |
-
msgid "Singular"
|
590 |
-
msgstr "Singular"
|
591 |
-
|
592 |
-
#: core/options-pages.php:1281 core/options-pages.php:1344
|
593 |
-
msgid "Plural"
|
594 |
-
msgstr "Plural"
|
595 |
-
|
596 |
-
#: core/options-pages.php:1282 core/options-pages.php:1345
|
597 |
-
msgid "Menu Name"
|
598 |
-
msgstr "Menü Name"
|
599 |
-
|
600 |
-
#: core/options-pages.php:1295 core/options-pages.php:1318
|
601 |
-
#: core/options-pages.php:1358 core/options-pages.php:1422
|
602 |
-
msgid "Settings"
|
603 |
-
msgstr "Einstellungen"
|
604 |
-
|
605 |
-
#: core/options-pages.php:1297 core/options-pages.php:1360
|
606 |
-
msgid "Taxonomy Name"
|
607 |
-
msgstr "Taxonomie Name"
|
608 |
-
|
609 |
-
#: core/options-pages.php:1298 core/options-pages.php:1361
|
610 |
-
msgid "Hierarchical"
|
611 |
-
msgstr "Hierarchisch"
|
612 |
-
|
613 |
-
#: core/options-pages.php:1299 core/options-pages.php:1362
|
614 |
-
msgid "Column for List View"
|
615 |
-
msgstr "Spalte für Listenansicht"
|
616 |
-
|
617 |
-
#: core/options-pages.php:1300 core/options-pages.php:1320
|
618 |
-
#: core/options-pages.php:1363 core/options-pages.php:1424
|
619 |
-
msgid "Filter for List View"
|
620 |
-
msgstr "Filter für Listenansicht."
|
621 |
-
|
622 |
-
#: core/options-pages.php:1301 core/options-pages.php:1321
|
623 |
-
#: core/options-pages.php:1364 core/options-pages.php:1425
|
624 |
-
msgid "Filter for Grid View / Media Popup"
|
625 |
-
msgstr "Filter für Rasteransicht / Medien Popup"
|
626 |
-
|
627 |
-
#: core/options-pages.php:1302 core/options-pages.php:1322
|
628 |
-
#: core/options-pages.php:1365 core/options-pages.php:1426
|
629 |
-
msgid "Edit in Media Popup"
|
630 |
-
msgstr "Im Medien Popup editieren"
|
631 |
-
|
632 |
-
#: core/options-pages.php:1303 core/options-pages.php:1366
|
633 |
-
msgid "Show in Nav Menu"
|
634 |
-
msgstr "Im Navigationsmenü zeigen"
|
635 |
-
|
636 |
-
#: core/options-pages.php:1304 core/options-pages.php:1367
|
637 |
-
msgid "Remember Terms Order (sort)"
|
638 |
-
msgstr "Begriffsreihenfolge (Sortierung) merken"
|
639 |
-
|
640 |
-
#: core/options-pages.php:1305 core/options-pages.php:1368
|
641 |
-
msgid "Show in REST"
|
642 |
-
msgstr "In REST anzeigen"
|
643 |
-
|
644 |
-
#: core/options-pages.php:1306 core/options-pages.php:1369
|
645 |
-
msgid "Rewrite Slug"
|
646 |
-
msgstr "Slug bearbeiten"
|
647 |
-
|
648 |
-
#: core/options-pages.php:1307 core/options-pages.php:1370
|
649 |
-
msgid "Slug with Front"
|
650 |
-
msgstr "Slug mit Voranstellung (with front)"
|
651 |
-
|
652 |
-
#: core/options-pages.php:1382
|
653 |
-
msgid "Add New Taxonomy"
|
654 |
-
msgstr "Neue Taxonomie hinzufügen"
|
655 |
-
|
656 |
-
#: core/options-pages.php:1392
|
657 |
-
msgid "Non-Media Taxonomies"
|
658 |
-
msgstr "Nicht-Medien Taxonomien"
|
659 |
-
|
660 |
-
#: core/options-pages.php:1455
|
661 |
-
msgid "Options"
|
662 |
-
msgstr "Optionen"
|
663 |
-
|
664 |
-
#: core/options-pages.php:1465 core/options-pages.php:1468
|
665 |
-
msgid "Taxonomy archive pages"
|
666 |
-
msgstr "Taxonomie Archiv Seiten"
|
667 |
-
|
668 |
-
#: core/options-pages.php:1469
|
669 |
-
msgid "Turn on media taxonomy archive pages on the front-end"
|
670 |
-
msgstr "Medien Taxonomie Archive auf der Website aktivieren"
|
671 |
-
|
672 |
-
#: core/options-pages.php:1470
|
673 |
-
msgid ""
|
674 |
-
"Re-save your permalink settings after this option change to make it work."
|
675 |
-
msgstr ""
|
676 |
-
"Die Permalink-Einstellungen müssen noch einmal gespeichert werden, damit "
|
677 |
-
"diese Einstellung greift."
|
678 |
-
|
679 |
-
#: core/options-pages.php:1476 core/options-pages.php:1479
|
680 |
-
msgid "Assign all like hierarchical"
|
681 |
-
msgstr "Alle als hierarchisch zuweisen"
|
682 |
-
|
683 |
-
#: core/options-pages.php:1480
|
684 |
-
msgid ""
|
685 |
-
"Show non-hierarchical taxonomies like hierarchical in Grid View / Media Popup"
|
686 |
-
msgstr ""
|
687 |
-
"Zeige nicht-hierarchische Taxonomien wie die hierarchischen in einem "
|
688 |
-
"Raster / in einem Medien-Popup an"
|
689 |
-
|
690 |
-
#: core/options-pages.php:1486 core/options-pages.php:1489
|
691 |
-
msgid "Force filters"
|
692 |
-
msgstr "Filter erzwingen"
|
693 |
-
|
694 |
-
#: core/options-pages.php:1490
|
695 |
-
msgid "Show media filters for ANY Media Popup"
|
696 |
-
msgstr "Zeige Medien-Filter in JEDEM Medien-Popup"
|
697 |
-
|
698 |
-
#: core/options-pages.php:1491
|
699 |
-
msgid "Try this if filters are not shown for third-party plugins or themes."
|
700 |
-
msgstr ""
|
701 |
-
"Sollten die Filter nicht für Plugins von Drittanbietern oder Themes "
|
702 |
-
"angezeigt werden, könnte das helfen"
|
703 |
-
|
704 |
-
#: core/options-pages.php:1497 core/options-pages.php:1500
|
705 |
-
msgid "Show count"
|
706 |
-
msgstr "Zeige Anzahl"
|
707 |
-
|
708 |
-
#: core/options-pages.php:1501
|
709 |
-
msgid "Show item count per category for media filters"
|
710 |
-
msgstr "Zeige Anzahl pro Medien-Filter Kategorie "
|
711 |
-
|
712 |
-
#: core/options-pages.php:1555
|
713 |
-
msgid "Add New MIME Type"
|
714 |
-
msgstr "Neuen MIME-Typ hinzufügen"
|
715 |
-
|
716 |
-
#: core/options-pages.php:1575 core/options-pages.php:1630
|
717 |
-
msgid "Extension"
|
718 |
-
msgstr "Dateiendung"
|
719 |
-
|
720 |
-
#: core/options-pages.php:1576 core/options-pages.php:1631
|
721 |
-
msgid "MIME Type"
|
722 |
-
msgstr "MIME-Typ"
|
723 |
-
|
724 |
-
#: core/options-pages.php:1577 core/options-pages.php:1632
|
725 |
-
msgid "Singular Label"
|
726 |
-
msgstr "Singular Beschriftung"
|
727 |
-
|
728 |
-
#: core/options-pages.php:1578 core/options-pages.php:1633
|
729 |
-
msgid "Plural Label"
|
730 |
-
msgstr "Plural Beschriftung"
|
731 |
-
|
732 |
-
#: core/options-pages.php:1579 core/options-pages.php:1609
|
733 |
-
#: core/options-pages.php:1622 core/options-pages.php:1634
|
734 |
-
msgid "Add Filter"
|
735 |
-
msgstr "Filter hinzufügen"
|
736 |
-
|
737 |
-
#: core/options-pages.php:1580 core/options-pages.php:1610
|
738 |
-
#: core/options-pages.php:1623 core/options-pages.php:1635
|
739 |
-
msgid "Allow Upload"
|
740 |
-
msgstr "Upload erlauben"
|
741 |
-
|
742 |
-
#: core/options-pages.php:1611 core/options-pages.php:1624
|
743 |
-
msgid "Delete MIME Type"
|
744 |
-
msgstr "MIME-Typ löschen"
|
745 |
-
|
746 |
-
#: core/options-pages.php:1671
|
747 |
-
msgid "Save Changes"
|
748 |
-
msgstr "Änderungen speichern"
|
749 |
-
|
750 |
-
#: core/options-pages.php:1701
|
751 |
-
msgid "Changelog"
|
752 |
-
msgstr "Changelog"
|
753 |
-
|
754 |
-
#: core/options-pages.php:1702
|
755 |
-
msgid "What's new in"
|
756 |
-
msgstr "Neu in"
|
757 |
-
|
758 |
-
#: core/options-pages.php:1702
|
759 |
-
msgid "version"
|
760 |
-
msgstr "Version"
|
761 |
-
|
762 |
-
#: core/options-pages.php:1705
|
763 |
-
msgid "More features under the hood"
|
764 |
-
msgstr "Mehr Features gibt’s hier"
|
765 |
-
|
766 |
-
#: core/options-pages.php:1707
|
767 |
-
msgid "Support"
|
768 |
-
msgstr "Support"
|
769 |
-
|
770 |
-
#: core/options-pages.php:1708
|
771 |
-
msgid "Feel free to ask for help on"
|
772 |
-
msgstr "Hilfe bei Fragen gibt es hier "
|
773 |
-
|
774 |
-
#: core/options-pages.php:1708
|
775 |
-
msgid "Support is free for both versions of the plugin."
|
776 |
-
msgstr "Für beide Plugin-Versionen ist der Support kostenlos."
|
777 |
-
|
778 |
-
#: core/options-pages.php:1710
|
779 |
-
msgid "Plugin rating"
|
780 |
-
msgstr "Plugin Bewertung"
|
781 |
-
|
782 |
-
#: core/options-pages.php:1711
|
783 |
-
msgid "Please"
|
784 |
-
msgstr "Bitte"
|
785 |
-
|
786 |
-
#: core/options-pages.php:1711
|
787 |
-
msgid "vote for the plugin"
|
788 |
-
msgstr "vote für das Plugin"
|
789 |
-
|
790 |
-
#: core/options-pages.php:1711
|
791 |
-
msgid "Thanks!"
|
792 |
-
msgstr "Danke!"
|
793 |
-
|
794 |
-
#: core/options-pages.php:1713
|
795 |
-
msgid "Other plugins you may find useful"
|
796 |
-
msgstr "Weitere Plugins, die Dir gefallen könnten"
|
797 |
-
|
798 |
-
#: core/options-pages.php:1752
|
799 |
-
msgid "Utility"
|
800 |
-
msgstr "Anwendung"
|
801 |
-
|
802 |
-
#: core/options-pages.php:1775
|
803 |
-
msgid "Vote!"
|
804 |
-
msgstr "Voten!"
|
805 |
-
|
806 |
-
#: core/taxonomies.php:101
|
807 |
-
msgid "Media Taxonomies settings saved."
|
808 |
-
msgstr "Medien Taxonomie Einstellungen gespeichert."
|
809 |
-
|
810 |
-
#: core/taxonomies.php:159
|
811 |
-
msgid "Media Library settings saved."
|
812 |
-
msgstr "Mediathek-Einstellungen gespeichert."
|
813 |
-
|
814 |
-
#: core/taxonomies.php:333 core/taxonomies.php:339
|
815 |
-
#: enhanced-media-library.php:509
|
816 |
-
msgid "Filter by"
|
817 |
-
msgstr "Filtern nach "
|
818 |
-
|
819 |
-
#: core/taxonomies.php:341 enhanced-media-library.php:511
|
820 |
-
msgid "Not in a"
|
821 |
-
msgstr "Nicht in"
|
822 |
-
|
823 |
-
#: core/taxonomies.php:1333 core/taxonomies.php:1340
|
824 |
-
msgid "Remove"
|
825 |
-
msgstr "Entfernen"
|
826 |
-
|
827 |
-
#: core/taxonomies.php:1335 core/taxonomies.php:1342
|
828 |
-
msgid "Deselect"
|
829 |
-
msgstr "Auswahl entfernen"
|
830 |
-
|
831 |
-
#: core/taxonomies.php:1389
|
832 |
-
msgid "Caption this image…"
|
833 |
-
msgstr "Beschrifte dieses Bild…"
|
834 |
-
|
835 |
-
#: core/taxonomies.php:1393
|
836 |
-
msgid "Describe this video…"
|
837 |
-
msgstr "Beschreibung dieser Video-Datei…"
|
838 |
-
|
839 |
-
#: core/taxonomies.php:1395
|
840 |
-
msgid "Describe this audio file…"
|
841 |
-
msgstr "Beschreibung dieser Audio-Datei…"
|
842 |
-
|
843 |
-
#: core/taxonomies.php:1397
|
844 |
-
msgid "Describe this media file…"
|
845 |
-
msgstr "Beschreibung dieser Medien-Datei…"
|
846 |
-
|
847 |
-
#: enhanced-media-library.php:342 enhanced-media-library.php:508
|
848 |
-
msgid "All Uncategorized"
|
849 |
-
msgstr "Alle unkategorisierten"
|
850 |
-
|
851 |
-
#: enhanced-media-library.php:343 enhanced-media-library.php:512
|
852 |
-
msgid "Reset All Filters"
|
853 |
-
msgstr "Alle Filter zurücksetzen"
|
854 |
-
|
855 |
-
#: enhanced-media-library.php:542
|
856 |
-
msgid "Uploaded to post #"
|
857 |
-
msgstr "Zu Beitrag Nr. hochgeladen"
|
858 |
-
|
859 |
-
#: enhanced-media-library.php:543
|
860 |
-
msgid "Based On"
|
861 |
-
msgstr "Basierend auf"
|
862 |
-
|
863 |
-
#: enhanced-media-library.php:575 enhanced-media-library.php:577
|
864 |
-
msgid "Media Categories"
|
865 |
-
msgstr "Medienkategorien"
|
866 |
-
|
867 |
-
#: enhanced-media-library.php:576
|
868 |
-
msgid "Media Category"
|
869 |
-
msgstr "Medienkategorie"
|
870 |
-
|
871 |
-
#: enhanced-media-library.php:578
|
872 |
-
msgid "All Media Categories"
|
873 |
-
msgstr "Alle Medienkategorien"
|
874 |
-
|
875 |
-
#: enhanced-media-library.php:579
|
876 |
-
msgid "Edit Media Category"
|
877 |
-
msgstr "Medienkategorie bearbeiten"
|
878 |
-
|
879 |
-
#: enhanced-media-library.php:580
|
880 |
-
msgid "View Media Category"
|
881 |
-
msgstr "Medienkategorie anzeigen"
|
882 |
-
|
883 |
-
#: enhanced-media-library.php:581
|
884 |
-
msgid "Update Media Category"
|
885 |
-
msgstr "Medienkategorie aktualisieren"
|
886 |
-
|
887 |
-
#: enhanced-media-library.php:582
|
888 |
-
msgid "Add New Media Category"
|
889 |
-
msgstr "Medienkategorie hinzufügen"
|
890 |
-
|
891 |
-
#: enhanced-media-library.php:583
|
892 |
-
msgid "New Media Category Name"
|
893 |
-
msgstr "Name der neuen Medienkategorie"
|
894 |
-
|
895 |
-
#: enhanced-media-library.php:584
|
896 |
-
msgid "Parent Media Category"
|
897 |
-
msgstr "Übergeordnete Medienkategorie"
|
898 |
-
|
899 |
-
#: enhanced-media-library.php:585
|
900 |
-
msgid "Parent Media Category:"
|
901 |
-
msgstr "Übergeordnete Medienkategorie:"
|
902 |
-
|
903 |
-
#: enhanced-media-library.php:586
|
904 |
-
msgid "Search Media Categories"
|
905 |
-
msgstr "Durchsuche Medienkategorien"
|
906 |
-
|
907 |
-
#. Plugin URI of the plugin/theme
|
908 |
-
#. Author URI of the plugin/theme
|
909 |
-
msgid "http://wpUXsolutions.com"
|
910 |
-
msgstr "http://wpUXsolutions.com"
|
911 |
-
|
912 |
-
#. Description of the plugin/theme
|
913 |
-
msgid ""
|
914 |
-
"This plugin will be handy for those who need to manage a lot of media files."
|
915 |
-
msgstr "Perfekt für alle, die viele Medien verwalten wollen."
|
916 |
-
|
917 |
-
#. Author of the plugin/theme
|
918 |
-
msgid "wpUXsolutions"
|
919 |
-
msgstr "wpUXsolutions"
|
920 |
-
|
921 |
-
#~ msgid ""
|
922 |
-
#~ "%1$s could not establish a secure connection to request information about "
|
923 |
-
#~ "available updates. An error occurred: %2$s. Please <a href=\"%3$s"
|
924 |
-
#~ "\">contact plugin authors</a>."
|
925 |
-
#~ msgstr ""
|
926 |
-
#~ "%1$s konnte keine sichere Verbindung herstellen, um nach verfügbaren "
|
927 |
-
#~ "Updates zu suchen. Ein Fehler ist aufgetreten: %2$s. Bitte<a href=\"%3$s"
|
928 |
-
#~ "\">die Plugin Autoren kontaktieren</a>."
|
929 |
-
|
930 |
-
#~ msgid "Untrash Selected"
|
931 |
-
#~ msgstr "Ausgewählte wiederherstellen"
|
932 |
-
|
933 |
-
#~ msgid "NOT recommended if you work with more than hundred files at a time."
|
934 |
-
#~ msgstr ""
|
935 |
-
#~ "NICHT empfohlen für das Arbeiten mit mehr als hundert Dateien auf einmal."
|
936 |
-
|
937 |
-
#~ msgid "Attachments Details"
|
938 |
-
#~ msgstr "Mediendetails"
|
939 |
-
|
940 |
-
#~ msgid "Select All"
|
941 |
-
#~ msgstr "Alle auswählen"
|
942 |
-
|
943 |
-
#~ msgid "Deselect All"
|
944 |
-
#~ msgstr "Alle abwählen"
|
945 |
-
|
946 |
-
#~ msgid "Delete Selected"
|
947 |
-
#~ msgstr "Ausgewählte löschen"
|
948 |
-
|
949 |
-
#~ msgid "Trash Selected"
|
950 |
-
#~ msgstr "Ausgewählte in den Papierkorb"
|
951 |
-
|
952 |
-
#~ msgid "Delete Selected Permanently"
|
953 |
-
#~ msgstr "Auswahl permanent löschen"
|
954 |
-
|
955 |
-
#~ msgid "Order By"
|
956 |
-
#~ msgstr "Sortieren nach"
|
957 |
-
|
958 |
-
#~ msgid "Random"
|
959 |
-
#~ msgstr "Zufällig"
|
960 |
-
|
961 |
-
#~ msgid "Order"
|
962 |
-
#~ msgstr "Reihenfolge"
|
963 |
-
|
964 |
-
#~ msgid "Limit"
|
965 |
-
#~ msgstr "Limit"
|
966 |
-
|
967 |
-
#~ msgid "Your license has been deactivated."
|
968 |
-
#~ msgstr "Die Lizenz wurde deaktiviert."
|
969 |
-
|
970 |
-
#~ msgid "Please check if your license key is correct and try again."
|
971 |
-
#~ msgstr ""
|
972 |
-
#~ "Bitte überprüfen, ob der Lizenzschlüssel korrekt ist und erneut versuchen."
|
973 |
-
|
974 |
-
#~ msgid ""
|
975 |
-
#~ "Activation failed with the error: %s. Please <a href=\"%s\">contact "
|
976 |
-
#~ "plugin authors</a>."
|
977 |
-
#~ msgstr ""
|
978 |
-
#~ "Aktivierung mit folgendem Fehler fehlgeschlagen: %s. Bitte <a href=\"%s"
|
979 |
-
#~ "\">die Plugin Autoren kontaktieren</a>."
|
980 |
-
|
981 |
-
#~ msgid ""
|
982 |
-
#~ "Your license key is incorrect or canceled. Please <a href=\"%s\">contact "
|
983 |
-
#~ "plugin authors</a>."
|
984 |
-
#~ msgstr ""
|
985 |
-
#~ "Der Lizenzschlüssel ist falsch oder ungültig. Bitte <a href=\"%s\">die "
|
986 |
-
#~ "Plugin Autoren kontaktieren</a>."
|
987 |
-
|
988 |
-
#~ msgid "You license has been activated."
|
989 |
-
#~ msgstr "Die Lizenz wurde aktiviert."
|
990 |
-
|
991 |
-
#~ msgid "Auto-assign media items to parent %s %s on upload"
|
992 |
-
#~ msgstr ""
|
993 |
-
#~ "Beim Hochladen Medien automatisch den übergeordneten Elementen %s %s "
|
994 |
-
#~ "zuordnen"
|
995 |
-
|
996 |
-
#~ msgid ""
|
997 |
-
#~ "%sWarning:%s As a result of clicking \"Synchronize Now\" all media items "
|
998 |
-
#~ "attached to a %s will be assigned to %s of their parent %s. Currently "
|
999 |
-
#~ "assigned %s will not be saved. Media items that are not attached to any "
|
1000 |
-
#~ "%s will not be affected."
|
1001 |
-
#~ msgstr ""
|
1002 |
-
#~ "%sAchtung:%s Durch das Klicken von \"Jetzt synchronisieren\" werden alle "
|
1003 |
-
#~ "Medien die mit %s verbunden sind, %s des übergeordneten Elements %s "
|
1004 |
-
#~ "zugeordnet. Derzeit zugewiesene %s werden nicht gespeichert. Medien, die "
|
1005 |
-
#~ "mit keinem %s verbunden sind, sind nicht betroffen."
|
1006 |
-
|
1007 |
-
#~ msgid "Bulk Edit"
|
1008 |
-
#~ msgstr "Massenbearbeitung"
|
1009 |
-
|
1010 |
-
#~ msgid "Turn off 'Save Changes' button"
|
1011 |
-
#~ msgstr "'Änderungen speichern'-Button deaktivieren"
|
1012 |
-
|
1013 |
-
#~ msgid "Save changes on the fly"
|
1014 |
-
#~ msgstr "Änderungen sofort speichern"
|
1015 |
-
|
1016 |
-
#~ msgid ""
|
1017 |
-
#~ "Any click on a taxonomy checkbox during media files bulk editing will "
|
1018 |
-
#~ "lead to an <strong style=\"color:red\">immediate saving</strong> of the "
|
1019 |
-
#~ "data. Please, be careful! You have much greater chance to <strong style="
|
1020 |
-
#~ "\"color:red\">accidentally perform wrong re-assigning</strong> of a lot "
|
1021 |
-
#~ "of your media files / taxonomies with this option turned on."
|
1022 |
-
#~ msgstr ""
|
1023 |
-
#~ "Das Anklicken der Taxonomie Checkbox während der Bearbeitung vieler "
|
1024 |
-
#~ "Dateien führt zur <strong style=\"color:red\">sofortigen Speicherung</"
|
1025 |
-
#~ "strong> der Daten.\n"
|
1026 |
-
#~ "\n"
|
1027 |
-
#~ "Hier bitte vorsichtig sein!\n"
|
1028 |
-
#~ "\n"
|
1029 |
-
#~ "Denn die Chance ist sehr viel größer, viele Medien Dateien / Taxonomien "
|
1030 |
-
#~ "<strong style=\"color:red\">aus versehen falsch neu zuzuordnen</strong>, "
|
1031 |
-
#~ "wenn diese Option angestellt ist."
|
1032 |
-
|
1033 |
-
#~ msgid "License Key"
|
1034 |
-
#~ msgstr "Lizenzschlüssel"
|
1035 |
-
|
1036 |
-
#~ msgid ""
|
1037 |
-
#~ "To unlock updates please enter your license key below. You can get your "
|
1038 |
-
#~ "license key in <a href=\"%s\">Your Account</a>. If you do not have a "
|
1039 |
-
#~ "license, you are welcome to <a href=\"%s\">purchase it</a>."
|
1040 |
-
#~ msgstr ""
|
1041 |
-
#~ "Um die Updates freizuschalten, bitte unten den Lizenzschlüssel eingeben. "
|
1042 |
-
#~ "Dieser kann unter <a href=\"%s\">Account</a> gefunden werden. Ist noch "
|
1043 |
-
#~ "keine Lizenz vorhanden, kann <a href=\"%s\">hier</a> eine erworben werden."
|
1044 |
-
|
1045 |
-
#~ msgid "Activate License"
|
1046 |
-
#~ msgstr "Lizenz aktivieren"
|
1047 |
-
|
1048 |
-
#~ msgid "Your license is active!"
|
1049 |
-
#~ msgstr "Die Lizenz ist aktiv!"
|
1050 |
-
|
1051 |
-
#~ msgid "Deactivate License"
|
1052 |
-
#~ msgstr "Lizenz deaktivieren"
|
1053 |
-
|
1054 |
-
#~ msgid ""
|
1055 |
-
#~ "An unexpected error occurred. Something may be wrong with WordPress.org "
|
1056 |
-
#~ "or this server’s configuration. If you continue to have problems, "
|
1057 |
-
#~ "please try the <a href=\"https://wordpress.org/support/\">support forums</"
|
1058 |
-
#~ "a>."
|
1059 |
-
#~ msgstr ""
|
1060 |
-
#~ "Ein unerwarteter Fehler ist aufgetreten. Der Fehler kann bei WordPress."
|
1061 |
-
#~ "org oder an der Konfiguration dieses Servers liegen. Wenn weiterhin "
|
1062 |
-
#~ "Probleme auftreten, kann im <a href=\"https://wordpress.org/support/"
|
1063 |
-
#~ "\">Support Forum</a> um Hilfestellung gebeten werden."
|
1064 |
-
|
1065 |
-
#~ msgid ""
|
1066 |
-
#~ "(WordPress could not establish a secure connection to WordPress.org. "
|
1067 |
-
#~ "Please contact your server administrator.)"
|
1068 |
-
#~ msgstr ""
|
1069 |
-
#~ "(WordPress konnte keine sichere Verbindung zu WordPress.org aufbauen. "
|
1070 |
-
#~ "Bitte den Serveradministrator kontaktieren.)"
|
1071 |
-
|
1072 |
-
#~ msgid ""
|
1073 |
-
#~ "To unlock updates, please <a href=\"%s\">activate your license</a>. You "
|
1074 |
-
#~ "can get your license key in <a href=\"%s\">Your Account</a>. If you do "
|
1075 |
-
#~ "not have a license, you are welcome to <a href=\"%s\">purchase it</a>."
|
1076 |
-
#~ msgstr ""
|
1077 |
-
#~ "Um die Updates freizuschalten, <a href=\"%s\">bitte die Lizenz "
|
1078 |
-
#~ "aktivieren</a>. Der Lizenzschlüssel kann unter<a href=\"%s\">Account</a> "
|
1079 |
-
#~ "gefunden werden. Ist noch keine Lizenz vorhanden, kann <a href=\"%s"
|
1080 |
-
#~ "\">hier</a> eine erworben werden."
|
1081 |
-
|
1082 |
-
#~ msgid "ALL files belong to this item"
|
1083 |
-
#~ msgstr "ALLE Dateien gehören zu diesem Eintrag"
|
1084 |
-
|
1085 |
-
#~ msgid "SOME files belong to this item"
|
1086 |
-
#~ msgstr "EINIGE Dateien gehören zu diesem Eintrag"
|
1087 |
-
|
1088 |
-
#~ msgid "NO files belong to this item"
|
1089 |
-
#~ msgstr "KEINE Dateien gehören zu diesem Eintrag"
|
1090 |
-
|
1091 |
-
#~ msgid "Changes saved."
|
1092 |
-
#~ msgstr "Änderungen gespeichert."
|
1093 |
-
|
1094 |
-
#~ msgid "Something went wrong."
|
1095 |
-
#~ msgstr "Das hat leider nicht geklappt."
|
1096 |
-
|
1097 |
-
#~ msgid "Edit Media Files"
|
1098 |
-
#~ msgstr "Mediendateien bearbeiten"
|
1099 |
-
|
1100 |
-
#~ msgid "Selecting"
|
1101 |
-
#~ msgstr "Auswählen"
|
1102 |
-
|
1103 |
-
#~ msgid "You are about to permanently delete all selected items."
|
1104 |
-
#~ msgstr "Die ausgewählten Elemente werden permanent gelöscht."
|
1105 |
-
|
1106 |
-
#~ msgid "Delete"
|
1107 |
-
#~ msgstr "Löschen"
|
1108 |
-
|
1109 |
-
#~ msgid "Moving to Trash"
|
1110 |
-
#~ msgstr "In Papierkorb legen"
|
1111 |
-
|
1112 |
-
#~ msgid "Restoring"
|
1113 |
-
#~ msgstr "Wiederherstellen"
|
1114 |
-
|
1115 |
-
#~ msgid "Deleting"
|
1116 |
-
#~ msgstr "Löschen"
|
1117 |
-
|
1118 |
-
#~ msgid "Create a filter-based gallery"
|
1119 |
-
#~ msgstr "Eine filter-basierte Galerie erstellen"
|
1120 |
-
|
1121 |
-
#~ msgid "Create a filter-based playlist"
|
1122 |
-
#~ msgstr "Eine filter-basierte Playlist erstellen"
|
1123 |
-
|
1124 |
-
#~ msgid "Create a filter-based video playlist"
|
1125 |
-
#~ msgstr "Eine filter-basierte Video Playlist erstellen"
|
1126 |
-
|
1127 |
-
#~ msgid ""
|
1128 |
-
#~ "Please deactivate and <strong>remove</strong> the old FREE version prior "
|
1129 |
-
#~ "to the <strong>Enhanced Media Library PRO</strong> activation. All your "
|
1130 |
-
#~ "data will remain intact."
|
1131 |
-
#~ msgstr ""
|
1132 |
-
#~ "Bitte die alte FREE Version deaktivieren und <strong>entfernen</strong> , "
|
1133 |
-
#~ "bevor <strong>Enhanced Media Library PRO</strong> aktiviert wird. "
|
1134 |
-
#~ "Sämtliche Daten bleiben erhalten."
|
1135 |
-
|
1136 |
-
#~ msgid "Return to Plugins"
|
1137 |
-
#~ msgstr "Zurück zu Plugins"
|
1138 |
-
|
1139 |
-
#~ msgid ""
|
1140 |
-
#~ "Both FREE and PRO versions of the Enhanced Media Library are network "
|
1141 |
-
#~ "active. <strong>Enhanced Media Library PRO</strong> does not require free "
|
1142 |
-
#~ "version to be active. Please network deactivate and delete the free "
|
1143 |
-
#~ "versions of the plugin. All your data will remain intact."
|
1144 |
-
#~ msgstr ""
|
1145 |
-
#~ "Sowohl die FREE, als auch die PRO Version der Enhanced Media Library sind "
|
1146 |
-
#~ "im Netzwerk aktiv. <strong>Enhanced Media Library PRO</strong> benötigt "
|
1147 |
-
#~ "nicht die kostenlose Version, um zu laufen. Bitte die FREE Versionen des "
|
1148 |
-
#~ "Plugins im Netzwerk deaktivieren und entfernen. Sämtliche Daten bleiben "
|
1149 |
-
#~ "erhalten."
|
1150 |
-
|
1151 |
-
#~ msgid ""
|
1152 |
-
#~ "<strong>Enhanced Media Library PRO</strong> does not require free version "
|
1153 |
-
#~ "to be active. Please deactivate and delete the free version of the "
|
1154 |
-
#~ "plugin. All your data will remain intact."
|
1155 |
-
#~ msgstr ""
|
1156 |
-
#~ "<strong>Enhanced Media Library PRO</strong> benötigt nicht die kostenlose "
|
1157 |
-
#~ "Version, um zu laufen. Bitte die FREE Version deaktivieren und entfernen. "
|
1158 |
-
#~ "Sämtliche Daten bleiben erhalten."
|
1159 |
-
|
1160 |
-
#~ msgid ""
|
1161 |
-
#~ "Both FREE and PRO versions of the Enhanced Media Library are active for "
|
1162 |
-
#~ "this site. <strong>Enhanced Media Library PRO</strong> does not require "
|
1163 |
-
#~ "free version to be active. Please deactivate (or network deactivate) and "
|
1164 |
-
#~ "delete the free version of the plugin for this site. All your data will "
|
1165 |
-
#~ "remail intact."
|
1166 |
-
#~ msgstr ""
|
1167 |
-
#~ "Sowohl die FREE, als auch die PRO Version der Enhanced Media Library sind "
|
1168 |
-
#~ "für diese Seite aktiviert. <strong>Enhanced Media Library PRO</strong> "
|
1169 |
-
#~ "benötigt nicht die kostenlose Version, um zu laufen. Bitte die FREE "
|
1170 |
-
#~ "Version des Plugins (im Netzwerk) oder für diese Seite deaktivieren und "
|
1171 |
-
#~ "löschen. Sämtliche Daten bleiben erhalten."
|
1172 |
-
|
1173 |
-
#~ msgid "Enhanced Media Library PRO"
|
1174 |
-
#~ msgstr "Enhanced Media Library PRO"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
languages/enhanced-media-library-it_IT.mo
DELETED
Binary file
|
languages/enhanced-media-library-it_IT.po
DELETED
@@ -1,1094 +0,0 @@
|
|
1 |
-
# Translation of Enhanced Media Library (Free & PRO) in Italian
|
2 |
-
# This file is distributed under the same license as the Enhanced Media Library (Free & PRO) package.
|
3 |
-
msgid ""
|
4 |
-
msgstr ""
|
5 |
-
"Project-Id-Version: Enhanced Media Library (Free & PRO)\n"
|
6 |
-
"POT-Creation-Date: 2018-02-06 01:13+0200\n"
|
7 |
-
"PO-Revision-Date: 2018-02-06 01:15+0200\n"
|
8 |
-
"Last-Translator: \n"
|
9 |
-
"Language-Team: \n"
|
10 |
-
"Language: it\n"
|
11 |
-
"MIME-Version: 1.0\n"
|
12 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
-
"Content-Transfer-Encoding: 8bit\n"
|
14 |
-
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
15 |
-
"X-Generator: Poedit 2.0.5\n"
|
16 |
-
|
17 |
-
#: core/mime-types.php:30
|
18 |
-
msgid "MIME Types settings restored."
|
19 |
-
msgstr "Impostazioni tipi MIME ripristinate."
|
20 |
-
|
21 |
-
#: core/mime-types.php:39
|
22 |
-
msgid "MIME Types settings saved."
|
23 |
-
msgstr "Impostazioni tipi MIME salvate."
|
24 |
-
|
25 |
-
#: core/mime-types.php:116
|
26 |
-
#, php-format
|
27 |
-
msgid " <span class=\"count\">(%s)</span>"
|
28 |
-
msgid_plural " <span class=\"count\">(%s)</span>"
|
29 |
-
msgstr[0] " <span class=\"count\">(%s)</span>"
|
30 |
-
msgstr[1] " <span class=\"count\">(%s)</span>"
|
31 |
-
|
32 |
-
#: core/options-pages.php:97 core/options-pages.php:220
|
33 |
-
#: core/options-pages.php:313 core/options-pages.php:1089
|
34 |
-
#: core/options-pages.php:1224 core/options-pages.php:1549
|
35 |
-
#: core/options-pages.php:1749
|
36 |
-
msgid "Media Settings"
|
37 |
-
msgstr "Impostazioni Media"
|
38 |
-
|
39 |
-
#: core/options-pages.php:106 core/options-pages.php:285
|
40 |
-
msgid "Media Library"
|
41 |
-
msgstr "Libreria Media"
|
42 |
-
|
43 |
-
#: core/options-pages.php:115
|
44 |
-
msgid "Taxonomies"
|
45 |
-
msgstr "Tassonomie"
|
46 |
-
|
47 |
-
#: core/options-pages.php:124 core/options-pages.php:287
|
48 |
-
msgid "MIME Types"
|
49 |
-
msgstr "Tipi MIME"
|
50 |
-
|
51 |
-
#. Plugin Name of the plugin/theme
|
52 |
-
#: core/options-pages.php:135 core/options-pages.php:136
|
53 |
-
msgid "Enhanced Media Library"
|
54 |
-
msgstr "Enhanced Media Library"
|
55 |
-
|
56 |
-
#: core/options-pages.php:284
|
57 |
-
msgid "General"
|
58 |
-
msgstr "Generale"
|
59 |
-
|
60 |
-
#: core/options-pages.php:286 core/options-pages.php:1245
|
61 |
-
msgid "Media Taxonomies"
|
62 |
-
msgstr "Tassonomie Media"
|
63 |
-
|
64 |
-
#: core/options-pages.php:310 core/options-pages.php:624
|
65 |
-
#: core/options-pages.php:1085 core/options-pages.php:1221
|
66 |
-
#: core/options-pages.php:1545
|
67 |
-
msgid "You do not have sufficient permissions to access this page."
|
68 |
-
msgstr "Non disponi dei permessi sufficienti per accedere a questa pagina."
|
69 |
-
|
70 |
-
#: core/options-pages.php:324
|
71 |
-
msgid "Image sizes"
|
72 |
-
msgstr "Dimensioni immagine"
|
73 |
-
|
74 |
-
#: core/options-pages.php:325
|
75 |
-
msgid ""
|
76 |
-
"The sizes listed below determine the maximum dimensions in pixels to use "
|
77 |
-
"when adding an image to the Media Library."
|
78 |
-
msgstr ""
|
79 |
-
"Le misure qui sotto determinano le dimensioni massime in pixel da utilizzare "
|
80 |
-
"quando si aggiunge un'immagine alla Libreria Media."
|
81 |
-
|
82 |
-
#: core/options-pages.php:329
|
83 |
-
msgid "Thumbnail size"
|
84 |
-
msgstr "Dimensioni della miniatura"
|
85 |
-
|
86 |
-
#: core/options-pages.php:331
|
87 |
-
msgid "Width"
|
88 |
-
msgstr "Larghezza"
|
89 |
-
|
90 |
-
#: core/options-pages.php:333
|
91 |
-
msgid "Height"
|
92 |
-
msgstr "Altezza"
|
93 |
-
|
94 |
-
#: core/options-pages.php:336
|
95 |
-
msgid ""
|
96 |
-
"Crop thumbnail to exact dimensions (normally thumbnails are proportional)"
|
97 |
-
msgstr ""
|
98 |
-
"Ritaglia la miniatura alle dimensioni esatte (solitamente le miniature sono "
|
99 |
-
"proporzionali)"
|
100 |
-
|
101 |
-
#: core/options-pages.php:341 core/options-pages.php:342
|
102 |
-
msgid "Medium size"
|
103 |
-
msgstr "Dimensioni medie"
|
104 |
-
|
105 |
-
#: core/options-pages.php:343 core/options-pages.php:354
|
106 |
-
msgid "Max Width"
|
107 |
-
msgstr "Larghezza massima"
|
108 |
-
|
109 |
-
#: core/options-pages.php:346 core/options-pages.php:357
|
110 |
-
msgid "Max Height"
|
111 |
-
msgstr "Altezza massima"
|
112 |
-
|
113 |
-
#: core/options-pages.php:352 core/options-pages.php:353
|
114 |
-
msgid "Large size"
|
115 |
-
msgstr "Dimensioni grandi"
|
116 |
-
|
117 |
-
#: core/options-pages.php:370
|
118 |
-
msgid "Embeds"
|
119 |
-
msgstr "Incorporamenti"
|
120 |
-
|
121 |
-
#: core/options-pages.php:377
|
122 |
-
msgid "Uploading Files"
|
123 |
-
msgstr "Caricamento file"
|
124 |
-
|
125 |
-
#: core/options-pages.php:384
|
126 |
-
msgid "Store uploads in this folder"
|
127 |
-
msgstr "Caricamento file"
|
128 |
-
|
129 |
-
#: core/options-pages.php:388
|
130 |
-
#, php-format
|
131 |
-
msgid "Default is %s"
|
132 |
-
msgstr "Il valore di default è %s"
|
133 |
-
|
134 |
-
#: core/options-pages.php:394
|
135 |
-
msgid "Full URL path to files"
|
136 |
-
msgstr "URL completo dei file"
|
137 |
-
|
138 |
-
#: core/options-pages.php:396
|
139 |
-
msgid "Configuring this is optional. By default, it should be blank."
|
140 |
-
msgstr ""
|
141 |
-
"La configurazione è opzionale. Per impostazione predefinita, dovrebbe "
|
142 |
-
"essere vuoto."
|
143 |
-
|
144 |
-
#: core/options-pages.php:404
|
145 |
-
msgid "Organize my uploads into month- and year-based folders"
|
146 |
-
msgstr "Organizza gli upload in cartelle sulla base di mese e anno"
|
147 |
-
|
148 |
-
#: core/options-pages.php:476 core/options-pages.php:1269
|
149 |
-
#: core/options-pages.php:1284 core/options-pages.php:1347
|
150 |
-
#: core/options-pages.php:1419
|
151 |
-
msgid "Edit"
|
152 |
-
msgstr "Modifica"
|
153 |
-
|
154 |
-
#: core/options-pages.php:477
|
155 |
-
msgid "Close"
|
156 |
-
msgstr "Chiudi"
|
157 |
-
|
158 |
-
#: core/options-pages.php:478 core/options-pages.php:1285
|
159 |
-
#: core/options-pages.php:1348
|
160 |
-
msgid "View"
|
161 |
-
msgstr "Visualizza"
|
162 |
-
|
163 |
-
#: core/options-pages.php:479 core/options-pages.php:1286
|
164 |
-
#: core/options-pages.php:1349
|
165 |
-
msgid "Update"
|
166 |
-
msgstr "Aggiorna"
|
167 |
-
|
168 |
-
#: core/options-pages.php:480 core/options-pages.php:1287
|
169 |
-
#: core/options-pages.php:1350
|
170 |
-
msgid "Add New"
|
171 |
-
msgstr "Aggiungi nuovo"
|
172 |
-
|
173 |
-
#: core/options-pages.php:481 core/options-pages.php:1288
|
174 |
-
#: core/options-pages.php:1351
|
175 |
-
msgid "New"
|
176 |
-
msgstr "Nuovo"
|
177 |
-
|
178 |
-
#: core/options-pages.php:482
|
179 |
-
msgid "Name"
|
180 |
-
msgstr "Nome"
|
181 |
-
|
182 |
-
#: core/options-pages.php:483 core/options-pages.php:1289
|
183 |
-
#: core/options-pages.php:1352
|
184 |
-
msgid "Parent"
|
185 |
-
msgstr "Genitore"
|
186 |
-
|
187 |
-
#: core/options-pages.php:484 core/options-pages.php:720
|
188 |
-
#: core/options-pages.php:1283 core/options-pages.php:1346
|
189 |
-
#: core/taxonomies.php:340 enhanced-media-library.php:510
|
190 |
-
msgid "All"
|
191 |
-
msgstr "Tutto"
|
192 |
-
|
193 |
-
#: core/options-pages.php:485 core/options-pages.php:1290
|
194 |
-
#: core/options-pages.php:1353
|
195 |
-
msgid "Search"
|
196 |
-
msgstr "Cerca"
|
197 |
-
|
198 |
-
#: core/options-pages.php:487 core/options-pages.php:1334
|
199 |
-
msgid "New Taxonomy"
|
200 |
-
msgstr "Nuova tassonomia"
|
201 |
-
|
202 |
-
#: core/options-pages.php:489
|
203 |
-
msgid "Remove Taxonomy"
|
204 |
-
msgstr "Elimina tassonomia"
|
205 |
-
|
206 |
-
#: core/options-pages.php:490
|
207 |
-
msgid "Taxonomy will be removed."
|
208 |
-
msgstr "La tassonomia verrà rimossa."
|
209 |
-
|
210 |
-
#: core/options-pages.php:491
|
211 |
-
msgid ""
|
212 |
-
"Taxonomy terms (categories) will remain intact in the database. If you "
|
213 |
-
"create a taxonomy with the same name in the future, its terms (categories) "
|
214 |
-
"will be available again."
|
215 |
-
msgstr ""
|
216 |
-
"I termini (categorie) di questa tassonomia rimarranno intatti nel database. "
|
217 |
-
"Se in futuro verrà creata una tassonomia con lo stesso nome, i suoi "
|
218 |
-
"termini (categorie) saranno nuovamente disponibili."
|
219 |
-
|
220 |
-
#: core/options-pages.php:492
|
221 |
-
msgid "Media items will remain intact."
|
222 |
-
msgstr "Gli elementi Media rimarranno invariati."
|
223 |
-
|
224 |
-
#: core/options-pages.php:493
|
225 |
-
msgid "Are you still sure?"
|
226 |
-
msgstr "Sei ancora sicuro?"
|
227 |
-
|
228 |
-
#: core/options-pages.php:494
|
229 |
-
msgid "Yes, remove taxonomy"
|
230 |
-
msgstr "Sì, rimuovi la tassonomia"
|
231 |
-
|
232 |
-
#: core/options-pages.php:496
|
233 |
-
msgid "Duplicate"
|
234 |
-
msgstr "Doppione"
|
235 |
-
|
236 |
-
#: core/options-pages.php:497
|
237 |
-
msgid "Taxonomy with the same name already exists. Please chose other one."
|
238 |
-
msgstr ""
|
239 |
-
"Una tassonomia con questo nome esiste già. Si prega di sceglierne un "
|
240 |
-
"altro."
|
241 |
-
|
242 |
-
#: core/options-pages.php:499
|
243 |
-
msgid "Empty Fields"
|
244 |
-
msgstr "Campi vuoti"
|
245 |
-
|
246 |
-
#: core/options-pages.php:500
|
247 |
-
msgid "Please choose Singular and Plural names for all new taxomonies."
|
248 |
-
msgstr ""
|
249 |
-
"Si prega di scegliere i nomi per il singolare e plurale per tutte le nuove "
|
250 |
-
"tassonomie."
|
251 |
-
|
252 |
-
#: core/options-pages.php:501
|
253 |
-
msgid "Please choose Singular name for all new taxomonies."
|
254 |
-
msgstr ""
|
255 |
-
|
256 |
-
#: core/options-pages.php:502
|
257 |
-
msgid "Please choose Plural Name for all new taxomonies."
|
258 |
-
msgstr "Si prega di scegliere il nome plurale per tutte le nuove tassonomie."
|
259 |
-
|
260 |
-
#: core/options-pages.php:504
|
261 |
-
msgid "Ok"
|
262 |
-
msgstr "Ok"
|
263 |
-
|
264 |
-
#: core/options-pages.php:505 core/options-pages.php:510
|
265 |
-
#: core/options-pages.php:554 core/options-pages.php:599
|
266 |
-
msgid "Cancel"
|
267 |
-
msgstr "Annulla"
|
268 |
-
|
269 |
-
#: core/options-pages.php:507
|
270 |
-
msgid "Synchronize Now"
|
271 |
-
msgstr "Sincronizza ora"
|
272 |
-
|
273 |
-
#: core/options-pages.php:508 core/options-pages.php:596
|
274 |
-
msgid "This operation cannot be canceled! Are you still sure?"
|
275 |
-
msgstr " Questa operazione non può essere annullata! Sei sempre sicuro?"
|
276 |
-
|
277 |
-
#: core/options-pages.php:509
|
278 |
-
msgid "Synchronize"
|
279 |
-
msgstr "Sincronizza"
|
280 |
-
|
281 |
-
#: core/options-pages.php:511
|
282 |
-
msgid "Synchronizing..."
|
283 |
-
msgstr "Sincronizzazione..."
|
284 |
-
|
285 |
-
#: core/options-pages.php:549 core/options-pages.php:1673
|
286 |
-
msgid "Restore WordPress default MIME Types"
|
287 |
-
msgstr "Ripristina i tipi MIME predefiniti di WordPress"
|
288 |
-
|
289 |
-
#: core/options-pages.php:550
|
290 |
-
msgid "Warning! All your custom MIME Types will be deleted by this operation."
|
291 |
-
msgstr ""
|
292 |
-
"Attenzione! Tutti i tuoi tipi MIME personalizzati verranno eliminati con "
|
293 |
-
"questa operazione."
|
294 |
-
|
295 |
-
#: core/options-pages.php:551
|
296 |
-
msgid "Restore Defaults"
|
297 |
-
msgstr ""
|
298 |
-
|
299 |
-
#: core/options-pages.php:552
|
300 |
-
msgid "Restoring..."
|
301 |
-
msgstr ""
|
302 |
-
|
303 |
-
#: core/options-pages.php:556
|
304 |
-
msgid "Please fill into all fields."
|
305 |
-
msgstr "Si prega di compilare in tutti i campi."
|
306 |
-
|
307 |
-
#: core/options-pages.php:557
|
308 |
-
msgid "Duplicate extensions or MIME types. Please choose other one."
|
309 |
-
msgstr "Estensione o tipo MIME duplicato. Si prega di sceglierne un altro."
|
310 |
-
|
311 |
-
#: core/options-pages.php:594 core/options-pages.php:711
|
312 |
-
msgid "Complete Cleanup"
|
313 |
-
msgstr "Pulizia completa"
|
314 |
-
|
315 |
-
#: core/options-pages.php:595
|
316 |
-
msgid ""
|
317 |
-
"You are about to <strong style=\"text-transform:uppercase\">delete all "
|
318 |
-
"plugin data</strong> from the database including backups."
|
319 |
-
msgstr ""
|
320 |
-
"Stai per <strong style=\"text-transform:uppercase\">eliminare tutti i dati "
|
321 |
-
"del plugin</strong> dal database inclusi i backup."
|
322 |
-
|
323 |
-
#: core/options-pages.php:597
|
324 |
-
msgid "Yes, delete all data"
|
325 |
-
msgstr "Sì, cancella tutti i dati"
|
326 |
-
|
327 |
-
#: core/options-pages.php:598
|
328 |
-
msgid "Cleaning..."
|
329 |
-
msgstr "Pulizia in corso..."
|
330 |
-
|
331 |
-
#: core/options-pages.php:629
|
332 |
-
msgid "Enhanced Media Library Settings"
|
333 |
-
msgstr "Impostazioni Enhanced Media Library"
|
334 |
-
|
335 |
-
#: core/options-pages.php:639
|
336 |
-
msgid "Export"
|
337 |
-
msgstr "Esporta"
|
338 |
-
|
339 |
-
#: core/options-pages.php:643
|
340 |
-
msgid ""
|
341 |
-
"Plugin settings tabs <strong>Media Library</strong>, <strong>Media "
|
342 |
-
"Taxonomies</strong>, and <strong>MIME Types</strong> will be exported to a "
|
343 |
-
"configuration file. It allows you to easily import the configuration into "
|
344 |
-
"another website."
|
345 |
-
msgstr ""
|
346 |
-
"Le impostazioni del plugin dei tab <strong>Libreria Media</strong>, "
|
347 |
-
"<strong>Tassonomie Media</strong> e <strong>Tipi MIME</strong> saranno "
|
348 |
-
"esportate in un file di configurazione. Questo consente di importare "
|
349 |
-
"facilmente la configurazione in un altro sito web."
|
350 |
-
|
351 |
-
#: core/options-pages.php:648
|
352 |
-
msgid "Export Plugin Settings"
|
353 |
-
msgstr "Esporta le impostazioni del plugin"
|
354 |
-
|
355 |
-
#: core/options-pages.php:658
|
356 |
-
msgid "Import"
|
357 |
-
msgstr "Importa"
|
358 |
-
|
359 |
-
#: core/options-pages.php:662
|
360 |
-
msgid ""
|
361 |
-
"Plugin settings tabs <strong>Media Library</strong>, <strong>Media "
|
362 |
-
"Taxonomies</strong>, and <strong>MIME Types</strong> will be imported from a "
|
363 |
-
"configuration file which can be obtained by exporting the settings on "
|
364 |
-
"another website using the export button above."
|
365 |
-
msgstr ""
|
366 |
-
"Le impostazioni del plugin dei tab <strong>Libreria Media</strong>, "
|
367 |
-
"<strong>Tassonomie Media</strong> e <strong>Tipi MIME</strong> verranno "
|
368 |
-
"importate da un file di configurazione che può essere ottenuto "
|
369 |
-
"mediante l'esportazione da un altro sito web utilizzando il pulsante Esporta "
|
370 |
-
"sopra."
|
371 |
-
|
372 |
-
#: core/options-pages.php:663
|
373 |
-
msgid ""
|
374 |
-
"All plugin settings will be overridden by the import. You will have a chance "
|
375 |
-
"to restore current data from an automatic backup in case you are not "
|
376 |
-
"satisfied with the result of the import."
|
377 |
-
msgstr ""
|
378 |
-
"Tutte le impostazioni del plugin saranno sovrascritte dall'importazione. "
|
379 |
-
"Avrete la possibilità di ripristinare le impostazioni correnti da un backup "
|
380 |
-
"automatico nel caso in cui non sarete soddisfatti del risultato "
|
381 |
-
"dell'importazione."
|
382 |
-
|
383 |
-
#: core/options-pages.php:670
|
384 |
-
msgid "Import Plugin Settings"
|
385 |
-
msgstr "Importa le impostazioni del plugin"
|
386 |
-
|
387 |
-
#: core/options-pages.php:682
|
388 |
-
msgid "Restore"
|
389 |
-
msgstr "Ripristina"
|
390 |
-
|
391 |
-
#: core/options-pages.php:688
|
392 |
-
msgid "No backup available at the moment."
|
393 |
-
msgstr "Nessun backup disponibile attualmente."
|
394 |
-
|
395 |
-
#: core/options-pages.php:690
|
396 |
-
msgid "Backup will be created automatically before any import operation."
|
397 |
-
msgstr ""
|
398 |
-
"Il backup verrà creato automaticamente prima di qualsiasi operazione "
|
399 |
-
"di importazione."
|
400 |
-
|
401 |
-
#: core/options-pages.php:694
|
402 |
-
msgid ""
|
403 |
-
"The backup has been automatically created before the latest import operation."
|
404 |
-
msgstr ""
|
405 |
-
"Il backup è stato creato automaticamente prima dell'ultima operazione "
|
406 |
-
"di importazione."
|
407 |
-
|
408 |
-
#: core/options-pages.php:698
|
409 |
-
msgid "Restore Settings from the Backup"
|
410 |
-
msgstr "Ripristina le impostazioni dal backup"
|
411 |
-
|
412 |
-
#: core/options-pages.php:718
|
413 |
-
msgid "What will be deleted:"
|
414 |
-
msgstr "Cosa sarà cancellato:"
|
415 |
-
|
416 |
-
#: core/options-pages.php:723
|
417 |
-
msgid "All plugin options"
|
418 |
-
msgstr "Tutte le opzioni del plugin"
|
419 |
-
|
420 |
-
#: core/options-pages.php:724
|
421 |
-
msgid "All plugin backups stored in database"
|
422 |
-
msgstr "Tutti i backup del plugin salvati nel database"
|
423 |
-
|
424 |
-
#: core/options-pages.php:728
|
425 |
-
msgid "What will remain intact:"
|
426 |
-
msgstr "Cosa resterà invariato:"
|
427 |
-
|
428 |
-
#: core/options-pages.php:729
|
429 |
-
msgid "All media items"
|
430 |
-
msgstr "Tutti gli elementi media"
|
431 |
-
|
432 |
-
#: core/options-pages.php:730
|
433 |
-
msgid "All taxonomies not listed above"
|
434 |
-
msgstr " Tutte le tassonomie non elencate sopra"
|
435 |
-
|
436 |
-
#: core/options-pages.php:733
|
437 |
-
msgid ""
|
438 |
-
"The plugin cannot delete itself because of security reason. Please delete it "
|
439 |
-
"manually from plugin list after cleanup."
|
440 |
-
msgstr ""
|
441 |
-
"Il plugin non può eliminare se stesso per motivi di sicurezza. Si "
|
442 |
-
"prega di eliminarlo manualmente dalla lista plugin dopo la pulizia."
|
443 |
-
|
444 |
-
#: core/options-pages.php:735
|
445 |
-
msgid ""
|
446 |
-
"If you are not sure about this operation please create a backup of your "
|
447 |
-
"database prior to cleanup!"
|
448 |
-
msgstr ""
|
449 |
-
"Se non siete sicuri su questa operazione si prega di creare un backup del "
|
450 |
-
"vostro database prima di eseguire la pulizia!"
|
451 |
-
|
452 |
-
#: core/options-pages.php:741
|
453 |
-
msgid "Delete All Data & Deactivate"
|
454 |
-
msgstr "Elimina tutti i dati e disattiva il plugin"
|
455 |
-
|
456 |
-
#: core/options-pages.php:841
|
457 |
-
msgid "Please upload a file to import settings."
|
458 |
-
msgstr "Si prega di caricare un file da cui importare le impostazioni."
|
459 |
-
|
460 |
-
#: core/options-pages.php:867
|
461 |
-
msgid "Plugin settings imported."
|
462 |
-
msgstr "Impstazioni del plugin importate."
|
463 |
-
|
464 |
-
#: core/options-pages.php:912
|
465 |
-
msgid "Plugin settings restored from the backup."
|
466 |
-
msgstr "Impostazioni del plugin ripristinate dal backup."
|
467 |
-
|
468 |
-
#: core/options-pages.php:1110
|
469 |
-
msgid "Media Items Order"
|
470 |
-
msgstr "Ordinamento elementi media"
|
471 |
-
|
472 |
-
#: core/options-pages.php:1117
|
473 |
-
msgid "Order media items by"
|
474 |
-
msgstr "Ordina gli elementi media per"
|
475 |
-
|
476 |
-
#: core/options-pages.php:1120
|
477 |
-
msgid "Date"
|
478 |
-
msgstr "Data"
|
479 |
-
|
480 |
-
#: core/options-pages.php:1121
|
481 |
-
msgid "Title"
|
482 |
-
msgstr "Titolo"
|
483 |
-
|
484 |
-
#: core/options-pages.php:1122
|
485 |
-
msgid "Custom Order"
|
486 |
-
msgstr "Ordinamento personalizzato"
|
487 |
-
|
488 |
-
#: core/options-pages.php:1124 core/options-pages.php:1136
|
489 |
-
msgid "For media library and media popups"
|
490 |
-
msgstr "Per la libreria media e i pop-up media"
|
491 |
-
|
492 |
-
#: core/options-pages.php:1125
|
493 |
-
msgid "Option allows to change order by drag and drop with Custom Order value."
|
494 |
-
msgstr ""
|
495 |
-
"Questa opzione permette di modificare l'ordine con il drag & drop con il "
|
496 |
-
"valore dell'ordinamento personalizzato."
|
497 |
-
|
498 |
-
#: core/options-pages.php:1130
|
499 |
-
msgid "Sort order"
|
500 |
-
msgstr "Ordinamento"
|
501 |
-
|
502 |
-
#: core/options-pages.php:1133
|
503 |
-
msgid "Ascending"
|
504 |
-
msgstr "Ascendente"
|
505 |
-
|
506 |
-
#: core/options-pages.php:1134
|
507 |
-
msgid "Descending"
|
508 |
-
msgstr "Discendente"
|
509 |
-
|
510 |
-
#: core/options-pages.php:1141 core/options-pages.php:1144
|
511 |
-
msgid "Natural sort order"
|
512 |
-
msgstr ""
|
513 |
-
|
514 |
-
#: core/options-pages.php:1145
|
515 |
-
msgid "Apply human-friendly sort order to the media library and galleries."
|
516 |
-
msgstr ""
|
517 |
-
|
518 |
-
#: core/options-pages.php:1146
|
519 |
-
msgid ""
|
520 |
-
"Example: [1, 2, 3, 10, 18, 22, abc-2, abc-11] instead of [1, 10, 18, 2, 22, "
|
521 |
-
"3, abc-11, abc-2]"
|
522 |
-
msgstr ""
|
523 |
-
|
524 |
-
#: core/options-pages.php:1160
|
525 |
-
msgid "Media Shortcodes"
|
526 |
-
msgstr "Shortcode Media"
|
527 |
-
|
528 |
-
#: core/options-pages.php:1167 core/options-pages.php:1170
|
529 |
-
msgid "Enhanced media shortcodes"
|
530 |
-
msgstr "Shortcode media avanzati"
|
531 |
-
|
532 |
-
#: core/options-pages.php:1171
|
533 |
-
msgid ""
|
534 |
-
"Enhance WordPress media shortcodes to make them understand media taxonomies, "
|
535 |
-
"upload date, and media items number limit"
|
536 |
-
msgstr ""
|
537 |
-
"Migliora gli shortcode media di WordPress in modo da poter usare le "
|
538 |
-
"tassonomie Media, la data di caricamento e il limite di elementi media"
|
539 |
-
|
540 |
-
#: core/options-pages.php:1172
|
541 |
-
msgid "Gallery example:"
|
542 |
-
msgstr "Esempio di galleria:"
|
543 |
-
|
544 |
-
#: core/options-pages.php:1173
|
545 |
-
msgid "Audio playlist example:"
|
546 |
-
msgstr "Esempio di playlist audio:"
|
547 |
-
|
548 |
-
#: core/options-pages.php:1174
|
549 |
-
msgid "Video playlist example:"
|
550 |
-
msgstr "Esempio di playlist video:"
|
551 |
-
|
552 |
-
#: core/options-pages.php:1176
|
553 |
-
#, php-format
|
554 |
-
msgid ""
|
555 |
-
"%sWarning:%s Incompatibility with other gallery plugins or themes possible!"
|
556 |
-
msgstr ""
|
557 |
-
"%sAttenzione:%s È possibile che ci sia Incompatibilità con "
|
558 |
-
"altri plugin gallery o temi!"
|
559 |
-
|
560 |
-
#: core/options-pages.php:1178
|
561 |
-
#, php-format
|
562 |
-
msgid "%sLearn more%s."
|
563 |
-
msgstr "%sPer saperne di più%s."
|
564 |
-
|
565 |
-
#: core/options-pages.php:1180
|
566 |
-
#, php-format
|
567 |
-
msgid ""
|
568 |
-
"Please check out your gallery front-end and back-end functionality once this "
|
569 |
-
"option activated. If you find an issue please inform plugin authors at %s or "
|
570 |
-
"%s."
|
571 |
-
msgstr ""
|
572 |
-
"Si prega di controllare la funzionalità vostra galleria di front-end e back-"
|
573 |
-
"end funzionalità una volta che questa opzione è stata attivata. Se "
|
574 |
-
"trovate un problema si prega di informare gli autori del plugin %s or %s."
|
575 |
-
|
576 |
-
#: core/options-pages.php:1249 core/options-pages.php:1396
|
577 |
-
msgid "Assign following taxonomies to Media Library:"
|
578 |
-
msgstr "Assegna le seguenti tassonomie alla Libreria Media:"
|
579 |
-
|
580 |
-
#: core/options-pages.php:1268 core/options-pages.php:1334
|
581 |
-
#: core/options-pages.php:1418
|
582 |
-
msgid "Assign Taxonomy"
|
583 |
-
msgstr "Assegna tassonomia"
|
584 |
-
|
585 |
-
#: core/options-pages.php:1269 core/options-pages.php:1419
|
586 |
-
msgid "Edit Taxonomy"
|
587 |
-
msgstr "Modifica tassonomia"
|
588 |
-
|
589 |
-
#: core/options-pages.php:1273 core/options-pages.php:1336
|
590 |
-
msgid "Delete Taxonomy"
|
591 |
-
msgstr "Elimina tassonomia"
|
592 |
-
|
593 |
-
#: core/options-pages.php:1278 core/options-pages.php:1341
|
594 |
-
msgid "Labels"
|
595 |
-
msgstr "Etichette"
|
596 |
-
|
597 |
-
#: core/options-pages.php:1280 core/options-pages.php:1343
|
598 |
-
msgid "Singular"
|
599 |
-
msgstr "Singolare"
|
600 |
-
|
601 |
-
#: core/options-pages.php:1281 core/options-pages.php:1344
|
602 |
-
msgid "Plural"
|
603 |
-
msgstr "Plurale"
|
604 |
-
|
605 |
-
#: core/options-pages.php:1282 core/options-pages.php:1345
|
606 |
-
msgid "Menu Name"
|
607 |
-
msgstr "Nome menu"
|
608 |
-
|
609 |
-
#: core/options-pages.php:1295 core/options-pages.php:1318
|
610 |
-
#: core/options-pages.php:1358 core/options-pages.php:1422
|
611 |
-
msgid "Settings"
|
612 |
-
msgstr "Impostazioni"
|
613 |
-
|
614 |
-
#: core/options-pages.php:1297 core/options-pages.php:1360
|
615 |
-
msgid "Taxonomy Name"
|
616 |
-
msgstr "Nome tassonomia"
|
617 |
-
|
618 |
-
#: core/options-pages.php:1298 core/options-pages.php:1361
|
619 |
-
msgid "Hierarchical"
|
620 |
-
msgstr "Gerarchico"
|
621 |
-
|
622 |
-
#: core/options-pages.php:1299 core/options-pages.php:1362
|
623 |
-
msgid "Column for List View"
|
624 |
-
msgstr "Colonna nella visualizzazione a lista"
|
625 |
-
|
626 |
-
#: core/options-pages.php:1300 core/options-pages.php:1320
|
627 |
-
#: core/options-pages.php:1363 core/options-pages.php:1424
|
628 |
-
msgid "Filter for List View"
|
629 |
-
msgstr "Filtro per la visualizzazione a lista"
|
630 |
-
|
631 |
-
#: core/options-pages.php:1301 core/options-pages.php:1321
|
632 |
-
#: core/options-pages.php:1364 core/options-pages.php:1425
|
633 |
-
msgid "Filter for Grid View / Media Popup"
|
634 |
-
msgstr "Filtro per la visualizzazione a griglia / pop-up Media"
|
635 |
-
|
636 |
-
#: core/options-pages.php:1302 core/options-pages.php:1322
|
637 |
-
#: core/options-pages.php:1365 core/options-pages.php:1426
|
638 |
-
msgid "Edit in Media Popup"
|
639 |
-
msgstr "Modifica nel pop-up media"
|
640 |
-
|
641 |
-
#: core/options-pages.php:1303 core/options-pages.php:1366
|
642 |
-
msgid "Show in Nav Menu"
|
643 |
-
msgstr "Mostra nel menu di navigazione"
|
644 |
-
|
645 |
-
#: core/options-pages.php:1304 core/options-pages.php:1367
|
646 |
-
msgid "Remember Terms Order (sort)"
|
647 |
-
msgstr "Ricorda l'ordinamento dei termini (sort)"
|
648 |
-
|
649 |
-
#: core/options-pages.php:1305 core/options-pages.php:1368
|
650 |
-
msgid "Show in REST"
|
651 |
-
msgstr "Mostra in REST"
|
652 |
-
|
653 |
-
#: core/options-pages.php:1306 core/options-pages.php:1369
|
654 |
-
msgid "Rewrite Slug"
|
655 |
-
msgstr "Rewrite per lo slug"
|
656 |
-
|
657 |
-
#: core/options-pages.php:1307 core/options-pages.php:1370
|
658 |
-
msgid "Slug with Front"
|
659 |
-
msgstr "Slug (with_front)"
|
660 |
-
|
661 |
-
#: core/options-pages.php:1382
|
662 |
-
msgid "Add New Taxonomy"
|
663 |
-
msgstr "Aggiungi nuova tassonomia"
|
664 |
-
|
665 |
-
#: core/options-pages.php:1392
|
666 |
-
msgid "Non-Media Taxonomies"
|
667 |
-
msgstr "Tassonomie non Media"
|
668 |
-
|
669 |
-
#: core/options-pages.php:1455
|
670 |
-
msgid "Options"
|
671 |
-
msgstr "Opzioni"
|
672 |
-
|
673 |
-
#: core/options-pages.php:1465 core/options-pages.php:1468
|
674 |
-
msgid "Taxonomy archive pages"
|
675 |
-
msgstr "Pagine di archivio della tassonomia"
|
676 |
-
|
677 |
-
#: core/options-pages.php:1469
|
678 |
-
msgid "Turn on media taxonomy archive pages on the front-end"
|
679 |
-
msgstr "Attiva le pagine di archivio della tassonomia sul front-end"
|
680 |
-
|
681 |
-
#: core/options-pages.php:1470
|
682 |
-
msgid ""
|
683 |
-
"Re-save your permalink settings after this option change to make it work."
|
684 |
-
msgstr ""
|
685 |
-
"Salvare nuovamente le impostazioni dei permalink dopo la modifica di questa "
|
686 |
-
"opzione affinchè i cambiamenti abbiano effetto."
|
687 |
-
|
688 |
-
#: core/options-pages.php:1476 core/options-pages.php:1479
|
689 |
-
msgid "Assign all like hierarchical"
|
690 |
-
msgstr "Considera tutte le tassonomie come gerarchiche"
|
691 |
-
|
692 |
-
#: core/options-pages.php:1480
|
693 |
-
msgid ""
|
694 |
-
"Show non-hierarchical taxonomies like hierarchical in Grid View / Media Popup"
|
695 |
-
msgstr ""
|
696 |
-
"Mostra le tassonomie non gerarchiche come gerarchiche nella visualizzazione "
|
697 |
-
"a griglia / pop-up media"
|
698 |
-
|
699 |
-
#: core/options-pages.php:1486 core/options-pages.php:1489
|
700 |
-
msgid "Force filters"
|
701 |
-
msgstr "Forza i filtri"
|
702 |
-
|
703 |
-
#: core/options-pages.php:1490
|
704 |
-
msgid "Show media filters for ANY Media Popup"
|
705 |
-
msgstr "Vistualizza i filtri media per tutti i pop-up media"
|
706 |
-
|
707 |
-
#: core/options-pages.php:1491
|
708 |
-
msgid "Try this if filters are not shown for third-party plugins or themes."
|
709 |
-
msgstr ""
|
710 |
-
"Prova questa opzione se i filtri non vengono visualizzati nei plugin o temi "
|
711 |
-
"di terze parti."
|
712 |
-
|
713 |
-
#: core/options-pages.php:1497 core/options-pages.php:1500
|
714 |
-
msgid "Show count"
|
715 |
-
msgstr ""
|
716 |
-
|
717 |
-
#: core/options-pages.php:1501
|
718 |
-
msgid "Show item count per category for media filters"
|
719 |
-
msgstr ""
|
720 |
-
|
721 |
-
#: core/options-pages.php:1555
|
722 |
-
msgid "Add New MIME Type"
|
723 |
-
msgstr "Aggiungi un nuovo tipo MIME"
|
724 |
-
|
725 |
-
#: core/options-pages.php:1575 core/options-pages.php:1630
|
726 |
-
msgid "Extension"
|
727 |
-
msgstr "Estensione"
|
728 |
-
|
729 |
-
#: core/options-pages.php:1576 core/options-pages.php:1631
|
730 |
-
msgid "MIME Type"
|
731 |
-
msgstr "Tipo MIME"
|
732 |
-
|
733 |
-
#: core/options-pages.php:1577 core/options-pages.php:1632
|
734 |
-
msgid "Singular Label"
|
735 |
-
msgstr "Etichetta per il singolare"
|
736 |
-
|
737 |
-
#: core/options-pages.php:1578 core/options-pages.php:1633
|
738 |
-
msgid "Plural Label"
|
739 |
-
msgstr "Etichetta per il plurale"
|
740 |
-
|
741 |
-
#: core/options-pages.php:1579 core/options-pages.php:1609
|
742 |
-
#: core/options-pages.php:1622 core/options-pages.php:1634
|
743 |
-
msgid "Add Filter"
|
744 |
-
msgstr "Aggiungi filtro"
|
745 |
-
|
746 |
-
#: core/options-pages.php:1580 core/options-pages.php:1610
|
747 |
-
#: core/options-pages.php:1623 core/options-pages.php:1635
|
748 |
-
msgid "Allow Upload"
|
749 |
-
msgstr "Permetti upload"
|
750 |
-
|
751 |
-
#: core/options-pages.php:1611 core/options-pages.php:1624
|
752 |
-
msgid "Delete MIME Type"
|
753 |
-
msgstr "Elimina il tipo MIME"
|
754 |
-
|
755 |
-
#: core/options-pages.php:1671
|
756 |
-
msgid "Save Changes"
|
757 |
-
msgstr "Salva le modifiche"
|
758 |
-
|
759 |
-
#: core/options-pages.php:1701
|
760 |
-
msgid "Changelog"
|
761 |
-
msgstr "Changelog"
|
762 |
-
|
763 |
-
#: core/options-pages.php:1702
|
764 |
-
msgid "What's new in"
|
765 |
-
msgstr "Cosa c'è di nuovo nella"
|
766 |
-
|
767 |
-
#: core/options-pages.php:1702
|
768 |
-
msgid "version"
|
769 |
-
msgstr "versione"
|
770 |
-
|
771 |
-
#: core/options-pages.php:1705
|
772 |
-
msgid "More features under the hood"
|
773 |
-
msgstr "Ulteriori caratteristiche sotto il 'coperchio'"
|
774 |
-
|
775 |
-
#: core/options-pages.php:1707
|
776 |
-
msgid "Support"
|
777 |
-
msgstr "Supporto"
|
778 |
-
|
779 |
-
#: core/options-pages.php:1708
|
780 |
-
msgid "Feel free to ask for help on"
|
781 |
-
msgstr "Sentitevi liberi di chiedere aiuto su"
|
782 |
-
|
783 |
-
#: core/options-pages.php:1708
|
784 |
-
msgid "Support is free for both versions of the plugin."
|
785 |
-
msgstr ""
|
786 |
-
"Il supporto tecnico è gratuito per entrambe le versioni del plugin."
|
787 |
-
|
788 |
-
#: core/options-pages.php:1710
|
789 |
-
msgid "Plugin rating"
|
790 |
-
msgstr "Valutazione plugin"
|
791 |
-
|
792 |
-
#: core/options-pages.php:1711
|
793 |
-
msgid "Please"
|
794 |
-
msgstr "Prego"
|
795 |
-
|
796 |
-
#: core/options-pages.php:1711
|
797 |
-
msgid "vote for the plugin"
|
798 |
-
msgstr "vota il plugin"
|
799 |
-
|
800 |
-
#: core/options-pages.php:1711
|
801 |
-
msgid "Thanks!"
|
802 |
-
msgstr "Grazie!"
|
803 |
-
|
804 |
-
#: core/options-pages.php:1713
|
805 |
-
msgid "Other plugins you may find useful"
|
806 |
-
msgstr "Altri plugin che potresti trovare utili"
|
807 |
-
|
808 |
-
#: core/options-pages.php:1752
|
809 |
-
msgid "Utility"
|
810 |
-
msgstr "Utilità"
|
811 |
-
|
812 |
-
#: core/options-pages.php:1775
|
813 |
-
msgid "Vote!"
|
814 |
-
msgstr "Vota!"
|
815 |
-
|
816 |
-
#: core/taxonomies.php:101
|
817 |
-
msgid "Media Taxonomies settings saved."
|
818 |
-
msgstr "Impostazioni Tassonomie Media salvate."
|
819 |
-
|
820 |
-
#: core/taxonomies.php:159
|
821 |
-
msgid "Media Library settings saved."
|
822 |
-
msgstr "Impostazioni Libreria Media salvate."
|
823 |
-
|
824 |
-
#: core/taxonomies.php:333 core/taxonomies.php:339
|
825 |
-
#: enhanced-media-library.php:509
|
826 |
-
msgid "Filter by"
|
827 |
-
msgstr "Filtra per"
|
828 |
-
|
829 |
-
#: core/taxonomies.php:341 enhanced-media-library.php:511
|
830 |
-
msgid "Not in a"
|
831 |
-
msgstr "Non in"
|
832 |
-
|
833 |
-
#: core/taxonomies.php:1333 core/taxonomies.php:1340
|
834 |
-
msgid "Remove"
|
835 |
-
msgstr "Rimuovi"
|
836 |
-
|
837 |
-
#: core/taxonomies.php:1335 core/taxonomies.php:1342
|
838 |
-
msgid "Deselect"
|
839 |
-
msgstr "Deseleziona"
|
840 |
-
|
841 |
-
#: core/taxonomies.php:1389
|
842 |
-
msgid "Caption this image…"
|
843 |
-
msgstr "Didascalia per questa immagine…"
|
844 |
-
|
845 |
-
#: core/taxonomies.php:1393
|
846 |
-
msgid "Describe this video…"
|
847 |
-
msgstr "Descrivi questo video…"
|
848 |
-
|
849 |
-
#: core/taxonomies.php:1395
|
850 |
-
msgid "Describe this audio file…"
|
851 |
-
msgstr "Descrivi questo file audio…"
|
852 |
-
|
853 |
-
#: core/taxonomies.php:1397
|
854 |
-
msgid "Describe this media file…"
|
855 |
-
msgstr "Descrivi questo file multimediale…"
|
856 |
-
|
857 |
-
#: enhanced-media-library.php:342 enhanced-media-library.php:508
|
858 |
-
msgid "All Uncategorized"
|
859 |
-
msgstr "Tutti gli elementi non classificati"
|
860 |
-
|
861 |
-
#: enhanced-media-library.php:343 enhanced-media-library.php:512
|
862 |
-
msgid "Reset All Filters"
|
863 |
-
msgstr "Reimposta tutti i filtri"
|
864 |
-
|
865 |
-
#: enhanced-media-library.php:542
|
866 |
-
msgid "Uploaded to post #"
|
867 |
-
msgstr "Caricato nel post #"
|
868 |
-
|
869 |
-
#: enhanced-media-library.php:543
|
870 |
-
msgid "Based On"
|
871 |
-
msgstr "Basato su"
|
872 |
-
|
873 |
-
#: enhanced-media-library.php:575 enhanced-media-library.php:577
|
874 |
-
msgid "Media Categories"
|
875 |
-
msgstr "Categorie Media"
|
876 |
-
|
877 |
-
#: enhanced-media-library.php:576
|
878 |
-
msgid "Media Category"
|
879 |
-
msgstr "Categoria Media"
|
880 |
-
|
881 |
-
#: enhanced-media-library.php:578
|
882 |
-
msgid "All Media Categories"
|
883 |
-
msgstr "Tutte le categorie Media"
|
884 |
-
|
885 |
-
#: enhanced-media-library.php:579
|
886 |
-
msgid "Edit Media Category"
|
887 |
-
msgstr "Modifica categoria Media"
|
888 |
-
|
889 |
-
#: enhanced-media-library.php:580
|
890 |
-
msgid "View Media Category"
|
891 |
-
msgstr "Visualizza categoria Media"
|
892 |
-
|
893 |
-
#: enhanced-media-library.php:581
|
894 |
-
msgid "Update Media Category"
|
895 |
-
msgstr "Aggiorna categoria Media"
|
896 |
-
|
897 |
-
#: enhanced-media-library.php:582
|
898 |
-
msgid "Add New Media Category"
|
899 |
-
msgstr "Aggiungi nuova categoria Media"
|
900 |
-
|
901 |
-
#: enhanced-media-library.php:583
|
902 |
-
msgid "New Media Category Name"
|
903 |
-
msgstr "Nome della nuova categoria Media"
|
904 |
-
|
905 |
-
#: enhanced-media-library.php:584
|
906 |
-
msgid "Parent Media Category"
|
907 |
-
msgstr "Categoria media genitore"
|
908 |
-
|
909 |
-
#: enhanced-media-library.php:585
|
910 |
-
msgid "Parent Media Category:"
|
911 |
-
msgstr "Categoria media genitore:"
|
912 |
-
|
913 |
-
#: enhanced-media-library.php:586
|
914 |
-
msgid "Search Media Categories"
|
915 |
-
msgstr "Cerca nella categoria Media"
|
916 |
-
|
917 |
-
#. Plugin URI of the plugin/theme
|
918 |
-
#. Author URI of the plugin/theme
|
919 |
-
msgid "http://wpUXsolutions.com"
|
920 |
-
msgstr ""
|
921 |
-
|
922 |
-
#. Description of the plugin/theme
|
923 |
-
msgid ""
|
924 |
-
"This plugin will be handy for those who need to manage a lot of media files."
|
925 |
-
msgstr ""
|
926 |
-
"Questo plugin sarà utile per coloro che hanno bisogno di gestire "
|
927 |
-
"grandi quantità di file multimediali."
|
928 |
-
|
929 |
-
#. Author of the plugin/theme
|
930 |
-
msgid "wpUXsolutions"
|
931 |
-
msgstr ""
|
932 |
-
|
933 |
-
#~ msgid "Attachments Details"
|
934 |
-
#~ msgstr "Dettagli allegati"
|
935 |
-
|
936 |
-
#~ msgid "Select All"
|
937 |
-
#~ msgstr "Seleziona tutto"
|
938 |
-
|
939 |
-
#~ msgid "Deselect All"
|
940 |
-
#~ msgstr "Deseleziona tutto"
|
941 |
-
|
942 |
-
#~ msgid "Delete Selected"
|
943 |
-
#~ msgstr "Elimina selezionati"
|
944 |
-
|
945 |
-
#~ msgid "Order By"
|
946 |
-
#~ msgstr "Ordina per"
|
947 |
-
|
948 |
-
#~ msgid "Random"
|
949 |
-
#~ msgstr "Casuale"
|
950 |
-
|
951 |
-
#~ msgid "Order"
|
952 |
-
#~ msgstr "Ordinamento"
|
953 |
-
|
954 |
-
#~ msgid "Limit"
|
955 |
-
#~ msgstr "Limite"
|
956 |
-
|
957 |
-
#~ msgid "Your license has been deactivated."
|
958 |
-
#~ msgstr "La tua licenza è stata disattivata."
|
959 |
-
|
960 |
-
#~ msgid "Please check if your license key is correct and try again."
|
961 |
-
#~ msgstr ""
|
962 |
-
#~ "Si prega di verificare che la chiave della licenza sia correta e "
|
963 |
-
#~ "riprovare."
|
964 |
-
|
965 |
-
#~ msgid "You license has been activated."
|
966 |
-
#~ msgstr "La tua licenza è stata attivata."
|
967 |
-
|
968 |
-
#~ msgid "Auto-assign media items to parent %s %s on upload"
|
969 |
-
#~ msgstr ""
|
970 |
-
#~ "Assegna automaticamente gli elementi media al genitore %s %s al momento "
|
971 |
-
#~ "del caricamento"
|
972 |
-
|
973 |
-
#~ msgid ""
|
974 |
-
#~ "%sWarning:%s As a result of clicking \"Synchronize Now\" all media items "
|
975 |
-
#~ "attached to a %s will be assigned to %s of their parent %s. Currently "
|
976 |
-
#~ "assigned %s will not be saved. Media items that are not attached to any "
|
977 |
-
#~ "%s will not be affected."
|
978 |
-
#~ msgstr ""
|
979 |
-
#~ "%sAttenzione:%s Come risultato del click su \"Sincronizza ora\" tutti gli "
|
980 |
-
#~ "elementi mutlimediali allegati a %s saranno assegnati a %s del loro "
|
981 |
-
#~ "genitore %s. I %s attualmente assegnati non saranno salvati. Gli elementi "
|
982 |
-
#~ "multimediali che non sono collegati ad alcun %s non saranno interessati."
|
983 |
-
|
984 |
-
#~ msgid "Bulk Edit"
|
985 |
-
#~ msgstr "Modifica di Gruppo"
|
986 |
-
|
987 |
-
#~ msgid "Turn off 'Save Changes' button"
|
988 |
-
#~ msgstr "Disattiva il pulsante 'Salva modifiche'"
|
989 |
-
|
990 |
-
#~ msgid "Save changes on the fly"
|
991 |
-
#~ msgstr "Salva le modifiche al volo"
|
992 |
-
|
993 |
-
#~ msgid ""
|
994 |
-
#~ "Any click on a taxonomy checkbox during media files bulk editing will "
|
995 |
-
#~ "lead to an <strong style=\"color:red\">immediate saving</strong> of the "
|
996 |
-
#~ "data. Please, be careful! You have much greater chance to <strong style="
|
997 |
-
#~ "\"color:red\">accidentally perform wrong re-assigning</strong> of a lot "
|
998 |
-
#~ "of your media files / taxonomies with this option turned on."
|
999 |
-
#~ msgstr ""
|
1000 |
-
#~ "Ogni click su una casella di controllo della tassonomia durante la "
|
1001 |
-
#~ "modifica di gruppo dei file multimediali comporterà un <strong "
|
1002 |
-
#~ "style=\"color:red\">immediato salvataggio</strong> dei dati. Fate "
|
1003 |
-
#~ "attenzione! Hai molte possibilità di <strong style=\"color:red\">eseguire "
|
1004 |
-
#~ "accidentalmente un'errata riassegnazione</strong> di un sacco di file "
|
1005 |
-
#~ "multimediali e tassonomie quando questa opzione è attiva."
|
1006 |
-
|
1007 |
-
#~ msgid "License Key"
|
1008 |
-
#~ msgstr "Chiave della licenza"
|
1009 |
-
|
1010 |
-
#~ msgid ""
|
1011 |
-
#~ "To unlock updates please enter your license key below. You can get your "
|
1012 |
-
#~ "license key in <a href=\"%s\">Your Account</a>. If you do not have a "
|
1013 |
-
#~ "license, you are welcome to <a href=\"%s\">purchase it</a>."
|
1014 |
-
#~ msgstr ""
|
1015 |
-
#~ "Per sbloccare gli aggiornamenti, inserirsci il codice della tua licenza "
|
1016 |
-
#~ "qui sotto. È possibile ottenere il codice della tua licenza nel <a "
|
1017 |
-
#~ "href=\"%s\">Tuo Account</a>. Se non si dispone di una licenza, sei "
|
1018 |
-
#~ "invitato ad <a href=\"%s\">acquistarla</a>."
|
1019 |
-
|
1020 |
-
#~ msgid "Activate License"
|
1021 |
-
#~ msgstr "Attiva licenza"
|
1022 |
-
|
1023 |
-
#~ msgid "Your license is active!"
|
1024 |
-
#~ msgstr "La tua licenza è attiva!"
|
1025 |
-
|
1026 |
-
#~ msgid "Deactivate License"
|
1027 |
-
#~ msgstr "Disattiva licenza"
|
1028 |
-
|
1029 |
-
#~ msgid ""
|
1030 |
-
#~ "An unexpected error occurred. Something may be wrong with WordPress.org "
|
1031 |
-
#~ "or this server’s configuration. If you continue to have problems, "
|
1032 |
-
#~ "please try the <a href=\"https://wordpress.org/support/\">support forums</"
|
1033 |
-
#~ "a>."
|
1034 |
-
#~ msgstr ""
|
1035 |
-
#~ "Si è verificato un errore inaspettato. Qualcosa deve essere andato "
|
1036 |
-
#~ "male con WordPress.org o con la configurazione di questo server. Se "
|
1037 |
-
#~ "continui ad avere problemi prova a consultare il <a href=\"https://"
|
1038 |
-
#~ "wordpress.org/support/\">forum di supporto</a>."
|
1039 |
-
|
1040 |
-
#~ msgid ""
|
1041 |
-
#~ "(WordPress could not establish a secure connection to WordPress.org. "
|
1042 |
-
#~ "Please contact your server administrator.)"
|
1043 |
-
#~ msgstr ""
|
1044 |
-
#~ "(WordPress non può stabilire una connessione sicura a WordPress."
|
1045 |
-
#~ "org. Contatta l’amministratore del tuo server.)"
|
1046 |
-
|
1047 |
-
#~ msgid ""
|
1048 |
-
#~ "To unlock updates, please <a href=\"%s\">activate your license</a>. You "
|
1049 |
-
#~ "can get your license key in <a href=\"%s\">Your Account</a>. If you do "
|
1050 |
-
#~ "not have a license, you are welcome to <a href=\"%s\">purchase it</a>."
|
1051 |
-
#~ msgstr ""
|
1052 |
-
#~ "Per sbloccare gli aggiornamenti, si prega di <a href=\"%s\">attivare la "
|
1053 |
-
#~ "tua licenza</a>. È possibile ottenere il codice della tua licenza "
|
1054 |
-
#~ "nel <a href=\"%s\">Tuo Account</a>. Se non si dispone di una licenza, "
|
1055 |
-
#~ "siete invitati ad <a href=\"%s\">acquistarla</a>."
|
1056 |
-
|
1057 |
-
#~ msgid "ALL files belong to this item"
|
1058 |
-
#~ msgstr "TUTTI i file appartengono a questo elemento"
|
1059 |
-
|
1060 |
-
#~ msgid "SOME files belong to this item"
|
1061 |
-
#~ msgstr "ALCUNI file appartengono a questo elemento"
|
1062 |
-
|
1063 |
-
#~ msgid "NO files belong to this item"
|
1064 |
-
#~ msgstr "NESSUN file appartiene a questo elemento"
|
1065 |
-
|
1066 |
-
#~ msgid "Changes saved."
|
1067 |
-
#~ msgstr "Cambiamenti salvati."
|
1068 |
-
|
1069 |
-
#~ msgid "Something went wrong."
|
1070 |
-
#~ msgstr " Qualcosa è andato male."
|
1071 |
-
|
1072 |
-
#~ msgid "Edit Media Files"
|
1073 |
-
#~ msgstr "Modifica i file media"
|
1074 |
-
|
1075 |
-
#~ msgid "Create a filter-based gallery"
|
1076 |
-
#~ msgstr "Crea una galleria basata su filtro"
|
1077 |
-
|
1078 |
-
#~ msgid "Create a filter-based playlist"
|
1079 |
-
#~ msgstr "Crea un playlist basata su filtro"
|
1080 |
-
|
1081 |
-
#~ msgid "Create a filter-based video playlist"
|
1082 |
-
#~ msgstr "Crea una playlist video basata su filtro"
|
1083 |
-
|
1084 |
-
#~ msgid "Return to Plugins"
|
1085 |
-
#~ msgstr "Torna ai plugin"
|
1086 |
-
|
1087 |
-
#~ msgid ""
|
1088 |
-
#~ "<strong>Enhanced Media Library PRO</strong> does not require free version "
|
1089 |
-
#~ "to be active. Please deactivate and delete the free version of the "
|
1090 |
-
#~ "plugin. All your data will remain intact."
|
1091 |
-
#~ msgstr ""
|
1092 |
-
#~ "<strong>Enhanced Media Library PRO</strong> non richiede che la version "
|
1093 |
-
#~ "gratuita sia attiva. Si prega di disattivare ed eliminare la versione "
|
1094 |
-
#~ "gratuita del plugin. Tutti i vostri dati rimarranno intatti."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
languages/enhanced-media-library-ru.mo
DELETED
Binary file
|
languages/enhanced-media-library-ru.po
DELETED
@@ -1,1166 +0,0 @@
|
|
1 |
-
# Translation of Enhanced Media Library (Free & PRO) in Russian
|
2 |
-
# This file is distributed under the same license as the Enhanced Media Library (Free & PRO) package.
|
3 |
-
msgid ""
|
4 |
-
msgstr ""
|
5 |
-
"Project-Id-Version: Enhanced Media Library (Free & PRO)\n"
|
6 |
-
"POT-Creation-Date: 2018-02-06 01:13+0200\n"
|
7 |
-
"PO-Revision-Date: 2018-02-06 01:16+0200\n"
|
8 |
-
"Last-Translator: \n"
|
9 |
-
"Language-Team: \n"
|
10 |
-
"Language: ru\n"
|
11 |
-
"MIME-Version: 1.0\n"
|
12 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
-
"Content-Transfer-Encoding: 8bit\n"
|
14 |
-
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
|
15 |
-
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
16 |
-
"X-Generator: Poedit 2.0.5\n"
|
17 |
-
|
18 |
-
#: core/mime-types.php:30
|
19 |
-
msgid "MIME Types settings restored."
|
20 |
-
msgstr "Настройки MIME-типов восстановлены."
|
21 |
-
|
22 |
-
#: core/mime-types.php:39
|
23 |
-
msgid "MIME Types settings saved."
|
24 |
-
msgstr "Настройки MIME-типов сохранены."
|
25 |
-
|
26 |
-
#: core/mime-types.php:116
|
27 |
-
#, php-format
|
28 |
-
msgid " <span class=\"count\">(%s)</span>"
|
29 |
-
msgid_plural " <span class=\"count\">(%s)</span>"
|
30 |
-
msgstr[0] " <span class=\"count\">(%s)</span>"
|
31 |
-
msgstr[1] " <span class=\"count\">(%s)</span>"
|
32 |
-
msgstr[2] " <span class=\"count\">(%s)</span>"
|
33 |
-
|
34 |
-
#: core/options-pages.php:97 core/options-pages.php:220
|
35 |
-
#: core/options-pages.php:313 core/options-pages.php:1089
|
36 |
-
#: core/options-pages.php:1224 core/options-pages.php:1549
|
37 |
-
#: core/options-pages.php:1749
|
38 |
-
msgid "Media Settings"
|
39 |
-
msgstr "Настройки медиа"
|
40 |
-
|
41 |
-
#: core/options-pages.php:106 core/options-pages.php:285
|
42 |
-
msgid "Media Library"
|
43 |
-
msgstr "Библиотека"
|
44 |
-
|
45 |
-
#: core/options-pages.php:115
|
46 |
-
msgid "Taxonomies"
|
47 |
-
msgstr "Таксономия"
|
48 |
-
|
49 |
-
#: core/options-pages.php:124 core/options-pages.php:287
|
50 |
-
msgid "MIME Types"
|
51 |
-
msgstr "MIME-типы"
|
52 |
-
|
53 |
-
#. Plugin Name of the plugin/theme
|
54 |
-
#: core/options-pages.php:135 core/options-pages.php:136
|
55 |
-
msgid "Enhanced Media Library"
|
56 |
-
msgstr "Enhanced Media Library"
|
57 |
-
|
58 |
-
#: core/options-pages.php:284
|
59 |
-
msgid "General"
|
60 |
-
msgstr "Основные"
|
61 |
-
|
62 |
-
#: core/options-pages.php:286 core/options-pages.php:1245
|
63 |
-
msgid "Media Taxonomies"
|
64 |
-
msgstr "Таксономия"
|
65 |
-
|
66 |
-
#: core/options-pages.php:310 core/options-pages.php:624
|
67 |
-
#: core/options-pages.php:1085 core/options-pages.php:1221
|
68 |
-
#: core/options-pages.php:1545
|
69 |
-
msgid "You do not have sufficient permissions to access this page."
|
70 |
-
msgstr "У вас недостаточно прав для доступа к этой странице."
|
71 |
-
|
72 |
-
#: core/options-pages.php:324
|
73 |
-
msgid "Image sizes"
|
74 |
-
msgstr "Размеры изображений"
|
75 |
-
|
76 |
-
#: core/options-pages.php:325
|
77 |
-
msgid ""
|
78 |
-
"The sizes listed below determine the maximum dimensions in pixels to use "
|
79 |
-
"when adding an image to the Media Library."
|
80 |
-
msgstr ""
|
81 |
-
"Указанные ниже размеры определяют максимальные размеры в пикселях, которые "
|
82 |
-
"следует использовать при добавлении изображения в медиа-библиотеку."
|
83 |
-
|
84 |
-
#: core/options-pages.php:329
|
85 |
-
msgid "Thumbnail size"
|
86 |
-
msgstr "Размер миниатюр"
|
87 |
-
|
88 |
-
#: core/options-pages.php:331
|
89 |
-
msgid "Width"
|
90 |
-
msgstr "Ширина"
|
91 |
-
|
92 |
-
#: core/options-pages.php:333
|
93 |
-
msgid "Height"
|
94 |
-
msgstr "Высота"
|
95 |
-
|
96 |
-
#: core/options-pages.php:336
|
97 |
-
msgid ""
|
98 |
-
"Crop thumbnail to exact dimensions (normally thumbnails are proportional)"
|
99 |
-
msgstr ""
|
100 |
-
"Обрезать миниатюру точно по размерам (обычно сохраняются пропорции миниатюр)"
|
101 |
-
|
102 |
-
#: core/options-pages.php:341 core/options-pages.php:342
|
103 |
-
msgid "Medium size"
|
104 |
-
msgstr "Средний размер"
|
105 |
-
|
106 |
-
#: core/options-pages.php:343 core/options-pages.php:354
|
107 |
-
msgid "Max Width"
|
108 |
-
msgstr "Макс. ширина"
|
109 |
-
|
110 |
-
#: core/options-pages.php:346 core/options-pages.php:357
|
111 |
-
msgid "Max Height"
|
112 |
-
msgstr " Макс. высота"
|
113 |
-
|
114 |
-
#: core/options-pages.php:352 core/options-pages.php:353
|
115 |
-
msgid "Large size"
|
116 |
-
msgstr "Крупный размер"
|
117 |
-
|
118 |
-
#: core/options-pages.php:370
|
119 |
-
msgid "Embeds"
|
120 |
-
msgstr "Встраивание"
|
121 |
-
|
122 |
-
#: core/options-pages.php:377
|
123 |
-
msgid "Uploading Files"
|
124 |
-
msgstr "Загрузка файлов"
|
125 |
-
|
126 |
-
#: core/options-pages.php:384
|
127 |
-
msgid "Store uploads in this folder"
|
128 |
-
msgstr "Сохранять загруженные файлы в этой папке"
|
129 |
-
|
130 |
-
#: core/options-pages.php:388
|
131 |
-
#, php-format
|
132 |
-
msgid "Default is %s"
|
133 |
-
msgstr "По умолчанию %s"
|
134 |
-
|
135 |
-
#: core/options-pages.php:394
|
136 |
-
msgid "Full URL path to files"
|
137 |
-
msgstr "Полный URL-путь к файлам"
|
138 |
-
|
139 |
-
#: core/options-pages.php:396
|
140 |
-
msgid "Configuring this is optional. By default, it should be blank."
|
141 |
-
msgstr ""
|
142 |
-
"Настройка этого параметра необязательна. По умолчанию он должен быть пустым."
|
143 |
-
|
144 |
-
#: core/options-pages.php:404
|
145 |
-
msgid "Organize my uploads into month- and year-based folders"
|
146 |
-
msgstr "Помещать загруженные мной файлы в папки по месяцу и году"
|
147 |
-
|
148 |
-
#: core/options-pages.php:476 core/options-pages.php:1269
|
149 |
-
#: core/options-pages.php:1284 core/options-pages.php:1347
|
150 |
-
#: core/options-pages.php:1419
|
151 |
-
msgid "Edit"
|
152 |
-
msgstr "Редактировать"
|
153 |
-
|
154 |
-
#: core/options-pages.php:477
|
155 |
-
msgid "Close"
|
156 |
-
msgstr "Закрыть"
|
157 |
-
|
158 |
-
#: core/options-pages.php:478 core/options-pages.php:1285
|
159 |
-
#: core/options-pages.php:1348
|
160 |
-
msgid "View"
|
161 |
-
msgstr "Просмотр"
|
162 |
-
|
163 |
-
#: core/options-pages.php:479 core/options-pages.php:1286
|
164 |
-
#: core/options-pages.php:1349
|
165 |
-
msgid "Update"
|
166 |
-
msgstr "Обновить"
|
167 |
-
|
168 |
-
#: core/options-pages.php:480 core/options-pages.php:1287
|
169 |
-
#: core/options-pages.php:1350
|
170 |
-
msgid "Add New"
|
171 |
-
msgstr "Добавить новый"
|
172 |
-
|
173 |
-
#: core/options-pages.php:481 core/options-pages.php:1288
|
174 |
-
#: core/options-pages.php:1351
|
175 |
-
msgid "New"
|
176 |
-
msgstr "Новый"
|
177 |
-
|
178 |
-
#: core/options-pages.php:482
|
179 |
-
msgid "Name"
|
180 |
-
msgstr "Название"
|
181 |
-
|
182 |
-
#: core/options-pages.php:483 core/options-pages.php:1289
|
183 |
-
#: core/options-pages.php:1352
|
184 |
-
msgid "Parent"
|
185 |
-
msgstr "Родитель"
|
186 |
-
|
187 |
-
#: core/options-pages.php:484 core/options-pages.php:720
|
188 |
-
#: core/options-pages.php:1283 core/options-pages.php:1346
|
189 |
-
#: core/taxonomies.php:340 enhanced-media-library.php:510
|
190 |
-
msgid "All"
|
191 |
-
msgstr "Все"
|
192 |
-
|
193 |
-
#: core/options-pages.php:485 core/options-pages.php:1290
|
194 |
-
#: core/options-pages.php:1353
|
195 |
-
msgid "Search"
|
196 |
-
msgstr "Поиск"
|
197 |
-
|
198 |
-
#: core/options-pages.php:487 core/options-pages.php:1334
|
199 |
-
msgid "New Taxonomy"
|
200 |
-
msgstr "Новая таксономия"
|
201 |
-
|
202 |
-
#: core/options-pages.php:489
|
203 |
-
msgid "Remove Taxonomy"
|
204 |
-
msgstr "Удалить таксономию"
|
205 |
-
|
206 |
-
#: core/options-pages.php:490
|
207 |
-
msgid "Taxonomy will be removed."
|
208 |
-
msgstr "Таксономия будет удалена."
|
209 |
-
|
210 |
-
#: core/options-pages.php:491
|
211 |
-
msgid ""
|
212 |
-
"Taxonomy terms (categories) will remain intact in the database. If you "
|
213 |
-
"create a taxonomy with the same name in the future, its terms (categories) "
|
214 |
-
"will be available again."
|
215 |
-
msgstr ""
|
216 |
-
"Объекты таксономии останутся в базе данных. Если в будущем вы создадите "
|
217 |
-
"таксономию с тем же именем, ее объекты будут снова доступны."
|
218 |
-
|
219 |
-
#: core/options-pages.php:492
|
220 |
-
msgid "Media items will remain intact."
|
221 |
-
msgstr "Медиа объекты останутся нетронутыми."
|
222 |
-
|
223 |
-
#: core/options-pages.php:493
|
224 |
-
msgid "Are you still sure?"
|
225 |
-
msgstr "Вы уверены?"
|
226 |
-
|
227 |
-
#: core/options-pages.php:494
|
228 |
-
msgid "Yes, remove taxonomy"
|
229 |
-
msgstr "Да, удалить таксономию"
|
230 |
-
|
231 |
-
#: core/options-pages.php:496
|
232 |
-
msgid "Duplicate"
|
233 |
-
msgstr "Дублировать"
|
234 |
-
|
235 |
-
#: core/options-pages.php:497
|
236 |
-
msgid "Taxonomy with the same name already exists. Please chose other one."
|
237 |
-
msgstr ""
|
238 |
-
"Таксономия с таким названием уже существует. Пожалуйста, выберите другое."
|
239 |
-
|
240 |
-
#: core/options-pages.php:499
|
241 |
-
msgid "Empty Fields"
|
242 |
-
msgstr "Пустые поля"
|
243 |
-
|
244 |
-
#: core/options-pages.php:500
|
245 |
-
msgid "Please choose Singular and Plural names for all new taxomonies."
|
246 |
-
msgstr "Выберите единственные и множественные имена для всех новых таксономий."
|
247 |
-
|
248 |
-
#: core/options-pages.php:501
|
249 |
-
msgid "Please choose Singular name for all new taxomonies."
|
250 |
-
msgstr "Выберите единственное имя для всех новых таксономий."
|
251 |
-
|
252 |
-
#: core/options-pages.php:502
|
253 |
-
msgid "Please choose Plural Name for all new taxomonies."
|
254 |
-
msgstr "Выберите множественное имя для всех новых таксономий."
|
255 |
-
|
256 |
-
#: core/options-pages.php:504
|
257 |
-
msgid "Ok"
|
258 |
-
msgstr "Ок"
|
259 |
-
|
260 |
-
#: core/options-pages.php:505 core/options-pages.php:510
|
261 |
-
#: core/options-pages.php:554 core/options-pages.php:599
|
262 |
-
msgid "Cancel"
|
263 |
-
msgstr "Отмена"
|
264 |
-
|
265 |
-
#: core/options-pages.php:507
|
266 |
-
msgid "Synchronize Now"
|
267 |
-
msgstr "Синхронизировать сейчас"
|
268 |
-
|
269 |
-
#: core/options-pages.php:508 core/options-pages.php:596
|
270 |
-
msgid "This operation cannot be canceled! Are you still sure?"
|
271 |
-
msgstr "Эту операцию нельзя отменить! Вы уверены?"
|
272 |
-
|
273 |
-
#: core/options-pages.php:509
|
274 |
-
msgid "Synchronize"
|
275 |
-
msgstr "Синхронизировать"
|
276 |
-
|
277 |
-
#: core/options-pages.php:511
|
278 |
-
msgid "Synchronizing..."
|
279 |
-
msgstr "Синхронизация..."
|
280 |
-
|
281 |
-
#: core/options-pages.php:549 core/options-pages.php:1673
|
282 |
-
msgid "Restore WordPress default MIME Types"
|
283 |
-
msgstr "Восстановить MIME-типы по умолчанию"
|
284 |
-
|
285 |
-
#: core/options-pages.php:550
|
286 |
-
msgid "Warning! All your custom MIME Types will be deleted by this operation."
|
287 |
-
msgstr ""
|
288 |
-
"Внимание! Все ваши пользовательские MIME-типы будут удалены этой операцией."
|
289 |
-
|
290 |
-
#: core/options-pages.php:551
|
291 |
-
msgid "Restore Defaults"
|
292 |
-
msgstr "Восстановить значения по умолчанию"
|
293 |
-
|
294 |
-
#: core/options-pages.php:552
|
295 |
-
msgid "Restoring..."
|
296 |
-
msgstr "Восстановление..."
|
297 |
-
|
298 |
-
#: core/options-pages.php:556
|
299 |
-
msgid "Please fill into all fields."
|
300 |
-
msgstr "Пожалуйста, заполните все поля."
|
301 |
-
|
302 |
-
#: core/options-pages.php:557
|
303 |
-
msgid "Duplicate extensions or MIME types. Please choose other one."
|
304 |
-
msgstr "Дублирующееся расширение или MIME-тип. Пожалуйста, выберите другой"
|
305 |
-
|
306 |
-
#: core/options-pages.php:594 core/options-pages.php:711
|
307 |
-
msgid "Complete Cleanup"
|
308 |
-
msgstr "Полная очистка"
|
309 |
-
|
310 |
-
#: core/options-pages.php:595
|
311 |
-
msgid ""
|
312 |
-
"You are about to <strong style=\"text-transform:uppercase\">delete all "
|
313 |
-
"plugin data</strong> from the database including backups."
|
314 |
-
msgstr ""
|
315 |
-
"Вы собираетесь удалить <strong style=\"text-transform:uppercase\">все данные "
|
316 |
-
"плагина</strong> из базы данных, включая резервные копии."
|
317 |
-
|
318 |
-
#: core/options-pages.php:597
|
319 |
-
msgid "Yes, delete all data"
|
320 |
-
msgstr "Да, удалить все данные"
|
321 |
-
|
322 |
-
#: core/options-pages.php:598
|
323 |
-
msgid "Cleaning..."
|
324 |
-
msgstr "Очистка..."
|
325 |
-
|
326 |
-
#: core/options-pages.php:629
|
327 |
-
msgid "Enhanced Media Library Settings"
|
328 |
-
msgstr "Настройки Enhanced Media Library"
|
329 |
-
|
330 |
-
#: core/options-pages.php:639
|
331 |
-
msgid "Export"
|
332 |
-
msgstr "Экспорт"
|
333 |
-
|
334 |
-
#: core/options-pages.php:643
|
335 |
-
msgid ""
|
336 |
-
"Plugin settings tabs <strong>Media Library</strong>, <strong>Media "
|
337 |
-
"Taxonomies</strong>, and <strong>MIME Types</strong> will be exported to a "
|
338 |
-
"configuration file. It allows you to easily import the configuration into "
|
339 |
-
"another website."
|
340 |
-
msgstr ""
|
341 |
-
"В конфигурационный файл будут экспортированы настройки плагина из секций "
|
342 |
-
"<strong>Медиа</strong>, <strong>Медиа таксономия</strong> и <strong>MIME-"
|
343 |
-
"типы</strong>. Это позволит вам легко импортировать конфигурацию на другой "
|
344 |
-
"веб-сайт."
|
345 |
-
|
346 |
-
#: core/options-pages.php:648
|
347 |
-
msgid "Export Plugin Settings"
|
348 |
-
msgstr "Экспортировать настройки плагина"
|
349 |
-
|
350 |
-
#: core/options-pages.php:658
|
351 |
-
msgid "Import"
|
352 |
-
msgstr "Импорт"
|
353 |
-
|
354 |
-
#: core/options-pages.php:662
|
355 |
-
msgid ""
|
356 |
-
"Plugin settings tabs <strong>Media Library</strong>, <strong>Media "
|
357 |
-
"Taxonomies</strong>, and <strong>MIME Types</strong> will be imported from a "
|
358 |
-
"configuration file which can be obtained by exporting the settings on "
|
359 |
-
"another website using the export button above."
|
360 |
-
msgstr ""
|
361 |
-
"Настройки плагина из секций <strong>Медиа</strong>, <strong>Медиа "
|
362 |
-
"таксономия</strong> и <strong>MIME-типы</strong> будут импортированы из "
|
363 |
-
"файла конфигурации. Кстати, этот файл можно получить путем экспорта "
|
364 |
-
"настроек, используя кнопку выше."
|
365 |
-
|
366 |
-
#: core/options-pages.php:663
|
367 |
-
msgid ""
|
368 |
-
"All plugin settings will be overridden by the import. You will have a chance "
|
369 |
-
"to restore current data from an automatic backup in case you are not "
|
370 |
-
"satisfied with the result of the import."
|
371 |
-
msgstr ""
|
372 |
-
"При импорте все существующие настройки плагина будет перезаписаны. У вас "
|
373 |
-
"будет возможность восстановить текущие данные из автоматического резервного "
|
374 |
-
"копирования, если вас не устроит результат импорта."
|
375 |
-
|
376 |
-
#: core/options-pages.php:670
|
377 |
-
msgid "Import Plugin Settings"
|
378 |
-
msgstr "Импортировать настройки плагина"
|
379 |
-
|
380 |
-
#: core/options-pages.php:682
|
381 |
-
msgid "Restore"
|
382 |
-
msgstr "Восстановить"
|
383 |
-
|
384 |
-
#: core/options-pages.php:688
|
385 |
-
msgid "No backup available at the moment."
|
386 |
-
msgstr "На текущий момент резервная копия недоступна."
|
387 |
-
|
388 |
-
#: core/options-pages.php:690
|
389 |
-
msgid "Backup will be created automatically before any import operation."
|
390 |
-
msgstr "Резервная копия будет создана автоматически перед операцией импорта."
|
391 |
-
|
392 |
-
#: core/options-pages.php:694
|
393 |
-
msgid ""
|
394 |
-
"The backup has been automatically created before the latest import operation."
|
395 |
-
msgstr ""
|
396 |
-
"Резервная копия была создана автоматически перед последней операцией импорта."
|
397 |
-
|
398 |
-
#: core/options-pages.php:698
|
399 |
-
msgid "Restore Settings from the Backup"
|
400 |
-
msgstr "Восстановить настройки из резервной копии"
|
401 |
-
|
402 |
-
#: core/options-pages.php:718
|
403 |
-
msgid "What will be deleted:"
|
404 |
-
msgstr "Что будет удалено:"
|
405 |
-
|
406 |
-
#: core/options-pages.php:723
|
407 |
-
msgid "All plugin options"
|
408 |
-
msgstr "Все параметры плагина"
|
409 |
-
|
410 |
-
#: core/options-pages.php:724
|
411 |
-
msgid "All plugin backups stored in database"
|
412 |
-
msgstr "Все резервные копии плагина, хранящиеся в базе данных"
|
413 |
-
|
414 |
-
#: core/options-pages.php:728
|
415 |
-
msgid "What will remain intact:"
|
416 |
-
msgstr "Что останется нетронутым:"
|
417 |
-
|
418 |
-
#: core/options-pages.php:729
|
419 |
-
msgid "All media items"
|
420 |
-
msgstr "Все медиа объекты"
|
421 |
-
|
422 |
-
#: core/options-pages.php:730
|
423 |
-
msgid "All taxonomies not listed above"
|
424 |
-
msgstr "Все таксономии, не перечисленные выше"
|
425 |
-
|
426 |
-
#: core/options-pages.php:733
|
427 |
-
msgid ""
|
428 |
-
"The plugin cannot delete itself because of security reason. Please delete it "
|
429 |
-
"manually from plugin list after cleanup."
|
430 |
-
msgstr ""
|
431 |
-
"Плагин не может удалить себя из-за соображений безопасности. Пожалуйста, "
|
432 |
-
"удалите его вручную из списка плагинов после очистки."
|
433 |
-
|
434 |
-
#: core/options-pages.php:735
|
435 |
-
msgid ""
|
436 |
-
"If you are not sure about this operation please create a backup of your "
|
437 |
-
"database prior to cleanup!"
|
438 |
-
msgstr ""
|
439 |
-
"Если вы не уверены в этой операции, создайте резервную копию базы данных "
|
440 |
-
"перед очисткой!"
|
441 |
-
|
442 |
-
#: core/options-pages.php:741
|
443 |
-
msgid "Delete All Data & Deactivate"
|
444 |
-
msgstr "Удалить все данные и деактивировать"
|
445 |
-
|
446 |
-
#: core/options-pages.php:841
|
447 |
-
msgid "Please upload a file to import settings."
|
448 |
-
msgstr "Загрузите файл для импорта настроек."
|
449 |
-
|
450 |
-
#: core/options-pages.php:867
|
451 |
-
msgid "Plugin settings imported."
|
452 |
-
msgstr "Настройки плагина импортированы"
|
453 |
-
|
454 |
-
#: core/options-pages.php:912
|
455 |
-
msgid "Plugin settings restored from the backup."
|
456 |
-
msgstr "Настройки плагина восстановлены из резервной копии."
|
457 |
-
|
458 |
-
#: core/options-pages.php:1110
|
459 |
-
msgid "Media Items Order"
|
460 |
-
msgstr "Сортировка медиа объектов"
|
461 |
-
|
462 |
-
#: core/options-pages.php:1117
|
463 |
-
msgid "Order media items by"
|
464 |
-
msgstr "Сортировать по"
|
465 |
-
|
466 |
-
#: core/options-pages.php:1120
|
467 |
-
msgid "Date"
|
468 |
-
msgstr "Дате"
|
469 |
-
|
470 |
-
#: core/options-pages.php:1121
|
471 |
-
msgid "Title"
|
472 |
-
msgstr "Названию"
|
473 |
-
|
474 |
-
#: core/options-pages.php:1122
|
475 |
-
msgid "Custom Order"
|
476 |
-
msgstr "Пользовательская сортировка"
|
477 |
-
|
478 |
-
#: core/options-pages.php:1124 core/options-pages.php:1136
|
479 |
-
msgid "For media library and media popups"
|
480 |
-
msgstr "Для медиа библиотеки и медиа окна"
|
481 |
-
|
482 |
-
#: core/options-pages.php:1125
|
483 |
-
msgid "Option allows to change order by drag and drop with Custom Order value."
|
484 |
-
msgstr ""
|
485 |
-
"Опция позволяет изменить порядок путём перетаскивания с пользовательским "
|
486 |
-
"значением"
|
487 |
-
|
488 |
-
#: core/options-pages.php:1130
|
489 |
-
msgid "Sort order"
|
490 |
-
msgstr "Порядок сортировки"
|
491 |
-
|
492 |
-
#: core/options-pages.php:1133
|
493 |
-
msgid "Ascending"
|
494 |
-
msgstr "По возрастанию"
|
495 |
-
|
496 |
-
#: core/options-pages.php:1134
|
497 |
-
msgid "Descending"
|
498 |
-
msgstr "По убыванию"
|
499 |
-
|
500 |
-
#: core/options-pages.php:1141 core/options-pages.php:1144
|
501 |
-
msgid "Natural sort order"
|
502 |
-
msgstr ""
|
503 |
-
|
504 |
-
#: core/options-pages.php:1145
|
505 |
-
msgid "Apply human-friendly sort order to the media library and galleries."
|
506 |
-
msgstr ""
|
507 |
-
|
508 |
-
#: core/options-pages.php:1146
|
509 |
-
msgid ""
|
510 |
-
"Example: [1, 2, 3, 10, 18, 22, abc-2, abc-11] instead of [1, 10, 18, 2, 22, "
|
511 |
-
"3, abc-11, abc-2]"
|
512 |
-
msgstr ""
|
513 |
-
|
514 |
-
#: core/options-pages.php:1160
|
515 |
-
msgid "Media Shortcodes"
|
516 |
-
msgstr "Медиа шорткоды"
|
517 |
-
|
518 |
-
#: core/options-pages.php:1167 core/options-pages.php:1170
|
519 |
-
msgid "Enhanced media shortcodes"
|
520 |
-
msgstr "Расширенные медиа шорткоды"
|
521 |
-
|
522 |
-
#: core/options-pages.php:1171
|
523 |
-
msgid ""
|
524 |
-
"Enhance WordPress media shortcodes to make them understand media taxonomies, "
|
525 |
-
"upload date, and media items number limit"
|
526 |
-
msgstr ""
|
527 |
-
"Расширить стандартные шорткоды в WordPress, включив в них таксономию, дату "
|
528 |
-
"загрузки и количество медиа элементов."
|
529 |
-
|
530 |
-
#: core/options-pages.php:1172
|
531 |
-
msgid "Gallery example:"
|
532 |
-
msgstr "Пример галереи:"
|
533 |
-
|
534 |
-
#: core/options-pages.php:1173
|
535 |
-
msgid "Audio playlist example:"
|
536 |
-
msgstr "Пример аудио плейлиста:"
|
537 |
-
|
538 |
-
#: core/options-pages.php:1174
|
539 |
-
msgid "Video playlist example:"
|
540 |
-
msgstr "Пример видео плейлиста:"
|
541 |
-
|
542 |
-
#: core/options-pages.php:1176
|
543 |
-
#, php-format
|
544 |
-
msgid ""
|
545 |
-
"%sWarning:%s Incompatibility with other gallery plugins or themes possible!"
|
546 |
-
msgstr ""
|
547 |
-
"%sВнимание:%s возможна несовместимость с другими плагинами галереей или "
|
548 |
-
"темами!"
|
549 |
-
|
550 |
-
#: core/options-pages.php:1178
|
551 |
-
#, php-format
|
552 |
-
msgid "%sLearn more%s."
|
553 |
-
msgstr "%sПодробнее об этом%s"
|
554 |
-
|
555 |
-
#: core/options-pages.php:1180
|
556 |
-
#, php-format
|
557 |
-
msgid ""
|
558 |
-
"Please check out your gallery front-end and back-end functionality once this "
|
559 |
-
"option activated. If you find an issue please inform plugin authors at %s or "
|
560 |
-
"%s."
|
561 |
-
msgstr ""
|
562 |
-
"<br>Пожалуйста, проверьте фронтенд/бэкенд вашей галереи после активации этой "
|
563 |
-
"опции. Если вы обнаружили ошибку, сообщите об этом авторам плагинов по "
|
564 |
-
"адресу %s или %s."
|
565 |
-
|
566 |
-
#: core/options-pages.php:1249 core/options-pages.php:1396
|
567 |
-
msgid "Assign following taxonomies to Media Library:"
|
568 |
-
msgstr "Включить следующие таксономии в медиа-библиотеке:"
|
569 |
-
|
570 |
-
#: core/options-pages.php:1268 core/options-pages.php:1334
|
571 |
-
#: core/options-pages.php:1418
|
572 |
-
msgid "Assign Taxonomy"
|
573 |
-
msgstr "Назначить таксономию"
|
574 |
-
|
575 |
-
#: core/options-pages.php:1269 core/options-pages.php:1419
|
576 |
-
msgid "Edit Taxonomy"
|
577 |
-
msgstr "Изменить таксономию"
|
578 |
-
|
579 |
-
#: core/options-pages.php:1273 core/options-pages.php:1336
|
580 |
-
msgid "Delete Taxonomy"
|
581 |
-
msgstr "Удалить таксономию"
|
582 |
-
|
583 |
-
#: core/options-pages.php:1278 core/options-pages.php:1341
|
584 |
-
msgid "Labels"
|
585 |
-
msgstr "Названия"
|
586 |
-
|
587 |
-
#: core/options-pages.php:1280 core/options-pages.php:1343
|
588 |
-
msgid "Singular"
|
589 |
-
msgstr "Еденичное"
|
590 |
-
|
591 |
-
#: core/options-pages.php:1281 core/options-pages.php:1344
|
592 |
-
msgid "Plural"
|
593 |
-
msgstr "Множественное"
|
594 |
-
|
595 |
-
#: core/options-pages.php:1282 core/options-pages.php:1345
|
596 |
-
msgid "Menu Name"
|
597 |
-
msgstr "В меню"
|
598 |
-
|
599 |
-
#: core/options-pages.php:1295 core/options-pages.php:1318
|
600 |
-
#: core/options-pages.php:1358 core/options-pages.php:1422
|
601 |
-
msgid "Settings"
|
602 |
-
msgstr "Настройки"
|
603 |
-
|
604 |
-
#: core/options-pages.php:1297 core/options-pages.php:1360
|
605 |
-
msgid "Taxonomy Name"
|
606 |
-
msgstr "Название таксономии"
|
607 |
-
|
608 |
-
#: core/options-pages.php:1298 core/options-pages.php:1361
|
609 |
-
msgid "Hierarchical"
|
610 |
-
msgstr "Древовидность"
|
611 |
-
|
612 |
-
#: core/options-pages.php:1299 core/options-pages.php:1362
|
613 |
-
msgid "Column for List View"
|
614 |
-
msgstr "Столбец в таблице объектов"
|
615 |
-
|
616 |
-
#: core/options-pages.php:1300 core/options-pages.php:1320
|
617 |
-
#: core/options-pages.php:1363 core/options-pages.php:1424
|
618 |
-
msgid "Filter for List View"
|
619 |
-
msgstr "Фильтр в таблице объектов"
|
620 |
-
|
621 |
-
#: core/options-pages.php:1301 core/options-pages.php:1321
|
622 |
-
#: core/options-pages.php:1364 core/options-pages.php:1425
|
623 |
-
msgid "Filter for Grid View / Media Popup"
|
624 |
-
msgstr "Фильтр в сетке / медиа окне"
|
625 |
-
|
626 |
-
#: core/options-pages.php:1302 core/options-pages.php:1322
|
627 |
-
#: core/options-pages.php:1365 core/options-pages.php:1426
|
628 |
-
msgid "Edit in Media Popup"
|
629 |
-
msgstr "Редактировать в медиа окне"
|
630 |
-
|
631 |
-
#: core/options-pages.php:1303 core/options-pages.php:1366
|
632 |
-
msgid "Show in Nav Menu"
|
633 |
-
msgstr "Показать в меню навигации"
|
634 |
-
|
635 |
-
#: core/options-pages.php:1304 core/options-pages.php:1367
|
636 |
-
msgid "Remember Terms Order (sort)"
|
637 |
-
msgstr "Запомнить порядок объектов таксономии"
|
638 |
-
|
639 |
-
#: core/options-pages.php:1305 core/options-pages.php:1368
|
640 |
-
msgid "Show in REST"
|
641 |
-
msgstr "Включить в REST"
|
642 |
-
|
643 |
-
#: core/options-pages.php:1306 core/options-pages.php:1369
|
644 |
-
msgid "Rewrite Slug"
|
645 |
-
msgstr "Префикс в ЧПУ"
|
646 |
-
|
647 |
-
#: core/options-pages.php:1307 core/options-pages.php:1370
|
648 |
-
msgid "Slug with Front"
|
649 |
-
msgstr "Нужно ли в начало вставлять общий префикс из настроек"
|
650 |
-
|
651 |
-
#: core/options-pages.php:1382
|
652 |
-
msgid "Add New Taxonomy"
|
653 |
-
msgstr "Добавить таксономию"
|
654 |
-
|
655 |
-
#: core/options-pages.php:1392
|
656 |
-
msgid "Non-Media Taxonomies"
|
657 |
-
msgstr "Не-Медиа таксономии"
|
658 |
-
|
659 |
-
#: core/options-pages.php:1455
|
660 |
-
msgid "Options"
|
661 |
-
msgstr "Опции"
|
662 |
-
|
663 |
-
#: core/options-pages.php:1465 core/options-pages.php:1468
|
664 |
-
msgid "Taxonomy archive pages"
|
665 |
-
msgstr "Страницы архива таксономии"
|
666 |
-
|
667 |
-
#: core/options-pages.php:1469
|
668 |
-
msgid "Turn on media taxonomy archive pages on the front-end"
|
669 |
-
msgstr "Включить страницы архива медиа таксономии на фронтенде"
|
670 |
-
|
671 |
-
#: core/options-pages.php:1470
|
672 |
-
msgid ""
|
673 |
-
"Re-save your permalink settings after this option change to make it work."
|
674 |
-
msgstr ""
|
675 |
-
"Повторно сохраните настройки постоянных ссылок после изменения этой опции, "
|
676 |
-
"чтобы она точно заработала."
|
677 |
-
|
678 |
-
#: core/options-pages.php:1476 core/options-pages.php:1479
|
679 |
-
msgid "Assign all like hierarchical"
|
680 |
-
msgstr "Древовидность"
|
681 |
-
|
682 |
-
#: core/options-pages.php:1480
|
683 |
-
msgid ""
|
684 |
-
"Show non-hierarchical taxonomies like hierarchical in Grid View / Media Popup"
|
685 |
-
msgstr ""
|
686 |
-
"Показывать недревовидные таксономии, как древовидные в режиме просмотра "
|
687 |
-
"сеткой / медиа окне"
|
688 |
-
|
689 |
-
#: core/options-pages.php:1486 core/options-pages.php:1489
|
690 |
-
msgid "Force filters"
|
691 |
-
msgstr "Принудительные фильтры"
|
692 |
-
|
693 |
-
#: core/options-pages.php:1490
|
694 |
-
msgid "Show media filters for ANY Media Popup"
|
695 |
-
msgstr "Показывать фильтры в любом медиа окне"
|
696 |
-
|
697 |
-
#: core/options-pages.php:1491
|
698 |
-
msgid "Try this if filters are not shown for third-party plugins or themes."
|
699 |
-
msgstr ""
|
700 |
-
"Попробуй это, если фильтры не показываются для сторонних плагинов или тем."
|
701 |
-
|
702 |
-
#: core/options-pages.php:1497 core/options-pages.php:1500
|
703 |
-
msgid "Show count"
|
704 |
-
msgstr "Количество"
|
705 |
-
|
706 |
-
#: core/options-pages.php:1501
|
707 |
-
msgid "Show item count per category for media filters"
|
708 |
-
msgstr "Показывать количество объектов в категориях в медиа фильтрах"
|
709 |
-
|
710 |
-
#: core/options-pages.php:1555
|
711 |
-
msgid "Add New MIME Type"
|
712 |
-
msgstr "Добавить MIME-тип"
|
713 |
-
|
714 |
-
#: core/options-pages.php:1575 core/options-pages.php:1630
|
715 |
-
msgid "Extension"
|
716 |
-
msgstr "Расширение"
|
717 |
-
|
718 |
-
#: core/options-pages.php:1576 core/options-pages.php:1631
|
719 |
-
msgid "MIME Type"
|
720 |
-
msgstr "MIME-тип"
|
721 |
-
|
722 |
-
#: core/options-pages.php:1577 core/options-pages.php:1632
|
723 |
-
msgid "Singular Label"
|
724 |
-
msgstr "Единичное название"
|
725 |
-
|
726 |
-
#: core/options-pages.php:1578 core/options-pages.php:1633
|
727 |
-
msgid "Plural Label"
|
728 |
-
msgstr "Множественное название"
|
729 |
-
|
730 |
-
#: core/options-pages.php:1579 core/options-pages.php:1609
|
731 |
-
#: core/options-pages.php:1622 core/options-pages.php:1634
|
732 |
-
msgid "Add Filter"
|
733 |
-
msgstr "Добавить фильтр"
|
734 |
-
|
735 |
-
#: core/options-pages.php:1580 core/options-pages.php:1610
|
736 |
-
#: core/options-pages.php:1623 core/options-pages.php:1635
|
737 |
-
msgid "Allow Upload"
|
738 |
-
msgstr "Разрешить загрузку"
|
739 |
-
|
740 |
-
#: core/options-pages.php:1611 core/options-pages.php:1624
|
741 |
-
msgid "Delete MIME Type"
|
742 |
-
msgstr "Удалить MIME-тип"
|
743 |
-
|
744 |
-
#: core/options-pages.php:1671
|
745 |
-
msgid "Save Changes"
|
746 |
-
msgstr "Сохранить изменения"
|
747 |
-
|
748 |
-
#: core/options-pages.php:1701
|
749 |
-
msgid "Changelog"
|
750 |
-
msgstr "Список изменений"
|
751 |
-
|
752 |
-
#: core/options-pages.php:1702
|
753 |
-
msgid "What's new in"
|
754 |
-
msgstr "Что нового в"
|
755 |
-
|
756 |
-
#: core/options-pages.php:1702
|
757 |
-
msgid "version"
|
758 |
-
msgstr "версии"
|
759 |
-
|
760 |
-
#: core/options-pages.php:1705
|
761 |
-
msgid "More features under the hood"
|
762 |
-
msgstr "Дополнительные возможности на сайте"
|
763 |
-
|
764 |
-
#: core/options-pages.php:1707
|
765 |
-
msgid "Support"
|
766 |
-
msgstr "Поддержка"
|
767 |
-
|
768 |
-
#: core/options-pages.php:1708
|
769 |
-
msgid "Feel free to ask for help on"
|
770 |
-
msgstr "Не стесняйтесь обратиться за помощью к"
|
771 |
-
|
772 |
-
#: core/options-pages.php:1708
|
773 |
-
msgid "Support is free for both versions of the plugin."
|
774 |
-
msgstr "Поддержка бесплатна для обеих версий плагина."
|
775 |
-
|
776 |
-
#: core/options-pages.php:1710
|
777 |
-
msgid "Plugin rating"
|
778 |
-
msgstr "Рейтинг плагина"
|
779 |
-
|
780 |
-
#: core/options-pages.php:1711
|
781 |
-
msgid "Please"
|
782 |
-
msgstr "Пожалуйста"
|
783 |
-
|
784 |
-
#: core/options-pages.php:1711
|
785 |
-
msgid "vote for the plugin"
|
786 |
-
msgstr "проголосуйте за плагин"
|
787 |
-
|
788 |
-
#: core/options-pages.php:1711
|
789 |
-
msgid "Thanks!"
|
790 |
-
msgstr "Спасибо!"
|
791 |
-
|
792 |
-
#: core/options-pages.php:1713
|
793 |
-
msgid "Other plugins you may find useful"
|
794 |
-
msgstr "Другие плагины, которые могут вам пригодиться"
|
795 |
-
|
796 |
-
#: core/options-pages.php:1752
|
797 |
-
msgid "Utility"
|
798 |
-
msgstr "Утилита"
|
799 |
-
|
800 |
-
#: core/options-pages.php:1775
|
801 |
-
msgid "Vote!"
|
802 |
-
msgstr "Голосуйте!"
|
803 |
-
|
804 |
-
#: core/taxonomies.php:101
|
805 |
-
msgid "Media Taxonomies settings saved."
|
806 |
-
msgstr "Настройки медиа таксономий сохранены."
|
807 |
-
|
808 |
-
#: core/taxonomies.php:159
|
809 |
-
msgid "Media Library settings saved."
|
810 |
-
msgstr "Настройки медиа библиотеки сохранены."
|
811 |
-
|
812 |
-
#: core/taxonomies.php:333 core/taxonomies.php:339
|
813 |
-
#: enhanced-media-library.php:509
|
814 |
-
msgid "Filter by"
|
815 |
-
msgstr "Фильтровать по"
|
816 |
-
|
817 |
-
#: core/taxonomies.php:341 enhanced-media-library.php:511
|
818 |
-
msgid "Not in a"
|
819 |
-
msgstr "Не в"
|
820 |
-
|
821 |
-
#: core/taxonomies.php:1333 core/taxonomies.php:1340
|
822 |
-
msgid "Remove"
|
823 |
-
msgstr "Удалить"
|
824 |
-
|
825 |
-
#: core/taxonomies.php:1335 core/taxonomies.php:1342
|
826 |
-
msgid "Deselect"
|
827 |
-
msgstr "Снять выбор"
|
828 |
-
|
829 |
-
#: core/taxonomies.php:1389
|
830 |
-
msgid "Caption this image…"
|
831 |
-
msgstr "Подпись к этому изображению…"
|
832 |
-
|
833 |
-
#: core/taxonomies.php:1393
|
834 |
-
msgid "Describe this video…"
|
835 |
-
msgstr "Опишите это видео…"
|
836 |
-
|
837 |
-
#: core/taxonomies.php:1395
|
838 |
-
msgid "Describe this audio file…"
|
839 |
-
msgstr "Опишите это аудио…"
|
840 |
-
|
841 |
-
#: core/taxonomies.php:1397
|
842 |
-
msgid "Describe this media file…"
|
843 |
-
msgstr "Опиши этот медиафайл…"
|
844 |
-
|
845 |
-
#: enhanced-media-library.php:342 enhanced-media-library.php:508
|
846 |
-
msgid "All Uncategorized"
|
847 |
-
msgstr "Все без категории"
|
848 |
-
|
849 |
-
#: enhanced-media-library.php:343 enhanced-media-library.php:512
|
850 |
-
msgid "Reset All Filters"
|
851 |
-
msgstr "Сброс"
|
852 |
-
|
853 |
-
#: enhanced-media-library.php:542
|
854 |
-
msgid "Uploaded to post #"
|
855 |
-
msgstr "Загружено для записи #"
|
856 |
-
|
857 |
-
#: enhanced-media-library.php:543
|
858 |
-
msgid "Based On"
|
859 |
-
msgstr "На основе"
|
860 |
-
|
861 |
-
#: enhanced-media-library.php:575 enhanced-media-library.php:577
|
862 |
-
msgid "Media Categories"
|
863 |
-
msgstr "Медиа категории"
|
864 |
-
|
865 |
-
#: enhanced-media-library.php:576
|
866 |
-
msgid "Media Category"
|
867 |
-
msgstr "Медиа категория"
|
868 |
-
|
869 |
-
#: enhanced-media-library.php:578
|
870 |
-
msgid "All Media Categories"
|
871 |
-
msgstr "Все медиа категории"
|
872 |
-
|
873 |
-
#: enhanced-media-library.php:579
|
874 |
-
msgid "Edit Media Category"
|
875 |
-
msgstr "Изменить медиа категорию"
|
876 |
-
|
877 |
-
#: enhanced-media-library.php:580
|
878 |
-
msgid "View Media Category"
|
879 |
-
msgstr "Смотреть медиа категорию"
|
880 |
-
|
881 |
-
#: enhanced-media-library.php:581
|
882 |
-
msgid "Update Media Category"
|
883 |
-
msgstr "Обновить медиа категорию"
|
884 |
-
|
885 |
-
#: enhanced-media-library.php:582
|
886 |
-
msgid "Add New Media Category"
|
887 |
-
msgstr "Добавить новую медиа категорию"
|
888 |
-
|
889 |
-
#: enhanced-media-library.php:583
|
890 |
-
msgid "New Media Category Name"
|
891 |
-
msgstr "Название новой медиа категории"
|
892 |
-
|
893 |
-
#: enhanced-media-library.php:584
|
894 |
-
msgid "Parent Media Category"
|
895 |
-
msgstr "Родительская категория"
|
896 |
-
|
897 |
-
#: enhanced-media-library.php:585
|
898 |
-
msgid "Parent Media Category:"
|
899 |
-
msgstr "Родительская категория:"
|
900 |
-
|
901 |
-
#: enhanced-media-library.php:586
|
902 |
-
msgid "Search Media Categories"
|
903 |
-
msgstr "Поиск медиа категорий"
|
904 |
-
|
905 |
-
#. Plugin URI of the plugin/theme
|
906 |
-
#. Author URI of the plugin/theme
|
907 |
-
msgid "http://wpUXsolutions.com"
|
908 |
-
msgstr "http://wpUXsolutions.com"
|
909 |
-
|
910 |
-
#. Description of the plugin/theme
|
911 |
-
msgid ""
|
912 |
-
"This plugin will be handy for those who need to manage a lot of media files."
|
913 |
-
msgstr ""
|
914 |
-
"Этот плагин будет удобен для тех, кому нужно управлять множеством "
|
915 |
-
"медиафайлов."
|
916 |
-
|
917 |
-
#. Author of the plugin/theme
|
918 |
-
msgid "wpUXsolutions"
|
919 |
-
msgstr "wpUXsolutions"
|
920 |
-
|
921 |
-
#~ msgid ""
|
922 |
-
#~ "%1$s could not establish a secure connection to request information about "
|
923 |
-
#~ "available updates. An error occurred: %2$s. Please <a href=\"%3$s"
|
924 |
-
#~ "\">contact plugin authors</a>."
|
925 |
-
#~ msgstr ""
|
926 |
-
#~ "%1$s не удалось установить безопасное соединение с запросом о доступных "
|
927 |
-
#~ "обновлениях. Произошла ошибка: %2$s. Пожалуйста, <a href=\"%3$s"
|
928 |
-
#~ "\">обратитесь к авторам плагина</a>."
|
929 |
-
|
930 |
-
#~ msgid "Untrash Selected"
|
931 |
-
#~ msgstr "Из корзины"
|
932 |
-
|
933 |
-
#~ msgid "NOT recommended if you work with more than hundred files at a time."
|
934 |
-
#~ msgstr ""
|
935 |
-
#~ "НЕ рекомендуется, если вы работаете с более чем сотней файлов за раз."
|
936 |
-
|
937 |
-
#~ msgid "Attachments Details"
|
938 |
-
#~ msgstr "Сведения о прикрепленных файлах"
|
939 |
-
|
940 |
-
#~ msgid "Select All"
|
941 |
-
#~ msgstr "Выбрать все"
|
942 |
-
|
943 |
-
#~ msgid "Deselect All"
|
944 |
-
#~ msgstr "Снять выбор со всех"
|
945 |
-
|
946 |
-
#~ msgid "Delete Selected"
|
947 |
-
#~ msgstr "Удалить выбранные"
|
948 |
-
|
949 |
-
#~ msgid "Trash Selected"
|
950 |
-
#~ msgstr "В корзину"
|
951 |
-
|
952 |
-
#~ msgid "Delete Selected Permanently"
|
953 |
-
#~ msgstr "Удалить выбранное навсегда"
|
954 |
-
|
955 |
-
#~ msgid "Order By"
|
956 |
-
#~ msgstr "Сортировать по"
|
957 |
-
|
958 |
-
#~ msgid "Random"
|
959 |
-
#~ msgstr "Случайно"
|
960 |
-
|
961 |
-
#~ msgid "Order"
|
962 |
-
#~ msgstr "Порядок"
|
963 |
-
|
964 |
-
#~ msgid "Limit"
|
965 |
-
#~ msgstr "Ограничение"
|
966 |
-
|
967 |
-
#~ msgid "Your license has been deactivated."
|
968 |
-
#~ msgstr "Ваша лицензия была деактивирована."
|
969 |
-
|
970 |
-
#~ msgid "Please check if your license key is correct and try again."
|
971 |
-
#~ msgstr "Проверьте правильность лицензионного ключа и повторите попытку."
|
972 |
-
|
973 |
-
#~ msgid ""
|
974 |
-
#~ "Activation failed with the error: %s. Please <a href=\"%s\">contact "
|
975 |
-
#~ "plugin authors</a>."
|
976 |
-
#~ msgstr ""
|
977 |
-
#~ "Активация завершилась с ошибкой: %s. Пожалуйста <a href=\"%s\">свяжитесь "
|
978 |
-
#~ "с авторами плагина</a>."
|
979 |
-
|
980 |
-
#~ msgid ""
|
981 |
-
#~ "Your license key is incorrect or canceled. Please <a href=\"%s\">contact "
|
982 |
-
#~ "plugin authors</a>."
|
983 |
-
#~ msgstr ""
|
984 |
-
#~ "У вас неверный или недействующий лицензионный ключ. Пожалуйста <a href="
|
985 |
-
#~ "\"%s\">свяжитесь с авторами плагина</a>."
|
986 |
-
|
987 |
-
#~ msgid "You license has been activated."
|
988 |
-
#~ msgstr "Ваша лицензия активирована."
|
989 |
-
|
990 |
-
#~ msgid "Auto-assign media items to parent %s %s on upload"
|
991 |
-
#~ msgstr "Авто-назначение медиа объектов родительским %s %s при загрузке"
|
992 |
-
|
993 |
-
#~ msgid ""
|
994 |
-
#~ "%sWarning:%s As a result of clicking \"Synchronize Now\" all media items "
|
995 |
-
#~ "attached to a %s will be assigned to %s of their parent %s. Currently "
|
996 |
-
#~ "assigned %s will not be saved. Media items that are not attached to any "
|
997 |
-
#~ "%s will not be affected."
|
998 |
-
#~ msgstr ""
|
999 |
-
#~ "%sВнимание:%s В результате нажатия кнопки «Синхронизировать сейчас» все "
|
1000 |
-
#~ "медиа объекты, прикрепленные к %s, будут назначены %s их родительских %s. "
|
1001 |
-
#~ "Назначенный %s не будет сохранен. Объекты медиа, которые не привязаны к "
|
1002 |
-
#~ "каким-либо %s, не будут затронуты."
|
1003 |
-
|
1004 |
-
#~ msgid "Bulk Edit"
|
1005 |
-
#~ msgstr "Массовое редактирование"
|
1006 |
-
|
1007 |
-
#~ msgid "Turn off 'Save Changes' button"
|
1008 |
-
#~ msgstr "Отключить кнопку «Сохранить изменения»"
|
1009 |
-
|
1010 |
-
#~ msgid "Save changes on the fly"
|
1011 |
-
#~ msgstr "Сохранять изменения сразу"
|
1012 |
-
|
1013 |
-
#~ msgid ""
|
1014 |
-
#~ "Any click on a taxonomy checkbox during media files bulk editing will "
|
1015 |
-
#~ "lead to an <strong style=\"color:red\">immediate saving</strong> of the "
|
1016 |
-
#~ "data. Please, be careful! You have much greater chance to <strong style="
|
1017 |
-
#~ "\"color:red\">accidentally perform wrong re-assigning</strong> of a lot "
|
1018 |
-
#~ "of your media files / taxonomies with this option turned on."
|
1019 |
-
#~ msgstr ""
|
1020 |
-
#~ "Любой клик на флажке таксономии во время массового редактирования медиа "
|
1021 |
-
#~ "файлов приведет к <strong style=\"color:red\">немедленному сохранению</"
|
1022 |
-
#~ "strong> данных. Так что - будьте осторожны! У вас гораздо больше шансов, "
|
1023 |
-
#~ "<strong style = \"color: red\">выполнить неправильное повторное "
|
1024 |
-
#~ "назначение</strong> большого количества медиафайлов / таксономий когда "
|
1025 |
-
#~ "эта опция включена."
|
1026 |
-
|
1027 |
-
#~ msgid "License Key"
|
1028 |
-
#~ msgstr "Лицензионный ключ"
|
1029 |
-
|
1030 |
-
#~ msgid ""
|
1031 |
-
#~ "To unlock updates please enter your license key below. You can get your "
|
1032 |
-
#~ "license key in <a href=\"%s\">Your Account</a>. If you do not have a "
|
1033 |
-
#~ "license, you are welcome to <a href=\"%s\">purchase it</a>."
|
1034 |
-
#~ msgstr ""
|
1035 |
-
#~ "Чтобы разблокировать обновления, введите свой лицензионный ключ ниже. Вы "
|
1036 |
-
#~ "можете получить свой лицензионный ключ в <a href=\"%s\">вашем личном "
|
1037 |
-
#~ "кабинете</a>. Если у вас нет лицензии, то имеет смысл <a href=\"%s"
|
1038 |
-
#~ "\">купить её</a>."
|
1039 |
-
|
1040 |
-
#~ msgid "Activate License"
|
1041 |
-
#~ msgstr "Активировать лицензию"
|
1042 |
-
|
1043 |
-
#~ msgid "Your license is active!"
|
1044 |
-
#~ msgstr "Ваша лицензия активна!"
|
1045 |
-
|
1046 |
-
#~ msgid "Deactivate License"
|
1047 |
-
#~ msgstr "Деактивировать лицензию"
|
1048 |
-
|
1049 |
-
#~ msgid ""
|
1050 |
-
#~ "An unexpected error occurred. Something may be wrong with WordPress.org "
|
1051 |
-
#~ "or this server’s configuration. If you continue to have problems, "
|
1052 |
-
#~ "please try the <a href=\"https://wordpress.org/support/\">support forums</"
|
1053 |
-
#~ "a>."
|
1054 |
-
#~ msgstr ""
|
1055 |
-
#~ "Произошла непредвиденная ошибка. Возможно, что-то не так с WordPress.org "
|
1056 |
-
#~ "или конфигурацией этого сервера. Если это не первый подобный случай, "
|
1057 |
-
#~ "попробуй обратиться на <a href=\"https://wordpress.org/support/\">форум "
|
1058 |
-
#~ "поддержки</a>."
|
1059 |
-
|
1060 |
-
#~ msgid ""
|
1061 |
-
#~ "(WordPress could not establish a secure connection to WordPress.org. "
|
1062 |
-
#~ "Please contact your server administrator.)"
|
1063 |
-
#~ msgstr ""
|
1064 |
-
#~ "(WordPress не смог установить безопасное соединение с WordPress.org. "
|
1065 |
-
#~ "Обратитесь к администратору своего сервера или в поддержку хостинга.)"
|
1066 |
-
|
1067 |
-
#~ msgid ""
|
1068 |
-
#~ "To unlock updates, please <a href=\"%s\">activate your license</a>. You "
|
1069 |
-
#~ "can get your license key in <a href=\"%s\">Your Account</a>. If you do "
|
1070 |
-
#~ "not have a license, you are welcome to <a href=\"%s\">purchase it</a>."
|
1071 |
-
#~ msgstr ""
|
1072 |
-
#~ "Чтобы разблокировать обновления, <a href=\"%s\">активируй свою лицензию</"
|
1073 |
-
#~ "a>. Вы можете получить свой лицензионный ключ в <a href=\"%s\">личном "
|
1074 |
-
#~ "кабинете</a>. Если у вас нет лицензии, <a href=\"%s\">приобретите её</a>."
|
1075 |
-
|
1076 |
-
#~ msgid "ALL files belong to this item"
|
1077 |
-
#~ msgstr "ВСЕ файлы принадлежат этому объекту"
|
1078 |
-
|
1079 |
-
#~ msgid "SOME files belong to this item"
|
1080 |
-
#~ msgstr "К этому объекту относятся НЕКОТОРЫЕ файлы"
|
1081 |
-
|
1082 |
-
#~ msgid "NO files belong to this item"
|
1083 |
-
#~ msgstr "НЕТ файлов, принадлежащих этому объекту"
|
1084 |
-
|
1085 |
-
#~ msgid "Changes saved."
|
1086 |
-
#~ msgstr "Изменения сохранены."
|
1087 |
-
|
1088 |
-
#~ msgid "Something went wrong."
|
1089 |
-
#~ msgstr "Что-то пошло не так."
|
1090 |
-
|
1091 |
-
#~ msgid "Edit Media Files"
|
1092 |
-
#~ msgstr "Редактировать медиафайлы"
|
1093 |
-
|
1094 |
-
#~ msgid "Selecting"
|
1095 |
-
#~ msgstr "Выбор"
|
1096 |
-
|
1097 |
-
#~ msgid "You are about to permanently delete all selected items."
|
1098 |
-
#~ msgstr "Вы собираетесь навсегда удалить все выбранные объекты."
|
1099 |
-
|
1100 |
-
#~ msgid "Delete"
|
1101 |
-
#~ msgstr "Удалить"
|
1102 |
-
|
1103 |
-
#~ msgid "Moving to Trash"
|
1104 |
-
#~ msgstr "Перемещение в корзину"
|
1105 |
-
|
1106 |
-
#~ msgid "Restoring"
|
1107 |
-
#~ msgstr "Восстановление"
|
1108 |
-
|
1109 |
-
#~ msgid "Deleting"
|
1110 |
-
#~ msgstr "Удаление"
|
1111 |
-
|
1112 |
-
#~ msgid "Create a filter-based gallery"
|
1113 |
-
#~ msgstr "Создание галереи на основе фильтров"
|
1114 |
-
|
1115 |
-
#~ msgid "Create a filter-based playlist"
|
1116 |
-
#~ msgstr "Создание плейлиста на основе фильтров"
|
1117 |
-
|
1118 |
-
#~ msgid "Create a filter-based video playlist"
|
1119 |
-
#~ msgstr "Создание видео плейлиста на основе фильтров"
|
1120 |
-
|
1121 |
-
#~ msgid ""
|
1122 |
-
#~ "Please deactivate and <strong>remove</strong> the old FREE version prior "
|
1123 |
-
#~ "to the <strong>Enhanced Media Library PRO</strong> activation. All your "
|
1124 |
-
#~ "data will remain intact."
|
1125 |
-
#~ msgstr ""
|
1126 |
-
#~ "Деактивируйте и <strong>удалите</strong> старую бесплатную версию до "
|
1127 |
-
#~ "активации <strong>Enhanced Media Library PRO</strong>. Спокойно, все ваши "
|
1128 |
-
#~ "данные сохранятся."
|
1129 |
-
|
1130 |
-
#~ msgid "Return to Plugins"
|
1131 |
-
#~ msgstr "Вернуться в Плагины"
|
1132 |
-
|
1133 |
-
#~ msgid ""
|
1134 |
-
#~ "Both FREE and PRO versions of the Enhanced Media Library are network "
|
1135 |
-
#~ "active. <strong>Enhanced Media Library PRO</strong> does not require free "
|
1136 |
-
#~ "version to be active. Please network deactivate and delete the free "
|
1137 |
-
#~ "versions of the plugin. All your data will remain intact."
|
1138 |
-
#~ msgstr ""
|
1139 |
-
#~ "Так, похоже, что обе версии Enhanced Media Library активны: бесплатная и "
|
1140 |
-
#~ "PRO. Для правильной работы <strong>Enhanced Media Library PRO</strong> "
|
1141 |
-
#~ "необходимо деактивировать и удалить его бесплатную версию. Все данные "
|
1142 |
-
#~ "сохранятся."
|
1143 |
-
|
1144 |
-
#~ msgid ""
|
1145 |
-
#~ "<strong>Enhanced Media Library PRO</strong> does not require free version "
|
1146 |
-
#~ "to be active. Please deactivate and delete the free version of the "
|
1147 |
-
#~ "plugin. All your data will remain intact."
|
1148 |
-
#~ msgstr ""
|
1149 |
-
#~ "Для правильной работы <strong>Enhanced Media Library PRO</strong> "
|
1150 |
-
#~ "необходимо деактивировать и удалить его бесплатную версию. Все данные "
|
1151 |
-
#~ "сохранятся."
|
1152 |
-
|
1153 |
-
#~ msgid ""
|
1154 |
-
#~ "Both FREE and PRO versions of the Enhanced Media Library are active for "
|
1155 |
-
#~ "this site. <strong>Enhanced Media Library PRO</strong> does not require "
|
1156 |
-
#~ "free version to be active. Please deactivate (or network deactivate) and "
|
1157 |
-
#~ "delete the free version of the plugin for this site. All your data will "
|
1158 |
-
#~ "remail intact."
|
1159 |
-
#~ msgstr ""
|
1160 |
-
#~ "Так, похоже, что обе версии Enhanced Media Library активны: бесплатная и "
|
1161 |
-
#~ "PRO. Для правильной работы <strong>Enhanced Media Library PRO</strong> "
|
1162 |
-
#~ "необходимо деактивировать и удалить его бесплатную версию. Все данные "
|
1163 |
-
#~ "сохранятся."
|
1164 |
-
|
1165 |
-
#~ msgid "Enhanced Media Library PRO"
|
1166 |
-
#~ msgstr "Enhanced Media Library PRO"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
languages/enhanced-media-library.pot
CHANGED
@@ -3,14 +3,14 @@ msgid ""
|
|
3 |
msgstr ""
|
4 |
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
5 |
"Project-Id-Version: Enhanced Media Library\n"
|
6 |
-
"POT-Creation-Date: 2018-
|
7 |
"PO-Revision-Date: 2016-04-14 21:02+0300\n"
|
8 |
"Last-Translator: wpUXsolutions <wpUXsolutions@gmail.com>\n"
|
9 |
"Language-Team: wpUXsolutions <wpUXsolutions@gmail.com>\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
-
"X-Generator: Poedit 2.0.
|
14 |
"X-Poedit-Basepath: ..\n"
|
15 |
"X-Poedit-WPHeader: enhanced-media-library.php\n"
|
16 |
"X-Poedit-SourceCharset: UTF-8\n"
|
@@ -28,21 +28,22 @@ msgstr ""
|
|
28 |
msgid "MIME Types settings saved."
|
29 |
msgstr ""
|
30 |
|
31 |
-
#: core/mime-types.php:
|
32 |
#, php-format
|
33 |
msgid " <span class=\"count\">(%s)</span>"
|
34 |
msgid_plural " <span class=\"count\">(%s)</span>"
|
35 |
msgstr[0] ""
|
36 |
msgstr[1] ""
|
37 |
|
38 |
-
#: core/options-pages.php:97 core/options-pages.php:
|
39 |
-
#: core/options-pages.php:
|
40 |
-
#: core/options-pages.php:
|
41 |
-
#: core/options-pages.php:
|
42 |
msgid "Media Settings"
|
43 |
msgstr ""
|
44 |
|
45 |
-
#: core/options-pages.php:106 core/options-pages.php:
|
|
|
46 |
msgid "Media Library"
|
47 |
msgstr ""
|
48 |
|
@@ -50,481 +51,713 @@ msgstr ""
|
|
50 |
msgid "Taxonomies"
|
51 |
msgstr ""
|
52 |
|
53 |
-
#: core/options-pages.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
msgid "MIME Types"
|
55 |
msgstr ""
|
56 |
|
57 |
#. Plugin Name of the plugin/theme
|
58 |
-
#: core/options-pages.php:
|
|
|
59 |
msgid "Enhanced Media Library"
|
60 |
msgstr ""
|
61 |
|
62 |
-
#: core/options-pages.php:
|
63 |
-
msgid "
|
64 |
msgstr ""
|
65 |
|
66 |
-
#: core/options-pages.php:
|
67 |
-
msgid "Media Taxonomies"
|
68 |
msgstr ""
|
69 |
|
70 |
-
#: core/options-pages.php:
|
71 |
-
|
72 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
73 |
msgid "You do not have sufficient permissions to access this page."
|
74 |
msgstr ""
|
75 |
|
76 |
-
#: core/options-pages.php:
|
77 |
msgid "Image sizes"
|
78 |
msgstr ""
|
79 |
|
80 |
-
#: core/options-pages.php:
|
81 |
msgid ""
|
82 |
"The sizes listed below determine the maximum dimensions in pixels to use "
|
83 |
"when adding an image to the Media Library."
|
84 |
msgstr ""
|
85 |
|
86 |
-
#: core/options-pages.php:
|
87 |
msgid "Thumbnail size"
|
88 |
msgstr ""
|
89 |
|
90 |
-
#: core/options-pages.php:
|
91 |
msgid "Width"
|
92 |
msgstr ""
|
93 |
|
94 |
-
#: core/options-pages.php:
|
95 |
msgid "Height"
|
96 |
msgstr ""
|
97 |
|
98 |
-
#: core/options-pages.php:
|
99 |
msgid ""
|
100 |
"Crop thumbnail to exact dimensions (normally thumbnails are proportional)"
|
101 |
msgstr ""
|
102 |
|
103 |
-
#: core/options-pages.php:
|
104 |
msgid "Medium size"
|
105 |
msgstr ""
|
106 |
|
107 |
-
#: core/options-pages.php:
|
108 |
msgid "Max Width"
|
109 |
msgstr ""
|
110 |
|
111 |
-
#: core/options-pages.php:
|
112 |
msgid "Max Height"
|
113 |
msgstr ""
|
114 |
|
115 |
-
#: core/options-pages.php:
|
116 |
msgid "Large size"
|
117 |
msgstr ""
|
118 |
|
119 |
-
#: core/options-pages.php:
|
120 |
msgid "Embeds"
|
121 |
msgstr ""
|
122 |
|
123 |
-
#: core/options-pages.php:
|
124 |
msgid "Uploading Files"
|
125 |
msgstr ""
|
126 |
|
127 |
-
#: core/options-pages.php:
|
128 |
msgid "Store uploads in this folder"
|
129 |
msgstr ""
|
130 |
|
131 |
-
#: core/options-pages.php:
|
132 |
#, php-format
|
133 |
msgid "Default is %s"
|
134 |
msgstr ""
|
135 |
|
136 |
-
#: core/options-pages.php:
|
137 |
msgid "Full URL path to files"
|
138 |
msgstr ""
|
139 |
|
140 |
-
#: core/options-pages.php:
|
141 |
msgid "Configuring this is optional. By default, it should be blank."
|
142 |
msgstr ""
|
143 |
|
144 |
-
#: core/options-pages.php:
|
145 |
msgid "Organize my uploads into month- and year-based folders"
|
146 |
msgstr ""
|
147 |
|
148 |
-
#: core/options-pages.php:
|
149 |
-
#: core/options-pages.php:
|
150 |
-
#: core/options-pages.php:
|
151 |
msgid "Edit"
|
152 |
msgstr ""
|
153 |
|
154 |
-
#: core/options-pages.php:
|
155 |
msgid "Close"
|
156 |
msgstr ""
|
157 |
|
158 |
-
#: core/options-pages.php:
|
159 |
-
#: core/options-pages.php:
|
160 |
msgid "View"
|
161 |
msgstr ""
|
162 |
|
163 |
-
#: core/options-pages.php:
|
164 |
-
#: core/options-pages.php:
|
165 |
msgid "Update"
|
166 |
msgstr ""
|
167 |
|
168 |
-
#: core/options-pages.php:
|
169 |
-
#: core/options-pages.php:
|
170 |
msgid "Add New"
|
171 |
msgstr ""
|
172 |
|
173 |
-
#: core/options-pages.php:
|
174 |
-
#: core/options-pages.php:
|
175 |
msgid "New"
|
176 |
msgstr ""
|
177 |
|
178 |
-
#: core/options-pages.php:
|
179 |
msgid "Name"
|
180 |
msgstr ""
|
181 |
|
182 |
-
#: core/options-pages.php:
|
183 |
-
#: core/options-pages.php:
|
184 |
msgid "Parent"
|
185 |
msgstr ""
|
186 |
|
187 |
-
#: core/options-pages.php:
|
188 |
-
#: core/options-pages.php:
|
189 |
-
#: core/
|
|
|
190 |
msgid "All"
|
191 |
msgstr ""
|
192 |
|
193 |
-
#: core/options-pages.php:
|
194 |
-
#: core/options-pages.php:
|
195 |
msgid "Search"
|
196 |
msgstr ""
|
197 |
|
198 |
-
#: core/options-pages.php:
|
199 |
msgid "New Taxonomy"
|
200 |
msgstr ""
|
201 |
|
202 |
-
#: core/options-pages.php:
|
203 |
msgid "Remove Taxonomy"
|
204 |
msgstr ""
|
205 |
|
206 |
-
#: core/options-pages.php:
|
207 |
msgid "Taxonomy will be removed."
|
208 |
msgstr ""
|
209 |
|
210 |
-
#: core/options-pages.php:
|
211 |
msgid ""
|
212 |
"Taxonomy terms (categories) will remain intact in the database. If you "
|
213 |
"create a taxonomy with the same name in the future, its terms (categories) "
|
214 |
"will be available again."
|
215 |
msgstr ""
|
216 |
|
217 |
-
#: core/options-pages.php:
|
218 |
msgid "Media items will remain intact."
|
219 |
msgstr ""
|
220 |
|
221 |
-
#: core/options-pages.php:
|
222 |
msgid "Are you still sure?"
|
223 |
msgstr ""
|
224 |
|
225 |
-
#: core/options-pages.php:
|
226 |
msgid "Yes, remove taxonomy"
|
227 |
msgstr ""
|
228 |
|
229 |
-
#: core/options-pages.php:
|
230 |
msgid "Duplicate"
|
231 |
msgstr ""
|
232 |
|
233 |
-
#: core/options-pages.php:
|
234 |
msgid "Taxonomy with the same name already exists. Please chose other one."
|
235 |
msgstr ""
|
236 |
|
237 |
-
#: core/options-pages.php:
|
238 |
msgid "Empty Fields"
|
239 |
msgstr ""
|
240 |
|
241 |
-
#: core/options-pages.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
242 |
msgid "Please choose Singular and Plural names for all new taxomonies."
|
243 |
msgstr ""
|
244 |
|
245 |
-
#: core/options-pages.php:
|
246 |
msgid "Please choose Singular name for all new taxomonies."
|
247 |
msgstr ""
|
248 |
|
249 |
-
#: core/options-pages.php:
|
250 |
-
msgid "Please choose Plural
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
251 |
msgstr ""
|
252 |
|
253 |
-
#: core/options-pages.php:
|
254 |
msgid "Ok"
|
255 |
msgstr ""
|
256 |
|
257 |
-
#: core/options-pages.php:
|
258 |
-
#: core/options-pages.php:
|
259 |
msgid "Cancel"
|
260 |
msgstr ""
|
261 |
|
262 |
-
#: core/options-pages.php:
|
263 |
msgid "Synchronize Now"
|
264 |
msgstr ""
|
265 |
|
266 |
-
#: core/options-pages.php:
|
267 |
msgid "This operation cannot be canceled! Are you still sure?"
|
268 |
msgstr ""
|
269 |
|
270 |
-
#: core/options-pages.php:
|
271 |
msgid "Synchronize"
|
272 |
msgstr ""
|
273 |
|
274 |
-
#: core/options-pages.php:
|
275 |
msgid "Synchronizing..."
|
276 |
msgstr ""
|
277 |
|
278 |
-
#: core/options-pages.php:
|
279 |
msgid "Restore WordPress default MIME Types"
|
280 |
msgstr ""
|
281 |
|
282 |
-
#: core/options-pages.php:
|
283 |
msgid "Warning! All your custom MIME Types will be deleted by this operation."
|
284 |
msgstr ""
|
285 |
|
286 |
-
#: core/options-pages.php:
|
287 |
msgid "Restore Defaults"
|
288 |
msgstr ""
|
289 |
|
290 |
-
#: core/options-pages.php:
|
291 |
msgid "Restoring..."
|
292 |
msgstr ""
|
293 |
|
294 |
-
#: core/options-pages.php:
|
|
|
|
|
|
|
|
|
295 |
msgid "Please fill into all fields."
|
296 |
msgstr ""
|
297 |
|
298 |
-
#: core/options-pages.php:
|
299 |
msgid "Duplicate extensions or MIME types. Please choose other one."
|
300 |
msgstr ""
|
301 |
|
302 |
-
#: core/options-pages.php:
|
|
|
303 |
msgid "Complete Cleanup"
|
304 |
msgstr ""
|
305 |
|
306 |
-
#: core/options-pages.php:
|
307 |
msgid ""
|
308 |
"You are about to <strong style=\"text-transform:uppercase\">delete all "
|
309 |
"plugin data</strong> from the database including backups."
|
310 |
msgstr ""
|
311 |
|
312 |
-
#: core/options-pages.php:
|
313 |
msgid "Yes, delete all data"
|
314 |
msgstr ""
|
315 |
|
316 |
-
#: core/options-pages.php:
|
317 |
msgid "Cleaning..."
|
318 |
msgstr ""
|
319 |
|
320 |
-
#: core/options-pages.php:
|
321 |
-
msgid "Enhanced Media Library
|
322 |
msgstr ""
|
323 |
|
324 |
-
#: core/options-pages.php:
|
325 |
msgid "Export"
|
326 |
msgstr ""
|
327 |
|
328 |
-
#: core/options-pages.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
329 |
msgid ""
|
330 |
-
"
|
331 |
-
"Taxonomies</strong>, and <strong>MIME Types</strong> will be exported to a "
|
332 |
-
"configuration file. It allows you to easily import the configuration into "
|
333 |
-
"another website."
|
334 |
msgstr ""
|
335 |
|
336 |
-
#: core/options-pages.php:
|
337 |
msgid "Export Plugin Settings"
|
338 |
msgstr ""
|
339 |
|
340 |
-
#: core/options-pages.php:
|
341 |
msgid "Import"
|
342 |
msgstr ""
|
343 |
|
344 |
-
#: core/options-pages.php:
|
|
|
|
|
|
|
|
|
345 |
msgid ""
|
346 |
-
"Plugin settings
|
347 |
-
"
|
348 |
-
"
|
349 |
-
"another website using the export button above."
|
350 |
msgstr ""
|
351 |
|
352 |
-
#: core/options-pages.php:
|
353 |
msgid ""
|
354 |
"All plugin settings will be overridden by the import. You will have a chance "
|
355 |
"to restore current data from an automatic backup in case you are not "
|
356 |
"satisfied with the result of the import."
|
357 |
msgstr ""
|
358 |
|
359 |
-
#: core/options-pages.php:
|
360 |
msgid "Import Plugin Settings"
|
361 |
msgstr ""
|
362 |
|
363 |
-
#: core/options-pages.php:
|
364 |
msgid "Restore"
|
365 |
msgstr ""
|
366 |
|
367 |
-
#: core/options-pages.php:
|
368 |
msgid "No backup available at the moment."
|
369 |
msgstr ""
|
370 |
|
371 |
-
#: core/options-pages.php:
|
372 |
msgid "Backup will be created automatically before any import operation."
|
373 |
msgstr ""
|
374 |
|
375 |
-
#: core/options-pages.php:
|
376 |
msgid ""
|
377 |
"The backup has been automatically created before the latest import operation."
|
378 |
msgstr ""
|
379 |
|
380 |
-
#: core/options-pages.php:
|
|
|
|
|
|
|
|
|
381 |
msgid "Restore Settings from the Backup"
|
382 |
msgstr ""
|
383 |
|
384 |
-
#: core/options-pages.php:
|
385 |
msgid "What will be deleted:"
|
386 |
msgstr ""
|
387 |
|
388 |
-
#: core/options-pages.php:
|
389 |
msgid "All plugin options"
|
390 |
msgstr ""
|
391 |
|
392 |
-
#: core/options-pages.php:
|
393 |
-
msgid "All plugin backups stored in database"
|
394 |
msgstr ""
|
395 |
|
396 |
-
#: core/options-pages.php:
|
397 |
msgid "What will remain intact:"
|
398 |
msgstr ""
|
399 |
|
400 |
-
#: core/options-pages.php:
|
401 |
msgid "All media items"
|
402 |
msgstr ""
|
403 |
|
404 |
-
#: core/options-pages.php:
|
405 |
msgid "All taxonomies not listed above"
|
406 |
msgstr ""
|
407 |
|
408 |
-
#: core/options-pages.php:
|
409 |
msgid ""
|
410 |
-
"The plugin cannot delete itself
|
411 |
-
"manually from plugin list after cleanup."
|
412 |
msgstr ""
|
413 |
|
414 |
-
#: core/options-pages.php:
|
415 |
msgid ""
|
416 |
-
"If you are not sure about this operation
|
417 |
-
"database prior to cleanup!"
|
418 |
msgstr ""
|
419 |
|
420 |
-
#: core/options-pages.php:
|
421 |
msgid "Delete All Data & Deactivate"
|
422 |
msgstr ""
|
423 |
|
424 |
-
#: core/options-pages.php:
|
425 |
-
msgid "
|
426 |
msgstr ""
|
427 |
|
428 |
-
#: core/options-pages.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
429 |
msgid "Plugin settings imported."
|
430 |
msgstr ""
|
431 |
|
432 |
-
#: core/options-pages.php:
|
433 |
msgid "Plugin settings restored from the backup."
|
434 |
msgstr ""
|
435 |
|
436 |
-
#: core/options-pages.php:
|
437 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
438 |
msgstr ""
|
439 |
|
440 |
-
#: core/options-pages.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
441 |
msgid "Order media items by"
|
442 |
msgstr ""
|
443 |
|
444 |
-
#: core/options-pages.php:
|
445 |
msgid "Date"
|
446 |
msgstr ""
|
447 |
|
448 |
-
#: core/options-pages.php:
|
449 |
msgid "Title"
|
450 |
msgstr ""
|
451 |
|
452 |
-
#: core/options-pages.php:
|
453 |
msgid "Custom Order"
|
454 |
msgstr ""
|
455 |
|
456 |
-
#: core/options-pages.php:
|
457 |
msgid "For media library and media popups"
|
458 |
msgstr ""
|
459 |
|
460 |
-
#: core/options-pages.php:
|
461 |
-
msgid "
|
|
|
462 |
msgstr ""
|
463 |
|
464 |
-
#: core/options-pages.php:
|
465 |
msgid "Sort order"
|
466 |
msgstr ""
|
467 |
|
468 |
-
#: core/options-pages.php:
|
469 |
msgid "Ascending"
|
470 |
msgstr ""
|
471 |
|
472 |
-
#: core/options-pages.php:
|
473 |
msgid "Descending"
|
474 |
msgstr ""
|
475 |
|
476 |
-
#: core/options-pages.php:
|
477 |
msgid "Natural sort order"
|
478 |
msgstr ""
|
479 |
|
480 |
-
#: core/options-pages.php:
|
481 |
-
msgid "Apply human-friendly sort order to
|
482 |
msgstr ""
|
483 |
|
484 |
-
#: core/options-pages.php:
|
485 |
msgid ""
|
486 |
"Example: [1, 2, 3, 10, 18, 22, abc-2, abc-11] instead of [1, 10, 18, 2, 22, "
|
487 |
"3, abc-11, abc-2]"
|
488 |
msgstr ""
|
489 |
|
490 |
-
#: core/options-pages.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
491 |
msgid "Media Shortcodes"
|
492 |
msgstr ""
|
493 |
|
494 |
-
#: core/options-pages.php:
|
495 |
msgid "Enhanced media shortcodes"
|
496 |
msgstr ""
|
497 |
|
498 |
-
#: core/options-pages.php:
|
499 |
msgid ""
|
500 |
"Enhance WordPress media shortcodes to make them understand media taxonomies, "
|
501 |
"upload date, and media items number limit"
|
502 |
msgstr ""
|
503 |
|
504 |
-
#: core/options-pages.php:
|
505 |
msgid "Gallery example:"
|
506 |
msgstr ""
|
507 |
|
508 |
-
#: core/options-pages.php:
|
509 |
msgid "Audio playlist example:"
|
510 |
msgstr ""
|
511 |
|
512 |
-
#: core/options-pages.php:
|
513 |
msgid "Video playlist example:"
|
514 |
msgstr ""
|
515 |
|
516 |
-
#: core/options-pages.php:
|
517 |
-
|
518 |
-
msgid ""
|
519 |
-
"%sWarning:%s Incompatibility with other gallery plugins or themes possible!"
|
520 |
msgstr ""
|
521 |
|
522 |
-
#: core/options-pages.php:
|
523 |
#, php-format
|
524 |
-
msgid "
|
|
|
|
|
525 |
msgstr ""
|
526 |
|
527 |
-
#: core/options-pages.php:
|
528 |
#, php-format
|
529 |
msgid ""
|
530 |
"Please check out your gallery front-end and back-end functionality once this "
|
@@ -532,236 +765,212 @@ msgid ""
|
|
532 |
"%s."
|
533 |
msgstr ""
|
534 |
|
535 |
-
#: core/options-pages.php:
|
536 |
msgid "Assign following taxonomies to Media Library:"
|
537 |
msgstr ""
|
538 |
|
539 |
-
#: core/options-pages.php:
|
540 |
-
#: core/options-pages.php:
|
541 |
msgid "Assign Taxonomy"
|
542 |
msgstr ""
|
543 |
|
544 |
-
#: core/options-pages.php:
|
545 |
msgid "Edit Taxonomy"
|
546 |
msgstr ""
|
547 |
|
548 |
-
#: core/options-pages.php:
|
549 |
msgid "Delete Taxonomy"
|
550 |
msgstr ""
|
551 |
|
552 |
-
#: core/options-pages.php:
|
553 |
msgid "Labels"
|
554 |
msgstr ""
|
555 |
|
556 |
-
#: core/options-pages.php:
|
557 |
msgid "Singular"
|
558 |
msgstr ""
|
559 |
|
560 |
-
#: core/options-pages.php:
|
561 |
msgid "Plural"
|
562 |
msgstr ""
|
563 |
|
564 |
-
#: core/options-pages.php:
|
565 |
msgid "Menu Name"
|
566 |
msgstr ""
|
567 |
|
568 |
-
#: core/options-pages.php:
|
569 |
-
#: core/options-pages.php:
|
570 |
msgid "Settings"
|
571 |
msgstr ""
|
572 |
|
573 |
-
#: core/options-pages.php:
|
574 |
msgid "Taxonomy Name"
|
575 |
msgstr ""
|
576 |
|
577 |
-
#: core/options-pages.php:
|
578 |
msgid "Hierarchical"
|
579 |
msgstr ""
|
580 |
|
581 |
-
#: core/options-pages.php:
|
582 |
msgid "Column for List View"
|
583 |
msgstr ""
|
584 |
|
585 |
-
#: core/options-pages.php:
|
586 |
-
#: core/options-pages.php:
|
587 |
msgid "Filter for List View"
|
588 |
msgstr ""
|
589 |
|
590 |
-
#: core/options-pages.php:
|
591 |
-
#: core/options-pages.php:
|
592 |
msgid "Filter for Grid View / Media Popup"
|
593 |
msgstr ""
|
594 |
|
595 |
-
#: core/options-pages.php:
|
596 |
-
#: core/options-pages.php:
|
597 |
msgid "Edit in Media Popup"
|
598 |
msgstr ""
|
599 |
|
600 |
-
#: core/options-pages.php:
|
601 |
msgid "Show in Nav Menu"
|
602 |
msgstr ""
|
603 |
|
604 |
-
#: core/options-pages.php:
|
605 |
msgid "Remember Terms Order (sort)"
|
606 |
msgstr ""
|
607 |
|
608 |
-
#: core/options-pages.php:
|
609 |
msgid "Show in REST"
|
610 |
msgstr ""
|
611 |
|
612 |
-
#: core/options-pages.php:
|
613 |
msgid "Rewrite Slug"
|
614 |
msgstr ""
|
615 |
|
616 |
-
#: core/options-pages.php:
|
617 |
msgid "Slug with Front"
|
618 |
msgstr ""
|
619 |
|
620 |
-
#: core/options-pages.php:
|
621 |
msgid "Add New Taxonomy"
|
622 |
msgstr ""
|
623 |
|
624 |
-
#: core/options-pages.php:
|
625 |
msgid "Non-Media Taxonomies"
|
626 |
msgstr ""
|
627 |
|
628 |
-
#: core/options-pages.php:
|
629 |
msgid "Options"
|
630 |
msgstr ""
|
631 |
|
632 |
-
#: core/options-pages.php:
|
633 |
msgid "Taxonomy archive pages"
|
634 |
msgstr ""
|
635 |
|
636 |
-
#: core/options-pages.php:
|
637 |
msgid "Turn on media taxonomy archive pages on the front-end"
|
638 |
msgstr ""
|
639 |
|
640 |
-
#: core/options-pages.php:
|
641 |
msgid ""
|
642 |
"Re-save your permalink settings after this option change to make it work."
|
643 |
msgstr ""
|
644 |
|
645 |
-
#: core/options-pages.php:
|
646 |
msgid "Assign all like hierarchical"
|
647 |
msgstr ""
|
648 |
|
649 |
-
#: core/options-pages.php:
|
650 |
msgid ""
|
651 |
"Show non-hierarchical taxonomies like hierarchical in Grid View / Media Popup"
|
652 |
msgstr ""
|
653 |
|
654 |
-
#: core/options-pages.php:
|
655 |
-
msgid "Force filters"
|
656 |
-
msgstr ""
|
657 |
-
|
658 |
-
#: core/options-pages.php:1490
|
659 |
-
msgid "Show media filters for ANY Media Popup"
|
660 |
-
msgstr ""
|
661 |
-
|
662 |
-
#: core/options-pages.php:1491
|
663 |
-
msgid "Try this if filters are not shown for third-party plugins or themes."
|
664 |
-
msgstr ""
|
665 |
-
|
666 |
-
#: core/options-pages.php:1497 core/options-pages.php:1500
|
667 |
-
msgid "Show count"
|
668 |
-
msgstr ""
|
669 |
-
|
670 |
-
#: core/options-pages.php:1501
|
671 |
-
msgid "Show item count per category for media filters"
|
672 |
-
msgstr ""
|
673 |
-
|
674 |
-
#: core/options-pages.php:1555
|
675 |
msgid "Add New MIME Type"
|
676 |
msgstr ""
|
677 |
|
678 |
-
#: core/options-pages.php:
|
679 |
msgid "Extension"
|
680 |
msgstr ""
|
681 |
|
682 |
-
#: core/options-pages.php:
|
683 |
msgid "MIME Type"
|
684 |
msgstr ""
|
685 |
|
686 |
-
#: core/options-pages.php:
|
687 |
msgid "Singular Label"
|
688 |
msgstr ""
|
689 |
|
690 |
-
#: core/options-pages.php:
|
691 |
msgid "Plural Label"
|
692 |
msgstr ""
|
693 |
|
694 |
-
#: core/options-pages.php:
|
695 |
-
#: core/options-pages.php:
|
696 |
msgid "Add Filter"
|
697 |
msgstr ""
|
698 |
|
699 |
-
#: core/options-pages.php:
|
700 |
-
#: core/options-pages.php:
|
701 |
msgid "Allow Upload"
|
702 |
msgstr ""
|
703 |
|
704 |
-
#: core/options-pages.php:
|
705 |
msgid "Delete MIME Type"
|
706 |
msgstr ""
|
707 |
|
708 |
-
#: core/options-pages.php:
|
709 |
-
msgid "Save Changes"
|
710 |
-
msgstr ""
|
711 |
-
|
712 |
-
#: core/options-pages.php:1701
|
713 |
msgid "Changelog"
|
714 |
msgstr ""
|
715 |
|
716 |
-
#: core/options-pages.php:
|
717 |
msgid "What's new in"
|
718 |
msgstr ""
|
719 |
|
720 |
-
#: core/options-pages.php:
|
721 |
msgid "version"
|
722 |
msgstr ""
|
723 |
|
724 |
-
#: core/options-pages.php:
|
725 |
msgid "More features under the hood"
|
726 |
msgstr ""
|
727 |
|
728 |
-
#: core/options-pages.php:
|
729 |
msgid "Support"
|
730 |
msgstr ""
|
731 |
|
732 |
-
#: core/options-pages.php:
|
733 |
msgid "Feel free to ask for help on"
|
734 |
msgstr ""
|
735 |
|
736 |
-
#: core/options-pages.php:
|
737 |
msgid "Support is free for both versions of the plugin."
|
738 |
msgstr ""
|
739 |
|
740 |
-
#: core/options-pages.php:
|
741 |
msgid "Plugin rating"
|
742 |
msgstr ""
|
743 |
|
744 |
-
#: core/options-pages.php:
|
745 |
msgid "Please"
|
746 |
msgstr ""
|
747 |
|
748 |
-
#: core/options-pages.php:
|
749 |
msgid "vote for the plugin"
|
750 |
msgstr ""
|
751 |
|
752 |
-
#: core/options-pages.php:
|
753 |
msgid "Thanks!"
|
754 |
msgstr ""
|
755 |
|
756 |
-
#: core/options-pages.php:
|
757 |
msgid "Other plugins you may find useful"
|
758 |
msgstr ""
|
759 |
|
760 |
-
#: core/options-pages.php:
|
761 |
msgid "Utility"
|
762 |
msgstr ""
|
763 |
|
764 |
-
#: core/options-pages.php:
|
765 |
msgid "Vote!"
|
766 |
msgstr ""
|
767 |
|
@@ -769,100 +978,116 @@ msgstr ""
|
|
769 |
msgid "Media Taxonomies settings saved."
|
770 |
msgstr ""
|
771 |
|
772 |
-
#: core/taxonomies.php:
|
773 |
msgid "Media Library settings saved."
|
774 |
msgstr ""
|
775 |
|
776 |
-
#: core/taxonomies.php:
|
777 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
778 |
msgid "Filter by"
|
779 |
msgstr ""
|
780 |
|
781 |
-
#: core/taxonomies.php:
|
782 |
msgid "Not in a"
|
783 |
msgstr ""
|
784 |
|
785 |
-
#: core/taxonomies.php:
|
786 |
msgid "Remove"
|
787 |
msgstr ""
|
788 |
|
789 |
-
#: core/taxonomies.php:
|
790 |
msgid "Deselect"
|
791 |
msgstr ""
|
792 |
|
793 |
-
#: core/taxonomies.php:
|
794 |
msgid "Caption this image…"
|
795 |
msgstr ""
|
796 |
|
797 |
-
#: core/taxonomies.php:
|
798 |
msgid "Describe this video…"
|
799 |
msgstr ""
|
800 |
|
801 |
-
#: core/taxonomies.php:
|
802 |
msgid "Describe this audio file…"
|
803 |
msgstr ""
|
804 |
|
805 |
-
#: core/taxonomies.php:
|
806 |
msgid "Describe this media file…"
|
807 |
msgstr ""
|
808 |
|
809 |
-
#: enhanced-media-library.php:
|
810 |
msgid "All Uncategorized"
|
811 |
msgstr ""
|
812 |
|
813 |
-
#: enhanced-media-library.php:
|
814 |
msgid "Reset All Filters"
|
815 |
msgstr ""
|
816 |
|
817 |
-
#: enhanced-media-library.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
818 |
msgid "Uploaded to post #"
|
819 |
msgstr ""
|
820 |
|
821 |
-
#: enhanced-media-library.php:
|
822 |
msgid "Based On"
|
823 |
msgstr ""
|
824 |
|
825 |
-
#: enhanced-media-library.php:
|
826 |
msgid "Media Categories"
|
827 |
msgstr ""
|
828 |
|
829 |
-
#: enhanced-media-library.php:
|
830 |
msgid "Media Category"
|
831 |
msgstr ""
|
832 |
|
833 |
-
#: enhanced-media-library.php:
|
834 |
msgid "All Media Categories"
|
835 |
msgstr ""
|
836 |
|
837 |
-
#: enhanced-media-library.php:
|
838 |
msgid "Edit Media Category"
|
839 |
msgstr ""
|
840 |
|
841 |
-
#: enhanced-media-library.php:
|
842 |
msgid "View Media Category"
|
843 |
msgstr ""
|
844 |
|
845 |
-
#: enhanced-media-library.php:
|
846 |
msgid "Update Media Category"
|
847 |
msgstr ""
|
848 |
|
849 |
-
#: enhanced-media-library.php:
|
850 |
msgid "Add New Media Category"
|
851 |
msgstr ""
|
852 |
|
853 |
-
#: enhanced-media-library.php:
|
854 |
msgid "New Media Category Name"
|
855 |
msgstr ""
|
856 |
|
857 |
-
#: enhanced-media-library.php:
|
858 |
msgid "Parent Media Category"
|
859 |
msgstr ""
|
860 |
|
861 |
-
#: enhanced-media-library.php:
|
862 |
msgid "Parent Media Category:"
|
863 |
msgstr ""
|
864 |
|
865 |
-
#: enhanced-media-library.php:
|
866 |
msgid "Search Media Categories"
|
867 |
msgstr ""
|
868 |
|
3 |
msgstr ""
|
4 |
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
5 |
"Project-Id-Version: Enhanced Media Library\n"
|
6 |
+
"POT-Creation-Date: 2018-05-18 23:20+0300\n"
|
7 |
"PO-Revision-Date: 2016-04-14 21:02+0300\n"
|
8 |
"Last-Translator: wpUXsolutions <wpUXsolutions@gmail.com>\n"
|
9 |
"Language-Team: wpUXsolutions <wpUXsolutions@gmail.com>\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
+
"X-Generator: Poedit 2.0.7\n"
|
14 |
"X-Poedit-Basepath: ..\n"
|
15 |
"X-Poedit-WPHeader: enhanced-media-library.php\n"
|
16 |
"X-Poedit-SourceCharset: UTF-8\n"
|
28 |
msgid "MIME Types settings saved."
|
29 |
msgstr ""
|
30 |
|
31 |
+
#: core/mime-types.php:117
|
32 |
#, php-format
|
33 |
msgid " <span class=\"count\">(%s)</span>"
|
34 |
msgid_plural " <span class=\"count\">(%s)</span>"
|
35 |
msgstr[0] ""
|
36 |
msgstr[1] ""
|
37 |
|
38 |
+
#: core/options-pages.php:97 core/options-pages.php:322
|
39 |
+
#: core/options-pages.php:442 core/options-pages.php:1601
|
40 |
+
#: core/options-pages.php:1859 core/options-pages.php:2172
|
41 |
+
#: core/options-pages.php:2373
|
42 |
msgid "Media Settings"
|
43 |
msgstr ""
|
44 |
|
45 |
+
#: core/options-pages.php:106 core/options-pages.php:107
|
46 |
+
#: core/options-pages.php:406
|
47 |
msgid "Media Library"
|
48 |
msgstr ""
|
49 |
|
51 |
msgid "Taxonomies"
|
52 |
msgstr ""
|
53 |
|
54 |
+
#: core/options-pages.php:116 core/options-pages.php:407
|
55 |
+
#: core/options-pages.php:1649 core/options-pages.php:1880
|
56 |
+
msgid "Media Taxonomies"
|
57 |
+
msgstr ""
|
58 |
+
|
59 |
+
#: core/options-pages.php:124 core/options-pages.php:125
|
60 |
+
#: core/options-pages.php:408
|
61 |
msgid "MIME Types"
|
62 |
msgstr ""
|
63 |
|
64 |
#. Plugin Name of the plugin/theme
|
65 |
+
#: core/options-pages.php:169 core/options-pages.php:170
|
66 |
+
#: core/options-pages.php:197 core/options-pages.php:198
|
67 |
msgid "Enhanced Media Library"
|
68 |
msgstr ""
|
69 |
|
70 |
+
#: core/options-pages.php:354
|
71 |
+
msgid "Media Library Settings"
|
72 |
msgstr ""
|
73 |
|
74 |
+
#: core/options-pages.php:358
|
75 |
+
msgid "Media Taxonomies Settings"
|
76 |
msgstr ""
|
77 |
|
78 |
+
#: core/options-pages.php:362
|
79 |
+
msgid "MIME Types Settings"
|
80 |
+
msgstr ""
|
81 |
+
|
82 |
+
#: core/options-pages.php:405
|
83 |
+
msgid "General"
|
84 |
+
msgstr ""
|
85 |
+
|
86 |
+
#: core/options-pages.php:431 core/options-pages.php:438
|
87 |
+
#: core/options-pages.php:762 core/options-pages.php:770
|
88 |
+
#: core/options-pages.php:955 core/options-pages.php:1589
|
89 |
+
#: core/options-pages.php:1596 core/options-pages.php:1847
|
90 |
+
#: core/options-pages.php:1854 core/options-pages.php:2159
|
91 |
+
#: core/options-pages.php:2166
|
92 |
msgid "You do not have sufficient permissions to access this page."
|
93 |
msgstr ""
|
94 |
|
95 |
+
#: core/options-pages.php:453
|
96 |
msgid "Image sizes"
|
97 |
msgstr ""
|
98 |
|
99 |
+
#: core/options-pages.php:454
|
100 |
msgid ""
|
101 |
"The sizes listed below determine the maximum dimensions in pixels to use "
|
102 |
"when adding an image to the Media Library."
|
103 |
msgstr ""
|
104 |
|
105 |
+
#: core/options-pages.php:458
|
106 |
msgid "Thumbnail size"
|
107 |
msgstr ""
|
108 |
|
109 |
+
#: core/options-pages.php:460
|
110 |
msgid "Width"
|
111 |
msgstr ""
|
112 |
|
113 |
+
#: core/options-pages.php:462
|
114 |
msgid "Height"
|
115 |
msgstr ""
|
116 |
|
117 |
+
#: core/options-pages.php:465
|
118 |
msgid ""
|
119 |
"Crop thumbnail to exact dimensions (normally thumbnails are proportional)"
|
120 |
msgstr ""
|
121 |
|
122 |
+
#: core/options-pages.php:470 core/options-pages.php:471
|
123 |
msgid "Medium size"
|
124 |
msgstr ""
|
125 |
|
126 |
+
#: core/options-pages.php:472 core/options-pages.php:483
|
127 |
msgid "Max Width"
|
128 |
msgstr ""
|
129 |
|
130 |
+
#: core/options-pages.php:475 core/options-pages.php:486
|
131 |
msgid "Max Height"
|
132 |
msgstr ""
|
133 |
|
134 |
+
#: core/options-pages.php:481 core/options-pages.php:482
|
135 |
msgid "Large size"
|
136 |
msgstr ""
|
137 |
|
138 |
+
#: core/options-pages.php:499
|
139 |
msgid "Embeds"
|
140 |
msgstr ""
|
141 |
|
142 |
+
#: core/options-pages.php:506
|
143 |
msgid "Uploading Files"
|
144 |
msgstr ""
|
145 |
|
146 |
+
#: core/options-pages.php:513
|
147 |
msgid "Store uploads in this folder"
|
148 |
msgstr ""
|
149 |
|
150 |
+
#: core/options-pages.php:517
|
151 |
#, php-format
|
152 |
msgid "Default is %s"
|
153 |
msgstr ""
|
154 |
|
155 |
+
#: core/options-pages.php:523
|
156 |
msgid "Full URL path to files"
|
157 |
msgstr ""
|
158 |
|
159 |
+
#: core/options-pages.php:525
|
160 |
msgid "Configuring this is optional. By default, it should be blank."
|
161 |
msgstr ""
|
162 |
|
163 |
+
#: core/options-pages.php:533
|
164 |
msgid "Organize my uploads into month- and year-based folders"
|
165 |
msgstr ""
|
166 |
|
167 |
+
#: core/options-pages.php:605 core/options-pages.php:1904
|
168 |
+
#: core/options-pages.php:1919 core/options-pages.php:1982
|
169 |
+
#: core/options-pages.php:2054
|
170 |
msgid "Edit"
|
171 |
msgstr ""
|
172 |
|
173 |
+
#: core/options-pages.php:606
|
174 |
msgid "Close"
|
175 |
msgstr ""
|
176 |
|
177 |
+
#: core/options-pages.php:607 core/options-pages.php:1920
|
178 |
+
#: core/options-pages.php:1983
|
179 |
msgid "View"
|
180 |
msgstr ""
|
181 |
|
182 |
+
#: core/options-pages.php:608 core/options-pages.php:1921
|
183 |
+
#: core/options-pages.php:1984
|
184 |
msgid "Update"
|
185 |
msgstr ""
|
186 |
|
187 |
+
#: core/options-pages.php:609 core/options-pages.php:1922
|
188 |
+
#: core/options-pages.php:1985
|
189 |
msgid "Add New"
|
190 |
msgstr ""
|
191 |
|
192 |
+
#: core/options-pages.php:610 core/options-pages.php:1923
|
193 |
+
#: core/options-pages.php:1986
|
194 |
msgid "New"
|
195 |
msgstr ""
|
196 |
|
197 |
+
#: core/options-pages.php:611
|
198 |
msgid "Name"
|
199 |
msgstr ""
|
200 |
|
201 |
+
#: core/options-pages.php:612 core/options-pages.php:1924
|
202 |
+
#: core/options-pages.php:1987
|
203 |
msgid "Parent"
|
204 |
msgstr ""
|
205 |
|
206 |
+
#: core/options-pages.php:613 core/options-pages.php:892
|
207 |
+
#: core/options-pages.php:1046 core/options-pages.php:1918
|
208 |
+
#: core/options-pages.php:1981 core/taxonomies.php:379
|
209 |
+
#: enhanced-media-library.php:571
|
210 |
msgid "All"
|
211 |
msgstr ""
|
212 |
|
213 |
+
#: core/options-pages.php:614 core/options-pages.php:1925
|
214 |
+
#: core/options-pages.php:1988
|
215 |
msgid "Search"
|
216 |
msgstr ""
|
217 |
|
218 |
+
#: core/options-pages.php:616 core/options-pages.php:1969
|
219 |
msgid "New Taxonomy"
|
220 |
msgstr ""
|
221 |
|
222 |
+
#: core/options-pages.php:618
|
223 |
msgid "Remove Taxonomy"
|
224 |
msgstr ""
|
225 |
|
226 |
+
#: core/options-pages.php:619
|
227 |
msgid "Taxonomy will be removed."
|
228 |
msgstr ""
|
229 |
|
230 |
+
#: core/options-pages.php:620
|
231 |
msgid ""
|
232 |
"Taxonomy terms (categories) will remain intact in the database. If you "
|
233 |
"create a taxonomy with the same name in the future, its terms (categories) "
|
234 |
"will be available again."
|
235 |
msgstr ""
|
236 |
|
237 |
+
#: core/options-pages.php:621
|
238 |
msgid "Media items will remain intact."
|
239 |
msgstr ""
|
240 |
|
241 |
+
#: core/options-pages.php:622
|
242 |
msgid "Are you still sure?"
|
243 |
msgstr ""
|
244 |
|
245 |
+
#: core/options-pages.php:623
|
246 |
msgid "Yes, remove taxonomy"
|
247 |
msgstr ""
|
248 |
|
249 |
+
#: core/options-pages.php:625
|
250 |
msgid "Duplicate"
|
251 |
msgstr ""
|
252 |
|
253 |
+
#: core/options-pages.php:626
|
254 |
msgid "Taxonomy with the same name already exists. Please chose other one."
|
255 |
msgstr ""
|
256 |
|
257 |
+
#: core/options-pages.php:628
|
258 |
msgid "Empty Fields"
|
259 |
msgstr ""
|
260 |
|
261 |
+
#: core/options-pages.php:629
|
262 |
+
msgid "Wrong Taxonomy Name"
|
263 |
+
msgstr ""
|
264 |
+
|
265 |
+
#: core/options-pages.php:630
|
266 |
+
msgid "Wrong Slug"
|
267 |
+
msgstr ""
|
268 |
+
|
269 |
+
#: core/options-pages.php:632
|
270 |
msgid "Please choose Singular and Plural names for all new taxomonies."
|
271 |
msgstr ""
|
272 |
|
273 |
+
#: core/options-pages.php:633
|
274 |
msgid "Please choose Singular name for all new taxomonies."
|
275 |
msgstr ""
|
276 |
|
277 |
+
#: core/options-pages.php:634
|
278 |
+
msgid "Please choose Plural name for all new taxomonies."
|
279 |
+
msgstr ""
|
280 |
+
|
281 |
+
#: core/options-pages.php:636
|
282 |
+
msgid ""
|
283 |
+
"Taxonomy Name cannot be empty. If it was not generated from the Singular "
|
284 |
+
"name please enter it manually."
|
285 |
+
msgstr ""
|
286 |
+
|
287 |
+
#: core/options-pages.php:637
|
288 |
+
msgid ""
|
289 |
+
"Taxonomy Name should only contain lowercase Latin letters, the underscore "
|
290 |
+
"character ( _ ), and be 3-32 characters long."
|
291 |
+
msgstr ""
|
292 |
+
|
293 |
+
#: core/options-pages.php:638
|
294 |
+
msgid ""
|
295 |
+
"Slug should only contain lowercase Latin letters, numbers, underscore ( _ ) "
|
296 |
+
"or hyphen ( - ) characters."
|
297 |
msgstr ""
|
298 |
|
299 |
+
#: core/options-pages.php:640 core/options-pages.php:690
|
300 |
msgid "Ok"
|
301 |
msgstr ""
|
302 |
|
303 |
+
#: core/options-pages.php:641 core/options-pages.php:646
|
304 |
+
#: core/options-pages.php:691 core/options-pages.php:737
|
305 |
msgid "Cancel"
|
306 |
msgstr ""
|
307 |
|
308 |
+
#: core/options-pages.php:643
|
309 |
msgid "Synchronize Now"
|
310 |
msgstr ""
|
311 |
|
312 |
+
#: core/options-pages.php:644 core/options-pages.php:734
|
313 |
msgid "This operation cannot be canceled! Are you still sure?"
|
314 |
msgstr ""
|
315 |
|
316 |
+
#: core/options-pages.php:645
|
317 |
msgid "Synchronize"
|
318 |
msgstr ""
|
319 |
|
320 |
+
#: core/options-pages.php:647
|
321 |
msgid "Synchronizing..."
|
322 |
msgstr ""
|
323 |
|
324 |
+
#: core/options-pages.php:685 core/options-pages.php:2295
|
325 |
msgid "Restore WordPress default MIME Types"
|
326 |
msgstr ""
|
327 |
|
328 |
+
#: core/options-pages.php:686
|
329 |
msgid "Warning! All your custom MIME Types will be deleted by this operation."
|
330 |
msgstr ""
|
331 |
|
332 |
+
#: core/options-pages.php:687
|
333 |
msgid "Restore Defaults"
|
334 |
msgstr ""
|
335 |
|
336 |
+
#: core/options-pages.php:688
|
337 |
msgid "Restoring..."
|
338 |
msgstr ""
|
339 |
|
340 |
+
#: core/options-pages.php:693
|
341 |
+
msgid "MIME Types cannot be saved"
|
342 |
+
msgstr ""
|
343 |
+
|
344 |
+
#: core/options-pages.php:694
|
345 |
msgid "Please fill into all fields."
|
346 |
msgstr ""
|
347 |
|
348 |
+
#: core/options-pages.php:695
|
349 |
msgid "Duplicate extensions or MIME types. Please choose other one."
|
350 |
msgstr ""
|
351 |
|
352 |
+
#: core/options-pages.php:732 core/options-pages.php:883
|
353 |
+
#: core/options-pages.php:1026
|
354 |
msgid "Complete Cleanup"
|
355 |
msgstr ""
|
356 |
|
357 |
+
#: core/options-pages.php:733
|
358 |
msgid ""
|
359 |
"You are about to <strong style=\"text-transform:uppercase\">delete all "
|
360 |
"plugin data</strong> from the database including backups."
|
361 |
msgstr ""
|
362 |
|
363 |
+
#: core/options-pages.php:735
|
364 |
msgid "Yes, delete all data"
|
365 |
msgstr ""
|
366 |
|
367 |
+
#: core/options-pages.php:736
|
368 |
msgid "Cleaning..."
|
369 |
msgstr ""
|
370 |
|
371 |
+
#: core/options-pages.php:776 core/options-pages.php:965
|
372 |
+
msgid "Enhanced Media Library Utilities"
|
373 |
msgstr ""
|
374 |
|
375 |
+
#: core/options-pages.php:786
|
376 |
msgid "Export"
|
377 |
msgstr ""
|
378 |
|
379 |
+
#: core/options-pages.php:791
|
380 |
+
msgid "Plugin settings to export:"
|
381 |
+
msgstr ""
|
382 |
+
|
383 |
+
#: core/options-pages.php:792 core/options-pages.php:819
|
384 |
+
#: core/options-pages.php:859
|
385 |
+
msgid "Settings > Media Library"
|
386 |
+
msgstr ""
|
387 |
+
|
388 |
+
#: core/options-pages.php:793 core/options-pages.php:820
|
389 |
+
#: core/options-pages.php:860
|
390 |
+
msgid "Settings > Media Taxonomies"
|
391 |
+
msgstr ""
|
392 |
+
|
393 |
+
#: core/options-pages.php:794 core/options-pages.php:821
|
394 |
+
#: core/options-pages.php:861
|
395 |
+
msgid "Settings > MIME Types"
|
396 |
+
msgstr ""
|
397 |
+
|
398 |
+
#: core/options-pages.php:798
|
399 |
msgid ""
|
400 |
+
"Use generated JSON file to import the configuration into another website."
|
|
|
|
|
|
|
401 |
msgstr ""
|
402 |
|
403 |
+
#: core/options-pages.php:803
|
404 |
msgid "Export Plugin Settings"
|
405 |
msgstr ""
|
406 |
|
407 |
+
#: core/options-pages.php:813
|
408 |
msgid "Import"
|
409 |
msgstr ""
|
410 |
|
411 |
+
#: core/options-pages.php:818
|
412 |
+
msgid "Plugin settings to import:"
|
413 |
+
msgstr ""
|
414 |
+
|
415 |
+
#: core/options-pages.php:824
|
416 |
msgid ""
|
417 |
+
"Plugin settings will be imported from a configuration JSON file which can be "
|
418 |
+
"obtained by exporting the settings on another website using the export "
|
419 |
+
"button above."
|
|
|
420 |
msgstr ""
|
421 |
|
422 |
+
#: core/options-pages.php:825
|
423 |
msgid ""
|
424 |
"All plugin settings will be overridden by the import. You will have a chance "
|
425 |
"to restore current data from an automatic backup in case you are not "
|
426 |
"satisfied with the result of the import."
|
427 |
msgstr ""
|
428 |
|
429 |
+
#: core/options-pages.php:831
|
430 |
msgid "Import Plugin Settings"
|
431 |
msgstr ""
|
432 |
|
433 |
+
#: core/options-pages.php:843
|
434 |
msgid "Restore"
|
435 |
msgstr ""
|
436 |
|
437 |
+
#: core/options-pages.php:849
|
438 |
msgid "No backup available at the moment."
|
439 |
msgstr ""
|
440 |
|
441 |
+
#: core/options-pages.php:851
|
442 |
msgid "Backup will be created automatically before any import operation."
|
443 |
msgstr ""
|
444 |
|
445 |
+
#: core/options-pages.php:855
|
446 |
msgid ""
|
447 |
"The backup has been automatically created before the latest import operation."
|
448 |
msgstr ""
|
449 |
|
450 |
+
#: core/options-pages.php:858
|
451 |
+
msgid "Plugin settings to restore:"
|
452 |
+
msgstr ""
|
453 |
+
|
454 |
+
#: core/options-pages.php:867
|
455 |
msgid "Restore Settings from the Backup"
|
456 |
msgstr ""
|
457 |
|
458 |
+
#: core/options-pages.php:890 core/options-pages.php:1044
|
459 |
msgid "What will be deleted:"
|
460 |
msgstr ""
|
461 |
|
462 |
+
#: core/options-pages.php:895
|
463 |
msgid "All plugin options"
|
464 |
msgstr ""
|
465 |
|
466 |
+
#: core/options-pages.php:896 core/options-pages.php:1051
|
467 |
+
msgid "All plugin backups stored in the database"
|
468 |
msgstr ""
|
469 |
|
470 |
+
#: core/options-pages.php:900 core/options-pages.php:1055
|
471 |
msgid "What will remain intact:"
|
472 |
msgstr ""
|
473 |
|
474 |
+
#: core/options-pages.php:901 core/options-pages.php:1056
|
475 |
msgid "All media items"
|
476 |
msgstr ""
|
477 |
|
478 |
+
#: core/options-pages.php:902 core/options-pages.php:1057
|
479 |
msgid "All taxonomies not listed above"
|
480 |
msgstr ""
|
481 |
|
482 |
+
#: core/options-pages.php:905 core/options-pages.php:1060
|
483 |
msgid ""
|
484 |
+
"The plugin cannot delete itself for security reasons. Please delete it "
|
485 |
+
"manually from the plugin list after the cleanup is complete."
|
486 |
msgstr ""
|
487 |
|
488 |
+
#: core/options-pages.php:907 core/options-pages.php:1062
|
489 |
msgid ""
|
490 |
+
"If you are not sure about this operation it's HIGHLY RECOMMENDED to create a "
|
491 |
+
"backup of your database prior to cleanup!"
|
492 |
msgstr ""
|
493 |
|
494 |
+
#: core/options-pages.php:912
|
495 |
msgid "Delete All Data & Deactivate"
|
496 |
msgstr ""
|
497 |
|
498 |
+
#: core/options-pages.php:975
|
499 |
+
msgid "Network Settings"
|
500 |
msgstr ""
|
501 |
|
502 |
+
#: core/options-pages.php:982
|
503 |
+
msgid "No settings available. The plugin is not network activated."
|
504 |
+
msgstr ""
|
505 |
+
|
506 |
+
#: core/options-pages.php:993
|
507 |
+
msgid "Media Settings per site"
|
508 |
+
msgstr ""
|
509 |
+
|
510 |
+
#: core/options-pages.php:996
|
511 |
+
msgid "Enable Media Settings"
|
512 |
+
msgstr ""
|
513 |
+
|
514 |
+
#: core/options-pages.php:997
|
515 |
+
msgid "Allow an individual site admin to edit enhanced Media Settings"
|
516 |
+
msgstr ""
|
517 |
+
|
518 |
+
#: core/options-pages.php:998
|
519 |
+
msgid ""
|
520 |
+
"Otherwise, only a network (super) admin can see the menu and edit media "
|
521 |
+
"settings."
|
522 |
+
msgstr ""
|
523 |
+
|
524 |
+
#: core/options-pages.php:1004
|
525 |
+
msgid "Plugin Utilities per site"
|
526 |
+
msgstr ""
|
527 |
+
|
528 |
+
#: core/options-pages.php:1007
|
529 |
+
msgid "Enable plugin Utilities"
|
530 |
+
msgstr ""
|
531 |
+
|
532 |
+
#: core/options-pages.php:1008
|
533 |
+
msgid ""
|
534 |
+
"Allow an individual site admin to import / export / restore plugin settings "
|
535 |
+
"and perform the complete cleanup for a specific site"
|
536 |
+
msgstr ""
|
537 |
+
|
538 |
+
#: core/options-pages.php:1009
|
539 |
+
msgid ""
|
540 |
+
"Otherwise, only a network (super) admin can see the menu and perform those "
|
541 |
+
"actions."
|
542 |
+
msgstr ""
|
543 |
+
|
544 |
+
#: core/options-pages.php:1016 core/options-pages.php:1677
|
545 |
+
#: core/options-pages.php:1731 core/options-pages.php:1768
|
546 |
+
#: core/options-pages.php:1812 core/options-pages.php:2020
|
547 |
+
#: core/options-pages.php:2084 core/options-pages.php:2122
|
548 |
+
#: core/options-pages.php:2293
|
549 |
+
msgid "Save Changes"
|
550 |
+
msgstr ""
|
551 |
+
|
552 |
+
#: core/options-pages.php:1049
|
553 |
+
msgid "All plugin options on every site"
|
554 |
+
msgstr ""
|
555 |
+
|
556 |
+
#: core/options-pages.php:1050
|
557 |
+
msgid "Network settings"
|
558 |
+
msgstr ""
|
559 |
+
|
560 |
+
#: core/options-pages.php:1067
|
561 |
+
msgid "Delete All Data & Network Deactivate"
|
562 |
+
msgstr ""
|
563 |
+
|
564 |
+
#: core/options-pages.php:1127
|
565 |
+
msgid "Network settings saved."
|
566 |
+
msgstr ""
|
567 |
+
|
568 |
+
#: core/options-pages.php:1221
|
569 |
+
msgid "Settings cannot be imported. Please upload a file to import settings."
|
570 |
+
msgstr ""
|
571 |
+
|
572 |
+
#: core/options-pages.php:1242
|
573 |
+
msgid ""
|
574 |
+
"Settings cannot be imported. Please upload a correct JSON file to import "
|
575 |
+
"settings."
|
576 |
+
msgstr ""
|
577 |
+
|
578 |
+
#: core/options-pages.php:1260
|
579 |
msgid "Plugin settings imported."
|
580 |
msgstr ""
|
581 |
|
582 |
+
#: core/options-pages.php:1313
|
583 |
msgid "Plugin settings restored from the backup."
|
584 |
msgstr ""
|
585 |
|
586 |
+
#: core/options-pages.php:1621
|
587 |
+
msgid "Filters"
|
588 |
+
msgstr ""
|
589 |
+
|
590 |
+
#: core/options-pages.php:1630 core/options-pages.php:1633
|
591 |
+
msgid "Force filters"
|
592 |
+
msgstr ""
|
593 |
+
|
594 |
+
#: core/options-pages.php:1634
|
595 |
+
msgid "Show media filters for ANY Media Popup"
|
596 |
+
msgstr ""
|
597 |
+
|
598 |
+
#: core/options-pages.php:1635
|
599 |
+
msgid "Try this if filters are not shown for third-party plugins or themes."
|
600 |
+
msgstr ""
|
601 |
+
|
602 |
+
#: core/options-pages.php:1641 core/options-pages.php:1644
|
603 |
+
msgid "Filters to show"
|
604 |
+
msgstr ""
|
605 |
+
|
606 |
+
#: core/options-pages.php:1645
|
607 |
+
msgid "Types"
|
608 |
+
msgstr ""
|
609 |
+
|
610 |
+
#: core/options-pages.php:1646
|
611 |
+
msgid "Can be disabled for Grid Mode only"
|
612 |
+
msgstr ""
|
613 |
+
|
614 |
+
#: core/options-pages.php:1647
|
615 |
+
msgid "Dates"
|
616 |
msgstr ""
|
617 |
|
618 |
+
#: core/options-pages.php:1648
|
619 |
+
msgid "Authors"
|
620 |
+
msgstr ""
|
621 |
+
|
622 |
+
#: core/options-pages.php:1655 core/options-pages.php:1658
|
623 |
+
msgid "Show count"
|
624 |
+
msgstr ""
|
625 |
+
|
626 |
+
#: core/options-pages.php:1659
|
627 |
+
msgid "Show item count per category for media filters"
|
628 |
+
msgstr ""
|
629 |
+
|
630 |
+
#: core/options-pages.php:1660
|
631 |
+
msgid ""
|
632 |
+
"Disable this if it slows down your site admin. The problem is resolved in "
|
633 |
+
"the upcoming major update v3.0"
|
634 |
+
msgstr ""
|
635 |
+
|
636 |
+
#: core/options-pages.php:1666 core/options-pages.php:1669
|
637 |
+
msgid "Include children"
|
638 |
+
msgstr ""
|
639 |
+
|
640 |
+
#: core/options-pages.php:1670
|
641 |
+
msgid "Show media items of child media categories as a result of filtering"
|
642 |
+
msgstr ""
|
643 |
+
|
644 |
+
#: core/options-pages.php:1687
|
645 |
+
msgid "Order"
|
646 |
+
msgstr ""
|
647 |
+
|
648 |
+
#: core/options-pages.php:1696
|
649 |
msgid "Order media items by"
|
650 |
msgstr ""
|
651 |
|
652 |
+
#: core/options-pages.php:1699
|
653 |
msgid "Date"
|
654 |
msgstr ""
|
655 |
|
656 |
+
#: core/options-pages.php:1700 core/options-pages.php:1760
|
657 |
msgid "Title"
|
658 |
msgstr ""
|
659 |
|
660 |
+
#: core/options-pages.php:1701
|
661 |
msgid "Custom Order"
|
662 |
msgstr ""
|
663 |
|
664 |
+
#: core/options-pages.php:1703 core/options-pages.php:1715
|
665 |
msgid "For media library and media popups"
|
666 |
msgstr ""
|
667 |
|
668 |
+
#: core/options-pages.php:1704
|
669 |
+
msgid ""
|
670 |
+
"Allows changing media items order by drag and drop with Custom Order value."
|
671 |
msgstr ""
|
672 |
|
673 |
+
#: core/options-pages.php:1709
|
674 |
msgid "Sort order"
|
675 |
msgstr ""
|
676 |
|
677 |
+
#: core/options-pages.php:1712
|
678 |
msgid "Ascending"
|
679 |
msgstr ""
|
680 |
|
681 |
+
#: core/options-pages.php:1713
|
682 |
msgid "Descending"
|
683 |
msgstr ""
|
684 |
|
685 |
+
#: core/options-pages.php:1720 core/options-pages.php:1723
|
686 |
msgid "Natural sort order"
|
687 |
msgstr ""
|
688 |
|
689 |
+
#: core/options-pages.php:1724
|
690 |
+
msgid "Apply human-friendly sort order to Media Library and Galleries"
|
691 |
msgstr ""
|
692 |
|
693 |
+
#: core/options-pages.php:1725
|
694 |
msgid ""
|
695 |
"Example: [1, 2, 3, 10, 18, 22, abc-2, abc-11] instead of [1, 10, 18, 2, 22, "
|
696 |
"3, abc-11, abc-2]"
|
697 |
msgstr ""
|
698 |
|
699 |
+
#: core/options-pages.php:1738
|
700 |
+
msgid "Grid Mode"
|
701 |
+
msgstr ""
|
702 |
+
|
703 |
+
#: core/options-pages.php:1747 core/options-pages.php:1750
|
704 |
+
msgid "Show caption"
|
705 |
+
msgstr ""
|
706 |
+
|
707 |
+
#: core/options-pages.php:1751
|
708 |
+
msgid "Add text caption for media item thumbnails"
|
709 |
+
msgstr ""
|
710 |
+
|
711 |
+
#: core/options-pages.php:1757
|
712 |
+
msgid "Caption type"
|
713 |
+
msgstr ""
|
714 |
+
|
715 |
+
#: core/options-pages.php:1761
|
716 |
+
msgid "Filename"
|
717 |
+
msgstr ""
|
718 |
+
|
719 |
+
#: core/options-pages.php:1762
|
720 |
+
msgid "Caption"
|
721 |
+
msgstr ""
|
722 |
+
|
723 |
+
#: core/options-pages.php:1775
|
724 |
msgid "Media Shortcodes"
|
725 |
msgstr ""
|
726 |
|
727 |
+
#: core/options-pages.php:1784 core/options-pages.php:1787
|
728 |
msgid "Enhanced media shortcodes"
|
729 |
msgstr ""
|
730 |
|
731 |
+
#: core/options-pages.php:1788
|
732 |
msgid ""
|
733 |
"Enhance WordPress media shortcodes to make them understand media taxonomies, "
|
734 |
"upload date, and media items number limit"
|
735 |
msgstr ""
|
736 |
|
737 |
+
#: core/options-pages.php:1789
|
738 |
msgid "Gallery example:"
|
739 |
msgstr ""
|
740 |
|
741 |
+
#: core/options-pages.php:1790
|
742 |
msgid "Audio playlist example:"
|
743 |
msgstr ""
|
744 |
|
745 |
+
#: core/options-pages.php:1791
|
746 |
msgid "Video playlist example:"
|
747 |
msgstr ""
|
748 |
|
749 |
+
#: core/options-pages.php:1795
|
750 |
+
msgid "Warning"
|
|
|
|
|
751 |
msgstr ""
|
752 |
|
753 |
+
#: core/options-pages.php:1798
|
754 |
#, php-format
|
755 |
+
msgid ""
|
756 |
+
"Incompatibility with other gallery plugins or themes possible! <a href=\"%s"
|
757 |
+
"\">Learn more</a>."
|
758 |
msgstr ""
|
759 |
|
760 |
+
#: core/options-pages.php:1803
|
761 |
#, php-format
|
762 |
msgid ""
|
763 |
"Please check out your gallery front-end and back-end functionality once this "
|
765 |
"%s."
|
766 |
msgstr ""
|
767 |
|
768 |
+
#: core/options-pages.php:1884 core/options-pages.php:2031
|
769 |
msgid "Assign following taxonomies to Media Library:"
|
770 |
msgstr ""
|
771 |
|
772 |
+
#: core/options-pages.php:1903 core/options-pages.php:1969
|
773 |
+
#: core/options-pages.php:2053
|
774 |
msgid "Assign Taxonomy"
|
775 |
msgstr ""
|
776 |
|
777 |
+
#: core/options-pages.php:1904 core/options-pages.php:2054
|
778 |
msgid "Edit Taxonomy"
|
779 |
msgstr ""
|
780 |
|
781 |
+
#: core/options-pages.php:1908 core/options-pages.php:1971
|
782 |
msgid "Delete Taxonomy"
|
783 |
msgstr ""
|
784 |
|
785 |
+
#: core/options-pages.php:1913 core/options-pages.php:1976
|
786 |
msgid "Labels"
|
787 |
msgstr ""
|
788 |
|
789 |
+
#: core/options-pages.php:1915 core/options-pages.php:1978
|
790 |
msgid "Singular"
|
791 |
msgstr ""
|
792 |
|
793 |
+
#: core/options-pages.php:1916 core/options-pages.php:1979
|
794 |
msgid "Plural"
|
795 |
msgstr ""
|
796 |
|
797 |
+
#: core/options-pages.php:1917 core/options-pages.php:1980
|
798 |
msgid "Menu Name"
|
799 |
msgstr ""
|
800 |
|
801 |
+
#: core/options-pages.php:1930 core/options-pages.php:1953
|
802 |
+
#: core/options-pages.php:1993 core/options-pages.php:2057
|
803 |
msgid "Settings"
|
804 |
msgstr ""
|
805 |
|
806 |
+
#: core/options-pages.php:1932 core/options-pages.php:1995
|
807 |
msgid "Taxonomy Name"
|
808 |
msgstr ""
|
809 |
|
810 |
+
#: core/options-pages.php:1933 core/options-pages.php:1996
|
811 |
msgid "Hierarchical"
|
812 |
msgstr ""
|
813 |
|
814 |
+
#: core/options-pages.php:1934 core/options-pages.php:1997
|
815 |
msgid "Column for List View"
|
816 |
msgstr ""
|
817 |
|
818 |
+
#: core/options-pages.php:1935 core/options-pages.php:1955
|
819 |
+
#: core/options-pages.php:1998 core/options-pages.php:2059
|
820 |
msgid "Filter for List View"
|
821 |
msgstr ""
|
822 |
|
823 |
+
#: core/options-pages.php:1936 core/options-pages.php:1956
|
824 |
+
#: core/options-pages.php:1999 core/options-pages.php:2060
|
825 |
msgid "Filter for Grid View / Media Popup"
|
826 |
msgstr ""
|
827 |
|
828 |
+
#: core/options-pages.php:1937 core/options-pages.php:1957
|
829 |
+
#: core/options-pages.php:2000 core/options-pages.php:2061
|
830 |
msgid "Edit in Media Popup"
|
831 |
msgstr ""
|
832 |
|
833 |
+
#: core/options-pages.php:1938 core/options-pages.php:2001
|
834 |
msgid "Show in Nav Menu"
|
835 |
msgstr ""
|
836 |
|
837 |
+
#: core/options-pages.php:1939 core/options-pages.php:2002
|
838 |
msgid "Remember Terms Order (sort)"
|
839 |
msgstr ""
|
840 |
|
841 |
+
#: core/options-pages.php:1940 core/options-pages.php:2003
|
842 |
msgid "Show in REST"
|
843 |
msgstr ""
|
844 |
|
845 |
+
#: core/options-pages.php:1941 core/options-pages.php:2004
|
846 |
msgid "Rewrite Slug"
|
847 |
msgstr ""
|
848 |
|
849 |
+
#: core/options-pages.php:1942 core/options-pages.php:2005
|
850 |
msgid "Slug with Front"
|
851 |
msgstr ""
|
852 |
|
853 |
+
#: core/options-pages.php:2017
|
854 |
msgid "Add New Taxonomy"
|
855 |
msgstr ""
|
856 |
|
857 |
+
#: core/options-pages.php:2027
|
858 |
msgid "Non-Media Taxonomies"
|
859 |
msgstr ""
|
860 |
|
861 |
+
#: core/options-pages.php:2090
|
862 |
msgid "Options"
|
863 |
msgstr ""
|
864 |
|
865 |
+
#: core/options-pages.php:2100 core/options-pages.php:2103
|
866 |
msgid "Taxonomy archive pages"
|
867 |
msgstr ""
|
868 |
|
869 |
+
#: core/options-pages.php:2104
|
870 |
msgid "Turn on media taxonomy archive pages on the front-end"
|
871 |
msgstr ""
|
872 |
|
873 |
+
#: core/options-pages.php:2105
|
874 |
msgid ""
|
875 |
"Re-save your permalink settings after this option change to make it work."
|
876 |
msgstr ""
|
877 |
|
878 |
+
#: core/options-pages.php:2111 core/options-pages.php:2114
|
879 |
msgid "Assign all like hierarchical"
|
880 |
msgstr ""
|
881 |
|
882 |
+
#: core/options-pages.php:2115
|
883 |
msgid ""
|
884 |
"Show non-hierarchical taxonomies like hierarchical in Grid View / Media Popup"
|
885 |
msgstr ""
|
886 |
|
887 |
+
#: core/options-pages.php:2178
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
888 |
msgid "Add New MIME Type"
|
889 |
msgstr ""
|
890 |
|
891 |
+
#: core/options-pages.php:2198 core/options-pages.php:2252
|
892 |
msgid "Extension"
|
893 |
msgstr ""
|
894 |
|
895 |
+
#: core/options-pages.php:2199 core/options-pages.php:2253
|
896 |
msgid "MIME Type"
|
897 |
msgstr ""
|
898 |
|
899 |
+
#: core/options-pages.php:2200 core/options-pages.php:2254
|
900 |
msgid "Singular Label"
|
901 |
msgstr ""
|
902 |
|
903 |
+
#: core/options-pages.php:2201 core/options-pages.php:2255
|
904 |
msgid "Plural Label"
|
905 |
msgstr ""
|
906 |
|
907 |
+
#: core/options-pages.php:2202 core/options-pages.php:2231
|
908 |
+
#: core/options-pages.php:2244 core/options-pages.php:2256
|
909 |
msgid "Add Filter"
|
910 |
msgstr ""
|
911 |
|
912 |
+
#: core/options-pages.php:2203 core/options-pages.php:2232
|
913 |
+
#: core/options-pages.php:2245 core/options-pages.php:2257
|
914 |
msgid "Allow Upload"
|
915 |
msgstr ""
|
916 |
|
917 |
+
#: core/options-pages.php:2233 core/options-pages.php:2246
|
918 |
msgid "Delete MIME Type"
|
919 |
msgstr ""
|
920 |
|
921 |
+
#: core/options-pages.php:2323
|
|
|
|
|
|
|
|
|
922 |
msgid "Changelog"
|
923 |
msgstr ""
|
924 |
|
925 |
+
#: core/options-pages.php:2324
|
926 |
msgid "What's new in"
|
927 |
msgstr ""
|
928 |
|
929 |
+
#: core/options-pages.php:2324
|
930 |
msgid "version"
|
931 |
msgstr ""
|
932 |
|
933 |
+
#: core/options-pages.php:2327
|
934 |
msgid "More features under the hood"
|
935 |
msgstr ""
|
936 |
|
937 |
+
#: core/options-pages.php:2329
|
938 |
msgid "Support"
|
939 |
msgstr ""
|
940 |
|
941 |
+
#: core/options-pages.php:2330
|
942 |
msgid "Feel free to ask for help on"
|
943 |
msgstr ""
|
944 |
|
945 |
+
#: core/options-pages.php:2330
|
946 |
msgid "Support is free for both versions of the plugin."
|
947 |
msgstr ""
|
948 |
|
949 |
+
#: core/options-pages.php:2332
|
950 |
msgid "Plugin rating"
|
951 |
msgstr ""
|
952 |
|
953 |
+
#: core/options-pages.php:2333
|
954 |
msgid "Please"
|
955 |
msgstr ""
|
956 |
|
957 |
+
#: core/options-pages.php:2333
|
958 |
msgid "vote for the plugin"
|
959 |
msgstr ""
|
960 |
|
961 |
+
#: core/options-pages.php:2333
|
962 |
msgid "Thanks!"
|
963 |
msgstr ""
|
964 |
|
965 |
+
#: core/options-pages.php:2335
|
966 |
msgid "Other plugins you may find useful"
|
967 |
msgstr ""
|
968 |
|
969 |
+
#: core/options-pages.php:2377
|
970 |
msgid "Utility"
|
971 |
msgstr ""
|
972 |
|
973 |
+
#: core/options-pages.php:2400
|
974 |
msgid "Vote!"
|
975 |
msgstr ""
|
976 |
|
978 |
msgid "Media Taxonomies settings saved."
|
979 |
msgstr ""
|
980 |
|
981 |
+
#: core/taxonomies.php:174
|
982 |
msgid "Media Library settings saved."
|
983 |
msgstr ""
|
984 |
|
985 |
+
#: core/taxonomies.php:351
|
986 |
+
msgid "Filter by author"
|
987 |
+
msgstr ""
|
988 |
+
|
989 |
+
#: core/taxonomies.php:355
|
990 |
+
msgid "All Authors"
|
991 |
+
msgstr ""
|
992 |
+
|
993 |
+
#: core/taxonomies.php:372 core/taxonomies.php:378
|
994 |
+
#: enhanced-media-library.php:570
|
995 |
msgid "Filter by"
|
996 |
msgstr ""
|
997 |
|
998 |
+
#: core/taxonomies.php:380 enhanced-media-library.php:572
|
999 |
msgid "Not in a"
|
1000 |
msgstr ""
|
1001 |
|
1002 |
+
#: core/taxonomies.php:1461 core/taxonomies.php:1468
|
1003 |
msgid "Remove"
|
1004 |
msgstr ""
|
1005 |
|
1006 |
+
#: core/taxonomies.php:1463 core/taxonomies.php:1470
|
1007 |
msgid "Deselect"
|
1008 |
msgstr ""
|
1009 |
|
1010 |
+
#: core/taxonomies.php:1528
|
1011 |
msgid "Caption this image…"
|
1012 |
msgstr ""
|
1013 |
|
1014 |
+
#: core/taxonomies.php:1532
|
1015 |
msgid "Describe this video…"
|
1016 |
msgstr ""
|
1017 |
|
1018 |
+
#: core/taxonomies.php:1534
|
1019 |
msgid "Describe this audio file…"
|
1020 |
msgstr ""
|
1021 |
|
1022 |
+
#: core/taxonomies.php:1536
|
1023 |
msgid "Describe this media file…"
|
1024 |
msgstr ""
|
1025 |
|
1026 |
+
#: enhanced-media-library.php:378 enhanced-media-library.php:569
|
1027 |
msgid "All Uncategorized"
|
1028 |
msgstr ""
|
1029 |
|
1030 |
+
#: enhanced-media-library.php:379 enhanced-media-library.php:573
|
1031 |
msgid "Reset All Filters"
|
1032 |
msgstr ""
|
1033 |
|
1034 |
+
#: enhanced-media-library.php:574
|
1035 |
+
msgid "author"
|
1036 |
+
msgstr ""
|
1037 |
+
|
1038 |
+
#: enhanced-media-library.php:575
|
1039 |
+
msgid "authors"
|
1040 |
+
msgstr ""
|
1041 |
+
|
1042 |
+
#: enhanced-media-library.php:605
|
1043 |
msgid "Uploaded to post #"
|
1044 |
msgstr ""
|
1045 |
|
1046 |
+
#: enhanced-media-library.php:606
|
1047 |
msgid "Based On"
|
1048 |
msgstr ""
|
1049 |
|
1050 |
+
#: enhanced-media-library.php:677 enhanced-media-library.php:679
|
1051 |
msgid "Media Categories"
|
1052 |
msgstr ""
|
1053 |
|
1054 |
+
#: enhanced-media-library.php:678
|
1055 |
msgid "Media Category"
|
1056 |
msgstr ""
|
1057 |
|
1058 |
+
#: enhanced-media-library.php:680
|
1059 |
msgid "All Media Categories"
|
1060 |
msgstr ""
|
1061 |
|
1062 |
+
#: enhanced-media-library.php:681
|
1063 |
msgid "Edit Media Category"
|
1064 |
msgstr ""
|
1065 |
|
1066 |
+
#: enhanced-media-library.php:682
|
1067 |
msgid "View Media Category"
|
1068 |
msgstr ""
|
1069 |
|
1070 |
+
#: enhanced-media-library.php:683
|
1071 |
msgid "Update Media Category"
|
1072 |
msgstr ""
|
1073 |
|
1074 |
+
#: enhanced-media-library.php:684
|
1075 |
msgid "Add New Media Category"
|
1076 |
msgstr ""
|
1077 |
|
1078 |
+
#: enhanced-media-library.php:685
|
1079 |
msgid "New Media Category Name"
|
1080 |
msgstr ""
|
1081 |
|
1082 |
+
#: enhanced-media-library.php:686
|
1083 |
msgid "Parent Media Category"
|
1084 |
msgstr ""
|
1085 |
|
1086 |
+
#: enhanced-media-library.php:687
|
1087 |
msgid "Parent Media Category:"
|
1088 |
msgstr ""
|
1089 |
|
1090 |
+
#: enhanced-media-library.php:688
|
1091 |
msgid "Search Media Categories"
|
1092 |
msgstr ""
|
1093 |
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: webbistro
|
3 |
Tags: media library, media category, media categories, media gallery, gallery shortcode, media tag, media tags, media taxonomy, media taxonomies, media uploader, mime type, mime, mime types, file types, media types, media filter, attachment, gallery, image, images, media, ux, user experience, wp-admin, admin, taxonomy, taxonomies
|
4 |
Requires at least: 4.5
|
5 |
-
Tested up to: 4.9.
|
6 |
-
Stable tag: 2.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -32,7 +32,7 @@ You can also assign to the media library built-in WordPress taxonomies – Categ
|
|
32 |
|
33 |
**Filter media items in WP admin.** Every media library screen is enhanced with the plugin's filters to search and sort your media files. With flexible plugin's options you can adjust what filters you will see in Grid and List modes of the media library and in post/page editor media popups, and what taxonomies you would like to edit when inserting media to posts/pages. The plugin works with custom post types as well. The options can also help you to force plugin's filters for third-party plugins or themes, manage media taxonomies archive pages, etc.
|
34 |
|
35 |
-
**Order options.** With two options "Order media items by" (Date, Title, and Custom Order) and "Sort order" (Ascending and Descending) you can control media items order for all screens of the media library in WP admin. "Custom Order" allows to re-order media items within a category with drag and drop. This order will be used, in particular, for the gallery based on this category. See `Settings > Media > Media Library`.
|
36 |
|
37 |
|
38 |
= Filter-Based Shortcodes =
|
@@ -56,6 +56,11 @@ Another feature of the plugin is the MIME Types control. You can add new MIME ty
|
|
56 |
If you need to move your media library to another website you should export and import WordPress content with WordPress built-in export/import. But to make the Enhanced Media Library work on the new site with the same settings you are provided with the export/import feature.
|
57 |
|
58 |
|
|
|
|
|
|
|
|
|
|
|
59 |
= Easy to Use and WordPress Native Functionality Oriented Plugin =
|
60 |
|
61 |
We spend hours to make plugins features work as though they were native WordPress functionality. If you are a developer and looking for a solution totally compatible with WordPress core and, at the same point, really easy to deal with for your non-geeky customers, give it a try, you won't be disappointed.
|
@@ -106,7 +111,8 @@ Please notice that you use Enhanced Media Library with other plugins which add m
|
|
106 |
> * Categorize media items in bulk
|
107 |
> * Select multiple media items in a single click
|
108 |
> * Upload media items to parent (custom) post categories automatically
|
109 |
-
> *
|
|
|
110 |
|
111 |
> [More on wpUXsolutions.com](https://www.wpuxsolutions.com/documents/enhanced-media-library/where-to-start#section2)
|
112 |
|
@@ -168,6 +174,33 @@ Please notice that you use Enhanced Media Library with other plugins which add m
|
|
168 |
|
169 |
== Changelog ==
|
170 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
171 |
= 2.5.1 (PRO only) =
|
172 |
* A bug causing "Test Error" on searching for update fixed
|
173 |
|
@@ -335,5 +368,53 @@ Please notice that you use Enhanced Media Library with other plugins which add m
|
|
335 |
* Various minor bugs fixed
|
336 |
|
337 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
338 |
|
339 |
= Previous releases... =
|
2 |
Contributors: webbistro
|
3 |
Tags: media library, media category, media categories, media gallery, gallery shortcode, media tag, media tags, media taxonomy, media taxonomies, media uploader, mime type, mime, mime types, file types, media types, media filter, attachment, gallery, image, images, media, ux, user experience, wp-admin, admin, taxonomy, taxonomies
|
4 |
Requires at least: 4.5
|
5 |
+
Tested up to: 4.9.6
|
6 |
+
Stable tag: 2.6
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
32 |
|
33 |
**Filter media items in WP admin.** Every media library screen is enhanced with the plugin's filters to search and sort your media files. With flexible plugin's options you can adjust what filters you will see in Grid and List modes of the media library and in post/page editor media popups, and what taxonomies you would like to edit when inserting media to posts/pages. The plugin works with custom post types as well. The options can also help you to force plugin's filters for third-party plugins or themes, manage media taxonomies archive pages, etc.
|
34 |
|
35 |
+
**Order options.** With two options "Order media items by" (Date, Title, and Custom Order) and "Sort order" (Ascending and Descending) you can control media items order for all screens of the media library in WP admin. "Custom Order" allows to re-order media items within a category with drag and drop. This order will be used, in particular, for the gallery based on this category. "Natural sort order" option available for "Title" sort order will apply the human-friendly sort order to Media Library and Galleries. See `Settings > Media > Media Library`.
|
36 |
|
37 |
|
38 |
= Filter-Based Shortcodes =
|
56 |
If you need to move your media library to another website you should export and import WordPress content with WordPress built-in export/import. But to make the Enhanced Media Library work on the new site with the same settings you are provided with the export/import feature.
|
57 |
|
58 |
|
59 |
+
= Multisite compatible =
|
60 |
+
|
61 |
+
Network activate the plugin and choose which options will be available to your admins. In the PRO version, the license key should be activated once for the whole network.
|
62 |
+
|
63 |
+
|
64 |
= Easy to Use and WordPress Native Functionality Oriented Plugin =
|
65 |
|
66 |
We spend hours to make plugins features work as though they were native WordPress functionality. If you are a developer and looking for a solution totally compatible with WordPress core and, at the same point, really easy to deal with for your non-geeky customers, give it a try, you won't be disappointed.
|
111 |
> * Categorize media items in bulk
|
112 |
> * Select multiple media items in a single click
|
113 |
> * Upload media items to parent (custom) post categories automatically
|
114 |
+
> * Enhance `gallery` / `playlist` shortcodes with just WordPress UI, no "coding"
|
115 |
+
> * Tune search options: include or exclude Titles, Captions, Descriptions, Authors, Media Taxonomies in the default search
|
116 |
|
117 |
> [More on wpUXsolutions.com](https://www.wpuxsolutions.com/documents/enhanced-media-library/where-to-start#section2)
|
118 |
|
174 |
|
175 |
== Changelog ==
|
176 |
|
177 |
+
= 2.6 =
|
178 |
+
*Release Date - May 18, 2018*
|
179 |
+
|
180 |
+
= New =
|
181 |
+
* Filter by authors added
|
182 |
+
* "Filters to show" option added: show/hide filters by File Type Date, Author, Media Taxonomies
|
183 |
+
* "Include children" option added: include (or not) media items of child media categories when filtering
|
184 |
+
* PRO only: Search options added: what to (or not to) include to the default search: Titles, Captions, Descriptions, Authors, Media Taxonomies
|
185 |
+
* "Show caption" option added for the Grid Mode
|
186 |
+
* Full multisite support added (documentation is coming)
|
187 |
+
|
188 |
+
= Improvements =
|
189 |
+
* Natural sort order for galleries and archive pages ensured
|
190 |
+
* Plugin's menu improved
|
191 |
+
* Plugin options are re-grouped to be more consistent
|
192 |
+
* PRO only: Updating mechanism improved
|
193 |
+
* Media taxonomies creation mechanism revised to allow non ASCII characters like Chinese in taxonomy names
|
194 |
+
* Taxonomy archive pages disabled by default since this version (for new installations)
|
195 |
+
* A lot of small security improvements
|
196 |
+
|
197 |
+
= Bugfixes =
|
198 |
+
* Custom order for a taxonomy archive page fixed
|
199 |
+
* Position of WordPress core messages in the Grid Mode fixed
|
200 |
+
* A lot of small bug fixed
|
201 |
+
|
202 |
+
|
203 |
+
|
204 |
= 2.5.1 (PRO only) =
|
205 |
* A bug causing "Test Error" on searching for update fixed
|
206 |
|
368 |
* Various minor bugs fixed
|
369 |
|
370 |
|
371 |
+
|
372 |
+
= 2.2.2 =
|
373 |
+
*Release Date - April 30, 2016*
|
374 |
+
|
375 |
+
= Improvements =
|
376 |
+
* Many typos corrected
|
377 |
+
* Localization added for default taxonomy Media Categories and credits
|
378 |
+
* CSS for RTL improved
|
379 |
+
* Encoding for Japanese translation fixed
|
380 |
+
* Taxonomy queries (filtering) improved for List mode of the media library
|
381 |
+
* Count number added to filters for List and Grid modes
|
382 |
+
* Media Taxonomy tab: various CSS and JS improvements, minor bugs fixed
|
383 |
+
* Media taxonomy 'year' is now being renamed to 'media_year' automatically on creation to avoid issues with WP queries
|
384 |
+
* Performance: enhanced media library loading time reduced for about 40%
|
385 |
+
|
386 |
+
|
387 |
+
|
388 |
+
= 2.2.1 =
|
389 |
+
*Release Date - April 13, 2016*
|
390 |
+
|
391 |
+
= Improvements =
|
392 |
+
* Enhanced media library settings moved under Settings > Media
|
393 |
+
* Text domain changed to match the plugin slug
|
394 |
+
* Better CSS for media library grid mode, addressing some minor issues as well
|
395 |
+
|
396 |
+
= Compatibility =
|
397 |
+
* WordPress 4.5 compatibility ensured
|
398 |
+
|
399 |
+
|
400 |
+
|
401 |
+
= 2.2 =
|
402 |
+
*Release Date - March 19, 2016*
|
403 |
+
|
404 |
+
= New =
|
405 |
+
* Option "Auto-assign media items to parent post categories on upload" added per non-media taxonomy [PRO only]
|
406 |
+
* Options and database cleanup added
|
407 |
+
|
408 |
+
= Improvements =
|
409 |
+
* Few security improvements
|
410 |
+
* Few CSS, UI and behavior improvements
|
411 |
+
* Slight performance improvement
|
412 |
+
|
413 |
+
= Bugfixes =
|
414 |
+
* A bug with non-saved drag and drop order in media library fixed
|
415 |
+
* A bug with "Reset All Filters" button fixed
|
416 |
+
* Custom order works now correctly on upload
|
417 |
+
|
418 |
+
|
419 |
|
420 |
= Previous releases... =
|