Version Description
- New: The "MLA Tax Query Example" plugin has been enhanced to handle multi-column orderby parameters.
- Fix: Corrected an "ajax.fail error" in the Media/Assistant "Set Parent" function and the Media/Edit Media screen.
- Fix: For the Media/Assistant admin submenu, some taxonomy term queries have been eliminated to improve performance.
- Fix: In the "Smart Medis Categories" example plugin, WordPress "deprecated" messages have been removed when loading the Settings screen.
Download this release
Release Info
Developer | dglingren |
Plugin | Media Library Assistant |
Version | 2.65 |
Comparing to | |
See all releases |
Code changes from version 2.62 to 2.65
- examples/plugins/mla-item-transfer-pretty-links.php +495 -0
- examples/plugins/mla-multisite-extensions.php +39 -2
- examples/plugins/mla-tax-query-example.php +287 -174
- examples/plugins/smart-media-categories/admin/class-smart-media-categories-admin.php +24 -24
- examples/plugins/smart-media-categories/admin/views/smc-admin.php +0 -1
- examples/plugins/smart-media-categories/smart-media-categories.php +1 -1
- includes/class-mla-ajax.php +63 -6
- includes/class-mla-core-options.php +26 -2
- includes/class-mla-core.php +59 -28
- includes/class-mla-data-query.php +9 -1
- includes/class-mla-data.php +94 -73
- includes/class-mla-edit-media.php +9 -3
- includes/class-mla-file-downloader.php +55 -23
- includes/class-mla-main.php +37 -16
- includes/class-mla-media-modal.php +6 -4
- includes/class-mla-options.php +60 -771
- includes/class-mla-polylang-support.php +72 -7
- includes/class-mla-settings-custom-fields-tab.php +30 -6
- includes/class-mla-settings-iptc-exif-tab.php +114 -55
- includes/class-mla-settings-upload-tab.php +1 -1
- includes/class-mla-settings-view-tab.php +1 -1
- includes/class-mla-settings.php +16 -10
- includes/class-mla-shortcode-support.php +43 -28
- includes/class-mla-wpml-support.php +8 -2
- includes/mla-plugin-loader.php +10 -13
- index.php +29 -8
- languages/media-library-assistant-en_US - References.pot +1276 -1393
- languages/media-library-assistant-en_US.po +91 -128
- languages/media-library-assistant-en_US.pot +90 -127
- readme.txt +16 -47
- tpls/admin-display-settings-custom-fields-tab.tpl +14 -0
- tpls/admin-display-settings-iptc-exif-tab.tpl +14 -0
- tpls/admin-display-settings-page.tpl +3 -2
- tpls/admin-inline-edit-form.tpl +2 -2
- tpls/documentation-settings-tab.tpl +105 -47
- tpls/help-for-settings_page_mla-settings-menu-custom_field.tpl +7 -6
- tpls/help-for-settings_page_mla-settings-menu-iptc_exif.tpl +7 -6
examples/plugins/mla-item-transfer-pretty-links.php
ADDED
@@ -0,0 +1,495 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Converts "Transfer by Item Name" links to pretty links, adds URL rewrite rule to convert them back.
|
4 |
+
*
|
5 |
+
* In this example a Settings submenu page can be used to define values for the elements of pretty links
|
6 |
+
* used to replace the default admin-ajax.php links in [mla_gallery] shortcodes.
|
7 |
+
*
|
8 |
+
* Created for support topic "How about [mla_gallery list=mask]?"
|
9 |
+
* opened on 8/19/2017 by "lwcorp".
|
10 |
+
* https://wordpress.org/support/topic/how-about-mla_gallery-listmask/
|
11 |
+
*
|
12 |
+
* @package MLA Item Transfer Pretty Links
|
13 |
+
* @version 1.00
|
14 |
+
*/
|
15 |
+
|
16 |
+
/*
|
17 |
+
Plugin Name: MLA Item Transfer Pretty Links
|
18 |
+
Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
|
19 |
+
Description: Converts "Transfer by Item Name" links to pretty links, adds URL rewrite rule to convert them back.
|
20 |
+
Author: David Lingren
|
21 |
+
Version: 1.00
|
22 |
+
|
23 |
+
Author URI: http://fairtradejudaica.org/our-story/staff/
|
24 |
+
|
25 |
+
Copyright 2014 - 2017 David Lingren
|
26 |
+
|
27 |
+
This program is free software; you can redistribute it and/or modify
|
28 |
+
it under the terms of the GNU General Public License as published by
|
29 |
+
the Free Software Foundation; either version 2 of the License, or
|
30 |
+
(at your option) any later version.
|
31 |
+
|
32 |
+
This program is distributed in the hope that it will be useful,
|
33 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
34 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
35 |
+
GNU General Public License for more details.
|
36 |
+
|
37 |
+
You can get a copy of the GNU General Public License by writing to the
|
38 |
+
Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA
|
39 |
+
*/
|
40 |
+
|
41 |
+
/**
|
42 |
+
* Class MLA Item Transfer Pretty Links hooks one of the filters provided by the IPTC/EXIF and Custom Field mapping features
|
43 |
+
*
|
44 |
+
* Call it anything you want, but give it an unlikely and hopefully unique name. Hiding enerything
|
45 |
+
* else inside a class means this is the only name you have to worry about.
|
46 |
+
*
|
47 |
+
* @package MLA Item Transfer Pretty Links
|
48 |
+
* @since 1.00
|
49 |
+
*/
|
50 |
+
class MLAItemTransferPrettyLinks {
|
51 |
+
/**
|
52 |
+
* Current version number
|
53 |
+
*
|
54 |
+
* @since 1.00
|
55 |
+
*
|
56 |
+
* @var string
|
57 |
+
*/
|
58 |
+
const CURRENT_VERSION = '1.00';
|
59 |
+
|
60 |
+
/**
|
61 |
+
* Slug prefix for registering and enqueueing submenu pages, style sheets and scripts
|
62 |
+
*
|
63 |
+
* @since 1.00
|
64 |
+
*
|
65 |
+
* @var string
|
66 |
+
*/
|
67 |
+
const SLUG_PREFIX = 'mlaprettylinks-';
|
68 |
+
|
69 |
+
/**
|
70 |
+
* Initialization function, similar to __construct()
|
71 |
+
*
|
72 |
+
* Installs filters and actions that handle the MLA hooks for uploading and mapping.
|
73 |
+
*
|
74 |
+
* @since 1.00
|
75 |
+
*/
|
76 |
+
public static function initialize() {
|
77 |
+
self::_load_settings();
|
78 |
+
|
79 |
+
// Don't addd the old rules if they are about to change
|
80 |
+
if ( !( isset( $_REQUEST[ self::SLUG_PREFIX . 'save-changes' ] ) || isset( $_REQUEST[ self::SLUG_PREFIX . 'delete-settings' ] ) ) ) {
|
81 |
+
self::_add_rewrite_rules();
|
82 |
+
}
|
83 |
+
|
84 |
+
if ( is_admin() ) {
|
85 |
+
// The Settings page is only useful in the admin section
|
86 |
+
add_action( 'admin_menu', 'MLAItemTransferPrettyLinks::admin_menu' );
|
87 |
+
} else {
|
88 |
+
// Get ready to process [mla_gallery] shortodes
|
89 |
+
add_filter( 'mla_gallery_arguments', 'MLAItemTransferPrettyLinks::mla_gallery_arguments', 10, 1 );
|
90 |
+
add_filter( 'mla_gallery_item_values', 'MLAItemTransferPrettyLinks::mla_gallery_item_values', 10, 1 );
|
91 |
+
}
|
92 |
+
}
|
93 |
+
|
94 |
+
/**
|
95 |
+
* Processing options
|
96 |
+
*
|
97 |
+
* This array specifies the components used in the pretty links and whether
|
98 |
+
* the mla_debug=log argument is appended to the links
|
99 |
+
*
|
100 |
+
* @since 1.00
|
101 |
+
*
|
102 |
+
* @var array
|
103 |
+
*/
|
104 |
+
private static $settings = array ();
|
105 |
+
|
106 |
+
/**
|
107 |
+
* Default processing options
|
108 |
+
*
|
109 |
+
* @since 1.00
|
110 |
+
*
|
111 |
+
* @var array
|
112 |
+
*/
|
113 |
+
private static $default_settings = array (
|
114 |
+
'option_active' => array( 'add_mla_debug' => false ),
|
115 |
+
'transfer_label' => 'mla-transfer',
|
116 |
+
'attachment_label' => 'download',
|
117 |
+
'inline_label' => 'view',
|
118 |
+
);
|
119 |
+
|
120 |
+
/**
|
121 |
+
* Update the plugin options from the wp_options table or set defaults
|
122 |
+
*
|
123 |
+
* @since 1.00
|
124 |
+
*/
|
125 |
+
private static function _load_settings() {
|
126 |
+
// Update the plugin options from the wp_options table or set defaults
|
127 |
+
if ( empty( self::$settings ) ) {
|
128 |
+
$settings = get_option( self::SLUG_PREFIX . 'settings' );
|
129 |
+
if ( is_array( $settings ) ) {
|
130 |
+
self::$settings = $settings;
|
131 |
+
} else {
|
132 |
+
self::$settings = self::$default_settings;
|
133 |
+
}
|
134 |
+
}
|
135 |
+
}
|
136 |
+
|
137 |
+
/**
|
138 |
+
* Add submenu page in the "Settings" section
|
139 |
+
*
|
140 |
+
* @since 1.00
|
141 |
+
*/
|
142 |
+
public static function admin_menu( ) {
|
143 |
+
$current_page_hook = add_submenu_page( 'options-general.php', 'MLA Item Transfer Pretty Links', 'MLA pretty links', 'manage_options', self::SLUG_PREFIX . 'settings', 'MLAItemTransferPrettyLinks::add_submenu_page' );
|
144 |
+
add_filter( 'plugin_action_links', 'MLAItemTransferPrettyLinks::plugin_action_links', 10, 2 );
|
145 |
+
}
|
146 |
+
|
147 |
+
/**
|
148 |
+
* Add the "Tools" link to the Plugins section entry
|
149 |
+
*
|
150 |
+
* @since 1.00
|
151 |
+
*
|
152 |
+
* @param array array of links for the Plugin, e.g., "Activate"
|
153 |
+
* @param string Directory and name of the plugin Index file
|
154 |
+
*
|
155 |
+
* @return array Updated array of links for the Plugin
|
156 |
+
*/
|
157 |
+
public static function plugin_action_links( $links, $file ) {
|
158 |
+
if ( $file == 'mla-item-transfer-pretty-links.php' ) {
|
159 |
+
$settings_link = sprintf( '<a href="%s">%s</a>', admin_url( 'options-general.php?page=' . self::SLUG_PREFIX . 'settings' ), 'Settings' );
|
160 |
+
array_unshift( $links, $settings_link );
|
161 |
+
}
|
162 |
+
|
163 |
+
return $links;
|
164 |
+
}
|
165 |
+
|
166 |
+
/**
|
167 |
+
* Redirect pretty links to the appropriate AJAX admin page
|
168 |
+
*
|
169 |
+
* @since 1.00
|
170 |
+
*/
|
171 |
+
public static function template_redirect() {
|
172 |
+
$pagename = get_query_var('pagename');
|
173 |
+
if ( 'mla-named-transfer' === $pagename ) {
|
174 |
+
$mla_item = get_query_var('mla_item');
|
175 |
+
$mla_disposition = get_query_var('mla_disposition');
|
176 |
+
$mla_debug = get_query_var('mla_debug');
|
177 |
+
MLACore::mla_debug_add( __LINE__ . " MLAItemTransferPrettyLinks:template_redirect item = {$mla_item}, disposition = {$mla_disposition}, debug = <{$mla_debug}>", MLACore::MLA_DEBUG_CATEGORY_ANY );
|
178 |
+
|
179 |
+
$args = array(
|
180 |
+
'action' => 'mla_named_transfer',
|
181 |
+
'mla_item' => $mla_item,
|
182 |
+
'mla_disposition' => $mla_disposition,
|
183 |
+
);
|
184 |
+
|
185 |
+
if ( !empty( $mla_debug ) ) {
|
186 |
+
$args['mla_debug'] = 'log';
|
187 |
+
}
|
188 |
+
|
189 |
+
wp_redirect( add_query_arg( $args, admin_url( 'admin-ajax.php' ) ), 302 );
|
190 |
+
exit();
|
191 |
+
}
|
192 |
+
}
|
193 |
+
|
194 |
+
/**
|
195 |
+
* Add custom query variables
|
196 |
+
*
|
197 |
+
* @param array $query_vars WordPress query variables
|
198 |
+
*
|
199 |
+
* @since 1.00
|
200 |
+
*/
|
201 |
+
public static function query_vars( $query_vars ) {
|
202 |
+
$query_vars[] = 'mla_item';
|
203 |
+
$query_vars[] = 'mla_disposition';
|
204 |
+
$query_vars[] = 'mla_debug';
|
205 |
+
|
206 |
+
return $query_vars;
|
207 |
+
}
|
208 |
+
|
209 |
+
/**
|
210 |
+
* Render (echo) the "MLA jhdean" submenu in the Settings section
|
211 |
+
*
|
212 |
+
* @since 1.00
|
213 |
+
*
|
214 |
+
* @return void Echoes HTML markup for the submenu page
|
215 |
+
*/
|
216 |
+
public static function add_submenu_page() {
|
217 |
+
MLACore::mla_debug_add( __LINE__ . " MLAItemTransferPrettyLinks:add_submenu_page() \$_REQUEST = " . var_export( $_REQUEST, true ), MLACore::MLA_DEBUG_CATEGORY_ANY );
|
218 |
+
|
219 |
+
if ( !current_user_can( 'manage_options' ) ) {
|
220 |
+
echo "MLA Item Transfer Pretty Links - Error</h2>\n";
|
221 |
+
wp_die( 'You do not have permission to manage plugin settings.' );
|
222 |
+
}
|
223 |
+
|
224 |
+
echo '<div class="wrap">' . "\n";
|
225 |
+
echo "\t\t" . '<h2>MLA Item Transfer Pretty Links v' . self::CURRENT_VERSION . '</h2>' . "\n";
|
226 |
+
|
227 |
+
if ( !current_user_can( 'edit_pages' ) ) {
|
228 |
+
echo "\t\t<br>ERROR: You are not allowed to edit Media Library items.\n";
|
229 |
+
return;
|
230 |
+
}
|
231 |
+
|
232 |
+
$message = '';
|
233 |
+
if ( isset( $_REQUEST[ self::SLUG_PREFIX . 'save-changes' ] ) ) {
|
234 |
+
$message = self::_save_setting_changes();
|
235 |
+
} elseif ( isset( $_REQUEST[ self::SLUG_PREFIX . 'delete-settings' ] ) ) {
|
236 |
+
$message = self::_delete_settings();
|
237 |
+
}
|
238 |
+
|
239 |
+
if ( !empty( $message ) ) {
|
240 |
+
$is_error = ( false !== strpos( $message, __( 'ERROR', 'media-library-assistant' ) ) );
|
241 |
+
if ( $is_error ) {
|
242 |
+
$messages_class = 'updated error';
|
243 |
+
} else {
|
244 |
+
$messages_class = 'updated notice is-dismissible';
|
245 |
+
}
|
246 |
+
|
247 |
+
echo " <div class=\"{$messages_class}\" id=\"message\"><p>\n";
|
248 |
+
echo ' ' . $message . "\n";
|
249 |
+
echo " </p>\n";
|
250 |
+
|
251 |
+
if ( !$is_error ) {
|
252 |
+
echo " <button class=\"notice-dismiss\" type=\"button\"><span class=\"screen-reader-text\">Dismiss this notice.</span></button>\n";
|
253 |
+
}
|
254 |
+
|
255 |
+
echo " </div>\n";
|
256 |
+
}
|
257 |
+
|
258 |
+
$add_mla_debug_checked = self::$settings['option_active']['add_mla_debug'] ? 'checked="checked" ' : '';
|
259 |
+
$transfer_label = esc_html( self::$settings['transfer_label'] );
|
260 |
+
$attachment_label = esc_html( self::$settings['attachment_label'] );
|
261 |
+
$inline_label = esc_html( self::$settings['inline_label'] );
|
262 |
+
|
263 |
+
echo "\t\t" . '<div style="width:700px">' . "\n";
|
264 |
+
echo "\t\t" . '<form action="' . admin_url( 'options-general.php?page=' . self::SLUG_PREFIX . 'settings' ) . '" method="post" class="' . self::SLUG_PREFIX . 'settings-form-class" id="' . self::SLUG_PREFIX . 'settings-form-id">' . "\n";
|
265 |
+
echo "\t\t" . ' <p class="submit" style="padding-bottom: 0;">' . "\n";
|
266 |
+
echo "\t\t" . ' <table width=99%>' . "\n";
|
267 |
+
|
268 |
+
echo "\t\t" . ' <tr><td colspan=2>Enter the "pretty link" elements for your site, then click Save Settings.</td></tr>' . "\n";
|
269 |
+
echo "\t\t" . ' <tr><td colspan=2>Make sure the labels do not conflict with other WordPress elements, e.g., Custom Post Types.</td></tr>' . "\n";
|
270 |
+
echo "\t\t" . ' <tr><td colspan=2> </td></tr>' . "\n";
|
271 |
+
|
272 |
+
echo "\t\t" . ' <tr>' . "\n";
|
273 |
+
echo "\t\t" . ' <td width="150px" valign="middle" style="text-align: right; padding-right: 5px" >Item Transfer Label:</td>' . "\n";
|
274 |
+
echo "\t\t" . ' <td style="text-align: left;"><input name="' . self::SLUG_PREFIX . 'transfer_label" id="' . self::SLUG_PREFIX . 'transfer_label" type="text" size="40" value="' . $transfer_label . '"></td>' . "\n";
|
275 |
+
echo "\t\t" . ' </tr>' . "\n";
|
276 |
+
|
277 |
+
echo "\t\t" . ' <tr><td> </td><td>The permalink element denoting an MLA Item Transfer operation.</td></tr>' . "\n";
|
278 |
+
echo "\t\t" . ' <tr><td> </td><td>Pick something that won’t conflict, e.g., add a unique prefix such as "mla-".</td></tr>' . "\n";
|
279 |
+
|
280 |
+
echo "\t\t" . ' <tr><td colspan=2> </td></tr>' . "\n";
|
281 |
+
|
282 |
+
echo "\t\t" . ' <tr>' . "\n";
|
283 |
+
echo "\t\t" . ' <td width="150px" valign="middle" style="text-align: right; padding-right: 5px" >Force Download Label:</td>' . "\n";
|
284 |
+
echo "\t\t" . ' <td style="text-align: left;"><input name="' . self::SLUG_PREFIX . 'attachment_label" id="' . self::SLUG_PREFIX . 'attachment_label" type="text" size="40" value="' . $attachment_label . '"></td>' . "\n";
|
285 |
+
echo "\t\t" . ' </tr>' . "\n";
|
286 |
+
|
287 |
+
echo "\t\t" . ' <tr><td> </td><td>The permalink element denoting a forced download operation.</td></tr>' . "\n";
|
288 |
+
echo "\t\t" . ' <tr><td> </td><td>Selected when link=download appears in the shortcode.</td></tr>' . "\n";
|
289 |
+
|
290 |
+
echo "\t\t" . ' <tr><td colspan=2> </td></tr>' . "\n";
|
291 |
+
|
292 |
+
echo "\t\t" . ' <tr>' . "\n";
|
293 |
+
echo "\t\t" . ' <td width="150px" valign="middle" style="text-align: right; padding-right: 5px" >View in Browser Label:</td>' . "\n";
|
294 |
+
echo "\t\t" . ' <td style="text-align: left;"><input name="' . self::SLUG_PREFIX . 'inline_label" id="' . self::SLUG_PREFIX . 'inline_label" type="text" size="40" value="' . $inline_label . '"></td>' . "\n";
|
295 |
+
echo "\t\t" . ' </tr>' . "\n";
|
296 |
+
|
297 |
+
echo "\t\t" . ' <tr><td> </td><td>The permalink element denoting a view in browser operation.</td></tr>' . "\n";
|
298 |
+
echo "\t\t" . ' <tr><td> </td><td>Selected when link=file appears in the shortcode.</td></tr>' . "\n";
|
299 |
+
|
300 |
+
echo "\t\t" . ' <tr><td colspan=2> </td></tr>' . "\n";
|
301 |
+
|
302 |
+
echo "\t\t" . ' <tr>' . "\n";
|
303 |
+
echo "\t\t" . ' <td width="150px" style="text-align: right; padding-right: 5px" ><input name="' . self::SLUG_PREFIX . 'option_active[]" id="' . self::SLUG_PREFIX . 'option_active_add_mla_debug" type="checkbox" ' . $add_mla_debug_checked . 'value="add_mla_debug">
|
304 |
+
</td>' . "\n";
|
305 |
+
echo "\t\t" . ' <td valign="middle" style="text-align: left;">Add mla_debug=log to the generated links.</td>' . "\n";
|
306 |
+
echo "\t\t" . ' </tr>' . "\n";
|
307 |
+
|
308 |
+
echo "\t\t" . ' <tr><td colspan=2> </td></tr>' . "\n";
|
309 |
+
|
310 |
+
echo "\t\t" . ' <tr><td width="150px">' . "\n";
|
311 |
+
echo "\t\t" . ' <input name="' . self::SLUG_PREFIX . 'save-changes" type="submit" class="button-primary" style="width: 120px;" value="Save Settings" />' . "\n";
|
312 |
+
echo "\t\t" . ' </td><td>' . "\n";
|
313 |
+
echo "\t\t" . ' <input name="' . self::SLUG_PREFIX . 'delete-settings" type="submit" class="button-primary" style="width: 120px;" value="Delete Settings" />' . "\n";
|
314 |
+
echo "\t\t" . ' </td></tr>' . "\n";
|
315 |
+
|
316 |
+
echo "\t\t" . ' </table>' . "\n";
|
317 |
+
echo "\t\t" . ' </p>' . "\n";
|
318 |
+
echo "\t\t" . '</form>' . "\n";
|
319 |
+
echo "\t\t" . '</div>' . "\n";
|
320 |
+
echo "\t\t" . '</div><!-- wrap -->' . "\n";
|
321 |
+
}
|
322 |
+
|
323 |
+
/**
|
324 |
+
* Save settings as a WordPress wp_options entry
|
325 |
+
*
|
326 |
+
* @since 1.00
|
327 |
+
*
|
328 |
+
* @return string HTML markup for results/messages
|
329 |
+
*/
|
330 |
+
private static function _save_setting_changes() {
|
331 |
+
$new_settings = self::$settings;
|
332 |
+
|
333 |
+
$option_active = isset( $_REQUEST[ self::SLUG_PREFIX . 'option_active' ] ) ? $_REQUEST[ self::SLUG_PREFIX . 'option_active' ] : array();
|
334 |
+
|
335 |
+
$new_settings['option_active']['add_mla_debug'] = in_array( 'add_mla_debug', $option_active );
|
336 |
+
$new_settings['transfer_label'] = stripslashes( $_REQUEST[ self::SLUG_PREFIX . 'transfer_label' ] );
|
337 |
+
$new_settings['attachment_label'] = stripslashes( $_REQUEST[ self::SLUG_PREFIX . 'attachment_label' ] );
|
338 |
+
$new_settings['inline_label'] = stripslashes( $_REQUEST[ self::SLUG_PREFIX . 'inline_label' ] );
|
339 |
+
|
340 |
+
if ( $new_settings === self::$settings ) {
|
341 |
+
self::_add_rewrite_rules();
|
342 |
+
return "Settings unchanged.\n";
|
343 |
+
}
|
344 |
+
|
345 |
+
$success = update_option( self::SLUG_PREFIX . 'settings', $new_settings, false );
|
346 |
+
if ( $success ) {
|
347 |
+
self::$settings = $new_settings;
|
348 |
+
|
349 |
+
self::_add_rewrite_rules( true );
|
350 |
+
|
351 |
+
return "Settings and rewrite rules have been updated.\n";
|
352 |
+
}
|
353 |
+
|
354 |
+
return "Settings update failed.\n";
|
355 |
+
} // _save_setting_changes
|
356 |
+
|
357 |
+
/**
|
358 |
+
* Delete WordPress wp_options entry
|
359 |
+
*
|
360 |
+
* @since 1.00
|
361 |
+
*
|
362 |
+
* @return string HTML markup for results/messages
|
363 |
+
*/
|
364 |
+
private static function _delete_settings() {
|
365 |
+
delete_option( self::SLUG_PREFIX . 'settings' );
|
366 |
+
self::$settings = self::$default_settings;
|
367 |
+
self::_add_rewrite_rules( true );
|
368 |
+
|
369 |
+
return "Settings removed from database and reset to default values.\n";
|
370 |
+
} // _delete_settings
|
371 |
+
|
372 |
+
/**
|
373 |
+
* Register rewrite rules defined by current settings
|
374 |
+
*
|
375 |
+
* @since 1.00
|
376 |
+
*
|
377 |
+
* @param boolean $flush True to flush rewrite rules to the database. Optional; default false.
|
378 |
+
*/
|
379 |
+
private static function _add_rewrite_rules( $flush = false ) {
|
380 |
+
$add_mla_debug = self::$settings['option_active']['add_mla_debug'] ? '&mla_debug=log' : '';
|
381 |
+
|
382 |
+
// Add the "force download" rule
|
383 |
+
$regex = '^' . self::$settings['transfer_label'] . '/' . self::$settings['attachment_label'] . '/([^/]+)(/[0-9]+)?/?$';
|
384 |
+
$redirect = 'index.php?pagename=mla-named-transfer&mla_item=$matches[1]&mla_disposition=attachment' . $add_mla_debug;
|
385 |
+
add_rewrite_rule( $regex, $redirect, 'top' );
|
386 |
+
|
387 |
+
// Add the "view in browser" rule
|
388 |
+
$regex = '^' . self::$settings['transfer_label'] . '/' . self::$settings['inline_label'] . '/([^/]+)(/[0-9]+)?/?$';
|
389 |
+
$redirect = 'index.php?pagename=mla-named-transfer&mla_item=$matches[1]&mla_disposition=inline' . $add_mla_debug;
|
390 |
+
add_rewrite_rule( $regex, $redirect, 'top' );
|
391 |
+
|
392 |
+
if ( $flush ) {
|
393 |
+
flush_rewrite_rules();
|
394 |
+
}
|
395 |
+
} // _add_rewrite_rules
|
396 |
+
|
397 |
+
/**
|
398 |
+
* Save the shortcode arguments
|
399 |
+
*
|
400 |
+
* @since 1.00
|
401 |
+
*
|
402 |
+
* @var array
|
403 |
+
*/
|
404 |
+
private static $all_display_parameters = array();
|
405 |
+
|
406 |
+
/**
|
407 |
+
* MLA Gallery (Display) Arguments
|
408 |
+
*
|
409 |
+
* This filter gives you an opportunity to record or modify the gallery display arguments
|
410 |
+
* after the shortcode attributes are merged with the default arguments.
|
411 |
+
*
|
412 |
+
* Note that the values in this array are input or default values, not the final computed values
|
413 |
+
* used for the gallery display. The computed values are in the $style_values, $markup_values and
|
414 |
+
* $item_values arrays passed to later filters below.
|
415 |
+
*
|
416 |
+
* @since 1.00
|
417 |
+
*
|
418 |
+
* @param array $all_display_parameters shortcode arguments merged with gallery display defaults, so every possible parameter is present
|
419 |
+
*/
|
420 |
+
public static function mla_gallery_arguments( $all_display_parameters ) {
|
421 |
+
MLACore::mla_debug_add( __LINE__ . " MLAItemTransferPrettyLinks::mla_gallery_arguments link = " . var_export( $all_display_parameters['link'], true ), MLACore::MLA_DEBUG_CATEGORY_ANY );
|
422 |
+
|
423 |
+
self::$all_display_parameters = $all_display_parameters;
|
424 |
+
return $all_display_parameters;
|
425 |
+
} // mla_gallery_arguments
|
426 |
+
|
427 |
+
/**
|
428 |
+
* Replace MLA Named Item Transfer links with pretty links
|
429 |
+
*
|
430 |
+
* @since 1.00
|
431 |
+
*
|
432 |
+
* @param array $item_values parameter_name => parameter_value pairs
|
433 |
+
*/
|
434 |
+
public static function mla_gallery_item_values( $item_values ) {
|
435 |
+
|
436 |
+
// We only care about MLA Named Item Transfer links
|
437 |
+
if ( 'true' !== self::$all_display_parameters['mla_named_transfer'] ) {
|
438 |
+
return $item_values;
|
439 |
+
}
|
440 |
+
|
441 |
+
// Create pretty link with all Content Parameters
|
442 |
+
$match_count = preg_match( '#href=\'([^\']+)\'#', $item_values['filelink'], $matches, PREG_OFFSET_CAPTURE );
|
443 |
+
if ( ! ( ( $match_count == false ) || ( $match_count == 0 ) ) ) {
|
444 |
+
$url = $item_values['site_url'] . '/' . self::$settings['transfer_label'] . '/';
|
445 |
+
|
446 |
+
if ( 'download' === self::$all_display_parameters['link'] ) {
|
447 |
+
$url .= self::$settings['attachment_label'];
|
448 |
+
} else {
|
449 |
+
$url .= self::$settings['inline_label'];
|
450 |
+
}
|
451 |
+
|
452 |
+
$url .= '/' . $item_values['slug'];
|
453 |
+
|
454 |
+
$item_values['link_url'] = $url;
|
455 |
+
$item_values['link'] = preg_replace( '#' . $matches[0][0] . '#', sprintf( 'href=\'%1$s\'', $url ), $item_values['filelink'] );
|
456 |
+
}
|
457 |
+
|
458 |
+
MLACore::mla_debug_add( __LINE__ . " MLAItemTransferPrettyLinks::mla_gallery_item_values link_url = " . var_export( $item_values['link_url'], true ), MLACore::MLA_DEBUG_CATEGORY_ANY );
|
459 |
+
|
460 |
+
return $item_values;
|
461 |
+
} // mla_gallery_item_values
|
462 |
+
|
463 |
+
/**
|
464 |
+
* Perform initial rewrite registration and flush on plugin activation
|
465 |
+
*
|
466 |
+
* @since 1.00
|
467 |
+
*/
|
468 |
+
public static function activation_hook( ) {
|
469 |
+
self::_load_settings();
|
470 |
+
self::_add_rewrite_rules( true );
|
471 |
+
}
|
472 |
+
|
473 |
+
/**
|
474 |
+
* Perform final rewrite removal and flush on plugin deactivation
|
475 |
+
*
|
476 |
+
* @since 1.00
|
477 |
+
*/
|
478 |
+
public static function deactivation_hook( ) {
|
479 |
+
flush_rewrite_rules();
|
480 |
+
}
|
481 |
+
} //MLAItemTransferPrettyLinks
|
482 |
+
|
483 |
+
// Install the filters at an early opportunity
|
484 |
+
add_action('init', 'MLAItemTransferPrettyLinks::initialize');
|
485 |
+
|
486 |
+
//add plugin query vars to WordPress
|
487 |
+
add_filter('query_vars', 'MLAItemTransferPrettyLinks::query_vars' );//register plugin custom pages display
|
488 |
+
|
489 |
+
//register plugin redirection logic
|
490 |
+
add_action( 'template_redirect', 'MLAItemTransferPrettyLinks::template_redirect' );
|
491 |
+
|
492 |
+
// Register hooks that are fired when the plugin is activated or deactivated.
|
493 |
+
register_activation_hook( __FILE__, array( 'MLAItemTransferPrettyLinks', 'activation_hook' ) );
|
494 |
+
register_deactivation_hook( __FILE__, array( 'MLAItemTransferPrettyLinks', 'deactivation_hook' ) );
|
495 |
+
?>
|
examples/plugins/mla-multisite-extensions.php
CHANGED
@@ -13,7 +13,7 @@
|
|
13 |
* https://wordpress.org/support/topic/using-shortcodes-to-retrieve-media-from-another-sites-media-library/
|
14 |
*
|
15 |
* @package MLA Multisite Extensions
|
16 |
-
* @version 1.
|
17 |
*/
|
18 |
|
19 |
/*
|
@@ -21,7 +21,7 @@ Plugin Name: MLA Multisite Extensions
|
|
21 |
Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
|
22 |
Description: Adds Multisite filters to MLA shortcodes
|
23 |
Author: David Lingren
|
24 |
-
Version: 1.
|
25 |
Author URI: http://fairtradejudaica.org/our-story/staff/
|
26 |
|
27 |
Copyright 2017 David Lingren
|
@@ -128,8 +128,45 @@ class MLAMultisiteExtensions {
|
|
128 |
if ( !isset( self::$all_query_parameters['multi_site_query'] ) ) {
|
129 |
//error_log( __LINE__ . ' MLAMultisiteExtensions::mla_gallery_query_arguments self::$shortcode_attributes = ' . var_export( self::$shortcode_attributes, true ), 0 );
|
130 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
131 |
self::$all_query_parameters = $all_query_parameters;
|
132 |
}
|
|
|
133 |
|
134 |
if ( isset( self::$shortcode_attributes['site_id'] ) ) {
|
135 |
if ( 'all' === trim( strtolower( self::$shortcode_attributes['site_id'] ) ) ) {
|
13 |
* https://wordpress.org/support/topic/using-shortcodes-to-retrieve-media-from-another-sites-media-library/
|
14 |
*
|
15 |
* @package MLA Multisite Extensions
|
16 |
+
* @version 1.03
|
17 |
*/
|
18 |
|
19 |
/*
|
21 |
Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
|
22 |
Description: Adds Multisite filters to MLA shortcodes
|
23 |
Author: David Lingren
|
24 |
+
Version: 1.03
|
25 |
Author URI: http://fairtradejudaica.org/our-story/staff/
|
26 |
|
27 |
Copyright 2017 David Lingren
|
128 |
if ( !isset( self::$all_query_parameters['multi_site_query'] ) ) {
|
129 |
//error_log( __LINE__ . ' MLAMultisiteExtensions::mla_gallery_query_arguments self::$shortcode_attributes = ' . var_export( self::$shortcode_attributes, true ), 0 );
|
130 |
|
131 |
+
// Taxonomy parameters are handled separately
|
132 |
+
// {tax_slug} => 'term' | array ( 'term', 'term', ... )
|
133 |
+
// 'tax_query' => ''
|
134 |
+
// 'tax_input' => ''
|
135 |
+
// 'tax_relation' => 'OR', 'AND' (default),
|
136 |
+
// 'tax_operator' => 'OR' (default), 'IN', 'NOT IN', 'AND',
|
137 |
+
// 'tax_include_children' => true (default), false
|
138 |
+
$shortcode_attributes = self::$shortcode_attributes;
|
139 |
+
|
140 |
+
$all_taxonomies = get_taxonomies( array ( 'show_ui' => true ), 'names' );
|
141 |
+
foreach( $shortcode_attributes as $key => $value ) {
|
142 |
+
if ( array_key_exists( $key, $all_taxonomies ) ) {
|
143 |
+
$all_query_parameters[ $key ] = $shortcode_attributes[ $key ];
|
144 |
+
}
|
145 |
+
}
|
146 |
+
|
147 |
+
if ( !empty( $shortcode_attributes['tax_query'] ) ) {
|
148 |
+
$all_query_parameters['tax_query'] = $shortcode_attributes['tax_query'];
|
149 |
+
}
|
150 |
+
|
151 |
+
if ( !empty( $shortcode_attributes['tax_input'] ) ) {
|
152 |
+
$all_query_parameters['tax_input'] = $shortcode_attributes['tax_input'];
|
153 |
+
}
|
154 |
+
|
155 |
+
if ( !empty( $shortcode_attributes['tax_relation'] ) ) {
|
156 |
+
$all_query_parameters['tax_relation'] = $shortcode_attributes['tax_relation'];
|
157 |
+
}
|
158 |
+
|
159 |
+
if ( !empty( $shortcode_attributes['tax_operator'] ) ) {
|
160 |
+
$all_query_parameters['tax_operator'] = $shortcode_attributes['v'];
|
161 |
+
}
|
162 |
+
|
163 |
+
if ( !empty( $shortcode_attributes['tax_include_children'] ) ) {
|
164 |
+
$all_query_parameters['tax_include_children'] = $shortcode_attributes['tax_include_children'];
|
165 |
+
}
|
166 |
+
|
167 |
self::$all_query_parameters = $all_query_parameters;
|
168 |
}
|
169 |
+
//error_log( __LINE__ . ' MLAMultisiteExtensions::mla_gallery_query_arguments $all_query_parameters = ' . var_export( $all_query_parameters, true ), 0 );
|
170 |
|
171 |
if ( isset( self::$shortcode_attributes['site_id'] ) ) {
|
172 |
if ( 'all' === trim( strtolower( self::$shortcode_attributes['site_id'] ) ) ) {
|
examples/plugins/mla-tax-query-example.php
CHANGED
@@ -1,20 +1,14 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
*
|
4 |
-
*
|
5 |
-
*
|
6 |
-
* mla_output="paginate_links,prev_next and supplying the count required to accomodate it.
|
7 |
-
*
|
8 |
-
* - In the "mla_gallery_query_arguments" filter is an example of a custom SQL query
|
9 |
-
* that replaces the usual "simple taxonomy" get_posts/WP_Query results.
|
10 |
-
*
|
11 |
-
* - The "single_query()" and "double_query()" functions provide simplified, higher-performance
|
12 |
-
* alternatives to the standard WordPress tax_query.
|
13 |
*
|
14 |
* A custom shortcode parameter, "my_custom_sql", activates the logic in this plugin.
|
15 |
*
|
16 |
* The "my_custom_sql" parameter accepts these query arguments:
|
17 |
-
* -
|
|
|
18 |
* - include_children=true
|
19 |
* - author=ID(,ID...)
|
20 |
* - order and/or orderby
|
@@ -23,6 +17,22 @@
|
|
23 |
* (outside "my_custom_sql") to further filter the results. The double_query() function is
|
24 |
* called when the request contains post_mime_type, keyword search or orderby/order parameters.
|
25 |
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
* Created for support topic "Slow queries"
|
27 |
* opened on 7/4/2014 by "aptharsia".
|
28 |
* https://wordpress.org/support/topic/slow-queries-1/
|
@@ -39,8 +49,12 @@
|
|
39 |
* opened on 6/27/2017 by "davidjhk".
|
40 |
* https://wordpress.org/support/topic/gallery-page-with-many-images-takes-too-long-to-load/
|
41 |
*
|
|
|
|
|
|
|
|
|
42 |
* @package MLA tax query Example
|
43 |
-
* @version 1.
|
44 |
*/
|
45 |
|
46 |
/*
|
@@ -48,7 +62,7 @@ Plugin Name: MLA tax query Example
|
|
48 |
Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
|
49 |
Description: Replaces the WP_Query tax_query with a more efficient, direct SQL query
|
50 |
Author: David Lingren
|
51 |
-
Version: 1.
|
52 |
Author URI: http://fairtradejudaica.org/our-story/staff/
|
53 |
|
54 |
Copyright 2013 - 2017 David Lingren
|
@@ -85,19 +99,10 @@ class MLATaxQueryExample {
|
|
85 |
* @return void
|
86 |
*/
|
87 |
public static function initialize() {
|
88 |
-
|
89 |
-
* The filters are only useful for front-end posts/pages; exit if in the admin section
|
90 |
-
*/
|
91 |
if ( is_admin() )
|
92 |
return;
|
93 |
|
94 |
-
/*
|
95 |
-
* add_filter parameters:
|
96 |
-
* $tag - name of the hook you're filtering; defined by [mla_gallery]
|
97 |
-
* $function_to_add - function to be called when [mla_gallery] applies the filter
|
98 |
-
* $priority - default 10; lower runs earlier, higher runs later
|
99 |
-
* $accepted_args - number of arguments your function accepts
|
100 |
-
*/
|
101 |
add_filter( 'mla_gallery_attributes', 'MLATaxQueryExample::mla_gallery_attributes', 10, 1 );
|
102 |
add_filter( 'mla_gallery_arguments', 'MLATaxQueryExample::mla_gallery_arguments', 10, 1 );
|
103 |
add_filter( 'mla_gallery_query_arguments', 'MLATaxQueryExample::mla_gallery_query_arguments', 10, 1 );
|
@@ -137,14 +142,10 @@ class MLATaxQueryExample {
|
|
137 |
* @return array updated shortcode attributes
|
138 |
*/
|
139 |
public static function mla_gallery_attributes( $shortcode_attributes ) {
|
140 |
-
|
141 |
-
* Save the attributes for use in the later filters
|
142 |
-
*/
|
143 |
self::$shortcode_attributes = $shortcode_attributes;
|
144 |
|
145 |
-
|
146 |
-
* See if we are involved in processing this shortcode
|
147 |
-
*/
|
148 |
if ( isset( self::$shortcode_attributes['my_custom_sql'] ) ) {
|
149 |
unset( $shortcode_attributes['my_custom_sql'] );
|
150 |
|
@@ -219,10 +220,16 @@ class MLATaxQueryExample {
|
|
219 |
$my_query_vars = shortcode_parse_atts( $my_query_vars );
|
220 |
}
|
221 |
|
222 |
-
if ( isset( $my_query_vars['order'] ) || isset( $my_query_vars['orderby'] ) ) {
|
223 |
self::$shortcode_attributes['is_double'] = true;
|
224 |
} else {
|
225 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
226 |
}
|
227 |
}
|
228 |
} // my_custom_sql
|
@@ -307,6 +314,74 @@ class MLATaxQueryExample {
|
|
307 |
return $all_query_parameters;
|
308 |
} // mla_gallery_query_arguments
|
309 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
310 |
/**
|
311 |
* Custom query support function, taxonomy terms only
|
312 |
*
|
@@ -347,42 +422,7 @@ class MLATaxQueryExample {
|
|
347 |
$my_query_vars = shortcode_parse_atts( $my_query_vars );
|
348 |
}
|
349 |
|
350 |
-
|
351 |
-
$ttids = array();
|
352 |
-
|
353 |
-
// Find taxonomy argument, if present, and collect terms
|
354 |
-
$taxonomies = get_object_taxonomies( 'attachment', 'names' );
|
355 |
-
foreach( $taxonomies as $taxonomy ) {
|
356 |
-
if ( empty( $my_query_vars[ $taxonomy ] ) ) {
|
357 |
-
continue;
|
358 |
-
}
|
359 |
-
|
360 |
-
// Found the taxonomy; collect the terms
|
361 |
-
$include_children = isset( $my_query_vars['include_children'] ) && 'true' == strtolower( trim( $my_query_vars['include_children'] ) );
|
362 |
-
|
363 |
-
// Allow for multiple term slug values
|
364 |
-
$terms = array();
|
365 |
-
$slugs = explode( ',', $my_query_vars[ $taxonomy ] );
|
366 |
-
foreach ( $slugs as $slug ) {
|
367 |
-
$args = array( 'slug' => $slug, 'hide_empty' => false );
|
368 |
-
$terms = array_merge( $terms, get_terms( $taxonomy, $args ) );
|
369 |
-
}
|
370 |
-
|
371 |
-
foreach( $terms as $term ) {
|
372 |
-
// Index by ttid to remove duplicates
|
373 |
-
$ttids[ $term->term_taxonomy_id ] = $term->term_taxonomy_id;
|
374 |
-
|
375 |
-
if ( $include_children ) {
|
376 |
-
$args = array( 'child_of' => $term->term_id, 'hide_empty' => false );
|
377 |
-
$children = get_terms( 'attachment_category', $args );
|
378 |
-
foreach( $children as $child ) {
|
379 |
-
$ttids[] = $child->term_taxonomy_id;
|
380 |
-
}
|
381 |
-
} // include_children
|
382 |
-
} // $term
|
383 |
-
|
384 |
-
break;
|
385 |
-
}
|
386 |
|
387 |
// Build an array of SQL clauses
|
388 |
$query = array();
|
@@ -401,14 +441,35 @@ class MLATaxQueryExample {
|
|
401 |
$query_parameters[] = $ttid;
|
402 |
}
|
403 |
} else {
|
|
|
|
|
404 |
$placeholders[] = '%s';
|
405 |
$query_parameters[] = '0';
|
|
|
406 |
}
|
407 |
|
408 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
409 |
|
410 |
-
|
|
|
|
|
|
|
|
|
411 |
|
|
|
|
|
412 |
if ( ! $is_pagination ) {
|
413 |
/*
|
414 |
* Add pagination to our query, then remove it from the query
|
@@ -491,6 +552,129 @@ class MLATaxQueryExample {
|
|
491 |
return $all_query_parameters;
|
492 |
} // single_query
|
493 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
494 |
/**
|
495 |
* Custom query support function, taxonomy terms plus post_mime_type and orderby/order fields
|
496 |
*
|
@@ -521,6 +705,7 @@ class MLATaxQueryExample {
|
|
521 |
*
|
522 |
* The subquery is on taxonomy and term(s) only, yielding a list of object_id
|
523 |
* (post ID) values.
|
|
|
524 |
* The main query filters the list by post_mime_type and/or keyword search, orders
|
525 |
* it and paginates it.
|
526 |
*/
|
@@ -533,42 +718,7 @@ class MLATaxQueryExample {
|
|
533 |
$my_query_vars = shortcode_parse_atts( $my_query_vars );
|
534 |
}
|
535 |
|
536 |
-
|
537 |
-
$ttids = array();
|
538 |
-
|
539 |
-
// Find taxonomy argument, if present, and collect terms
|
540 |
-
$taxonomies = get_object_taxonomies( 'attachment', 'names' );
|
541 |
-
foreach( $taxonomies as $taxonomy ) {
|
542 |
-
if ( empty( $my_query_vars[ $taxonomy ] ) ) {
|
543 |
-
continue;
|
544 |
-
}
|
545 |
-
|
546 |
-
// Found the taxonomy; collect the terms
|
547 |
-
$include_children = isset( $my_query_vars['include_children'] ) && 'true' == strtolower( trim( $my_query_vars['include_children'] ) );
|
548 |
-
|
549 |
-
// Allow for multiple term slug values
|
550 |
-
$terms = array();
|
551 |
-
$slugs = explode( ',', $my_query_vars[ $taxonomy ] );
|
552 |
-
foreach ( $slugs as $slug ) {
|
553 |
-
$args = array( 'slug' => $slug, 'hide_empty' => false );
|
554 |
-
$terms = array_merge( $terms, get_terms( $taxonomy, $args ) );
|
555 |
-
}
|
556 |
-
|
557 |
-
foreach( $terms as $term ) {
|
558 |
-
// Index by ttid to remove duplicates
|
559 |
-
$ttids[ $term->term_taxonomy_id ] = $term->term_taxonomy_id;
|
560 |
-
|
561 |
-
if ( $include_children ) {
|
562 |
-
$args = array( 'child_of' => $term->term_id, 'hide_empty' => false );
|
563 |
-
$children = get_terms( 'attachment_category', $args );
|
564 |
-
foreach( $children as $child ) {
|
565 |
-
$ttids[] = $child->term_taxonomy_id;
|
566 |
-
}
|
567 |
-
} // include_children
|
568 |
-
} // $term
|
569 |
-
|
570 |
-
break;
|
571 |
-
}
|
572 |
|
573 |
// Build an array of SQL clauses for the term_relationships query
|
574 |
$subquery = array();
|
@@ -583,11 +733,35 @@ class MLATaxQueryExample {
|
|
583 |
$subquery_parameters[] = $ttid;
|
584 |
}
|
585 |
} else {
|
|
|
|
|
586 |
$placeholders[] = '%s';
|
587 |
$subquery_parameters[] = '0';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
588 |
}
|
589 |
|
590 |
-
$subquery[] = '
|
|
|
591 |
$subquery = join(' ', $subquery);
|
592 |
|
593 |
// Build an array of SQL clauses for the posts query
|
@@ -631,75 +805,16 @@ class MLATaxQueryExample {
|
|
631 |
// Close the WHERE clause
|
632 |
$query[] = ')';
|
633 |
|
634 |
-
|
635 |
-
|
636 |
-
|
637 |
-
|
638 |
-
$orderby = strtolower( $my_query_vars['orderby'] );
|
639 |
-
} else {
|
640 |
-
$orderby = 'none';
|
641 |
}
|
|
|
|
|
642 |
$all_query_parameters['orderby'] = 'post__in';
|
643 |
-
|
644 |
-
if ( ! empty( $my_query_vars['order'] ) ) {
|
645 |
-
$order = strtoupper( $my_query_vars['order'] );
|
646 |
-
if ( 'DESC' != $order ) {
|
647 |
-
$order = 'ASC';
|
648 |
-
}
|
649 |
-
} else {
|
650 |
-
$order = 'ASC';
|
651 |
-
}
|
652 |
$all_query_parameters['order'] = 'ASC';
|
653 |
|
654 |
-
switch ( $orderby ) {
|
655 |
-
case 'id':
|
656 |
-
$query[] = 'ORDER BY p.ID ' . $order;
|
657 |
-
break;
|
658 |
-
case 'author':
|
659 |
-
$query[] = 'ORDER BY p.post_author ' . $order;
|
660 |
-
break;
|
661 |
-
case 'date':
|
662 |
-
$query[] = 'ORDER BY p.post_date ' . $order;
|
663 |
-
break;
|
664 |
-
case 'description':
|
665 |
-
case 'content':
|
666 |
-
$query[] = 'ORDER BY p.post_content ' . $order;
|
667 |
-
break;
|
668 |
-
case 'title':
|
669 |
-
$query[] = 'ORDER BY p.post_title ' . $order;
|
670 |
-
break;
|
671 |
-
case 'caption':
|
672 |
-
case 'excerpt':
|
673 |
-
$query[] = 'ORDER BY p.post_excerpt ' . $order;
|
674 |
-
break;
|
675 |
-
case 'slug':
|
676 |
-
case 'name':
|
677 |
-
$query[] = 'ORDER BY p.post_name ' . $order;
|
678 |
-
break;
|
679 |
-
case 'modified':
|
680 |
-
$query[] = 'ORDER BY p.post_modified ' . $order;
|
681 |
-
break;
|
682 |
-
case 'parent':
|
683 |
-
$query[] = 'ORDER BY p.post_parent ' . $order;
|
684 |
-
break;
|
685 |
-
case 'menu_order':
|
686 |
-
$query[] = 'ORDER BY p.menu_order ' . $order;
|
687 |
-
break;
|
688 |
-
case 'post_mime_type':
|
689 |
-
$query[] = 'ORDER BY p.post_mime_type ' . $order;
|
690 |
-
break;
|
691 |
-
case 'comment_count':
|
692 |
-
$query[] = 'ORDER BY p.comment_count ' . $order;
|
693 |
-
break;
|
694 |
-
case 'rand':
|
695 |
-
case 'random':
|
696 |
-
$query[] = 'ORDER BY RAND() ' . $order;
|
697 |
-
break;
|
698 |
-
case 'none':
|
699 |
-
default:
|
700 |
-
break;
|
701 |
-
}
|
702 |
-
|
703 |
if ( ! $is_pagination ) {
|
704 |
/*
|
705 |
* Add pagination to our query, then remove it from the query
|
@@ -783,8 +898,6 @@ class MLATaxQueryExample {
|
|
783 |
} // double_query
|
784 |
} // Class MLATaxQueryExample
|
785 |
|
786 |
-
|
787 |
-
* Install the filters at an early opportunity
|
788 |
-
*/
|
789 |
add_action('init', 'MLATaxQueryExample::initialize');
|
790 |
?>
|
1 |
<?php
|
2 |
/**
|
3 |
+
* This plugin provides much faster taxonomy queries when the taxonomy and term(s) given as input
|
4 |
+
* are ONLY used for Media Library image items, so we can omit the term_relationships/posts
|
5 |
+
* JOIN clause for tests on assigned term values.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
*
|
7 |
* A custom shortcode parameter, "my_custom_sql", activates the logic in this plugin.
|
8 |
*
|
9 |
* The "my_custom_sql" parameter accepts these query arguments:
|
10 |
+
* - ONE taxonomy=(/)slug(,(/)slug)... argument, to INCLUDE or /EXCLUDE terms
|
11 |
+
* i.e. put a slash in front of a term to EXCLUDE items assigned to it
|
12 |
* - include_children=true
|
13 |
* - author=ID(,ID...)
|
14 |
* - order and/or orderby
|
17 |
* (outside "my_custom_sql") to further filter the results. The double_query() function is
|
18 |
* called when the request contains post_mime_type, keyword search or orderby/order parameters.
|
19 |
*
|
20 |
+
* NOTE: If you use this logic for queries that only EXCLUDE terms, e.g., "taxonomy=/slug", note that it
|
21 |
+
* will fail to include items that have no term assignments at all, because this logic only looks in the
|
22 |
+
* wp_term_relationships table to find attachment IDs. If this affects your application, consider assigning
|
23 |
+
* a term such as "Uncategorized" to items without terms or use the standard "tax_query" parameter instead.
|
24 |
+
*
|
25 |
+
* This plugin provides a custom example of hooking the filters provided by the [mla_gallery] shortcode:
|
26 |
+
*
|
27 |
+
* - In the "mla_gallery_arguments" filter is an example of detecting MLA pagination, e.g.,
|
28 |
+
* mla_output="paginate_links,prev_next and supplying the count required to accomodate it.
|
29 |
+
*
|
30 |
+
* - In the "mla_gallery_query_arguments" filter is an example of a custom SQL query
|
31 |
+
* that replaces the usual "simple taxonomy" get_posts/WP_Query results.
|
32 |
+
*
|
33 |
+
* - The "single_query()" and "double_query()" functions provide simplified, higher-performance
|
34 |
+
* alternatives to the standard WordPress tax_query.
|
35 |
+
*
|
36 |
* Created for support topic "Slow queries"
|
37 |
* opened on 7/4/2014 by "aptharsia".
|
38 |
* https://wordpress.org/support/topic/slow-queries-1/
|
49 |
* opened on 6/27/2017 by "davidjhk".
|
50 |
* https://wordpress.org/support/topic/gallery-page-with-many-images-takes-too-long-to-load/
|
51 |
*
|
52 |
+
* Enhanced for support topic "504 Time-Out issue"
|
53 |
+
* opened on 10/19/2017 by "ratterizzo".
|
54 |
+
* https://wordpress.org/support/topic/504-time-out-issue/
|
55 |
+
*
|
56 |
* @package MLA tax query Example
|
57 |
+
* @version 1.07
|
58 |
*/
|
59 |
|
60 |
/*
|
62 |
Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
|
63 |
Description: Replaces the WP_Query tax_query with a more efficient, direct SQL query
|
64 |
Author: David Lingren
|
65 |
+
Version: 1.07
|
66 |
Author URI: http://fairtradejudaica.org/our-story/staff/
|
67 |
|
68 |
Copyright 2013 - 2017 David Lingren
|
99 |
* @return void
|
100 |
*/
|
101 |
public static function initialize() {
|
102 |
+
// The filters are only useful for front-end posts/pages; exit if in the admin section
|
|
|
|
|
103 |
if ( is_admin() )
|
104 |
return;
|
105 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
106 |
add_filter( 'mla_gallery_attributes', 'MLATaxQueryExample::mla_gallery_attributes', 10, 1 );
|
107 |
add_filter( 'mla_gallery_arguments', 'MLATaxQueryExample::mla_gallery_arguments', 10, 1 );
|
108 |
add_filter( 'mla_gallery_query_arguments', 'MLATaxQueryExample::mla_gallery_query_arguments', 10, 1 );
|
142 |
* @return array updated shortcode attributes
|
143 |
*/
|
144 |
public static function mla_gallery_attributes( $shortcode_attributes ) {
|
145 |
+
// Save the attributes for use in the later filters
|
|
|
|
|
146 |
self::$shortcode_attributes = $shortcode_attributes;
|
147 |
|
148 |
+
// See if we are involved in processing this shortcode
|
|
|
|
|
149 |
if ( isset( self::$shortcode_attributes['my_custom_sql'] ) ) {
|
150 |
unset( $shortcode_attributes['my_custom_sql'] );
|
151 |
|
220 |
$my_query_vars = shortcode_parse_atts( $my_query_vars );
|
221 |
}
|
222 |
|
223 |
+
if ( isset( $my_query_vars['order'] ) || isset( $my_query_vars['orderby'] ) || isset( $my_query_vars['author'] ) ) {
|
224 |
self::$shortcode_attributes['is_double'] = true;
|
225 |
} else {
|
226 |
+
// Test for exclude-only queries
|
227 |
+
self::_find_ttids( $my_query_vars, $ttids, $exclude_ttids );
|
228 |
+
if ( empty( $ttids ) && ! empty( $exclude_ttids ) ) {
|
229 |
+
self::$shortcode_attributes['is_double'] = true;
|
230 |
+
} else {
|
231 |
+
self::$shortcode_attributes['is_double'] = false;
|
232 |
+
}
|
233 |
}
|
234 |
}
|
235 |
} // my_custom_sql
|
314 |
return $all_query_parameters;
|
315 |
} // mla_gallery_query_arguments
|
316 |
|
317 |
+
/**
|
318 |
+
* Extract include and exclude term_taxonomy_id values for the query
|
319 |
+
*
|
320 |
+
* @since 1.07
|
321 |
+
*
|
322 |
+
* @param array $my_query_vars parsed content of the 'my_custom_sql' parameter
|
323 |
+
* @param array $include_ttids filled with include terms on output, passed by reference
|
324 |
+
* @param array $exclude_ttids filled with exclude terms on output, passed by reference
|
325 |
+
*/
|
326 |
+
private static function _find_ttids( $my_query_vars, &$include_ttids, &$exclude_ttids ) {
|
327 |
+
// Start with empty parameter values
|
328 |
+
$include_ttids = array();
|
329 |
+
$exclude_ttids = array();
|
330 |
+
|
331 |
+
// Find taxonomy argument, if present, and collect terms
|
332 |
+
$taxonomies = get_object_taxonomies( 'attachment', 'names' );
|
333 |
+
foreach( $taxonomies as $taxonomy ) {
|
334 |
+
if ( empty( $my_query_vars[ $taxonomy ] ) ) {
|
335 |
+
continue;
|
336 |
+
}
|
337 |
+
|
338 |
+
// Found the taxonomy; collect the terms
|
339 |
+
$include_children = isset( $my_query_vars['include_children'] ) && 'true' == strtolower( trim( $my_query_vars['include_children'] ) );
|
340 |
+
|
341 |
+
// Allow for multiple term slug values, separate includes from excludes
|
342 |
+
$terms = array();
|
343 |
+
$excludes = array();
|
344 |
+
$slugs = explode( ',', $my_query_vars[ $taxonomy ] );
|
345 |
+
foreach ( $slugs as $slug ) {
|
346 |
+
if ( 0 === strpos( $slug, '/' ) ) {
|
347 |
+
$args = array( 'slug' => substr( $slug, 1 ), 'hide_empty' => false );
|
348 |
+
$excludes = array_merge( $excludes, get_terms( $taxonomy, $args ) );
|
349 |
+
} else {
|
350 |
+
$args = array( 'slug' => $slug, 'hide_empty' => false );
|
351 |
+
$terms = array_merge( $terms, get_terms( $taxonomy, $args ) );
|
352 |
+
}
|
353 |
+
}
|
354 |
+
|
355 |
+
foreach( $terms as $term ) {
|
356 |
+
// Index by ttid to remove duplicates
|
357 |
+
$include_ttids[ $term->term_taxonomy_id ] = $term->term_taxonomy_id;
|
358 |
+
|
359 |
+
if ( $include_children ) {
|
360 |
+
$args = array( 'child_of' => $term->term_id, 'hide_empty' => false );
|
361 |
+
$children = get_terms( 'attachment_category', $args );
|
362 |
+
foreach( $children as $child ) {
|
363 |
+
$include_ttids[] = $child->term_taxonomy_id;
|
364 |
+
}
|
365 |
+
} // include_children
|
366 |
+
} // $term
|
367 |
+
|
368 |
+
foreach( $excludes as $exclude ) {
|
369 |
+
// Index by ttid to remove duplicates
|
370 |
+
$exclude_ttids[ $exclude->term_taxonomy_id ] = $exclude->term_taxonomy_id;
|
371 |
+
|
372 |
+
if ( $include_children ) {
|
373 |
+
$args = array( 'child_of' => $exclude->term_id, 'hide_empty' => false );
|
374 |
+
$children = get_terms( 'attachment_category', $args );
|
375 |
+
foreach( $children as $child ) {
|
376 |
+
$exclude_ttids[] = $child->term_taxonomy_id;
|
377 |
+
}
|
378 |
+
} // include_children
|
379 |
+
} // $exclude
|
380 |
+
|
381 |
+
break;
|
382 |
+
} // foreach $taxonomy
|
383 |
+
} // _find_ttids
|
384 |
+
|
385 |
/**
|
386 |
* Custom query support function, taxonomy terms only
|
387 |
*
|
422 |
$my_query_vars = shortcode_parse_atts( $my_query_vars );
|
423 |
}
|
424 |
|
425 |
+
self::_find_ttids( $my_query_vars, $ttids, $exclude_ttids );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
426 |
|
427 |
// Build an array of SQL clauses
|
428 |
$query = array();
|
441 |
$query_parameters[] = $ttid;
|
442 |
}
|
443 |
} else {
|
444 |
+
// Both includes and excludes are empty; return nothing
|
445 |
+
if ( empty( $exclude_ttids ) ) {
|
446 |
$placeholders[] = '%s';
|
447 |
$query_parameters[] = '0';
|
448 |
+
}
|
449 |
}
|
450 |
|
451 |
+
if ( empty( $placeholders ) ) {
|
452 |
+
// No includes, only excludes
|
453 |
+
$query[] = 'WHERE ( 1=1';
|
454 |
+
} else {
|
455 |
+
$query[] = 'WHERE ( tr.term_taxonomy_id IN (' . join( ',', $placeholders ) . ')';
|
456 |
+
}
|
457 |
+
|
458 |
+
if ( !empty( $exclude_ttids ) ) {
|
459 |
+
$placeholders = array();
|
460 |
+
foreach ( $exclude_ttids as $ttid ) {
|
461 |
+
$placeholders[] = '%s';
|
462 |
+
$query_parameters[] = $ttid;
|
463 |
+
}
|
464 |
|
465 |
+
// Build the excludes as a sub query
|
466 |
+
$query[] = 'AND tr.object_id NOT IN (';
|
467 |
+
$query[] = "SELECT DISTINCT object_id FROM {$wpdb->term_relationships}";
|
468 |
+
$query[] = 'WHERE ( term_taxonomy_id IN (' . join( ',', $placeholders ) . ') ) )';
|
469 |
+
}
|
470 |
|
471 |
+
$query[] = ')';
|
472 |
+
|
473 |
if ( ! $is_pagination ) {
|
474 |
/*
|
475 |
* Add pagination to our query, then remove it from the query
|
552 |
return $all_query_parameters;
|
553 |
} // single_query
|
554 |
|
555 |
+
/**
|
556 |
+
* Translates query parameters to a valid SQL order by clause.
|
557 |
+
*
|
558 |
+
* Accepts one or more valid columns, with or without ASC/DESC. Adapted from
|
559 |
+
* /media-library-assistant/includes/class-mla-shortcode-support.php function _validate_sql_orderby().
|
560 |
+
*
|
561 |
+
* @since 1.07
|
562 |
+
*
|
563 |
+
* @param array Validated query parameters; 'order', 'orderby', 'meta_key', 'post__in'.
|
564 |
+
* @param string Optional. Database table prefix; can be empty. Default taken from $wpdb->posts.
|
565 |
+
* @param array Optional. Field names (keys) and database column equivalents (values). Defaults from [mla_gallery].
|
566 |
+
* @param array Optional. Field names (values) that require a BINARY prefix to preserve case order. Default array()
|
567 |
+
* @return string|bool Returns the orderby clause if present, false otherwise.
|
568 |
+
*/
|
569 |
+
private static function _validate_sql_orderby( $query_parameters, $table_prefix = NULL, $allowed_keys = NULL, $binary_keys = array() ){
|
570 |
+
global $wpdb;
|
571 |
+
|
572 |
+
$results = array ();
|
573 |
+
$order = isset( $query_parameters['order'] ) ? ' ' . trim( strtoupper( $query_parameters['order'] ) ) : '';
|
574 |
+
$orderby = isset( $query_parameters['orderby'] ) ? $query_parameters['orderby'] : 'none';
|
575 |
+
$meta_key = isset( $query_parameters['meta_key'] ) ? $query_parameters['meta_key'] : '';
|
576 |
+
|
577 |
+
if ( is_null( $table_prefix ) ) {
|
578 |
+
$table_prefix = $wpdb->posts . '.';
|
579 |
+
}
|
580 |
+
|
581 |
+
if ( is_null( $allowed_keys ) ) {
|
582 |
+
$allowed_keys = array(
|
583 |
+
'empty_orderby_default' => 'post_date',
|
584 |
+
'explicit_orderby_field' => 'post__in',
|
585 |
+
'explicit_orderby_column' => 'ID',
|
586 |
+
'id' => 'ID',
|
587 |
+
'author' => 'post_author',
|
588 |
+
'date' => 'post_date',
|
589 |
+
'description' => 'post_content',
|
590 |
+
'content' => 'post_content',
|
591 |
+
'title' => 'post_title',
|
592 |
+
'caption' => 'post_excerpt',
|
593 |
+
'excerpt' => 'post_excerpt',
|
594 |
+
'slug' => 'post_name',
|
595 |
+
'name' => 'post_name',
|
596 |
+
'modified' => 'post_modified',
|
597 |
+
'parent' => 'post_parent',
|
598 |
+
'menu_order' => 'menu_order',
|
599 |
+
'mime_type' => 'post_mime_type',
|
600 |
+
'comment_count' => 'post_content',
|
601 |
+
'rand' => 'RAND()',
|
602 |
+
);
|
603 |
+
}
|
604 |
+
|
605 |
+
if ( empty( $orderby ) ) {
|
606 |
+
if ( ! empty( $allowed_keys['empty_orderby_default'] ) ) {
|
607 |
+
return 'ORDER BY ' . $table_prefix . $allowed_keys['empty_orderby_default'] . " {$order}";
|
608 |
+
} else {
|
609 |
+
return 'ORDER BY ' . "{$table_prefix}post_date {$order}";
|
610 |
+
}
|
611 |
+
} elseif ( 'none' == $orderby ) {
|
612 |
+
return '';
|
613 |
+
} elseif ( ! empty( $allowed_keys['explicit_orderby_field'] ) ) {
|
614 |
+
$explicit_field = $allowed_keys['explicit_orderby_field'];
|
615 |
+
if ( $orderby == $explicit_field ) {
|
616 |
+
if ( ! empty( $query_parameters[ $explicit_field ] ) ) {
|
617 |
+
$explicit_order = implode(',', array_map( 'absint', $query_parameters[ $explicit_field ] ) );
|
618 |
+
|
619 |
+
if ( ! empty( $explicit_order ) ) {
|
620 |
+
$explicit_column = $allowed_keys['explicit_orderby_column'];
|
621 |
+
return 'ORDER BY ' . "FIELD( {$table_prefix}{$explicit_column}, {$explicit_order} )";
|
622 |
+
} else {
|
623 |
+
return '';
|
624 |
+
}
|
625 |
+
}
|
626 |
+
}
|
627 |
+
}
|
628 |
+
|
629 |
+
if ( ! empty( $meta_key ) ) {
|
630 |
+
$allowed_keys[ $meta_key ] = "$wpdb->postmeta.meta_value";
|
631 |
+
$allowed_keys['meta_value'] = "$wpdb->postmeta.meta_value";
|
632 |
+
$allowed_keys['meta_value_num'] = "$wpdb->postmeta.meta_value+0";
|
633 |
+
}
|
634 |
+
|
635 |
+
$obmatches = preg_split('/\s*,\s*/', trim($query_parameters['orderby']));
|
636 |
+
foreach ( $obmatches as $index => $value ) {
|
637 |
+
$count = preg_match('/([a-z0-9_]+)(\s+(ASC|DESC))?/i', $value, $matches);
|
638 |
+
if ( $count && ( $value == $matches[0] ) ) {
|
639 |
+
$matches[1] = strtolower( $matches[1] );
|
640 |
+
if ( isset( $matches[2] ) ) {
|
641 |
+
$matches[2] = strtoupper( $matches[2] );
|
642 |
+
}
|
643 |
+
|
644 |
+
if ( array_key_exists( $matches[1], $allowed_keys ) ) {
|
645 |
+
if ( ( 'rand' == $matches[1] ) || ( 'random' == $matches[1] ) ){
|
646 |
+
$results[] = 'RAND()';
|
647 |
+
} else {
|
648 |
+
switch ( $matches[1] ) {
|
649 |
+
case $meta_key:
|
650 |
+
case 'meta_value':
|
651 |
+
$matches[1] = "$wpdb->postmeta.meta_value";
|
652 |
+
break;
|
653 |
+
case 'meta_value_num':
|
654 |
+
$matches[1] = "$wpdb->postmeta.meta_value+0";
|
655 |
+
break;
|
656 |
+
default:
|
657 |
+
if ( in_array( $matches[1], $binary_keys ) ) {
|
658 |
+
$matches[1] = 'BINARY ' . $table_prefix . $allowed_keys[ $matches[1] ];
|
659 |
+
} else {
|
660 |
+
$matches[1] = $table_prefix . $allowed_keys[ $matches[1] ];
|
661 |
+
}
|
662 |
+
} // switch $matches[1]
|
663 |
+
|
664 |
+
$results[] = isset( $matches[2] ) ? $matches[1] . $matches[2] : $matches[1] . $order;
|
665 |
+
} // not 'rand'
|
666 |
+
} // allowed key
|
667 |
+
} // valid column specification
|
668 |
+
} // foreach $obmatches
|
669 |
+
|
670 |
+
$orderby = implode( ', ', $results );
|
671 |
+
if ( empty( $orderby ) ) {
|
672 |
+
return false;
|
673 |
+
}
|
674 |
+
|
675 |
+
return 'ORDER BY ' . $orderby;
|
676 |
+
}
|
677 |
+
|
678 |
/**
|
679 |
* Custom query support function, taxonomy terms plus post_mime_type and orderby/order fields
|
680 |
*
|
705 |
*
|
706 |
* The subquery is on taxonomy and term(s) only, yielding a list of object_id
|
707 |
* (post ID) values.
|
708 |
+
*
|
709 |
* The main query filters the list by post_mime_type and/or keyword search, orders
|
710 |
* it and paginates it.
|
711 |
*/
|
718 |
$my_query_vars = shortcode_parse_atts( $my_query_vars );
|
719 |
}
|
720 |
|
721 |
+
self::_find_ttids( $my_query_vars, $ttids, $exclude_ttids );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
722 |
|
723 |
// Build an array of SQL clauses for the term_relationships query
|
724 |
$subquery = array();
|
733 |
$subquery_parameters[] = $ttid;
|
734 |
}
|
735 |
} else {
|
736 |
+
// Both includes and excludes are empty; return nothing
|
737 |
+
if ( empty( $exclude_ttids ) ) {
|
738 |
$placeholders[] = '%s';
|
739 |
$subquery_parameters[] = '0';
|
740 |
+
}
|
741 |
+
}
|
742 |
+
|
743 |
+
if ( empty( $placeholders ) ) {
|
744 |
+
// No includes, only excludes
|
745 |
+
$subquery[] = 'WHERE ( 1=1';
|
746 |
+
} else {
|
747 |
+
$subquery[] = 'WHERE ( tr.term_taxonomy_id IN (' . join( ',', $placeholders ) . ')';
|
748 |
+
}
|
749 |
+
|
750 |
+
if ( !empty( $exclude_ttids ) ) {
|
751 |
+
$placeholders = array();
|
752 |
+
foreach ( $exclude_ttids as $ttid ) {
|
753 |
+
$placeholders[] = '%s';
|
754 |
+
$subquery_parameters[] = $ttid;
|
755 |
+
}
|
756 |
+
|
757 |
+
// Build the excludes as a sub query
|
758 |
+
$subquery[] = 'AND tr.object_id NOT IN (';
|
759 |
+
$subquery[] = "SELECT DISTINCT object_id FROM {$wpdb->term_relationships}";
|
760 |
+
$subquery[] = 'WHERE ( term_taxonomy_id IN (' . join( ',', $placeholders ) . ') ) )';
|
761 |
}
|
762 |
|
763 |
+
$subquery[] = ')';
|
764 |
+
|
765 |
$subquery = join(' ', $subquery);
|
766 |
|
767 |
// Build an array of SQL clauses for the posts query
|
805 |
// Close the WHERE clause
|
806 |
$query[] = ')';
|
807 |
|
808 |
+
// ORDER BY clause
|
809 |
+
$orderby = self::_validate_sql_orderby( $my_query_vars, 'p.' );
|
810 |
+
if ( ! empty( $orderby ) ) {
|
811 |
+
$query[] = $orderby;
|
|
|
|
|
|
|
812 |
}
|
813 |
+
|
814 |
+
// Tell the final query to respect our orderby
|
815 |
$all_query_parameters['orderby'] = 'post__in';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
816 |
$all_query_parameters['order'] = 'ASC';
|
817 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
818 |
if ( ! $is_pagination ) {
|
819 |
/*
|
820 |
* Add pagination to our query, then remove it from the query
|
898 |
} // double_query
|
899 |
} // Class MLATaxQueryExample
|
900 |
|
901 |
+
// Install the filters at an early opportunity
|
|
|
|
|
902 |
add_action('init', 'MLATaxQueryExample::initialize');
|
903 |
?>
|
examples/plugins/smart-media-categories/admin/class-smart-media-categories-admin.php
CHANGED
@@ -344,34 +344,34 @@ if ( 'heartbeat' != $_REQUEST['action'] ) {
|
|
344 |
$screen = get_current_screen();
|
345 |
//error_log( __LINE__ . ' Smart_Media_Categories_Admin::action_load_edit_php $screen = ' . var_export( $screen, true ), 0 );
|
346 |
|
347 |
-
$
|
348 |
-
|
349 |
-
if ( 0 === strpos( $screen->id, 'edit-' ) ) {
|
350 |
-
$this->current_edit_type = substr( $screen->id, 5 );
|
351 |
-
$is_smc_type = SMC_Settings_Support::is_smc_post_type( $this->current_edit_type );
|
352 |
-
}
|
353 |
-
|
354 |
-
if ( $is_smc_type ) {}
|
355 |
/*
|
356 |
-
* Add the "Smart Media" action to the Posts/All Posts submenu rollover actions
|
357 |
-
* Add the "Children" column to the Posts/All Posts and Pages/All Pages submenus
|
358 |
* filters/actions are in /wp-admin/includes/class-wp-posts-list-table.php
|
359 |
* filter "views_{$this->screen->id}" is in /wp-admin/includes/class-wp-list-table.php
|
360 |
*/
|
361 |
-
|
362 |
-
|
363 |
-
|
364 |
-
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
375 |
}
|
376 |
|
377 |
/**
|
344 |
$screen = get_current_screen();
|
345 |
//error_log( __LINE__ . ' Smart_Media_Categories_Admin::action_load_edit_php $screen = ' . var_export( $screen, true ), 0 );
|
346 |
|
347 |
+
$this->current_edit_type = isset( $screen->post_type ) ? $screen->post_type : 'post';
|
348 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
349 |
/*
|
|
|
|
|
350 |
* filters/actions are in /wp-admin/includes/class-wp-posts-list-table.php
|
351 |
* filter "views_{$this->screen->id}" is in /wp-admin/includes/class-wp-list-table.php
|
352 |
*/
|
353 |
+
if ( 'page' === $this->current_edit_type ) {
|
354 |
+
// Add the "Children" column to the Pages/All Pages submenus
|
355 |
+
add_filter( "manage_pages_columns", array( $this, 'filter_manage_pages_columns' ), 10, 1 );
|
356 |
+
add_action( "manage_pages_custom_column", array( $this, 'action_manage_pages_custom_column' ), 10, 2 );
|
357 |
+
} elseif ( SMC_Settings_Support::is_smc_post_type( $this->current_edit_type ) ) {
|
358 |
+
// Add the Sync and Unsync views to the Posts/All Posts submenu
|
359 |
+
add_filter( "views_edit-{$this->current_edit_type}", array( $this, 'filter_views_edit_post' ), 10, 1 );
|
360 |
+
|
361 |
+
// Add the Smart Media rollover action to the Posts/All Posts items
|
362 |
+
add_filter( "post_row_actions", array( $this, 'filter_post_row_actions' ), 10, 2 );
|
363 |
+
|
364 |
+
// Add the "Children" column to the Posts/All Posts and Pages/All Pages submenus
|
365 |
+
add_filter( "manage_posts_columns", array( $this, 'filter_manage_posts_columns' ), 10, 1 );
|
366 |
+
add_action( "manage_posts_custom_column", array( $this, 'action_manage_posts_custom_column' ), 10, 2 );
|
367 |
+
|
368 |
+
// Add support for filtering on Sync/Unsync status
|
369 |
+
add_filter( 'posts_clauses', array( $this, 'filter_posts_clauses' ), 10, 2 );
|
370 |
+
|
371 |
+
if ( isset( $_REQUEST['smc_message'] ) ) {
|
372 |
+
add_filter( 'bulk_post_updated_messages', array( $this, 'filter_bulk_post_updated_messages' ), 10, 2 );
|
373 |
+
}
|
374 |
+
} // is_smc_post_type
|
375 |
}
|
376 |
|
377 |
/**
|
examples/plugins/smart-media-categories/admin/views/smc-admin.php
CHANGED
@@ -15,7 +15,6 @@
|
|
15 |
|
16 |
<div class="wrap">
|
17 |
|
18 |
-
<?php screen_icon(); ?>
|
19 |
<h2><?php echo esc_html( get_admin_page_title() ); ?></h2>
|
20 |
<?php settings_errors(); ?>
|
21 |
|
15 |
|
16 |
<div class="wrap">
|
17 |
|
|
|
18 |
<h2><?php echo esc_html( get_admin_page_title() ); ?></h2>
|
19 |
<?php settings_errors(); ?>
|
20 |
|
examples/plugins/smart-media-categories/smart-media-categories.php
CHANGED
@@ -14,7 +14,7 @@
|
|
14 |
* Plugin Name: Smart Media Categories
|
15 |
* Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
|
16 |
* Description: Assigns taxonomy terms to Media Library items based on the terms of their parent post/page.
|
17 |
-
* Version: 1.1.
|
18 |
* Author: David Lingren
|
19 |
* Author URI: http://fairtradejudaica.org/our-story/staff/
|
20 |
* Text Domain: smart-media-categories
|
14 |
* Plugin Name: Smart Media Categories
|
15 |
* Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
|
16 |
* Description: Assigns taxonomy terms to Media Library items based on the terms of their parent post/page.
|
17 |
+
* Version: 1.1.2
|
18 |
* Author: David Lingren
|
19 |
* Author URI: http://fairtradejudaica.org/our-story/staff/
|
20 |
* Text Domain: smart-media-categories
|
includes/class-mla-ajax.php
CHANGED
@@ -33,6 +33,12 @@ class MLA_Ajax {
|
|
33 |
*/
|
34 |
public static function initialize() {
|
35 |
add_action( 'admin_init', 'MLA_Ajax::mla_admin_init_action' );
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
}
|
37 |
|
38 |
/**
|
@@ -44,16 +50,15 @@ class MLA_Ajax {
|
|
44 |
public static function mla_admin_init_action( ) {
|
45 |
$ajax_only = var_export( self::$ajax_only, true );
|
46 |
|
47 |
-
//error_log( __LINE__ . "
|
48 |
-
//error_log( __LINE__ . "
|
|
|
49 |
if ( $_REQUEST['action'] !== 'heartbeat' ) {
|
50 |
-
//error_log( __LINE__ . "
|
51 |
MLACore::mla_debug_add( __LINE__ . " MLA_Ajax::mla_admin_init_action( {$ajax_only} ) \$_REQUEST = " . var_export( $_REQUEST, true ), MLACore::MLA_DEBUG_CATEGORY_AJAX );
|
52 |
}
|
53 |
|
54 |
-
|
55 |
-
* If there's no action variable, we have nothing more to do
|
56 |
-
*/
|
57 |
if ( ! isset( $_POST['action'] ) ) {
|
58 |
return;
|
59 |
}
|
@@ -133,6 +138,58 @@ class MLA_Ajax {
|
|
133 |
$x->send();
|
134 |
} // _mla_ajax_add_flat_term
|
135 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
136 |
/**
|
137 |
* Ajax handler to fetch candidates for the "Set Parent" popup window
|
138 |
*
|
33 |
*/
|
34 |
public static function initialize() {
|
35 |
add_action( 'admin_init', 'MLA_Ajax::mla_admin_init_action' );
|
36 |
+
|
37 |
+
// Defined here because the "admin_init" action is not called for item transfers
|
38 |
+
if ( ( defined('DOING_AJAX') && DOING_AJAX ) && ( 'mla_named_transfer' == $_REQUEST['action'] ) ) {
|
39 |
+
add_action( 'wp_ajax_' . 'mla_named_transfer', 'MLA_Ajax::mla_named_transfer_ajax_action' );
|
40 |
+
add_action( 'wp_ajax_nopriv_' . 'mla_named_transfer', 'MLA_Ajax::mla_named_transfer_ajax_action' );
|
41 |
+
}
|
42 |
}
|
43 |
|
44 |
/**
|
50 |
public static function mla_admin_init_action( ) {
|
51 |
$ajax_only = var_export( self::$ajax_only, true );
|
52 |
|
53 |
+
//error_log( __LINE__ . " MLA_Ajax::mla_admin_init_action( {$ajax_only} ) \$_REQUEST = " . var_export( $_REQUEST, true ), 0 );
|
54 |
+
//error_log( __LINE__ . " MLA_Ajax::mla_admin_init_action( {$ajax_only} ) \$_POST = " . var_export( $_POST, true ), 0 );
|
55 |
+
//error_log( __LINE__ . " MLA_Ajax::mla_admin_init_action( {$ajax_only} ) \$_GET = " . var_export( $_GET, true ), 0 );
|
56 |
if ( $_REQUEST['action'] !== 'heartbeat' ) {
|
57 |
+
//error_log( __LINE__ . " MLA_Ajax::mla_admin_init_action( {$ajax_only} ) \$_REQUEST = " . var_export( $_REQUEST, true ), 0 );
|
58 |
MLACore::mla_debug_add( __LINE__ . " MLA_Ajax::mla_admin_init_action( {$ajax_only} ) \$_REQUEST = " . var_export( $_REQUEST, true ), MLACore::MLA_DEBUG_CATEGORY_AJAX );
|
59 |
}
|
60 |
|
61 |
+
// If there's no action variable, we have nothing more to do
|
|
|
|
|
62 |
if ( ! isset( $_POST['action'] ) ) {
|
63 |
return;
|
64 |
}
|
138 |
$x->send();
|
139 |
} // _mla_ajax_add_flat_term
|
140 |
|
141 |
+
/**
|
142 |
+
* Ajax handler to stream/view or download a Media Library item
|
143 |
+
*
|
144 |
+
* @since 2.63
|
145 |
+
*
|
146 |
+
* @return void echo HTML for file streaming or download, then exit()
|
147 |
+
*/
|
148 |
+
public static function mla_named_transfer_ajax_action() {
|
149 |
+
if ( !class_exists( 'MLAFileDownloader' ) ) {
|
150 |
+
require_once( pathinfo( __FILE__, PATHINFO_DIRNAME ) . '/class-mla-file-downloader.php' );
|
151 |
+
}
|
152 |
+
|
153 |
+
$download_args = array();
|
154 |
+
|
155 |
+
if ( empty( $_REQUEST['mla_item'] ) ) {
|
156 |
+
$download_args['error'] = 'ERROR: mla_item argument not set.';
|
157 |
+
} else {
|
158 |
+
$item_name = $_REQUEST['mla_item'];
|
159 |
+
$args = array(
|
160 |
+
'name' => $item_name,
|
161 |
+
'post_type' => 'attachment',
|
162 |
+
'post_status' => 'inherit',
|
163 |
+
'posts_per_page' => 1
|
164 |
+
);
|
165 |
+
|
166 |
+
$items = get_posts( $args );
|
167 |
+
|
168 |
+
if( $items ) {
|
169 |
+
$file = get_attached_file( $items[0]->ID );
|
170 |
+
if ( !empty( $file ) ) {
|
171 |
+
$download_args['mla_download_file'] = $file;
|
172 |
+
$download_args['mla_download_type'] = $items[0]->post_mime_type;
|
173 |
+
|
174 |
+
if ( !empty( $_REQUEST['mla_disposition'] ) ) {
|
175 |
+
$download_args['mla_disposition'] = $_REQUEST['mla_disposition'];
|
176 |
+
}
|
177 |
+
} else {
|
178 |
+
$download_args['error'] = 'ERROR: mla_item no attached file.';
|
179 |
+
}
|
180 |
+
} else {
|
181 |
+
$download_args['error'] = 'ERROR: mla_item not found.';
|
182 |
+
}
|
183 |
+
}
|
184 |
+
|
185 |
+
MLAFileDownloader::$mla_debug = isset( $_REQUEST['mla_debug'] ) && 'log' == $_REQUEST['mla_debug'];
|
186 |
+
MLAFileDownloader::mla_process_download_file( $download_args );
|
187 |
+
|
188 |
+
MLACore::mla_debug_add( __LINE__ . " MLA_Ajax::mla_named_transfer_ajax_action failed. \$_REQUEST = " . var_export( $_REQUEST, true ), MLACore::MLA_DEBUG_CATEGORY_AJAX );
|
189 |
+
echo "MLA_Ajax::mla_named_transfer_ajax_action failed.";
|
190 |
+
die();
|
191 |
+
} // mla_named_transfer_ajax_action
|
192 |
+
|
193 |
/**
|
194 |
* Ajax handler to fetch candidates for the "Set Parent" popup window
|
195 |
*
|
includes/class-mla-core-options.php
CHANGED
@@ -312,6 +312,16 @@ class MLACoreOptions {
|
|
312 |
*/
|
313 |
const MLA_ENABLE_MLA_ICONS = 'enable_mla_icons';
|
314 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
315 |
/**
|
316 |
* Provides a unique name for the Debug display limit option
|
317 |
*/
|
@@ -900,10 +910,10 @@ class MLACoreOptions {
|
|
900 |
'delete' => 'mla_attachment_display_settings_option_handler',
|
901 |
'reset' => 'mla_attachment_display_settings_option_handler'),
|
902 |
|
903 |
-
'
|
904 |
array('tab' => 'general',
|
905 |
'name' => __( 'Uninstall (Delete) Plugin Settings', 'media-library-assistant' ),
|
906 |
-
'type' => '
|
907 |
|
908 |
self::MLA_DELETE_OPTION_SETTINGS =>
|
909 |
array('tab' => 'general',
|
@@ -1069,6 +1079,13 @@ class MLACoreOptions {
|
|
1069 |
'type' => 'hidden',
|
1070 |
'std' => array()),
|
1071 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1072 |
'enable_custom_field_mapping' =>
|
1073 |
array('tab' => 'custom_field',
|
1074 |
'name' => __( 'Enable custom field mapping when adding new media', 'media-library-assistant' ),
|
@@ -1093,6 +1110,13 @@ class MLACoreOptions {
|
|
1093 |
'delete' => 'mla_custom_field_option_handler',
|
1094 |
'reset' => 'mla_custom_field_option_handler'),
|
1095 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1096 |
'enable_iptc_exif_mapping' =>
|
1097 |
array('tab' => 'iptc_exif',
|
1098 |
'name' => __( 'Enable IPTC/EXIF Mapping when adding new media', 'media-library-assistant' ),
|
312 |
*/
|
313 |
const MLA_ENABLE_MLA_ICONS = 'enable_mla_icons';
|
314 |
|
315 |
+
/**
|
316 |
+
* Provides a unique name for the Enable Custom Field Mapping option
|
317 |
+
*/
|
318 |
+
const MLA_ALLOW_CUSTOM_FIELD_MAPPING = 'allow_custom_field_mapping';
|
319 |
+
|
320 |
+
/**
|
321 |
+
* Provides a unique name for the Enable IPTC/EXIF Mapping option
|
322 |
+
*/
|
323 |
+
const MLA_ALLOW_IPTC_EXIF_MAPPING = 'allow_iptc_exif_mapping';
|
324 |
+
|
325 |
/**
|
326 |
* Provides a unique name for the Debug display limit option
|
327 |
*/
|
910 |
'delete' => 'mla_attachment_display_settings_option_handler',
|
911 |
'reset' => 'mla_attachment_display_settings_option_handler'),
|
912 |
|
913 |
+
'uninstall_plugin_header' =>
|
914 |
array('tab' => 'general',
|
915 |
'name' => __( 'Uninstall (Delete) Plugin Settings', 'media-library-assistant' ),
|
916 |
+
'type' => 'header'),
|
917 |
|
918 |
self::MLA_DELETE_OPTION_SETTINGS =>
|
919 |
array('tab' => 'general',
|
1079 |
'type' => 'hidden',
|
1080 |
'std' => array()),
|
1081 |
|
1082 |
+
self::MLA_ALLOW_CUSTOM_FIELD_MAPPING =>
|
1083 |
+
array('tab' => 'custom_field',
|
1084 |
+
'name' => __( 'Enable custom field mapping', 'media-library-assistant' ),
|
1085 |
+
'type' => 'checkbox',
|
1086 |
+
'std' => 'checked',
|
1087 |
+
'help' => __( 'See Help menu.', 'media-library-assistant' )),
|
1088 |
+
|
1089 |
'enable_custom_field_mapping' =>
|
1090 |
array('tab' => 'custom_field',
|
1091 |
'name' => __( 'Enable custom field mapping when adding new media', 'media-library-assistant' ),
|
1110 |
'delete' => 'mla_custom_field_option_handler',
|
1111 |
'reset' => 'mla_custom_field_option_handler'),
|
1112 |
|
1113 |
+
self::MLA_ALLOW_IPTC_EXIF_MAPPING =>
|
1114 |
+
array('tab' => 'iptc_exif',
|
1115 |
+
'name' => __( 'Enable IPTC/EXIF Mapping', 'media-library-assistant' ),
|
1116 |
+
'type' => 'checkbox',
|
1117 |
+
'std' => 'checked',
|
1118 |
+
'help' => __( 'See Help menu.', 'media-library-assistant' )),
|
1119 |
+
|
1120 |
'enable_iptc_exif_mapping' =>
|
1121 |
array('tab' => 'iptc_exif',
|
1122 |
'name' => __( 'Enable IPTC/EXIF Mapping when adding new media', 'media-library-assistant' ),
|
includes/class-mla-core.php
CHANGED
@@ -21,7 +21,7 @@ class MLACore {
|
|
21 |
*
|
22 |
* @var string
|
23 |
*/
|
24 |
-
const CURRENT_MLA_VERSION = '2.
|
25 |
|
26 |
/**
|
27 |
* Slug for registering and enqueueing plugin style sheets (moved from class-mla-main.php)
|
@@ -95,6 +95,15 @@ class MLACore {
|
|
95 |
*/
|
96 |
const MLA_DEBUG_CATEGORY_METADATA = 0x00000010;
|
97 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
98 |
/**
|
99 |
* Slug for adding plugin submenu
|
100 |
*
|
@@ -352,7 +361,7 @@ class MLACore {
|
|
352 |
if ( 'disabled' == MLACore::mla_get_option( MLACoreOptions::MLA_MLA_GALLERY_IN_TUNING ) ) {
|
353 |
MLACore::$process_mla_gallery_in = false;
|
354 |
}
|
355 |
-
|
356 |
/*
|
357 |
* Look for redirects from the Media/Edit Media screen when it was picked from the
|
358 |
* "Edit" rollover action on the Media/Assistant submenu
|
@@ -369,11 +378,11 @@ class MLACore {
|
|
369 |
$image_default_align = get_option( 'image_default_align' );
|
370 |
$image_default_link_type = get_option( 'image_default_link_type' );
|
371 |
$image_default_size = get_option( 'image_default_size' );
|
372 |
-
|
373 |
if ( ! ( empty( $image_default_align ) && empty( $image_default_link_type ) && empty( $image_default_size ) ) ) {
|
374 |
$user_id = get_current_user_id();
|
375 |
$not_super_admin = ! (is_super_admin() && ! is_user_member_of_blog() );
|
376 |
-
|
377 |
if ( $user_id && $not_super_admin ) {
|
378 |
if ( isset( $_COOKIE['wp-settings-' . $user_id] ) ) {
|
379 |
$cookie = preg_replace( '/[^A-Za-z0-9=&_]/', '', $_COOKIE['wp-settings-' . $user_id] );
|
@@ -414,7 +423,7 @@ class MLACore {
|
|
414 |
}
|
415 |
}
|
416 |
} // MLA_MEDIA_MODAL_APPLY_DISPLAY_SETTINGS
|
417 |
-
|
418 |
// Hook wp_enqueue_media() so we can add MLA enhancements, if requested
|
419 |
if ( 'checked' == MLACore::mla_get_option( MLACoreOptions::MLA_MEDIA_MODAL_TOOLBAR ) ) {
|
420 |
add_filter( 'media_view_settings', 'MLACore::mla_media_view_settings_filter', 10, 2 );
|
@@ -507,11 +516,11 @@ class MLACore {
|
|
507 |
*/
|
508 |
public static function wpml_unset_lang_admin_bar( $suppress_all_languages ) {
|
509 |
global $pagenow, $mode;
|
510 |
-
|
511 |
//error_log( __LINE__ . " wpml_unset_lang_admin_bar( {$pagenow}, {$mode}, {$suppress_all_languages} ) returning " . var_export( $pagenow === 'upload.php' && $mode === 'grid', true ), 0 );
|
512 |
return $pagenow === 'upload.php' && $mode === 'grid';
|
513 |
}
|
514 |
-
|
515 |
/**
|
516 |
* Load a plugin text domain and alternate debug file
|
517 |
*
|
@@ -535,9 +544,7 @@ class MLACore {
|
|
535 |
load_textdomain( $text_domain, trailingslashit( WP_LANG_DIR ) . $text_domain . '/' . $text_domain . '-' . $locale . '.mo' );
|
536 |
load_plugin_textdomain( $text_domain, false, MLA_PLUGIN_BASENAME . '/languages/' );
|
537 |
|
538 |
-
|
539 |
-
* This must/will be repeated in class-mla-tests.php to reflect translations
|
540 |
-
*/
|
541 |
MLACoreOptions::mla_localize_option_definitions_array();
|
542 |
|
543 |
MLACore::$original_php_log = ini_get( 'error_log' );
|
@@ -545,16 +552,12 @@ class MLACore {
|
|
545 |
|
546 |
// Do not process debug options unless MLA_DEBUG_LEVEL is set in wp-config.php
|
547 |
if ( MLA_DEBUG_LEVEL & 1 ) {
|
548 |
-
|
549 |
-
* Set up alternate MLA debug log file
|
550 |
-
*/
|
551 |
$error_log_name = MLACore::mla_get_option( MLACoreOptions::MLA_DEBUG_FILE );
|
552 |
if ( ! empty( $error_log_name ) ) {
|
553 |
MLACore::mla_debug_file( $error_log_name );
|
554 |
|
555 |
-
|
556 |
-
* Override PHP error_log file
|
557 |
-
*/
|
558 |
if ( 'checked' === MLACore::mla_get_option( MLACoreOptions::MLA_DEBUG_REPLACE_PHP_LOG ) ) {
|
559 |
$result = ini_set('error_log', WP_CONTENT_DIR . self::$mla_debug_file );
|
560 |
}
|
@@ -564,7 +567,7 @@ class MLACore {
|
|
564 |
* PHP error_reporting must be done later in class-mla-tests.php
|
565 |
* Override MLA debug levels
|
566 |
*/
|
567 |
-
MLACore::$mla_debug_level = MLA_DEBUG_LEVEL;
|
568 |
$mla_reporting = trim( MLACore::mla_get_option( MLACoreOptions::MLA_DEBUG_REPLACE_LEVEL ) );
|
569 |
if ( strlen( $mla_reporting ) ) {
|
570 |
if ( ctype_digit( $mla_reporting ) ) {
|
@@ -575,10 +578,34 @@ class MLACore {
|
|
575 |
|
576 |
if ( $mla_reporting ) {
|
577 |
MLACore::$mla_debug_level = $mla_reporting | 1;
|
|
|
|
|
|
|
578 |
} else {
|
579 |
MLACore::$mla_debug_level = 0;
|
580 |
}
|
581 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
582 |
} // MLA_DEBUG_LEVEL & 1
|
583 |
}
|
584 |
|
@@ -644,7 +671,7 @@ class MLACore {
|
|
644 |
if ( empty( MLACoreOptions::$mla_option_definitions ) ) {
|
645 |
MLACoreOptions::mla_localize_option_definitions_array();
|
646 |
}
|
647 |
-
|
648 |
$option_table =& MLACoreOptions::$mla_option_definitions;
|
649 |
}
|
650 |
|
@@ -683,7 +710,7 @@ class MLACore {
|
|
683 |
if ( empty( MLACoreOptions::$mla_option_definitions ) ) {
|
684 |
MLACoreOptions::mla_localize_option_definitions_array();
|
685 |
}
|
686 |
-
|
687 |
$option_table =& MLACoreOptions::$mla_option_definitions;
|
688 |
}
|
689 |
|
@@ -693,7 +720,7 @@ class MLACore {
|
|
693 |
} else {
|
694 |
$autoload = true;
|
695 |
}
|
696 |
-
|
697 |
return update_option( MLA_OPTION_PREFIX . $option, $newvalue, $autoload );
|
698 |
}
|
699 |
|
@@ -715,7 +742,7 @@ class MLACore {
|
|
715 |
if ( empty( MLACoreOptions::$mla_option_definitions ) ) {
|
716 |
MLACoreOptions::mla_localize_option_definitions_array();
|
717 |
}
|
718 |
-
|
719 |
$option_table =& MLACoreOptions::$mla_option_definitions;
|
720 |
}
|
721 |
|
@@ -1101,7 +1128,13 @@ class MLACore {
|
|
1101 |
* @return array post_mime_type specification or custom field query
|
1102 |
*/
|
1103 |
public static function mla_prepare_view_query( $slug, $specification ) {
|
1104 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
1105 |
$specification = self::mla_parse_view_specification( $specification );
|
1106 |
if ( 'mime' == $specification['prefix'] ) {
|
1107 |
$query['post_mime_type'] = $specification['value'];
|
@@ -1113,9 +1146,7 @@ class MLACore {
|
|
1113 |
foreach ( (array) $patterns as $pattern ) {
|
1114 |
$pattern = preg_replace( '/\*+/', '%', $pattern );
|
1115 |
if ( false !== strpos( $pattern, '%' ) ) {
|
1116 |
-
|
1117 |
-
* Preserve the pattern - it will be used in the "where" filter
|
1118 |
-
*/
|
1119 |
$meta_query['patterns'][] = $pattern;
|
1120 |
$meta_query[] = array( 'key' => $specification['name'], 'value' => $pattern, 'compare' => 'LIKE' );
|
1121 |
} else {
|
@@ -1583,7 +1614,7 @@ class MLACore {
|
|
1583 |
break;
|
1584 |
}
|
1585 |
}
|
1586 |
-
|
1587 |
/**
|
1588 |
* Admin Columns support storage model object for the Media/Assistant submenu
|
1589 |
*
|
@@ -1622,7 +1653,7 @@ class MLACore {
|
|
1622 |
$new_models[ $key ] = $model;
|
1623 |
}
|
1624 |
}
|
1625 |
-
|
1626 |
/*
|
1627 |
* If we didn't find wp-media, add our entry to the end
|
1628 |
*/
|
@@ -1632,7 +1663,7 @@ class MLACore {
|
|
1632 |
|
1633 |
return $new_models;
|
1634 |
}
|
1635 |
-
|
1636 |
/**
|
1637 |
* Set MLA-specific inline editing strategy
|
1638 |
*
|
21 |
*
|
22 |
* @var string
|
23 |
*/
|
24 |
+
const CURRENT_MLA_VERSION = '2.65';
|
25 |
|
26 |
/**
|
27 |
* Slug for registering and enqueueing plugin style sheets (moved from class-mla-main.php)
|
95 |
*/
|
96 |
const MLA_DEBUG_CATEGORY_METADATA = 0x00000010;
|
97 |
|
98 |
+
/**
|
99 |
+
* Constant to log WP REST activity
|
100 |
+
*
|
101 |
+
* @since 2.41
|
102 |
+
*
|
103 |
+
* @var integer
|
104 |
+
*/
|
105 |
+
const MLA_DEBUG_CATEGORY_REST = 0x00000020;
|
106 |
+
|
107 |
/**
|
108 |
* Slug for adding plugin submenu
|
109 |
*
|
361 |
if ( 'disabled' == MLACore::mla_get_option( MLACoreOptions::MLA_MLA_GALLERY_IN_TUNING ) ) {
|
362 |
MLACore::$process_mla_gallery_in = false;
|
363 |
}
|
364 |
+
|
365 |
/*
|
366 |
* Look for redirects from the Media/Edit Media screen when it was picked from the
|
367 |
* "Edit" rollover action on the Media/Assistant submenu
|
378 |
$image_default_align = get_option( 'image_default_align' );
|
379 |
$image_default_link_type = get_option( 'image_default_link_type' );
|
380 |
$image_default_size = get_option( 'image_default_size' );
|
381 |
+
|
382 |
if ( ! ( empty( $image_default_align ) && empty( $image_default_link_type ) && empty( $image_default_size ) ) ) {
|
383 |
$user_id = get_current_user_id();
|
384 |
$not_super_admin = ! (is_super_admin() && ! is_user_member_of_blog() );
|
385 |
+
|
386 |
if ( $user_id && $not_super_admin ) {
|
387 |
if ( isset( $_COOKIE['wp-settings-' . $user_id] ) ) {
|
388 |
$cookie = preg_replace( '/[^A-Za-z0-9=&_]/', '', $_COOKIE['wp-settings-' . $user_id] );
|
423 |
}
|
424 |
}
|
425 |
} // MLA_MEDIA_MODAL_APPLY_DISPLAY_SETTINGS
|
426 |
+
|
427 |
// Hook wp_enqueue_media() so we can add MLA enhancements, if requested
|
428 |
if ( 'checked' == MLACore::mla_get_option( MLACoreOptions::MLA_MEDIA_MODAL_TOOLBAR ) ) {
|
429 |
add_filter( 'media_view_settings', 'MLACore::mla_media_view_settings_filter', 10, 2 );
|
516 |
*/
|
517 |
public static function wpml_unset_lang_admin_bar( $suppress_all_languages ) {
|
518 |
global $pagenow, $mode;
|
519 |
+
|
520 |
//error_log( __LINE__ . " wpml_unset_lang_admin_bar( {$pagenow}, {$mode}, {$suppress_all_languages} ) returning " . var_export( $pagenow === 'upload.php' && $mode === 'grid', true ), 0 );
|
521 |
return $pagenow === 'upload.php' && $mode === 'grid';
|
522 |
}
|
523 |
+
|
524 |
/**
|
525 |
* Load a plugin text domain and alternate debug file
|
526 |
*
|
544 |
load_textdomain( $text_domain, trailingslashit( WP_LANG_DIR ) . $text_domain . '/' . $text_domain . '-' . $locale . '.mo' );
|
545 |
load_plugin_textdomain( $text_domain, false, MLA_PLUGIN_BASENAME . '/languages/' );
|
546 |
|
547 |
+
// This must/will be repeated in class-mla-tests.php to reflect translations
|
|
|
|
|
548 |
MLACoreOptions::mla_localize_option_definitions_array();
|
549 |
|
550 |
MLACore::$original_php_log = ini_get( 'error_log' );
|
552 |
|
553 |
// Do not process debug options unless MLA_DEBUG_LEVEL is set in wp-config.php
|
554 |
if ( MLA_DEBUG_LEVEL & 1 ) {
|
555 |
+
// Set up alternate MLA debug log file
|
|
|
|
|
556 |
$error_log_name = MLACore::mla_get_option( MLACoreOptions::MLA_DEBUG_FILE );
|
557 |
if ( ! empty( $error_log_name ) ) {
|
558 |
MLACore::mla_debug_file( $error_log_name );
|
559 |
|
560 |
+
// Override PHP error_log file
|
|
|
|
|
561 |
if ( 'checked' === MLACore::mla_get_option( MLACoreOptions::MLA_DEBUG_REPLACE_PHP_LOG ) ) {
|
562 |
$result = ini_set('error_log', WP_CONTENT_DIR . self::$mla_debug_file );
|
563 |
}
|
567 |
* PHP error_reporting must be done later in class-mla-tests.php
|
568 |
* Override MLA debug levels
|
569 |
*/
|
570 |
+
MLACore::$mla_debug_level = 0; // MLA_DEBUG_LEVEL;
|
571 |
$mla_reporting = trim( MLACore::mla_get_option( MLACoreOptions::MLA_DEBUG_REPLACE_LEVEL ) );
|
572 |
if ( strlen( $mla_reporting ) ) {
|
573 |
if ( ctype_digit( $mla_reporting ) ) {
|
578 |
|
579 |
if ( $mla_reporting ) {
|
580 |
MLACore::$mla_debug_level = $mla_reporting | 1;
|
581 |
+
if ( class_exists( 'MLA' ) ) {
|
582 |
+
MLACore::mla_debug_add( __LINE__ . sprintf( ' MLACore::mla_plugins_loaded_action() MLA %s (%s) mla_debug_level 0x%X', MLACore::CURRENT_MLA_VERSION, MLA::MLA_DEVELOPMENT_VERSION, MLACore::$mla_debug_level, true ), MLACore::MLA_DEBUG_CATEGORY_ANY );
|
583 |
+
}
|
584 |
} else {
|
585 |
MLACore::$mla_debug_level = 0;
|
586 |
}
|
587 |
}
|
588 |
+
|
589 |
+
// Check for XMLPRC, WP REST API and front end requests
|
590 |
+
if( !( defined('WP_ADMIN') && WP_ADMIN ) ) {
|
591 |
+
// XMLRPC requests need everything loaded to process uploads
|
592 |
+
if ( defined('XMLRPC_REQUEST') && XMLRPC_REQUEST ) {
|
593 |
+
MLACore::mla_debug_add( __LINE__ . " MLACore::mla_plugins_loaded_action() XMLRPC_REQUEST \$_REQUEST = " . var_export( $_REQUEST, true ), MLACore::MLA_DEBUG_CATEGORY_ANY );
|
594 |
+
}
|
595 |
+
|
596 |
+
// WP REST API calls need everything loaded to process uploads
|
597 |
+
if ( isset( $_SERVER['REQUEST_URI'] ) && 0 === strpos( $_SERVER['REQUEST_URI'], '/wp-json/' ) ) {
|
598 |
+
MLACore::mla_debug_add( __LINE__ . " MLACore::mla_plugins_loaded_action() wp-json REQUEST_URI = " . var_export( $_SERVER['REQUEST_URI'], true ), MLACore::MLA_DEBUG_CATEGORY_REST );
|
599 |
+
//MLACore::mla_debug_add( __LINE__ . " MLACore::mla_plugins_loaded_action() wp-json _GET = " . var_export( $_GET, true ), MLACore::MLA_DEBUG_CATEGORY_REST );
|
600 |
+
//MLACore::mla_debug_add( __LINE__ . " MLACore::mla_plugins_loaded_action() wp-json _POST = " . var_export( $_POST, true ), MLACore::MLA_DEBUG_CATEGORY_REST );
|
601 |
+
MLACore::mla_debug_add( __LINE__ . " MLACore::mla_plugins_loaded_action() wp-json _REQUEST = " . var_export( $_REQUEST, true ), MLACore::MLA_DEBUG_CATEGORY_REST );
|
602 |
+
MLACore::mla_debug_add( __LINE__ . " MLACore::mla_plugins_loaded_action() wp-json _COOKIE = " . var_export( $_COOKIE, true ), MLACore::MLA_DEBUG_CATEGORY_REST );
|
603 |
+
if ( function_exists( 'apache_request_headers' ) ) {
|
604 |
+
MLACore::mla_debug_add( __LINE__ . " MLACore::mla_plugins_loaded_action() wp-json MLAOptions apache_request_headers = " . var_export( apache_request_headers(), true ), MLACore::MLA_DEBUG_CATEGORY_REST );
|
605 |
+
}
|
606 |
+
MLACore::mla_debug_add( __LINE__ . " MLACore::mla_plugins_loaded_action() wp-json MLAOptions exists = " . var_export( class_exists( 'MLAOptions' ), true ), MLACore::MLA_DEBUG_CATEGORY_REST );
|
607 |
+
}
|
608 |
+
} // not admin
|
609 |
} // MLA_DEBUG_LEVEL & 1
|
610 |
}
|
611 |
|
671 |
if ( empty( MLACoreOptions::$mla_option_definitions ) ) {
|
672 |
MLACoreOptions::mla_localize_option_definitions_array();
|
673 |
}
|
674 |
+
|
675 |
$option_table =& MLACoreOptions::$mla_option_definitions;
|
676 |
}
|
677 |
|
710 |
if ( empty( MLACoreOptions::$mla_option_definitions ) ) {
|
711 |
MLACoreOptions::mla_localize_option_definitions_array();
|
712 |
}
|
713 |
+
|
714 |
$option_table =& MLACoreOptions::$mla_option_definitions;
|
715 |
}
|
716 |
|
720 |
} else {
|
721 |
$autoload = true;
|
722 |
}
|
723 |
+
|
724 |
return update_option( MLA_OPTION_PREFIX . $option, $newvalue, $autoload );
|
725 |
}
|
726 |
|
742 |
if ( empty( MLACoreOptions::$mla_option_definitions ) ) {
|
743 |
MLACoreOptions::mla_localize_option_definitions_array();
|
744 |
}
|
745 |
+
|
746 |
$option_table =& MLACoreOptions::$mla_option_definitions;
|
747 |
}
|
748 |
|
1128 |
* @return array post_mime_type specification or custom field query
|
1129 |
*/
|
1130 |
public static function mla_prepare_view_query( $slug, $specification ) {
|
1131 |
+
// For this query we don't need to cache anything, since we won't access the items themselves
|
1132 |
+
$query = array (
|
1133 |
+
'cache_results' => 'false',
|
1134 |
+
'update_post_meta_cache' => 'false',
|
1135 |
+
'update_post_term_cache' => 'false',
|
1136 |
+
);
|
1137 |
+
|
1138 |
$specification = self::mla_parse_view_specification( $specification );
|
1139 |
if ( 'mime' == $specification['prefix'] ) {
|
1140 |
$query['post_mime_type'] = $specification['value'];
|
1146 |
foreach ( (array) $patterns as $pattern ) {
|
1147 |
$pattern = preg_replace( '/\*+/', '%', $pattern );
|
1148 |
if ( false !== strpos( $pattern, '%' ) ) {
|
1149 |
+
// Preserve the pattern - it will be used in the "where" filter
|
|
|
|
|
1150 |
$meta_query['patterns'][] = $pattern;
|
1151 |
$meta_query[] = array( 'key' => $specification['name'], 'value' => $pattern, 'compare' => 'LIKE' );
|
1152 |
} else {
|
1614 |
break;
|
1615 |
}
|
1616 |
}
|
1617 |
+
|
1618 |
/**
|
1619 |
* Admin Columns support storage model object for the Media/Assistant submenu
|
1620 |
*
|
1653 |
$new_models[ $key ] = $model;
|
1654 |
}
|
1655 |
}
|
1656 |
+
|
1657 |
/*
|
1658 |
* If we didn't find wp-media, add our entry to the end
|
1659 |
*/
|
1663 |
|
1664 |
return $new_models;
|
1665 |
}
|
1666 |
+
|
1667 |
/**
|
1668 |
* Set MLA-specific inline editing strategy
|
1669 |
*
|
includes/class-mla-data-query.php
CHANGED
@@ -725,7 +725,6 @@ class MLAQuery {
|
|
725 |
case 'exact':
|
726 |
case 'mla-tax':
|
727 |
case 'mla-term':
|
728 |
-
// $clean_request[ $key ] = sanitize_key( $value );
|
729 |
$clean_request[ $key ] = sanitize_title_for_query( $value );
|
730 |
break;
|
731 |
case 'orderby':
|
@@ -878,6 +877,15 @@ class MLAQuery {
|
|
878 |
} // not array
|
879 |
}
|
880 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
881 |
break;
|
882 |
default:
|
883 |
// ignore anything else in $_REQUEST
|
725 |
case 'exact':
|
726 |
case 'mla-tax':
|
727 |
case 'mla-term':
|
|
|
728 |
$clean_request[ $key ] = sanitize_title_for_query( $value );
|
729 |
break;
|
730 |
case 'orderby':
|
877 |
} // not array
|
878 |
}
|
879 |
|
880 |
+
break;
|
881 |
+
// boolean values, default true
|
882 |
+
case 'cache_results':
|
883 |
+
case 'update_post_meta_cache':
|
884 |
+
case 'update_post_term_cache':
|
885 |
+
if ( ! empty( $value ) && ( 'true' != strtolower( $value ) ) ) {
|
886 |
+
$clean_request[ $key ] = false;
|
887 |
+
}
|
888 |
+
|
889 |
break;
|
890 |
default:
|
891 |
// ignore anything else in $_REQUEST
|
includes/class-mla-data.php
CHANGED
@@ -47,7 +47,7 @@ class MLAData {
|
|
47 |
$template_end = strpos( $tpl, '+]', $nest );
|
48 |
if ( false === $template_end ) {
|
49 |
/* translators: 1: ERROR tag 2: template excerpt */
|
50 |
-
MLACore::mla_debug_add( __LINE__ . sprintf( _x( '%1$s: _find_template_substring no template end delimiter, tail = "%2$s".', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), substr( $tpl, $
|
51 |
return '';
|
52 |
}
|
53 |
|
@@ -62,7 +62,6 @@ class MLAData {
|
|
62 |
$nest = $template_end + 2;
|
63 |
$level--;
|
64 |
}
|
65 |
-
|
66 |
} while ( $level );
|
67 |
|
68 |
$template_length = $template_end + 2;
|
@@ -194,7 +193,7 @@ class MLAData {
|
|
194 |
} else { // found template
|
195 |
if ( false === $end = strpos( $tpl, '+]', $offset ) ) {
|
196 |
/* translators: 1: ERROR tag 2: template excerpt */
|
197 |
-
MLACore::mla_debug_add( __LINE__ . sprintf( _x( '%1$s: mla_parse_template no end delimiter, tail = "%2$s".', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), substr( $tpl, $offset ) ), MLACore::MLA_DEBUG_CATEGORY_ANY );
|
198 |
return $tpl;
|
199 |
} // no end delimiter
|
200 |
|
@@ -222,27 +221,29 @@ class MLAData {
|
|
222 |
}
|
223 |
|
224 |
/**
|
225 |
-
* Find a complete
|
226 |
*
|
227 |
* @since 1.50
|
228 |
*
|
229 |
-
* @param string A string possibly starting with
|
|
|
|
|
230 |
*
|
231 |
-
* @return string '' or template
|
232 |
*/
|
233 |
-
private static function
|
234 |
-
if (
|
235 |
$nest = 1;
|
236 |
$level = 1;
|
237 |
do {
|
238 |
-
$test_end = strpos( $tpl,
|
239 |
if ( false === $test_end ) {
|
240 |
/* translators: 1: ERROR tag 2: template string */
|
241 |
-
MLACore::mla_debug_add( __LINE__ . sprintf( _x( '%1$s:
|
242 |
return '';
|
243 |
}
|
244 |
|
245 |
-
$nest = strpos( $tpl,
|
246 |
if ( false === $nest ) {
|
247 |
$nest = $test_end + 1;
|
248 |
$level--;
|
@@ -332,7 +333,7 @@ class MLAData {
|
|
332 |
$output = '';
|
333 |
}
|
334 |
|
335 |
-
$test_content = self::
|
336 |
if ( 2 < $test_length = strlen( $test_content ) ) {
|
337 |
$values = self::_parse_field_level_template( substr( $test_content, 1, strlen( $test_content ) - 2 ) );
|
338 |
$output_values[] = array( 'type' => 'test', 'value' => $values, 'length' => strlen( $test_content ) );
|
@@ -676,6 +677,7 @@ class MLAData {
|
|
676 |
* @return array individual arguments, e.g. array( 0 => 'd/m/Y H:i:s', 1 => 'arg, " two' )
|
677 |
*/
|
678 |
private static function _parse_arguments( $argument_string ) {
|
|
|
679 |
$argument_string = trim( $argument_string, " \n\t\r\0\x0B," );
|
680 |
$arguments = array();
|
681 |
|
@@ -683,62 +685,78 @@ class MLAData {
|
|
683 |
$argument = '';
|
684 |
$index = 0;
|
685 |
|
686 |
-
// Check for enclosing quotes
|
687 |
$delimiter = $argument_string[0];
|
688 |
-
|
689 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
690 |
} else {
|
691 |
-
|
692 |
-
|
693 |
-
|
694 |
-
while ( $index < strlen( $argument_string ) ) {
|
695 |
-
$byte = $argument_string[ $index++ ];
|
696 |
-
if ( '\\' == $byte ) {
|
697 |
-
switch ( $argument_string[ $index ] ) {
|
698 |
-
case 'n':
|
699 |
-
$argument .= chr( 0x0A );
|
700 |
-
break;
|
701 |
-
case 'r':
|
702 |
-
$argument .= chr( 0x0D );
|
703 |
-
break;
|
704 |
-
case 't':
|
705 |
-
$argument .= chr( 0x09 );
|
706 |
-
break;
|
707 |
-
case 'b':
|
708 |
-
$argument .= chr( 0x08 );
|
709 |
-
break;
|
710 |
-
case 'f':
|
711 |
-
$argument .= chr( 0x0C );
|
712 |
-
break;
|
713 |
-
default: // could be a 1- to 3-digit octal value
|
714 |
-
$digit_limit = $index + 3;
|
715 |
-
$digit_index = $index;
|
716 |
-
while ( $digit_index < $digit_limit ) {
|
717 |
-
if ( ! ctype_digit( $argument_string[ $digit_index ] ) ) {
|
718 |
-
break;
|
719 |
-
} else {
|
720 |
-
$digit_index++;
|
721 |
-
}
|
722 |
-
}
|
723 |
-
|
724 |
-
if ( $digit_count = $digit_index - $index ) {
|
725 |
-
$argument .= chr( octdec( substr( $argument_string, $index, $digit_count ) ) );
|
726 |
-
$index += $digit_count - 1;
|
727 |
-
} else { // accept the character following the backslash
|
728 |
-
$argument .= $argument_string[ $index ];
|
729 |
-
}
|
730 |
-
} // switch
|
731 |
-
|
732 |
$index++;
|
733 |
-
} else {
|
734 |
-
|
735 |
-
|
736 |
-
|
737 |
-
|
738 |
-
$
|
739 |
-
|
740 |
-
|
741 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
742 |
$arguments[] = $argument;
|
743 |
$argument_string = trim( substr( $argument_string, $index ), " \n\t\r\0\x0B," );
|
744 |
} // strlen( $argument_string )
|
@@ -906,6 +924,11 @@ class MLAData {
|
|
906 |
$value = '';
|
907 |
}
|
908 |
break;
|
|
|
|
|
|
|
|
|
|
|
909 |
default:
|
910 |
$value = apply_filters( 'mla_apply_custom_format', $value, $args );
|
911 |
}
|
@@ -945,6 +968,8 @@ class MLAData {
|
|
945 |
$template_count = 0;
|
946 |
$placeholders = self::mla_get_template_placeholders( $tpl, $default_option );
|
947 |
foreach ($placeholders as $key => $value ) {
|
|
|
|
|
948 |
if ( isset( $markup_values[ $key ] ) ) {
|
949 |
continue;
|
950 |
}
|
@@ -1008,7 +1033,6 @@ class MLAData {
|
|
1008 |
$markup_values[ $key ] = $text;
|
1009 |
break;
|
1010 |
case 'terms':
|
1011 |
-
|
1012 |
// Look for field specification
|
1013 |
$match_count = preg_match( '/^(.+)\((.+)\)/', $value['value'], $matches );
|
1014 |
if ( $match_count ) {
|
@@ -1191,7 +1215,6 @@ class MLAData {
|
|
1191 |
break;
|
1192 |
case '':
|
1193 |
$candidate = str_replace( '{', '[', str_replace( '}', ']', $value['value'] ) );
|
1194 |
-
$key = str_replace( '{', '[', str_replace( '}', ']', $key ) );
|
1195 |
|
1196 |
if ( MLAShortcodes::mla_is_data_source( $candidate ) ) {
|
1197 |
$data_value = array(
|
@@ -1202,9 +1225,7 @@ class MLAData {
|
|
1202 |
|
1203 |
$markup_values[ $key ] = MLAShortcodes::mla_get_data_source( $post_id, 'single_attachment_mapping', $data_value );
|
1204 |
} elseif ( isset( $markup_values[ $value['value'] ] ) ) {
|
1205 |
-
|
1206 |
-
* A standard element can have a format modifier, e.g., commas, attr
|
1207 |
-
*/
|
1208 |
$markup_values[ $key ] = $markup_values[ $value['value'] ];
|
1209 |
} else {
|
1210 |
$custom_value = apply_filters( 'mla_expand_custom_data_source', NULL, $key, $candidate, $value, $query, $markup_values, $post_id, $keep_existing, $default_option );
|
@@ -1258,7 +1279,7 @@ class MLAData {
|
|
1258 |
$template_end = strpos( $tpl, '+]', $nest );
|
1259 |
if ( false === $template_end ) {
|
1260 |
/* translators: 1: ERROR tag 2: template excerpt */
|
1261 |
-
MLACore::mla_debug_add( __LINE__ . sprintf( _x( '%1$s: mla_get_template_placeholders no template-end delimiter dump = "%2$s".', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), self::mla_hex_dump( substr( $tpl, $template_offset, 128 ), 128, 16 ) ), MLACore::MLA_DEBUG_CATEGORY_ANY );
|
1262 |
return array();
|
1263 |
}
|
1264 |
|
@@ -1301,7 +1322,7 @@ class MLAData {
|
|
1301 |
}
|
1302 |
|
1303 |
if ( false !== strpos( $tail, ',' ) ) {
|
1304 |
-
$match_count = preg_match( '/([^,]+)(,(text|single|export|unpack|array|multi|commas|raw|attr|url|kbmb|timestamp|date|fraction|substr))(\(([^)]+)\))*/', $tail, $matches );
|
1305 |
if ( 1 == $match_count ) {
|
1306 |
$result['value'] = $matches[1];
|
1307 |
if ( ! empty( $matches[5] ) ) {
|
@@ -1314,7 +1335,7 @@ class MLAData {
|
|
1314 |
$args = '';
|
1315 |
}
|
1316 |
|
1317 |
-
if ( in_array( $matches[3], array( 'commas', 'raw', 'attr', 'url', 'kbmb', 'timestamp', 'date', 'fraction', 'substr' ) ) ) {
|
1318 |
$result['option'] = 'text';
|
1319 |
$result['format'] = $matches[3];
|
1320 |
$result['args'] = $args;
|
47 |
$template_end = strpos( $tpl, '+]', $nest );
|
48 |
if ( false === $template_end ) {
|
49 |
/* translators: 1: ERROR tag 2: template excerpt */
|
50 |
+
MLACore::mla_debug_add( __LINE__ . sprintf( _x( '%1$s: _find_template_substring no template end delimiter, tail = "%2$s".', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), substr( $tpl, $nest ) ), MLACore::MLA_DEBUG_CATEGORY_ANY );
|
51 |
return '';
|
52 |
}
|
53 |
|
62 |
$nest = $template_end + 2;
|
63 |
$level--;
|
64 |
}
|
|
|
65 |
} while ( $level );
|
66 |
|
67 |
$template_length = $template_end + 2;
|
193 |
} else { // found template
|
194 |
if ( false === $end = strpos( $tpl, '+]', $offset ) ) {
|
195 |
/* translators: 1: ERROR tag 2: template excerpt */
|
196 |
+
MLACore::mla_debug_add( __LINE__ . ' ' . sprintf( _x( '%1$s: mla_parse_template no end delimiter, tail = "%2$s".', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), substr( $tpl, $offset ) ), MLACore::MLA_DEBUG_CATEGORY_ANY );
|
197 |
return $tpl;
|
198 |
} // no end delimiter
|
199 |
|
221 |
}
|
222 |
|
223 |
/**
|
224 |
+
* Find a complete delimited element, balancing opening and closing delimiters
|
225 |
*
|
226 |
* @since 1.50
|
227 |
*
|
228 |
+
* @param string $tpl A string possibly starting with the $open_delimiter
|
229 |
+
* @param string $open_delimiter Optional opening delimiter, default '('
|
230 |
+
* @param string $close_delimiter Optional closing delimiter, default ')'
|
231 |
*
|
232 |
+
* @return string '' or template substring including the opening and closing delimiters
|
233 |
*/
|
234 |
+
private static function _find_delimited_substring( $tpl, $open_delimiter = '(', $close_delimiter = ')' ) {
|
235 |
+
if ( $open_delimiter == $tpl[0] ) {
|
236 |
$nest = 1;
|
237 |
$level = 1;
|
238 |
do {
|
239 |
+
$test_end = strpos( $tpl, $close_delimiter, $nest );
|
240 |
if ( false === $test_end ) {
|
241 |
/* translators: 1: ERROR tag 2: template string */
|
242 |
+
MLACore::mla_debug_add( __LINE__ . ' ' . sprintf( _x( '%1$s: _find_delimited_substring no end delimiter, tail = "%2$s".', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), substr( $tpl, $nest ) ), MLACore::MLA_DEBUG_CATEGORY_ANY );
|
243 |
return '';
|
244 |
}
|
245 |
|
246 |
+
$nest = strpos( $tpl, $open_delimiter, $nest );
|
247 |
if ( false === $nest ) {
|
248 |
$nest = $test_end + 1;
|
249 |
$level--;
|
333 |
$output = '';
|
334 |
}
|
335 |
|
336 |
+
$test_content = self::_find_delimited_substring( substr( $tpl, $index - 1 ) );
|
337 |
if ( 2 < $test_length = strlen( $test_content ) ) {
|
338 |
$values = self::_parse_field_level_template( substr( $test_content, 1, strlen( $test_content ) - 2 ) );
|
339 |
$output_values[] = array( 'type' => 'test', 'value' => $values, 'length' => strlen( $test_content ) );
|
677 |
* @return array individual arguments, e.g. array( 0 => 'd/m/Y H:i:s', 1 => 'arg, " two' )
|
678 |
*/
|
679 |
private static function _parse_arguments( $argument_string ) {
|
680 |
+
//error_log( __LINE__ . ' MLAData::_parse_arguments argument_string = ' . var_export( $argument_string, true ), 0 );
|
681 |
$argument_string = trim( $argument_string, " \n\t\r\0\x0B," );
|
682 |
$arguments = array();
|
683 |
|
685 |
$argument = '';
|
686 |
$index = 0;
|
687 |
|
688 |
+
// Check for array or enclosing quotes
|
689 |
$delimiter = $argument_string[0];
|
690 |
+
|
691 |
+
// Check for array
|
692 |
+
if ( '{' == $delimiter ) {
|
693 |
+
$array = self::_find_delimited_substring( substr( $argument_string, $index ), '{', '}' );
|
694 |
+
if ( 2 < strlen( $array ) ) {
|
695 |
+
$content = substr( $array, 1, strlen( $array ) - 2 );
|
696 |
+
$argument = self::_parse_arguments( $content );
|
697 |
+
$index += strlen( $array );
|
698 |
+
} else {
|
699 |
+
// Bad array format, skip the rest
|
700 |
+
$argument = '';
|
701 |
+
$index = strlen( $argument_string );
|
702 |
+
}
|
703 |
} else {
|
704 |
+
// Check for enclosing quotes
|
705 |
+
if ( '\'' == $delimiter || '"' == $delimiter ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
706 |
$index++;
|
707 |
+
} else {
|
708 |
+
$delimiter = '';
|
709 |
+
}
|
710 |
+
|
711 |
+
while ( $index < strlen( $argument_string ) ) {
|
712 |
+
$byte = $argument_string[ $index++ ];
|
713 |
+
if ( '\\' == $byte ) {
|
714 |
+
switch ( $argument_string[ $index ] ) {
|
715 |
+
case 'n':
|
716 |
+
$argument .= chr( 0x0A );
|
717 |
+
break;
|
718 |
+
case 'r':
|
719 |
+
$argument .= chr( 0x0D );
|
720 |
+
break;
|
721 |
+
case 't':
|
722 |
+
$argument .= chr( 0x09 );
|
723 |
+
break;
|
724 |
+
case 'b':
|
725 |
+
$argument .= chr( 0x08 );
|
726 |
+
break;
|
727 |
+
case 'f':
|
728 |
+
$argument .= chr( 0x0C );
|
729 |
+
break;
|
730 |
+
default: // could be a 1- to 3-digit octal value
|
731 |
+
$digit_limit = $index + 3;
|
732 |
+
$digit_index = $index;
|
733 |
+
while ( $digit_index < $digit_limit ) {
|
734 |
+
if ( ! ctype_digit( $argument_string[ $digit_index ] ) ) {
|
735 |
+
break;
|
736 |
+
} else {
|
737 |
+
$digit_index++;
|
738 |
+
}
|
739 |
+
}
|
740 |
+
|
741 |
+
if ( $digit_count = $digit_index - $index ) {
|
742 |
+
$argument .= chr( octdec( substr( $argument_string, $index, $digit_count ) ) );
|
743 |
+
$index += $digit_count - 1;
|
744 |
+
} else { // accept the character following the backslash
|
745 |
+
$argument .= $argument_string[ $index ];
|
746 |
+
}
|
747 |
+
} // switch
|
748 |
+
|
749 |
+
$index++;
|
750 |
+
} else { // backslash
|
751 |
+
if ( $delimiter == $byte || ( empty( $delimiter ) && ',' == $byte ) ) {
|
752 |
+
break;
|
753 |
+
}
|
754 |
+
|
755 |
+
$argument .= $byte;
|
756 |
+
} // just another 8-bit value, but check for closing delimiter
|
757 |
+
} // index < strlen
|
758 |
+
} // non-array
|
759 |
+
|
760 |
$arguments[] = $argument;
|
761 |
$argument_string = trim( substr( $argument_string, $index ), " \n\t\r\0\x0B," );
|
762 |
} // strlen( $argument_string )
|
924 |
$value = '';
|
925 |
}
|
926 |
break;
|
927 |
+
case 'str_replace':
|
928 |
+
if ( is_array( $args['args'] ) && ( 2 === count( $args['args'] ) ) ) {
|
929 |
+
$value = str_replace( $args['args'][0], $args['args'][1], $value );
|
930 |
+
}
|
931 |
+
break;
|
932 |
default:
|
933 |
$value = apply_filters( 'mla_apply_custom_format', $value, $args );
|
934 |
}
|
968 |
$template_count = 0;
|
969 |
$placeholders = self::mla_get_template_placeholders( $tpl, $default_option );
|
970 |
foreach ($placeholders as $key => $value ) {
|
971 |
+
// Braces in the key must become brackets for template parsing
|
972 |
+
$key = str_replace( '{', '[', str_replace( '}', ']', $key ) );
|
973 |
if ( isset( $markup_values[ $key ] ) ) {
|
974 |
continue;
|
975 |
}
|
1033 |
$markup_values[ $key ] = $text;
|
1034 |
break;
|
1035 |
case 'terms':
|
|
|
1036 |
// Look for field specification
|
1037 |
$match_count = preg_match( '/^(.+)\((.+)\)/', $value['value'], $matches );
|
1038 |
if ( $match_count ) {
|
1215 |
break;
|
1216 |
case '':
|
1217 |
$candidate = str_replace( '{', '[', str_replace( '}', ']', $value['value'] ) );
|
|
|
1218 |
|
1219 |
if ( MLAShortcodes::mla_is_data_source( $candidate ) ) {
|
1220 |
$data_value = array(
|
1225 |
|
1226 |
$markup_values[ $key ] = MLAShortcodes::mla_get_data_source( $post_id, 'single_attachment_mapping', $data_value );
|
1227 |
} elseif ( isset( $markup_values[ $value['value'] ] ) ) {
|
1228 |
+
// A standard element can have a format modifier, e.g., commas, attr
|
|
|
|
|
1229 |
$markup_values[ $key ] = $markup_values[ $value['value'] ];
|
1230 |
} else {
|
1231 |
$custom_value = apply_filters( 'mla_expand_custom_data_source', NULL, $key, $candidate, $value, $query, $markup_values, $post_id, $keep_existing, $default_option );
|
1279 |
$template_end = strpos( $tpl, '+]', $nest );
|
1280 |
if ( false === $template_end ) {
|
1281 |
/* translators: 1: ERROR tag 2: template excerpt */
|
1282 |
+
MLACore::mla_debug_add( __LINE__ . ' ' . sprintf( _x( '%1$s: mla_get_template_placeholders no template-end delimiter dump = "%2$s".', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), self::mla_hex_dump( substr( $tpl, $template_offset, 128 ), 128, 16 ) ), MLACore::MLA_DEBUG_CATEGORY_ANY );
|
1283 |
return array();
|
1284 |
}
|
1285 |
|
1322 |
}
|
1323 |
|
1324 |
if ( false !== strpos( $tail, ',' ) ) {
|
1325 |
+
$match_count = preg_match( '/([^,]+)(,(text|single|export|unpack|array|multi|commas|raw|attr|url|kbmb|timestamp|date|fraction|substr|str_replace))(\(([^)]+)\))*/', $tail, $matches );
|
1326 |
if ( 1 == $match_count ) {
|
1327 |
$result['value'] = $matches[1];
|
1328 |
if ( ! empty( $matches[5] ) ) {
|
1335 |
$args = '';
|
1336 |
}
|
1337 |
|
1338 |
+
if ( in_array( $matches[3], array( 'commas', 'raw', 'attr', 'url', 'kbmb', 'timestamp', 'date', 'fraction', 'substr', 'str_replace' ) ) ) {
|
1339 |
$result['option'] = 'text';
|
1340 |
$result['format'] = $matches[3];
|
1341 |
$result['args'] = $args;
|
includes/class-mla-edit-media.php
CHANGED
@@ -329,7 +329,7 @@ class MLAEdit {
|
|
329 |
foreach ( $hierarchical_taxonomies as $tax_name => $tax_object ) {
|
330 |
if ( current_user_can( $tax_object->cap->assign_terms ) ) {
|
331 |
ob_start();
|
332 |
-
wp_terms_checklist( NULL, array( 'taxonomy' => $tax_name ) );
|
333 |
$tax_checklist = ob_get_contents();
|
334 |
ob_end_clean();
|
335 |
|
@@ -517,6 +517,8 @@ class MLAEdit {
|
|
517 |
if ( isset( $messages['attachment'] ) ) {
|
518 |
$messages['attachment'][101] = __( 'Custom field mapping updated.', 'media-library-assistant' );
|
519 |
$messages['attachment'][102] = __('IPTC/EXIF mapping updated.', 'media-library-assistant' );
|
|
|
|
|
520 |
}
|
521 |
|
522 |
return $messages;
|
@@ -557,9 +559,13 @@ class MLAEdit {
|
|
557 |
echo '<input name="mla_source" type="hidden" id="mla_source" value="' . $_REQUEST['mla_source'] . '" />';
|
558 |
}
|
559 |
|
560 |
-
|
|
|
|
|
561 |
|
562 |
-
|
|
|
|
|
563 |
|
564 |
echo "</span>\n";
|
565 |
echo "</div><!-- .misc-pub-section -->\n";
|
329 |
foreach ( $hierarchical_taxonomies as $tax_name => $tax_object ) {
|
330 |
if ( current_user_can( $tax_object->cap->assign_terms ) ) {
|
331 |
ob_start();
|
332 |
+
wp_terms_checklist( NULL, array( 'taxonomy' => $tax_name, 'popular_cats' => array(), ) );
|
333 |
$tax_checklist = ob_get_contents();
|
334 |
ob_end_clean();
|
335 |
|
517 |
if ( isset( $messages['attachment'] ) ) {
|
518 |
$messages['attachment'][101] = __( 'Custom field mapping updated.', 'media-library-assistant' );
|
519 |
$messages['attachment'][102] = __('IPTC/EXIF mapping updated.', 'media-library-assistant' );
|
520 |
+
$messages['attachment'][103] = __( 'Custom field mapping is disabled.', 'media-library-assistant' );
|
521 |
+
$messages['attachment'][104] = __('IPTC/EXIF mapping is disabled.', 'media-library-assistant' );
|
522 |
}
|
523 |
|
524 |
return $messages;
|
559 |
echo '<input name="mla_source" type="hidden" id="mla_source" value="' . $_REQUEST['mla_source'] . '" />';
|
560 |
}
|
561 |
|
562 |
+
if ( 'checked' == MLACore::mla_get_option( MLACoreOptions::MLA_ALLOW_CUSTOM_FIELD_MAPPING ) ) {
|
563 |
+
echo '<a href="' . add_query_arg( $view_args, wp_nonce_url( 'upload.php?mla_admin_action=' . MLACore::MLA_ADMIN_SINGLE_CUSTOM_FIELD_MAP, MLACore::MLA_ADMIN_NONCE_ACTION, MLACore::MLA_ADMIN_NONCE_NAME ) ) . '" title="' . __( 'Map Custom Field metadata for this item', 'media-library-assistant' ) . '">' . __( 'Map Custom Field metadata', 'media-library-assistant' ) . '</a><br>';
|
564 |
+
}
|
565 |
|
566 |
+
if ( 'checked' == MLACore::mla_get_option( MLACoreOptions::MLA_ALLOW_IPTC_EXIF_MAPPING ) ) {
|
567 |
+
echo '<a href="' . add_query_arg( $view_args, wp_nonce_url( 'upload.php?mla_admin_action=' . MLACore::MLA_ADMIN_SINGLE_MAP, MLACore::MLA_ADMIN_NONCE_ACTION, MLACore::MLA_ADMIN_NONCE_NAME ) ) . '" title="' . __( 'Map IPTC/EXIF metadata for this item', 'media-library-assistant' ) . '">' . __( 'Map IPTC/EXIF metadata', 'media-library-assistant' ) . '</a>';
|
568 |
+
}
|
569 |
|
570 |
echo "</span>\n";
|
571 |
echo "</div><!-- .misc-pub-section -->\n";
|
includes/class-mla-file-downloader.php
CHANGED
@@ -29,31 +29,58 @@ class MLAFileDownloader {
|
|
29 |
*
|
30 |
* @since 2.32
|
31 |
*
|
|
|
32 |
* @return void echos file contents and calls exit();
|
33 |
*/
|
34 |
-
public static function mla_process_download_file() {
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
if ( isset( $_REQUEST['mla_download_file'] ) && isset( $_REQUEST['mla_download_type'] ) ) {
|
40 |
-
if( ini_get( 'zlib.output_compression' ) ) {
|
41 |
-
ini_set( 'zlib.output_compression', 'Off' );
|
42 |
-
}
|
43 |
|
44 |
-
|
45 |
-
$match_name = str_replace( '\\', '/', $file_name );
|
46 |
-
$base_dir = pathinfo( __FILE__, PATHINFO_DIRNAME );
|
47 |
-
$match_dir = str_replace( '\\', '/', $base_dir );
|
48 |
-
$allowed_path = substr( $match_dir, 0, strpos( $match_dir, 'plugins' ) );
|
49 |
|
50 |
-
|
51 |
-
|
52 |
-
} elseif ( false !== strpos( $match_name, '..' ) ) {
|
53 |
-
$message = 'ERROR: download path invalid.';
|
54 |
-
}
|
55 |
} else {
|
56 |
-
$message = '
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
}
|
58 |
|
59 |
if ( empty( $message ) ) {
|
@@ -62,9 +89,13 @@ class MLAFileDownloader {
|
|
62 |
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
|
63 |
header('Last-Modified: '.gmdate ( 'D, d M Y H:i:s', filemtime ( $file_name ) ).' GMT');
|
64 |
header('Cache-Control: private',false);
|
65 |
-
header('Content-Type: '.$
|
66 |
-
|
67 |
-
|
|
|
|
|
|
|
|
|
68 |
header('Content-Length: '.filesize( $file_name )); // provide file size
|
69 |
header('Connection: close');
|
70 |
|
@@ -98,6 +129,7 @@ class MLAFileDownloader {
|
|
98 |
private static function _mla_debug_add( $message ) {
|
99 |
if ( self::$mla_debug ) {
|
100 |
if ( class_exists( 'MLACore' ) ) {
|
|
|
101 |
MLACore::mla_debug_add( $message );
|
102 |
} else {
|
103 |
error_log( $message, 0);
|
29 |
*
|
30 |
* @since 2.32
|
31 |
*
|
32 |
+
* @param array $args ( mla_download_file, mla_download_type, optional content_disposition )
|
33 |
* @return void echos file contents and calls exit();
|
34 |
*/
|
35 |
+
public static function mla_process_download_file( $args = NULL ) {
|
36 |
+
if ( empty( $args ) ) {
|
37 |
+
$args = $_REQUEST;
|
38 |
+
}
|
|
|
|
|
|
|
|
|
|
|
39 |
|
40 |
+
self::_mla_debug_add( 'MLAFileDownloader::mla_process_download_file, args = ' . var_export( $args, true ) );
|
|
|
|
|
|
|
|
|
41 |
|
42 |
+
if ( !empty( $args['error'] ) ) {
|
43 |
+
$message = $args['error'];
|
|
|
|
|
|
|
44 |
} else {
|
45 |
+
$message = '';
|
46 |
+
|
47 |
+
if ( isset( $args['mla_download_file'] ) && isset( $args['mla_download_type'] ) ) {
|
48 |
+
if( ini_get( 'zlib.output_compression' ) ) {
|
49 |
+
ini_set( 'zlib.output_compression', 'Off' );
|
50 |
+
}
|
51 |
+
|
52 |
+
$disposition = 'attachment';
|
53 |
+
if ( !empty( $args['mla_disposition'] ) ) {
|
54 |
+
$disposition = trim( strtolower( $args['mla_disposition'] ) );
|
55 |
+
switch ( $disposition ) {
|
56 |
+
case 'attachment':
|
57 |
+
case 'download':
|
58 |
+
$disposition = 'attachment';
|
59 |
+
break;
|
60 |
+
case 'inline':
|
61 |
+
case 'view':
|
62 |
+
case 'file':
|
63 |
+
$disposition = 'inline';
|
64 |
+
break;
|
65 |
+
default:
|
66 |
+
$message = 'ERROR: content disposition invalid.';
|
67 |
+
}
|
68 |
+
}
|
69 |
+
|
70 |
+
$file_name = $args['mla_download_file'];
|
71 |
+
$match_name = str_replace( '\\', '/', $file_name );
|
72 |
+
$base_dir = pathinfo( __FILE__, PATHINFO_DIRNAME );
|
73 |
+
$match_dir = str_replace( '\\', '/', $base_dir );
|
74 |
+
$allowed_path = substr( $match_dir, 0, strpos( $match_dir, 'plugins' ) );
|
75 |
+
|
76 |
+
if ( 0 !== strpos( $match_name, $allowed_path ) ) {
|
77 |
+
$message = 'ERROR: download path out of bounds.';
|
78 |
+
} elseif ( false !== strpos( $match_name, '..' ) ) {
|
79 |
+
$message = 'ERROR: download path invalid.';
|
80 |
+
}
|
81 |
+
} else {
|
82 |
+
$message = 'ERROR: download argument(s) not set.';
|
83 |
+
}
|
84 |
}
|
85 |
|
86 |
if ( empty( $message ) ) {
|
89 |
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
|
90 |
header('Last-Modified: '.gmdate ( 'D, d M Y H:i:s', filemtime ( $file_name ) ).' GMT');
|
91 |
header('Cache-Control: private',false);
|
92 |
+
header('Content-Type: '.$args['mla_download_type']);
|
93 |
+
|
94 |
+
if ( 'attachment' === $disposition ) {
|
95 |
+
header('Content-Disposition: attachment; filename="'.basename( $file_name ).'"');
|
96 |
+
header('Content-Transfer-Encoding: binary');
|
97 |
+
}
|
98 |
+
|
99 |
header('Content-Length: '.filesize( $file_name )); // provide file size
|
100 |
header('Connection: close');
|
101 |
|
129 |
private static function _mla_debug_add( $message ) {
|
130 |
if ( self::$mla_debug ) {
|
131 |
if ( class_exists( 'MLACore' ) ) {
|
132 |
+
MLACore::mla_debug_mode( 'log' );
|
133 |
MLACore::mla_debug_add( $message );
|
134 |
} else {
|
135 |
error_log( $message, 0);
|
includes/class-mla-main.php
CHANGED
@@ -169,26 +169,37 @@ class MLA {
|
|
169 |
if ( apply_filters( 'mla_list_table_admin_action', true, $_REQUEST['mla_admin_action'], ( isset( $_REQUEST['mla_item_ID'] ) ? $_REQUEST['mla_item_ID'] : 0 ) ) ) {
|
170 |
switch ( $_REQUEST['mla_admin_action'] ) {
|
171 |
case MLACore::MLA_ADMIN_SINGLE_CUSTOM_FIELD_MAP:
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
178 |
}
|
179 |
-
|
180 |
$view_args = isset( $_REQUEST['mla_source'] ) ? array( 'mla_source' => $_REQUEST['mla_source']) : array();
|
181 |
-
wp_redirect( add_query_arg( $view_args, admin_url( 'post.php' ) . '?post=' . $_REQUEST['mla_item_ID'] . '&action=edit&message=
|
182 |
exit;
|
183 |
case MLACore::MLA_ADMIN_SINGLE_MAP:
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
|
|
|
|
|
|
|
|
|
|
190 |
$view_args = isset( $_REQUEST['mla_source'] ) ? array( 'mla_source' => $_REQUEST['mla_source']) : array();
|
191 |
-
wp_redirect( add_query_arg( $view_args, admin_url( 'post.php' ) . '?post=' . $_REQUEST['mla_item_ID'] . '&action=edit&message=
|
192 |
exit;
|
193 |
default:
|
194 |
do_action( 'mla_list_table_custom_admin_action', $_REQUEST['mla_admin_action'], ( isset( $_REQUEST['mla_item_ID'] ) ? $_REQUEST['mla_item_ID'] : 0 ) );
|
@@ -1925,7 +1936,7 @@ class MLA {
|
|
1925 |
foreach ( $hierarchical_taxonomies as $tax_name => $tax_object ) {
|
1926 |
if ( current_user_can( $tax_object->cap->assign_terms ) ) {
|
1927 |
ob_start();
|
1928 |
-
wp_terms_checklist( NULL, array( 'taxonomy' => $tax_name ) );
|
1929 |
$tax_checklist = ob_get_contents();
|
1930 |
ob_end_clean();
|
1931 |
|
@@ -2055,7 +2066,9 @@ class MLA {
|
|
2055 |
'Allow' => __( 'Allow', 'media-library-assistant' ),
|
2056 |
'Do not allow' => __( 'Do not allow', 'media-library-assistant' ),
|
2057 |
'bulk_custom_fields' => $bulk_custom_fields,
|
|
|
2058 |
'Map IPTC/EXIF metadata' => __( 'Map IPTC/EXIF metadata', 'media-library-assistant' ),
|
|
|
2059 |
'Map Custom Field metadata' => __( 'Map Custom Field metadata', 'media-library-assistant' ),
|
2060 |
'Bulk Waiting' => __( 'Waiting', 'media-library-assistant' ),
|
2061 |
'Bulk Running' => __( 'In-process', 'media-library-assistant' ),
|
@@ -2064,6 +2077,14 @@ class MLA {
|
|
2064 |
'set_parent_form' => $set_parent_form,
|
2065 |
);
|
2066 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2067 |
$page_values = apply_filters( 'mla_list_table_inline_values', $page_values );
|
2068 |
$page_template = apply_filters( 'mla_list_table_inline_template', $page_template_array['page'] );
|
2069 |
$parse_value = MLAData::mla_parse_template( $page_template, $page_values );
|
169 |
if ( apply_filters( 'mla_list_table_admin_action', true, $_REQUEST['mla_admin_action'], ( isset( $_REQUEST['mla_item_ID'] ) ? $_REQUEST['mla_item_ID'] : 0 ) ) ) {
|
170 |
switch ( $_REQUEST['mla_admin_action'] ) {
|
171 |
case MLACore::MLA_ADMIN_SINGLE_CUSTOM_FIELD_MAP:
|
172 |
+
if ( 'checked' == MLACore::mla_get_option( MLACoreOptions::MLA_ALLOW_CUSTOM_FIELD_MAPPING ) ) {
|
173 |
+
do_action( 'mla_begin_mapping', 'single_custom', $_REQUEST['mla_item_ID'] );
|
174 |
+
$updates = MLAOptions::mla_evaluate_custom_field_mapping( $_REQUEST['mla_item_ID'], 'single_attachment_mapping' );
|
175 |
+
do_action( 'mla_end_mapping' );
|
176 |
+
|
177 |
+
if ( !empty( $updates ) ) {
|
178 |
+
$item_content = MLAData::mla_update_single_item( $_REQUEST['mla_item_ID'], $updates );
|
179 |
+
}
|
180 |
+
|
181 |
+
$message = '101';
|
182 |
+
} else {
|
183 |
+
$message = '103';
|
184 |
}
|
185 |
+
|
186 |
$view_args = isset( $_REQUEST['mla_source'] ) ? array( 'mla_source' => $_REQUEST['mla_source']) : array();
|
187 |
+
wp_redirect( add_query_arg( $view_args, admin_url( 'post.php' ) . '?post=' . $_REQUEST['mla_item_ID'] . '&action=edit&message=' . $message ), 302 );
|
188 |
exit;
|
189 |
case MLACore::MLA_ADMIN_SINGLE_MAP:
|
190 |
+
if ( 'checked' == MLACore::mla_get_option( MLACoreOptions::MLA_ALLOW_CUSTOM_FIELD_MAPPING ) ) {
|
191 |
+
$item = get_post( $_REQUEST['mla_item_ID'] );
|
192 |
+
do_action( 'mla_begin_mapping', 'single_iptc_exif', $_REQUEST['mla_item_ID'] );
|
193 |
+
$updates = MLAOptions::mla_evaluate_iptc_exif_mapping( $item, 'iptc_exif_mapping' );
|
194 |
+
do_action( 'mla_end_mapping' );
|
195 |
+
$page_content = MLAData::mla_update_single_item( $_REQUEST['mla_item_ID'], $updates );
|
196 |
+
$message = '102';
|
197 |
+
} else {
|
198 |
+
$message = '104';
|
199 |
+
}
|
200 |
+
|
201 |
$view_args = isset( $_REQUEST['mla_source'] ) ? array( 'mla_source' => $_REQUEST['mla_source']) : array();
|
202 |
+
wp_redirect( add_query_arg( $view_args, admin_url( 'post.php' ) . '?post=' . $_REQUEST['mla_item_ID'] . '&action=edit&message=' . $message ), 302 );
|
203 |
exit;
|
204 |
default:
|
205 |
do_action( 'mla_list_table_custom_admin_action', $_REQUEST['mla_admin_action'], ( isset( $_REQUEST['mla_item_ID'] ) ? $_REQUEST['mla_item_ID'] : 0 ) );
|
1936 |
foreach ( $hierarchical_taxonomies as $tax_name => $tax_object ) {
|
1937 |
if ( current_user_can( $tax_object->cap->assign_terms ) ) {
|
1938 |
ob_start();
|
1939 |
+
wp_terms_checklist( NULL, array( 'taxonomy' => $tax_name, 'popular_cats' => array(), ) );
|
1940 |
$tax_checklist = ob_get_contents();
|
1941 |
ob_end_clean();
|
1942 |
|
2066 |
'Allow' => __( 'Allow', 'media-library-assistant' ),
|
2067 |
'Do not allow' => __( 'Do not allow', 'media-library-assistant' ),
|
2068 |
'bulk_custom_fields' => $bulk_custom_fields,
|
2069 |
+
'bulk_map_style' => '',
|
2070 |
'Map IPTC/EXIF metadata' => __( 'Map IPTC/EXIF metadata', 'media-library-assistant' ),
|
2071 |
+
'bulk_custom_field_map_style' => '',
|
2072 |
'Map Custom Field metadata' => __( 'Map Custom Field metadata', 'media-library-assistant' ),
|
2073 |
'Bulk Waiting' => __( 'Waiting', 'media-library-assistant' ),
|
2074 |
'Bulk Running' => __( 'In-process', 'media-library-assistant' ),
|
2077 |
'set_parent_form' => $set_parent_form,
|
2078 |
);
|
2079 |
|
2080 |
+
if ( 'checked' != MLACore::mla_get_option( MLACoreOptions::MLA_ALLOW_CUSTOM_FIELD_MAPPING ) ) {
|
2081 |
+
$page_values['bulk_custom_field_map_style'] = 'display: none';
|
2082 |
+
}
|
2083 |
+
|
2084 |
+
if ( 'checked' != MLACore::mla_get_option( MLACoreOptions::MLA_ALLOW_IPTC_EXIF_MAPPING ) ) {
|
2085 |
+
$page_values['bulk_map_style'] = 'display: none';
|
2086 |
+
}
|
2087 |
+
|
2088 |
$page_values = apply_filters( 'mla_list_table_inline_values', $page_values );
|
2089 |
$page_template = apply_filters( 'mla_list_table_inline_template', $page_template_array['page'] );
|
2090 |
$parse_value = MLAData::mla_parse_template( $page_template, $page_values );
|
includes/class-mla-media-modal.php
CHANGED
@@ -427,12 +427,14 @@ class MLAModal {
|
|
427 |
if ( function_exists( 'get_current_screen' ) ) {
|
428 |
$screen = get_current_screen();
|
429 |
|
430 |
-
if (
|
431 |
-
if ( '
|
|
|
|
|
|
|
|
|
432 |
return;
|
433 |
}
|
434 |
-
} elseif ( 'checked' != MLACore::mla_get_option( MLACoreOptions::MLA_MEDIA_MODAL_TOOLBAR ) ) {
|
435 |
-
return;
|
436 |
}
|
437 |
} else {
|
438 |
$screen = NULL;
|
427 |
if ( function_exists( 'get_current_screen' ) ) {
|
428 |
$screen = get_current_screen();
|
429 |
|
430 |
+
if ( is_object( $screen ) ) {
|
431 |
+
if ( 'upload' == $screen->base ) {
|
432 |
+
if ( 'checked' != MLACore::mla_get_option( MLACoreOptions::MLA_MEDIA_GRID_TOOLBAR ) ) {
|
433 |
+
return;
|
434 |
+
}
|
435 |
+
} elseif ( 'checked' != MLACore::mla_get_option( MLACoreOptions::MLA_MEDIA_MODAL_TOOLBAR ) ) {
|
436 |
return;
|
437 |
}
|
|
|
|
|
438 |
}
|
439 |
} else {
|
440 |
$screen = NULL;
|
includes/class-mla-options.php
CHANGED
@@ -24,8 +24,6 @@ class MLAOptions {
|
|
24 |
* @return void
|
25 |
*/
|
26 |
public static function initialize( ) {
|
27 |
-
MLAOptions::_load_option_templates();
|
28 |
-
|
29 |
if ( ( 'checked' == MLACore::mla_get_option( 'enable_iptc_exif_mapping' ) ) ||
|
30 |
( 'checked' == MLACore::mla_get_option( 'enable_custom_field_mapping' ) ) ||
|
31 |
( 'checked' == MLACore::mla_get_option( 'enable_iptc_exif_update' ) ) ||
|
@@ -35,6 +33,8 @@ class MLAOptions {
|
|
35 |
|
36 |
add_action( 'add_attachment', 'MLAOptions::mla_add_attachment_action', 0x7FFFFFFF, 1 );
|
37 |
add_filter( 'wp_update_attachment_metadata', 'MLAOptions::mla_update_attachment_metadata_filter', 0x7FFFFFFF, 2 );
|
|
|
|
|
38 |
}
|
39 |
}
|
40 |
|
@@ -55,19 +55,17 @@ class MLAOptions {
|
|
55 |
* @return void
|
56 |
*/
|
57 |
private static function _load_option_templates() {
|
58 |
-
MLAOptions::$mla_option_templates = MLACore::mla_load_template( 'mla-option-templates.tpl' );
|
59 |
-
|
60 |
-
/*
|
61 |
-
* Load the option settings templates
|
62 |
-
*/
|
63 |
if ( is_null( MLAOptions::$mla_option_templates ) ) {
|
64 |
-
MLACore::
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
|
|
|
|
|
|
71 |
}
|
72 |
|
73 |
/**
|
@@ -234,6 +232,8 @@ class MLAOptions {
|
|
234 |
* @return string HTML table row markup for 'render' else message(s) reflecting the results of the operation.
|
235 |
*/
|
236 |
public static function mla_taxonomy_option_handler( $action, $key, $value, $args = NULL ) {
|
|
|
|
|
237 |
switch ( $action ) {
|
238 |
case 'render':
|
239 |
$taxonomies = get_taxonomies( array ( 'show_ui' => true ), 'objects' );
|
@@ -436,6 +436,8 @@ class MLAOptions {
|
|
436 |
* @return string HTML table row markup for 'render' else message(s) reflecting the results of the operation.
|
437 |
*/
|
438 |
public static function mla_search_option_handler( $action, $key, $value, $args = NULL ) {
|
|
|
|
|
439 |
switch ( $action ) {
|
440 |
case 'render':
|
441 |
$current_values = MLACore::mla_get_option( $key );
|
@@ -585,6 +587,7 @@ class MLAOptions {
|
|
585 |
* @return void
|
586 |
*/
|
587 |
public static function mla_add_attachment_action( $post_ID ) {
|
|
|
588 |
MLAOptions::$add_attachment_id = $post_ID;
|
589 |
do_action('mla_add_attachment', $post_ID);
|
590 |
} // mla_add_attachment_action
|
@@ -647,6 +650,8 @@ class MLAOptions {
|
|
647 |
|
648 |
$options = apply_filters( 'mla_update_attachment_metadata_options', $options, $data, $post_id );
|
649 |
$data = apply_filters( 'mla_update_attachment_metadata_prefilter', $data, $post_id, $options );
|
|
|
|
|
650 |
|
651 |
if ( $options['is_upload'] ) {
|
652 |
if ( $options['enable_iptc_exif_mapping'] || $options['enable_custom_field_mapping'] ) {
|
@@ -656,10 +661,13 @@ class MLAOptions {
|
|
656 |
if ( $options['enable_iptc_exif_mapping'] ) {
|
657 |
$item = get_post( $post_id );
|
658 |
$updates = MLAOptions::mla_evaluate_iptc_exif_mapping( $item, 'iptc_exif_mapping', NULL, $data, true );
|
|
|
659 |
$updates = MLAOptions::_update_attachment_metadata( $updates, $data );
|
|
|
660 |
|
661 |
if ( !empty( $updates ) ) {
|
662 |
$item_content = MLAData::mla_update_single_item( $post_id, $updates );
|
|
|
663 |
}
|
664 |
}
|
665 |
|
@@ -762,6 +770,10 @@ class MLAOptions {
|
|
762 |
* @return array Updates suitable for MLAData::mla_update_single_item, if any
|
763 |
*/
|
764 |
public static function mla_evaluate_custom_field_mapping( $post_id, $category, $settings = NULL, $attachment_metadata = NULL ) {
|
|
|
|
|
|
|
|
|
765 |
if ( NULL == $settings ) {
|
766 |
$settings = MLACore::mla_get_option( 'custom_field_mapping' );
|
767 |
}
|
@@ -861,9 +873,9 @@ class MLAOptions {
|
|
861 |
* @return string HTML markup with select field options
|
862 |
*/
|
863 |
public static function mla_compose_custom_field_option_list( $selection = 'none', $blacklist = array() ) {
|
864 |
-
|
865 |
-
|
866 |
-
|
867 |
$option_template = MLAOptions::$mla_option_templates['custom-field-select-option'];
|
868 |
$option_values = array (
|
869 |
'selected' => ( 'none' == $selection ) ? 'selected="selected"' : '',
|
@@ -872,9 +884,7 @@ class MLAOptions {
|
|
872 |
);
|
873 |
$custom_field_options = MLAData::mla_parse_template( $option_template, $option_values );
|
874 |
|
875 |
-
|
876 |
-
* Add an option for each name without a rule, i.e., not in the blacklist
|
877 |
-
*/
|
878 |
$blacklist_names = array();
|
879 |
foreach ( $blacklist as $value ) {
|
880 |
$blacklist_names[] = $value['name'];
|
@@ -909,6 +919,8 @@ class MLAOptions {
|
|
909 |
* @return string HTML markup with select field options
|
910 |
*/
|
911 |
public static function mla_compose_data_source_option_list( $selection = 'none' ) {
|
|
|
|
|
912 |
$option_template = MLAOptions::$mla_option_templates['custom-field-select-option'];
|
913 |
|
914 |
$option_values = array (
|
@@ -1186,276 +1198,13 @@ class MLAOptions {
|
|
1186 |
* @return string HTML table row markup for 'render' else message(s) reflecting the results of the operation.
|
1187 |
*/
|
1188 |
public static function mla_custom_field_option_handler( $action, $key, $value, $args = NULL ) {
|
1189 |
-
|
1190 |
-
|
1191 |
-
switch ( $action ) {
|
1192 |
-
case 'render':
|
1193 |
-
if (empty( $current_values ) ) {
|
1194 |
-
$table_rows = MLAData::mla_parse_template( MLAOptions::$mla_option_templates['custom-field-empty-row'],
|
1195 |
-
array(
|
1196 |
-
'No Mapping Rules' => __( 'No Custom Field Mapping Rules Defined', 'media-library-assistant' ),
|
1197 |
-
'column_count' => 7 ) );
|
1198 |
-
} else {
|
1199 |
-
$row_template = MLAOptions::$mla_option_templates['custom-field-rule-row'];
|
1200 |
-
$table_rows = '';
|
1201 |
-
$index = 0;
|
1202 |
-
}
|
1203 |
-
|
1204 |
-
/*
|
1205 |
-
* One row for each existing rule, case insensitive "natural order"
|
1206 |
-
*/
|
1207 |
-
$sorted_keys = array();
|
1208 |
-
foreach ( $current_values as $row_name => $current_value ) {
|
1209 |
-
$sorted_keys[ $current_value['name'] ] = $current_value['name'];
|
1210 |
-
}
|
1211 |
-
natcasesort( $sorted_keys );
|
1212 |
-
|
1213 |
-
$sorted_names = array();
|
1214 |
-
foreach ( $sorted_keys as $row_name ) {
|
1215 |
-
$sorted_names[ $row_name ] = array();
|
1216 |
-
}
|
1217 |
-
|
1218 |
-
/*
|
1219 |
-
* Allow for multiple rules mapping the same name (an old bug)
|
1220 |
-
*/
|
1221 |
-
foreach ( $current_values as $row_name => $current_value ) {
|
1222 |
-
$sorted_names[ $current_value['name'] ][] = $row_name;
|
1223 |
-
}
|
1224 |
-
|
1225 |
-
foreach ( $sorted_names as $sorted_keys ) {
|
1226 |
-
foreach ( $sorted_keys as $row_name ) {
|
1227 |
-
$current_value = $current_values[ $row_name ];
|
1228 |
-
$row_values = array (
|
1229 |
-
'column_count' => 7,
|
1230 |
-
'column_count_meta' => (7 - 2),
|
1231 |
-
'index' => $index++,
|
1232 |
-
'key' => esc_attr( $row_name ),
|
1233 |
-
'name_attr' => esc_attr( $row_name ),
|
1234 |
-
'name' => esc_html( $row_name ),
|
1235 |
-
'data_source_options' => MLAOptions::mla_compose_data_source_option_list( $current_value['data_source'] ),
|
1236 |
-
'keep_selected' => '',
|
1237 |
-
'Keep' => __( 'Keep', 'media-library-assistant' ),
|
1238 |
-
'replace_selected' => '',
|
1239 |
-
'Replace' => __( 'Replace', 'media-library-assistant' ),
|
1240 |
-
'native_format' => '',
|
1241 |
-
'Native' => __( 'Native', 'media-library-assistant' ),
|
1242 |
-
'commas_format' => '',
|
1243 |
-
'Commas' => __( 'Commas', 'media-library-assistant' ),
|
1244 |
-
'raw_format' => '',
|
1245 |
-
'Raw' => __( 'Raw', 'media-library-assistant' ),
|
1246 |
-
'mla_column_checked' => '',
|
1247 |
-
'quick_edit_checked' => '',
|
1248 |
-
'bulk_edit_checked' => '',
|
1249 |
-
'meta_name_size' => 30,
|
1250 |
-
'meta_name' => esc_attr( $current_value['meta_name'] ),
|
1251 |
-
'Option' => __( 'Option', 'media-library-assistant' ),
|
1252 |
-
'text_option' => '',
|
1253 |
-
'Text' => __( 'Text', 'media-library-assistant' ),
|
1254 |
-
'single_option' => '',
|
1255 |
-
'Single' => __( 'Single', 'media-library-assistant' ),
|
1256 |
-
'export_option' => '',
|
1257 |
-
'Export' => __( 'Export', 'media-library-assistant' ),
|
1258 |
-
'array_option' => '',
|
1259 |
-
'Array' => __( 'Array', 'media-library-assistant' ),
|
1260 |
-
'multi_option' => '',
|
1261 |
-
'Multi' => __( 'Multi', 'media-library-assistant' ),
|
1262 |
-
'no_null_checked' => '',
|
1263 |
-
'Delete NULL values' => __( 'Delete NULL values', 'media-library-assistant' ),
|
1264 |
-
'Delete Rule' => __( 'Delete Rule', 'media-library-assistant' ),
|
1265 |
-
'Delete Field' => __( 'Delete Rule AND Field', 'media-library-assistant' ),
|
1266 |
-
'Update Rule' => __( 'Update Rule', 'media-library-assistant' ),
|
1267 |
-
'Map All Attachments' => __( 'Map All Attachments', 'media-library-assistant' ),
|
1268 |
-
);
|
1269 |
-
|
1270 |
-
if ( $current_value['keep_existing'] ) {
|
1271 |
-
$row_values['keep_selected'] = 'selected="selected"';
|
1272 |
-
} else {
|
1273 |
-
$row_values['replace_selected'] = 'selected="selected"';
|
1274 |
-
}
|
1275 |
-
|
1276 |
-
switch( $current_value['format'] ) {
|
1277 |
-
case 'commas':
|
1278 |
-
$row_values['commas_format'] = 'selected="selected"';
|
1279 |
-
break;
|
1280 |
-
case 'raw':
|
1281 |
-
$row_values['raw_format'] = 'selected="selected"';
|
1282 |
-
break;
|
1283 |
-
default:
|
1284 |
-
$row_values['native_format'] = 'selected="selected"';
|
1285 |
-
} // format
|
1286 |
-
|
1287 |
-
if ( $current_value['mla_column'] ) {
|
1288 |
-
$row_values['mla_column_checked'] = 'checked="checked"';
|
1289 |
-
}
|
1290 |
-
|
1291 |
-
if ( $current_value['quick_edit'] ) {
|
1292 |
-
$row_values['quick_edit_checked'] = 'checked="checked"';
|
1293 |
-
}
|
1294 |
|
1295 |
-
|
1296 |
-
|
1297 |
-
}
|
1298 |
-
|
1299 |
-
switch( $current_value['option'] ) {
|
1300 |
-
case 'single':
|
1301 |
-
$row_values['single_option'] = 'selected="selected"';
|
1302 |
-
break;
|
1303 |
-
case 'export':
|
1304 |
-
$row_values['export_option'] = 'selected="selected"';
|
1305 |
-
break;
|
1306 |
-
case 'array':
|
1307 |
-
$row_values['array_option'] = 'selected="selected"';
|
1308 |
-
break;
|
1309 |
-
case 'multi':
|
1310 |
-
$row_values['multi_option'] = 'selected="selected"';
|
1311 |
-
break;
|
1312 |
-
default:
|
1313 |
-
$row_values['text_option'] = 'selected="selected"';
|
1314 |
-
} // option
|
1315 |
-
|
1316 |
-
if ( $current_value['no_null'] ) {
|
1317 |
-
$row_values['no_null_checked'] = 'checked="checked"';
|
1318 |
-
}
|
1319 |
-
|
1320 |
-
$table_rows .= MLAData::mla_parse_template( $row_template, $row_values );
|
1321 |
-
} // foreach current_value
|
1322 |
-
} // foreach sorted_name
|
1323 |
-
|
1324 |
-
/*
|
1325 |
-
* Add a row for defining a new Custom Rule
|
1326 |
-
*/
|
1327 |
-
$row_template = MLAOptions::$mla_option_templates['custom-field-new-rule-row'];
|
1328 |
-
$row_values = array (
|
1329 |
-
'column_count' => 7,
|
1330 |
-
'column_count_meta' => (7 - 2),
|
1331 |
-
'Add new Rule' => __( 'Add a new Mapping Rule', 'media-library-assistant' ),
|
1332 |
-
'index' => MLACoreOptions::MLA_NEW_CUSTOM_RULE,
|
1333 |
-
'field_name_options' => MLAOptions::mla_compose_custom_field_option_list( 'none', $current_values ),
|
1334 |
-
'data_source_options' => MLAOptions::mla_compose_data_source_option_list( 'none' ),
|
1335 |
-
'keep_selected' => '',
|
1336 |
-
'Keep' => __( 'Keep', 'media-library-assistant' ),
|
1337 |
-
'replace_selected' => 'selected="selected"',
|
1338 |
-
'Replace' => __( 'Replace', 'media-library-assistant' ),
|
1339 |
-
'native_format' => 'selected="selected"',
|
1340 |
-
'Native' => __( 'Native', 'media-library-assistant' ),
|
1341 |
-
'commas_format' => '',
|
1342 |
-
'Commas' => __( 'Commas', 'media-library-assistant' ),
|
1343 |
-
'raw_format' => '',
|
1344 |
-
'Raw' => __( 'Raw', 'media-library-assistant' ),
|
1345 |
-
'mla_column_checked' => '',
|
1346 |
-
'quick_edit_checked' => '',
|
1347 |
-
'bulk_edit_checked' => '',
|
1348 |
-
'meta_name_size' => 30,
|
1349 |
-
'meta_name' => '',
|
1350 |
-
'Option' => __( 'Option', 'media-library-assistant' ),
|
1351 |
-
'text_option' => '',
|
1352 |
-
'Text' => __( 'Text', 'media-library-assistant' ),
|
1353 |
-
'single_option' => '',
|
1354 |
-
'Single' => __( 'Single', 'media-library-assistant' ),
|
1355 |
-
'export_option' => '',
|
1356 |
-
'Export' => __( 'Export', 'media-library-assistant' ),
|
1357 |
-
'array_option' => '',
|
1358 |
-
'Array' => __( 'Array', 'media-library-assistant' ),
|
1359 |
-
'multi_option' => '',
|
1360 |
-
'Multi' => __( 'Multi', 'media-library-assistant' ),
|
1361 |
-
'no_null_checked' => '',
|
1362 |
-
'Delete NULL values' => __( 'Delete NULL values', 'media-library-assistant' ),
|
1363 |
-
'Add Rule' => __( 'Add Rule', 'media-library-assistant' ),
|
1364 |
-
'Map All Attachments' => __( 'Add Rule and Map All Attachments', 'media-library-assistant' ),
|
1365 |
-
);
|
1366 |
-
$table_rows .= MLAData::mla_parse_template( $row_template, $row_values );
|
1367 |
-
|
1368 |
-
/*
|
1369 |
-
* Add a row for defining a new Custom Field
|
1370 |
-
*/
|
1371 |
-
$row_template = MLAOptions::$mla_option_templates['custom-field-new-field-row'];
|
1372 |
-
$row_values = array (
|
1373 |
-
'column_count' => 7,
|
1374 |
-
'column_count_meta' => (7 - 2),
|
1375 |
-
'Add new Field' => __( 'Add a new Field and Mapping Rule', 'media-library-assistant' ),
|
1376 |
-
'index' => MLACoreOptions::MLA_NEW_CUSTOM_FIELD,
|
1377 |
-
'field_name_size' => '24',
|
1378 |
-
'data_source_options' => MLAOptions::mla_compose_data_source_option_list( 'none' ),
|
1379 |
-
'keep_selected' => '',
|
1380 |
-
'Keep' => __( 'Keep', 'media-library-assistant' ),
|
1381 |
-
'replace_selected' => 'selected="selected"',
|
1382 |
-
'Replace' => __( 'Replace', 'media-library-assistant' ),
|
1383 |
-
'native_format' => 'selected="selected"',
|
1384 |
-
'Native' => __( 'Native', 'media-library-assistant' ),
|
1385 |
-
'commas_format' => '',
|
1386 |
-
'Commas' => __( 'Commas', 'media-library-assistant' ),
|
1387 |
-
'raw_format' => '',
|
1388 |
-
'Raw' => __( 'Raw', 'media-library-assistant' ),
|
1389 |
-
'mla_column_checked' => '',
|
1390 |
-
'quick_edit_checked' => '',
|
1391 |
-
'bulk_edit_checked' => '',
|
1392 |
-
'meta_name_size' => 30,
|
1393 |
-
'meta_name' => '',
|
1394 |
-
'Option' => __( 'Option', 'media-library-assistant' ),
|
1395 |
-
'text_option' => '',
|
1396 |
-
'Text' => __( 'Text', 'media-library-assistant' ),
|
1397 |
-
'single_option' => '',
|
1398 |
-
'Single' => __( 'Single', 'media-library-assistant' ),
|
1399 |
-
'export_option' => '',
|
1400 |
-
'Export' => __( 'Export', 'media-library-assistant' ),
|
1401 |
-
'array_option' => '',
|
1402 |
-
'Array' => __( 'Array', 'media-library-assistant' ),
|
1403 |
-
'multi_option' => '',
|
1404 |
-
'Multi' => __( 'Multi', 'media-library-assistant' ),
|
1405 |
-
'no_null_checked' => '',
|
1406 |
-
'Delete NULL values' => __( 'Delete NULL values', 'media-library-assistant' ),
|
1407 |
-
'Add Field' => __( 'Add Field', 'media-library-assistant' ),
|
1408 |
-
'Map All Attachments' => __( 'Add Field and Map All Attachments', 'media-library-assistant' ),
|
1409 |
-
);
|
1410 |
-
$table_rows .= MLAData::mla_parse_template( $row_template, $row_values );
|
1411 |
-
|
1412 |
-
$option_values = array (
|
1413 |
-
'Field Title' => __( 'Field Title', 'media-library-assistant' ),
|
1414 |
-
'Data Source' => __( 'Data Source', 'media-library-assistant' ),
|
1415 |
-
'Existing Text' => __( 'Existing Text', 'media-library-assistant' ),
|
1416 |
-
'Format' => __( 'Format', 'media-library-assistant' ),
|
1417 |
-
'MLA Column' => __( 'MLA Column', 'media-library-assistant' ),
|
1418 |
-
'Quick Edit' => __( 'Quick Edit', 'media-library-assistant' ),
|
1419 |
-
'Bulk Edit' => __( 'Bulk Edit', 'media-library-assistant' ),
|
1420 |
-
'table_rows' => $table_rows,
|
1421 |
-
'help' => $value['help']
|
1422 |
-
);
|
1423 |
-
|
1424 |
-
return MLAData::mla_parse_template( MLAOptions::$mla_option_templates['custom-field-table'], $option_values );
|
1425 |
-
case 'update':
|
1426 |
-
case 'delete':
|
1427 |
-
$settings_changed = false;
|
1428 |
-
$messages = '';
|
1429 |
-
|
1430 |
-
$results = MLAOptions::_update_custom_field_mapping( $current_values, $args );
|
1431 |
-
$messages .= $results['message'];
|
1432 |
-
$current_values = $results['values'];
|
1433 |
-
$settings_changed = $results['changed'];
|
1434 |
-
|
1435 |
-
if ( $settings_changed ) {
|
1436 |
-
$settings_changed = MLACore::mla_update_option( 'custom_field_mapping', $current_values );
|
1437 |
-
if ( $settings_changed ) {
|
1438 |
-
$results = __( 'Custom field mapping rules updated.', 'media-library-assistant' ) . "\r\n";
|
1439 |
-
} else {
|
1440 |
-
$results = __( 'ERROR', 'media-library-assistant' ) . ': ' . __( 'Custom field mapping rules update failed.', 'media-library-assistant' ) . "\r\n";
|
1441 |
-
}
|
1442 |
-
} else {
|
1443 |
-
$results = __( 'Custom field no mapping rule changes detected.', 'media-library-assistant' ) . "\r\n";
|
1444 |
-
}
|
1445 |
|
1446 |
-
|
1447 |
-
case 'reset':
|
1448 |
-
$current_values = MLACoreOptions::$mla_option_definitions['custom_field_mapping']['std'];
|
1449 |
-
$settings_changed = MLACore::mla_update_option( 'custom_field_mapping', $current_values );
|
1450 |
-
if ( $settings_changed ) {
|
1451 |
-
return __( 'Custom field mapping settings saved.', 'media-library-assistant' ) . "\r\n";
|
1452 |
-
} else {
|
1453 |
-
return __( 'ERROR', 'media-library-assistant' ) . ': ' . __( 'Custom field mapping settings reset failed.', 'media-library-assistant' ) . "\r\n";
|
1454 |
-
}
|
1455 |
-
default:
|
1456 |
-
/* translators: 1: ERROR tag 2: option name 3: action, e.g., update, delete, reset */
|
1457 |
-
return '<br>' . sprintf( __( '%1$s: Custom %2$s unknown action "%3$s"', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $key, $action ) . "\r\n";
|
1458 |
-
} // switch $action
|
1459 |
} // mla_custom_field_option_handler
|
1460 |
|
1461 |
/**
|
@@ -1507,7 +1256,7 @@ class MLAOptions {
|
|
1507 |
return absint( $post_term['term_id'] );
|
1508 |
}
|
1509 |
}
|
1510 |
-
|
1511 |
$post_term = wp_insert_term( $term_name, $taxonomy, array( 'parent' => $term_parent ) );
|
1512 |
if ( ( ! is_wp_error( $post_term ) ) && isset( $post_term['term_id'] ) ) {
|
1513 |
$term_cache[ $taxonomy ][ $term_parent ][ $term_name ] = $post_term['term_id'];
|
@@ -1531,6 +1280,10 @@ class MLAOptions {
|
|
1531 |
* @return array Updates suitable for MLAData::mla_update_single_item, if any
|
1532 |
*/
|
1533 |
public static function mla_evaluate_iptc_exif_mapping( $post, $category, $settings = NULL, $attachment_metadata = NULL, $is_upload = false ) {
|
|
|
|
|
|
|
|
|
1534 |
$image_metadata = MLAData::mla_fetch_attachment_image_metadata( $post->ID );
|
1535 |
|
1536 |
/*
|
@@ -1554,6 +1307,8 @@ class MLAOptions {
|
|
1554 |
|
1555 |
$settings = apply_filters( 'mla_mapping_settings', $settings, $post->ID, $category, $attachment_metadata );
|
1556 |
|
|
|
|
|
1557 |
if ( $update_all || ( 'iptc_exif_standard_mapping' == $category ) ) {
|
1558 |
foreach ( $settings['standard'] as $setting_key => $setting_value ) {
|
1559 |
$setting_value = apply_filters( 'mla_mapping_rule', $setting_value, $post->ID, 'iptc_exif_standard_mapping', $attachment_metadata );
|
@@ -1844,7 +1599,7 @@ class MLAOptions {
|
|
1844 |
}
|
1845 |
} // update taxonomy term mappings
|
1846 |
|
1847 |
-
if ( $update_all || ( 'iptc_exif_custom_mapping' == $category ) ) {
|
1848 |
$custom_updates = array();
|
1849 |
foreach ( $settings['custom'] as $setting_key => $setting_value ) {
|
1850 |
/*
|
@@ -1957,6 +1712,8 @@ class MLAOptions {
|
|
1957 |
} // update custom field mappings
|
1958 |
|
1959 |
$updates = apply_filters( 'mla_mapping_updates', $updates, $post->ID, $category, $settings, $attachment_metadata );
|
|
|
|
|
1960 |
return $updates;
|
1961 |
} // mla_evaluate_iptc_exif_mapping
|
1962 |
|
@@ -1971,6 +1728,8 @@ class MLAOptions {
|
|
1971 |
* @return string HTML markup with select field options
|
1972 |
*/
|
1973 |
public static function mla_compose_iptc_option_list( $selection = 'none' ) {
|
|
|
|
|
1974 |
$option_template = MLAOptions::$mla_option_templates['iptc-exif-select-option'];
|
1975 |
$option_values = array (
|
1976 |
'selected' => ( 'none' == $selection ) ? 'selected="selected"' : '',
|
@@ -2266,6 +2025,10 @@ class MLAOptions {
|
|
2266 |
$custom_field_names = MLAOptions::_get_custom_field_names();
|
2267 |
$new_values = stripslashes_deep( $new_values );
|
2268 |
|
|
|
|
|
|
|
|
|
2269 |
foreach ( $new_values['custom'] as $the_key => $new_value ) {
|
2270 |
$any_setting_changed = false;
|
2271 |
/*
|
@@ -2302,7 +2065,7 @@ class MLAOptions {
|
|
2302 |
|
2303 |
$new_value = $new_value;
|
2304 |
|
2305 |
-
if ( isset( $current_values['custom'][ $new_key ] ) ) {
|
2306 |
$old_values = $current_values['custom'][ $new_key ];
|
2307 |
$any_setting_changed = false;
|
2308 |
} else {
|
@@ -2428,7 +2191,7 @@ class MLAOptions {
|
|
2428 |
|
2429 |
$custom_field_mapping = MLACore::mla_get_option( 'custom_field_mapping' );
|
2430 |
$iptc_exif_mapping = MLACore::mla_get_option( 'iptc_exif_mapping' );
|
2431 |
-
$iptc_exif_mapping = $iptc_exif_mapping['custom'];
|
2432 |
|
2433 |
$limit = (int) apply_filters( 'postmeta_form_limit', 100 );
|
2434 |
$keys = $wpdb->get_col( "
|
@@ -2473,487 +2236,13 @@ class MLAOptions {
|
|
2473 |
* @return string HTML table row markup for 'render' else message(s) reflecting the results of the operation.
|
2474 |
*/
|
2475 |
public static function mla_iptc_exif_option_handler( $action, $key, $value, $args = NULL ) {
|
2476 |
-
|
2477 |
-
|
2478 |
-
case 'render':
|
2479 |
-
|
2480 |
-
switch ( $key ) {
|
2481 |
-
case 'iptc_exif_standard_mapping':
|
2482 |
-
$row_template = MLAOptions::$mla_option_templates['iptc-exif-standard-row'];
|
2483 |
-
$table_rows = '';
|
2484 |
-
|
2485 |
-
foreach ( $current_values['standard'] as $row_name => $row_value ) {
|
2486 |
-
$row_values = array (
|
2487 |
-
'key' => esc_attr( $row_name ),
|
2488 |
-
'name_attr' => esc_attr( $row_value['name'] ),
|
2489 |
-
'name' => esc_html( $row_value['name'] ),
|
2490 |
-
'iptc_field_options' => MLAOptions::mla_compose_iptc_option_list( $row_value['iptc_value'] ),
|
2491 |
-
'exif_size' => MLACoreOptions::MLA_EXIF_SIZE,
|
2492 |
-
'exif_text' => esc_attr( $row_value['exif_value'] ),
|
2493 |
-
'iptc_selected' => '',
|
2494 |
-
'IPTC' => __( 'IPTC', 'media-library-assistant' ),
|
2495 |
-
'exif_selected' => '',
|
2496 |
-
'EXIF' => __( 'EXIF', 'media-library-assistant' ),
|
2497 |
-
'keep_selected' => '',
|
2498 |
-
'Keep' => __( 'Keep', 'media-library-assistant' ),
|
2499 |
-
'replace_selected' => '',
|
2500 |
-
'Replace' => __( 'Replace', 'media-library-assistant' ),
|
2501 |
-
);
|
2502 |
-
|
2503 |
-
if ( $row_value['iptc_first'] ) {
|
2504 |
-
$row_values['iptc_selected'] = 'selected="selected"';
|
2505 |
-
} else {
|
2506 |
-
$row_values['exif_selected'] = 'selected="selected"';
|
2507 |
-
}
|
2508 |
-
|
2509 |
-
if ( $row_value['keep_existing'] ) {
|
2510 |
-
$row_values['keep_selected'] = 'selected="selected"';
|
2511 |
-
} else {
|
2512 |
-
$row_values['replace_selected'] = 'selected="selected"';
|
2513 |
-
}
|
2514 |
-
|
2515 |
-
$table_rows .= MLAData::mla_parse_template( $row_template, $row_values );
|
2516 |
-
} // foreach row
|
2517 |
-
|
2518 |
-
$option_values = array (
|
2519 |
-
'Field Title' => __( 'Field Title', 'media-library-assistant' ),
|
2520 |
-
'IPTC Value' => __( 'IPTC Value', 'media-library-assistant' ),
|
2521 |
-
'EXIF/Template Value' => __( 'EXIF/Template Value', 'media-library-assistant' ),
|
2522 |
-
'Priority' => __( 'Priority', 'media-library-assistant' ),
|
2523 |
-
'Existing Text' => __( 'Existing Text', 'media-library-assistant' ),
|
2524 |
-
'table_rows' => $table_rows,
|
2525 |
-
'help' => $value['help']
|
2526 |
-
);
|
2527 |
-
|
2528 |
-
return MLAData::mla_parse_template( MLAOptions::$mla_option_templates['iptc-exif-standard-table'], $option_values );
|
2529 |
-
case 'iptc_exif_taxonomy_mapping':
|
2530 |
-
$row_template = MLAOptions::$mla_option_templates['iptc-exif-taxonomy-row'];
|
2531 |
-
$select_template = MLAOptions::$mla_option_templates['iptc-exif-select'];
|
2532 |
-
$table_rows = '';
|
2533 |
-
$taxonomies = get_taxonomies( array ( 'show_ui' => true ), 'objects' );
|
2534 |
-
|
2535 |
-
foreach ( $taxonomies as $row_name => $row_value ) {
|
2536 |
-
if ( ! MLACore::mla_taxonomy_support($row_name, 'support') ) {
|
2537 |
-
continue;
|
2538 |
-
}
|
2539 |
-
|
2540 |
-
$row_values = array (
|
2541 |
-
'key' => esc_attr( $row_name ),
|
2542 |
-
'name' => esc_html( $row_value->labels->name ),
|
2543 |
-
'hierarchical' => (string) $row_value->hierarchical,
|
2544 |
-
'iptc_field_options' => '',
|
2545 |
-
'exif_size' => MLACoreOptions::MLA_EXIF_SIZE,
|
2546 |
-
'exif_text' => '',
|
2547 |
-
'iptc_selected' => '',
|
2548 |
-
'IPTC' => __( 'IPTC', 'media-library-assistant' ),
|
2549 |
-
'exif_selected' => '',
|
2550 |
-
'EXIF' => __( 'EXIF', 'media-library-assistant' ),
|
2551 |
-
'keep_selected' => '',
|
2552 |
-
'Keep' => __( 'Keep', 'media-library-assistant' ),
|
2553 |
-
'replace_selected' => '',
|
2554 |
-
'Replace' => __( 'Replace', 'media-library-assistant' ),
|
2555 |
-
'delimiters_size' => 4,
|
2556 |
-
'delimiters_text' => '',
|
2557 |
-
'parent_select' => ''
|
2558 |
-
);
|
2559 |
-
|
2560 |
-
if ( array_key_exists( $row_name, $current_values['taxonomy'] ) ) {
|
2561 |
-
$current_value = $current_values['taxonomy'][ $row_name ];
|
2562 |
-
$row_values['iptc_field_options'] = MLAOptions::mla_compose_iptc_option_list( $current_value['iptc_value'] );
|
2563 |
-
$row_values['exif_text'] = esc_attr( $current_value['exif_value'] );
|
2564 |
-
|
2565 |
-
if ( $current_value['iptc_first'] ) {
|
2566 |
-
$row_values['iptc_selected'] = 'selected="selected"';
|
2567 |
-
} else {
|
2568 |
-
$row_values['exif_selected'] = 'selected="selected"';
|
2569 |
-
}
|
2570 |
-
|
2571 |
-
if ( $current_value['keep_existing'] ) {
|
2572 |
-
$row_values['keep_selected'] = 'selected="selected"';
|
2573 |
-
} else {
|
2574 |
-
$row_values['replace_selected'] = 'selected="selected"';
|
2575 |
-
}
|
2576 |
-
|
2577 |
-
$row_values['delimiters_text'] = $current_value['delimiters'];
|
2578 |
-
|
2579 |
-
if ( $row_value->hierarchical ) {
|
2580 |
-
$parent = ( isset( $current_value['parent'] ) ) ? (integer) $current_value['parent'] : 0;
|
2581 |
-
$select_values = array (
|
2582 |
-
'array' => 'taxonomy',
|
2583 |
-
'key' => esc_attr( $row_name ),
|
2584 |
-
'element' => 'parent',
|
2585 |
-
'options' => MLAOptions::mla_compose_parent_option_list( $row_name, $parent )
|
2586 |
-
);
|
2587 |
-
$row_values['parent_select'] = MLAData::mla_parse_template( $select_template, $select_values );
|
2588 |
-
}
|
2589 |
-
} else {
|
2590 |
-
$row_values['iptc_field_options'] = MLAOptions::mla_compose_iptc_option_list( 'none' );
|
2591 |
-
$row_values['iptc_selected'] = 'selected="selected"';
|
2592 |
-
$row_values['keep_selected'] = 'selected="selected"';
|
2593 |
-
|
2594 |
-
if ( $row_value->hierarchical ) {
|
2595 |
-
$select_values = array (
|
2596 |
-
'array' => 'taxonomy',
|
2597 |
-
'key' => esc_attr( $row_name ),
|
2598 |
-
'element' => 'parent',
|
2599 |
-
'options' => MLAOptions::mla_compose_parent_option_list( $row_name, 0 )
|
2600 |
-
);
|
2601 |
-
$row_values['parent_select'] = MLAData::mla_parse_template( $select_template, $select_values );
|
2602 |
-
}
|
2603 |
-
}
|
2604 |
|
2605 |
-
|
2606 |
-
|
2607 |
-
|
2608 |
-
$option_values = array (
|
2609 |
-
'Field Title' => __( 'Field Title', 'media-library-assistant' ),
|
2610 |
-
'IPTC Value' => __( 'IPTC Value', 'media-library-assistant' ),
|
2611 |
-
'EXIF/Template Value' => __( 'EXIF/Template Value', 'media-library-assistant' ),
|
2612 |
-
'Priority' => __( 'Priority', 'media-library-assistant' ),
|
2613 |
-
'Existing Text' => __( 'Existing Text', 'media-library-assistant' ),
|
2614 |
-
'Delimiter(s)' => __( 'Delimiter(s)', 'media-library-assistant' ),
|
2615 |
-
'Parent' => __( 'Parent', 'media-library-assistant' ),
|
2616 |
-
'table_rows' => $table_rows,
|
2617 |
-
'help' => $value['help']
|
2618 |
-
);
|
2619 |
-
|
2620 |
-
return MLAData::mla_parse_template( MLAOptions::$mla_option_templates['iptc-exif-taxonomy-table'], $option_values );
|
2621 |
-
case 'iptc_exif_custom_mapping':
|
2622 |
-
if ( empty( $current_values['custom'] ) ) {
|
2623 |
-
$table_rows = MLAData::mla_parse_template( MLAOptions::$mla_option_templates['iptc-exif-custom-empty-row'],
|
2624 |
-
array(
|
2625 |
-
'No Mapping Rules' => __( 'No Custom Field Mapping Rules Defined', 'media-library-assistant' ),
|
2626 |
-
'column_count' => 5 ) );
|
2627 |
-
} else {
|
2628 |
-
$row_template = MLAOptions::$mla_option_templates['iptc-exif-custom-rule-row'];
|
2629 |
-
$table_rows = '';
|
2630 |
-
$index = 0;
|
2631 |
-
}
|
2632 |
-
|
2633 |
-
/*
|
2634 |
-
* One row for each existing rule, case insensitive "natural order"
|
2635 |
-
*/
|
2636 |
-
$sorted_keys = array();
|
2637 |
-
foreach ( $current_values['custom'] as $row_name => $current_value ) {
|
2638 |
-
$sorted_keys[ $current_value['name'] ] = $current_value['name'];
|
2639 |
-
}
|
2640 |
-
natcasesort( $sorted_keys );
|
2641 |
-
|
2642 |
-
$sorted_names = array();
|
2643 |
-
foreach ( $sorted_keys as $row_name ) {
|
2644 |
-
$sorted_names[ $row_name ] = array();
|
2645 |
-
}
|
2646 |
-
|
2647 |
-
/*
|
2648 |
-
* Allow for multiple rules mapping the same name (an old bug)
|
2649 |
-
*/
|
2650 |
-
foreach ( $current_values['custom'] as $row_name => $current_value ) {
|
2651 |
-
$sorted_names[ $current_value['name'] ][] = $row_name;
|
2652 |
-
}
|
2653 |
-
|
2654 |
-
foreach ( $sorted_names as $sorted_keys ) {
|
2655 |
-
foreach ( $sorted_keys as $row_name ) {
|
2656 |
-
$current_value = $current_values['custom'][ $row_name ];
|
2657 |
-
$row_values = array (
|
2658 |
-
'column_count' => 5,
|
2659 |
-
'column_count_meta' => (5 - 2),
|
2660 |
-
'index' => $index++,
|
2661 |
-
'key' => esc_attr( $row_name ),
|
2662 |
-
'name_attr' => esc_attr( $current_value['name'] ),
|
2663 |
-
'name' => esc_html( $current_value['name'] ),
|
2664 |
-
'iptc_field_options' => MLAOptions::mla_compose_iptc_option_list( $current_value['iptc_value'] ),
|
2665 |
-
'exif_size' => MLACoreOptions::MLA_EXIF_SIZE,
|
2666 |
-
'exif_text' => esc_attr( $current_value['exif_value'] ),
|
2667 |
-
'iptc_selected' => '',
|
2668 |
-
'IPTC' => __( 'IPTC', 'media-library-assistant' ),
|
2669 |
-
'exif_selected' => '',
|
2670 |
-
'EXIF' => __( 'EXIF', 'media-library-assistant' ),
|
2671 |
-
'keep_selected' => '',
|
2672 |
-
'Keep' => __( 'Keep', 'media-library-assistant' ),
|
2673 |
-
'replace_selected' => '',
|
2674 |
-
'Replace' => __( 'Replace', 'media-library-assistant' ),
|
2675 |
-
'Format' => __( 'Format', 'media-library-assistant' ),
|
2676 |
-
'native_format' => '',
|
2677 |
-
'Native' => __( 'Native', 'media-library-assistant' ),
|
2678 |
-
'commas_format' => '',
|
2679 |
-
'Commas' => __( 'Commas', 'media-library-assistant' ),
|
2680 |
-
'raw_format' => '',
|
2681 |
-
'Raw' => __( 'Raw', 'media-library-assistant' ),
|
2682 |
-
'Option' => __( 'Option', 'media-library-assistant' ),
|
2683 |
-
'text_option' => '',
|
2684 |
-
'Text' => __( 'Text', 'media-library-assistant' ),
|
2685 |
-
'single_option' => '',
|
2686 |
-
'Single' => __( 'Single', 'media-library-assistant' ),
|
2687 |
-
'export_option' => '',
|
2688 |
-
'Export' => __( 'Export', 'media-library-assistant' ),
|
2689 |
-
'array_option' => '',
|
2690 |
-
'Array' => __( 'Array', 'media-library-assistant' ),
|
2691 |
-
'multi_option' => '',
|
2692 |
-
'Multi' => __( 'Multi', 'media-library-assistant' ),
|
2693 |
-
'no_null_checked' => '',
|
2694 |
-
'Delete NULL values' => __( 'Delete NULL values', 'media-library-assistant' ),
|
2695 |
-
'Delete Rule' => __( 'Delete Rule', 'media-library-assistant' ),
|
2696 |
-
'Delete Field' => __( 'Delete Rule AND Field', 'media-library-assistant' ),
|
2697 |
-
'Update Rule' => __( 'Update Rule', 'media-library-assistant' ),
|
2698 |
-
'Map All Attachments' => __( 'Map All Attachments', 'media-library-assistant' ),
|
2699 |
-
);
|
2700 |
-
|
2701 |
-
if ( $current_value['iptc_first'] ) {
|
2702 |
-
$row_values['iptc_selected'] = 'selected="selected"';
|
2703 |
-
} else {
|
2704 |
-
$row_values['exif_selected'] = 'selected="selected"';
|
2705 |
-
}
|
2706 |
-
|
2707 |
-
if ( $current_value['keep_existing'] ) {
|
2708 |
-
$row_values['keep_selected'] = 'selected="selected"';
|
2709 |
-
} else {
|
2710 |
-
$row_values['replace_selected'] = 'selected="selected"';
|
2711 |
-
}
|
2712 |
-
|
2713 |
-
switch( $current_value['format'] ) {
|
2714 |
-
case 'commas':
|
2715 |
-
$row_values['commas_format'] = 'selected="selected"';
|
2716 |
-
break;
|
2717 |
-
case 'raw':
|
2718 |
-
$row_values['raw_format'] = 'selected="selected"';
|
2719 |
-
break;
|
2720 |
-
default:
|
2721 |
-
$row_values['native_format'] = 'selected="selected"';
|
2722 |
-
} // format
|
2723 |
-
|
2724 |
-
switch( $current_value['option'] ) {
|
2725 |
-
case 'single':
|
2726 |
-
$row_values['single_option'] = 'selected="selected"';
|
2727 |
-
break;
|
2728 |
-
case 'export':
|
2729 |
-
$row_values['export_option'] = 'selected="selected"';
|
2730 |
-
break;
|
2731 |
-
case 'array':
|
2732 |
-
$row_values['array_option'] = 'selected="selected"';
|
2733 |
-
break;
|
2734 |
-
case 'multi':
|
2735 |
-
$row_values['multi_option'] = 'selected="selected"';
|
2736 |
-
break;
|
2737 |
-
default:
|
2738 |
-
$row_values['text_option'] = 'selected="selected"';
|
2739 |
-
} // option
|
2740 |
-
|
2741 |
-
if ( $current_value['no_null'] ) {
|
2742 |
-
$row_values['no_null_checked'] = 'checked="checked"';
|
2743 |
-
}
|
2744 |
-
|
2745 |
-
$table_rows .= MLAData::mla_parse_template( $row_template, $row_values );
|
2746 |
-
} // foreach current_values key
|
2747 |
-
} // foreach sorted_name
|
2748 |
-
|
2749 |
-
/*
|
2750 |
-
* Add a row for defining a new rule, existing Custom Field
|
2751 |
-
*/
|
2752 |
-
$row_template = MLAOptions::$mla_option_templates['iptc-exif-custom-new-rule-row'];
|
2753 |
-
$row_values = array (
|
2754 |
-
'column_count' => 5 ,
|
2755 |
-
'column_count_meta' => (5 - 2),
|
2756 |
-
'Add new Rule' => __( 'Add a new Mapping Rule', 'media-library-assistant' ),
|
2757 |
-
'index' => MLACoreOptions::MLA_NEW_CUSTOM_RULE,
|
2758 |
-
'field_name_options' => MLAOptions::mla_compose_custom_field_option_list( 'none', $current_values['custom'] ),
|
2759 |
-
'iptc_field_options' => MLAOptions::mla_compose_iptc_option_list( 'none' ),
|
2760 |
-
'exif_size' => MLACoreOptions::MLA_EXIF_SIZE,
|
2761 |
-
'exif_text' => '',
|
2762 |
-
'iptc_selected' => 'selected="selected"',
|
2763 |
-
'IPTC' => __( 'IPTC', 'media-library-assistant' ),
|
2764 |
-
'exif_selected' => '',
|
2765 |
-
'EXIF' => __( 'EXIF', 'media-library-assistant' ),
|
2766 |
-
'keep_selected' => 'selected="selected"',
|
2767 |
-
'Keep' => __( 'Keep', 'media-library-assistant' ),
|
2768 |
-
'replace_selected' => '',
|
2769 |
-
'Replace' => __( 'Replace', 'media-library-assistant' ),
|
2770 |
-
'Format' => __( 'Format', 'media-library-assistant' ),
|
2771 |
-
'native_format' => 'selected="selected"',
|
2772 |
-
'Native' => __( 'Native', 'media-library-assistant' ),
|
2773 |
-
'commas_format' => '',
|
2774 |
-
'Commas' => __( 'Commas', 'media-library-assistant' ),
|
2775 |
-
'raw_format' => '',
|
2776 |
-
'Raw' => __( 'Raw', 'media-library-assistant' ),
|
2777 |
-
'Option' => __( 'Option', 'media-library-assistant' ),
|
2778 |
-
'text_option' => '',
|
2779 |
-
'Text' => __( 'Text', 'media-library-assistant' ),
|
2780 |
-
'single_option' => '',
|
2781 |
-
'Single' => __( 'Single', 'media-library-assistant' ),
|
2782 |
-
'export_option' => '',
|
2783 |
-
'Export' => __( 'Export', 'media-library-assistant' ),
|
2784 |
-
'array_option' => '',
|
2785 |
-
'Array' => __( 'Array', 'media-library-assistant' ),
|
2786 |
-
'multi_option' => '',
|
2787 |
-
'Multi' => __( 'Multi', 'media-library-assistant' ),
|
2788 |
-
'no_null_checked' => '',
|
2789 |
-
'Delete NULL values' => __( 'Delete NULL values', 'media-library-assistant' ),
|
2790 |
-
'Add Rule' => __( 'Add Rule', 'media-library-assistant' ),
|
2791 |
-
'Map All Attachments' => __( 'Add Rule and Map All Attachments', 'media-library-assistant' ),
|
2792 |
-
);
|
2793 |
-
$table_rows .= MLAData::mla_parse_template( $row_template, $row_values );
|
2794 |
-
|
2795 |
-
/*
|
2796 |
-
* Add a row for defining a new rule, new Custom Field
|
2797 |
-
*/
|
2798 |
-
$row_template = MLAOptions::$mla_option_templates['iptc-exif-custom-new-field-row'];
|
2799 |
-
$row_values = array (
|
2800 |
-
'column_count' => 5 ,
|
2801 |
-
'column_count_meta' => (5 - 2),
|
2802 |
-
'Add new Field' => __( 'Add a new Field and Mapping Rule', 'media-library-assistant' ),
|
2803 |
-
'index' => MLACoreOptions::MLA_NEW_CUSTOM_FIELD,
|
2804 |
-
'field_name_size' => '24',
|
2805 |
-
'iptc_field_options' => MLAOptions::mla_compose_iptc_option_list( 'none' ),
|
2806 |
-
'exif_size' => MLACoreOptions::MLA_EXIF_SIZE,
|
2807 |
-
'exif_text' => '',
|
2808 |
-
'iptc_selected' => 'selected="selected"',
|
2809 |
-
'IPTC' => __( 'IPTC', 'media-library-assistant' ),
|
2810 |
-
'exif_selected' => '',
|
2811 |
-
'EXIF' => __( 'EXIF', 'media-library-assistant' ),
|
2812 |
-
'keep_selected' => 'selected="selected"',
|
2813 |
-
'Keep' => __( 'Keep', 'media-library-assistant' ),
|
2814 |
-
'replace_selected' => '',
|
2815 |
-
'Replace' => __( 'Replace', 'media-library-assistant' ),
|
2816 |
-
'Format' => __( 'Format', 'media-library-assistant' ),
|
2817 |
-
'native_format' => 'selected="selected"',
|
2818 |
-
'Native' => __( 'Native', 'media-library-assistant' ),
|
2819 |
-
'commas_format' => '',
|
2820 |
-
'Commas' => __( 'Commas', 'media-library-assistant' ),
|
2821 |
-
'raw_format' => '',
|
2822 |
-
'Raw' => __( 'Raw', 'media-library-assistant' ),
|
2823 |
-
'Option' => __( 'Option', 'media-library-assistant' ),
|
2824 |
-
'text_option' => '',
|
2825 |
-
'Text' => __( 'Text', 'media-library-assistant' ),
|
2826 |
-
'single_option' => '',
|
2827 |
-
'Single' => __( 'Single', 'media-library-assistant' ),
|
2828 |
-
'export_option' => '',
|
2829 |
-
'Export' => __( 'Export', 'media-library-assistant' ),
|
2830 |
-
'array_option' => '',
|
2831 |
-
'Array' => __( 'Array', 'media-library-assistant' ),
|
2832 |
-
'multi_option' => '',
|
2833 |
-
'Multi' => __( 'Multi', 'media-library-assistant' ),
|
2834 |
-
'no_null_checked' => '',
|
2835 |
-
'Delete NULL values' => __( 'Delete NULL values', 'media-library-assistant' ),
|
2836 |
-
'Add Field' => __( 'Add Field', 'media-library-assistant' ),
|
2837 |
-
'Map All Attachments' => __( 'Add Field and Map All Attachments', 'media-library-assistant' ),
|
2838 |
-
);
|
2839 |
-
$table_rows .= MLAData::mla_parse_template( $row_template, $row_values );
|
2840 |
-
|
2841 |
-
$option_values = array (
|
2842 |
-
'Field Title' => __( 'Field Title', 'media-library-assistant' ),
|
2843 |
-
'IPTC Value' => __( 'IPTC Value', 'media-library-assistant' ),
|
2844 |
-
'EXIF/Template Value' => __( 'EXIF/Template Value', 'media-library-assistant' ),
|
2845 |
-
'Priority' => __( 'Priority', 'media-library-assistant' ),
|
2846 |
-
'Existing Text' => __( 'Existing Text', 'media-library-assistant' ),
|
2847 |
-
'table_rows' => $table_rows,
|
2848 |
-
'help' => $value['help']
|
2849 |
-
);
|
2850 |
-
|
2851 |
-
return MLAData::mla_parse_template( MLAOptions::$mla_option_templates['iptc-exif-custom-table'], $option_values );
|
2852 |
-
default:
|
2853 |
-
/* translators: 1: ERROR tag 2: option name */
|
2854 |
-
return '<br>' . sprintf( __( '%1$s: Render unknown custom %2$s.', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $key ) . "\r\n";
|
2855 |
-
} // switch $key
|
2856 |
-
case 'update':
|
2857 |
-
case 'delete':
|
2858 |
-
$settings_changed = false;
|
2859 |
-
$messages = '';
|
2860 |
-
|
2861 |
-
switch ( $key ) {
|
2862 |
-
case 'iptc_exif_standard_mapping':
|
2863 |
-
$results = MLAOptions::_update_iptc_exif_standard_mapping( $current_values, $args );
|
2864 |
-
$messages .= $results['message'];
|
2865 |
-
$current_values = $results['values'];
|
2866 |
-
$settings_changed = $results['changed'];
|
2867 |
-
break;
|
2868 |
-
case 'iptc_exif_taxonomy_mapping':
|
2869 |
-
$results = MLAOptions::_update_iptc_exif_taxonomy_mapping( $current_values, $args );
|
2870 |
-
$messages .= $results['message'];
|
2871 |
-
$current_values = $results['values'];
|
2872 |
-
$settings_changed = $results['changed'];
|
2873 |
-
break;
|
2874 |
-
case 'iptc_exif_custom_mapping':
|
2875 |
-
$results = MLAOptions::_update_iptc_exif_custom_mapping( $current_values, $args );
|
2876 |
-
$messages .= $results['message'];
|
2877 |
-
$current_values = $results['values'];
|
2878 |
-
$settings_changed = $results['changed'];
|
2879 |
-
break;
|
2880 |
-
case 'iptc_exif_mapping':
|
2881 |
-
$results = MLAOptions::_update_iptc_exif_standard_mapping( $current_values, $args );
|
2882 |
-
$messages .= $results['message'];
|
2883 |
-
$current_values = $results['values'];
|
2884 |
-
$settings_changed = $results['changed'];
|
2885 |
-
|
2886 |
-
$results = MLAOptions::_update_iptc_exif_taxonomy_mapping( $current_values, $args );
|
2887 |
-
$messages .= $results['message'];
|
2888 |
-
$current_values = $results['values'];
|
2889 |
-
$settings_changed |= $results['changed'];
|
2890 |
-
|
2891 |
-
$results = MLAOptions::_update_iptc_exif_custom_mapping( $current_values, $args );
|
2892 |
-
$messages .= $results['message'];
|
2893 |
-
$current_values = $results['values'];
|
2894 |
-
$settings_changed |= $results['changed'];
|
2895 |
-
break;
|
2896 |
-
default:
|
2897 |
-
/* translators: 1: ERROR tag 2: option name */
|
2898 |
-
return '<br>' . sprintf( __( '%1$s: Update/delete unknown custom %2$s.', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $key ) . "\r\n";
|
2899 |
-
} // switch $key
|
2900 |
-
|
2901 |
-
if ( $settings_changed ) {
|
2902 |
-
$settings_changed = MLACore::mla_update_option( 'iptc_exif_mapping', $current_values );
|
2903 |
-
if ( $settings_changed ) {
|
2904 |
-
$results = __( 'IPTC/EXIF mapping settings updated.', 'media-library-assistant' ) . "\r\n";
|
2905 |
-
} else {
|
2906 |
-
$results = __( 'ERROR', 'media-library-assistant' ) . ': ' . __( 'IPTC/EXIF settings update failed.', 'media-library-assistant' ) . "\r\n";
|
2907 |
-
}
|
2908 |
-
} else {
|
2909 |
-
$results = __( 'IPTC/EXIF no mapping changes detected.', 'media-library-assistant' ) . "\r\n";
|
2910 |
-
}
|
2911 |
|
2912 |
-
|
2913 |
-
case 'reset':
|
2914 |
-
switch ( $key ) {
|
2915 |
-
case 'iptc_exif_standard_mapping':
|
2916 |
-
$current_values['standard'] = MLACoreOptions::$mla_option_definitions['iptc_exif_mapping']['std']['standard'];
|
2917 |
-
$settings_changed = MLACore::mla_update_option( 'iptc_exif_mapping', $current_values );
|
2918 |
-
if ( $settings_changed ) {
|
2919 |
-
/* translators: 1: field type */
|
2920 |
-
return sprintf( __( '%1$s settings saved.', 'media-library-assistant' ), 'IPTC/EXIF ' . __( 'Standard field', 'media-library-assistant' ) ) . "\r\n";
|
2921 |
-
} else {
|
2922 |
-
/* translators: 1: ERROR tag 2: field type */
|
2923 |
-
return sprintf( __( '%1$s: IPTC/EXIF %2$s settings update failed.', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), __( 'Standard field', 'media-library-assistant' ) ) . "\r\n";
|
2924 |
-
}
|
2925 |
-
case 'iptc_exif_taxonomy_mapping':
|
2926 |
-
$current_values['taxonomy'] = MLACoreOptions::$mla_option_definitions['iptc_exif_mapping']['std']['taxonomy'];
|
2927 |
-
$settings_changed = MLACore::mla_update_option( 'iptc_exif_mapping', $current_values );
|
2928 |
-
if ( $settings_changed ) {
|
2929 |
-
/* translators: 1: field type */
|
2930 |
-
return sprintf( __( '%1$s settings saved.', 'media-library-assistant' ), 'IPTC/EXIF ' . __( 'Taxonomy term', 'media-library-assistant' ) ) . "\r\n";
|
2931 |
-
} else {
|
2932 |
-
/* translators: 1: ERROR tag 2: field type */
|
2933 |
-
return sprintf( __( '%1$s: IPTC/EXIF %2$s settings update failed.', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), __( 'Taxonomy term', 'media-library-assistant' ) ) . "\r\n";
|
2934 |
-
}
|
2935 |
-
case 'iptc_exif_custom_mapping':
|
2936 |
-
$current_values['custom'] = MLACoreOptions::$mla_option_definitions['iptc_exif_mapping']['std']['custom'];
|
2937 |
-
$settings_changed = MLACore::mla_update_option( 'iptc_exif_mapping', $current_values );
|
2938 |
-
if ( $settings_changed ) {
|
2939 |
-
/* translators: 1: field type */
|
2940 |
-
return sprintf( __( '%1$s settings saved.', 'media-library-assistant' ), 'IPTC/EXIF ' . __( 'Custom field', 'media-library-assistant' ) ) . "\r\n";
|
2941 |
-
} else {
|
2942 |
-
/* translators: 1: ERROR tag 2: field type */
|
2943 |
-
return sprintf( __( '%1$s: IPTC/EXIF %2$s settings update failed.', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), __( 'Custom field', 'media-library-assistant' ) ) . "\r\n";
|
2944 |
-
}
|
2945 |
-
case 'iptc_exif_mapping':
|
2946 |
-
MLACore::mla_delete_option( $key );
|
2947 |
-
/* translators: 1: option name, e.g., taxonomy_support */
|
2948 |
-
return '<br>' . sprintf( __( 'Reset custom %1$s', 'media-library-assistant' ), $key ) . "\r\n";
|
2949 |
-
default:
|
2950 |
-
/* translators: 1: ERROR tag 2: option name, e.g., taxonomy_support */
|
2951 |
-
return '<br>' . sprintf( __( '%1$s: Reset unknown custom %2$s', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $key ) . "\r\n";
|
2952 |
-
} // switch $key
|
2953 |
-
default:
|
2954 |
-
/* translators: 1: ERROR tag 2: option name 3: action, e.g., update, delete, reset */
|
2955 |
-
return '<br>' . sprintf( __( '%1$s: Custom %2$s unknown action "%3$s"', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $key, $action ) . "\r\n";
|
2956 |
-
} // switch $action
|
2957 |
} // mla_iptc_exif_option_handler
|
2958 |
} // class MLAOptions
|
2959 |
?>
|
24 |
* @return void
|
25 |
*/
|
26 |
public static function initialize( ) {
|
|
|
|
|
27 |
if ( ( 'checked' == MLACore::mla_get_option( 'enable_iptc_exif_mapping' ) ) ||
|
28 |
( 'checked' == MLACore::mla_get_option( 'enable_custom_field_mapping' ) ) ||
|
29 |
( 'checked' == MLACore::mla_get_option( 'enable_iptc_exif_update' ) ) ||
|
33 |
|
34 |
add_action( 'add_attachment', 'MLAOptions::mla_add_attachment_action', 0x7FFFFFFF, 1 );
|
35 |
add_filter( 'wp_update_attachment_metadata', 'MLAOptions::mla_update_attachment_metadata_filter', 0x7FFFFFFF, 2 );
|
36 |
+
|
37 |
+
MLACore::mla_debug_add( __LINE__ . " MLAOptions::initialize() hooks set", MLACore::MLA_DEBUG_CATEGORY_REST );
|
38 |
}
|
39 |
}
|
40 |
|
55 |
* @return void
|
56 |
*/
|
57 |
private static function _load_option_templates() {
|
|
|
|
|
|
|
|
|
|
|
58 |
if ( is_null( MLAOptions::$mla_option_templates ) ) {
|
59 |
+
MLAOptions::$mla_option_templates = MLACore::mla_load_template( 'mla-option-templates.tpl' );
|
60 |
+
|
61 |
+
if ( is_null( MLAOptions::$mla_option_templates ) ) {
|
62 |
+
MLACore::mla_debug_add( '<strong>mla_debug _load_option_templates()</strong> ' . __( 'error loading tpls/mla-option-templates.tpl', 'media-library-assistant' ) );
|
63 |
+
MLAOptions::$mla_option_templates = array();
|
64 |
+
} elseif ( !MLAOptions::$mla_option_templates ) {
|
65 |
+
MLACore::mla_debug_add( '<strong>mla_debug _load_option_templates()</strong> ' . __( 'tpls/mla-option-templates.tpl not found', 'media-library-assistant' ) );
|
66 |
+
MLAOptions::$mla_option_templates = array();
|
67 |
+
}
|
68 |
+
} // is_null()
|
69 |
}
|
70 |
|
71 |
/**
|
232 |
* @return string HTML table row markup for 'render' else message(s) reflecting the results of the operation.
|
233 |
*/
|
234 |
public static function mla_taxonomy_option_handler( $action, $key, $value, $args = NULL ) {
|
235 |
+
MLAOptions::_load_option_templates();
|
236 |
+
|
237 |
switch ( $action ) {
|
238 |
case 'render':
|
239 |
$taxonomies = get_taxonomies( array ( 'show_ui' => true ), 'objects' );
|
436 |
* @return string HTML table row markup for 'render' else message(s) reflecting the results of the operation.
|
437 |
*/
|
438 |
public static function mla_search_option_handler( $action, $key, $value, $args = NULL ) {
|
439 |
+
MLAOptions::_load_option_templates();
|
440 |
+
|
441 |
switch ( $action ) {
|
442 |
case 'render':
|
443 |
$current_values = MLACore::mla_get_option( $key );
|
587 |
* @return void
|
588 |
*/
|
589 |
public static function mla_add_attachment_action( $post_ID ) {
|
590 |
+
MLACore::mla_debug_add( __LINE__ . " MLAOptions::mla_add_attachment_action( $post_ID )", MLACore::MLA_DEBUG_CATEGORY_METADATA );
|
591 |
MLAOptions::$add_attachment_id = $post_ID;
|
592 |
do_action('mla_add_attachment', $post_ID);
|
593 |
} // mla_add_attachment_action
|
650 |
|
651 |
$options = apply_filters( 'mla_update_attachment_metadata_options', $options, $data, $post_id );
|
652 |
$data = apply_filters( 'mla_update_attachment_metadata_prefilter', $data, $post_id, $options );
|
653 |
+
MLACore::mla_debug_add( __LINE__ . " MLAOptions::mla_update_attachment_metadata_filter( $post_id ) \$data = " . var_export( $data, true ), MLACore::MLA_DEBUG_CATEGORY_METADATA );
|
654 |
+
MLACore::mla_debug_add( __LINE__ . " MLAOptions::mla_update_attachment_metadata_filter( $post_id ) \$options = " . var_export( $options, true ), MLACore::MLA_DEBUG_CATEGORY_METADATA );
|
655 |
|
656 |
if ( $options['is_upload'] ) {
|
657 |
if ( $options['enable_iptc_exif_mapping'] || $options['enable_custom_field_mapping'] ) {
|
661 |
if ( $options['enable_iptc_exif_mapping'] ) {
|
662 |
$item = get_post( $post_id );
|
663 |
$updates = MLAOptions::mla_evaluate_iptc_exif_mapping( $item, 'iptc_exif_mapping', NULL, $data, true );
|
664 |
+
MLACore::mla_debug_add( __LINE__ . " MLAOptions::mla_update_attachment_metadata_filter( $post_id ) \$updates = " . var_export( $updates, true ), MLACore::MLA_DEBUG_CATEGORY_METADATA );
|
665 |
$updates = MLAOptions::_update_attachment_metadata( $updates, $data );
|
666 |
+
MLACore::mla_debug_add( __LINE__ . " MLAOptions::mla_update_attachment_metadata_filter( $post_id ) \$updates = " . var_export( $updates, true ), MLACore::MLA_DEBUG_CATEGORY_METADATA );
|
667 |
|
668 |
if ( !empty( $updates ) ) {
|
669 |
$item_content = MLAData::mla_update_single_item( $post_id, $updates );
|
670 |
+
MLACore::mla_debug_add( __LINE__ . " MLAOptions::mla_update_attachment_metadata_filter( $post_id ) \$item_content = " . var_export( $item_content, true ), MLACore::MLA_DEBUG_CATEGORY_METADATA );
|
671 |
}
|
672 |
}
|
673 |
|
770 |
* @return array Updates suitable for MLAData::mla_update_single_item, if any
|
771 |
*/
|
772 |
public static function mla_evaluate_custom_field_mapping( $post_id, $category, $settings = NULL, $attachment_metadata = NULL ) {
|
773 |
+
if ( 'checked' != MLACore::mla_get_option( MLACoreOptions::MLA_ALLOW_CUSTOM_FIELD_MAPPING ) ) {
|
774 |
+
return array();
|
775 |
+
}
|
776 |
+
|
777 |
if ( NULL == $settings ) {
|
778 |
$settings = MLACore::mla_get_option( 'custom_field_mapping' );
|
779 |
}
|
873 |
* @return string HTML markup with select field options
|
874 |
*/
|
875 |
public static function mla_compose_custom_field_option_list( $selection = 'none', $blacklist = array() ) {
|
876 |
+
MLAOptions::_load_option_templates();
|
877 |
+
|
878 |
+
// Add the "None" option to the front of the list
|
879 |
$option_template = MLAOptions::$mla_option_templates['custom-field-select-option'];
|
880 |
$option_values = array (
|
881 |
'selected' => ( 'none' == $selection ) ? 'selected="selected"' : '',
|
884 |
);
|
885 |
$custom_field_options = MLAData::mla_parse_template( $option_template, $option_values );
|
886 |
|
887 |
+
// Add an option for each name without a rule, i.e., not in the blacklist
|
|
|
|
|
888 |
$blacklist_names = array();
|
889 |
foreach ( $blacklist as $value ) {
|
890 |
$blacklist_names[] = $value['name'];
|
919 |
* @return string HTML markup with select field options
|
920 |
*/
|
921 |
public static function mla_compose_data_source_option_list( $selection = 'none' ) {
|
922 |
+
MLAOptions::_load_option_templates();
|
923 |
+
|
924 |
$option_template = MLAOptions::$mla_option_templates['custom-field-select-option'];
|
925 |
|
926 |
$option_values = array (
|
1198 |
* @return string HTML table row markup for 'render' else message(s) reflecting the results of the operation.
|
1199 |
*/
|
1200 |
public static function mla_custom_field_option_handler( $action, $key, $value, $args = NULL ) {
|
1201 |
+
error_log( __LINE__ . " MLAOptions::mla_custom_field_option_handler( $action, $key )", 0 );
|
1202 |
+
return "MLAOptions::mla_custom_field_option_handler( $action, $key ) deprecated.";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1203 |
|
1204 |
+
// Added in 2.63
|
1205 |
+
MLAOptions::_load_option_templates();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1206 |
|
1207 |
+
$current_values = MLACore::mla_get_option( 'custom_field_mapping' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1208 |
} // mla_custom_field_option_handler
|
1209 |
|
1210 |
/**
|
1256 |
return absint( $post_term['term_id'] );
|
1257 |
}
|
1258 |
}
|
1259 |
+
|
1260 |
$post_term = wp_insert_term( $term_name, $taxonomy, array( 'parent' => $term_parent ) );
|
1261 |
if ( ( ! is_wp_error( $post_term ) ) && isset( $post_term['term_id'] ) ) {
|
1262 |
$term_cache[ $taxonomy ][ $term_parent ][ $term_name ] = $post_term['term_id'];
|
1280 |
* @return array Updates suitable for MLAData::mla_update_single_item, if any
|
1281 |
*/
|
1282 |
public static function mla_evaluate_iptc_exif_mapping( $post, $category, $settings = NULL, $attachment_metadata = NULL, $is_upload = false ) {
|
1283 |
+
if ( 'checked' != MLACore::mla_get_option( MLACoreOptions::MLA_ALLOW_IPTC_EXIF_MAPPING ) ) {
|
1284 |
+
return array();
|
1285 |
+
}
|
1286 |
+
|
1287 |
$image_metadata = MLAData::mla_fetch_attachment_image_metadata( $post->ID );
|
1288 |
|
1289 |
/*
|
1307 |
|
1308 |
$settings = apply_filters( 'mla_mapping_settings', $settings, $post->ID, $category, $attachment_metadata );
|
1309 |
|
1310 |
+
MLACore::mla_debug_add( __LINE__ . " MLAOptions::mla_evaluate_iptc_exif_mapping( {$post->ID}, {$category}, {$data_source_category} ) \$settings = " . var_export( $settings, true ), MLACore::MLA_DEBUG_CATEGORY_METADATA );
|
1311 |
+
|
1312 |
if ( $update_all || ( 'iptc_exif_standard_mapping' == $category ) ) {
|
1313 |
foreach ( $settings['standard'] as $setting_key => $setting_value ) {
|
1314 |
$setting_value = apply_filters( 'mla_mapping_rule', $setting_value, $post->ID, 'iptc_exif_standard_mapping', $attachment_metadata );
|
1599 |
}
|
1600 |
} // update taxonomy term mappings
|
1601 |
|
1602 |
+
if ( ( $update_all || ( 'iptc_exif_custom_mapping' == $category ) ) && !empty( $settings['custom'] ) ) {
|
1603 |
$custom_updates = array();
|
1604 |
foreach ( $settings['custom'] as $setting_key => $setting_value ) {
|
1605 |
/*
|
1712 |
} // update custom field mappings
|
1713 |
|
1714 |
$updates = apply_filters( 'mla_mapping_updates', $updates, $post->ID, $category, $settings, $attachment_metadata );
|
1715 |
+
MLACore::mla_debug_add( __LINE__ . " MLAOptions::mla_evaluate_iptc_exif_mapping( {$post->ID}, {$category}, {$data_source_category} ) \$updates = " . var_export( $updates, true ), MLACore::MLA_DEBUG_CATEGORY_METADATA );
|
1716 |
+
|
1717 |
return $updates;
|
1718 |
} // mla_evaluate_iptc_exif_mapping
|
1719 |
|
1728 |
* @return string HTML markup with select field options
|
1729 |
*/
|
1730 |
public static function mla_compose_iptc_option_list( $selection = 'none' ) {
|
1731 |
+
MLAOptions::_load_option_templates();
|
1732 |
+
|
1733 |
$option_template = MLAOptions::$mla_option_templates['iptc-exif-select-option'];
|
1734 |
$option_values = array (
|
1735 |
'selected' => ( 'none' == $selection ) ? 'selected="selected"' : '',
|
2025 |
$custom_field_names = MLAOptions::_get_custom_field_names();
|
2026 |
$new_values = stripslashes_deep( $new_values );
|
2027 |
|
2028 |
+
if ( empty( $new_values['custom'] ) ) {
|
2029 |
+
$new_values['custom'] = array();
|
2030 |
+
}
|
2031 |
+
|
2032 |
foreach ( $new_values['custom'] as $the_key => $new_value ) {
|
2033 |
$any_setting_changed = false;
|
2034 |
/*
|
2065 |
|
2066 |
$new_value = $new_value;
|
2067 |
|
2068 |
+
if ( isset( $current_values['custom'] ) && isset( $current_values['custom'][ $new_key ] ) ) {
|
2069 |
$old_values = $current_values['custom'][ $new_key ];
|
2070 |
$any_setting_changed = false;
|
2071 |
} else {
|
2191 |
|
2192 |
$custom_field_mapping = MLACore::mla_get_option( 'custom_field_mapping' );
|
2193 |
$iptc_exif_mapping = MLACore::mla_get_option( 'iptc_exif_mapping' );
|
2194 |
+
$iptc_exif_mapping = !empty( $iptc_exif_mapping['custom'] ) ? $iptc_exif_mapping['custom'] : array();
|
2195 |
|
2196 |
$limit = (int) apply_filters( 'postmeta_form_limit', 100 );
|
2197 |
$keys = $wpdb->get_col( "
|
2236 |
* @return string HTML table row markup for 'render' else message(s) reflecting the results of the operation.
|
2237 |
*/
|
2238 |
public static function mla_iptc_exif_option_handler( $action, $key, $value, $args = NULL ) {
|
2239 |
+
error_log( __LINE__ . " MLAOptions::mla_iptc_exif_option_handler( $action, $key )", 0 );
|
2240 |
+
return " MLAOptions::mla_iptc_exif_option_handler( $action, $key ) deprecated.";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2241 |
|
2242 |
+
// Added in 2.63
|
2243 |
+
MLAOptions::_load_option_templates();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2244 |
|
2245 |
+
$current_values = MLACore::mla_get_option( 'iptc_exif_mapping' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2246 |
} // mla_iptc_exif_option_handler
|
2247 |
} // class MLAOptions
|
2248 |
?>
|
includes/class-mla-polylang-support.php
CHANGED
@@ -110,7 +110,11 @@ class MLA_Polylang {
|
|
110 |
add_action( 'mla_end_mapping', 'MLA_Polylang::mla_end_mapping', 10, 0 );
|
111 |
|
112 |
// Defined in /polylang/admin/admin-filters-media.php
|
113 |
-
|
|
|
|
|
|
|
|
|
114 |
}
|
115 |
|
116 |
/**
|
@@ -385,17 +389,63 @@ class MLA_Polylang {
|
|
385 |
/**
|
386 |
* Copies taxonomy terms from the source item to the new translated item
|
387 |
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
388 |
* @since 2.11
|
389 |
*
|
390 |
* @param integer ID of the new item
|
391 |
* @param object post object of the new item
|
392 |
* @param array an associative array of translations with language code as key and translation id as value
|
393 |
*/
|
394 |
-
public static function
|
395 |
global $polylang;
|
396 |
static $already_adding = 0;
|
397 |
|
398 |
-
MLACore::mla_debug_add( __LINE__ . " MLA_Polylang::
|
399 |
|
400 |
if ( $already_adding == $duplicated_attachment_id ) {
|
401 |
return;
|
@@ -552,7 +602,10 @@ class MLA_Polylang {
|
|
552 |
|
553 |
if ( $relevant_term ) {
|
554 |
if ( isset( $relevant_term['translations'][ $item_language ] ) ) {
|
555 |
-
$new_terms[] = absint( $relevant_term['translations'][ $item_language ]->element_id );
|
|
|
|
|
|
|
556 |
}
|
557 |
} else {
|
558 |
/*
|
@@ -566,7 +619,11 @@ class MLA_Polylang {
|
|
566 |
|
567 |
$res = wp_insert_term( $new_name, $setting_key, array( 'parent' => $parent ) );
|
568 |
if ( ( ! is_wp_error( $res ) ) && isset( $res['term_id'] ) ) {
|
569 |
-
|
|
|
|
|
|
|
|
|
570 |
}
|
571 |
|
572 |
/*
|
@@ -588,7 +645,12 @@ class MLA_Polylang {
|
|
588 |
$_POST['action'] = 'mla';
|
589 |
$res = wp_insert_term( $new_name, $setting_key, array( 'parent' => $parent ) );
|
590 |
if ( ( ! is_wp_error( $res ) ) && isset( $res['term_id'] ) ) {
|
591 |
-
|
|
|
|
|
|
|
|
|
|
|
592 |
$translations[ $language ] = $res['term_id'];
|
593 |
}
|
594 |
}
|
@@ -610,7 +672,10 @@ class MLA_Polylang {
|
|
610 |
*/
|
611 |
$relevant_term = self::_get_relevant_term( 'name', $new_name, $setting_key );
|
612 |
if ( isset( $relevant_term['translations'][ $item_language ] ) ) {
|
613 |
-
$new_terms[] = absint( $relevant_term['translations'][ $item_language ]->element_id );
|
|
|
|
|
|
|
614 |
}
|
615 |
} // new term
|
616 |
} // foreach new_name
|
110 |
add_action( 'mla_end_mapping', 'MLA_Polylang::mla_end_mapping', 10, 0 );
|
111 |
|
112 |
// Defined in /polylang/admin/admin-filters-media.php
|
113 |
+
if ( self::$polylang_1dot8_plus ) {
|
114 |
+
add_action( 'pll_translate_media', 'MLA_Polylang::pll_translate_media', 10, 3 );
|
115 |
+
} else {
|
116 |
+
add_action( 'pll_translate_media', 'MLA_Polylang::pll_translate_media_old', 10, 3 );
|
117 |
+
}
|
118 |
}
|
119 |
|
120 |
/**
|
389 |
/**
|
390 |
* Copies taxonomy terms from the source item to the new translated item
|
391 |
*
|
392 |
+
* For Polylang versions 1.8 and later, which changed the parameters
|
393 |
+
*
|
394 |
+
* @since 2.63
|
395 |
+
*
|
396 |
+
* @param integer $source_attachment_id post id of the source media
|
397 |
+
* @param integer $target_attachment_id post id of the new media translation
|
398 |
+
* @param string $language_code language code of the new translation
|
399 |
+
*/
|
400 |
+
public static function pll_translate_media( $source_attachment_id, $target_attachment_id, $language_code ) {
|
401 |
+
global $polylang;
|
402 |
+
static $already_adding = 0;
|
403 |
+
|
404 |
+
MLACore::mla_debug_add( __LINE__ . " MLA_Polylang::pll_translate_media( {$source_attachment_id}, {$target_attachment_id}, {$language_code} )", MLACore::MLA_DEBUG_CATEGORY_LANGUAGE );
|
405 |
+
|
406 |
+
if ( $already_adding == $target_attachment_id ) {
|
407 |
+
return;
|
408 |
+
} else {
|
409 |
+
$already_adding = $target_attachment_id;
|
410 |
+
}
|
411 |
+
|
412 |
+
self::$duplicate_attachments [ $target_attachment_id ] = $language_code;
|
413 |
+
|
414 |
+
if ( isset( $_REQUEST['action'] ) && 'translate_media' == $_REQUEST['action'] ) {
|
415 |
+
if ( 'checked' == MLACore::mla_get_option( 'term_synchronization', false, false, MLA_Polylang::$mla_language_option_definitions ) ) {
|
416 |
+
// Clone the existing common terms to the new translation
|
417 |
+
self::_build_existing_terms( $source_attachment_id );
|
418 |
+
self::_build_tax_input( $source_attachment_id );
|
419 |
+
$tax_inputs = self::_apply_tax_input( 0, $language_code );
|
420 |
+
} else {
|
421 |
+
$tax_inputs = NULL;
|
422 |
+
}
|
423 |
+
|
424 |
+
if ( !empty( $tax_inputs ) ) {
|
425 |
+
MLAData::mla_update_single_item( $target_attachment_id, array(), $tax_inputs );
|
426 |
+
}
|
427 |
+
|
428 |
+
self::$existing_terms = array( 'element_id' => 0 );
|
429 |
+
self::$relevant_terms = array();
|
430 |
+
} // translate_media
|
431 |
+
} // pll_translate_media
|
432 |
+
|
433 |
+
/**
|
434 |
+
* Copies taxonomy terms from the source item to the new translated item
|
435 |
+
*
|
436 |
+
* For Polylang versions before 1.8, which changed the parameters.
|
437 |
+
*
|
438 |
* @since 2.11
|
439 |
*
|
440 |
* @param integer ID of the new item
|
441 |
* @param object post object of the new item
|
442 |
* @param array an associative array of translations with language code as key and translation id as value
|
443 |
*/
|
444 |
+
public static function pll_translate_media_old( $duplicated_attachment_id, $duplicated_attachment_object, $translations ) {
|
445 |
global $polylang;
|
446 |
static $already_adding = 0;
|
447 |
|
448 |
+
MLACore::mla_debug_add( __LINE__ . " MLA_Polylang::pll_translate_media_old( {$duplicated_attachment_id} ) translations = " . var_export( $translations, true ), MLACore::MLA_DEBUG_CATEGORY_LANGUAGE );
|
449 |
|
450 |
if ( $already_adding == $duplicated_attachment_id ) {
|
451 |
return;
|
602 |
|
603 |
if ( $relevant_term ) {
|
604 |
if ( isset( $relevant_term['translations'][ $item_language ] ) ) {
|
605 |
+
// $new_terms[] = absint( $relevant_term['translations'][ $item_language ]->element_id );
|
606 |
+
$new_term_id = absint( $relevant_term['translations'][ $item_language ]->element_id );
|
607 |
+
$new_term = self::_get_relevant_term( 'id', $new_term_id, $setting_key );
|
608 |
+
$new_terms[] = $new_term['term']->name;
|
609 |
}
|
610 |
} else {
|
611 |
/*
|
619 |
|
620 |
$res = wp_insert_term( $new_name, $setting_key, array( 'parent' => $parent ) );
|
621 |
if ( ( ! is_wp_error( $res ) ) && isset( $res['term_id'] ) ) {
|
622 |
+
if ( self::$polylang_1dot8_plus ) {
|
623 |
+
PLL()->model->term->set_language( $res['term_id'], $current_language );
|
624 |
+
} else {
|
625 |
+
$polylang->model->set_term_language( $res['term_id'], $current_language );
|
626 |
+
}
|
627 |
}
|
628 |
|
629 |
/*
|
645 |
$_POST['action'] = 'mla';
|
646 |
$res = wp_insert_term( $new_name, $setting_key, array( 'parent' => $parent ) );
|
647 |
if ( ( ! is_wp_error( $res ) ) && isset( $res['term_id'] ) ) {
|
648 |
+
if ( self::$polylang_1dot8_plus ) {
|
649 |
+
PLL()->model->term->set_language( $res['term_id'], $language );
|
650 |
+
} else {
|
651 |
+
$polylang->model->set_term_language( $res['term_id'], $language );
|
652 |
+
}
|
653 |
+
|
654 |
$translations[ $language ] = $res['term_id'];
|
655 |
}
|
656 |
}
|
672 |
*/
|
673 |
$relevant_term = self::_get_relevant_term( 'name', $new_name, $setting_key );
|
674 |
if ( isset( $relevant_term['translations'][ $item_language ] ) ) {
|
675 |
+
// $new_terms[] = absint( $relevant_term['translations'][ $item_language ]->element_id );
|
676 |
+
$new_term_id = absint( $relevant_term['translations'][ $item_language ]->element_id );
|
677 |
+
$new_term = self::_get_relevant_term( 'id', $new_term_id, $setting_key );
|
678 |
+
$new_terms[] = $new_term['term']->name;
|
679 |
}
|
680 |
} // new term
|
681 |
} // foreach new_name
|
includes/class-mla-settings-custom-fields-tab.php
CHANGED
@@ -120,6 +120,12 @@ class MLASettings_CustomFields {
|
|
120 |
$option_messages = '';
|
121 |
$changed = false;
|
122 |
|
|
|
|
|
|
|
|
|
|
|
|
|
123 |
// Process any page-level options
|
124 |
foreach ( MLACoreOptions::$mla_option_definitions as $key => $value ) {
|
125 |
if ( 'custom_field' == $value['tab'] ) {
|
@@ -606,9 +612,7 @@ class MLASettings_CustomFields {
|
|
606 |
}
|
607 |
} // $bulk_action
|
608 |
|
609 |
-
|
610 |
-
* Process row-level actions that affect a single item
|
611 |
-
*/
|
612 |
if ( !empty( $_REQUEST['mla_admin_action'] ) ) {
|
613 |
check_admin_referer( MLACore::MLA_ADMIN_NONCE_ACTION, MLACore::MLA_ADMIN_NONCE_NAME );
|
614 |
|
@@ -636,9 +640,29 @@ class MLASettings_CustomFields {
|
|
636 |
return $page_content;
|
637 |
}
|
638 |
|
639 |
-
|
640 |
-
|
641 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
642 |
$_SERVER['REQUEST_URI'] = remove_query_arg( array(
|
643 |
'mla_admin_action',
|
644 |
'mla_custom_field_item',
|
120 |
$option_messages = '';
|
121 |
$changed = false;
|
122 |
|
123 |
+
// See if the entire tab is disabled
|
124 |
+
if ( ! isset( $_REQUEST[ MLA_OPTION_PREFIX . MLACoreOptions::MLA_ALLOW_CUSTOM_FIELD_MAPPING ] ) ) {
|
125 |
+
unset( $_REQUEST[ MLA_OPTION_PREFIX . 'enable_custom_field_mapping' ] );
|
126 |
+
unset( $_REQUEST[ MLA_OPTION_PREFIX . 'enable_custom_field_update' ] );
|
127 |
+
}
|
128 |
+
|
129 |
// Process any page-level options
|
130 |
foreach ( MLACoreOptions::$mla_option_definitions as $key => $value ) {
|
131 |
if ( 'custom_field' == $value['tab'] ) {
|
612 |
}
|
613 |
} // $bulk_action
|
614 |
|
615 |
+
// Process row-level actions that affect a single item
|
|
|
|
|
616 |
if ( !empty( $_REQUEST['mla_admin_action'] ) ) {
|
617 |
check_admin_referer( MLACore::MLA_ADMIN_NONCE_ACTION, MLACore::MLA_ADMIN_NONCE_NAME );
|
618 |
|
640 |
return $page_content;
|
641 |
}
|
642 |
|
643 |
+
// Check for disabled status
|
644 |
+
if ( 'checked' != MLACore::mla_get_option( MLACoreOptions::MLA_ALLOW_CUSTOM_FIELD_MAPPING ) ) {
|
645 |
+
// Fill in the page-level option
|
646 |
+
$options_list = '';
|
647 |
+
foreach ( MLACoreOptions::$mla_option_definitions as $key => $value ) {
|
648 |
+
if ( MLACoreOptions::MLA_ALLOW_CUSTOM_FIELD_MAPPING == $key ) {
|
649 |
+
$options_list .= MLASettings::mla_compose_option_row( $key, $value );
|
650 |
+
}
|
651 |
+
}
|
652 |
+
|
653 |
+
$page_values = array(
|
654 |
+
'Support is disabled' => __( 'Custom Field Mapping Support is disabled', 'media-library-assistant' ),
|
655 |
+
'form_url' => admin_url( 'options-general.php' ) . '?page=mla-settings-menu-custom_field&mla_tab=custom_field',
|
656 |
+
'options_list' => $options_list,
|
657 |
+
'Save Changes' => __( 'Save Changes', 'media-library-assistant' ),
|
658 |
+
'_wpnonce' => wp_nonce_field( MLACore::MLA_ADMIN_NONCE_ACTION, MLACore::MLA_ADMIN_NONCE_NAME, true, false ),
|
659 |
+
);
|
660 |
+
|
661 |
+
$page_content['body'] .= MLAData::mla_parse_template( $page_template_array['custom-field-disabled'], $page_values );
|
662 |
+
return $page_content;
|
663 |
+
}
|
664 |
+
|
665 |
+
// Display the Custom Fields tab and the custom fields rule table
|
666 |
$_SERVER['REQUEST_URI'] = remove_query_arg( array(
|
667 |
'mla_admin_action',
|
668 |
'mla_custom_field_item',
|
includes/class-mla-settings-iptc-exif-tab.php
CHANGED
@@ -122,6 +122,12 @@ class MLASettings_IPTCEXIF {
|
|
122 |
$option_messages = '';
|
123 |
$changed = false;
|
124 |
|
|
|
|
|
|
|
|
|
|
|
|
|
125 |
// Process any page-level options
|
126 |
foreach ( MLACoreOptions::$mla_option_definitions as $key => $value ) {
|
127 |
if ( 'iptc_exif' == $value['tab'] ) {
|
@@ -716,9 +722,29 @@ class MLASettings_IPTCEXIF {
|
|
716 |
return $page_content;
|
717 |
}
|
718 |
|
719 |
-
|
720 |
-
|
721 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
722 |
$_SERVER['REQUEST_URI'] = remove_query_arg( array(
|
723 |
'mla_admin_action',
|
724 |
'mla_iptc_exif_item',
|
@@ -2031,7 +2057,7 @@ class MLA_IPTC_EXIF_Query {
|
|
2031 |
// One rule for each registered and supported taxonomy
|
2032 |
$taxonomies = get_taxonomies( array ( 'show_ui' => true ), 'objects' );
|
2033 |
foreach ( $taxonomies as $key => $value ) {
|
2034 |
-
if ( ! MLACore::mla_taxonomy_support($key, 'support') ) {
|
2035 |
continue;
|
2036 |
}
|
2037 |
|
@@ -2051,15 +2077,17 @@ class MLA_IPTC_EXIF_Query {
|
|
2051 |
);
|
2052 |
|
2053 |
if ( isset( $current_values['taxonomy'][ $key ] ) ) {
|
2054 |
-
$
|
|
|
|
|
2055 |
$current_value = array_merge( $current_value, array(
|
2056 |
-
'iptc_value' => $
|
2057 |
-
'exif_value' => $
|
2058 |
-
'iptc_first' => $
|
2059 |
-
'keep_existing' => $
|
2060 |
-
'delimiters' => $
|
2061 |
-
'parent' => $
|
2062 |
-
'active' => isset( $
|
2063 |
) );
|
2064 |
} else {
|
2065 |
$current_value = array_merge( $current_value, array(
|
@@ -2076,54 +2104,85 @@ class MLA_IPTC_EXIF_Query {
|
|
2076 |
self::$_iptc_exif_rules[ self::$_iptc_exif_rule_highest_ID ] = $current_value;
|
2077 |
}
|
2078 |
|
2079 |
-
//
|
2080 |
-
$
|
2081 |
-
foreach ( $current_values['
|
2082 |
-
$
|
2083 |
-
|
2084 |
-
|
2085 |
-
|
2086 |
-
|
2087 |
-
|
2088 |
-
$
|
2089 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2090 |
|
2091 |
-
|
2092 |
-
foreach ( $current_values['custom'] as $rule_name => $current_value ) {
|
2093 |
-
$sorted_names[ $current_value['name'] ][] = $rule_name;
|
2094 |
}
|
2095 |
|
2096 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2097 |
foreach ( $sorted_keys as $rule_name ) {
|
2098 |
-
$
|
2099 |
-
|
2100 |
-
|
2101 |
-
|
2102 |
-
|
2103 |
-
|
2104 |
-
|
2105 |
-
|
2106 |
-
|
2107 |
-
|
2108 |
-
|
2109 |
-
|
2110 |
-
|
2111 |
-
|
2112 |
-
|
2113 |
-
|
2114 |
-
|
2115 |
-
|
2116 |
-
|
2117 |
-
|
2118 |
-
|
2119 |
-
|
2120 |
-
|
2121 |
-
|
2122 |
-
|
2123 |
-
|
2124 |
-
|
2125 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2126 |
|
|
|
|
|
|
|
|
|
|
|
2127 |
return true;
|
2128 |
}
|
2129 |
|
122 |
$option_messages = '';
|
123 |
$changed = false;
|
124 |
|
125 |
+
// See if the entire tab is disabled
|
126 |
+
if ( ! isset( $_REQUEST[ MLA_OPTION_PREFIX . MLACoreOptions::MLA_ALLOW_IPTC_EXIF_MAPPING ] ) ) {
|
127 |
+
unset( $_REQUEST[ MLA_OPTION_PREFIX . 'enable_iptc_exif_mapping' ] );
|
128 |
+
unset( $_REQUEST[ MLA_OPTION_PREFIX . 'enable_iptc_exif_update' ] );
|
129 |
+
}
|
130 |
+
|
131 |
// Process any page-level options
|
132 |
foreach ( MLACoreOptions::$mla_option_definitions as $key => $value ) {
|
133 |
if ( 'iptc_exif' == $value['tab'] ) {
|
722 |
return $page_content;
|
723 |
}
|
724 |
|
725 |
+
// Check for disabled status
|
726 |
+
if ( 'checked' != MLACore::mla_get_option( MLACoreOptions::MLA_ALLOW_IPTC_EXIF_MAPPING ) ) {
|
727 |
+
// Fill in the page-level option
|
728 |
+
$options_list = '';
|
729 |
+
foreach ( MLACoreOptions::$mla_option_definitions as $key => $value ) {
|
730 |
+
if ( MLACoreOptions::MLA_ALLOW_IPTC_EXIF_MAPPING == $key ) {
|
731 |
+
$options_list .= MLASettings::mla_compose_option_row( $key, $value );
|
732 |
+
}
|
733 |
+
}
|
734 |
+
|
735 |
+
$page_values = array(
|
736 |
+
'Support is disabled' => __( 'IPTC/EXIF Mapping Support is disabled', 'media-library-assistant' ),
|
737 |
+
'form_url' => admin_url( 'options-general.php' ) . '?page=mla-settings-menu-iptc_exif&mla_tab=iptc_exif',
|
738 |
+
'options_list' => $options_list,
|
739 |
+
'Save Changes' => __( 'Save Changes', 'media-library-assistant' ),
|
740 |
+
'_wpnonce' => wp_nonce_field( MLACore::MLA_ADMIN_NONCE_ACTION, MLACore::MLA_ADMIN_NONCE_NAME, true, false ),
|
741 |
+
);
|
742 |
+
|
743 |
+
$page_content['body'] .= MLAData::mla_parse_template( $page_template_array['iptc-exif-disabled'], $page_values );
|
744 |
+
return $page_content;
|
745 |
+
}
|
746 |
+
|
747 |
+
// Display the IPTC EXIF tab and the IPTC EXIF rule table
|
748 |
$_SERVER['REQUEST_URI'] = remove_query_arg( array(
|
749 |
'mla_admin_action',
|
750 |
'mla_iptc_exif_item',
|
2057 |
// One rule for each registered and supported taxonomy
|
2058 |
$taxonomies = get_taxonomies( array ( 'show_ui' => true ), 'objects' );
|
2059 |
foreach ( $taxonomies as $key => $value ) {
|
2060 |
+
if ( ! MLACore::mla_taxonomy_support( $key, 'support' ) ) {
|
2061 |
continue;
|
2062 |
}
|
2063 |
|
2077 |
);
|
2078 |
|
2079 |
if ( isset( $current_values['taxonomy'][ $key ] ) ) {
|
2080 |
+
$existing_values = $current_values['taxonomy'][ $key ];
|
2081 |
+
unset( $current_values['taxonomy'][ $key ] );
|
2082 |
+
|
2083 |
$current_value = array_merge( $current_value, array(
|
2084 |
+
'iptc_value' => $existing_values['iptc_value'],
|
2085 |
+
'exif_value' => $existing_values['exif_value'],
|
2086 |
+
'iptc_first' => $existing_values['iptc_first'],
|
2087 |
+
'keep_existing' => $existing_values['keep_existing'],
|
2088 |
+
'delimiters' => $existing_values['delimiters'],
|
2089 |
+
'parent' => $existing_values['parent'],
|
2090 |
+
'active' => isset( $existing_values['active'] ) ? $existing_values['active'] : true,
|
2091 |
) );
|
2092 |
} else {
|
2093 |
$current_value = array_merge( $current_value, array(
|
2104 |
self::$_iptc_exif_rules[ self::$_iptc_exif_rule_highest_ID ] = $current_value;
|
2105 |
}
|
2106 |
|
2107 |
+
// Preserve existing rules for non-supported taxonomies as "inactive"
|
2108 |
+
$taxonomy_rules_changed = false;
|
2109 |
+
foreach ( $current_values['taxonomy'] as $key => $value ) {
|
2110 |
+
$value['post_ID'] = ++self::$_iptc_exif_rule_highest_ID;
|
2111 |
+
$value['type'] = 'taxonomy';
|
2112 |
+
$value['key'] = $key;
|
2113 |
+
$value['rule_name'] = $value['name'];
|
2114 |
+
$value['format'] = 'native';
|
2115 |
+
$value['option'] = 'text';
|
2116 |
+
$value['no_null'] = false;
|
2117 |
+
$value['read_only'] = false;
|
2118 |
+
$value['deleted'] = false;
|
2119 |
+
|
2120 |
+
if ( isset( $value['active'] ) && $value['active'] ) {
|
2121 |
+
$value['active'] = false;
|
2122 |
+
$value['changed'] = true;
|
2123 |
+
$taxonomy_rules_changed = true;
|
2124 |
+
} else {
|
2125 |
+
$value['active'] = false;
|
2126 |
+
}
|
2127 |
|
2128 |
+
self::$_iptc_exif_rules[ self::$_iptc_exif_rule_highest_ID ] = $value;
|
|
|
|
|
2129 |
}
|
2130 |
|
2131 |
+
// One rule for each existing custom field rule, case insensitive "natural order"
|
2132 |
+
if ( !empty( $current_values['custom'] ) ) {
|
2133 |
+
$sorted_keys = array();
|
2134 |
+
foreach ( $current_values['custom'] as $rule_name => $current_value ) {
|
2135 |
+
$sorted_keys[ $current_value['name'] ] = $current_value['name'];
|
2136 |
+
}
|
2137 |
+
natcasesort( $sorted_keys );
|
2138 |
+
|
2139 |
+
$sorted_names = array();
|
2140 |
foreach ( $sorted_keys as $rule_name ) {
|
2141 |
+
$sorted_names[ $rule_name ] = array();
|
2142 |
+
}
|
2143 |
+
|
2144 |
+
// Allow for multiple rules mapping the same name (an old bug)
|
2145 |
+
foreach ( $current_values['custom'] as $rule_name => $current_value ) {
|
2146 |
+
$sorted_names[ $current_value['name'] ][] = $rule_name;
|
2147 |
+
}
|
2148 |
+
|
2149 |
+
foreach ( $sorted_names as $sorted_keys ) {
|
2150 |
+
foreach ( $sorted_keys as $rule_name ) {
|
2151 |
+
$current_value = $current_values['custom'][ $rule_name ];
|
2152 |
+
self::$_iptc_exif_rules[ ++self::$_iptc_exif_rule_highest_ID ] = array(
|
2153 |
+
'post_ID' => self::$_iptc_exif_rule_highest_ID,
|
2154 |
+
'type' => 'custom',
|
2155 |
+
'key' => $rule_name,
|
2156 |
+
'rule_name' => $rule_name,
|
2157 |
+
'name' => $current_value['name'],
|
2158 |
+
'hierarchical' => false,
|
2159 |
+
'iptc_value' => $current_value['iptc_value'],
|
2160 |
+
'exif_value' => $current_value['exif_value'],
|
2161 |
+
'iptc_first' => $current_value['iptc_first'],
|
2162 |
+
'keep_existing' => $current_value['keep_existing'],
|
2163 |
+
'format' => $current_value['format'],
|
2164 |
+
'option' => $current_value['option'],
|
2165 |
+
'no_null' => $current_value['no_null'],
|
2166 |
+
'delimiters' => '',
|
2167 |
+
'parent' => 0,
|
2168 |
+
'active' => isset( $current_value['active'] ) ? $current_value['active'] : true,
|
2169 |
+
'read_only' => $rule_name !== $current_value['name'],
|
2170 |
+
'changed' => false,
|
2171 |
+
'deleted' => false,
|
2172 |
+
);
|
2173 |
+
|
2174 |
+
if ( self::$_iptc_exif_rules[ self::$_iptc_exif_rule_highest_ID ]['read_only'] ) {
|
2175 |
+
self::$_iptc_exif_rules[ self::$_iptc_exif_rule_highest_ID ]['active'] = false;
|
2176 |
+
}
|
2177 |
+
} // foreach rule
|
2178 |
+
} // foreach name
|
2179 |
+
} // custom rules exist
|
2180 |
|
2181 |
+
// Flush the rules if we have inactivated any non-supported taxonomy rules
|
2182 |
+
if ( $taxonomy_rules_changed ) {
|
2183 |
+
MLA_IPTC_EXIF_Query::mla_put_iptc_exif_rules();
|
2184 |
+
}
|
2185 |
+
|
2186 |
return true;
|
2187 |
}
|
2188 |
|
includes/class-mla-settings-upload-tab.php
CHANGED
@@ -467,7 +467,7 @@ class MLASettings_Upload {
|
|
467 |
*/
|
468 |
$options_list = '';
|
469 |
foreach ( MLACoreOptions::$mla_option_definitions as $key => $value ) {
|
470 |
-
if (
|
471 |
$options_list .= MLASettings::mla_compose_option_row( $key, $value );
|
472 |
}
|
473 |
}
|
467 |
*/
|
468 |
$options_list = '';
|
469 |
foreach ( MLACoreOptions::$mla_option_definitions as $key => $value ) {
|
470 |
+
if ( MLACoreOptions::MLA_ENABLE_UPLOAD_MIMES == $key ) {
|
471 |
$options_list .= MLASettings::mla_compose_option_row( $key, $value );
|
472 |
}
|
473 |
}
|
includes/class-mla-settings-view-tab.php
CHANGED
@@ -308,7 +308,7 @@ class MLASettings_View {
|
|
308 |
*/
|
309 |
$options_list = '';
|
310 |
foreach ( MLACoreOptions::$mla_option_definitions as $key => $value ) {
|
311 |
-
if (
|
312 |
$options_list .= MLASettings::mla_compose_option_row( $key, $value );
|
313 |
}
|
314 |
}
|
308 |
*/
|
309 |
$options_list = '';
|
310 |
foreach ( MLACoreOptions::$mla_option_definitions as $key => $value ) {
|
311 |
+
if ( MLACoreOptions::MLA_ENABLE_POST_MIME_TYPES == $key ) {
|
312 |
$options_list .= MLASettings::mla_compose_option_row( $key, $value );
|
313 |
}
|
314 |
}
|
includes/class-mla-settings.php
CHANGED
@@ -269,17 +269,20 @@ class MLASettings {
|
|
269 |
* Add format, option and no_null to IPTC/EXIF custom mapping rules
|
270 |
*/
|
271 |
$option_value = MLACore::mla_get_option( 'iptc_exif_mapping' );
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
279 |
}
|
280 |
-
|
281 |
-
$option_value['custom'] = $new_values;
|
282 |
-
MLACore::mla_update_option( 'iptc_exif_mapping', $option_value );
|
283 |
} // version is less than 2.13
|
284 |
|
285 |
MLACore::mla_update_option( MLACoreOptions::MLA_VERSION_OPTION, MLACore::CURRENT_MLA_VERSION );
|
@@ -1422,6 +1425,9 @@ class MLASettings {
|
|
1422 |
'Debug Settings' => __( 'Debug Settings', 'media-library-assistant' ),
|
1423 |
'settings_list' => $settings_list,
|
1424 |
'Error Log' => __( 'Error Log', 'media-library-assistant' ),
|
|
|
|
|
|
|
1425 |
'Error Log Name' => $error_log_name,
|
1426 |
'Error Log Size' => number_format( (float) $error_log_size ),
|
1427 |
'error_log_text' => $error_log_contents,
|
269 |
* Add format, option and no_null to IPTC/EXIF custom mapping rules
|
270 |
*/
|
271 |
$option_value = MLACore::mla_get_option( 'iptc_exif_mapping' );
|
272 |
+
|
273 |
+
if ( !empty( $option_value['custom'] ) ) {
|
274 |
+
$new_values = array();
|
275 |
+
|
276 |
+
foreach ( $option_value['custom'] as $key => $value ) {
|
277 |
+
$value['format'] = isset( $value['format'] ) ? $value['format'] : 'native';
|
278 |
+
$value['option'] = isset( $value['option'] ) ? $value['option'] : 'text';
|
279 |
+
$value['no_null'] = isset( $value['no_null'] ) ? $value['no_null'] : false;
|
280 |
+
$new_values[ $key ] = $value;
|
281 |
+
}
|
282 |
+
|
283 |
+
$option_value['custom'] = $new_values;
|
284 |
+
MLACore::mla_update_option( 'iptc_exif_mapping', $option_value );
|
285 |
}
|
|
|
|
|
|
|
286 |
} // version is less than 2.13
|
287 |
|
288 |
MLACore::mla_update_option( MLACoreOptions::MLA_VERSION_OPTION, MLACore::CURRENT_MLA_VERSION );
|
1425 |
'Debug Settings' => __( 'Debug Settings', 'media-library-assistant' ),
|
1426 |
'settings_list' => $settings_list,
|
1427 |
'Error Log' => __( 'Error Log', 'media-library-assistant' ),
|
1428 |
+
/* translators: 1: Documentation hyperlink */
|
1429 |
+
'You can find' => sprintf( __( 'You can find more information about the MLA Reporting/MLA_DEBUG_LEVEL values in the %1$s section of the Documentation tab.', 'media-library-assistant' ), '<a href="[+settingsURL+]?page=mla-settings-menu-documentation&mla_tab=documentation#mla_debug_tab" title="' . __( 'MLA Debug Tab documentation', 'media-library-assistant' ) . '" target="_blank">' . __( 'MLA Debug Tab', 'media-library-assistant' ) . '</a>' ),
|
1430 |
+
'settingsURL' => admin_url('options-general.php'),
|
1431 |
'Error Log Name' => $error_log_name,
|
1432 |
'Error Log Size' => number_format( (float) $error_log_size ),
|
1433 |
'error_log_text' => $error_log_contents,
|
includes/class-mla-shortcode-support.php
CHANGED
@@ -412,6 +412,7 @@ class MLAShortcode_Support {
|
|
412 |
'mla_target' => '',
|
413 |
'mla_debug' => false,
|
414 |
|
|
|
415 |
'mla_viewer' => false,
|
416 |
'mla_single_thread' => false,
|
417 |
'mla_viewer_extensions' => 'ai,eps,pdf,ps',
|
@@ -467,9 +468,10 @@ class MLAShortcode_Support {
|
|
467 |
$mla_arguments
|
468 |
);
|
469 |
|
470 |
-
|
471 |
-
|
472 |
-
|
|
|
473 |
$template = $mla_arguments['mla_markup'];
|
474 |
if ( isset( $attr['mla_markup'] ) && MLATemplate_Support::mla_fetch_custom_template( $attr['mla_markup'], 'gallery', 'markup', '[exists]' ) ) {
|
475 |
$template = $attr['mla_markup'];
|
@@ -1309,9 +1311,7 @@ class MLAShortcode_Support {
|
|
1309 |
$item_values['filelink'] = str_replace( '<img ', '<img ' . $image_attributes, $item_values['filelink'] );
|
1310 |
}
|
1311 |
|
1312 |
-
|
1313 |
-
* Extract existing class values and add to them
|
1314 |
-
*/
|
1315 |
if ( ! empty( $image_class ) ) {
|
1316 |
$match_count = preg_match_all( '# class=\"([^\"]+)\" #', $item_values['pagelink'], $matches, PREG_OFFSET_CAPTURE );
|
1317 |
if ( ! ( $class_replace || ( $match_count == false ) || ( $match_count == 0 ) ) ) {
|
@@ -1330,21 +1330,41 @@ class MLAShortcode_Support {
|
|
1330 |
}
|
1331 |
} // process <img> tag
|
1332 |
|
1333 |
-
|
1334 |
-
* Create download link with all Content Parameters
|
1335 |
-
*/
|
1336 |
$match_count = preg_match( '#href=\'([^\']+)\'#', $item_values['filelink'], $matches, PREG_OFFSET_CAPTURE );
|
1337 |
if ( ! ( ( $match_count == false ) || ( $match_count == 0 ) ) ) {
|
1338 |
-
|
|
|
|
|
|
|
|
|
|
|
1339 |
if ( 'log' == $arguments['mla_debug'] ) {
|
1340 |
$args['mla_debug'] = 'log';
|
1341 |
}
|
1342 |
|
1343 |
$item_values['downloadlink_url'] = add_query_arg( $args, MLA_PLUGIN_URL . 'includes/mla-file-downloader.php' );
|
1344 |
$item_values['downloadlink'] = preg_replace( '#' . $matches[0][0] . '#', sprintf( 'href=\'%1$s\'', $item_values['downloadlink_url'] ), $item_values['filelink'] );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1345 |
} else {
|
1346 |
$item_values['downloadlink_url'] = $item_values['filelink_url'];
|
1347 |
$item_values['downloadlink'] = $item_values['filelink'];
|
|
|
|
|
|
|
1348 |
}
|
1349 |
|
1350 |
switch ( $arguments['link'] ) {
|
@@ -1362,18 +1382,21 @@ class MLAShortcode_Support {
|
|
1362 |
default:
|
1363 |
$item_values['link'] = $item_values['filelink'];
|
1364 |
|
1365 |
-
|
1366 |
-
* Check for link to specific (registered) file size
|
1367 |
-
*/
|
1368 |
if ( array_key_exists( $arguments['link'], $sizes ) ) {
|
1369 |
-
|
1370 |
-
|
|
|
|
|
1371 |
}
|
1372 |
} // switch 'link'
|
1373 |
|
1374 |
-
|
1375 |
-
|
1376 |
-
|
|
|
|
|
|
|
1377 |
$match_count = preg_match_all( '#href=\'([^\']+)\'#', $item_values['pagelink'], $matches, PREG_OFFSET_CAPTURE );
|
1378 |
if ( ! ( ( $match_count == false ) || ( $match_count == 0 ) ) ) {
|
1379 |
$item_values['pagelink_url'] = $matches[1][0][0];
|
@@ -1388,13 +1411,6 @@ class MLAShortcode_Support {
|
|
1388 |
$item_values['filelink_url'] = '';
|
1389 |
}
|
1390 |
|
1391 |
-
$match_count = preg_match_all( '#href=\'([^\']+)\'#', $item_values['downloadlink'], $matches, PREG_OFFSET_CAPTURE );
|
1392 |
-
if ( ! ( ( $match_count == false ) || ( $match_count == 0 ) ) ) {
|
1393 |
-
$item_values['downloadlink_url'] = $matches[1][0][0];
|
1394 |
-
} else {
|
1395 |
-
$item_values['downloadlink_url'] = '';
|
1396 |
-
}
|
1397 |
-
|
1398 |
$match_count = preg_match_all( '#href=\'([^\']+)\'#', $item_values['link'], $matches, PREG_OFFSET_CAPTURE );
|
1399 |
if ( ! ( ( $match_count == false ) || ( $match_count == 0 ) ) ) {
|
1400 |
$item_values['link_url'] = $matches[1][0][0];
|
@@ -1409,9 +1425,7 @@ class MLAShortcode_Support {
|
|
1409 |
if ( ! empty( $arguments['mla_link_href'] ) ) {
|
1410 |
$link_href = self::_process_shortcode_parameter( $arguments['mla_link_href'], $item_values );
|
1411 |
|
1412 |
-
|
1413 |
-
* Replace single- and double-quote delimited values
|
1414 |
-
*/
|
1415 |
$item_values['link'] = preg_replace('# href=\'([^\']*)\'#', " href='{$link_href}'", $item_values['link'] );
|
1416 |
$item_values['link'] = preg_replace('# href=\"([^\"]*)\"#', " href=\"{$link_href}\"", $item_values['link'] );
|
1417 |
} else {
|
@@ -4369,6 +4383,7 @@ class MLAShortcode_Support {
|
|
4369 |
// Taxonomy parameters are handled separately
|
4370 |
// {tax_slug} => 'term' | array ( 'term', 'term', ... )
|
4371 |
// 'tax_query' => ''
|
|
|
4372 |
// 'tax_relation' => 'OR', 'AND' (default),
|
4373 |
// 'tax_operator' => 'OR' (default), 'IN', 'NOT IN', 'AND',
|
4374 |
// 'tax_include_children' => true (default), false
|
412 |
'mla_target' => '',
|
413 |
'mla_debug' => false,
|
414 |
|
415 |
+
'mla_named_transfer' => false,
|
416 |
'mla_viewer' => false,
|
417 |
'mla_single_thread' => false,
|
418 |
'mla_viewer_extensions' => 'ai,eps,pdf,ps',
|
468 |
$mla_arguments
|
469 |
);
|
470 |
|
471 |
+
// Convert to boolean
|
472 |
+
$arguments['mla_named_transfer'] = 'true' === ( ( ! empty( $arguments['mla_named_transfer'] ) ) ? trim( strtolower( $arguments['mla_named_transfer'] ) ) : 'false' );
|
473 |
+
|
474 |
+
// Apply default arguments set in the markup template
|
475 |
$template = $mla_arguments['mla_markup'];
|
476 |
if ( isset( $attr['mla_markup'] ) && MLATemplate_Support::mla_fetch_custom_template( $attr['mla_markup'], 'gallery', 'markup', '[exists]' ) ) {
|
477 |
$template = $attr['mla_markup'];
|
1311 |
$item_values['filelink'] = str_replace( '<img ', '<img ' . $image_attributes, $item_values['filelink'] );
|
1312 |
}
|
1313 |
|
1314 |
+
// Extract existing class values and add to them
|
|
|
|
|
1315 |
if ( ! empty( $image_class ) ) {
|
1316 |
$match_count = preg_match_all( '# class=\"([^\"]+)\" #', $item_values['pagelink'], $matches, PREG_OFFSET_CAPTURE );
|
1317 |
if ( ! ( $class_replace || ( $match_count == false ) || ( $match_count == 0 ) ) ) {
|
1330 |
}
|
1331 |
} // process <img> tag
|
1332 |
|
1333 |
+
// Create download and named transfer links with all Content Parameters
|
|
|
|
|
1334 |
$match_count = preg_match( '#href=\'([^\']+)\'#', $item_values['filelink'], $matches, PREG_OFFSET_CAPTURE );
|
1335 |
if ( ! ( ( $match_count == false ) || ( $match_count == 0 ) ) ) {
|
1336 |
+
// Forced download link
|
1337 |
+
$args = array(
|
1338 |
+
'mla_download_file' => urlencode( $item_values['base_dir'] . '/' . $item_values['base_file'] ),
|
1339 |
+
'mla_download_type' => $item_values['mime_type']
|
1340 |
+
);
|
1341 |
+
|
1342 |
if ( 'log' == $arguments['mla_debug'] ) {
|
1343 |
$args['mla_debug'] = 'log';
|
1344 |
}
|
1345 |
|
1346 |
$item_values['downloadlink_url'] = add_query_arg( $args, MLA_PLUGIN_URL . 'includes/mla-file-downloader.php' );
|
1347 |
$item_values['downloadlink'] = preg_replace( '#' . $matches[0][0] . '#', sprintf( 'href=\'%1$s\'', $item_values['downloadlink_url'] ), $item_values['filelink'] );
|
1348 |
+
|
1349 |
+
// AJAX-based Named Transfer link
|
1350 |
+
$args = array(
|
1351 |
+
'action' => 'mla_named_transfer',
|
1352 |
+
'mla_item' => $attachment->post_name,
|
1353 |
+
'mla_disposition' => ( 'download' === $arguments['link'] ) ? 'attachment' : 'inline',
|
1354 |
+
);
|
1355 |
+
|
1356 |
+
if ( 'log' == $arguments['mla_debug'] ) {
|
1357 |
+
$args['mla_debug'] = 'log';
|
1358 |
+
}
|
1359 |
+
|
1360 |
+
$item_values['transferlink_url'] = add_query_arg( $args, admin_url( 'admin-ajax.php' ) );
|
1361 |
+
$item_values['transferlink'] = preg_replace( '#' . $matches[0][0] . '#', sprintf( 'href=\'%1$s\'', $item_values['transferlink_url'] ), $item_values['filelink'] );
|
1362 |
} else {
|
1363 |
$item_values['downloadlink_url'] = $item_values['filelink_url'];
|
1364 |
$item_values['downloadlink'] = $item_values['filelink'];
|
1365 |
+
|
1366 |
+
$item_values['transferlink_url'] = $item_values['filelink_url'];
|
1367 |
+
$item_values['transferlink'] = $item_values['filelink'];
|
1368 |
}
|
1369 |
|
1370 |
switch ( $arguments['link'] ) {
|
1382 |
default:
|
1383 |
$item_values['link'] = $item_values['filelink'];
|
1384 |
|
1385 |
+
// Check for link to specific (registered) file size, image types only
|
|
|
|
|
1386 |
if ( array_key_exists( $arguments['link'], $sizes ) ) {
|
1387 |
+
if ( 0 === strpos( $attachment->post_mime_type, 'image/' ) ) {
|
1388 |
+
$target_file = $sizes[ $arguments['link'] ]['file'];
|
1389 |
+
$item_values['link'] = str_replace( $file_name, $target_file, $item_values['filelink'] );
|
1390 |
+
}
|
1391 |
}
|
1392 |
} // switch 'link'
|
1393 |
|
1394 |
+
// Replace link with AJAX-based item transfer using post slug
|
1395 |
+
if ( $arguments['mla_named_transfer'] ) {
|
1396 |
+
$item_values['link'] = $item_values['transferlink'];
|
1397 |
+
}
|
1398 |
+
|
1399 |
+
// Extract target and thumbnail fields
|
1400 |
$match_count = preg_match_all( '#href=\'([^\']+)\'#', $item_values['pagelink'], $matches, PREG_OFFSET_CAPTURE );
|
1401 |
if ( ! ( ( $match_count == false ) || ( $match_count == 0 ) ) ) {
|
1402 |
$item_values['pagelink_url'] = $matches[1][0][0];
|
1411 |
$item_values['filelink_url'] = '';
|
1412 |
}
|
1413 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1414 |
$match_count = preg_match_all( '#href=\'([^\']+)\'#', $item_values['link'], $matches, PREG_OFFSET_CAPTURE );
|
1415 |
if ( ! ( ( $match_count == false ) || ( $match_count == 0 ) ) ) {
|
1416 |
$item_values['link_url'] = $matches[1][0][0];
|
1425 |
if ( ! empty( $arguments['mla_link_href'] ) ) {
|
1426 |
$link_href = self::_process_shortcode_parameter( $arguments['mla_link_href'], $item_values );
|
1427 |
|
1428 |
+
// Replace single- and double-quote delimited values
|
|
|
|
|
1429 |
$item_values['link'] = preg_replace('# href=\'([^\']*)\'#', " href='{$link_href}'", $item_values['link'] );
|
1430 |
$item_values['link'] = preg_replace('# href=\"([^\"]*)\"#', " href=\"{$link_href}\"", $item_values['link'] );
|
1431 |
} else {
|
4383 |
// Taxonomy parameters are handled separately
|
4384 |
// {tax_slug} => 'term' | array ( 'term', 'term', ... )
|
4385 |
// 'tax_query' => ''
|
4386 |
+
// 'tax_input' => ''
|
4387 |
// 'tax_relation' => 'OR', 'AND' (default),
|
4388 |
// 'tax_operator' => 'OR' (default), 'IN', 'NOT IN', 'AND',
|
4389 |
// 'tax_include_children' => true (default), false
|
includes/class-mla-wpml-support.php
CHANGED
@@ -526,7 +526,10 @@ class MLA_WPML {
|
|
526 |
|
527 |
if ( $relevant_term ) {
|
528 |
if ( isset( $relevant_term['translations'][ $item_language ] ) ) {
|
529 |
-
$new_terms[] = absint( $relevant_term['translations'][ $item_language ]->term_id );
|
|
|
|
|
|
|
530 |
}
|
531 |
} else {
|
532 |
// Always create the new term in the current language
|
@@ -573,7 +576,10 @@ class MLA_WPML {
|
|
573 |
// Reload the term with all of its new translations
|
574 |
$relevant_term = self::_get_relevant_term( 'name', $new_name, $setting_key, NULL, false, true );
|
575 |
if ( isset( $relevant_term['translations'][ $item_language ] ) ) {
|
576 |
-
$new_terms[] = absint( $relevant_term['translations'][ $item_language ]->term_id );
|
|
|
|
|
|
|
577 |
}
|
578 |
} // new term
|
579 |
} // foreach new_name
|
526 |
|
527 |
if ( $relevant_term ) {
|
528 |
if ( isset( $relevant_term['translations'][ $item_language ] ) ) {
|
529 |
+
// $new_terms[] = absint( $relevant_term['translations'][ $item_language ]->term_id );
|
530 |
+
$new_term_id = absint( $relevant_term['translations'][ $item_language ]->term_id );
|
531 |
+
$new_term = self::_get_relevant_term( 'id', $new_term_id, $setting_key );
|
532 |
+
$new_terms[] = $new_term['term']->name;
|
533 |
}
|
534 |
} else {
|
535 |
// Always create the new term in the current language
|
576 |
// Reload the term with all of its new translations
|
577 |
$relevant_term = self::_get_relevant_term( 'name', $new_name, $setting_key, NULL, false, true );
|
578 |
if ( isset( $relevant_term['translations'][ $item_language ] ) ) {
|
579 |
+
// $new_terms[] = absint( $relevant_term['translations'][ $item_language ]->term_id );
|
580 |
+
$new_term_id = absint( $relevant_term['translations'][ $item_language ]->term_id );
|
581 |
+
$new_term = self::_get_relevant_term( 'id', $new_term_id, $setting_key );
|
582 |
+
$new_terms[] = $new_term['term']->name;
|
583 |
}
|
584 |
} // new term
|
585 |
} // foreach new_name
|
includes/mla-plugin-loader.php
CHANGED
@@ -22,7 +22,7 @@ if ( ! defined('MLA_DEBUG_LEVEL') ) {
|
|
22 |
/**
|
23 |
* Activates debug options; can be set in wp-config.php
|
24 |
*/
|
25 |
-
define('MLA_DEBUG_LEVEL',
|
26 |
}
|
27 |
|
28 |
if ( ! defined('MLA_AJAX_EXCEPTIONS') ) {
|
@@ -63,31 +63,28 @@ $mla_plugin_loader_error_messages .= MLATest::min_WordPress_version( '3.5.0' );
|
|
63 |
if ( ! empty( $mla_plugin_loader_error_messages ) ) {
|
64 |
add_action( 'admin_notices', 'mla_plugin_loader_reporting_action' );
|
65 |
} else {
|
66 |
-
|
67 |
-
* MLATest is loaded above
|
68 |
-
*/
|
69 |
add_action( 'init', 'MLATest::initialize', 0x7FFFFFFF );
|
70 |
|
71 |
-
|
72 |
-
* Minimum support functions required by all other components
|
73 |
-
*/
|
74 |
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-core.php' );
|
75 |
add_action( 'plugins_loaded', 'MLACore::mla_plugins_loaded_action', 0x7FFFFFFF );
|
76 |
add_action( 'init', 'MLACore::initialize', 0x7FFFFFFF );
|
77 |
|
78 |
-
|
79 |
-
* Check for XMLPRC, WP REST API and front end requests
|
80 |
-
*/
|
81 |
if( !( defined('WP_ADMIN') && WP_ADMIN ) ) {
|
|
|
82 |
|
83 |
// XMLRPC requests need everything loaded to process uploads
|
84 |
-
|
|
|
|
|
85 |
|
86 |
// WP REST API calls need everything loaded to process uploads
|
87 |
if ( isset( $_SERVER['REQUEST_URI'] ) && 0 === strpos( $_SERVER['REQUEST_URI'], '/wp-json/' ) ) {
|
88 |
$front_end_only = false; // TODO be more selective
|
89 |
}
|
90 |
-
|
91 |
// Front end posts/pages only need shortcode support; load the interface shims.
|
92 |
if ( $front_end_only ) {
|
93 |
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-shortcodes.php' );
|
@@ -124,7 +121,7 @@ if ( ! empty( $mla_plugin_loader_error_messages ) ) {
|
|
124 |
$ajax_only = false;
|
125 |
} elseif ( 'mla-update-compat-fields' == $_REQUEST['action'] ) {
|
126 |
global $sitepress;
|
127 |
-
|
128 |
//Look for multi-lingual terms updates
|
129 |
if ( is_object( $sitepress ) || class_exists( 'Polylang' ) ) {
|
130 |
$ajax_only = false;
|
22 |
/**
|
23 |
* Activates debug options; can be set in wp-config.php
|
24 |
*/
|
25 |
+
define('MLA_DEBUG_LEVEL', 1);
|
26 |
}
|
27 |
|
28 |
if ( ! defined('MLA_AJAX_EXCEPTIONS') ) {
|
63 |
if ( ! empty( $mla_plugin_loader_error_messages ) ) {
|
64 |
add_action( 'admin_notices', 'mla_plugin_loader_reporting_action' );
|
65 |
} else {
|
66 |
+
// MLATest is loaded above
|
|
|
|
|
67 |
add_action( 'init', 'MLATest::initialize', 0x7FFFFFFF );
|
68 |
|
69 |
+
// Minimum support functions required by all other components
|
|
|
|
|
70 |
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-core.php' );
|
71 |
add_action( 'plugins_loaded', 'MLACore::mla_plugins_loaded_action', 0x7FFFFFFF );
|
72 |
add_action( 'init', 'MLACore::initialize', 0x7FFFFFFF );
|
73 |
|
74 |
+
// Check for XMLPRC, WP REST API and front end requests
|
|
|
|
|
75 |
if( !( defined('WP_ADMIN') && WP_ADMIN ) ) {
|
76 |
+
$front_end_only = true;
|
77 |
|
78 |
// XMLRPC requests need everything loaded to process uploads
|
79 |
+
if ( defined('XMLRPC_REQUEST') && XMLRPC_REQUEST ) {
|
80 |
+
$front_end_only = false;
|
81 |
+
}
|
82 |
|
83 |
// WP REST API calls need everything loaded to process uploads
|
84 |
if ( isset( $_SERVER['REQUEST_URI'] ) && 0 === strpos( $_SERVER['REQUEST_URI'], '/wp-json/' ) ) {
|
85 |
$front_end_only = false; // TODO be more selective
|
86 |
}
|
87 |
+
|
88 |
// Front end posts/pages only need shortcode support; load the interface shims.
|
89 |
if ( $front_end_only ) {
|
90 |
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-shortcodes.php' );
|
121 |
$ajax_only = false;
|
122 |
} elseif ( 'mla-update-compat-fields' == $_REQUEST['action'] ) {
|
123 |
global $sitepress;
|
124 |
+
|
125 |
//Look for multi-lingual terms updates
|
126 |
if ( is_object( $sitepress ) || class_exists( 'Polylang' ) ) {
|
127 |
$ajax_only = false;
|
index.php
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
* will the rest of the plugin be loaded and run.
|
7 |
*
|
8 |
* @package Media Library Assistant
|
9 |
-
* @version 2.
|
10 |
*/
|
11 |
|
12 |
/*
|
@@ -16,7 +16,7 @@ Description: Enhances the Media Library; powerful [mla_gallery] [mla_tag_cloud]
|
|
16 |
Author: David Lingren, Fair Trade Judaica
|
17 |
Text Domain: media-library-assistant
|
18 |
Domain Path: /languages
|
19 |
-
Version: 2.
|
20 |
Author URI: http://fairtradejudaica.org/our-story/staff/
|
21 |
|
22 |
Copyright 2011-2017 David Lingren
|
@@ -103,17 +103,23 @@ if ( ! defined( 'MLA_BACKUP_DIR' ) ) {
|
|
103 |
*/
|
104 |
$mla_name_conflict_candidates =
|
105 |
array (
|
|
|
|
|
|
|
|
|
|
|
|
|
106 |
'MLA_Ajax' => 'class',
|
107 |
'MLACore' => 'class',
|
|
|
108 |
'MLA_Checklist_Walker' => 'class',
|
109 |
-
'CPAC_Storage_Model_MLA' => 'class',
|
110 |
'MLAPDF' => 'class',
|
111 |
'MLAQuery' => 'class',
|
112 |
'MLAReferences' => 'class',
|
113 |
'MLAData_Source' => 'class',
|
114 |
'MLAData' => 'class',
|
115 |
'MLAEdit' => 'class',
|
116 |
-
'
|
117 |
'MLAImageProcessor' => 'class',
|
118 |
'MLAMutex' => 'class',
|
119 |
'MLA_List_Table' => 'class',
|
@@ -124,15 +130,30 @@ $mla_name_conflict_candidates =
|
|
124 |
'MLAObjects' => 'class',
|
125 |
'MLATextWidget' => 'class',
|
126 |
'MLAOptions' => 'class',
|
|
|
127 |
'MLA_Polylang' => 'class',
|
128 |
-
'
|
129 |
-
'
|
130 |
-
'
|
131 |
-
'
|
|
|
132 |
'MLA_Upgrader_Skin' => 'class',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
133 |
'MLA_Upload_List_Table' => 'class',
|
134 |
'MLA_Upload_Optional_List_Table' => 'class',
|
|
|
135 |
'MLA_View_List_Table' => 'class',
|
|
|
|
|
|
|
|
|
|
|
136 |
'MLA_WPML' => 'class',
|
137 |
'MLA_WPML_List_Table' => 'class',
|
138 |
'MLA_WPML_Table' => 'class',
|
6 |
* will the rest of the plugin be loaded and run.
|
7 |
*
|
8 |
* @package Media Library Assistant
|
9 |
+
* @version 2.65
|
10 |
*/
|
11 |
|
12 |
/*
|
16 |
Author: David Lingren, Fair Trade Judaica
|
17 |
Text Domain: media-library-assistant
|
18 |
Domain Path: /languages
|
19 |
+
Version: 2.65
|
20 |
Author URI: http://fairtradejudaica.org/our-story/staff/
|
21 |
|
22 |
Copyright 2011-2017 David Lingren
|
103 |
*/
|
104 |
$mla_name_conflict_candidates =
|
105 |
array (
|
106 |
+
'CPAC_Deprecated_Storage_Model_MLA' => 'class',
|
107 |
+
'ACP_Addon_MLA_Editing_Strategy' => 'class',
|
108 |
+
'AC_Addon_MLA_ListScreen' => 'class',
|
109 |
+
'ACP_Addon_MLA_Editing_Model_Media_Title' => 'class',
|
110 |
+
'ACP_Addon_MLA_Column_Parent' => 'class',
|
111 |
+
'ACP_Addon_MLA_Column_Date' => 'class',
|
112 |
'MLA_Ajax' => 'class',
|
113 |
'MLACore' => 'class',
|
114 |
+
'MLACoreOptions' => 'class',
|
115 |
'MLA_Checklist_Walker' => 'class',
|
|
|
116 |
'MLAPDF' => 'class',
|
117 |
'MLAQuery' => 'class',
|
118 |
'MLAReferences' => 'class',
|
119 |
'MLAData_Source' => 'class',
|
120 |
'MLAData' => 'class',
|
121 |
'MLAEdit' => 'class',
|
122 |
+
'MLAFileDownloader' => 'class',
|
123 |
'MLAImageProcessor' => 'class',
|
124 |
'MLAMutex' => 'class',
|
125 |
'MLA_List_Table' => 'class',
|
130 |
'MLAObjects' => 'class',
|
131 |
'MLATextWidget' => 'class',
|
132 |
'MLAOptions' => 'class',
|
133 |
+
'MLA_Polylang_Shortcodes' => 'class',
|
134 |
'MLA_Polylang' => 'class',
|
135 |
+
'MLASettings_CustomFields' => 'class',
|
136 |
+
'MLA_Custom_Fields_List_Table' => 'class',
|
137 |
+
'MLA_Custom_Field_Query' => 'class',
|
138 |
+
'MLASettings_Documentation' => 'class',
|
139 |
+
'MLA_Example_List_Table' => 'class',
|
140 |
'MLA_Upgrader_Skin' => 'class',
|
141 |
+
'MLASettings_IPTCEXIF' => 'class',
|
142 |
+
'MLA_IPTC_EXIF_List_Table' => 'class',
|
143 |
+
'MLA_IPTC_EXIF_Query' => 'class',
|
144 |
+
'MLASettings_Shortcodes' => 'class',
|
145 |
+
'MLA_Template_List_Table' => 'class',
|
146 |
+
'MLA_Template_Query' => 'class',
|
147 |
+
'MLASettings_Upload' => 'class',
|
148 |
'MLA_Upload_List_Table' => 'class',
|
149 |
'MLA_Upload_Optional_List_Table' => 'class',
|
150 |
+
'MLASettings_View' => 'class',
|
151 |
'MLA_View_List_Table' => 'class',
|
152 |
+
'MLASettings' => 'class',
|
153 |
+
'MLAShortcode_Support' => 'class',
|
154 |
+
'MLAShortcodes' => 'class',
|
155 |
+
'MLATemplate_Support' => 'class',
|
156 |
+
'MLA_Thumbnail' => 'class',
|
157 |
'MLA_WPML' => 'class',
|
158 |
'MLA_WPML_List_Table' => 'class',
|
159 |
'MLA_WPML_Table' => 'class',
|
languages/media-library-assistant-en_US - References.pot
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: Media Library Assistant\n"
|
5 |
-
"POT-Creation-Date: 2017-
|
6 |
"PO-Revision-Date: 2015-08-21 21:38-0800\n"
|
7 |
"Last-Translator: David Lingren <david@fairtradejudaica.org>\n"
|
8 |
"Language-Team: David Lingren <david@fairtradejudaica.org>\n"
|
@@ -22,106 +22,106 @@ msgstr ""
|
|
22 |
|
23 |
#: includes/class-mla-admin-columns-support-deprecated.php:33
|
24 |
#: includes/class-mla-admin-columns-support.php:55
|
25 |
-
#: includes/class-mla-core-options.php:
|
26 |
-
#: includes/class-mla-settings.php:
|
27 |
#: index.php:48
|
28 |
msgid "Media Library Assistant"
|
29 |
msgstr ""
|
30 |
|
31 |
#: includes/class-mla-admin-columns-support-deprecated.php:34
|
32 |
#: includes/class-mla-admin-columns-support.php:56
|
33 |
-
#: includes/class-mla-core-options.php:
|
34 |
msgid "Assistant"
|
35 |
msgstr ""
|
36 |
|
37 |
-
#: includes/class-mla-ajax.php:
|
38 |
-
#: includes/class-mla-data.php:
|
39 |
-
#: includes/class-mla-main.php:
|
40 |
-
#: includes/class-mla-objects.php:356 includes/class-mla-options.php:
|
41 |
#: includes/mla-main-search-box-template.php:47
|
42 |
#: includes/mla-media-modal-js-template.php:40
|
43 |
msgid "Title"
|
44 |
msgstr ""
|
45 |
|
46 |
-
#: includes/class-mla-ajax.php:
|
47 |
#: includes/class-mla-thumbnail-generation.php:625
|
48 |
msgid "Type"
|
49 |
msgstr ""
|
50 |
|
51 |
-
#: includes/class-mla-ajax.php:
|
52 |
msgid "Date"
|
53 |
msgstr ""
|
54 |
|
55 |
-
#: includes/class-mla-ajax.php:
|
56 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
57 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
58 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
59 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
60 |
#: includes/class-mla-settings-upload-tab.php:552
|
61 |
msgid "Status"
|
62 |
msgstr ""
|
63 |
|
64 |
-
#: includes/class-mla-ajax.php:
|
65 |
-
#: includes/class-mla-list-table.php:1030 includes/class-mla-main.php:
|
66 |
-
#: includes/class-mla-polylang-support.php:
|
67 |
#: includes/class-mla-thumbnail-generation.php:97
|
68 |
msgid "(no title)"
|
69 |
msgstr ""
|
70 |
|
71 |
-
#: includes/class-mla-ajax.php:
|
72 |
msgid "Published"
|
73 |
msgstr ""
|
74 |
|
75 |
-
#: includes/class-mla-ajax.php:
|
76 |
#: includes/class-mla-list-table.php:631
|
77 |
msgid "Scheduled"
|
78 |
msgstr ""
|
79 |
|
80 |
-
#: includes/class-mla-ajax.php:
|
81 |
msgid "Pending Review"
|
82 |
msgstr ""
|
83 |
|
84 |
-
#: includes/class-mla-ajax.php:
|
85 |
#: includes/class-mla-list-table.php:628
|
86 |
msgid "Draft"
|
87 |
msgstr ""
|
88 |
|
89 |
-
#: includes/class-mla-ajax.php:
|
90 |
#: includes/class-mla-list-table.php:1468
|
91 |
#: includes/class-mla-list-table.php:1532
|
92 |
msgid "Y/m/d"
|
93 |
msgstr ""
|
94 |
|
95 |
-
#: includes/class-mla-ajax.php:
|
96 |
-
#: includes/class-mla-ajax.php:
|
97 |
-
#: includes/class-mla-core.php:
|
98 |
-
#: includes/class-mla-core.php:
|
99 |
#: includes/class-mla-data-pdf.php:216 includes/class-mla-data-pdf.php:517
|
100 |
#: includes/class-mla-data-pdf.php:519 includes/class-mla-data-pdf.php:565
|
101 |
#: includes/class-mla-data-pdf.php:749 includes/class-mla-data-query.php:674
|
102 |
-
#: includes/class-mla-data.php:50 includes/class-mla-data.php:
|
103 |
-
#: includes/class-mla-data.php:
|
104 |
-
#: includes/class-mla-data.php:
|
105 |
-
#: includes/class-mla-data.php:
|
106 |
-
#: includes/class-mla-data.php:
|
107 |
-
#: includes/class-mla-data.php:
|
108 |
-
#: includes/class-mla-data.php:
|
109 |
-
#: includes/class-mla-data.php:
|
110 |
-
#: includes/class-mla-data.php:
|
111 |
-
#: includes/class-mla-data.php:
|
112 |
-
#: includes/class-mla-data.php:
|
113 |
-
#: includes/class-mla-data.php:
|
114 |
-
#: includes/class-mla-edit-media.php:
|
115 |
-
#: includes/class-mla-main.php:
|
116 |
-
#: includes/class-mla-main.php:
|
117 |
-
#: includes/class-mla-main.php:
|
118 |
-
#: includes/class-mla-main.php:
|
119 |
-
#: includes/class-mla-main.php:
|
120 |
-
#: includes/class-mla-main.php:
|
121 |
-
#: includes/class-mla-main.php:
|
122 |
-
#: includes/class-mla-main.php:
|
123 |
-
#: includes/class-mla-main.php:
|
124 |
-
#: includes/class-mla-main.php:
|
125 |
#: includes/class-mla-mime-types.php:749 includes/class-mla-mime-types.php:1141
|
126 |
#: includes/class-mla-mime-types.php:1229
|
127 |
#: includes/class-mla-mime-types.php:1375
|
@@ -139,46 +139,40 @@ msgstr ""
|
|
139 |
#: includes/class-mla-mime-types.php:2545
|
140 |
#: includes/class-mla-mime-types.php:2554
|
141 |
#: includes/class-mla-mime-types.php:2586 includes/class-mla-objects.php:253
|
142 |
-
#: includes/class-mla-options.php:
|
143 |
-
#: includes/class-mla-options.php:
|
144 |
-
#: includes/class-mla-options.php:
|
145 |
-
#: includes/class-mla-
|
146 |
-
#: includes/class-mla-
|
147 |
-
#: includes/class-mla-
|
148 |
-
#: includes/class-mla-
|
149 |
-
#: includes/class-mla-
|
150 |
-
#: includes/class-mla-
|
151 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
152 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
153 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
154 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
155 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
156 |
-
#: includes/class-mla-settings-custom-fields-tab.php:302
|
157 |
-
#: includes/class-mla-settings-custom-fields-tab.php:335
|
158 |
-
#: includes/class-mla-settings-custom-fields-tab.php:419
|
159 |
-
#: includes/class-mla-settings-custom-fields-tab.php:546
|
160 |
-
#: includes/class-mla-settings-custom-fields-tab.php:694
|
161 |
-
#: includes/class-mla-settings-custom-fields-tab.php:904
|
162 |
-
#: includes/class-mla-settings-custom-fields-tab.php:908
|
163 |
#: includes/class-mla-settings-custom-fields-tab.php:932
|
164 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
|
|
165 |
#: includes/class-mla-settings-documentation-tab.php:97
|
166 |
#: includes/class-mla-settings-documentation-tab.php:297
|
167 |
#: includes/class-mla-settings-documentation-tab.php:1269
|
168 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
169 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
170 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
171 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
172 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
173 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
174 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
175 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
176 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
177 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
178 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
179 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
180 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
181 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
182 |
#: includes/class-mla-settings-shortcodes-tab.php:79
|
183 |
#: includes/class-mla-settings-shortcodes-tab.php:90
|
184 |
#: includes/class-mla-settings-shortcodes-tab.php:94
|
@@ -199,23 +193,23 @@ msgstr ""
|
|
199 |
#: includes/class-mla-settings-view-tab.php:275
|
200 |
#: includes/class-mla-settings-view-tab.php:433
|
201 |
#: includes/class-mla-settings-view-tab.php:447
|
202 |
-
#: includes/class-mla-settings.php:
|
203 |
-
#: includes/class-mla-settings.php:
|
204 |
-
#: includes/class-mla-settings.php:
|
205 |
-
#: includes/class-mla-settings.php:
|
206 |
-
#: includes/class-mla-settings.php:
|
207 |
-
#: includes/class-mla-settings.php:
|
208 |
-
#: includes/class-mla-settings.php:
|
209 |
-
#: includes/class-mla-settings.php:
|
210 |
-
#: includes/class-mla-settings.php:
|
211 |
-
#: includes/class-mla-shortcode-support.php:
|
212 |
-
#: includes/class-mla-shortcode-support.php:
|
213 |
-
#: includes/class-mla-shortcode-support.php:
|
214 |
-
#: includes/class-mla-shortcode-support.php:
|
215 |
-
#: includes/class-mla-shortcode-support.php:
|
216 |
-
#: includes/class-mla-shortcode-support.php:
|
217 |
-
#: includes/class-mla-shortcode-support.php:
|
218 |
-
#: includes/class-mla-shortcode-support.php:
|
219 |
#: includes/class-mla-thumbnail-generation.php:416
|
220 |
#: includes/class-mla-thumbnail-generation.php:428
|
221 |
#: includes/class-mla-thumbnail-generation.php:440
|
@@ -223,61 +217,61 @@ msgstr ""
|
|
223 |
msgid "ERROR"
|
224 |
msgstr ""
|
225 |
|
226 |
-
#: includes/class-mla-ajax.php:
|
227 |
msgid "No post ID found"
|
228 |
msgstr ""
|
229 |
|
230 |
-
#: includes/class-mla-ajax.php:
|
231 |
-
#: includes/class-mla-polylang-support.php:
|
232 |
msgid "You are not allowed to edit this Attachment."
|
233 |
msgstr ""
|
234 |
|
235 |
-
#: includes/class-mla-core-options.php:
|
236 |
msgid "Attachment Categories"
|
237 |
msgstr ""
|
238 |
|
239 |
-
#: includes/class-mla-core-options.php:
|
240 |
msgid "Check this option to add support for Attachment Categories."
|
241 |
msgstr ""
|
242 |
|
243 |
-
#: includes/class-mla-core-options.php:
|
244 |
msgid "Attachment Tags"
|
245 |
msgstr ""
|
246 |
|
247 |
-
#: includes/class-mla-core-options.php:
|
248 |
msgid "Check this option to add support for Attachment Tags."
|
249 |
msgstr ""
|
250 |
|
251 |
-
#: includes/class-mla-core-options.php:
|
252 |
msgid "Where-used Reporting"
|
253 |
msgstr ""
|
254 |
|
255 |
-
#: includes/class-mla-core-options.php:
|
256 |
msgid "Exclude Revisions"
|
257 |
msgstr ""
|
258 |
|
259 |
-
#: includes/class-mla-core-options.php:
|
260 |
msgid "Check this option to exclude revisions from where-used reporting."
|
261 |
msgstr ""
|
262 |
|
263 |
-
#: includes/class-mla-core-options.php:
|
264 |
msgid "Where-used database access tuning"
|
265 |
msgstr ""
|
266 |
|
267 |
-
#: includes/class-mla-core-options.php:
|
268 |
-
#: includes/class-mla-edit-media.php:
|
269 |
msgid "Featured in"
|
270 |
msgstr ""
|
271 |
|
272 |
-
#: includes/class-mla-core-options.php:437
|
273 |
#: includes/class-mla-core-options.php:447
|
|
|
274 |
msgid "Enabled"
|
275 |
msgstr ""
|
276 |
|
277 |
-
#: includes/class-mla-core-options.php:437
|
278 |
#: includes/class-mla-core-options.php:447
|
279 |
#: includes/class-mla-core-options.php:457
|
280 |
#: includes/class-mla-core-options.php:467
|
|
|
281 |
#: includes/class-mla-list-table.php:1136
|
282 |
#: includes/class-mla-list-table.php:1181
|
283 |
#: includes/class-mla-list-table.php:1231
|
@@ -285,63 +279,63 @@ msgstr ""
|
|
285 |
msgid "Disabled"
|
286 |
msgstr ""
|
287 |
|
288 |
-
#: includes/class-mla-core-options.php:
|
289 |
msgid "Search database posts and pages for Featured Image attachments."
|
290 |
msgstr ""
|
291 |
|
292 |
-
#: includes/class-mla-core-options.php:
|
293 |
-
#: includes/class-mla-edit-media.php:
|
294 |
msgid "Inserted in"
|
295 |
msgstr ""
|
296 |
|
297 |
-
#: includes/class-mla-core-options.php:
|
298 |
msgid "Base"
|
299 |
msgstr ""
|
300 |
|
301 |
-
#: includes/class-mla-core-options.php:
|
302 |
msgid ""
|
303 |
"Search database posts and pages for attachments embedded in content."
|
304 |
"<br> Base = ignore intermediate size suffixes; use path, base "
|
305 |
"name and extension only."
|
306 |
msgstr ""
|
307 |
|
308 |
-
#: includes/class-mla-core-options.php:
|
309 |
-
#: includes/class-mla-edit-media.php:
|
310 |
-
#: includes/class-mla-settings.php:
|
311 |
msgid "Gallery in"
|
312 |
msgstr ""
|
313 |
|
314 |
-
#: includes/class-mla-core-options.php:457
|
315 |
#: includes/class-mla-core-options.php:467
|
|
|
316 |
msgid "Dynamic"
|
317 |
msgstr ""
|
318 |
|
319 |
-
#: includes/class-mla-core-options.php:
|
320 |
-
#: includes/class-mla-core-options.php:
|
321 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
322 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
323 |
msgid "Refresh"
|
324 |
msgstr ""
|
325 |
|
326 |
-
#: includes/class-mla-core-options.php:457
|
327 |
#: includes/class-mla-core-options.php:467
|
|
|
328 |
msgid "Cached"
|
329 |
msgstr ""
|
330 |
|
331 |
-
#: includes/class-mla-core-options.php:
|
332 |
msgid ""
|
333 |
"Search database posts and pages for [ gallery ] shortcode results.<br> "
|
334 |
" Dynamic = once every page load, Cached = once every login, Disabled = "
|
335 |
"never.<br> Refresh = update references, then set to Cached."
|
336 |
msgstr ""
|
337 |
|
338 |
-
#: includes/class-mla-core-options.php:
|
339 |
-
#: includes/class-mla-edit-media.php:
|
340 |
-
#: includes/class-mla-settings.php:
|
341 |
msgid "MLA Gallery in"
|
342 |
msgstr ""
|
343 |
|
344 |
-
#: includes/class-mla-core-options.php:
|
345 |
msgid ""
|
346 |
"Search database posts and pages for [mla_gallery] shortcode results."
|
347 |
"<br> Dynamic = once every page load, Cached = once every login, "
|
@@ -349,119 +343,119 @@ msgid ""
|
|
349 |
"Cached."
|
350 |
msgstr ""
|
351 |
|
352 |
-
#: includes/class-mla-core-options.php:
|
353 |
msgid "Taxonomy Support"
|
354 |
msgstr ""
|
355 |
|
356 |
-
#: includes/class-mla-core-options.php:
|
357 |
msgid "Compute Attachments Column"
|
358 |
msgstr ""
|
359 |
|
360 |
-
#: includes/class-mla-core-options.php:
|
361 |
msgid ""
|
362 |
"Check this option to calculate attachments per term in the Attachments "
|
363 |
"Column."
|
364 |
msgstr ""
|
365 |
|
366 |
-
#: includes/class-mla-core-options.php:
|
367 |
msgid "Show Count Column"
|
368 |
msgstr ""
|
369 |
|
370 |
-
#: includes/class-mla-core-options.php:
|
371 |
msgid ""
|
372 |
"Check this option to display the Count column on Categories and Tags "
|
373 |
"taxonomy edit screens."
|
374 |
msgstr ""
|
375 |
|
376 |
-
#: includes/class-mla-core-options.php:
|
377 |
msgid ""
|
378 |
"Check the \"<strong>Support</strong>\" box to add the taxonomy to the "
|
379 |
"Assistant and the Edit Media screen."
|
380 |
msgstr ""
|
381 |
|
382 |
-
#: includes/class-mla-core-options.php:
|
383 |
msgid ""
|
384 |
"Check the \"<strong>Inline Edit</strong>\" box to display the taxonomy in "
|
385 |
"the Quick Edit and Bulk Edit areas."
|
386 |
msgstr ""
|
387 |
|
388 |
-
#: includes/class-mla-core-options.php:
|
389 |
msgid ""
|
390 |
"Check the \"<strong>Term Search</strong>\" box to add the taxonomy to the "
|
391 |
"\"Search Media/Terms\" list."
|
392 |
msgstr ""
|
393 |
|
394 |
-
#: includes/class-mla-core-options.php:
|
395 |
-
#: includes/class-mla-core-options.php:
|
396 |
-
#: includes/class-mla-settings.php:
|
397 |
msgid "For complete documentation"
|
398 |
msgstr ""
|
399 |
|
400 |
-
#: includes/class-mla-core-options.php:
|
401 |
-
#: includes/class-mla-core-options.php:
|
402 |
-
#: includes/class-mla-settings.php:
|
403 |
msgid "click here"
|
404 |
msgstr ""
|
405 |
|
406 |
-
#: includes/class-mla-core-options.php:
|
407 |
msgid ""
|
408 |
"Check the \"<strong>Checklist</strong>\" box to enable the checklist-style "
|
409 |
"meta box for a flat taxonomy."
|
410 |
msgstr ""
|
411 |
|
412 |
-
#: includes/class-mla-core-options.php:
|
413 |
msgid ""
|
414 |
"You must also check the <strong>\"Enable enhanced checklist taxonomies\"</"
|
415 |
"strong> box below to enable this feature."
|
416 |
msgstr ""
|
417 |
|
418 |
-
#: includes/class-mla-core-options.php:
|
419 |
msgid ""
|
420 |
"Check the \"<strong>Checked On Top</strong>\" box to moved checked terms to "
|
421 |
"the top of the checklist-style meta box."
|
422 |
msgstr ""
|
423 |
|
424 |
-
#: includes/class-mla-core-options.php:
|
425 |
msgid ""
|
426 |
"Use the \"<strong>List Filter</strong>\" option to select the taxonomy (or "
|
427 |
"custom field) on which to filter the Assistant table listing."
|
428 |
msgstr ""
|
429 |
|
430 |
-
#: includes/class-mla-core-options.php:
|
431 |
msgid ""
|
432 |
"To <strong>filter on a custom field</strong>, enter the field name and "
|
433 |
"select ASC (Ascending) or DESC (Descending) order."
|
434 |
msgstr ""
|
435 |
|
436 |
-
#: includes/class-mla-core-options.php:
|
437 |
msgid "Media/Assistant Screen Options"
|
438 |
msgstr ""
|
439 |
|
440 |
-
#: includes/class-mla-core-options.php:
|
441 |
msgid "Admin Menu Options"
|
442 |
msgstr ""
|
443 |
|
444 |
-
#: includes/class-mla-core-options.php:
|
445 |
msgid "Page Title"
|
446 |
msgstr ""
|
447 |
|
448 |
-
#: includes/class-mla-core-options.php:
|
449 |
msgid "Enter the title for the Media/Assistant submenu page"
|
450 |
msgstr ""
|
451 |
|
452 |
-
#: includes/class-mla-core-options.php:
|
453 |
msgid "Menu Title"
|
454 |
msgstr ""
|
455 |
|
456 |
-
#: includes/class-mla-core-options.php:
|
457 |
msgid "Enter the title for the Media/Assistant submenu entry"
|
458 |
msgstr ""
|
459 |
|
460 |
-
#: includes/class-mla-core-options.php:
|
461 |
msgid "Submenu Order"
|
462 |
msgstr ""
|
463 |
|
464 |
-
#: includes/class-mla-core-options.php:
|
465 |
msgid ""
|
466 |
"Enter the position of the Media/Assistant submenu entry.<br> 0 = "
|
467 |
"natural order (at bottom), 1 - 4 = at top<br> "
|
@@ -469,305 +463,305 @@ msgid ""
|
|
469 |
"\""
|
470 |
msgstr ""
|
471 |
|
472 |
-
#: includes/class-mla-core-options.php:
|
473 |
msgid "Display Media/Library"
|
474 |
msgstr ""
|
475 |
|
476 |
-
#: includes/class-mla-core-options.php:
|
477 |
msgid ""
|
478 |
"Check/uncheck this option to display/remove the WordPress Media/Library "
|
479 |
"submenu entry."
|
480 |
msgstr ""
|
481 |
|
482 |
-
#: includes/class-mla-core-options.php:
|
483 |
msgid "Display Media/Assistant list/grid view switcher"
|
484 |
msgstr ""
|
485 |
|
486 |
-
#: includes/class-mla-core-options.php:
|
487 |
msgid ""
|
488 |
"Check/uncheck this option to display/remove the \"list/grid\" view switcher "
|
489 |
"on the Media/Assistant submenu."
|
490 |
msgstr ""
|
491 |
|
492 |
-
#: includes/class-mla-core-options.php:
|
493 |
msgid "Table Defaults"
|
494 |
msgstr ""
|
495 |
|
496 |
-
#: includes/class-mla-core-options.php:
|
497 |
msgid "Order By"
|
498 |
msgstr ""
|
499 |
|
500 |
-
#: includes/class-mla-core-options.php:
|
501 |
-
#: includes/class-mla-core-options.php:
|
502 |
-
#: includes/class-mla-core-options.php:
|
503 |
-
#: includes/class-mla-core-options.php:
|
504 |
#: includes/class-mla-list-table.php:486 includes/class-mla-list-table.php:1389
|
505 |
#: includes/class-mla-settings-shortcodes-tab.php:629
|
506 |
msgid "None"
|
507 |
msgstr ""
|
508 |
|
509 |
-
#: includes/class-mla-core-options.php:
|
510 |
msgid "ID/Parent"
|
511 |
msgstr ""
|
512 |
|
513 |
-
#: includes/class-mla-core-options.php:
|
514 |
msgid "Select the column for the sort order of the Assistant table listing."
|
515 |
msgstr ""
|
516 |
|
517 |
-
#: includes/class-mla-core-options.php:
|
518 |
msgid "Order"
|
519 |
msgstr ""
|
520 |
|
521 |
-
#: includes/class-mla-core-options.php:
|
522 |
msgid "Ascending"
|
523 |
msgstr ""
|
524 |
|
525 |
-
#: includes/class-mla-core-options.php:
|
526 |
msgid "Descending"
|
527 |
msgstr ""
|
528 |
|
529 |
-
#: includes/class-mla-core-options.php:
|
530 |
-
#: includes/class-mla-core-options.php:
|
531 |
msgid "Choose the sort order."
|
532 |
msgstr ""
|
533 |
|
534 |
-
#: includes/class-mla-core-options.php:
|
535 |
msgid "Views Width"
|
536 |
msgstr ""
|
537 |
|
538 |
-
#: includes/class-mla-core-options.php:
|
539 |
msgid "Enter the width for the views list, in pixels (px) or percent (%)"
|
540 |
msgstr ""
|
541 |
|
542 |
-
#: includes/class-mla-core-options.php:
|
543 |
msgid "Icon Size"
|
544 |
msgstr ""
|
545 |
|
546 |
-
#: includes/class-mla-core-options.php:
|
547 |
msgid "Enter the size of the thumbnail/icon images, in pixels"
|
548 |
msgstr ""
|
549 |
|
550 |
-
#: includes/class-mla-core-options.php:
|
551 |
msgid "Show Primary Column File Name"
|
552 |
msgstr ""
|
553 |
|
554 |
-
#: includes/class-mla-core-options.php:
|
555 |
msgid ""
|
556 |
"Check/uncheck this option to show/omit the file name from the primary column."
|
557 |
msgstr ""
|
558 |
|
559 |
-
#: includes/class-mla-core-options.php:
|
560 |
msgid "QuickTags editor for bulk description"
|
561 |
msgstr ""
|
562 |
|
563 |
-
#: includes/class-mla-core-options.php:
|
564 |
msgid ""
|
565 |
"Check this option to use the QuickTags editor for the Description field in "
|
566 |
"the Bulk Edit area."
|
567 |
msgstr ""
|
568 |
|
569 |
-
#: includes/class-mla-core-options.php:
|
570 |
msgid "Bulk Chunk Size"
|
571 |
msgstr ""
|
572 |
|
573 |
-
#: includes/class-mla-core-options.php:
|
574 |
msgid "Enter the size of the Bulk Edit and Map All processing chunks"
|
575 |
msgstr ""
|
576 |
|
577 |
-
#: includes/class-mla-core-options.php:
|
578 |
msgid "Taxonomy Filter parameters"
|
579 |
msgstr ""
|
580 |
|
581 |
-
#: includes/class-mla-core-options.php:
|
582 |
msgid "Maximum Depth"
|
583 |
msgstr ""
|
584 |
|
585 |
-
#: includes/class-mla-core-options.php:
|
586 |
msgid ""
|
587 |
"Enter the number of levels displayed for hierarchial taxonomies; enter zero "
|
588 |
"for no limit."
|
589 |
msgstr ""
|
590 |
|
591 |
-
#: includes/class-mla-core-options.php:
|
592 |
msgid "Include Children"
|
593 |
msgstr ""
|
594 |
|
595 |
-
#: includes/class-mla-core-options.php:
|
596 |
msgid ""
|
597 |
"Check/uncheck this option to include/exclude children for hierarchical "
|
598 |
"taxonomies."
|
599 |
msgstr ""
|
600 |
|
601 |
-
#: includes/class-mla-core-options.php:
|
602 |
msgid "Search Media Defaults"
|
603 |
msgstr ""
|
604 |
|
605 |
-
#: includes/class-mla-core-options.php:
|
606 |
msgid "Display Search Controls"
|
607 |
msgstr ""
|
608 |
|
609 |
-
#: includes/class-mla-core-options.php:
|
610 |
-
#: includes/class-mla-core-options.php:
|
611 |
msgid ""
|
612 |
"Check/uncheck this option to display/hide the and/or connector and search "
|
613 |
"fields controls."
|
614 |
msgstr ""
|
615 |
|
616 |
-
#: includes/class-mla-core-options.php:
|
617 |
msgid ""
|
618 |
"Use these controls to set defaults for the and/or connector and search "
|
619 |
"fields controls.<br>These defaults will be used for the Search Media boxes "
|
620 |
"on both the Media/Assistant submenu<br>and the Media Manager Modal Window."
|
621 |
msgstr ""
|
622 |
|
623 |
-
#: includes/class-mla-core-options.php:
|
624 |
msgid "Media/Edit Media Enhancements"
|
625 |
msgstr ""
|
626 |
|
627 |
-
#: includes/class-mla-core-options.php:
|
628 |
msgid "Enable "enhanced checklist" taxonomies"
|
629 |
msgstr ""
|
630 |
|
631 |
-
#: includes/class-mla-core-options.php:
|
632 |
msgid ""
|
633 |
"Check this option to enable the \"? Search\" feature for hierarchical "
|
634 |
"taxonomies, e.g., Att. Categories.<br> This option also enables "
|
635 |
"the \"checklist-style\" support for flat taxonomies, e.g., Att. Tags."
|
636 |
msgstr ""
|
637 |
|
638 |
-
#: includes/class-mla-core-options.php:
|
639 |
msgid "Enable Edit Media additional meta boxes"
|
640 |
msgstr ""
|
641 |
|
642 |
-
#: includes/class-mla-core-options.php:
|
643 |
msgid ""
|
644 |
"Check this option to add \"Parent Info\", \"Menu Order\", \"Attachment "
|
645 |
"Metadata\" and four \"where-used\" meta boxes to the Edit Media screen."
|
646 |
msgstr ""
|
647 |
|
648 |
-
#: includes/class-mla-core-options.php:
|
649 |
msgid "You can also use Filters to customize the meta boxes."
|
650 |
msgstr ""
|
651 |
|
652 |
-
#: includes/class-mla-core-options.php:
|
653 |
msgid "Media/Add New Enhancements"
|
654 |
msgstr ""
|
655 |
|
656 |
-
#: includes/class-mla-core-options.php:
|
657 |
msgid "Enable "bulk edit" area"
|
658 |
msgstr ""
|
659 |
|
660 |
-
#: includes/class-mla-core-options.php:
|
661 |
msgid ""
|
662 |
"Check this option to enable the \"Bulk Edit area\" feature on the Media/Add "
|
663 |
"New screen."
|
664 |
msgstr ""
|
665 |
|
666 |
-
#: includes/class-mla-core-options.php:
|
667 |
msgid ""bulk edit" area on top"
|
668 |
msgstr ""
|
669 |
|
670 |
-
#: includes/class-mla-core-options.php:
|
671 |
msgid ""
|
672 |
"Check this option to move the \"Bulk Edit area\" to the top of the Media/Add "
|
673 |
"New screen."
|
674 |
msgstr ""
|
675 |
|
676 |
-
#: includes/class-mla-core-options.php:
|
677 |
msgid ""bulk edit" area initially open"
|
678 |
msgstr ""
|
679 |
|
680 |
-
#: includes/class-mla-core-options.php:
|
681 |
msgid ""
|
682 |
"Check this option to automatically open the \"Bulk Edit area\" when the "
|
683 |
"Media/Add New screen is displayed."
|
684 |
msgstr ""
|
685 |
|
686 |
-
#: includes/class-mla-core-options.php:
|
687 |
msgid "Media Manager/Media Grid Enhancements"
|
688 |
msgstr ""
|
689 |
|
690 |
-
#: includes/class-mla-core-options.php:
|
691 |
msgid "Enable Media Grid Enhancements"
|
692 |
msgstr ""
|
693 |
|
694 |
-
#: includes/class-mla-core-options.php:
|
695 |
msgid ""
|
696 |
"Check/uncheck this option to enable/disable Media Library Grid View "
|
697 |
"Enhancements."
|
698 |
msgstr ""
|
699 |
|
700 |
-
#: includes/class-mla-core-options.php:
|
701 |
msgid "Enable Media Manager Enhancements"
|
702 |
msgstr ""
|
703 |
|
704 |
-
#: includes/class-mla-core-options.php:
|
705 |
msgid ""
|
706 |
"Check/uncheck this option to enable/disable Media Manager Modal Window "
|
707 |
"Enhancements."
|
708 |
msgstr ""
|
709 |
|
710 |
-
#: includes/class-mla-core-options.php:
|
711 |
msgid "Media Manager Enhanced MIME Type filter"
|
712 |
msgstr ""
|
713 |
|
714 |
-
#: includes/class-mla-core-options.php:
|
715 |
msgid ""
|
716 |
"Check this option to filter by more MIME Types, e.g., text, applications."
|
717 |
msgstr ""
|
718 |
|
719 |
-
#: includes/class-mla-core-options.php:
|
720 |
msgid "Media Manager Month and Year filter"
|
721 |
msgstr ""
|
722 |
|
723 |
-
#: includes/class-mla-core-options.php:
|
724 |
msgid "Check this option to filter by month and year uploaded."
|
725 |
msgstr ""
|
726 |
|
727 |
-
#: includes/class-mla-core-options.php:
|
728 |
msgid "Media Manager Category/Tag filter"
|
729 |
msgstr ""
|
730 |
|
731 |
-
#: includes/class-mla-core-options.php:
|
732 |
msgid "Check this option to filter by taxonomy terms."
|
733 |
msgstr ""
|
734 |
|
735 |
-
#: includes/class-mla-core-options.php:
|
736 |
msgid "Media Manager Terms Search popup"
|
737 |
msgstr ""
|
738 |
|
739 |
-
#: includes/class-mla-core-options.php:
|
740 |
msgid "Check this option to enable the \"Terms Search\" popup window."
|
741 |
msgstr ""
|
742 |
|
743 |
-
#: includes/class-mla-core-options.php:
|
744 |
msgid "Media Manager Enhanced Search Media box"
|
745 |
msgstr ""
|
746 |
|
747 |
-
#: includes/class-mla-core-options.php:
|
748 |
msgid "Check this option to enable search box enhancements."
|
749 |
msgstr ""
|
750 |
|
751 |
-
#: includes/class-mla-core-options.php:
|
752 |
msgid "Media Manager Enhanced Search Media Controls"
|
753 |
msgstr ""
|
754 |
|
755 |
-
#: includes/class-mla-core-options.php:
|
756 |
msgid "Media Manager Checklist meta boxes"
|
757 |
msgstr ""
|
758 |
|
759 |
-
#: includes/class-mla-core-options.php:
|
760 |
msgid ""
|
761 |
"Check this option to enable MLA-enhanced meta boxes in the \"ATTACHMENT "
|
762 |
"DETAILS\" pane.<br> This option is for any taxonomy that uses a "
|
763 |
"<strong>\"checklist-style\"</strong> meta box."
|
764 |
msgstr ""
|
765 |
|
766 |
-
#: includes/class-mla-core-options.php:
|
767 |
msgid "Media Manager Flat meta boxes"
|
768 |
msgstr ""
|
769 |
|
770 |
-
#: includes/class-mla-core-options.php:
|
771 |
msgid ""
|
772 |
"Check this option to enable MLA-enhanced meta boxes in the \"ATTACHMENT "
|
773 |
"DETAILS\" pane.<br> This option is for <strong>flat taxonomies</"
|
@@ -775,211 +769,211 @@ msgid ""
|
|
775 |
"style\" meta box."
|
776 |
msgstr ""
|
777 |
|
778 |
-
#: includes/class-mla-core-options.php:
|
779 |
msgid "Media Manager auto-fill meta boxes"
|
780 |
msgstr ""
|
781 |
|
782 |
-
#: includes/class-mla-core-options.php:
|
783 |
msgid ""
|
784 |
"Check this option to automatically fill MLA-enhanced meta boxes in the "
|
785 |
"\"ATTACHMENT DETAILS\" pane<br> when the item is selected."
|
786 |
msgstr ""
|
787 |
|
788 |
-
#: includes/class-mla-core-options.php:
|
789 |
msgid "Media Manager Order By"
|
790 |
msgstr ""
|
791 |
|
792 |
-
#: includes/class-mla-core-options.php:
|
793 |
-
#: includes/class-mla-core-options.php:
|
794 |
-
#: includes/class-mla-core-options.php:
|
795 |
-
#: includes/class-mla-core-options.php:
|
796 |
-
#: includes/class-mla-core-options.php:
|
797 |
msgid "Media Manager Default"
|
798 |
msgstr ""
|
799 |
|
800 |
-
#: includes/class-mla-core-options.php:
|
801 |
msgid "Title/Name"
|
802 |
msgstr ""
|
803 |
|
804 |
-
#: includes/class-mla-core-options.php:
|
805 |
msgid ""
|
806 |
"If you want to override the Media Manager default,<br> select a "
|
807 |
"column for the sort order of the Media Library listing."
|
808 |
msgstr ""
|
809 |
|
810 |
-
#: includes/class-mla-core-options.php:
|
811 |
msgid "Media Manager Order"
|
812 |
msgstr ""
|
813 |
|
814 |
-
#: includes/class-mla-core-options.php:
|
815 |
msgid "Attachment Display Settings"
|
816 |
msgstr ""
|
817 |
|
818 |
-
#: includes/class-mla-core-options.php:
|
819 |
msgid "Media Manager Apply Display Settings"
|
820 |
msgstr ""
|
821 |
|
822 |
-
#: includes/class-mla-core-options.php:
|
823 |
msgid ""
|
824 |
"Check this option to always start with the Attachment Display Settings set "
|
825 |
"here,<br> overriding browser-/cookie-based defaults."
|
826 |
msgstr ""
|
827 |
|
828 |
-
#: includes/class-mla-core-options.php:
|
829 |
-
#: includes/class-mla-core-options.php:
|
830 |
msgid "Alignment"
|
831 |
msgstr ""
|
832 |
|
833 |
-
#: includes/class-mla-core-options.php:
|
834 |
-
#: includes/class-mla-core-options.php:
|
835 |
-
#: includes/class-mla-core-options.php:
|
836 |
#, php-format
|
837 |
msgid ""
|
838 |
"Select a value for the default %1$s option in the Attachment Display "
|
839 |
"Settings."
|
840 |
msgstr ""
|
841 |
|
842 |
-
#: includes/class-mla-core-options.php:
|
843 |
msgid "Left"
|
844 |
msgstr ""
|
845 |
|
846 |
-
#: includes/class-mla-core-options.php:
|
847 |
msgid "Center"
|
848 |
msgstr ""
|
849 |
|
850 |
-
#: includes/class-mla-core-options.php:
|
851 |
msgid "Right"
|
852 |
msgstr ""
|
853 |
|
854 |
-
#: includes/class-mla-core-options.php:
|
855 |
-
#: includes/class-mla-core-options.php:
|
856 |
msgid "Link To"
|
857 |
msgstr ""
|
858 |
|
859 |
-
#: includes/class-mla-core-options.php:
|
860 |
msgid "Media File"
|
861 |
msgstr ""
|
862 |
|
863 |
-
#: includes/class-mla-core-options.php:
|
864 |
msgid "Attachment Page"
|
865 |
msgstr ""
|
866 |
|
867 |
-
#: includes/class-mla-core-options.php:
|
868 |
msgid "Custom URL"
|
869 |
msgstr ""
|
870 |
|
871 |
-
#: includes/class-mla-core-options.php:
|
872 |
-
#: includes/class-mla-core-options.php:
|
873 |
msgid "Size"
|
874 |
msgstr ""
|
875 |
|
876 |
-
#: includes/class-mla-core-options.php:
|
877 |
#: includes/class-mla-thumbnail-generation.php:570
|
878 |
#: includes/class-mla-thumbnail-generation.php:636
|
879 |
msgid "Thumbnail"
|
880 |
msgstr ""
|
881 |
|
882 |
-
#: includes/class-mla-core-options.php:
|
883 |
msgid "Medium"
|
884 |
msgstr ""
|
885 |
|
886 |
-
#: includes/class-mla-core-options.php:
|
887 |
msgid "Large"
|
888 |
msgstr ""
|
889 |
|
890 |
-
#: includes/class-mla-core-options.php:
|
891 |
msgid "Full Size"
|
892 |
msgstr ""
|
893 |
|
894 |
-
#: includes/class-mla-core-options.php:
|
895 |
msgid "Uninstall (Delete) Plugin Settings"
|
896 |
msgstr ""
|
897 |
|
898 |
-
#: includes/class-mla-core-options.php:
|
899 |
msgid "Delete Option Settings"
|
900 |
msgstr ""
|
901 |
|
902 |
-
#: includes/class-mla-core-options.php:
|
903 |
msgid ""
|
904 |
"Check this option to remove all MLA option settings from the database when "
|
905 |
"the plugin is deleted.<br> <strong>You can make a backup copy</"
|
906 |
"strong> of your settings below by clicking \""
|
907 |
msgstr ""
|
908 |
|
909 |
-
#: includes/class-mla-core-options.php:
|
910 |
msgid "Export ALL Settings"
|
911 |
msgstr ""
|
912 |
|
913 |
-
#: includes/class-mla-core-options.php:
|
914 |
msgid "Delete Option Settings Backups"
|
915 |
msgstr ""
|
916 |
|
917 |
-
#: includes/class-mla-core-options.php:
|
918 |
msgid ""
|
919 |
"Check this option to remove the <code>/wp-content/mla-backup</code> "
|
920 |
"directory and its contents when the plugin is deleted."
|
921 |
msgstr ""
|
922 |
|
923 |
-
#: includes/class-mla-core-options.php:
|
924 |
msgid "Default [mla_gallery] Templates and Settings"
|
925 |
msgstr ""
|
926 |
|
927 |
-
#: includes/class-mla-core-options.php:
|
928 |
-
#: includes/class-mla-core-options.php:
|
929 |
-
#: includes/class-mla-core-options.php:
|
930 |
-
#: includes/class-mla-core-options.php:
|
931 |
msgid "Style Template"
|
932 |
msgstr ""
|
933 |
|
934 |
-
#: includes/class-mla-core-options.php:935
|
935 |
#: includes/class-mla-core-options.php:945
|
936 |
-
#: includes/class-mla-core-options.php:
|
937 |
#: includes/class-mla-core-options.php:989
|
|
|
938 |
#, php-format
|
939 |
msgid "Select the default %1$s for your %2$s shortcodes."
|
940 |
msgstr ""
|
941 |
|
942 |
-
#: includes/class-mla-core-options.php:
|
943 |
-
#: includes/class-mla-core-options.php:
|
944 |
msgid "Markup Template"
|
945 |
msgstr ""
|
946 |
|
947 |
-
#: includes/class-mla-core-options.php:
|
948 |
-
#: includes/class-mla-core-options.php:
|
949 |
#: includes/class-mla-settings-shortcodes-tab.php:85
|
950 |
msgid "markup template"
|
951 |
msgstr ""
|
952 |
|
953 |
-
#: includes/class-mla-core-options.php:
|
954 |
-
#: includes/class-mla-core-options.php:
|
955 |
msgid "Default columns"
|
956 |
msgstr ""
|
957 |
|
958 |
-
#: includes/class-mla-core-options.php:
|
959 |
msgid ""
|
960 |
"Enter the number of [mla_tag_cloud] columns; must be a positive integer."
|
961 |
msgstr ""
|
962 |
|
963 |
-
#: includes/class-mla-core-options.php:
|
964 |
-
#: includes/class-mla-core-options.php:
|
965 |
msgid "Default mla_margin"
|
966 |
msgstr ""
|
967 |
|
968 |
-
#: includes/class-mla-core-options.php:
|
969 |
-
#: includes/class-mla-core-options.php:
|
970 |
msgid ""
|
971 |
"Enter the CSS \"margin\" property value, in length (px, em, pt, etc.), "
|
972 |
"percent (%), \"auto\" or \"inherit\".<br> Enter \"none\" to "
|
973 |
"remove the property entirely."
|
974 |
msgstr ""
|
975 |
|
976 |
-
#: includes/class-mla-core-options.php:
|
977 |
-
#: includes/class-mla-core-options.php:
|
978 |
msgid "Default mla_itemwidth"
|
979 |
msgstr ""
|
980 |
|
981 |
-
#: includes/class-mla-core-options.php:
|
982 |
-
#: includes/class-mla-core-options.php:
|
983 |
msgid ""
|
984 |
"Enter the CSS \"width\" property value, in length (px, em, pt, etc.), "
|
985 |
"percent (%), \"auto\" or \"inherit\".<br> Enter \"calculate"
|
@@ -989,19 +983,19 @@ msgid ""
|
|
989 |
"the property entirely."
|
990 |
msgstr ""
|
991 |
|
992 |
-
#: includes/class-mla-core-options.php:
|
993 |
msgid "Enter the number of [mla_gallery] columns; must be a positive integer."
|
994 |
msgstr ""
|
995 |
|
996 |
-
#: includes/class-mla-core-options.php:
|
997 |
msgid "Thumbnail Substitution Support, mla_viewer"
|
998 |
msgstr ""
|
999 |
|
1000 |
-
#: includes/class-mla-core-options.php:
|
1001 |
msgid "Enable thumbnail substitution"
|
1002 |
msgstr ""
|
1003 |
|
1004 |
-
#: includes/class-mla-core-options.php:
|
1005 |
msgid ""
|
1006 |
"Check this option to allow the \"mla_viewer\" to generate thumbnail images "
|
1007 |
"for PDF documents. Thumbnails are generated dynamically, each time the item "
|
@@ -1010,32 +1004,32 @@ msgid ""
|
|
1010 |
"strong>"
|
1011 |
msgstr ""
|
1012 |
|
1013 |
-
#: includes/class-mla-core-options.php:
|
1014 |
msgid "Enable Featured Images"
|
1015 |
msgstr ""
|
1016 |
|
1017 |
-
#: includes/class-mla-core-options.php:
|
1018 |
msgid ""
|
1019 |
"Check this option to extend Featured Image support to all Media Library "
|
1020 |
"items. The Featured Image can be used as a thumbnail image for the item in "
|
1021 |
"an [mla_gallery] display."
|
1022 |
msgstr ""
|
1023 |
|
1024 |
-
#: includes/class-mla-core-options.php:
|
1025 |
msgid "Enable Featured Image Generation"
|
1026 |
msgstr ""
|
1027 |
|
1028 |
-
#: includes/class-mla-core-options.php:
|
1029 |
msgid ""
|
1030 |
"Check this option to enable the \"Thumbnail\" generation action in the Media/"
|
1031 |
"Assistant submenu Bulk Actions dropdown."
|
1032 |
msgstr ""
|
1033 |
|
1034 |
-
#: includes/class-mla-core-options.php:
|
1035 |
msgid "Enable explicit Ghostscript check"
|
1036 |
msgstr ""
|
1037 |
|
1038 |
-
#: includes/class-mla-core-options.php:
|
1039 |
msgid ""
|
1040 |
"Check this option to enable the explicit check for Ghostscript support "
|
1041 |
"required for thumbnail generation. If your Ghostscript software is in a non-"
|
@@ -1044,31 +1038,37 @@ msgid ""
|
|
1044 |
"leave this option checked unless you know it is safe to turn it off."
|
1045 |
msgstr ""
|
1046 |
|
1047 |
-
#: includes/class-mla-core-options.php:
|
1048 |
msgid "Ghostscript path"
|
1049 |
msgstr ""
|
1050 |
|
1051 |
-
#: includes/class-mla-core-options.php:
|
1052 |
msgid ""
|
1053 |
"If your “gs” executable is in a non-standard location, enter the "
|
1054 |
"full path and filename here, e.g., “/usr/bin/gs”. It will "
|
1055 |
"override the search for Ghostscript in other places."
|
1056 |
msgstr ""
|
1057 |
|
1058 |
-
#: includes/class-mla-core-options.php:
|
1059 |
-
msgid "Enable custom field mapping
|
1060 |
msgstr ""
|
1061 |
|
1062 |
-
#: includes/class-mla-core-options.php:
|
1063 |
-
#: includes/class-mla-core-options.php:
|
|
|
|
|
1064 |
msgid "See Help menu."
|
1065 |
msgstr ""
|
1066 |
|
1067 |
-
#: includes/class-mla-core-options.php:
|
|
|
|
|
|
|
|
|
1068 |
msgid "Enable custom field mapping when updating media metadata"
|
1069 |
msgstr ""
|
1070 |
|
1071 |
-
#: includes/class-mla-core-options.php:
|
1072 |
msgid ""
|
1073 |
"Update the custom field mapping values above, then click Save Changes to "
|
1074 |
"make the updates permanent.<br>You can also make temporary updates and click "
|
@@ -1076,29 +1076,33 @@ msgid ""
|
|
1076 |
"saving any rule changes."
|
1077 |
msgstr ""
|
1078 |
|
1079 |
-
#: includes/class-mla-core-options.php:
|
|
|
|
|
|
|
|
|
1080 |
msgid "Enable IPTC/EXIF Mapping when adding new media"
|
1081 |
msgstr ""
|
1082 |
|
1083 |
-
#: includes/class-mla-core-options.php:
|
1084 |
msgid ""
|
1085 |
"Check this option to enable mapping when uploading new media (attachments)."
|
1086 |
"<br> Does NOT affect the operation of the \"Map\" buttons on the "
|
1087 |
"bulk edit, single edit and settings screens."
|
1088 |
msgstr ""
|
1089 |
|
1090 |
-
#: includes/class-mla-core-options.php:
|
1091 |
msgid "Enable IPTC/EXIF Mapping when updating media metadata"
|
1092 |
msgstr ""
|
1093 |
|
1094 |
-
#: includes/class-mla-core-options.php:
|
1095 |
msgid ""
|
1096 |
"Check this option to enable mapping when media (attachments) metadata is "
|
1097 |
"regenerated,<br> e.g., when the Media/Edit Media \"Edit Image\" "
|
1098 |
"functions are used."
|
1099 |
msgstr ""
|
1100 |
|
1101 |
-
#: includes/class-mla-core-options.php:
|
1102 |
msgid ""
|
1103 |
"Update the standard field mapping values above, then click <strong>Save "
|
1104 |
"Changes</strong> to make the updates permanent.<br>You can also make "
|
@@ -1107,13 +1111,13 @@ msgid ""
|
|
1107 |
"changes."
|
1108 |
msgstr ""
|
1109 |
|
1110 |
-
#: includes/class-mla-core-options.php:
|
1111 |
msgid ""
|
1112 |
"Update the taxonomy term mapping values above, then click <strong>Save "
|
1113 |
"Changes</strong> or <strong>Map All Attachments, Taxonomy Terms Now</strong>."
|
1114 |
msgstr ""
|
1115 |
|
1116 |
-
#: includes/class-mla-core-options.php:
|
1117 |
msgid ""
|
1118 |
"<strong>Update</strong> individual custom field mapping values above, or "
|
1119 |
"make several updates and click <strong>Save Changes</strong> below to apply "
|
@@ -1124,34 +1128,34 @@ msgid ""
|
|
1124 |
"changes."
|
1125 |
msgstr ""
|
1126 |
|
1127 |
-
#: includes/class-mla-core-options.php:
|
1128 |
msgid "IPTC/EXIF Mapping help"
|
1129 |
msgstr ""
|
1130 |
|
1131 |
-
#: includes/class-mla-core-options.php:
|
1132 |
-
#: includes/class-mla-edit-media.php:427 includes/class-mla-main.php:
|
1133 |
msgid "Name/Slug"
|
1134 |
msgstr ""
|
1135 |
|
1136 |
-
#: includes/class-mla-core-options.php:
|
1137 |
#: includes/class-mla-edit-media.php:430 includes/class-mla-list-table.php:1331
|
1138 |
-
#: includes/class-mla-main.php:
|
1139 |
#: includes/mla-main-search-box-template.php:51
|
1140 |
#: includes/mla-media-modal-js-template.php:48
|
1141 |
msgid "ALT Text"
|
1142 |
msgstr ""
|
1143 |
|
1144 |
-
#: includes/class-mla-core-options.php:
|
1145 |
-
#: includes/class-mla-edit-media.php:428 includes/class-mla-main.php:
|
1146 |
-
#: includes/class-mla-options.php:
|
1147 |
#: includes/mla-main-search-box-template.php:53
|
1148 |
#: includes/mla-media-modal-js-template.php:53
|
1149 |
msgid "Caption"
|
1150 |
msgstr ""
|
1151 |
|
1152 |
-
#: includes/class-mla-core-options.php:
|
1153 |
-
#: includes/class-mla-edit-media.php:429 includes/class-mla-main.php:
|
1154 |
-
#: includes/class-mla-options.php:
|
1155 |
#: includes/class-mla-settings-upload-tab.php:174
|
1156 |
#: includes/class-mla-settings-upload-tab.php:542
|
1157 |
#: includes/class-mla-settings-view-tab.php:132
|
@@ -1167,266 +1171,266 @@ msgstr ""
|
|
1167 |
msgid "Description"
|
1168 |
msgstr ""
|
1169 |
|
1170 |
-
#: includes/class-mla-core-options.php:
|
1171 |
msgid "Enable View and Post MIME Type Support"
|
1172 |
msgstr ""
|
1173 |
|
1174 |
-
#: includes/class-mla-core-options.php:
|
1175 |
msgid ""
|
1176 |
"Check/uncheck this option to enable/disable Post MIME Type Support, then "
|
1177 |
"click <strong>Save Changes</strong> to record the new setting."
|
1178 |
msgstr ""
|
1179 |
|
1180 |
-
#: includes/class-mla-core-options.php:
|
1181 |
msgid "Post MIME Types help."
|
1182 |
msgstr ""
|
1183 |
|
1184 |
-
#: includes/class-mla-core-options.php:
|
1185 |
#: includes/class-mla-mime-types.php:1630
|
1186 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
1187 |
#: includes/class-mla-settings-documentation-tab.php:1544
|
1188 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
1189 |
#: includes/class-mla-settings-shortcodes-tab.php:1970
|
1190 |
msgctxt "table_view_singular"
|
1191 |
msgid "All"
|
1192 |
msgstr ""
|
1193 |
|
1194 |
-
#: includes/class-mla-core-options.php:
|
1195 |
#: includes/class-mla-mime-types.php:1631
|
1196 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
1197 |
#: includes/class-mla-settings-documentation-tab.php:1545
|
1198 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
1199 |
#: includes/class-mla-settings-shortcodes-tab.php:1971
|
1200 |
msgctxt "table_view_plural"
|
1201 |
msgid "All"
|
1202 |
msgstr ""
|
1203 |
|
1204 |
-
#: includes/class-mla-core-options.php:
|
1205 |
-
#: includes/class-mla-core-options.php:
|
1206 |
-
#: includes/class-mla-core-options.php:
|
1207 |
-
#: includes/class-mla-core-options.php:
|
1208 |
msgctxt "post_mime_types_description"
|
1209 |
msgid "Built-in view"
|
1210 |
msgstr ""
|
1211 |
|
1212 |
-
#: includes/class-mla-core-options.php:
|
1213 |
msgctxt "table_view_singular"
|
1214 |
msgid "Image"
|
1215 |
msgstr ""
|
1216 |
|
1217 |
-
#: includes/class-mla-core-options.php:
|
1218 |
msgctxt "table_view_plural"
|
1219 |
msgid "Images"
|
1220 |
msgstr ""
|
1221 |
|
1222 |
-
#: includes/class-mla-core-options.php:
|
1223 |
msgctxt "post_mime_types_description"
|
1224 |
msgid "All image subtypes"
|
1225 |
msgstr ""
|
1226 |
|
1227 |
-
#: includes/class-mla-core-options.php:
|
1228 |
msgctxt "table_view_singular"
|
1229 |
msgid "Audio"
|
1230 |
msgstr ""
|
1231 |
|
1232 |
-
#: includes/class-mla-core-options.php:
|
1233 |
msgctxt "table_view_plural"
|
1234 |
msgid "Audio"
|
1235 |
msgstr ""
|
1236 |
|
1237 |
-
#: includes/class-mla-core-options.php:
|
1238 |
msgctxt "post_mime_types_description"
|
1239 |
msgid "All audio subtypes"
|
1240 |
msgstr ""
|
1241 |
|
1242 |
-
#: includes/class-mla-core-options.php:
|
1243 |
msgctxt "table_view_singular"
|
1244 |
msgid "Video"
|
1245 |
msgstr ""
|
1246 |
|
1247 |
-
#: includes/class-mla-core-options.php:
|
1248 |
msgctxt "table_view_plural"
|
1249 |
msgid "Video"
|
1250 |
msgstr ""
|
1251 |
|
1252 |
-
#: includes/class-mla-core-options.php:
|
1253 |
msgctxt "post_mime_types_description"
|
1254 |
msgid "All video subtypes"
|
1255 |
msgstr ""
|
1256 |
|
1257 |
-
#: includes/class-mla-core-options.php:
|
1258 |
msgctxt "table_view_singular"
|
1259 |
msgid "Text"
|
1260 |
msgstr ""
|
1261 |
|
1262 |
-
#: includes/class-mla-core-options.php:
|
1263 |
msgctxt "table_view_plural"
|
1264 |
msgid "Text"
|
1265 |
msgstr ""
|
1266 |
|
1267 |
-
#: includes/class-mla-core-options.php:
|
1268 |
msgctxt "post_mime_types_description"
|
1269 |
msgid "All text subtypes"
|
1270 |
msgstr ""
|
1271 |
|
1272 |
-
#: includes/class-mla-core-options.php:
|
1273 |
msgctxt "table_view_singular"
|
1274 |
msgid "Application"
|
1275 |
msgstr ""
|
1276 |
|
1277 |
-
#: includes/class-mla-core-options.php:
|
1278 |
msgctxt "table_view_plural"
|
1279 |
msgid "Applications"
|
1280 |
msgstr ""
|
1281 |
|
1282 |
-
#: includes/class-mla-core-options.php:
|
1283 |
msgctxt "post_mime_types_description"
|
1284 |
msgid "All application subtypes"
|
1285 |
msgstr ""
|
1286 |
|
1287 |
-
#: includes/class-mla-core-options.php:
|
1288 |
#: includes/class-mla-list-table.php:1545
|
1289 |
msgctxt "table_view_singular"
|
1290 |
msgid "Unattached"
|
1291 |
msgstr ""
|
1292 |
|
1293 |
-
#: includes/class-mla-core-options.php:
|
1294 |
msgctxt "table_view_plural"
|
1295 |
msgid "Unattached"
|
1296 |
msgstr ""
|
1297 |
|
1298 |
-
#: includes/class-mla-core-options.php:
|
1299 |
msgctxt "table_view_singular"
|
1300 |
msgid "Attached"
|
1301 |
msgstr ""
|
1302 |
|
1303 |
-
#: includes/class-mla-core-options.php:
|
1304 |
msgctxt "table_view_plural"
|
1305 |
msgid "Attached"
|
1306 |
msgstr ""
|
1307 |
|
1308 |
-
#: includes/class-mla-core-options.php:
|
1309 |
msgctxt "table_view_singular"
|
1310 |
msgid "Trash"
|
1311 |
msgstr ""
|
1312 |
|
1313 |
-
#: includes/class-mla-core-options.php:
|
1314 |
msgctxt "table_view_plural"
|
1315 |
msgid "Trash"
|
1316 |
msgstr ""
|
1317 |
|
1318 |
-
#: includes/class-mla-core-options.php:
|
1319 |
msgid "Enable Upload MIME Type Support"
|
1320 |
msgstr ""
|
1321 |
|
1322 |
-
#: includes/class-mla-core-options.php:
|
1323 |
msgid ""
|
1324 |
"Check/uncheck this option to enable/disable Upload MIME Type Support, then "
|
1325 |
"click <strong>Save Changes</strong> to record the new setting."
|
1326 |
msgstr ""
|
1327 |
|
1328 |
-
#: includes/class-mla-core-options.php:
|
1329 |
msgid "Upload MIME Types help."
|
1330 |
msgstr ""
|
1331 |
|
1332 |
-
#: includes/class-mla-core-options.php:
|
1333 |
msgid "Enable MLA File Type Icons Support"
|
1334 |
msgstr ""
|
1335 |
|
1336 |
-
#: includes/class-mla-core-options.php:
|
1337 |
msgid ""
|
1338 |
"Check/uncheck this option to enable/disable MLA File Type Icons Support, "
|
1339 |
"then click <strong>Save Changes</strong> to record the new setting."
|
1340 |
msgstr ""
|
1341 |
|
1342 |
-
#: includes/class-mla-core-options.php:
|
1343 |
msgid "Display Limit"
|
1344 |
msgstr ""
|
1345 |
|
1346 |
-
#: includes/class-mla-core-options.php:
|
1347 |
msgid ""
|
1348 |
"Enter the maximum number of debug log characters to display; enter zero or "
|
1349 |
"leave blank for no limit."
|
1350 |
msgstr ""
|
1351 |
|
1352 |
-
#: includes/class-mla-core-options.php:
|
1353 |
msgid "Debug File"
|
1354 |
msgstr ""
|
1355 |
|
1356 |
-
#: includes/class-mla-core-options.php:
|
1357 |
msgid ""
|
1358 |
"Enter the name of an alternate, MLA-specific debug log file; leave blank to "
|
1359 |
"use the PHP error_log."
|
1360 |
msgstr ""
|
1361 |
|
1362 |
-
#: includes/class-mla-core-options.php:
|
1363 |
msgid "Replace PHP error_log file"
|
1364 |
msgstr ""
|
1365 |
|
1366 |
-
#: includes/class-mla-core-options.php:
|
1367 |
msgid ""
|
1368 |
"Check this option to replace the PHP error_log file with the MLA Debug File."
|
1369 |
"<br> allows capture of PHP messages in the MLA Debug File."
|
1370 |
msgstr ""
|
1371 |
|
1372 |
-
#: includes/class-mla-core-options.php:
|
1373 |
msgid "PHP Reporting"
|
1374 |
msgstr ""
|
1375 |
|
1376 |
-
#: includes/class-mla-core-options.php:
|
1377 |
msgid ""
|
1378 |
"Enter a numeric error_reporting value, e.g., 0x7FFF or 32767; leave blank to "
|
1379 |
"use the existing PHP error_reporting value."
|
1380 |
msgstr ""
|
1381 |
|
1382 |
-
#: includes/class-mla-core-options.php:
|
1383 |
msgid "MLA Reporting"
|
1384 |
msgstr ""
|
1385 |
|
1386 |
-
#: includes/class-mla-core-options.php:
|
1387 |
msgid ""
|
1388 |
"Enter a numeric MLA_DEBUG_LEVEL value, e.g., 0x0003 or 3; leave blank to use "
|
1389 |
"the existing MLA_DEBUG_LEVEL value."
|
1390 |
msgstr ""
|
1391 |
|
1392 |
-
#: includes/class-mla-core.php:
|
1393 |
#, php-format
|
1394 |
msgctxt "error_log"
|
1395 |
msgid "%1$s: mla_load_template file \"%2$s\" not found."
|
1396 |
msgstr ""
|
1397 |
|
1398 |
-
#: includes/class-mla-core.php:
|
1399 |
#, php-format
|
1400 |
msgctxt "error_log"
|
1401 |
msgid "%1$s: mla_load_template file \"%2$s\" bad source type \"%3$s\"."
|
1402 |
msgstr ""
|
1403 |
|
1404 |
-
#: includes/class-mla-core.php:
|
1405 |
#, php-format
|
1406 |
msgid "%1$s: Bad specification part \"%2$s\""
|
1407 |
msgstr ""
|
1408 |
|
1409 |
-
#: includes/class-mla-core.php:
|
1410 |
#, php-format
|
1411 |
msgid "%1$s: Bad specification option \"%2$s\""
|
1412 |
msgstr ""
|
1413 |
|
1414 |
-
#: includes/class-mla-core.php:
|
1415 |
#, php-format
|
1416 |
msgid "%1$s: Bad specification prefix \"%2$s\""
|
1417 |
msgstr ""
|
1418 |
|
1419 |
-
#: includes/class-mla-core.php:
|
1420 |
msgid "Most Used"
|
1421 |
msgstr ""
|
1422 |
|
1423 |
-
#: includes/class-mla-core.php:
|
1424 |
#, php-format
|
1425 |
msgid "+ %s"
|
1426 |
msgstr ""
|
1427 |
|
1428 |
-
#: includes/class-mla-core.php:
|
1429 |
-
#: includes/class-mla-media-modal.php:
|
1430 |
#: includes/mla-media-modal-js-template.php:28
|
1431 |
#: includes/mla-media-modal-js-template.php:75
|
1432 |
msgid "Search"
|
@@ -1478,9 +1482,9 @@ msgid "Title"
|
|
1478 |
msgstr ""
|
1479 |
|
1480 |
#: includes/class-mla-data-query.php:294
|
1481 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
1482 |
#: includes/class-mla-settings-documentation-tab.php:499
|
1483 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
1484 |
#: includes/class-mla-settings-shortcodes-tab.php:950
|
1485 |
msgctxt "list_table_column"
|
1486 |
msgid "Name"
|
@@ -1571,18 +1575,18 @@ msgid "Attached to"
|
|
1571 |
msgstr ""
|
1572 |
|
1573 |
#: includes/class-mla-data-query.php:674 includes/class-mla-edit-media.php:316
|
1574 |
-
#: includes/class-mla-main.php:
|
1575 |
-
#: includes/class-mla-media-modal.php:
|
1576 |
#: includes/class-mla-mime-types.php:1398
|
1577 |
#: includes/class-mla-mime-types.php:2586
|
1578 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
1579 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
1580 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
1581 |
#: includes/class-mla-settings-documentation-tab.php:297
|
1582 |
#: includes/class-mla-settings-documentation-tab.php:1269
|
1583 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
1584 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
1585 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
1586 |
#: includes/class-mla-settings-shortcodes-tab.php:503
|
1587 |
#: includes/class-mla-settings-shortcodes-tab.php:1627
|
1588 |
#: includes/class-mla-settings-upload-tab.php:301
|
@@ -1592,67 +1596,67 @@ msgctxt "error_log"
|
|
1592 |
msgid "%1$s: %2$s non-array \"%3$s\""
|
1593 |
msgstr ""
|
1594 |
|
1595 |
-
#: includes/class-mla-data-query.php:
|
1596 |
#, php-format
|
1597 |
msgctxt "error_log"
|
1598 |
msgid "%1$s: _execute_list_table_query $wp_filter = \"%2$s\"."
|
1599 |
msgstr ""
|
1600 |
|
1601 |
-
#: includes/class-mla-data-query.php:
|
1602 |
-
#: includes/class-mla-data-query.php:
|
1603 |
-
#: includes/class-mla-data-query.php:
|
1604 |
-
#: includes/class-mla-data-query.php:
|
1605 |
-
#: includes/class-mla-data-query.php:
|
1606 |
-
#: includes/class-mla-data-query.php:
|
1607 |
-
#: includes/class-mla-data-query.php:
|
1608 |
-
#: includes/class-mla-data-query.php:
|
1609 |
-
#: includes/class-mla-data-query.php:
|
1610 |
msgid "DEBUG"
|
1611 |
msgstr ""
|
1612 |
|
1613 |
-
#: includes/class-mla-data-query.php:
|
1614 |
#, php-format
|
1615 |
msgctxt "error_log"
|
1616 |
msgid "%1$s: _execute_list_table_query WP_Query = \"%2$s\"."
|
1617 |
msgstr ""
|
1618 |
|
1619 |
-
#: includes/class-mla-data-query.php:
|
1620 |
#, php-format
|
1621 |
msgctxt "error_log"
|
1622 |
msgid "%1$s: _execute_list_table_query SQL_request = \"%2$s\"."
|
1623 |
msgstr ""
|
1624 |
|
1625 |
-
#: includes/class-mla-data-query.php:
|
1626 |
#, php-format
|
1627 |
msgctxt "error_log"
|
1628 |
msgid "%1$s: mla_query_posts_search_filter = \"%2$s\"."
|
1629 |
msgstr ""
|
1630 |
|
1631 |
-
#: includes/class-mla-data-query.php:
|
1632 |
#, php-format
|
1633 |
msgctxt "error_log"
|
1634 |
msgid "%1$s: mla_query_posts_where_filter = \"%2$s\"."
|
1635 |
msgstr ""
|
1636 |
|
1637 |
-
#: includes/class-mla-data-query.php:
|
1638 |
#, php-format
|
1639 |
msgctxt "error_log"
|
1640 |
msgid "%1$s: mla_query_posts_join_filter = \"%2$s\"."
|
1641 |
msgstr ""
|
1642 |
|
1643 |
-
#: includes/class-mla-data-query.php:
|
1644 |
#, php-format
|
1645 |
msgctxt "error_log"
|
1646 |
msgid "%1$s: mla_query_posts_orderby_filter = \"%2$s\"."
|
1647 |
msgstr ""
|
1648 |
|
1649 |
-
#: includes/class-mla-data-query.php:
|
1650 |
#, php-format
|
1651 |
msgctxt "error_log"
|
1652 |
msgid "%1$s: mla_query_posts_clauses_filter = \"%2$s\"."
|
1653 |
msgstr ""
|
1654 |
|
1655 |
-
#: includes/class-mla-data-query.php:
|
1656 |
#, php-format
|
1657 |
msgctxt "error_log"
|
1658 |
msgid "%1$s: mla_query_posts_clauses_request_filter = \"%2$s\"."
|
@@ -1698,42 +1702,42 @@ msgid ""
|
|
1698 |
"%1$s: _find_template_substring no template end delimiter, tail = \"%2$s\"."
|
1699 |
msgstr ""
|
1700 |
|
1701 |
-
#: includes/class-mla-data.php:
|
1702 |
#, php-format
|
1703 |
msgctxt "error_log"
|
1704 |
msgid ""
|
1705 |
"%1$s: mla_parse_array_template no template end delimiter, tail = \"%2$s\"."
|
1706 |
msgstr ""
|
1707 |
|
1708 |
-
#: includes/class-mla-data.php:
|
1709 |
#, php-format
|
1710 |
msgctxt "error_log"
|
1711 |
msgid "%1$s: mla_parse_template no end delimiter, tail = \"%2$s\"."
|
1712 |
msgstr ""
|
1713 |
|
1714 |
-
#: includes/class-mla-data.php:
|
1715 |
#, php-format
|
1716 |
msgctxt "error_log"
|
1717 |
-
msgid "%1$s:
|
1718 |
msgstr ""
|
1719 |
|
1720 |
-
#: includes/class-mla-data.php:
|
1721 |
msgid "Test; no closing parenthesis "
|
1722 |
msgstr ""
|
1723 |
|
1724 |
-
#: includes/class-mla-data.php:
|
1725 |
#, php-format
|
1726 |
msgctxt "error_log"
|
1727 |
msgid "%1$s: _evaluate_template_array_node unknown type \"%2$s\"."
|
1728 |
msgstr ""
|
1729 |
|
1730 |
-
#: includes/class-mla-data.php:
|
1731 |
#, php-format
|
1732 |
msgctxt "error_log"
|
1733 |
msgid "%1$s: _evaluate_template_node unknown type \"%2$s\"."
|
1734 |
msgstr ""
|
1735 |
|
1736 |
-
#: includes/class-mla-data.php:
|
1737 |
#, php-format
|
1738 |
msgctxt "error_log"
|
1739 |
msgid ""
|
@@ -1741,216 +1745,215 @@ msgid ""
|
|
1741 |
"\"."
|
1742 |
msgstr ""
|
1743 |
|
1744 |
-
#: includes/class-mla-data.php:
|
1745 |
#, php-format
|
1746 |
msgctxt "error_log"
|
1747 |
msgid "%1$s: mla_get_attachment_by_id(%2$d) not found."
|
1748 |
msgstr ""
|
1749 |
|
1750 |
-
#: includes/class-mla-data.php:
|
1751 |
#, php-format
|
1752 |
msgctxt "error_log"
|
1753 |
msgid "%1$s: mla_get_attachment_by_id(%2$d) wrong post_type \"%3$s\"."
|
1754 |
msgstr ""
|
1755 |
|
1756 |
-
#: includes/class-mla-data.php:
|
1757 |
msgctxt "error_log"
|
1758 |
msgid "mla_parse_xmp_metadata xml_parse_into_struct failed."
|
1759 |
msgstr ""
|
1760 |
|
1761 |
-
#: includes/class-mla-data.php:
|
1762 |
msgctxt "error_log"
|
1763 |
msgid "mla_parse_xmp_metadata set option failed."
|
1764 |
msgstr ""
|
1765 |
|
1766 |
-
#: includes/class-mla-data.php:
|
1767 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
1768 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
1769 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
1770 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
1771 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
1772 |
#: includes/class-mla-settings-view-tab.php:398
|
1773 |
#: includes/class-mla-settings-view-tab.php:799
|
1774 |
#: includes/class-mla-settings-view-tab.php:815
|
1775 |
-
#: includes/class-mla-wpml-support.php:
|
1776 |
msgid "Yes"
|
1777 |
msgstr ""
|
1778 |
|
1779 |
-
#: includes/class-mla-data.php:
|
1780 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
1781 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
1782 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
1783 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
1784 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
1785 |
#: includes/class-mla-settings-view-tab.php:397
|
1786 |
#: includes/class-mla-settings-view-tab.php:801
|
1787 |
#: includes/class-mla-settings-view-tab.php:817
|
1788 |
-
#: includes/class-mla-wpml-support.php:
|
1789 |
msgid "No"
|
1790 |
msgstr ""
|
1791 |
|
1792 |
-
#: includes/class-mla-data.php:
|
1793 |
#, php-format
|
1794 |
msgid "Deleting %1$s"
|
1795 |
msgstr ""
|
1796 |
|
1797 |
-
#: includes/class-mla-data.php:
|
1798 |
#, php-format
|
1799 |
msgid "%1$s: meta:%2$s not found"
|
1800 |
msgstr ""
|
1801 |
|
1802 |
-
#: includes/class-mla-data.php:
|
1803 |
-
#: includes/class-mla-data.php:
|
1804 |
#, php-format
|
1805 |
msgid "Adding %1$s = %2$s"
|
1806 |
msgstr ""
|
1807 |
|
1808 |
-
#: includes/class-mla-data.php:
|
1809 |
#, php-format
|
1810 |
msgid "%1$s: Adding meta:%2$s; not found"
|
1811 |
msgstr ""
|
1812 |
|
1813 |
-
#: includes/class-mla-data.php:
|
1814 |
#, php-format
|
1815 |
msgid "Deleting Null meta:%1$s"
|
1816 |
msgstr ""
|
1817 |
|
1818 |
-
#: includes/class-mla-data.php:
|
1819 |
-
#: includes/class-mla-data.php:
|
1820 |
-
#: includes/class-mla-data.php:
|
1821 |
-
#: includes/class-mla-data.php:
|
1822 |
-
#: includes/class-mla-data.php:
|
1823 |
-
#: includes/class-mla-data.php:
|
1824 |
#: includes/class-mla-mime-types.php:1232
|
1825 |
#: includes/class-mla-mime-types.php:2350
|
1826 |
#, php-format
|
1827 |
msgid "Changing %1$s from \"%2$s\" to \"%3$s\""
|
1828 |
msgstr ""
|
1829 |
|
1830 |
-
#: includes/class-mla-data.php:
|
1831 |
#, php-format
|
1832 |
msgid "%1$s: Changing meta:%2$s; not found"
|
1833 |
msgstr ""
|
1834 |
|
1835 |
-
#: includes/class-mla-data.php:
|
1836 |
#, php-format
|
1837 |
msgid "Deleting old %1$s values"
|
1838 |
msgstr ""
|
1839 |
|
1840 |
-
#: includes/class-mla-data.php:
|
1841 |
#, php-format
|
1842 |
msgid "Changing %1$s from \"%2$s\" to \"%3$s\"; %4$d updates"
|
1843 |
msgstr ""
|
1844 |
|
1845 |
-
#: includes/class-mla-data.php:
|
1846 |
msgid "Could not retrieve Attachment."
|
1847 |
msgstr ""
|
1848 |
|
1849 |
-
#: includes/class-mla-data.php:
|
1850 |
#, php-format
|
1851 |
msgid "%1$s: Could not change Name/Slug \"%2$s\"; name already exists"
|
1852 |
msgstr ""
|
1853 |
|
1854 |
-
#: includes/class-mla-data.php:
|
1855 |
#, php-format
|
1856 |
msgid "Deleting ALT Text, was \"%1$s\""
|
1857 |
msgstr ""
|
1858 |
|
1859 |
-
#: includes/class-mla-data.php:
|
1860 |
#, php-format
|
1861 |
msgid "%1$s: Could not delete ALT Text, remains \"%2$s\""
|
1862 |
msgstr ""
|
1863 |
|
1864 |
-
#: includes/class-mla-data.php:
|
1865 |
#, php-format
|
1866 |
msgid "%1$s: Could not change ALT Text from \"%2$s\" to \"%3$s\""
|
1867 |
msgstr ""
|
1868 |
|
1869 |
-
#: includes/class-mla-data.php:
|
1870 |
#: includes/class-mla-list-table.php:1036
|
1871 |
#: includes/class-mla-list-table.php:1039
|
1872 |
-
#: includes/class-mla-list-table.php:1107 includes/class-mla-options.php:
|
1873 |
-
#: includes/class-mla-
|
1874 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
1875 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:838
|
1876 |
msgid "Parent"
|
1877 |
msgstr ""
|
1878 |
|
1879 |
-
#: includes/class-mla-data.php:
|
1880 |
-
#: includes/class-mla-edit-media.php:
|
1881 |
#: includes/class-mla-settings-view-tab.php:130
|
1882 |
#: includes/class-mla-settings-view-tab.php:386
|
1883 |
msgid "Menu Order"
|
1884 |
msgstr ""
|
1885 |
|
1886 |
-
#: includes/class-mla-data.php:
|
1887 |
#: includes/class-mla-list-table.php:1487
|
1888 |
-
#: includes/class-mla-list-table.php:1490 includes/class-mla-main.php:
|
1889 |
-
#: includes/class-mla-main.php:
|
1890 |
msgid "Author"
|
1891 |
msgstr ""
|
1892 |
|
1893 |
-
#: includes/class-mla-data.php:
|
1894 |
-
#: includes/class-mla-main.php:
|
1895 |
msgid "Comments"
|
1896 |
msgstr ""
|
1897 |
|
1898 |
-
#: includes/class-mla-data.php:
|
1899 |
-
#: includes/class-mla-main.php:
|
1900 |
msgid "Pings"
|
1901 |
msgstr ""
|
1902 |
|
1903 |
-
#: includes/class-mla-data.php:
|
1904 |
#, php-format
|
1905 |
msgid "You cannot assign \"%1$s\" terms"
|
1906 |
msgstr ""
|
1907 |
|
1908 |
-
#: includes/class-mla-data.php:
|
1909 |
msgctxt "tag delimiter"
|
1910 |
msgid ","
|
1911 |
msgstr ""
|
1912 |
|
1913 |
-
#: includes/class-mla-data.php:
|
1914 |
msgid "Adding"
|
1915 |
msgstr ""
|
1916 |
|
1917 |
-
#: includes/class-mla-data.php:
|
1918 |
msgid "Removing"
|
1919 |
msgstr ""
|
1920 |
|
1921 |
-
#: includes/class-mla-data.php:
|
1922 |
msgid "Replacing"
|
1923 |
msgstr ""
|
1924 |
|
1925 |
-
#: includes/class-mla-data.php:
|
1926 |
msgid "Ignoring"
|
1927 |
msgstr ""
|
1928 |
|
1929 |
-
#: includes/class-mla-data.php:
|
1930 |
#, php-format
|
1931 |
msgid "%1$s \"%2$s\" terms"
|
1932 |
msgstr ""
|
1933 |
|
1934 |
-
#: includes/class-mla-data.php:
|
1935 |
#, php-format
|
1936 |
msgid "Item %1$d, no changes detected."
|
1937 |
msgstr ""
|
1938 |
|
1939 |
-
#: includes/class-mla-data.php:
|
1940 |
#, php-format
|
1941 |
msgid "Item %1$d updated."
|
1942 |
msgstr ""
|
1943 |
|
1944 |
-
#: includes/class-mla-data.php:
|
1945 |
#, php-format
|
1946 |
msgid "%1$s: Item %2$d update failed."
|
1947 |
msgstr ""
|
1948 |
|
1949 |
#: includes/class-mla-edit-media.php:133 includes/class-mla-edit-media.php:184
|
1950 |
-
#: includes/class-mla-edit-media.php:237 includes/class-mla-main.php:
|
1951 |
-
#: includes/class-mla-main.php:
|
1952 |
-
#: includes/class-mla-media-modal.php:236 includes/class-mla-options.php:
|
1953 |
-
#: includes/class-mla-polylang-support.php:
|
1954 |
#: includes/class-mla-settings-custom-fields-tab.php:59
|
1955 |
#: includes/class-mla-settings-custom-fields-tab.php:94
|
1956 |
#: includes/class-mla-settings-iptc-exif-tab.php:59
|
@@ -1975,46 +1978,42 @@ msgid "Close Bulk Edit area"
|
|
1975 |
msgstr ""
|
1976 |
|
1977 |
#: includes/class-mla-edit-media.php:185 includes/class-mla-edit-media.php:239
|
1978 |
-
#: includes/class-mla-main.php:
|
1979 |
msgid "An ajax.fail error has occurred. Please reload the page and try again."
|
1980 |
msgstr ""
|
1981 |
|
1982 |
#: includes/class-mla-edit-media.php:186 includes/class-mla-edit-media.php:240
|
1983 |
-
#: includes/class-mla-main.php:
|
1984 |
msgid "An ajax.done error has occurred. Please reload the page and try again."
|
1985 |
msgstr ""
|
1986 |
|
1987 |
-
#: includes/class-mla-edit-media.php:338 includes/class-mla-main.php:
|
1988 |
msgid "more"
|
1989 |
msgstr ""
|
1990 |
|
1991 |
-
#: includes/class-mla-edit-media.php:339 includes/class-mla-main.php:
|
1992 |
msgid "less"
|
1993 |
msgstr ""
|
1994 |
|
1995 |
#: includes/class-mla-edit-media.php:342 includes/class-mla-edit-media.php:373
|
1996 |
-
#: includes/class-mla-main.php:
|
1997 |
msgid "Add"
|
1998 |
msgstr ""
|
1999 |
|
2000 |
#: includes/class-mla-edit-media.php:343 includes/class-mla-edit-media.php:374
|
2001 |
-
#: includes/class-mla-main.php:
|
2002 |
msgid "Remove"
|
2003 |
msgstr ""
|
2004 |
|
2005 |
#: includes/class-mla-edit-media.php:344 includes/class-mla-edit-media.php:375
|
2006 |
-
#: includes/class-mla-main.php:
|
2007 |
-
#: includes/class-mla-
|
2008 |
-
#: includes/class-mla-
|
2009 |
-
#: includes/class-mla-
|
2010 |
-
#: includes/class-mla-
|
2011 |
-
#: includes/class-mla-settings-
|
2012 |
-
#: includes/class-mla-settings-
|
2013 |
-
#: includes/class-mla-settings-
|
2014 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:473
|
2015 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:835
|
2016 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:1537
|
2017 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:2356
|
2018 |
msgid "Replace"
|
2019 |
msgstr ""
|
2020 |
|
@@ -2024,36 +2023,36 @@ msgid ""
|
|
2024 |
"menu for more information."
|
2025 |
msgstr ""
|
2026 |
|
2027 |
-
#: includes/class-mla-edit-media.php:416 includes/class-mla-main.php:
|
2028 |
-
#: includes/class-mla-settings.php:
|
2029 |
msgid "Reset"
|
2030 |
msgstr ""
|
2031 |
|
2032 |
-
#: includes/class-mla-edit-media.php:422 includes/class-mla-main.php:
|
2033 |
-
#: includes/class-mla-main.php:
|
2034 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
2035 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
2036 |
#: includes/class-mla-settings-upload-tab.php:122
|
2037 |
#: includes/class-mla-settings-upload-tab.php:553
|
2038 |
#: includes/class-mla-settings-view-tab.php:396
|
2039 |
msgid "No Change"
|
2040 |
msgstr ""
|
2041 |
|
2042 |
-
#: includes/class-mla-edit-media.php:423 includes/class-mla-main.php:
|
2043 |
msgid "Allow"
|
2044 |
msgstr ""
|
2045 |
|
2046 |
-
#: includes/class-mla-edit-media.php:424 includes/class-mla-main.php:
|
2047 |
msgid "Do not allow"
|
2048 |
msgstr ""
|
2049 |
|
2050 |
#: includes/class-mla-edit-media.php:431 includes/class-mla-list-table.php:1033
|
2051 |
-
#: includes/class-mla-list-table.php:1104 includes/class-mla-main.php:
|
2052 |
msgid "Parent ID"
|
2053 |
msgstr ""
|
2054 |
|
2055 |
-
#: includes/class-mla-edit-media.php:432 includes/class-mla-edit-media.php:
|
2056 |
-
#: includes/class-mla-main.php:
|
2057 |
#: includes/class-mla-settings-upload-tab.php:1469
|
2058 |
msgid "Select"
|
2059 |
msgstr ""
|
@@ -2066,62 +2065,70 @@ msgstr ""
|
|
2066 |
msgid "IPTC/EXIF mapping updated."
|
2067 |
msgstr ""
|
2068 |
|
2069 |
-
#: includes/class-mla-edit-media.php:
|
2070 |
-
msgid "
|
|
|
|
|
|
|
|
|
2071 |
msgstr ""
|
2072 |
|
2073 |
#: includes/class-mla-edit-media.php:539
|
|
|
|
|
|
|
|
|
2074 |
msgid "Last modified"
|
2075 |
msgstr ""
|
2076 |
|
2077 |
-
#: includes/class-mla-edit-media.php:
|
2078 |
msgid "Map Custom Field metadata for this item"
|
2079 |
msgstr ""
|
2080 |
|
2081 |
-
#: includes/class-mla-edit-media.php:
|
2082 |
-
#: includes/class-mla-main.php:
|
2083 |
msgid "Map Custom Field metadata"
|
2084 |
msgstr ""
|
2085 |
|
2086 |
-
#: includes/class-mla-edit-media.php:
|
2087 |
msgid "Map IPTC/EXIF metadata for this item"
|
2088 |
msgstr ""
|
2089 |
|
2090 |
-
#: includes/class-mla-edit-media.php:
|
2091 |
-
#: includes/class-mla-main.php:
|
2092 |
msgid "Map IPTC/EXIF metadata"
|
2093 |
msgstr ""
|
2094 |
|
2095 |
-
#: includes/class-mla-edit-media.php:
|
2096 |
msgid "Parent Info"
|
2097 |
msgstr ""
|
2098 |
|
2099 |
-
#: includes/class-mla-edit-media.php:
|
2100 |
msgid "Attachment Metadata"
|
2101 |
msgstr ""
|
2102 |
|
2103 |
-
#: includes/class-mla-edit-media.php:
|
2104 |
-
#: includes/class-mla-main.php:
|
2105 |
#, php-format
|
2106 |
msgctxt "error_log"
|
2107 |
msgid "%1$s: %2$s discarding \"%3$s\"; no title/order"
|
2108 |
msgstr ""
|
2109 |
|
2110 |
-
#: includes/class-mla-edit-media.php:
|
2111 |
msgctxt "post state"
|
2112 |
msgid "Pending"
|
2113 |
msgstr ""
|
2114 |
|
2115 |
-
#: includes/class-mla-edit-media.php:
|
2116 |
msgid "Post Parent"
|
2117 |
msgstr ""
|
2118 |
|
2119 |
-
#: includes/class-mla-edit-media.php:
|
2120 |
msgid "Select Parent"
|
2121 |
msgstr ""
|
2122 |
|
2123 |
-
#: includes/class-mla-edit-media.php:
|
2124 |
-
#: includes/class-mla-edit-media.php:
|
2125 |
#: includes/class-mla-list-table.php:1154
|
2126 |
#: includes/class-mla-list-table.php:1203
|
2127 |
#: includes/class-mla-list-table.php:1249
|
@@ -2139,8 +2146,8 @@ msgid "No"
|
|
2139 |
msgstr ""
|
2140 |
|
2141 |
#: includes/class-mla-list-table.php:425
|
2142 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
2143 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
2144 |
#: includes/class-mla-settings-upload-tab.php:647
|
2145 |
#: includes/class-mla-settings-view-tab.php:490
|
2146 |
msgid "List View"
|
@@ -2162,9 +2169,9 @@ msgid "Not Supported"
|
|
2162 |
msgstr ""
|
2163 |
|
2164 |
#: includes/class-mla-list-table.php:564
|
2165 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
2166 |
#: includes/class-mla-settings-documentation-tab.php:584
|
2167 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
2168 |
#: includes/class-mla-settings-shortcodes-tab.php:1023
|
2169 |
#: includes/class-mla-settings-upload-tab.php:858
|
2170 |
#: includes/class-mla-settings-upload-tab.php:1416
|
@@ -2180,11 +2187,11 @@ msgstr ""
|
|
2180 |
#: includes/class-mla-list-table.php:1299
|
2181 |
#: includes/class-mla-list-table.php:1521
|
2182 |
#: includes/class-mla-list-table.php:1847
|
2183 |
-
#: includes/class-mla-polylang-support.php:
|
2184 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
2185 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
2186 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
2187 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
2188 |
#: includes/class-mla-settings-shortcodes-tab.php:1071
|
2189 |
#: includes/class-mla-settings-upload-tab.php:923
|
2190 |
#: includes/class-mla-settings-upload-tab.php:1212
|
@@ -2207,8 +2214,8 @@ msgid "Restore"
|
|
2207 |
msgstr ""
|
2208 |
|
2209 |
#: includes/class-mla-list-table.php:740
|
2210 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
2211 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
2212 |
#: includes/class-mla-settings-shortcodes-tab.php:1071
|
2213 |
#: includes/class-mla-settings-upload-tab.php:923
|
2214 |
#: includes/class-mla-settings-view-tab.php:720
|
@@ -2216,21 +2223,21 @@ msgid "Edit this item"
|
|
2216 |
msgstr ""
|
2217 |
|
2218 |
#: includes/class-mla-list-table.php:741
|
2219 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
2220 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
2221 |
#: includes/class-mla-settings-upload-tab.php:925
|
2222 |
#: includes/class-mla-settings-view-tab.php:722
|
2223 |
msgid "Edit this item inline"
|
2224 |
msgstr ""
|
2225 |
|
2226 |
-
#: includes/class-mla-list-table.php:741 includes/class-mla-main.php:
|
2227 |
-
#: includes/class-mla-options.php:
|
2228 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
2229 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
2230 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
2231 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
2232 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
2233 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
2234 |
#: includes/class-mla-settings-upload-tab.php:925
|
2235 |
#: includes/class-mla-settings-view-tab.php:722
|
2236 |
msgid "Quick Edit"
|
@@ -2245,8 +2252,8 @@ msgid "Move to Trash"
|
|
2245 |
msgstr ""
|
2246 |
|
2247 |
#: includes/class-mla-list-table.php:752
|
2248 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
2249 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
2250 |
#: includes/class-mla-settings-shortcodes-tab.php:1077
|
2251 |
#: includes/class-mla-settings-upload-tab.php:929
|
2252 |
#: includes/class-mla-settings-view-tab.php:728
|
@@ -2255,10 +2262,10 @@ msgstr ""
|
|
2255 |
|
2256 |
#: includes/class-mla-list-table.php:752 includes/class-mla-list-table.php:1845
|
2257 |
#: includes/class-mla-list-table.php:1852
|
2258 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
2259 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
2260 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
2261 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
2262 |
#: includes/class-mla-settings-shortcodes-tab.php:1077
|
2263 |
#: includes/class-mla-settings-upload-tab.php:929
|
2264 |
#: includes/class-mla-settings-view-tab.php:728
|
@@ -2268,7 +2275,7 @@ msgstr ""
|
|
2268 |
|
2269 |
#: includes/class-mla-list-table.php:760
|
2270 |
#: includes/class-mla-settings-documentation-tab.php:654
|
2271 |
-
#: includes/class-mla-settings.php:
|
2272 |
msgid "Download"
|
2273 |
msgstr ""
|
2274 |
|
@@ -2330,8 +2337,8 @@ msgstr[0] ""
|
|
2330 |
msgstr[1] ""
|
2331 |
|
2332 |
#: includes/class-mla-list-table.php:1944
|
2333 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
2334 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
2335 |
#: includes/class-mla-settings-shortcodes-tab.php:1345
|
2336 |
msgid "Filter"
|
2337 |
msgstr ""
|
@@ -2342,7 +2349,7 @@ msgid "Terms Search"
|
|
2342 |
msgstr ""
|
2343 |
|
2344 |
#: includes/class-mla-list-table.php:1952
|
2345 |
-
#: includes/class-mla-polylang-support.php:
|
2346 |
#: includes/class-mla-thumbnail-generation.php:638
|
2347 |
msgid "Clear Filter-by"
|
2348 |
msgstr ""
|
@@ -2351,11 +2358,11 @@ msgstr ""
|
|
2351 |
msgid "Empty Trash"
|
2352 |
msgstr ""
|
2353 |
|
2354 |
-
#: includes/class-mla-main.php:
|
2355 |
msgid "Error while saving the changes."
|
2356 |
msgstr ""
|
2357 |
|
2358 |
-
#: includes/class-mla-main.php:
|
2359 |
#: includes/class-mla-settings-custom-fields-tab.php:57
|
2360 |
#: includes/class-mla-settings-custom-fields-tab.php:92
|
2361 |
#: includes/class-mla-settings-iptc-exif-tab.php:57
|
@@ -2365,77 +2372,77 @@ msgstr ""
|
|
2365 |
msgid "Remove From Bulk Edit"
|
2366 |
msgstr ""
|
2367 |
|
2368 |
-
#: includes/class-mla-main.php:
|
2369 |
msgid "Bulk Edit items"
|
2370 |
msgstr ""
|
2371 |
|
2372 |
-
#: includes/class-mla-main.php:
|
2373 |
#: includes/class-mla-settings-custom-fields-tab.php:63
|
2374 |
#: includes/class-mla-settings-iptc-exif-tab.php:63
|
2375 |
msgid "Waiting"
|
2376 |
msgstr ""
|
2377 |
|
2378 |
-
#: includes/class-mla-main.php:
|
2379 |
#: includes/class-mla-settings-custom-fields-tab.php:65
|
2380 |
#: includes/class-mla-settings-iptc-exif-tab.php:65
|
2381 |
msgid "Complete"
|
2382 |
msgstr ""
|
2383 |
|
2384 |
-
#: includes/class-mla-main.php:
|
2385 |
#: includes/class-mla-settings-custom-fields-tab.php:66
|
2386 |
#: includes/class-mla-settings-iptc-exif-tab.php:66
|
2387 |
msgid "Unchanged"
|
2388 |
msgstr ""
|
2389 |
|
2390 |
-
#: includes/class-mla-main.php:
|
2391 |
#: includes/class-mla-settings-custom-fields-tab.php:67
|
2392 |
#: includes/class-mla-settings-iptc-exif-tab.php:67
|
2393 |
msgid "Succeeded"
|
2394 |
msgstr ""
|
2395 |
|
2396 |
-
#: includes/class-mla-main.php:
|
2397 |
#: includes/class-mla-settings-custom-fields-tab.php:68
|
2398 |
#: includes/class-mla-settings-iptc-exif-tab.php:68
|
2399 |
msgid "Failed"
|
2400 |
msgstr ""
|
2401 |
|
2402 |
-
#: includes/class-mla-main.php:
|
2403 |
msgid "CANCELED"
|
2404 |
msgstr ""
|
2405 |
|
2406 |
-
#: includes/class-mla-main.php:
|
2407 |
#, php-format
|
2408 |
msgid "Item permanently deleted."
|
2409 |
msgid_plural "%d items permanently deleted."
|
2410 |
msgstr[0] ""
|
2411 |
msgstr[1] ""
|
2412 |
|
2413 |
-
#: includes/class-mla-main.php:
|
2414 |
#, php-format
|
2415 |
msgid "Item %1$d moved to Trash."
|
2416 |
msgstr ""
|
2417 |
|
2418 |
-
#: includes/class-mla-main.php:
|
2419 |
msgid "Entries per page"
|
2420 |
msgstr ""
|
2421 |
|
2422 |
-
#: includes/class-mla-main.php:
|
2423 |
msgid "You are not allowed to edit Attachment: "
|
2424 |
msgstr ""
|
2425 |
|
2426 |
-
#: includes/class-mla-main.php:
|
2427 |
#, php-format
|
2428 |
msgid "%1$s: Unknown bulk action %2$s"
|
2429 |
msgstr ""
|
2430 |
|
2431 |
-
#: includes/class-mla-main.php:
|
2432 |
msgid "no changes detected"
|
2433 |
msgstr ""
|
2434 |
|
2435 |
-
#: includes/class-mla-main.php:
|
2436 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
2437 |
#: includes/class-mla-settings-documentation-tab.php:247
|
2438 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
2439 |
#: includes/class-mla-settings-shortcodes-tab.php:564
|
2440 |
#: includes/class-mla-settings-upload-tab.php:411
|
2441 |
#: includes/class-mla-settings-view-tab.php:254
|
@@ -2443,11 +2450,11 @@ msgstr ""
|
|
2443 |
msgid "Bulk Action %1$s - no items selected."
|
2444 |
msgstr ""
|
2445 |
|
2446 |
-
#: includes/class-mla-main.php:
|
2447 |
msgid "You do not have permission to manage attachments."
|
2448 |
msgstr ""
|
2449 |
|
2450 |
-
#: includes/class-mla-main.php:
|
2451 |
#, php-format
|
2452 |
msgctxt "deleted items"
|
2453 |
msgid "%s item deleted."
|
@@ -2455,18 +2462,18 @@ msgid_plural "%s items deleted."
|
|
2455 |
msgstr[0] ""
|
2456 |
msgstr[1] ""
|
2457 |
|
2458 |
-
#: includes/class-mla-main.php:
|
2459 |
msgid "No items deleted."
|
2460 |
msgstr ""
|
2461 |
|
2462 |
-
#: includes/class-mla-main.php:
|
2463 |
msgid "Empty Terms Search; ignored"
|
2464 |
msgstr ""
|
2465 |
|
2466 |
-
#: includes/class-mla-main.php:
|
2467 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
2468 |
#: includes/class-mla-settings-documentation-tab.php:281
|
2469 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
2470 |
#: includes/class-mla-settings-shortcodes-tab.php:593
|
2471 |
#: includes/class-mla-settings-upload-tab.php:450
|
2472 |
#: includes/class-mla-settings-view-tab.php:291
|
@@ -2474,26 +2481,26 @@ msgstr ""
|
|
2474 |
msgid "Unknown mla_admin_action - \"%1$s\""
|
2475 |
msgstr ""
|
2476 |
|
2477 |
-
#: includes/class-mla-main.php:
|
2478 |
msgid "term search results for"
|
2479 |
msgstr ""
|
2480 |
|
2481 |
-
#: includes/class-mla-main.php:
|
2482 |
msgid "post/parent results for"
|
2483 |
msgstr ""
|
2484 |
|
2485 |
-
#: includes/class-mla-main.php:
|
2486 |
msgid "search results for"
|
2487 |
msgstr ""
|
2488 |
|
2489 |
-
#: includes/class-mla-main.php:
|
2490 |
-
#: includes/class-mla-main.php:
|
2491 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
2492 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
2493 |
#: includes/class-mla-settings-documentation-tab.php:644
|
2494 |
#: includes/class-mla-settings-documentation-tab.php:852
|
2495 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
2496 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
2497 |
#: includes/class-mla-settings-shortcodes-tab.php:479
|
2498 |
#: includes/class-mla-settings-upload-tab.php:176
|
2499 |
#: includes/class-mla-settings-upload-tab.php:550
|
@@ -2502,28 +2509,28 @@ msgstr ""
|
|
2502 |
msgid "Update"
|
2503 |
msgstr ""
|
2504 |
|
2505 |
-
#: includes/class-mla-main.php:
|
2506 |
msgid "All Post Types"
|
2507 |
msgstr ""
|
2508 |
|
2509 |
-
#: includes/class-mla-main.php:
|
2510 |
msgid "For"
|
2511 |
msgstr ""
|
2512 |
|
2513 |
-
#: includes/class-mla-main.php:
|
2514 |
-
#: includes/class-mla-shortcode-support.php:
|
2515 |
msgid "Unattached"
|
2516 |
msgstr ""
|
2517 |
|
2518 |
-
#: includes/class-mla-main.php:
|
2519 |
-
#: includes/class-mla-polylang-support.php:
|
2520 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
2521 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
2522 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
2523 |
#: includes/class-mla-settings-documentation-tab.php:167
|
2524 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
2525 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
2526 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
2527 |
#: includes/class-mla-settings-shortcodes-tab.php:405
|
2528 |
#: includes/class-mla-settings-shortcodes-tab.php:476
|
2529 |
#: includes/class-mla-settings-upload-tab.php:177
|
@@ -2535,54 +2542,53 @@ msgstr ""
|
|
2535 |
msgid "Cancel"
|
2536 |
msgstr ""
|
2537 |
|
2538 |
-
#: includes/class-mla-main.php:
|
2539 |
-
#: includes/class-mla-
|
2540 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
2541 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
2542 |
-
#: includes/class-mla-settings-
|
2543 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:815
|
2544 |
#: includes/class-mla-settings-upload-tab.php:551
|
2545 |
#: includes/class-mla-settings-view-tab.php:395
|
2546 |
msgid "Bulk Edit"
|
2547 |
msgstr ""
|
2548 |
|
2549 |
-
#: includes/class-mla-main.php:
|
2550 |
msgid "In-process"
|
2551 |
msgstr ""
|
2552 |
|
2553 |
-
#: includes/class-mla-main.php:
|
2554 |
msgid "You are not allowed to delete this item."
|
2555 |
msgstr ""
|
2556 |
|
2557 |
-
#: includes/class-mla-main.php:
|
2558 |
#, php-format
|
2559 |
msgid "%1$s: Item %2$d could NOT be deleted."
|
2560 |
msgstr ""
|
2561 |
|
2562 |
-
#: includes/class-mla-main.php:
|
2563 |
#, php-format
|
2564 |
msgid "Item %1$d permanently deleted."
|
2565 |
msgstr ""
|
2566 |
|
2567 |
-
#: includes/class-mla-main.php:
|
2568 |
msgid "You are not allowed to move this item out of the Trash."
|
2569 |
msgstr ""
|
2570 |
|
2571 |
-
#: includes/class-mla-main.php:
|
2572 |
#, php-format
|
2573 |
msgid "%1$s: Item %2$d could NOT be restored from Trash."
|
2574 |
msgstr ""
|
2575 |
|
2576 |
-
#: includes/class-mla-main.php:
|
2577 |
#, php-format
|
2578 |
msgid "Item %1$d restored from Trash."
|
2579 |
msgstr ""
|
2580 |
|
2581 |
-
#: includes/class-mla-main.php:
|
2582 |
msgid "You are not allowed to move this item to the Trash."
|
2583 |
msgstr ""
|
2584 |
|
2585 |
-
#: includes/class-mla-main.php:
|
2586 |
#, php-format
|
2587 |
msgid "%1$s: Item %2$d could NOT be moved to Trash."
|
2588 |
msgstr ""
|
@@ -2628,32 +2634,32 @@ msgstr ""
|
|
2628 |
msgid "Loading..."
|
2629 |
msgstr ""
|
2630 |
|
2631 |
-
#: includes/class-mla-media-modal.php:
|
2632 |
-
#: includes/class-mla-media-modal.php:
|
2633 |
msgid "Search Terms"
|
2634 |
msgstr ""
|
2635 |
|
2636 |
-
#: includes/class-mla-media-modal.php:
|
2637 |
msgid "There are no taxonomies to search"
|
2638 |
msgstr ""
|
2639 |
|
2640 |
-
#: includes/class-mla-media-modal.php:
|
2641 |
msgid "All phrases"
|
2642 |
msgstr ""
|
2643 |
|
2644 |
-
#: includes/class-mla-media-modal.php:
|
2645 |
msgid "Any phrase"
|
2646 |
msgstr ""
|
2647 |
|
2648 |
-
#: includes/class-mla-media-modal.php:
|
2649 |
msgid "All terms"
|
2650 |
msgstr ""
|
2651 |
|
2652 |
-
#: includes/class-mla-media-modal.php:
|
2653 |
msgid "Any term"
|
2654 |
msgstr ""
|
2655 |
|
2656 |
-
#: includes/class-mla-media-modal.php:
|
2657 |
msgid "Exact"
|
2658 |
msgstr ""
|
2659 |
|
@@ -2673,14 +2679,14 @@ msgid "Icon Type"
|
|
2673 |
msgstr ""
|
2674 |
|
2675 |
#: includes/class-mla-mime-types.php:553
|
2676 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
2677 |
msgctxt "list_table_column"
|
2678 |
msgid "Source"
|
2679 |
msgstr ""
|
2680 |
|
2681 |
#: includes/class-mla-mime-types.php:554
|
2682 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
2683 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
2684 |
msgctxt "list_table_column"
|
2685 |
msgid "Status"
|
2686 |
msgstr ""
|
@@ -2851,13 +2857,13 @@ msgid "MLA"
|
|
2851 |
msgstr ""
|
2852 |
|
2853 |
#: includes/class-mla-mime-types.php:1650
|
2854 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
2855 |
msgctxt "table_view_singular"
|
2856 |
msgid "Custom"
|
2857 |
msgstr ""
|
2858 |
|
2859 |
#: includes/class-mla-mime-types.php:1651
|
2860 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
2861 |
msgctxt "table_view_plural"
|
2862 |
msgid "Custom"
|
2863 |
msgstr ""
|
@@ -3046,17 +3052,16 @@ msgstr ""
|
|
3046 |
msgid "Add .textwidget div tags"
|
3047 |
msgstr ""
|
3048 |
|
3049 |
-
#: includes/class-mla-options.php:
|
3050 |
msgid "error loading tpls/mla-option-templates.tpl"
|
3051 |
msgstr ""
|
3052 |
|
3053 |
-
#: includes/class-mla-options.php:
|
3054 |
msgid "tpls/mla-option-templates.tpl not found"
|
3055 |
msgstr ""
|
3056 |
|
3057 |
-
#: includes/class-mla-options.php:
|
3058 |
-
#: includes/class-mla-options.php:
|
3059 |
-
#: includes/class-mla-options.php:2955
|
3060 |
#, php-format
|
3061 |
msgid "%1$s: Custom %2$s unknown action \"%3$s\""
|
3062 |
msgstr ""
|
@@ -3118,34 +3123,33 @@ msgstr ""
|
|
3118 |
msgid "Checked On Top ignored; %1$s not supported."
|
3119 |
msgstr ""
|
3120 |
|
3121 |
-
#: includes/class-mla-options.php:411 includes/class-mla-options.php:
|
3122 |
#, php-format
|
3123 |
msgid "Update custom %1$s"
|
3124 |
msgstr ""
|
3125 |
|
3126 |
-
#: includes/class-mla-options.php:418 includes/class-mla-options.php:
|
3127 |
-
#: includes/class-mla-options.php:2948
|
3128 |
#, php-format
|
3129 |
msgid "Reset custom %1$s"
|
3130 |
msgstr ""
|
3131 |
|
3132 |
-
#: includes/class-mla-options.php:
|
3133 |
#: includes/mla-main-search-box-template.php:60
|
3134 |
#: includes/mla-media-modal-js-template.php:32
|
3135 |
msgid "and"
|
3136 |
msgstr ""
|
3137 |
|
3138 |
-
#: includes/class-mla-options.php:
|
3139 |
#: includes/mla-main-search-box-template.php:61
|
3140 |
#: includes/mla-media-modal-js-template.php:36
|
3141 |
msgid "or"
|
3142 |
msgstr ""
|
3143 |
|
3144 |
-
#: includes/class-mla-options.php:
|
3145 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3146 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3147 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
3148 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
3149 |
#: includes/class-mla-settings-shortcodes-tab.php:401
|
3150 |
#: includes/class-mla-settings-shortcodes-tab.php:472
|
3151 |
#: includes/mla-main-search-box-template.php:49
|
@@ -3153,607 +3157,347 @@ msgstr ""
|
|
3153 |
msgid "Name"
|
3154 |
msgstr ""
|
3155 |
|
3156 |
-
#: includes/class-mla-options.php:
|
3157 |
#: includes/mla-main-search-box-template.php:57
|
3158 |
#: includes/mla-media-modal-js-template.php:61
|
3159 |
msgid "File"
|
3160 |
msgstr ""
|
3161 |
|
3162 |
-
#: includes/class-mla-options.php:
|
3163 |
#: includes/mla-main-search-box-template.php:58
|
3164 |
#: includes/mla-media-modal-js-template.php:66
|
3165 |
msgid "Terms"
|
3166 |
msgstr ""
|
3167 |
|
3168 |
-
#: includes/class-mla-options.php:
|
3169 |
-
#: includes/class-mla-options.php:
|
3170 |
#: includes/class-mla-settings-upload-tab.php:128
|
3171 |
msgid "None (select a value)"
|
3172 |
msgstr ""
|
3173 |
|
3174 |
-
#: includes/class-mla-options.php:
|
3175 |
msgid "Metadata (see below)"
|
3176 |
msgstr ""
|
3177 |
|
3178 |
-
#: includes/class-mla-options.php:
|
3179 |
msgid "Template (see below)"
|
3180 |
msgstr ""
|
3181 |
|
3182 |
-
#: includes/class-mla-options.php:
|
3183 |
#, php-format
|
3184 |
msgid "%1$s: New field %2$s already exists."
|
3185 |
msgstr ""
|
3186 |
|
3187 |
-
#: includes/class-mla-options.php:
|
3188 |
#, php-format
|
3189 |
msgid "Adding new field %1$s."
|
3190 |
msgstr ""
|
3191 |
|
3192 |
-
#: includes/class-mla-options.php:
|
3193 |
#, php-format
|
3194 |
msgid "Adding new rule for %1$s."
|
3195 |
msgstr ""
|
3196 |
|
3197 |
-
#: includes/class-mla-options.php:
|
3198 |
-
#: includes/class-mla-options.php:
|
3199 |
#, php-format
|
3200 |
msgid "Deleting rule for %1$s."
|
3201 |
msgstr ""
|
3202 |
|
3203 |
-
#: includes/class-mla-options.php:
|
3204 |
-
#: includes/class-mla-options.php:
|
3205 |
-
#: includes/class-mla-options.php:
|
3206 |
-
#: includes/class-mla-options.php:
|
3207 |
-
#: includes/class-mla-options.php:
|
3208 |
-
#: includes/class-mla-options.php:
|
3209 |
-
#: includes/class-mla-options.php:
|
3210 |
-
#: includes/class-mla-options.php:
|
3211 |
#, php-format
|
3212 |
msgid "%1$s changing %2$s from %3$s to %4$s."
|
3213 |
msgstr ""
|
3214 |
|
3215 |
-
#: includes/class-mla-options.php:
|
3216 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3217 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3218 |
msgid "Data Source"
|
3219 |
msgstr ""
|
3220 |
|
3221 |
-
#: includes/class-mla-options.php:
|
3222 |
-
#: includes/class-mla-options.php:
|
3223 |
msgid "Replace to Keep"
|
3224 |
msgstr ""
|
3225 |
|
3226 |
-
#: includes/class-mla-options.php:
|
3227 |
-
#: includes/class-mla-options.php:
|
3228 |
msgid "Keep to Replace"
|
3229 |
msgstr ""
|
3230 |
|
3231 |
-
#: includes/class-mla-options.php:
|
3232 |
-
#: includes/class-mla-options.php:
|
3233 |
-
#: includes/class-mla-options.php:
|
3234 |
-
#: includes/class-mla-options.php:
|
3235 |
-
#: includes/class-mla-options.php:
|
3236 |
-
#: includes/class-mla-options.php:
|
3237 |
#, php-format
|
3238 |
msgid "%1$s changing %2$s value from %3$s."
|
3239 |
msgstr ""
|
3240 |
|
3241 |
-
#: includes/class-mla-options.php:
|
3242 |
-
#: includes/class-mla-options.php:
|
3243 |
-
#: includes/class-mla-
|
3244 |
-
#: includes/class-mla-
|
3245 |
-
#: includes/class-mla-settings-
|
3246 |
-
#: includes/class-mla-settings-
|
3247 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:469
|
3248 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:831
|
3249 |
msgid "Existing Text"
|
3250 |
msgstr ""
|
3251 |
|
3252 |
-
#: includes/class-mla-options.php:
|
3253 |
-
#: includes/class-mla-
|
3254 |
-
#: includes/class-mla-
|
3255 |
-
#: includes/class-mla-settings-
|
3256 |
-
#: includes/class-mla-settings-
|
3257 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:484
|
3258 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:839
|
3259 |
msgid "Format"
|
3260 |
msgstr ""
|
3261 |
|
3262 |
-
#: includes/class-mla-options.php:
|
3263 |
-
#: includes/class-mla-options.php:
|
3264 |
-
#: includes/class-mla-options.php:
|
3265 |
msgid "unchecked to checked"
|
3266 |
msgstr ""
|
3267 |
|
3268 |
-
#: includes/class-mla-options.php:
|
3269 |
-
#: includes/class-mla-options.php:
|
3270 |
-
#: includes/class-mla-options.php:
|
3271 |
msgid "checked to unchecked"
|
3272 |
msgstr ""
|
3273 |
|
3274 |
-
#: includes/class-mla-options.php:
|
3275 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3276 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3277 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3278 |
msgid "MLA Column"
|
3279 |
msgstr ""
|
3280 |
|
3281 |
-
#: includes/class-mla-options.php:
|
3282 |
msgid "Metavalue name"
|
3283 |
msgstr ""
|
3284 |
|
3285 |
-
#: includes/class-mla-options.php:
|
3286 |
-
#: includes/class-mla-
|
3287 |
-
#: includes/class-mla-
|
3288 |
-
#: includes/class-mla-
|
3289 |
-
#: includes/class-mla-settings-
|
3290 |
-
#: includes/class-mla-settings-custom-fields-tab.php:765
|
3291 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:491
|
3292 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:846
|
3293 |
msgid "Option"
|
3294 |
msgstr ""
|
3295 |
|
3296 |
-
#: includes/class-mla-options.php:
|
3297 |
-
#: includes/class-mla-
|
3298 |
-
#: includes/class-mla-options.php:2398 includes/class-mla-options.php:2694
|
3299 |
-
#: includes/class-mla-options.php:2789 includes/class-mla-options.php:2835
|
3300 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:503
|
3301 |
msgid "Delete NULL values"
|
3302 |
msgstr ""
|
3303 |
|
3304 |
-
#: includes/class-mla-options.php:
|
3305 |
-
|
|
|
3306 |
msgstr ""
|
3307 |
|
3308 |
-
#: includes/class-mla-options.php:
|
3309 |
-
|
3310 |
-
#: includes/class-mla-options.php:2552 includes/class-mla-options.php:2672
|
3311 |
-
#: includes/class-mla-options.php:2767 includes/class-mla-options.php:2813
|
3312 |
-
#: includes/class-mla-settings-custom-fields-tab.php:473
|
3313 |
-
#: includes/class-mla-settings-custom-fields-tab.php:755
|
3314 |
-
#: includes/class-mla-settings-custom-fields-tab.php:1475
|
3315 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:471
|
3316 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:833
|
3317 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:1535
|
3318 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:2356
|
3319 |
-
#: includes/class-mla-thumbnail-generation.php:631
|
3320 |
-
msgid "Keep"
|
3321 |
msgstr ""
|
3322 |
|
3323 |
-
#: includes/class-mla-options.php:
|
3324 |
-
#: includes/class-mla-options.php:
|
3325 |
-
#: includes/class-mla-
|
3326 |
-
#: includes/class-mla-settings-
|
3327 |
-
|
3328 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:486
|
3329 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:841
|
3330 |
-
msgid "Native"
|
3331 |
msgstr ""
|
3332 |
|
3333 |
-
#: includes/class-mla-options.php:
|
3334 |
-
#: includes/class-mla-options.php:
|
3335 |
-
|
3336 |
-
#: includes/class-mla-settings-custom-fields-tab.php:480
|
3337 |
-
#: includes/class-mla-settings-custom-fields-tab.php:762
|
3338 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:488
|
3339 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:843
|
3340 |
-
msgid "Commas"
|
3341 |
msgstr ""
|
3342 |
|
3343 |
-
#: includes/class-mla-options.php:
|
3344 |
-
#: includes/class-mla-options.php:
|
3345 |
-
|
3346 |
-
#: includes/class-mla-settings-custom-fields-tab.php:482
|
3347 |
-
#: includes/class-mla-settings-custom-fields-tab.php:764
|
3348 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:490
|
3349 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:845
|
3350 |
-
msgid "Raw"
|
3351 |
msgstr ""
|
3352 |
|
3353 |
-
#: includes/class-mla-options.php:
|
3354 |
-
#: includes/class-mla-options.php:
|
3355 |
-
|
3356 |
-
#: includes/class-mla-settings-custom-fields-tab.php:485
|
3357 |
-
#: includes/class-mla-settings-custom-fields-tab.php:767
|
3358 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:493
|
3359 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:848
|
3360 |
-
msgid "Text"
|
3361 |
msgstr ""
|
3362 |
|
3363 |
-
#: includes/class-mla-options.php:
|
3364 |
-
#: includes/class-mla-options.php:
|
3365 |
-
#: includes/class-mla-
|
3366 |
-
#: includes/class-mla-settings-custom-fields-tab.php:487
|
3367 |
-
#: includes/class-mla-settings-custom-fields-tab.php:769
|
3368 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:495
|
3369 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:850
|
3370 |
-
msgid "Single"
|
3371 |
-
msgstr ""
|
3372 |
-
|
3373 |
-
#: includes/class-mla-options.php:1257 includes/class-mla-options.php:1356
|
3374 |
-
#: includes/class-mla-options.php:1400 includes/class-mla-options.php:2688
|
3375 |
-
#: includes/class-mla-options.php:2783 includes/class-mla-options.php:2829
|
3376 |
-
#: includes/class-mla-settings-custom-fields-tab.php:489
|
3377 |
-
#: includes/class-mla-settings-custom-fields-tab.php:771
|
3378 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:497
|
3379 |
#: includes/class-mla-settings-iptc-exif-tab.php:852
|
3380 |
-
msgid "Export"
|
3381 |
-
msgstr ""
|
3382 |
-
|
3383 |
-
#: includes/class-mla-options.php:1259 includes/class-mla-options.php:1358
|
3384 |
-
#: includes/class-mla-options.php:1402 includes/class-mla-options.php:2690
|
3385 |
-
#: includes/class-mla-options.php:2785 includes/class-mla-options.php:2831
|
3386 |
-
#: includes/class-mla-settings-custom-fields-tab.php:491
|
3387 |
-
#: includes/class-mla-settings-custom-fields-tab.php:773
|
3388 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:499
|
3389 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:854
|
3390 |
-
msgid "Array"
|
3391 |
-
msgstr ""
|
3392 |
-
|
3393 |
-
#: includes/class-mla-options.php:1261 includes/class-mla-options.php:1360
|
3394 |
-
#: includes/class-mla-options.php:1404 includes/class-mla-options.php:2692
|
3395 |
-
#: includes/class-mla-options.php:2787 includes/class-mla-options.php:2833
|
3396 |
-
#: includes/class-mla-settings-custom-fields-tab.php:493
|
3397 |
-
#: includes/class-mla-settings-custom-fields-tab.php:775
|
3398 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:501
|
3399 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:856
|
3400 |
-
msgid "Multi"
|
3401 |
-
msgstr ""
|
3402 |
-
|
3403 |
-
#: includes/class-mla-options.php:1264 includes/class-mla-options.php:2695
|
3404 |
-
msgid "Delete Rule"
|
3405 |
-
msgstr ""
|
3406 |
-
|
3407 |
-
#: includes/class-mla-options.php:1265 includes/class-mla-options.php:2696
|
3408 |
-
msgid "Delete Rule AND Field"
|
3409 |
-
msgstr ""
|
3410 |
-
|
3411 |
-
#: includes/class-mla-options.php:1266 includes/class-mla-options.php:2697
|
3412 |
-
msgid "Update Rule"
|
3413 |
-
msgstr ""
|
3414 |
-
|
3415 |
-
#: includes/class-mla-options.php:1267 includes/class-mla-options.php:2698
|
3416 |
-
#: includes/class-mla-settings-custom-fields-tab.php:1326
|
3417 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:1403
|
3418 |
-
msgid "Map All Attachments"
|
3419 |
-
msgstr ""
|
3420 |
-
|
3421 |
-
#: includes/class-mla-options.php:1331 includes/class-mla-options.php:2756
|
3422 |
-
msgid "Add a new Mapping Rule"
|
3423 |
-
msgstr ""
|
3424 |
-
|
3425 |
-
#: includes/class-mla-options.php:1363 includes/class-mla-options.php:2790
|
3426 |
-
#: includes/class-mla-settings-custom-fields-tab.php:784
|
3427 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:865
|
3428 |
-
msgid "Add Rule"
|
3429 |
-
msgstr ""
|
3430 |
-
|
3431 |
-
#: includes/class-mla-options.php:1364 includes/class-mla-options.php:2791
|
3432 |
-
msgid "Add Rule and Map All Attachments"
|
3433 |
-
msgstr ""
|
3434 |
-
|
3435 |
-
#: includes/class-mla-options.php:1375 includes/class-mla-options.php:2802
|
3436 |
-
msgid "Add a new Field and Mapping Rule"
|
3437 |
-
msgstr ""
|
3438 |
-
|
3439 |
-
#: includes/class-mla-options.php:1407 includes/class-mla-options.php:2836
|
3440 |
-
msgid "Add Field"
|
3441 |
-
msgstr ""
|
3442 |
-
|
3443 |
-
#: includes/class-mla-options.php:1408 includes/class-mla-options.php:2837
|
3444 |
-
msgid "Add Field and Map All Attachments"
|
3445 |
-
msgstr ""
|
3446 |
-
|
3447 |
-
#: includes/class-mla-options.php:1413 includes/class-mla-options.php:2076
|
3448 |
-
#: includes/class-mla-options.php:2519 includes/class-mla-options.php:2609
|
3449 |
-
#: includes/class-mla-options.php:2842
|
3450 |
-
msgid "Field Title"
|
3451 |
-
msgstr ""
|
3452 |
-
|
3453 |
-
#: includes/class-mla-options.php:1438
|
3454 |
-
msgid "Custom field mapping rules updated."
|
3455 |
-
msgstr ""
|
3456 |
-
|
3457 |
-
#: includes/class-mla-options.php:1440
|
3458 |
-
msgid "Custom field mapping rules update failed."
|
3459 |
-
msgstr ""
|
3460 |
-
|
3461 |
-
#: includes/class-mla-options.php:1443
|
3462 |
-
msgid "Custom field no mapping rule changes detected."
|
3463 |
-
msgstr ""
|
3464 |
-
|
3465 |
-
#: includes/class-mla-options.php:1451
|
3466 |
-
msgid "Custom field mapping settings saved."
|
3467 |
-
msgstr ""
|
3468 |
-
|
3469 |
-
#: includes/class-mla-options.php:1453
|
3470 |
-
msgid "Custom field mapping settings reset failed."
|
3471 |
-
msgstr ""
|
3472 |
-
|
3473 |
-
#: includes/class-mla-options.php:2064
|
3474 |
-
#, php-format
|
3475 |
-
msgid "%1$s: No old values for %2$s."
|
3476 |
-
msgstr ""
|
3477 |
-
|
3478 |
-
#: includes/class-mla-options.php:2083 includes/class-mla-options.php:2185
|
3479 |
-
#: includes/class-mla-options.php:2335 includes/class-mla-options.php:2520
|
3480 |
-
#: includes/class-mla-options.php:2610 includes/class-mla-options.php:2843
|
3481 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:458
|
3482 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:820
|
3483 |
-
msgid "IPTC Value"
|
3484 |
-
msgstr ""
|
3485 |
-
|
3486 |
-
#: includes/class-mla-options.php:2090 includes/class-mla-options.php:2192
|
3487 |
-
#: includes/class-mla-options.php:2342
|
3488 |
-
msgid "EXIF Value"
|
3489 |
-
msgstr ""
|
3490 |
-
|
3491 |
-
#: includes/class-mla-options.php:2096 includes/class-mla-options.php:2198
|
3492 |
-
#: includes/class-mla-options.php:2348
|
3493 |
-
msgid "EXIF to IPTC"
|
3494 |
-
msgstr ""
|
3495 |
-
|
3496 |
-
#: includes/class-mla-options.php:2099 includes/class-mla-options.php:2201
|
3497 |
-
#: includes/class-mla-options.php:2351
|
3498 |
-
msgid "IPTC to EXIF"
|
3499 |
-
msgstr ""
|
3500 |
-
|
3501 |
-
#: includes/class-mla-options.php:2104 includes/class-mla-options.php:2206
|
3502 |
-
#: includes/class-mla-options.php:2356 includes/class-mla-options.php:2522
|
3503 |
-
#: includes/class-mla-options.php:2612 includes/class-mla-options.php:2845
|
3504 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:464
|
3505 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:826
|
3506 |
msgid "Priority"
|
3507 |
msgstr ""
|
3508 |
|
3509 |
-
#: includes/class-mla-options.php:
|
3510 |
msgid "Delimiter(s)"
|
3511 |
msgstr ""
|
3512 |
|
3513 |
-
#: includes/class-mla-
|
3514 |
-
#: includes/class-mla-options.php:2668 includes/class-mla-options.php:2763
|
3515 |
-
#: includes/class-mla-options.php:2809
|
3516 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:466
|
3517 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:828
|
3518 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:1519
|
3519 |
-
msgid "IPTC"
|
3520 |
-
msgstr ""
|
3521 |
-
|
3522 |
-
#: includes/class-mla-options.php:2496 includes/class-mla-options.php:2550
|
3523 |
-
#: includes/class-mla-options.php:2670 includes/class-mla-options.php:2765
|
3524 |
-
#: includes/class-mla-options.php:2811
|
3525 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:468
|
3526 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:830
|
3527 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:1522
|
3528 |
-
msgid "EXIF"
|
3529 |
-
msgstr ""
|
3530 |
-
|
3531 |
-
#: includes/class-mla-options.php:2521 includes/class-mla-options.php:2611
|
3532 |
-
#: includes/class-mla-options.php:2844
|
3533 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:460
|
3534 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:822
|
3535 |
-
msgid "EXIF/Template Value"
|
3536 |
-
msgstr ""
|
3537 |
-
|
3538 |
-
#: includes/class-mla-options.php:2854
|
3539 |
-
#, php-format
|
3540 |
-
msgid "%1$s: Render unknown custom %2$s."
|
3541 |
-
msgstr ""
|
3542 |
-
|
3543 |
-
#: includes/class-mla-options.php:2898
|
3544 |
-
#, php-format
|
3545 |
-
msgid "%1$s: Update/delete unknown custom %2$s."
|
3546 |
-
msgstr ""
|
3547 |
-
|
3548 |
-
#: includes/class-mla-options.php:2904
|
3549 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:138
|
3550 |
-
msgid "IPTC/EXIF mapping settings updated."
|
3551 |
-
msgstr ""
|
3552 |
-
|
3553 |
-
#: includes/class-mla-options.php:2906
|
3554 |
-
msgid "IPTC/EXIF settings update failed."
|
3555 |
-
msgstr ""
|
3556 |
-
|
3557 |
-
#: includes/class-mla-options.php:2909
|
3558 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:140
|
3559 |
-
msgid "IPTC/EXIF no mapping changes detected."
|
3560 |
-
msgstr ""
|
3561 |
-
|
3562 |
-
#: includes/class-mla-options.php:2920 includes/class-mla-options.php:2930
|
3563 |
-
#: includes/class-mla-options.php:2940
|
3564 |
-
#: includes/class-mla-settings-shortcodes-tab.php:319
|
3565 |
-
#, php-format
|
3566 |
-
msgid "%1$s settings saved."
|
3567 |
-
msgstr ""
|
3568 |
-
|
3569 |
-
#: includes/class-mla-options.php:2920 includes/class-mla-options.php:2923
|
3570 |
-
msgid "Standard field"
|
3571 |
-
msgstr ""
|
3572 |
-
|
3573 |
-
#: includes/class-mla-options.php:2923 includes/class-mla-options.php:2933
|
3574 |
-
#: includes/class-mla-options.php:2943
|
3575 |
-
#, php-format
|
3576 |
-
msgid "%1$s: IPTC/EXIF %2$s settings update failed."
|
3577 |
-
msgstr ""
|
3578 |
-
|
3579 |
-
#: includes/class-mla-options.php:2930 includes/class-mla-options.php:2933
|
3580 |
-
msgid "Taxonomy term"
|
3581 |
-
msgstr ""
|
3582 |
-
|
3583 |
-
#: includes/class-mla-options.php:2940 includes/class-mla-options.php:2943
|
3584 |
-
#: includes/class-mla-settings-custom-fields-tab.php:200
|
3585 |
-
#: includes/class-mla-settings-custom-fields-tab.php:203
|
3586 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:203
|
3587 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:206
|
3588 |
-
msgid "Custom field"
|
3589 |
-
msgstr ""
|
3590 |
-
|
3591 |
-
#: includes/class-mla-options.php:2951
|
3592 |
-
#, php-format
|
3593 |
-
msgid "%1$s: Reset unknown custom %2$s"
|
3594 |
-
msgstr ""
|
3595 |
-
|
3596 |
-
#: includes/class-mla-polylang-support.php:249
|
3597 |
msgid "ERROR: No post ID found"
|
3598 |
msgstr ""
|
3599 |
|
3600 |
-
#: includes/class-mla-polylang-support.php:
|
3601 |
msgid "Error while saving the translations."
|
3602 |
msgstr ""
|
3603 |
|
3604 |
-
#: includes/class-mla-polylang-support.php:
|
3605 |
msgid "Remove From Bulk Translate"
|
3606 |
msgstr ""
|
3607 |
|
3608 |
-
#: includes/class-mla-polylang-support.php:
|
3609 |
msgid "Bulk Translate items"
|
3610 |
msgstr ""
|
3611 |
|
3612 |
-
#: includes/class-mla-polylang-support.php:
|
3613 |
msgid "Add new"
|
3614 |
msgstr ""
|
3615 |
|
3616 |
-
#: includes/class-mla-polylang-support.php:
|
3617 |
-
#: includes/class-mla-polylang-support.php:
|
3618 |
msgid "Bulk Translations"
|
3619 |
msgstr ""
|
3620 |
|
3621 |
-
#: includes/class-mla-polylang-support.php:
|
3622 |
msgid "Translate"
|
3623 |
msgstr ""
|
3624 |
|
3625 |
-
#: includes/class-mla-polylang-support.php:
|
3626 |
msgid "All Languages"
|
3627 |
msgstr ""
|
3628 |
|
3629 |
-
#: includes/class-mla-polylang-support.php:
|
3630 |
-
#: includes/class-mla-polylang-support.php:
|
3631 |
-
#: includes/class-mla-polylang-support.php:
|
3632 |
msgid "Quick Translate"
|
3633 |
msgstr ""
|
3634 |
|
3635 |
-
#: includes/class-mla-polylang-support.php:
|
3636 |
msgid "Set Language"
|
3637 |
msgstr ""
|
3638 |
|
3639 |
-
#: includes/class-mla-polylang-support.php:
|
3640 |
-
#: includes/class-mla-polylang-support.php:
|
3641 |
msgid "Bulk Translate"
|
3642 |
msgstr ""
|
3643 |
|
3644 |
-
#: includes/class-mla-polylang-support.php:
|
3645 |
msgid "Add or Modify Translation"
|
3646 |
msgstr ""
|
3647 |
|
3648 |
-
#: includes/class-mla-polylang-support.php:
|
3649 |
-
#: includes/class-mla-polylang-support.php:
|
3650 |
-
#: includes/class-mla-polylang-support.php:
|
3651 |
-
#: includes/class-mla-polylang-support.php:
|
3652 |
-
#: includes/class-mla-wpml-support.php:
|
3653 |
-
#: includes/class-mla-wpml-support.php:
|
3654 |
-
#: includes/class-mla-wpml-support.php:
|
3655 |
msgid "Language"
|
3656 |
msgstr ""
|
3657 |
|
3658 |
-
#: includes/class-mla-polylang-support.php:
|
3659 |
#: includes/class-mla-thumbnail-generation.php:637
|
3660 |
msgid "Options"
|
3661 |
msgstr ""
|
3662 |
|
3663 |
-
#: includes/class-mla-polylang-support.php:
|
3664 |
msgid "Translate this item inline"
|
3665 |
msgstr ""
|
3666 |
|
3667 |
-
#: includes/class-mla-polylang-support.php:
|
3668 |
-
#: includes/class-mla-polylang-support.php:
|
3669 |
-
#: includes/class-mla-wpml-support.php:
|
3670 |
-
#: includes/class-mla-wpml-support.php:
|
3671 |
msgid "Media/Assistant submenu table"
|
3672 |
msgstr ""
|
3673 |
|
3674 |
-
#: includes/class-mla-polylang-support.php:
|
3675 |
-
#: includes/class-mla-wpml-support.php:
|
3676 |
msgid "Language Column"
|
3677 |
msgstr ""
|
3678 |
|
3679 |
-
#: includes/class-mla-polylang-support.php:
|
3680 |
-
#: includes/class-mla-wpml-support.php:
|
3681 |
msgid ""
|
3682 |
"Check this option to add a Language column to the Media/Assistant submenu "
|
3683 |
"table."
|
3684 |
msgstr ""
|
3685 |
|
3686 |
-
#: includes/class-mla-polylang-support.php:
|
3687 |
-
#: includes/class-mla-wpml-support.php:
|
3688 |
msgid "Translations Column"
|
3689 |
msgstr ""
|
3690 |
|
3691 |
-
#: includes/class-mla-polylang-support.php:
|
3692 |
-
#: includes/class-mla-wpml-support.php:
|
3693 |
msgid ""
|
3694 |
"Check this option to add a Translation Status column to the Media/Assistant "
|
3695 |
"submenu table."
|
3696 |
msgstr ""
|
3697 |
|
3698 |
-
#: includes/class-mla-polylang-support.php:
|
3699 |
msgid ""
|
3700 |
"Check this option to add a Quick Translate rollover action to the Media/"
|
3701 |
"Assistant submenu table."
|
3702 |
msgstr ""
|
3703 |
|
3704 |
-
#: includes/class-mla-polylang-support.php:
|
3705 |
msgid ""
|
3706 |
"Check this option to add \"Translate\" to the \"Bulk Actions\" control on "
|
3707 |
"the Media/Assistant submenu table."
|
3708 |
msgstr ""
|
3709 |
|
3710 |
-
#: includes/class-mla-polylang-support.php:
|
3711 |
-
#: includes/class-mla-polylang-support.php:
|
3712 |
-
#: includes/class-mla-wpml-support.php:
|
3713 |
-
#: includes/class-mla-wpml-support.php:
|
3714 |
msgid "Term Management"
|
3715 |
msgstr ""
|
3716 |
|
3717 |
-
#: includes/class-mla-polylang-support.php:
|
3718 |
-
#: includes/class-mla-wpml-support.php:
|
3719 |
msgid "Term Assignment"
|
3720 |
msgstr ""
|
3721 |
|
3722 |
-
#: includes/class-mla-polylang-support.php:
|
3723 |
-
#: includes/class-mla-wpml-support.php:
|
3724 |
msgid ""
|
3725 |
"Check this option to assign language-specific terms when items are updated."
|
3726 |
msgstr ""
|
3727 |
|
3728 |
-
#: includes/class-mla-polylang-support.php:
|
3729 |
-
#: includes/class-mla-wpml-support.php:
|
3730 |
msgid "Term Synchronization"
|
3731 |
msgstr ""
|
3732 |
|
3733 |
-
#: includes/class-mla-polylang-support.php:
|
3734 |
-
#: includes/class-mla-wpml-support.php:
|
3735 |
msgid ""
|
3736 |
"Check this option to synchronize common terms among all item translations."
|
3737 |
msgstr ""
|
3738 |
|
3739 |
-
#: includes/class-mla-polylang-support.php:
|
3740 |
-
#: includes/class-mla-wpml-support.php:
|
3741 |
msgid "Term Mapping Replication"
|
3742 |
msgstr ""
|
3743 |
|
3744 |
-
#: includes/class-mla-polylang-support.php:
|
3745 |
-
#: includes/class-mla-wpml-support.php:
|
3746 |
msgid ""
|
3747 |
"When mapping IPTC/EXIF metadata to taxonomy terms, make them available in "
|
3748 |
"all languages."
|
3749 |
msgstr ""
|
3750 |
|
3751 |
-
#: includes/class-mla-polylang-support.php:
|
3752 |
-
#: includes/class-mla-wpml-support.php:
|
3753 |
msgid "Language Options"
|
3754 |
msgstr ""
|
3755 |
|
3756 |
-
#: includes/class-mla-polylang-support.php:
|
3757 |
#, php-format
|
3758 |
msgid ""
|
3759 |
"In this tab you can find a number of options for controlling Polylang-"
|
@@ -3762,64 +3506,66 @@ msgid ""
|
|
3762 |
"make."
|
3763 |
msgstr ""
|
3764 |
|
3765 |
-
#: includes/class-mla-polylang-support.php:
|
3766 |
-
#: includes/class-mla-wpml-support.php:
|
3767 |
#, php-format
|
3768 |
msgid ""
|
3769 |
"You can find more information about multilingual features in the %1$s "
|
3770 |
"section of the Documentation."
|
3771 |
msgstr ""
|
3772 |
|
3773 |
-
#: includes/class-mla-polylang-support.php:
|
3774 |
-
#: includes/class-mla-wpml-support.php:
|
3775 |
msgid "Language Options documentation"
|
3776 |
msgstr ""
|
3777 |
|
3778 |
-
#: includes/class-mla-polylang-support.php:
|
3779 |
-
#: includes/class-mla-wpml-support.php:
|
3780 |
msgid "WPML & Polylang Multilingual Support; the MLA Language Tab"
|
3781 |
msgstr ""
|
3782 |
|
3783 |
-
#: includes/class-mla-polylang-support.php:
|
3784 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3785 |
-
#: includes/class-mla-settings-
|
|
|
|
|
3786 |
#: includes/class-mla-settings-shortcodes-tab.php:713
|
3787 |
#: includes/class-mla-settings-upload-tab.php:480
|
3788 |
#: includes/class-mla-settings-upload-tab.php:530
|
3789 |
#: includes/class-mla-settings-view-tab.php:320
|
3790 |
#: includes/class-mla-settings-view-tab.php:372
|
3791 |
-
#: includes/class-mla-settings.php:
|
3792 |
-
#: includes/class-mla-settings.php:
|
3793 |
-
#: includes/class-mla-wpml-support.php:
|
3794 |
msgid "Save Changes"
|
3795 |
msgstr ""
|
3796 |
|
3797 |
-
#: includes/class-mla-polylang-support.php:
|
3798 |
-
#: includes/class-mla-wpml-support.php:
|
3799 |
msgid "Delete Language options and restore default settings"
|
3800 |
msgstr ""
|
3801 |
|
3802 |
-
#: includes/class-mla-polylang-support.php:
|
3803 |
-
#: includes/class-mla-settings.php:
|
3804 |
-
#: includes/class-mla-wpml-support.php:
|
3805 |
msgid "Go to Top"
|
3806 |
msgstr ""
|
3807 |
|
3808 |
-
#: includes/class-mla-polylang-support.php:
|
3809 |
-
#: includes/class-mla-wpml-support.php:
|
3810 |
msgid "Language settings saved."
|
3811 |
msgstr ""
|
3812 |
|
3813 |
-
#: includes/class-mla-polylang-support.php:
|
3814 |
-
#: includes/class-mla-settings.php:
|
3815 |
-
#: includes/class-mla-wpml-support.php:
|
3816 |
#, php-format
|
3817 |
msgctxt "message_list"
|
3818 |
msgid "delete_option \"%1$s\""
|
3819 |
msgstr ""
|
3820 |
|
3821 |
-
#: includes/class-mla-polylang-support.php:
|
3822 |
-
#: includes/class-mla-wpml-support.php:
|
3823 |
msgid "Language settings reset to default values."
|
3824 |
msgstr ""
|
3825 |
|
@@ -3861,201 +3607,275 @@ msgstr ""
|
|
3861 |
msgid "PAUSED"
|
3862 |
msgstr ""
|
3863 |
|
3864 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3865 |
msgid "Custom field mapping settings updated."
|
3866 |
msgstr ""
|
3867 |
|
3868 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3869 |
msgid "Custom field no mapping changes detected."
|
3870 |
msgstr ""
|
3871 |
|
3872 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3873 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
3874 |
msgid "No custom field mapping rules to process."
|
3875 |
msgstr ""
|
3876 |
|
3877 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3878 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
3879 |
#, php-format
|
3880 |
msgid "%1$s mapping completed; %2$d attachment(s) examined, %3$d updated."
|
3881 |
msgstr ""
|
3882 |
|
3883 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3884 |
-
#: includes/class-mla-settings-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3885 |
#, php-format
|
3886 |
msgid ""
|
3887 |
"%1$s mapping completed; %2$d attachment(s) examined, no changes detected."
|
3888 |
msgstr ""
|
3889 |
|
3890 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3891 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
3892 |
msgid ": No custom field name selected/entered"
|
3893 |
msgstr ""
|
3894 |
|
3895 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3896 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3897 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
3898 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
3899 |
msgid ": Rule already exists for the new name"
|
3900 |
msgstr ""
|
3901 |
|
3902 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3903 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
3904 |
msgid "Rule added"
|
3905 |
msgstr ""
|
3906 |
|
3907 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3908 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
3909 |
msgid ": Rule addition failed"
|
3910 |
msgstr ""
|
3911 |
|
3912 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3913 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
3914 |
msgid ": Invalid rule name must be changed"
|
3915 |
msgstr ""
|
3916 |
|
3917 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3918 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3919 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3920 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
3921 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
3922 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
3923 |
msgid ": Rule update failed"
|
3924 |
msgstr ""
|
3925 |
|
3926 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3927 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3928 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
3929 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
3930 |
msgid "Rule updated"
|
3931 |
msgstr ""
|
3932 |
|
3933 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3934 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
3935 |
#, php-format
|
3936 |
msgid "Custom Field Rule \"%1$s\" deleted."
|
3937 |
msgstr ""
|
3938 |
|
3939 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3940 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
3941 |
msgid "Edit Rule"
|
3942 |
msgstr ""
|
3943 |
|
3944 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3945 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
3946 |
msgid ""
|
3947 |
"This is the name of the custom field to which the rule applies.<br>Only one "
|
3948 |
"rule is allowed for each custom field."
|
3949 |
msgstr ""
|
3950 |
|
3951 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3952 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
3953 |
msgid "Change Name"
|
3954 |
msgstr ""
|
3955 |
|
3956 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3957 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
3958 |
msgid "Cancel Name Change"
|
3959 |
msgstr ""
|
3960 |
|
3961 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3962 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3963 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
3964 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
3965 |
msgid "Enter new field"
|
3966 |
msgstr ""
|
3967 |
|
3968 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3969 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3970 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
3971 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
3972 |
msgid "Cancel new field"
|
3973 |
msgstr ""
|
3974 |
|
3975 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3976 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3977 |
msgid "Meta/Template"
|
3978 |
msgstr ""
|
3979 |
|
3980 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3981 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3982 |
msgid "WordPress attachment metadata element or Content Template"
|
3983 |
msgstr ""
|
3984 |
|
3985 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3986 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3987 |
msgid "Display as Media/Assistant column"
|
3988 |
msgstr ""
|
3989 |
|
3990 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3991 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3992 |
msgid "Add to Media/Assistant Quick Edit area"
|
3993 |
msgstr ""
|
3994 |
|
3995 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3996 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3997 |
msgid "Add to Media/Assistant Bulk Edit area"
|
3998 |
msgstr ""
|
3999 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4000 |
#: includes/class-mla-settings-custom-fields-tab.php:495
|
4001 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
4002 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4003 |
msgid "Delete NULL Values"
|
4004 |
msgstr ""
|
4005 |
|
4006 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
4007 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
4008 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4009 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4010 |
msgid "Do not store empty custom field values"
|
4011 |
msgstr ""
|
4012 |
|
4013 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
4014 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
4015 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
4016 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
4017 |
#: includes/class-mla-settings-documentation-tab.php:1217
|
4018 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4019 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4020 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4021 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4022 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4023 |
#: includes/class-mla-settings-upload-tab.php:554
|
4024 |
#: includes/class-mla-settings-upload-tab.php:1036
|
4025 |
msgid "Active"
|
4026 |
msgstr ""
|
4027 |
|
4028 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
4029 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
4030 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
4031 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
4032 |
#: includes/class-mla-settings-documentation-tab.php:1219
|
4033 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4034 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4035 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4036 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4037 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4038 |
#: includes/class-mla-settings-upload-tab.php:172
|
4039 |
#: includes/class-mla-settings-upload-tab.php:540
|
4040 |
#: includes/class-mla-settings-upload-tab.php:1034
|
4041 |
msgid "Inactive"
|
4042 |
msgstr ""
|
4043 |
|
4044 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
4045 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4046 |
#, php-format
|
4047 |
msgid "Custom Field Rule \"%1$s\": %2$s"
|
4048 |
msgstr ""
|
4049 |
|
4050 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
4051 |
msgid "Edit Custom Field Rule cancelled."
|
4052 |
msgstr ""
|
4053 |
|
4054 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
4055 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
4056 |
#: includes/class-mla-settings-documentation-tab.php:237
|
4057 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4058 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4059 |
#: includes/class-mla-settings-shortcodes-tab.php:552
|
4060 |
#: includes/class-mla-settings-upload-tab.php:400
|
4061 |
#: includes/class-mla-settings-view-tab.php:244
|
@@ -4063,48 +3883,52 @@ msgstr ""
|
|
4063 |
msgid "Unknown bulk action %1$s"
|
4064 |
msgstr ""
|
4065 |
|
4066 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
|
|
|
|
|
|
|
|
4067 |
msgid "Custom Field Mapping Progress"
|
4068 |
msgstr ""
|
4069 |
|
4070 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
4071 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4072 |
msgid "DO NOT DO THE FOLLOWING (they will cause mapping to fail)"
|
4073 |
msgstr ""
|
4074 |
|
4075 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
4076 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4077 |
msgid "Close the window"
|
4078 |
msgstr ""
|
4079 |
|
4080 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
4081 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4082 |
msgid "Reload the page"
|
4083 |
msgstr ""
|
4084 |
|
4085 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
4086 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4087 |
msgid "Click the browser’s Stop, Back or forward buttons"
|
4088 |
msgstr ""
|
4089 |
|
4090 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
4091 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4092 |
msgid "Progress"
|
4093 |
msgstr ""
|
4094 |
|
4095 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
4096 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4097 |
msgid "Pause"
|
4098 |
msgstr ""
|
4099 |
|
4100 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
4101 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4102 |
msgid "Resume"
|
4103 |
msgstr ""
|
4104 |
|
4105 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
4106 |
#: includes/class-mla-settings-documentation-tab.php:107
|
4107 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4108 |
#: includes/class-mla-settings-shortcodes-tab.php:476
|
4109 |
#: includes/class-mla-template-support.php:160
|
4110 |
#: includes/class-mla-template-support.php:166
|
@@ -4115,11 +3939,11 @@ msgstr ""
|
|
4115 |
msgid "Close"
|
4116 |
msgstr ""
|
4117 |
|
4118 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
4119 |
msgid "Custom Field and Attachment Metadata Processing Options"
|
4120 |
msgstr ""
|
4121 |
|
4122 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
4123 |
msgid ""
|
4124 |
"In this tab you can define the rules for mapping several types of image "
|
4125 |
"metadata to WordPress custom fields. You can also use this screen to define "
|
@@ -4128,158 +3952,168 @@ msgid ""
|
|
4128 |
"field."
|
4129 |
msgstr ""
|
4130 |
|
4131 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
4132 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4133 |
msgid ""
|
4134 |
"You can find more information about using the controls in this tab to define "
|
4135 |
"mapping rules and apply them by clicking the \"Help\" control in the upper-"
|
4136 |
"right corner of the screen."
|
4137 |
msgstr ""
|
4138 |
|
4139 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
4140 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4141 |
#: includes/class-mla-settings-shortcodes-tab.php:711
|
4142 |
msgid "Search results for"
|
4143 |
msgstr ""
|
4144 |
|
4145 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
4146 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4147 |
msgid "Search Rules Text"
|
4148 |
msgstr ""
|
4149 |
|
4150 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
4151 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4152 |
msgid "Search Rules"
|
4153 |
msgstr ""
|
4154 |
|
4155 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
4156 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4157 |
msgid "Execute All Rules"
|
4158 |
msgstr ""
|
4159 |
|
4160 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
4161 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4162 |
msgid "Add New Custom Field Rule"
|
4163 |
msgstr ""
|
4164 |
|
4165 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
4166 |
-
#: includes/class-mla-settings-
|
4167 |
-
|
|
|
|
|
|
|
|
|
|
|
4168 |
msgid "Nothing to execute"
|
4169 |
msgstr ""
|
4170 |
|
4171 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
4172 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4173 |
msgid "Rule ID not found"
|
4174 |
msgstr ""
|
4175 |
|
4176 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
4177 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4178 |
msgid "Rule not found"
|
4179 |
msgstr ""
|
4180 |
|
4181 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
4182 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4183 |
msgctxt "list_table_column"
|
4184 |
msgid "Bad Name"
|
4185 |
msgstr ""
|
4186 |
|
4187 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
4188 |
msgctxt "list_table_column"
|
4189 |
msgid "Meta/Template"
|
4190 |
msgstr ""
|
4191 |
|
4192 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
4193 |
msgctxt "list_table_column"
|
4194 |
msgid "Visibility"
|
4195 |
msgstr ""
|
4196 |
|
4197 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
4198 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4199 |
msgctxt "list_table_column"
|
4200 |
msgid "Existing Text"
|
4201 |
msgstr ""
|
4202 |
|
4203 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
4204 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4205 |
msgctxt "list_table_column"
|
4206 |
msgid "Delete NULL"
|
4207 |
msgstr ""
|
4208 |
|
4209 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
4210 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4211 |
msgctxt "list_table_column"
|
4212 |
msgid "Format"
|
4213 |
msgstr ""
|
4214 |
|
4215 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
4216 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4217 |
msgctxt "list_table_column"
|
4218 |
msgid "Option"
|
4219 |
msgstr ""
|
4220 |
|
4221 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
4222 |
-
#: includes/class-mla-settings-
|
4223 |
-
|
4224 |
-
|
|
|
|
|
|
|
|
|
|
|
4225 |
msgid "Execute"
|
4226 |
msgstr ""
|
4227 |
|
4228 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
4229 |
msgid "Purge custom field values"
|
4230 |
msgstr ""
|
4231 |
|
4232 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
4233 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
4234 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4235 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4236 |
msgid "Purge Values"
|
4237 |
msgstr ""
|
4238 |
|
4239 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
4240 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4241 |
#: includes/class-mla-settings-shortcodes-tab.php:1299
|
4242 |
msgid "Any Status"
|
4243 |
msgstr ""
|
4244 |
|
4245 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
4246 |
msgctxt "table_view_singular"
|
4247 |
msgid "MLA Column"
|
4248 |
msgstr ""
|
4249 |
|
4250 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
4251 |
msgctxt "table_view_plural"
|
4252 |
msgid "MLA Column"
|
4253 |
msgstr ""
|
4254 |
|
4255 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
4256 |
msgctxt "table_view_singular"
|
4257 |
msgid "Quick Edit"
|
4258 |
msgstr ""
|
4259 |
|
4260 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
4261 |
msgctxt "table_view_plural"
|
4262 |
msgid "Quick Edit"
|
4263 |
msgstr ""
|
4264 |
|
4265 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
4266 |
msgctxt "table_view_singular"
|
4267 |
msgid "Bulk Edit"
|
4268 |
msgstr ""
|
4269 |
|
4270 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
4271 |
msgctxt "table_view_plural"
|
4272 |
msgid "Bulk Edit"
|
4273 |
msgstr ""
|
4274 |
|
4275 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
4276 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4277 |
msgctxt "table_view_singular"
|
4278 |
msgid "Read Only"
|
4279 |
msgstr ""
|
4280 |
|
4281 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
4282 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4283 |
msgctxt "table_view_plural"
|
4284 |
msgid "Read Only"
|
4285 |
msgstr ""
|
@@ -4293,7 +4127,7 @@ msgid "Example plugin \"%1$s\" not found"
|
|
4293 |
msgstr ""
|
4294 |
|
4295 |
#: includes/class-mla-settings-documentation-tab.php:97
|
4296 |
-
#: includes/class-mla-settings.php:
|
4297 |
#, php-format
|
4298 |
msgid "%1$s: Reading the %2$s file ( %3$s ) \"%4$s\"."
|
4299 |
msgstr ""
|
@@ -4471,96 +4305,125 @@ msgctxt "table_view_plural"
|
|
4471 |
msgid "Uninstalled"
|
4472 |
msgstr ""
|
4473 |
|
4474 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4475 |
msgid "updated."
|
4476 |
msgstr ""
|
4477 |
|
4478 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4479 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
|
|
|
|
|
|
|
|
|
|
4480 |
msgid "EXIF element name or Content Template"
|
4481 |
msgstr ""
|
4482 |
|
4483 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4484 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4485 |
msgid "Delimiters"
|
4486 |
msgstr ""
|
4487 |
|
4488 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4489 |
msgid "Standard field mapping"
|
4490 |
msgstr ""
|
4491 |
|
4492 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4493 |
msgid "Taxonomy term mapping"
|
4494 |
msgstr ""
|
4495 |
|
4496 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4497 |
msgid "Custom field mapping"
|
4498 |
msgstr ""
|
4499 |
|
4500 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4501 |
msgid "Edit IPTC EXIF Rule cancelled."
|
4502 |
msgstr ""
|
4503 |
|
4504 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
|
|
|
|
|
|
|
|
4505 |
msgid "IPTC & EXIF Mapping Progress"
|
4506 |
msgstr ""
|
4507 |
|
4508 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4509 |
msgid "IPTC & EXIF Processing Options"
|
4510 |
msgstr ""
|
4511 |
|
4512 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4513 |
msgid ""
|
4514 |
"In this tab you can define the rules for mapping IPTC (International Press "
|
4515 |
"Telecommunications Council) and EXIF (EXchangeable Image File) metadata to "
|
4516 |
"WordPress standard attachment fields, taxonomy terms and custom fields."
|
4517 |
msgstr ""
|
4518 |
|
4519 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4520 |
msgctxt "list_table_column"
|
4521 |
msgid "IPTC Value"
|
4522 |
msgstr ""
|
4523 |
|
4524 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4525 |
msgctxt "list_table_column"
|
4526 |
msgid "EXIF/Template Value"
|
4527 |
msgstr ""
|
4528 |
|
4529 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4530 |
msgctxt "list_table_column"
|
4531 |
msgid "Priority "
|
4532 |
msgstr ""
|
4533 |
|
4534 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4535 |
msgctxt "list_table_column"
|
4536 |
msgid "Delimiter(s)"
|
4537 |
msgstr ""
|
4538 |
|
4539 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4540 |
msgctxt "list_table_column"
|
4541 |
msgid "Parent"
|
4542 |
msgstr ""
|
4543 |
|
4544 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4545 |
msgid "Purge IPTC EXIF values"
|
4546 |
msgstr ""
|
4547 |
|
4548 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4549 |
msgctxt "table_view_singular"
|
4550 |
msgid "Standard"
|
4551 |
msgstr ""
|
4552 |
|
4553 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4554 |
msgctxt "table_view_plural"
|
4555 |
msgid "Standard"
|
4556 |
msgstr ""
|
4557 |
|
4558 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4559 |
msgctxt "table_view_singular"
|
4560 |
msgid "Taxonomy"
|
4561 |
msgstr ""
|
4562 |
|
4563 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:
|
4564 |
msgctxt "table_view_plural"
|
4565 |
msgid "Taxonomy"
|
4566 |
msgstr ""
|
@@ -4657,9 +4520,14 @@ msgstr ""
|
|
4657 |
msgid "%1$s \"%2$s\" deleted."
|
4658 |
msgstr ""
|
4659 |
|
|
|
|
|
|
|
|
|
|
|
4660 |
#: includes/class-mla-settings-shortcodes-tab.php:319
|
4661 |
#: includes/class-mla-settings-shortcodes-tab.php:322
|
4662 |
-
#: includes/class-mla-settings.php:
|
4663 |
msgid "Shortcodes"
|
4664 |
msgstr ""
|
4665 |
|
@@ -4729,8 +4597,8 @@ msgid "Ghostscript support is not installed."
|
|
4729 |
msgstr ""
|
4730 |
|
4731 |
#: includes/class-mla-settings-shortcodes-tab.php:663
|
4732 |
-
#: includes/class-mla-wpml-support.php:
|
4733 |
-
#: includes/class-mla-wpml-support.php:
|
4734 |
msgid "WARNING:"
|
4735 |
msgstr ""
|
4736 |
|
@@ -5152,79 +5020,79 @@ msgstr ""
|
|
5152 |
msgid "No view slug found"
|
5153 |
msgstr ""
|
5154 |
|
5155 |
-
#: includes/class-mla-settings.php:
|
5156 |
-
#: includes/class-mla-settings.php:
|
5157 |
msgid "Settings"
|
5158 |
msgstr ""
|
5159 |
|
5160 |
-
#: includes/class-mla-settings.php:
|
5161 |
msgid "Views per page"
|
5162 |
msgstr ""
|
5163 |
|
5164 |
-
#: includes/class-mla-settings.php:
|
5165 |
msgid "Types per page"
|
5166 |
msgstr ""
|
5167 |
|
5168 |
-
#: includes/class-mla-settings.php:
|
5169 |
msgid "Upload types per page"
|
5170 |
msgstr ""
|
5171 |
|
5172 |
-
#: includes/class-mla-settings.php:
|
5173 |
msgid "Shortcode templates per page"
|
5174 |
msgstr ""
|
5175 |
|
5176 |
-
#: includes/class-mla-settings.php:
|
5177 |
msgid "Rules per page"
|
5178 |
msgstr ""
|
5179 |
|
5180 |
-
#: includes/class-mla-settings.php:
|
5181 |
msgid "Plugins per page"
|
5182 |
msgstr ""
|
5183 |
|
5184 |
-
#: includes/class-mla-settings.php:
|
5185 |
-
#: includes/class-mla-settings.php:
|
5186 |
#, php-format
|
5187 |
msgctxt "error_log"
|
5188 |
msgid "%1$s: %2$s unknown type = \"%3$s\""
|
5189 |
msgstr ""
|
5190 |
|
5191 |
-
#: includes/class-mla-settings.php:
|
5192 |
msgid "Go to Bottom"
|
5193 |
msgstr ""
|
5194 |
|
5195 |
-
#: includes/class-mla-settings.php:
|
5196 |
msgid "General"
|
5197 |
msgstr ""
|
5198 |
|
5199 |
-
#: includes/class-mla-settings.php:
|
5200 |
msgid "Views"
|
5201 |
msgstr ""
|
5202 |
|
5203 |
-
#: includes/class-mla-settings.php:
|
5204 |
msgid "Uploads"
|
5205 |
msgstr ""
|
5206 |
|
5207 |
-
#: includes/class-mla-settings.php:
|
5208 |
msgid "Custom Fields"
|
5209 |
msgstr ""
|
5210 |
|
5211 |
-
#: includes/class-mla-settings.php:
|
5212 |
msgid "IPTC/EXIF"
|
5213 |
msgstr ""
|
5214 |
|
5215 |
-
#: includes/class-mla-settings.php:
|
5216 |
msgid "Documentation"
|
5217 |
msgstr ""
|
5218 |
|
5219 |
-
#: includes/class-mla-settings.php:
|
5220 |
msgid "Debug"
|
5221 |
msgstr ""
|
5222 |
|
5223 |
-
#: includes/class-mla-settings.php:
|
5224 |
msgid "General Processing Options"
|
5225 |
msgstr ""
|
5226 |
|
5227 |
-
#: includes/class-mla-settings.php:
|
5228 |
#, php-format
|
5229 |
msgid ""
|
5230 |
"In this tab you can find a number of options for controlling the "
|
@@ -5233,31 +5101,31 @@ msgid ""
|
|
5233 |
"any changes you make."
|
5234 |
msgstr ""
|
5235 |
|
5236 |
-
#: includes/class-mla-settings.php:
|
5237 |
msgid "Media/Assistant Table Defaults"
|
5238 |
msgstr ""
|
5239 |
|
5240 |
-
#: includes/class-mla-settings.php:
|
5241 |
msgid "Media Manager Enhancements"
|
5242 |
msgstr ""
|
5243 |
|
5244 |
-
#: includes/class-mla-settings.php:
|
5245 |
msgid "Delete General options and restore default settings"
|
5246 |
msgstr ""
|
5247 |
|
5248 |
-
#: includes/class-mla-settings.php:
|
5249 |
msgid "Support Our Work"
|
5250 |
msgstr ""
|
5251 |
|
5252 |
-
#: includes/class-mla-settings.php:
|
5253 |
msgid "Donate to FTJ"
|
5254 |
msgstr ""
|
5255 |
|
5256 |
-
#: includes/class-mla-settings.php:
|
5257 |
msgid "Donate"
|
5258 |
msgstr ""
|
5259 |
|
5260 |
-
#: includes/class-mla-settings.php:
|
5261 |
#, php-format
|
5262 |
msgid ""
|
5263 |
"This plugin was inspired by my work on the WordPress web site for our "
|
@@ -5266,333 +5134,348 @@ msgid ""
|
|
5266 |
"our work. Thank you!"
|
5267 |
msgstr ""
|
5268 |
|
5269 |
-
#: includes/class-mla-settings.php:
|
5270 |
msgid "tax-deductible donation"
|
5271 |
msgstr ""
|
5272 |
|
5273 |
-
#: includes/class-mla-settings.php:
|
5274 |
msgid "enhanced version of the WordPress [gallery] shortcode."
|
5275 |
msgstr ""
|
5276 |
|
5277 |
-
#: includes/class-mla-settings.php:
|
5278 |
msgid "enhanced version of the WordPress Tag Cloud."
|
5279 |
msgstr ""
|
5280 |
|
5281 |
-
#: includes/class-mla-settings.php:
|
5282 |
msgid ""
|
5283 |
"provides flat or hierarchical lists, dropdown controls and checkbox lists of "
|
5284 |
"taxonomy terms."
|
5285 |
msgstr ""
|
5286 |
|
5287 |
-
#: includes/class-mla-settings.php:
|
5288 |
msgid "Shortcodes made available by this plugin"
|
5289 |
msgstr ""
|
5290 |
|
5291 |
-
#: includes/class-mla-settings.php:
|
5292 |
msgid "Debug settings saved."
|
5293 |
msgstr ""
|
5294 |
|
5295 |
-
#: includes/class-mla-settings.php:
|
5296 |
#, php-format
|
5297 |
msgid "%1$s: Reseting the %2$s file ( %3$s ) \"%4$s\"."
|
5298 |
msgstr ""
|
5299 |
|
5300 |
-
#: includes/class-mla-settings.php:
|
5301 |
-
#: includes/class-mla-settings.php:
|
5302 |
-
#: includes/class-mla-settings.php:
|
5303 |
msgid "Error Log"
|
5304 |
msgstr ""
|
5305 |
|
5306 |
-
#: includes/class-mla-settings.php:
|
5307 |
#, php-format
|
5308 |
msgid "Error log file (%1$s) not found; click Reset to create it."
|
5309 |
msgstr ""
|
5310 |
|
5311 |
-
#: includes/class-mla-settings.php:
|
5312 |
msgid "Debug Options"
|
5313 |
msgstr ""
|
5314 |
|
5315 |
-
#: includes/class-mla-settings.php:
|
5316 |
msgid "Debug Settings"
|
5317 |
msgstr ""
|
5318 |
|
5319 |
-
#: includes/class-mla-settings.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5320 |
#, php-format
|
5321 |
msgid "Click %1$s to update the %2$s."
|
5322 |
msgstr ""
|
5323 |
|
5324 |
-
#: includes/class-mla-settings.php:
|
5325 |
msgid "You do not have permission to manage plugin settings."
|
5326 |
msgstr ""
|
5327 |
|
5328 |
-
#: includes/class-mla-settings.php:
|
5329 |
msgid "Cannot render content tab"
|
5330 |
msgstr ""
|
5331 |
|
5332 |
-
#: includes/class-mla-settings.php:
|
5333 |
msgid "Unknown content tab"
|
5334 |
msgstr ""
|
5335 |
|
5336 |
-
#: includes/class-mla-settings.php:
|
5337 |
msgid "Dismiss this notice"
|
5338 |
msgstr ""
|
5339 |
|
5340 |
-
#: includes/class-mla-settings.php:
|
5341 |
#, php-format
|
5342 |
msgid "%s attachment"
|
5343 |
msgid_plural "%s attachments"
|
5344 |
msgstr[0] ""
|
5345 |
msgstr[1] ""
|
5346 |
|
5347 |
-
#: includes/class-mla-settings.php:
|
5348 |
#, php-format
|
5349 |
msgid "Deleted custom field value from %1$s."
|
5350 |
msgstr ""
|
5351 |
|
5352 |
-
#: includes/class-mla-settings.php:
|
5353 |
msgid "No attachments contained this custom field."
|
5354 |
msgstr ""
|
5355 |
|
5356 |
-
#: includes/class-mla-settings.php:
|
5357 |
#, php-format
|
5358 |
msgctxt "message_list"
|
5359 |
msgid "%1$s - references updated."
|
5360 |
msgstr ""
|
5361 |
|
5362 |
-
#: includes/class-mla-settings.php:
|
5363 |
msgid "General settings saved."
|
5364 |
msgstr ""
|
5365 |
|
5366 |
-
#: includes/class-mla-settings.php:
|
5367 |
msgid "General settings reset to default values."
|
5368 |
msgstr ""
|
5369 |
|
5370 |
-
#: includes/class-mla-settings.php:
|
5371 |
msgid "select settings"
|
5372 |
msgstr ""
|
5373 |
|
5374 |
-
#: includes/class-mla-settings.php:
|
5375 |
msgid "Import ALL Settings"
|
5376 |
msgstr ""
|
5377 |
|
5378 |
-
#: includes/class-mla-settings.php:
|
5379 |
msgctxt "message_list"
|
5380 |
msgid "exported"
|
5381 |
msgstr ""
|
5382 |
|
5383 |
-
#: includes/class-mla-settings.php:
|
5384 |
msgctxt "message_list"
|
5385 |
msgid "skipped"
|
5386 |
msgstr ""
|
5387 |
|
5388 |
-
#: includes/class-mla-settings.php:
|
5389 |
msgid "ALL settings exported."
|
5390 |
msgstr ""
|
5391 |
|
5392 |
-
#: includes/class-mla-settings.php:
|
5393 |
#, php-format
|
5394 |
msgid "%1$s: The settings directory ( %2$s ) cannot be created."
|
5395 |
msgstr ""
|
5396 |
|
5397 |
-
#: includes/class-mla-settings.php:
|
5398 |
#, php-format
|
5399 |
msgid "%1$s: The settings directory ( %2$s ) is not writable."
|
5400 |
msgstr ""
|
5401 |
|
5402 |
-
#: includes/class-mla-settings.php:
|
5403 |
#, php-format
|
5404 |
msgid "%1$s: The settings file ( %2$s ) could not be opened."
|
5405 |
msgstr ""
|
5406 |
|
5407 |
-
#: includes/class-mla-settings.php:
|
5408 |
#, php-format
|
5409 |
msgctxt "error_log"
|
5410 |
msgid "%1$s: _export_settings $error_info = \"%2$s\"."
|
5411 |
msgstr ""
|
5412 |
|
5413 |
-
#: includes/class-mla-settings.php:
|
5414 |
#, php-format
|
5415 |
msgid "%1$s: Writing the settings file ( %2$s ) \"%3$s\"."
|
5416 |
msgstr ""
|
5417 |
|
5418 |
-
#: includes/class-mla-settings.php:
|
5419 |
#, php-format
|
5420 |
msgid "Settings exported; %1$s settings recorded."
|
5421 |
msgstr ""
|
5422 |
|
5423 |
-
#: includes/class-mla-settings.php:
|
5424 |
msgid "No settings imported."
|
5425 |
msgstr ""
|
5426 |
|
5427 |
-
#: includes/class-mla-settings.php:
|
5428 |
msgid "Please select an import settings file from the dropdown list."
|
5429 |
msgstr ""
|
5430 |
|
5431 |
-
#: includes/class-mla-settings.php:
|
5432 |
msgid "The import settings dropdown selection is missing."
|
5433 |
msgstr ""
|
5434 |
|
5435 |
-
#: includes/class-mla-settings.php:
|
5436 |
#, php-format
|
5437 |
msgctxt "error_log"
|
5438 |
msgid "%1$s: _import_settings $error_info = \"%2$s\"."
|
5439 |
msgstr ""
|
5440 |
|
5441 |
-
#: includes/class-mla-settings.php:
|
5442 |
#, php-format
|
5443 |
msgid "%1$s: Reading the settings file ( %2$s ) \"%3$s\"."
|
5444 |
msgstr ""
|
5445 |
|
5446 |
-
#: includes/class-mla-settings.php:
|
5447 |
msgctxt "message_list"
|
5448 |
msgid "updated"
|
5449 |
msgstr ""
|
5450 |
|
5451 |
-
#: includes/class-mla-settings.php:
|
5452 |
msgctxt "message_list"
|
5453 |
msgid "unchanged"
|
5454 |
msgstr ""
|
5455 |
|
5456 |
-
#: includes/class-mla-settings.php:
|
5457 |
#, php-format
|
5458 |
msgid "Settings imported; %1$s updated, %2$s unchanged."
|
5459 |
msgstr ""
|
5460 |
|
5461 |
-
#: includes/class-mla-shortcode-support.php:
|
5462 |
-
#: includes/class-mla-shortcode-support.php:
|
5463 |
-
#: includes/class-mla-shortcode-support.php:
|
5464 |
-
#: includes/class-mla-shortcode-support.php:
|
5465 |
msgid "Previous"
|
5466 |
msgstr ""
|
5467 |
|
5468 |
-
#: includes/class-mla-shortcode-support.php:
|
5469 |
-
#: includes/class-mla-shortcode-support.php:
|
5470 |
-
#: includes/class-mla-shortcode-support.php:
|
5471 |
-
#: includes/class-mla-shortcode-support.php:
|
5472 |
msgid "Next"
|
5473 |
msgstr ""
|
5474 |
|
5475 |
-
#: includes/class-mla-shortcode-support.php:
|
5476 |
-
#: includes/class-mla-shortcode-support.php:
|
5477 |
-
#: includes/class-mla-shortcode-support.php:
|
5478 |
-
#: includes/class-mla-shortcode-support.php:
|
5479 |
-
#: includes/class-mla-shortcode-support.php:
|
5480 |
-
#: includes/class-mla-shortcode-support.php:
|
5481 |
#: includes/class-mla-template-support.php:598
|
5482 |
msgid "not found"
|
5483 |
msgstr ""
|
5484 |
|
5485 |
-
#: includes/class-mla-shortcode-support.php:
|
5486 |
-
#: includes/class-mla-shortcode-support.php:
|
5487 |
-
#: includes/class-mla-shortcode-support.php:
|
5488 |
msgid "mla_debug REQUEST"
|
5489 |
msgstr ""
|
5490 |
|
5491 |
-
#: includes/class-mla-shortcode-support.php:
|
5492 |
-
#: includes/class-mla-shortcode-support.php:
|
5493 |
-
#: includes/class-mla-shortcode-support.php:
|
5494 |
msgid "mla_debug attributes"
|
5495 |
msgstr ""
|
5496 |
|
5497 |
-
#: includes/class-mla-shortcode-support.php:
|
5498 |
-
#: includes/class-mla-shortcode-support.php:
|
5499 |
-
#: includes/class-mla-shortcode-support.php:
|
5500 |
msgid "mla_debug arguments"
|
5501 |
msgstr ""
|
5502 |
|
5503 |
-
#: includes/class-mla-shortcode-support.php:
|
5504 |
msgid "mla_debug empty gallery"
|
5505 |
msgstr ""
|
5506 |
|
5507 |
-
#: includes/class-mla-shortcode-support.php:
|
5508 |
msgid ""
|
5509 |
"<strong>Photonic-enhanced [mla_gallery]</strong> type must be "
|
5510 |
"<strong>default</strong>, query = "
|
5511 |
msgstr ""
|
5512 |
|
5513 |
-
#: includes/class-mla-shortcode-support.php:
|
5514 |
msgid "unknown"
|
5515 |
msgstr ""
|
5516 |
|
5517 |
-
#: includes/class-mla-shortcode-support.php:
|
5518 |
msgid "mla_debug empty cloud"
|
5519 |
msgstr ""
|
5520 |
|
5521 |
-
#: includes/class-mla-shortcode-support.php:
|
5522 |
msgid "mla_debug empty list"
|
5523 |
msgstr ""
|
5524 |
|
5525 |
-
#: includes/class-mla-shortcode-support.php:
|
5526 |
msgid "no-terms"
|
5527 |
msgstr ""
|
5528 |
|
5529 |
-
#: includes/class-mla-shortcode-support.php:
|
5530 |
-
#: includes/class-mla-shortcode-support.php:
|
5531 |
-
#: includes/class-mla-shortcode-support.php:
|
5532 |
msgid "Invalid mla_gallery"
|
5533 |
msgstr ""
|
5534 |
|
5535 |
-
#: includes/class-mla-shortcode-support.php:
|
5536 |
msgid "mla_debug query"
|
5537 |
msgstr ""
|
5538 |
|
5539 |
-
#: includes/class-mla-shortcode-support.php:
|
5540 |
msgid "mla_debug request"
|
5541 |
msgstr ""
|
5542 |
|
5543 |
-
#: includes/class-mla-shortcode-support.php:
|
5544 |
msgid "mla_debug query_vars"
|
5545 |
msgstr ""
|
5546 |
|
5547 |
-
#: includes/class-mla-shortcode-support.php:
|
5548 |
msgid "mla_debug post_count"
|
5549 |
msgstr ""
|
5550 |
|
5551 |
-
#: includes/class-mla-shortcode-support.php:
|
5552 |
msgid "mla_debug WHERE filter"
|
5553 |
msgstr ""
|
5554 |
|
5555 |
-
#: includes/class-mla-shortcode-support.php:
|
5556 |
msgid "mla_debug modified WHERE filter"
|
5557 |
msgstr ""
|
5558 |
|
5559 |
-
#: includes/class-mla-shortcode-support.php:
|
5560 |
msgid "mla_debug ORDER BY filter, incoming"
|
5561 |
msgstr ""
|
5562 |
|
5563 |
-
#: includes/class-mla-shortcode-support.php:
|
5564 |
msgid "Replacement ORDER BY clause"
|
5565 |
msgstr ""
|
5566 |
|
5567 |
-
#: includes/class-mla-shortcode-support.php:
|
5568 |
msgid "mla_debug posts_clauses filter"
|
5569 |
msgstr ""
|
5570 |
|
5571 |
-
#: includes/class-mla-shortcode-support.php:
|
5572 |
msgid "mla_debug posts_clauses_request filter"
|
5573 |
msgstr ""
|
5574 |
|
5575 |
-
#: includes/class-mla-shortcode-support.php:
|
5576 |
msgid "Invalid taxonomy"
|
5577 |
msgstr ""
|
5578 |
|
5579 |
-
#: includes/class-mla-shortcode-support.php:
|
5580 |
msgid "mla_debug query arguments"
|
5581 |
msgstr ""
|
5582 |
|
5583 |
-
#: includes/class-mla-shortcode-support.php:
|
5584 |
msgid "mla_debug last_query"
|
5585 |
msgstr ""
|
5586 |
|
5587 |
-
#: includes/class-mla-shortcode-support.php:
|
5588 |
msgid "mla_debug last_error"
|
5589 |
msgstr ""
|
5590 |
|
5591 |
-
#: includes/class-mla-shortcode-support.php:
|
5592 |
msgid "mla_debug num_rows"
|
5593 |
msgstr ""
|
5594 |
|
5595 |
-
#: includes/class-mla-shortcode-support.php:
|
5596 |
msgid "mla_debug found_rows"
|
5597 |
msgstr ""
|
5598 |
|
@@ -5857,19 +5740,19 @@ msgstr ""
|
|
5857 |
msgid "Duplicate translation created; update as desired."
|
5858 |
msgstr ""
|
5859 |
|
5860 |
-
#: includes/class-mla-wpml-support.php:
|
5861 |
msgid "Make media available in all languages"
|
5862 |
msgstr ""
|
5863 |
|
5864 |
-
#: includes/class-mla-wpml-support.php:
|
5865 |
msgid " WPML Media is not installed."
|
5866 |
msgstr ""
|
5867 |
|
5868 |
-
#: includes/class-mla-wpml-support.php:
|
5869 |
msgid " WPML Media is not active."
|
5870 |
msgstr ""
|
5871 |
|
5872 |
-
#: includes/class-mla-wpml-support.php:
|
5873 |
#, php-format
|
5874 |
msgid ""
|
5875 |
"In this tab you can find a number of options for controlling WPML-specific "
|
@@ -5877,13 +5760,13 @@ msgid ""
|
|
5877 |
"\"Save Changes\" at the bottom of the tab to save any changes you make."
|
5878 |
msgstr ""
|
5879 |
|
5880 |
-
#: includes/class-mla-wpml-support.php:2250
|
5881 |
#: includes/class-mla-wpml-support.php:2256
|
|
|
5882 |
#, php-format
|
5883 |
msgid "Edit the %s translation"
|
5884 |
msgstr ""
|
5885 |
|
5886 |
-
#: includes/class-mla-wpml-support.php:
|
5887 |
#, php-format
|
5888 |
msgid "Add translation to %s"
|
5889 |
msgstr ""
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: Media Library Assistant\n"
|
5 |
+
"POT-Creation-Date: 2017-11-29 16:07-0800\n"
|
6 |
"PO-Revision-Date: 2015-08-21 21:38-0800\n"
|
7 |
"Last-Translator: David Lingren <david@fairtradejudaica.org>\n"
|
8 |
"Language-Team: David Lingren <david@fairtradejudaica.org>\n"
|
22 |
|
23 |
#: includes/class-mla-admin-columns-support-deprecated.php:33
|
24 |
#: includes/class-mla-admin-columns-support.php:55
|
25 |
+
#: includes/class-mla-core-options.php:553 includes/class-mla-settings.php:429
|
26 |
+
#: includes/class-mla-settings.php:1456 includes/class-mla-settings.php:1476
|
27 |
#: index.php:48
|
28 |
msgid "Media Library Assistant"
|
29 |
msgstr ""
|
30 |
|
31 |
#: includes/class-mla-admin-columns-support-deprecated.php:34
|
32 |
#: includes/class-mla-admin-columns-support.php:56
|
33 |
+
#: includes/class-mla-core-options.php:562
|
34 |
msgid "Assistant"
|
35 |
msgstr ""
|
36 |
|
37 |
+
#: includes/class-mla-ajax.php:238 includes/class-mla-core-options.php:1170
|
38 |
+
#: includes/class-mla-data.php:3768 includes/class-mla-edit-media.php:426
|
39 |
+
#: includes/class-mla-main.php:1843 includes/class-mla-main.php:2043
|
40 |
+
#: includes/class-mla-objects.php:356 includes/class-mla-options.php:453
|
41 |
#: includes/mla-main-search-box-template.php:47
|
42 |
#: includes/mla-media-modal-js-template.php:40
|
43 |
msgid "Title"
|
44 |
msgstr ""
|
45 |
|
46 |
+
#: includes/class-mla-ajax.php:238 includes/class-mla-main.php:1844
|
47 |
#: includes/class-mla-thumbnail-generation.php:625
|
48 |
msgid "Type"
|
49 |
msgstr ""
|
50 |
|
51 |
+
#: includes/class-mla-ajax.php:238 includes/class-mla-main.php:1845
|
52 |
msgid "Date"
|
53 |
msgstr ""
|
54 |
|
55 |
+
#: includes/class-mla-ajax.php:238 includes/class-mla-main.php:1846
|
56 |
+
#: includes/class-mla-settings-custom-fields-tab.php:503
|
57 |
+
#: includes/class-mla-settings-custom-fields-tab.php:803
|
58 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:512
|
59 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:886
|
60 |
#: includes/class-mla-settings-upload-tab.php:552
|
61 |
msgid "Status"
|
62 |
msgstr ""
|
63 |
|
64 |
+
#: includes/class-mla-ajax.php:242 includes/class-mla-list-table.php:864
|
65 |
+
#: includes/class-mla-list-table.php:1030 includes/class-mla-main.php:402
|
66 |
+
#: includes/class-mla-polylang-support.php:363
|
67 |
#: includes/class-mla-thumbnail-generation.php:97
|
68 |
msgid "(no title)"
|
69 |
msgstr ""
|
70 |
|
71 |
+
#: includes/class-mla-ajax.php:248
|
72 |
msgid "Published"
|
73 |
msgstr ""
|
74 |
|
75 |
+
#: includes/class-mla-ajax.php:251 includes/class-mla-edit-media.php:829
|
76 |
#: includes/class-mla-list-table.php:631
|
77 |
msgid "Scheduled"
|
78 |
msgstr ""
|
79 |
|
80 |
+
#: includes/class-mla-ajax.php:254
|
81 |
msgid "Pending Review"
|
82 |
msgstr ""
|
83 |
|
84 |
+
#: includes/class-mla-ajax.php:257 includes/class-mla-edit-media.php:835
|
85 |
#: includes/class-mla-list-table.php:628
|
86 |
msgid "Draft"
|
87 |
msgstr ""
|
88 |
|
89 |
+
#: includes/class-mla-ajax.php:267 includes/class-mla-list-table.php:1439
|
90 |
#: includes/class-mla-list-table.php:1468
|
91 |
#: includes/class-mla-list-table.php:1532
|
92 |
msgid "Y/m/d"
|
93 |
msgstr ""
|
94 |
|
95 |
+
#: includes/class-mla-ajax.php:296 includes/class-mla-ajax.php:303
|
96 |
+
#: includes/class-mla-ajax.php:312 includes/class-mla-core.php:805
|
97 |
+
#: includes/class-mla-core.php:823 includes/class-mla-core.php:1231
|
98 |
+
#: includes/class-mla-core.php:1237 includes/class-mla-core.php:1241
|
99 |
#: includes/class-mla-data-pdf.php:216 includes/class-mla-data-pdf.php:517
|
100 |
#: includes/class-mla-data-pdf.php:519 includes/class-mla-data-pdf.php:565
|
101 |
#: includes/class-mla-data-pdf.php:749 includes/class-mla-data-query.php:674
|
102 |
+
#: includes/class-mla-data.php:50 includes/class-mla-data.php:108
|
103 |
+
#: includes/class-mla-data.php:196 includes/class-mla-data.php:242
|
104 |
+
#: includes/class-mla-data.php:345 includes/class-mla-data.php:501
|
105 |
+
#: includes/class-mla-data.php:564 includes/class-mla-data.php:1282
|
106 |
+
#: includes/class-mla-data.php:1480 includes/class-mla-data.php:1486
|
107 |
+
#: includes/class-mla-data.php:1883 includes/class-mla-data.php:1887
|
108 |
+
#: includes/class-mla-data.php:3030 includes/class-mla-data.php:3072
|
109 |
+
#: includes/class-mla-data.php:3116 includes/class-mla-data.php:3496
|
110 |
+
#: includes/class-mla-data.php:3509 includes/class-mla-data.php:3531
|
111 |
+
#: includes/class-mla-data.php:3745 includes/class-mla-data.php:3791
|
112 |
+
#: includes/class-mla-data.php:3824 includes/class-mla-data.php:3840
|
113 |
+
#: includes/class-mla-data.php:4066 includes/class-mla-edit-media.php:316
|
114 |
+
#: includes/class-mla-edit-media.php:743 includes/class-mla-edit-media.php:783
|
115 |
+
#: includes/class-mla-main.php:635 includes/class-mla-main.php:783
|
116 |
+
#: includes/class-mla-main.php:1145 includes/class-mla-main.php:1201
|
117 |
+
#: includes/class-mla-main.php:1226 includes/class-mla-main.php:1353
|
118 |
+
#: includes/class-mla-main.php:1407 includes/class-mla-main.php:1498
|
119 |
+
#: includes/class-mla-main.php:1529 includes/class-mla-main.php:1663
|
120 |
+
#: includes/class-mla-main.php:1670 includes/class-mla-main.php:1829
|
121 |
+
#: includes/class-mla-main.php:1904 includes/class-mla-main.php:2173
|
122 |
+
#: includes/class-mla-main.php:2181 includes/class-mla-main.php:2205
|
123 |
+
#: includes/class-mla-main.php:2213 includes/class-mla-main.php:2245
|
124 |
+
#: includes/class-mla-main.php:2253 includes/class-mla-media-modal.php:577
|
125 |
#: includes/class-mla-mime-types.php:749 includes/class-mla-mime-types.php:1141
|
126 |
#: includes/class-mla-mime-types.php:1229
|
127 |
#: includes/class-mla-mime-types.php:1375
|
139 |
#: includes/class-mla-mime-types.php:2545
|
140 |
#: includes/class-mla-mime-types.php:2554
|
141 |
#: includes/class-mla-mime-types.php:2586 includes/class-mla-objects.php:253
|
142 |
+
#: includes/class-mla-options.php:217 includes/class-mla-options.php:421
|
143 |
+
#: includes/class-mla-options.php:502 includes/class-mla-options.php:1015
|
144 |
+
#: includes/class-mla-options.php:1823 includes/class-mla-options.php:2049
|
145 |
+
#: includes/class-mla-settings-custom-fields-tab.php:173
|
146 |
+
#: includes/class-mla-settings-custom-fields-tab.php:238
|
147 |
+
#: includes/class-mla-settings-custom-fields-tab.php:242
|
148 |
+
#: includes/class-mla-settings-custom-fields-tab.php:276
|
149 |
+
#: includes/class-mla-settings-custom-fields-tab.php:304
|
150 |
+
#: includes/class-mla-settings-custom-fields-tab.php:308
|
151 |
+
#: includes/class-mla-settings-custom-fields-tab.php:341
|
152 |
+
#: includes/class-mla-settings-custom-fields-tab.php:425
|
153 |
+
#: includes/class-mla-settings-custom-fields-tab.php:552
|
154 |
+
#: includes/class-mla-settings-custom-fields-tab.php:718
|
155 |
+
#: includes/class-mla-settings-custom-fields-tab.php:928
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
156 |
#: includes/class-mla-settings-custom-fields-tab.php:932
|
157 |
+
#: includes/class-mla-settings-custom-fields-tab.php:956
|
158 |
+
#: includes/class-mla-settings-custom-fields-tab.php:2029
|
159 |
#: includes/class-mla-settings-documentation-tab.php:97
|
160 |
#: includes/class-mla-settings-documentation-tab.php:297
|
161 |
#: includes/class-mla-settings-documentation-tab.php:1269
|
162 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:175
|
163 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:241
|
164 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:245
|
165 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:280
|
166 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:308
|
167 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:312
|
168 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:347
|
169 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:423
|
170 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:632
|
171 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:800
|
172 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:1001
|
173 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:1005
|
174 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:1029
|
175 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:2260
|
176 |
#: includes/class-mla-settings-shortcodes-tab.php:79
|
177 |
#: includes/class-mla-settings-shortcodes-tab.php:90
|
178 |
#: includes/class-mla-settings-shortcodes-tab.php:94
|
193 |
#: includes/class-mla-settings-view-tab.php:275
|
194 |
#: includes/class-mla-settings-view-tab.php:433
|
195 |
#: includes/class-mla-settings-view-tab.php:447
|
196 |
+
#: includes/class-mla-settings.php:589 includes/class-mla-settings.php:725
|
197 |
+
#: includes/class-mla-settings.php:762 includes/class-mla-settings.php:902
|
198 |
+
#: includes/class-mla-settings.php:1316 includes/class-mla-settings.php:1367
|
199 |
+
#: includes/class-mla-settings.php:1456 includes/class-mla-settings.php:1489
|
200 |
+
#: includes/class-mla-settings.php:1492 includes/class-mla-settings.php:1496
|
201 |
+
#: includes/class-mla-settings.php:1789 includes/class-mla-settings.php:1793
|
202 |
+
#: includes/class-mla-settings.php:1804 includes/class-mla-settings.php:1811
|
203 |
+
#: includes/class-mla-settings.php:1820 includes/class-mla-settings.php:1857
|
204 |
+
#: includes/class-mla-settings.php:1865 includes/class-mla-settings.php:1874
|
205 |
+
#: includes/class-mla-shortcode-support.php:2059
|
206 |
+
#: includes/class-mla-shortcode-support.php:2150
|
207 |
+
#: includes/class-mla-shortcode-support.php:3416
|
208 |
+
#: includes/class-mla-shortcode-support.php:3543
|
209 |
+
#: includes/class-mla-shortcode-support.php:3575
|
210 |
+
#: includes/class-mla-shortcode-support.php:4610
|
211 |
+
#: includes/class-mla-shortcode-support.php:5014
|
212 |
+
#: includes/class-mla-shortcode-support.php:5051
|
213 |
#: includes/class-mla-thumbnail-generation.php:416
|
214 |
#: includes/class-mla-thumbnail-generation.php:428
|
215 |
#: includes/class-mla-thumbnail-generation.php:440
|
217 |
msgid "ERROR"
|
218 |
msgstr ""
|
219 |
|
220 |
+
#: includes/class-mla-ajax.php:296 includes/class-mla-main.php:1663
|
221 |
msgid "No post ID found"
|
222 |
msgstr ""
|
223 |
|
224 |
+
#: includes/class-mla-ajax.php:303 includes/class-mla-main.php:1670
|
225 |
+
#: includes/class-mla-polylang-support.php:260
|
226 |
msgid "You are not allowed to edit this Attachment."
|
227 |
msgstr ""
|
228 |
|
229 |
+
#: includes/class-mla-core-options.php:408 includes/class-mla-options.php:255
|
230 |
msgid "Attachment Categories"
|
231 |
msgstr ""
|
232 |
|
233 |
+
#: includes/class-mla-core-options.php:412
|
234 |
msgid "Check this option to add support for Attachment Categories."
|
235 |
msgstr ""
|
236 |
|
237 |
+
#: includes/class-mla-core-options.php:416 includes/class-mla-options.php:270
|
238 |
msgid "Attachment Tags"
|
239 |
msgstr ""
|
240 |
|
241 |
+
#: includes/class-mla-core-options.php:420
|
242 |
msgid "Check this option to add support for Attachment Tags."
|
243 |
msgstr ""
|
244 |
|
245 |
+
#: includes/class-mla-core-options.php:424 includes/class-mla-settings.php:1060
|
246 |
msgid "Where-used Reporting"
|
247 |
msgstr ""
|
248 |
|
249 |
+
#: includes/class-mla-core-options.php:429
|
250 |
msgid "Exclude Revisions"
|
251 |
msgstr ""
|
252 |
|
253 |
+
#: includes/class-mla-core-options.php:433
|
254 |
msgid "Check this option to exclude revisions from where-used reporting."
|
255 |
msgstr ""
|
256 |
|
257 |
+
#: includes/class-mla-core-options.php:437
|
258 |
msgid "Where-used database access tuning"
|
259 |
msgstr ""
|
260 |
|
261 |
+
#: includes/class-mla-core-options.php:442
|
262 |
+
#: includes/class-mla-edit-media.php:678 includes/class-mla-edit-media.php:928
|
263 |
msgid "Featured in"
|
264 |
msgstr ""
|
265 |
|
|
|
266 |
#: includes/class-mla-core-options.php:447
|
267 |
+
#: includes/class-mla-core-options.php:457
|
268 |
msgid "Enabled"
|
269 |
msgstr ""
|
270 |
|
|
|
271 |
#: includes/class-mla-core-options.php:447
|
272 |
#: includes/class-mla-core-options.php:457
|
273 |
#: includes/class-mla-core-options.php:467
|
274 |
+
#: includes/class-mla-core-options.php:477
|
275 |
#: includes/class-mla-list-table.php:1136
|
276 |
#: includes/class-mla-list-table.php:1181
|
277 |
#: includes/class-mla-list-table.php:1231
|
279 |
msgid "Disabled"
|
280 |
msgstr ""
|
281 |
|
282 |
+
#: includes/class-mla-core-options.php:448
|
283 |
msgid "Search database posts and pages for Featured Image attachments."
|
284 |
msgstr ""
|
285 |
|
286 |
+
#: includes/class-mla-core-options.php:452
|
287 |
+
#: includes/class-mla-edit-media.php:682 includes/class-mla-edit-media.php:967
|
288 |
msgid "Inserted in"
|
289 |
msgstr ""
|
290 |
|
291 |
+
#: includes/class-mla-core-options.php:457
|
292 |
msgid "Base"
|
293 |
msgstr ""
|
294 |
|
295 |
+
#: includes/class-mla-core-options.php:458
|
296 |
msgid ""
|
297 |
"Search database posts and pages for attachments embedded in content."
|
298 |
"<br> Base = ignore intermediate size suffixes; use path, base "
|
299 |
"name and extension only."
|
300 |
msgstr ""
|
301 |
|
302 |
+
#: includes/class-mla-core-options.php:462
|
303 |
+
#: includes/class-mla-edit-media.php:686 includes/class-mla-edit-media.php:1002
|
304 |
+
#: includes/class-mla-settings.php:1570
|
305 |
msgid "Gallery in"
|
306 |
msgstr ""
|
307 |
|
|
|
308 |
#: includes/class-mla-core-options.php:467
|
309 |
+
#: includes/class-mla-core-options.php:477
|
310 |
msgid "Dynamic"
|
311 |
msgstr ""
|
312 |
|
313 |
+
#: includes/class-mla-core-options.php:467
|
314 |
+
#: includes/class-mla-core-options.php:477 includes/class-mla-main.php:2076
|
315 |
+
#: includes/class-mla-settings-custom-fields-tab.php:733
|
316 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:815
|
317 |
msgid "Refresh"
|
318 |
msgstr ""
|
319 |
|
|
|
320 |
#: includes/class-mla-core-options.php:467
|
321 |
+
#: includes/class-mla-core-options.php:477
|
322 |
msgid "Cached"
|
323 |
msgstr ""
|
324 |
|
325 |
+
#: includes/class-mla-core-options.php:468
|
326 |
msgid ""
|
327 |
"Search database posts and pages for [ gallery ] shortcode results.<br> "
|
328 |
" Dynamic = once every page load, Cached = once every login, Disabled = "
|
329 |
"never.<br> Refresh = update references, then set to Cached."
|
330 |
msgstr ""
|
331 |
|
332 |
+
#: includes/class-mla-core-options.php:472
|
333 |
+
#: includes/class-mla-edit-media.php:690 includes/class-mla-edit-media.php:1037
|
334 |
+
#: includes/class-mla-settings.php:1580
|
335 |
msgid "MLA Gallery in"
|
336 |
msgstr ""
|
337 |
|
338 |
+
#: includes/class-mla-core-options.php:478
|
339 |
msgid ""
|
340 |
"Search database posts and pages for [mla_gallery] shortcode results."
|
341 |
"<br> Dynamic = once every page load, Cached = once every login, "
|
343 |
"Cached."
|
344 |
msgstr ""
|
345 |
|
346 |
+
#: includes/class-mla-core-options.php:482 includes/class-mla-settings.php:1060
|
347 |
msgid "Taxonomy Support"
|
348 |
msgstr ""
|
349 |
|
350 |
+
#: includes/class-mla-core-options.php:487
|
351 |
msgid "Compute Attachments Column"
|
352 |
msgstr ""
|
353 |
|
354 |
+
#: includes/class-mla-core-options.php:491
|
355 |
msgid ""
|
356 |
"Check this option to calculate attachments per term in the Attachments "
|
357 |
"Column."
|
358 |
msgstr ""
|
359 |
|
360 |
+
#: includes/class-mla-core-options.php:495
|
361 |
msgid "Show Count Column"
|
362 |
msgstr ""
|
363 |
|
364 |
+
#: includes/class-mla-core-options.php:499
|
365 |
msgid ""
|
366 |
"Check this option to display the Count column on Categories and Tags "
|
367 |
"taxonomy edit screens."
|
368 |
msgstr ""
|
369 |
|
370 |
+
#: includes/class-mla-core-options.php:503
|
371 |
msgid ""
|
372 |
"Check the \"<strong>Support</strong>\" box to add the taxonomy to the "
|
373 |
"Assistant and the Edit Media screen."
|
374 |
msgstr ""
|
375 |
|
376 |
+
#: includes/class-mla-core-options.php:504
|
377 |
msgid ""
|
378 |
"Check the \"<strong>Inline Edit</strong>\" box to display the taxonomy in "
|
379 |
"the Quick Edit and Bulk Edit areas."
|
380 |
msgstr ""
|
381 |
|
382 |
+
#: includes/class-mla-core-options.php:505
|
383 |
msgid ""
|
384 |
"Check the \"<strong>Term Search</strong>\" box to add the taxonomy to the "
|
385 |
"\"Search Media/Terms\" list."
|
386 |
msgstr ""
|
387 |
|
388 |
+
#: includes/class-mla-core-options.php:506
|
389 |
+
#: includes/class-mla-core-options.php:729 includes/class-mla-settings.php:1091
|
390 |
+
#: includes/class-mla-settings.php:1092 includes/class-mla-settings.php:1093
|
391 |
msgid "For complete documentation"
|
392 |
msgstr ""
|
393 |
|
394 |
+
#: includes/class-mla-core-options.php:506
|
395 |
+
#: includes/class-mla-core-options.php:729 includes/class-mla-settings.php:1091
|
396 |
+
#: includes/class-mla-settings.php:1092 includes/class-mla-settings.php:1093
|
397 |
msgid "click here"
|
398 |
msgstr ""
|
399 |
|
400 |
+
#: includes/class-mla-core-options.php:508
|
401 |
msgid ""
|
402 |
"Check the \"<strong>Checklist</strong>\" box to enable the checklist-style "
|
403 |
"meta box for a flat taxonomy."
|
404 |
msgstr ""
|
405 |
|
406 |
+
#: includes/class-mla-core-options.php:509
|
407 |
msgid ""
|
408 |
"You must also check the <strong>\"Enable enhanced checklist taxonomies\"</"
|
409 |
"strong> box below to enable this feature."
|
410 |
msgstr ""
|
411 |
|
412 |
+
#: includes/class-mla-core-options.php:510
|
413 |
msgid ""
|
414 |
"Check the \"<strong>Checked On Top</strong>\" box to moved checked terms to "
|
415 |
"the top of the checklist-style meta box."
|
416 |
msgstr ""
|
417 |
|
418 |
+
#: includes/class-mla-core-options.php:511
|
419 |
msgid ""
|
420 |
"Use the \"<strong>List Filter</strong>\" option to select the taxonomy (or "
|
421 |
"custom field) on which to filter the Assistant table listing."
|
422 |
msgstr ""
|
423 |
|
424 |
+
#: includes/class-mla-core-options.php:512
|
425 |
msgid ""
|
426 |
"To <strong>filter on a custom field</strong>, enter the field name and "
|
427 |
"select ASC (Ascending) or DESC (Descending) order."
|
428 |
msgstr ""
|
429 |
|
430 |
+
#: includes/class-mla-core-options.php:540
|
431 |
msgid "Media/Assistant Screen Options"
|
432 |
msgstr ""
|
433 |
|
434 |
+
#: includes/class-mla-core-options.php:545
|
435 |
msgid "Admin Menu Options"
|
436 |
msgstr ""
|
437 |
|
438 |
+
#: includes/class-mla-core-options.php:550
|
439 |
msgid "Page Title"
|
440 |
msgstr ""
|
441 |
|
442 |
+
#: includes/class-mla-core-options.php:555
|
443 |
msgid "Enter the title for the Media/Assistant submenu page"
|
444 |
msgstr ""
|
445 |
|
446 |
+
#: includes/class-mla-core-options.php:559
|
447 |
msgid "Menu Title"
|
448 |
msgstr ""
|
449 |
|
450 |
+
#: includes/class-mla-core-options.php:564
|
451 |
msgid "Enter the title for the Media/Assistant submenu entry"
|
452 |
msgstr ""
|
453 |
|
454 |
+
#: includes/class-mla-core-options.php:568
|
455 |
msgid "Submenu Order"
|
456 |
msgstr ""
|
457 |
|
458 |
+
#: includes/class-mla-core-options.php:573
|
459 |
msgid ""
|
460 |
"Enter the position of the Media/Assistant submenu entry.<br> 0 = "
|
461 |
"natural order (at bottom), 1 - 4 = at top<br> "
|
463 |
"\""
|
464 |
msgstr ""
|
465 |
|
466 |
+
#: includes/class-mla-core-options.php:577
|
467 |
msgid "Display Media/Library"
|
468 |
msgstr ""
|
469 |
|
470 |
+
#: includes/class-mla-core-options.php:581
|
471 |
msgid ""
|
472 |
"Check/uncheck this option to display/remove the WordPress Media/Library "
|
473 |
"submenu entry."
|
474 |
msgstr ""
|
475 |
|
476 |
+
#: includes/class-mla-core-options.php:585
|
477 |
msgid "Display Media/Assistant list/grid view switcher"
|
478 |
msgstr ""
|
479 |
|
480 |
+
#: includes/class-mla-core-options.php:589
|
481 |
msgid ""
|
482 |
"Check/uncheck this option to display/remove the \"list/grid\" view switcher "
|
483 |
"on the Media/Assistant submenu."
|
484 |
msgstr ""
|
485 |
|
486 |
+
#: includes/class-mla-core-options.php:593
|
487 |
msgid "Table Defaults"
|
488 |
msgstr ""
|
489 |
|
490 |
+
#: includes/class-mla-core-options.php:598
|
491 |
msgid "Order By"
|
492 |
msgstr ""
|
493 |
|
494 |
+
#: includes/class-mla-core-options.php:603
|
495 |
+
#: includes/class-mla-core-options.php:847
|
496 |
+
#: includes/class-mla-core-options.php:878
|
497 |
+
#: includes/class-mla-core-options.php:892
|
498 |
#: includes/class-mla-list-table.php:486 includes/class-mla-list-table.php:1389
|
499 |
#: includes/class-mla-settings-shortcodes-tab.php:629
|
500 |
msgid "None"
|
501 |
msgstr ""
|
502 |
|
503 |
+
#: includes/class-mla-core-options.php:603
|
504 |
msgid "ID/Parent"
|
505 |
msgstr ""
|
506 |
|
507 |
+
#: includes/class-mla-core-options.php:604
|
508 |
msgid "Select the column for the sort order of the Assistant table listing."
|
509 |
msgstr ""
|
510 |
|
511 |
+
#: includes/class-mla-core-options.php:608
|
512 |
msgid "Order"
|
513 |
msgstr ""
|
514 |
|
515 |
+
#: includes/class-mla-core-options.php:613
|
516 |
msgid "Ascending"
|
517 |
msgstr ""
|
518 |
|
519 |
+
#: includes/class-mla-core-options.php:613
|
520 |
msgid "Descending"
|
521 |
msgstr ""
|
522 |
|
523 |
+
#: includes/class-mla-core-options.php:614
|
524 |
+
#: includes/class-mla-core-options.php:857
|
525 |
msgid "Choose the sort order."
|
526 |
msgstr ""
|
527 |
|
528 |
+
#: includes/class-mla-core-options.php:618
|
529 |
msgid "Views Width"
|
530 |
msgstr ""
|
531 |
|
532 |
+
#: includes/class-mla-core-options.php:623
|
533 |
msgid "Enter the width for the views list, in pixels (px) or percent (%)"
|
534 |
msgstr ""
|
535 |
|
536 |
+
#: includes/class-mla-core-options.php:627
|
537 |
msgid "Icon Size"
|
538 |
msgstr ""
|
539 |
|
540 |
+
#: includes/class-mla-core-options.php:632
|
541 |
msgid "Enter the size of the thumbnail/icon images, in pixels"
|
542 |
msgstr ""
|
543 |
|
544 |
+
#: includes/class-mla-core-options.php:636
|
545 |
msgid "Show Primary Column File Name"
|
546 |
msgstr ""
|
547 |
|
548 |
+
#: includes/class-mla-core-options.php:640
|
549 |
msgid ""
|
550 |
"Check/uncheck this option to show/omit the file name from the primary column."
|
551 |
msgstr ""
|
552 |
|
553 |
+
#: includes/class-mla-core-options.php:644
|
554 |
msgid "QuickTags editor for bulk description"
|
555 |
msgstr ""
|
556 |
|
557 |
+
#: includes/class-mla-core-options.php:648
|
558 |
msgid ""
|
559 |
"Check this option to use the QuickTags editor for the Description field in "
|
560 |
"the Bulk Edit area."
|
561 |
msgstr ""
|
562 |
|
563 |
+
#: includes/class-mla-core-options.php:652
|
564 |
msgid "Bulk Chunk Size"
|
565 |
msgstr ""
|
566 |
|
567 |
+
#: includes/class-mla-core-options.php:657
|
568 |
msgid "Enter the size of the Bulk Edit and Map All processing chunks"
|
569 |
msgstr ""
|
570 |
|
571 |
+
#: includes/class-mla-core-options.php:661
|
572 |
msgid "Taxonomy Filter parameters"
|
573 |
msgstr ""
|
574 |
|
575 |
+
#: includes/class-mla-core-options.php:666
|
576 |
msgid "Maximum Depth"
|
577 |
msgstr ""
|
578 |
|
579 |
+
#: includes/class-mla-core-options.php:671
|
580 |
msgid ""
|
581 |
"Enter the number of levels displayed for hierarchial taxonomies; enter zero "
|
582 |
"for no limit."
|
583 |
msgstr ""
|
584 |
|
585 |
+
#: includes/class-mla-core-options.php:675
|
586 |
msgid "Include Children"
|
587 |
msgstr ""
|
588 |
|
589 |
+
#: includes/class-mla-core-options.php:679
|
590 |
msgid ""
|
591 |
"Check/uncheck this option to include/exclude children for hierarchical "
|
592 |
"taxonomies."
|
593 |
msgstr ""
|
594 |
|
595 |
+
#: includes/class-mla-core-options.php:683
|
596 |
msgid "Search Media Defaults"
|
597 |
msgstr ""
|
598 |
|
599 |
+
#: includes/class-mla-core-options.php:688
|
600 |
msgid "Display Search Controls"
|
601 |
msgstr ""
|
602 |
|
603 |
+
#: includes/class-mla-core-options.php:692
|
604 |
+
#: includes/class-mla-core-options.php:818
|
605 |
msgid ""
|
606 |
"Check/uncheck this option to display/hide the and/or connector and search "
|
607 |
"fields controls."
|
608 |
msgstr ""
|
609 |
|
610 |
+
#: includes/class-mla-core-options.php:696
|
611 |
msgid ""
|
612 |
"Use these controls to set defaults for the and/or connector and search "
|
613 |
"fields controls.<br>These defaults will be used for the Search Media boxes "
|
614 |
"on both the Media/Assistant submenu<br>and the Media Manager Modal Window."
|
615 |
msgstr ""
|
616 |
|
617 |
+
#: includes/class-mla-core-options.php:710
|
618 |
msgid "Media/Edit Media Enhancements"
|
619 |
msgstr ""
|
620 |
|
621 |
+
#: includes/class-mla-core-options.php:715
|
622 |
msgid "Enable "enhanced checklist" taxonomies"
|
623 |
msgstr ""
|
624 |
|
625 |
+
#: includes/class-mla-core-options.php:719
|
626 |
msgid ""
|
627 |
"Check this option to enable the \"? Search\" feature for hierarchical "
|
628 |
"taxonomies, e.g., Att. Categories.<br> This option also enables "
|
629 |
"the \"checklist-style\" support for flat taxonomies, e.g., Att. Tags."
|
630 |
msgstr ""
|
631 |
|
632 |
+
#: includes/class-mla-core-options.php:723
|
633 |
msgid "Enable Edit Media additional meta boxes"
|
634 |
msgstr ""
|
635 |
|
636 |
+
#: includes/class-mla-core-options.php:727
|
637 |
msgid ""
|
638 |
"Check this option to add \"Parent Info\", \"Menu Order\", \"Attachment "
|
639 |
"Metadata\" and four \"where-used\" meta boxes to the Edit Media screen."
|
640 |
msgstr ""
|
641 |
|
642 |
+
#: includes/class-mla-core-options.php:728
|
643 |
msgid "You can also use Filters to customize the meta boxes."
|
644 |
msgstr ""
|
645 |
|
646 |
+
#: includes/class-mla-core-options.php:733
|
647 |
msgid "Media/Add New Enhancements"
|
648 |
msgstr ""
|
649 |
|
650 |
+
#: includes/class-mla-core-options.php:738
|
651 |
msgid "Enable "bulk edit" area"
|
652 |
msgstr ""
|
653 |
|
654 |
+
#: includes/class-mla-core-options.php:742
|
655 |
msgid ""
|
656 |
"Check this option to enable the \"Bulk Edit area\" feature on the Media/Add "
|
657 |
"New screen."
|
658 |
msgstr ""
|
659 |
|
660 |
+
#: includes/class-mla-core-options.php:746
|
661 |
msgid ""bulk edit" area on top"
|
662 |
msgstr ""
|
663 |
|
664 |
+
#: includes/class-mla-core-options.php:750
|
665 |
msgid ""
|
666 |
"Check this option to move the \"Bulk Edit area\" to the top of the Media/Add "
|
667 |
"New screen."
|
668 |
msgstr ""
|
669 |
|
670 |
+
#: includes/class-mla-core-options.php:754
|
671 |
msgid ""bulk edit" area initially open"
|
672 |
msgstr ""
|
673 |
|
674 |
+
#: includes/class-mla-core-options.php:757
|
675 |
msgid ""
|
676 |
"Check this option to automatically open the \"Bulk Edit area\" when the "
|
677 |
"Media/Add New screen is displayed."
|
678 |
msgstr ""
|
679 |
|
680 |
+
#: includes/class-mla-core-options.php:761
|
681 |
msgid "Media Manager/Media Grid Enhancements"
|
682 |
msgstr ""
|
683 |
|
684 |
+
#: includes/class-mla-core-options.php:766
|
685 |
msgid "Enable Media Grid Enhancements"
|
686 |
msgstr ""
|
687 |
|
688 |
+
#: includes/class-mla-core-options.php:769
|
689 |
msgid ""
|
690 |
"Check/uncheck this option to enable/disable Media Library Grid View "
|
691 |
"Enhancements."
|
692 |
msgstr ""
|
693 |
|
694 |
+
#: includes/class-mla-core-options.php:773
|
695 |
msgid "Enable Media Manager Enhancements"
|
696 |
msgstr ""
|
697 |
|
698 |
+
#: includes/class-mla-core-options.php:776
|
699 |
msgid ""
|
700 |
"Check/uncheck this option to enable/disable Media Manager Modal Window "
|
701 |
"Enhancements."
|
702 |
msgstr ""
|
703 |
|
704 |
+
#: includes/class-mla-core-options.php:780
|
705 |
msgid "Media Manager Enhanced MIME Type filter"
|
706 |
msgstr ""
|
707 |
|
708 |
+
#: includes/class-mla-core-options.php:783
|
709 |
msgid ""
|
710 |
"Check this option to filter by more MIME Types, e.g., text, applications."
|
711 |
msgstr ""
|
712 |
|
713 |
+
#: includes/class-mla-core-options.php:787
|
714 |
msgid "Media Manager Month and Year filter"
|
715 |
msgstr ""
|
716 |
|
717 |
+
#: includes/class-mla-core-options.php:790
|
718 |
msgid "Check this option to filter by month and year uploaded."
|
719 |
msgstr ""
|
720 |
|
721 |
+
#: includes/class-mla-core-options.php:794
|
722 |
msgid "Media Manager Category/Tag filter"
|
723 |
msgstr ""
|
724 |
|
725 |
+
#: includes/class-mla-core-options.php:797
|
726 |
msgid "Check this option to filter by taxonomy terms."
|
727 |
msgstr ""
|
728 |
|
729 |
+
#: includes/class-mla-core-options.php:801
|
730 |
msgid "Media Manager Terms Search popup"
|
731 |
msgstr ""
|
732 |
|
733 |
+
#: includes/class-mla-core-options.php:804
|
734 |
msgid "Check this option to enable the \"Terms Search\" popup window."
|
735 |
msgstr ""
|
736 |
|
737 |
+
#: includes/class-mla-core-options.php:808
|
738 |
msgid "Media Manager Enhanced Search Media box"
|
739 |
msgstr ""
|
740 |
|
741 |
+
#: includes/class-mla-core-options.php:811
|
742 |
msgid "Check this option to enable search box enhancements."
|
743 |
msgstr ""
|
744 |
|
745 |
+
#: includes/class-mla-core-options.php:815
|
746 |
msgid "Media Manager Enhanced Search Media Controls"
|
747 |
msgstr ""
|
748 |
|
749 |
+
#: includes/class-mla-core-options.php:822
|
750 |
msgid "Media Manager Checklist meta boxes"
|
751 |
msgstr ""
|
752 |
|
753 |
+
#: includes/class-mla-core-options.php:825
|
754 |
msgid ""
|
755 |
"Check this option to enable MLA-enhanced meta boxes in the \"ATTACHMENT "
|
756 |
"DETAILS\" pane.<br> This option is for any taxonomy that uses a "
|
757 |
"<strong>\"checklist-style\"</strong> meta box."
|
758 |
msgstr ""
|
759 |
|
760 |
+
#: includes/class-mla-core-options.php:829
|
761 |
msgid "Media Manager Flat meta boxes"
|
762 |
msgstr ""
|
763 |
|
764 |
+
#: includes/class-mla-core-options.php:832
|
765 |
msgid ""
|
766 |
"Check this option to enable MLA-enhanced meta boxes in the \"ATTACHMENT "
|
767 |
"DETAILS\" pane.<br> This option is for <strong>flat taxonomies</"
|
769 |
"style\" meta box."
|
770 |
msgstr ""
|
771 |
|
772 |
+
#: includes/class-mla-core-options.php:836
|
773 |
msgid "Media Manager auto-fill meta boxes"
|
774 |
msgstr ""
|
775 |
|
776 |
+
#: includes/class-mla-core-options.php:839
|
777 |
msgid ""
|
778 |
"Check this option to automatically fill MLA-enhanced meta boxes in the "
|
779 |
"\"ATTACHMENT DETAILS\" pane<br> when the item is selected."
|
780 |
msgstr ""
|
781 |
|
782 |
+
#: includes/class-mla-core-options.php:843
|
783 |
msgid "Media Manager Order By"
|
784 |
msgstr ""
|
785 |
|
786 |
+
#: includes/class-mla-core-options.php:847
|
787 |
+
#: includes/class-mla-core-options.php:856
|
788 |
+
#: includes/class-mla-core-options.php:878
|
789 |
+
#: includes/class-mla-core-options.php:892
|
790 |
+
#: includes/class-mla-core-options.php:906 includes/class-mla-settings.php:1142
|
791 |
msgid "Media Manager Default"
|
792 |
msgstr ""
|
793 |
|
794 |
+
#: includes/class-mla-core-options.php:847
|
795 |
msgid "Title/Name"
|
796 |
msgstr ""
|
797 |
|
798 |
+
#: includes/class-mla-core-options.php:848
|
799 |
msgid ""
|
800 |
"If you want to override the Media Manager default,<br> select a "
|
801 |
"column for the sort order of the Media Library listing."
|
802 |
msgstr ""
|
803 |
|
804 |
+
#: includes/class-mla-core-options.php:852
|
805 |
msgid "Media Manager Order"
|
806 |
msgstr ""
|
807 |
|
808 |
+
#: includes/class-mla-core-options.php:861
|
809 |
msgid "Attachment Display Settings"
|
810 |
msgstr ""
|
811 |
|
812 |
+
#: includes/class-mla-core-options.php:866
|
813 |
msgid "Media Manager Apply Display Settings"
|
814 |
msgstr ""
|
815 |
|
816 |
+
#: includes/class-mla-core-options.php:869
|
817 |
msgid ""
|
818 |
"Check this option to always start with the Attachment Display Settings set "
|
819 |
"here,<br> overriding browser-/cookie-based defaults."
|
820 |
msgstr ""
|
821 |
|
822 |
+
#: includes/class-mla-core-options.php:873
|
823 |
+
#: includes/class-mla-core-options.php:875
|
824 |
msgid "Alignment"
|
825 |
msgstr ""
|
826 |
|
827 |
+
#: includes/class-mla-core-options.php:875
|
828 |
+
#: includes/class-mla-core-options.php:889
|
829 |
+
#: includes/class-mla-core-options.php:903
|
830 |
#, php-format
|
831 |
msgid ""
|
832 |
"Select a value for the default %1$s option in the Attachment Display "
|
833 |
"Settings."
|
834 |
msgstr ""
|
835 |
|
836 |
+
#: includes/class-mla-core-options.php:878
|
837 |
msgid "Left"
|
838 |
msgstr ""
|
839 |
|
840 |
+
#: includes/class-mla-core-options.php:878
|
841 |
msgid "Center"
|
842 |
msgstr ""
|
843 |
|
844 |
+
#: includes/class-mla-core-options.php:878
|
845 |
msgid "Right"
|
846 |
msgstr ""
|
847 |
|
848 |
+
#: includes/class-mla-core-options.php:887
|
849 |
+
#: includes/class-mla-core-options.php:889
|
850 |
msgid "Link To"
|
851 |
msgstr ""
|
852 |
|
853 |
+
#: includes/class-mla-core-options.php:892
|
854 |
msgid "Media File"
|
855 |
msgstr ""
|
856 |
|
857 |
+
#: includes/class-mla-core-options.php:892
|
858 |
msgid "Attachment Page"
|
859 |
msgstr ""
|
860 |
|
861 |
+
#: includes/class-mla-core-options.php:892
|
862 |
msgid "Custom URL"
|
863 |
msgstr ""
|
864 |
|
865 |
+
#: includes/class-mla-core-options.php:901
|
866 |
+
#: includes/class-mla-core-options.php:903
|
867 |
msgid "Size"
|
868 |
msgstr ""
|
869 |
|
870 |
+
#: includes/class-mla-core-options.php:906
|
871 |
#: includes/class-mla-thumbnail-generation.php:570
|
872 |
#: includes/class-mla-thumbnail-generation.php:636
|
873 |
msgid "Thumbnail"
|
874 |
msgstr ""
|
875 |
|
876 |
+
#: includes/class-mla-core-options.php:906
|
877 |
msgid "Medium"
|
878 |
msgstr ""
|
879 |
|
880 |
+
#: includes/class-mla-core-options.php:906
|
881 |
msgid "Large"
|
882 |
msgstr ""
|
883 |
|
884 |
+
#: includes/class-mla-core-options.php:906
|
885 |
msgid "Full Size"
|
886 |
msgstr ""
|
887 |
|
888 |
+
#: includes/class-mla-core-options.php:915
|
889 |
msgid "Uninstall (Delete) Plugin Settings"
|
890 |
msgstr ""
|
891 |
|
892 |
+
#: includes/class-mla-core-options.php:920
|
893 |
msgid "Delete Option Settings"
|
894 |
msgstr ""
|
895 |
|
896 |
+
#: includes/class-mla-core-options.php:923
|
897 |
msgid ""
|
898 |
"Check this option to remove all MLA option settings from the database when "
|
899 |
"the plugin is deleted.<br> <strong>You can make a backup copy</"
|
900 |
"strong> of your settings below by clicking \""
|
901 |
msgstr ""
|
902 |
|
903 |
+
#: includes/class-mla-core-options.php:923 includes/class-mla-settings.php:1062
|
904 |
msgid "Export ALL Settings"
|
905 |
msgstr ""
|
906 |
|
907 |
+
#: includes/class-mla-core-options.php:927
|
908 |
msgid "Delete Option Settings Backups"
|
909 |
msgstr ""
|
910 |
|
911 |
+
#: includes/class-mla-core-options.php:930
|
912 |
msgid ""
|
913 |
"Check this option to remove the <code>/wp-content/mla-backup</code> "
|
914 |
"directory and its contents when the plugin is deleted."
|
915 |
msgstr ""
|
916 |
|
917 |
+
#: includes/class-mla-core-options.php:934
|
918 |
msgid "Default [mla_gallery] Templates and Settings"
|
919 |
msgstr ""
|
920 |
|
921 |
+
#: includes/class-mla-core-options.php:939
|
922 |
+
#: includes/class-mla-core-options.php:945
|
923 |
+
#: includes/class-mla-core-options.php:983
|
924 |
+
#: includes/class-mla-core-options.php:989
|
925 |
msgid "Style Template"
|
926 |
msgstr ""
|
927 |
|
|
|
928 |
#: includes/class-mla-core-options.php:945
|
929 |
+
#: includes/class-mla-core-options.php:955
|
930 |
#: includes/class-mla-core-options.php:989
|
931 |
+
#: includes/class-mla-core-options.php:999
|
932 |
#, php-format
|
933 |
msgid "Select the default %1$s for your %2$s shortcodes."
|
934 |
msgstr ""
|
935 |
|
936 |
+
#: includes/class-mla-core-options.php:949
|
937 |
+
#: includes/class-mla-core-options.php:993
|
938 |
msgid "Markup Template"
|
939 |
msgstr ""
|
940 |
|
941 |
+
#: includes/class-mla-core-options.php:955
|
942 |
+
#: includes/class-mla-core-options.php:999
|
943 |
#: includes/class-mla-settings-shortcodes-tab.php:85
|
944 |
msgid "markup template"
|
945 |
msgstr ""
|
946 |
|
947 |
+
#: includes/class-mla-core-options.php:959
|
948 |
+
#: includes/class-mla-core-options.php:1003
|
949 |
msgid "Default columns"
|
950 |
msgstr ""
|
951 |
|
952 |
+
#: includes/class-mla-core-options.php:963
|
953 |
msgid ""
|
954 |
"Enter the number of [mla_tag_cloud] columns; must be a positive integer."
|
955 |
msgstr ""
|
956 |
|
957 |
+
#: includes/class-mla-core-options.php:967
|
958 |
+
#: includes/class-mla-core-options.php:1011
|
959 |
msgid "Default mla_margin"
|
960 |
msgstr ""
|
961 |
|
962 |
+
#: includes/class-mla-core-options.php:971
|
963 |
+
#: includes/class-mla-core-options.php:1015
|
964 |
msgid ""
|
965 |
"Enter the CSS \"margin\" property value, in length (px, em, pt, etc.), "
|
966 |
"percent (%), \"auto\" or \"inherit\".<br> Enter \"none\" to "
|
967 |
"remove the property entirely."
|
968 |
msgstr ""
|
969 |
|
970 |
+
#: includes/class-mla-core-options.php:975
|
971 |
+
#: includes/class-mla-core-options.php:1019
|
972 |
msgid "Default mla_itemwidth"
|
973 |
msgstr ""
|
974 |
|
975 |
+
#: includes/class-mla-core-options.php:979
|
976 |
+
#: includes/class-mla-core-options.php:1023
|
977 |
msgid ""
|
978 |
"Enter the CSS \"width\" property value, in length (px, em, pt, etc.), "
|
979 |
"percent (%), \"auto\" or \"inherit\".<br> Enter \"calculate"
|
983 |
"the property entirely."
|
984 |
msgstr ""
|
985 |
|
986 |
+
#: includes/class-mla-core-options.php:1007
|
987 |
msgid "Enter the number of [mla_gallery] columns; must be a positive integer."
|
988 |
msgstr ""
|
989 |
|
990 |
+
#: includes/class-mla-core-options.php:1027
|
991 |
msgid "Thumbnail Substitution Support, mla_viewer"
|
992 |
msgstr ""
|
993 |
|
994 |
+
#: includes/class-mla-core-options.php:1032
|
995 |
msgid "Enable thumbnail substitution"
|
996 |
msgstr ""
|
997 |
|
998 |
+
#: includes/class-mla-core-options.php:1035
|
999 |
msgid ""
|
1000 |
"Check this option to allow the \"mla_viewer\" to generate thumbnail images "
|
1001 |
"for PDF documents. Thumbnails are generated dynamically, each time the item "
|
1004 |
"strong>"
|
1005 |
msgstr ""
|
1006 |
|
1007 |
+
#: includes/class-mla-core-options.php:1039
|
1008 |
msgid "Enable Featured Images"
|
1009 |
msgstr ""
|
1010 |
|
1011 |
+
#: includes/class-mla-core-options.php:1042
|
1012 |
msgid ""
|
1013 |
"Check this option to extend Featured Image support to all Media Library "
|
1014 |
"items. The Featured Image can be used as a thumbnail image for the item in "
|
1015 |
"an [mla_gallery] display."
|
1016 |
msgstr ""
|
1017 |
|
1018 |
+
#: includes/class-mla-core-options.php:1046
|
1019 |
msgid "Enable Featured Image Generation"
|
1020 |
msgstr ""
|
1021 |
|
1022 |
+
#: includes/class-mla-core-options.php:1049
|
1023 |
msgid ""
|
1024 |
"Check this option to enable the \"Thumbnail\" generation action in the Media/"
|
1025 |
"Assistant submenu Bulk Actions dropdown."
|
1026 |
msgstr ""
|
1027 |
|
1028 |
+
#: includes/class-mla-core-options.php:1053
|
1029 |
msgid "Enable explicit Ghostscript check"
|
1030 |
msgstr ""
|
1031 |
|
1032 |
+
#: includes/class-mla-core-options.php:1056
|
1033 |
msgid ""
|
1034 |
"Check this option to enable the explicit check for Ghostscript support "
|
1035 |
"required for thumbnail generation. If your Ghostscript software is in a non-"
|
1038 |
"leave this option checked unless you know it is safe to turn it off."
|
1039 |
msgstr ""
|
1040 |
|
1041 |
+
#: includes/class-mla-core-options.php:1060
|
1042 |
msgid "Ghostscript path"
|
1043 |
msgstr ""
|
1044 |
|
1045 |
+
#: includes/class-mla-core-options.php:1064
|
1046 |
msgid ""
|
1047 |
"If your “gs” executable is in a non-standard location, enter the "
|
1048 |
"full path and filename here, e.g., “/usr/bin/gs”. It will "
|
1049 |
"override the search for Ghostscript in other places."
|
1050 |
msgstr ""
|
1051 |
|
1052 |
+
#: includes/class-mla-core-options.php:1084
|
1053 |
+
msgid "Enable custom field mapping"
|
1054 |
msgstr ""
|
1055 |
|
1056 |
+
#: includes/class-mla-core-options.php:1087
|
1057 |
+
#: includes/class-mla-core-options.php:1094
|
1058 |
+
#: includes/class-mla-core-options.php:1101
|
1059 |
+
#: includes/class-mla-core-options.php:1118
|
1060 |
msgid "See Help menu."
|
1061 |
msgstr ""
|
1062 |
|
1063 |
+
#: includes/class-mla-core-options.php:1091
|
1064 |
+
msgid "Enable custom field mapping when adding new media"
|
1065 |
+
msgstr ""
|
1066 |
+
|
1067 |
+
#: includes/class-mla-core-options.php:1098
|
1068 |
msgid "Enable custom field mapping when updating media metadata"
|
1069 |
msgstr ""
|
1070 |
|
1071 |
+
#: includes/class-mla-core-options.php:1105
|
1072 |
msgid ""
|
1073 |
"Update the custom field mapping values above, then click Save Changes to "
|
1074 |
"make the updates permanent.<br>You can also make temporary updates and click "
|
1076 |
"saving any rule changes."
|
1077 |
msgstr ""
|
1078 |
|
1079 |
+
#: includes/class-mla-core-options.php:1115
|
1080 |
+
msgid "Enable IPTC/EXIF Mapping"
|
1081 |
+
msgstr ""
|
1082 |
+
|
1083 |
+
#: includes/class-mla-core-options.php:1122
|
1084 |
msgid "Enable IPTC/EXIF Mapping when adding new media"
|
1085 |
msgstr ""
|
1086 |
|
1087 |
+
#: includes/class-mla-core-options.php:1125
|
1088 |
msgid ""
|
1089 |
"Check this option to enable mapping when uploading new media (attachments)."
|
1090 |
"<br> Does NOT affect the operation of the \"Map\" buttons on the "
|
1091 |
"bulk edit, single edit and settings screens."
|
1092 |
msgstr ""
|
1093 |
|
1094 |
+
#: includes/class-mla-core-options.php:1129
|
1095 |
msgid "Enable IPTC/EXIF Mapping when updating media metadata"
|
1096 |
msgstr ""
|
1097 |
|
1098 |
+
#: includes/class-mla-core-options.php:1132
|
1099 |
msgid ""
|
1100 |
"Check this option to enable mapping when media (attachments) metadata is "
|
1101 |
"regenerated,<br> e.g., when the Media/Edit Media \"Edit Image\" "
|
1102 |
"functions are used."
|
1103 |
msgstr ""
|
1104 |
|
1105 |
+
#: includes/class-mla-core-options.php:1136
|
1106 |
msgid ""
|
1107 |
"Update the standard field mapping values above, then click <strong>Save "
|
1108 |
"Changes</strong> to make the updates permanent.<br>You can also make "
|
1111 |
"changes."
|
1112 |
msgstr ""
|
1113 |
|
1114 |
+
#: includes/class-mla-core-options.php:1146
|
1115 |
msgid ""
|
1116 |
"Update the taxonomy term mapping values above, then click <strong>Save "
|
1117 |
"Changes</strong> or <strong>Map All Attachments, Taxonomy Terms Now</strong>."
|
1118 |
msgstr ""
|
1119 |
|
1120 |
+
#: includes/class-mla-core-options.php:1156
|
1121 |
msgid ""
|
1122 |
"<strong>Update</strong> individual custom field mapping values above, or "
|
1123 |
"make several updates and click <strong>Save Changes</strong> below to apply "
|
1128 |
"changes."
|
1129 |
msgstr ""
|
1130 |
|
1131 |
+
#: includes/class-mla-core-options.php:1166
|
1132 |
msgid "IPTC/EXIF Mapping help"
|
1133 |
msgstr ""
|
1134 |
|
1135 |
+
#: includes/class-mla-core-options.php:1177 includes/class-mla-data.php:3794
|
1136 |
+
#: includes/class-mla-edit-media.php:427 includes/class-mla-main.php:2044
|
1137 |
msgid "Name/Slug"
|
1138 |
msgstr ""
|
1139 |
|
1140 |
+
#: includes/class-mla-core-options.php:1184 includes/class-mla-data.php:3837
|
1141 |
#: includes/class-mla-edit-media.php:430 includes/class-mla-list-table.php:1331
|
1142 |
+
#: includes/class-mla-main.php:2048 includes/class-mla-options.php:459
|
1143 |
#: includes/mla-main-search-box-template.php:51
|
1144 |
#: includes/mla-media-modal-js-template.php:48
|
1145 |
msgid "ALT Text"
|
1146 |
msgstr ""
|
1147 |
|
1148 |
+
#: includes/class-mla-core-options.php:1191 includes/class-mla-data.php:3850
|
1149 |
+
#: includes/class-mla-edit-media.php:428 includes/class-mla-main.php:2045
|
1150 |
+
#: includes/class-mla-options.php:462
|
1151 |
#: includes/mla-main-search-box-template.php:53
|
1152 |
#: includes/mla-media-modal-js-template.php:53
|
1153 |
msgid "Caption"
|
1154 |
msgstr ""
|
1155 |
|
1156 |
+
#: includes/class-mla-core-options.php:1198 includes/class-mla-data.php:3859
|
1157 |
+
#: includes/class-mla-edit-media.php:429 includes/class-mla-main.php:2046
|
1158 |
+
#: includes/class-mla-options.php:465
|
1159 |
#: includes/class-mla-settings-upload-tab.php:174
|
1160 |
#: includes/class-mla-settings-upload-tab.php:542
|
1161 |
#: includes/class-mla-settings-view-tab.php:132
|
1171 |
msgid "Description"
|
1172 |
msgstr ""
|
1173 |
|
1174 |
+
#: includes/class-mla-core-options.php:1218
|
1175 |
msgid "Enable View and Post MIME Type Support"
|
1176 |
msgstr ""
|
1177 |
|
1178 |
+
#: includes/class-mla-core-options.php:1221
|
1179 |
msgid ""
|
1180 |
"Check/uncheck this option to enable/disable Post MIME Type Support, then "
|
1181 |
"click <strong>Save Changes</strong> to record the new setting."
|
1182 |
msgstr ""
|
1183 |
|
1184 |
+
#: includes/class-mla-core-options.php:1230
|
1185 |
msgid "Post MIME Types help."
|
1186 |
msgstr ""
|
1187 |
|
1188 |
+
#: includes/class-mla-core-options.php:1233
|
1189 |
#: includes/class-mla-mime-types.php:1630
|
1190 |
+
#: includes/class-mla-settings-custom-fields-tab.php:2454
|
1191 |
#: includes/class-mla-settings-documentation-tab.php:1544
|
1192 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:2723
|
1193 |
#: includes/class-mla-settings-shortcodes-tab.php:1970
|
1194 |
msgctxt "table_view_singular"
|
1195 |
msgid "All"
|
1196 |
msgstr ""
|
1197 |
|
1198 |
+
#: includes/class-mla-core-options.php:1234
|
1199 |
#: includes/class-mla-mime-types.php:1631
|
1200 |
+
#: includes/class-mla-settings-custom-fields-tab.php:2455
|
1201 |
#: includes/class-mla-settings-documentation-tab.php:1545
|
1202 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:2724
|
1203 |
#: includes/class-mla-settings-shortcodes-tab.php:1971
|
1204 |
msgctxt "table_view_plural"
|
1205 |
msgid "All"
|
1206 |
msgstr ""
|
1207 |
|
1208 |
+
#: includes/class-mla-core-options.php:1239
|
1209 |
+
#: includes/class-mla-core-options.php:1293
|
1210 |
+
#: includes/class-mla-core-options.php:1302
|
1211 |
+
#: includes/class-mla-core-options.php:1311
|
1212 |
msgctxt "post_mime_types_description"
|
1213 |
msgid "Built-in view"
|
1214 |
msgstr ""
|
1215 |
|
1216 |
+
#: includes/class-mla-core-options.php:1242
|
1217 |
msgctxt "table_view_singular"
|
1218 |
msgid "Image"
|
1219 |
msgstr ""
|
1220 |
|
1221 |
+
#: includes/class-mla-core-options.php:1243
|
1222 |
msgctxt "table_view_plural"
|
1223 |
msgid "Images"
|
1224 |
msgstr ""
|
1225 |
|
1226 |
+
#: includes/class-mla-core-options.php:1248
|
1227 |
msgctxt "post_mime_types_description"
|
1228 |
msgid "All image subtypes"
|
1229 |
msgstr ""
|
1230 |
|
1231 |
+
#: includes/class-mla-core-options.php:1251
|
1232 |
msgctxt "table_view_singular"
|
1233 |
msgid "Audio"
|
1234 |
msgstr ""
|
1235 |
|
1236 |
+
#: includes/class-mla-core-options.php:1252
|
1237 |
msgctxt "table_view_plural"
|
1238 |
msgid "Audio"
|
1239 |
msgstr ""
|
1240 |
|
1241 |
+
#: includes/class-mla-core-options.php:1257
|
1242 |
msgctxt "post_mime_types_description"
|
1243 |
msgid "All audio subtypes"
|
1244 |
msgstr ""
|
1245 |
|
1246 |
+
#: includes/class-mla-core-options.php:1260
|
1247 |
msgctxt "table_view_singular"
|
1248 |
msgid "Video"
|
1249 |
msgstr ""
|
1250 |
|
1251 |
+
#: includes/class-mla-core-options.php:1261
|
1252 |
msgctxt "table_view_plural"
|
1253 |
msgid "Video"
|
1254 |
msgstr ""
|
1255 |
|
1256 |
+
#: includes/class-mla-core-options.php:1266
|
1257 |
msgctxt "post_mime_types_description"
|
1258 |
msgid "All video subtypes"
|
1259 |
msgstr ""
|
1260 |
|
1261 |
+
#: includes/class-mla-core-options.php:1269
|
1262 |
msgctxt "table_view_singular"
|
1263 |
msgid "Text"
|
1264 |
msgstr ""
|
1265 |
|
1266 |
+
#: includes/class-mla-core-options.php:1270
|
1267 |
msgctxt "table_view_plural"
|
1268 |
msgid "Text"
|
1269 |
msgstr ""
|
1270 |
|
1271 |
+
#: includes/class-mla-core-options.php:1275
|
1272 |
msgctxt "post_mime_types_description"
|
1273 |
msgid "All text subtypes"
|
1274 |
msgstr ""
|
1275 |
|
1276 |
+
#: includes/class-mla-core-options.php:1278
|
1277 |
msgctxt "table_view_singular"
|
1278 |
msgid "Application"
|
1279 |
msgstr ""
|
1280 |
|
1281 |
+
#: includes/class-mla-core-options.php:1279
|
1282 |
msgctxt "table_view_plural"
|
1283 |
msgid "Applications"
|
1284 |
msgstr ""
|
1285 |
|
1286 |
+
#: includes/class-mla-core-options.php:1284
|
1287 |
msgctxt "post_mime_types_description"
|
1288 |
msgid "All application subtypes"
|
1289 |
msgstr ""
|
1290 |
|
1291 |
+
#: includes/class-mla-core-options.php:1287
|
1292 |
#: includes/class-mla-list-table.php:1545
|
1293 |
msgctxt "table_view_singular"
|
1294 |
msgid "Unattached"
|
1295 |
msgstr ""
|
1296 |
|
1297 |
+
#: includes/class-mla-core-options.php:1288
|
1298 |
msgctxt "table_view_plural"
|
1299 |
msgid "Unattached"
|
1300 |
msgstr ""
|
1301 |
|
1302 |
+
#: includes/class-mla-core-options.php:1296
|
1303 |
msgctxt "table_view_singular"
|
1304 |
msgid "Attached"
|
1305 |
msgstr ""
|
1306 |
|
1307 |
+
#: includes/class-mla-core-options.php:1297
|
1308 |
msgctxt "table_view_plural"
|
1309 |
msgid "Attached"
|
1310 |
msgstr ""
|
1311 |
|
1312 |
+
#: includes/class-mla-core-options.php:1305
|
1313 |
msgctxt "table_view_singular"
|
1314 |
msgid "Trash"
|
1315 |
msgstr ""
|
1316 |
|
1317 |
+
#: includes/class-mla-core-options.php:1306
|
1318 |
msgctxt "table_view_plural"
|
1319 |
msgid "Trash"
|
1320 |
msgstr ""
|
1321 |
|
1322 |
+
#: includes/class-mla-core-options.php:1317
|
1323 |
msgid "Enable Upload MIME Type Support"
|
1324 |
msgstr ""
|
1325 |
|
1326 |
+
#: includes/class-mla-core-options.php:1320
|
1327 |
msgid ""
|
1328 |
"Check/uncheck this option to enable/disable Upload MIME Type Support, then "
|
1329 |
"click <strong>Save Changes</strong> to record the new setting."
|
1330 |
msgstr ""
|
1331 |
|
1332 |
+
#: includes/class-mla-core-options.php:1329
|
1333 |
msgid "Upload MIME Types help."
|
1334 |
msgstr ""
|
1335 |
|
1336 |
+
#: includes/class-mla-core-options.php:1334
|
1337 |
msgid "Enable MLA File Type Icons Support"
|
1338 |
msgstr ""
|
1339 |
|
1340 |
+
#: includes/class-mla-core-options.php:1337
|
1341 |
msgid ""
|
1342 |
"Check/uncheck this option to enable/disable MLA File Type Icons Support, "
|
1343 |
"then click <strong>Save Changes</strong> to record the new setting."
|
1344 |
msgstr ""
|
1345 |
|
1346 |
+
#: includes/class-mla-core-options.php:1341
|
1347 |
msgid "Display Limit"
|
1348 |
msgstr ""
|
1349 |
|
1350 |
+
#: includes/class-mla-core-options.php:1345
|
1351 |
msgid ""
|
1352 |
"Enter the maximum number of debug log characters to display; enter zero or "
|
1353 |
"leave blank for no limit."
|
1354 |
msgstr ""
|
1355 |
|
1356 |
+
#: includes/class-mla-core-options.php:1349
|
1357 |
msgid "Debug File"
|
1358 |
msgstr ""
|
1359 |
|
1360 |
+
#: includes/class-mla-core-options.php:1353
|
1361 |
msgid ""
|
1362 |
"Enter the name of an alternate, MLA-specific debug log file; leave blank to "
|
1363 |
"use the PHP error_log."
|
1364 |
msgstr ""
|
1365 |
|
1366 |
+
#: includes/class-mla-core-options.php:1357
|
1367 |
msgid "Replace PHP error_log file"
|
1368 |
msgstr ""
|
1369 |
|
1370 |
+
#: includes/class-mla-core-options.php:1360
|
1371 |
msgid ""
|
1372 |
"Check this option to replace the PHP error_log file with the MLA Debug File."
|
1373 |
"<br> allows capture of PHP messages in the MLA Debug File."
|
1374 |
msgstr ""
|
1375 |
|
1376 |
+
#: includes/class-mla-core-options.php:1364
|
1377 |
msgid "PHP Reporting"
|
1378 |
msgstr ""
|
1379 |
|
1380 |
+
#: includes/class-mla-core-options.php:1368
|
1381 |
msgid ""
|
1382 |
"Enter a numeric error_reporting value, e.g., 0x7FFF or 32767; leave blank to "
|
1383 |
"use the existing PHP error_reporting value."
|
1384 |
msgstr ""
|
1385 |
|
1386 |
+
#: includes/class-mla-core-options.php:1372
|
1387 |
msgid "MLA Reporting"
|
1388 |
msgstr ""
|
1389 |
|
1390 |
+
#: includes/class-mla-core-options.php:1376
|
1391 |
msgid ""
|
1392 |
"Enter a numeric MLA_DEBUG_LEVEL value, e.g., 0x0003 or 3; leave blank to use "
|
1393 |
"the existing MLA_DEBUG_LEVEL value."
|
1394 |
msgstr ""
|
1395 |
|
1396 |
+
#: includes/class-mla-core.php:805
|
1397 |
#, php-format
|
1398 |
msgctxt "error_log"
|
1399 |
msgid "%1$s: mla_load_template file \"%2$s\" not found."
|
1400 |
msgstr ""
|
1401 |
|
1402 |
+
#: includes/class-mla-core.php:823
|
1403 |
#, php-format
|
1404 |
msgctxt "error_log"
|
1405 |
msgid "%1$s: mla_load_template file \"%2$s\" bad source type \"%3$s\"."
|
1406 |
msgstr ""
|
1407 |
|
1408 |
+
#: includes/class-mla-core.php:1231
|
1409 |
#, php-format
|
1410 |
msgid "%1$s: Bad specification part \"%2$s\""
|
1411 |
msgstr ""
|
1412 |
|
1413 |
+
#: includes/class-mla-core.php:1237
|
1414 |
#, php-format
|
1415 |
msgid "%1$s: Bad specification option \"%2$s\""
|
1416 |
msgstr ""
|
1417 |
|
1418 |
+
#: includes/class-mla-core.php:1241
|
1419 |
#, php-format
|
1420 |
msgid "%1$s: Bad specification prefix \"%2$s\""
|
1421 |
msgstr ""
|
1422 |
|
1423 |
+
#: includes/class-mla-core.php:1341
|
1424 |
msgid "Most Used"
|
1425 |
msgstr ""
|
1426 |
|
1427 |
+
#: includes/class-mla-core.php:1370
|
1428 |
#, php-format
|
1429 |
msgid "+ %s"
|
1430 |
msgstr ""
|
1431 |
|
1432 |
+
#: includes/class-mla-core.php:1376 includes/class-mla-main.php:1835
|
1433 |
+
#: includes/class-mla-media-modal.php:607
|
1434 |
#: includes/mla-media-modal-js-template.php:28
|
1435 |
#: includes/mla-media-modal-js-template.php:75
|
1436 |
msgid "Search"
|
1482 |
msgstr ""
|
1483 |
|
1484 |
#: includes/class-mla-data-query.php:294
|
1485 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1202
|
1486 |
#: includes/class-mla-settings-documentation-tab.php:499
|
1487 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:1279
|
1488 |
#: includes/class-mla-settings-shortcodes-tab.php:950
|
1489 |
msgctxt "list_table_column"
|
1490 |
msgid "Name"
|
1575 |
msgstr ""
|
1576 |
|
1577 |
#: includes/class-mla-data-query.php:674 includes/class-mla-edit-media.php:316
|
1578 |
+
#: includes/class-mla-main.php:1829 includes/class-mla-main.php:1904
|
1579 |
+
#: includes/class-mla-media-modal.php:577 includes/class-mla-mime-types.php:749
|
1580 |
#: includes/class-mla-mime-types.php:1398
|
1581 |
#: includes/class-mla-mime-types.php:2586
|
1582 |
+
#: includes/class-mla-settings-custom-fields-tab.php:552
|
1583 |
+
#: includes/class-mla-settings-custom-fields-tab.php:718
|
1584 |
+
#: includes/class-mla-settings-custom-fields-tab.php:2029
|
1585 |
#: includes/class-mla-settings-documentation-tab.php:297
|
1586 |
#: includes/class-mla-settings-documentation-tab.php:1269
|
1587 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:632
|
1588 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:800
|
1589 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:2260
|
1590 |
#: includes/class-mla-settings-shortcodes-tab.php:503
|
1591 |
#: includes/class-mla-settings-shortcodes-tab.php:1627
|
1592 |
#: includes/class-mla-settings-upload-tab.php:301
|
1596 |
msgid "%1$s: %2$s non-array \"%3$s\""
|
1597 |
msgstr ""
|
1598 |
|
1599 |
+
#: includes/class-mla-data-query.php:1145
|
1600 |
#, php-format
|
1601 |
msgctxt "error_log"
|
1602 |
msgid "%1$s: _execute_list_table_query $wp_filter = \"%2$s\"."
|
1603 |
msgstr ""
|
1604 |
|
1605 |
+
#: includes/class-mla-data-query.php:1145
|
1606 |
+
#: includes/class-mla-data-query.php:1160
|
1607 |
+
#: includes/class-mla-data-query.php:1162
|
1608 |
+
#: includes/class-mla-data-query.php:1645
|
1609 |
+
#: includes/class-mla-data-query.php:1717
|
1610 |
+
#: includes/class-mla-data-query.php:1789
|
1611 |
+
#: includes/class-mla-data-query.php:1886
|
1612 |
+
#: includes/class-mla-data-query.php:1978
|
1613 |
+
#: includes/class-mla-data-query.php:1997
|
1614 |
msgid "DEBUG"
|
1615 |
msgstr ""
|
1616 |
|
1617 |
+
#: includes/class-mla-data-query.php:1160
|
1618 |
#, php-format
|
1619 |
msgctxt "error_log"
|
1620 |
msgid "%1$s: _execute_list_table_query WP_Query = \"%2$s\"."
|
1621 |
msgstr ""
|
1622 |
|
1623 |
+
#: includes/class-mla-data-query.php:1162
|
1624 |
#, php-format
|
1625 |
msgctxt "error_log"
|
1626 |
msgid "%1$s: _execute_list_table_query SQL_request = \"%2$s\"."
|
1627 |
msgstr ""
|
1628 |
|
1629 |
+
#: includes/class-mla-data-query.php:1645
|
1630 |
#, php-format
|
1631 |
msgctxt "error_log"
|
1632 |
msgid "%1$s: mla_query_posts_search_filter = \"%2$s\"."
|
1633 |
msgstr ""
|
1634 |
|
1635 |
+
#: includes/class-mla-data-query.php:1717
|
1636 |
#, php-format
|
1637 |
msgctxt "error_log"
|
1638 |
msgid "%1$s: mla_query_posts_where_filter = \"%2$s\"."
|
1639 |
msgstr ""
|
1640 |
|
1641 |
+
#: includes/class-mla-data-query.php:1789
|
1642 |
#, php-format
|
1643 |
msgctxt "error_log"
|
1644 |
msgid "%1$s: mla_query_posts_join_filter = \"%2$s\"."
|
1645 |
msgstr ""
|
1646 |
|
1647 |
+
#: includes/class-mla-data-query.php:1886
|
1648 |
#, php-format
|
1649 |
msgctxt "error_log"
|
1650 |
msgid "%1$s: mla_query_posts_orderby_filter = \"%2$s\"."
|
1651 |
msgstr ""
|
1652 |
|
1653 |
+
#: includes/class-mla-data-query.php:1978
|
1654 |
#, php-format
|
1655 |
msgctxt "error_log"
|
1656 |
msgid "%1$s: mla_query_posts_clauses_filter = \"%2$s\"."
|
1657 |
msgstr ""
|
1658 |
|
1659 |
+
#: includes/class-mla-data-query.php:1997
|
1660 |
#, php-format
|
1661 |
msgctxt "error_log"
|
1662 |
msgid "%1$s: mla_query_posts_clauses_request_filter = \"%2$s\"."
|
1702 |
"%1$s: _find_template_substring no template end delimiter, tail = \"%2$s\"."
|
1703 |
msgstr ""
|
1704 |
|
1705 |
+
#: includes/class-mla-data.php:108
|
1706 |
#, php-format
|
1707 |
msgctxt "error_log"
|
1708 |
msgid ""
|
1709 |
"%1$s: mla_parse_array_template no template end delimiter, tail = \"%2$s\"."
|
1710 |
msgstr ""
|
1711 |
|
1712 |
+
#: includes/class-mla-data.php:196
|
1713 |
#, php-format
|
1714 |
msgctxt "error_log"
|
1715 |
msgid "%1$s: mla_parse_template no end delimiter, tail = \"%2$s\"."
|
1716 |
msgstr ""
|
1717 |
|
1718 |
+
#: includes/class-mla-data.php:242
|
1719 |
#, php-format
|
1720 |
msgctxt "error_log"
|
1721 |
+
msgid "%1$s: _find_delimited_substring no end delimiter, tail = \"%2$s\"."
|
1722 |
msgstr ""
|
1723 |
|
1724 |
+
#: includes/class-mla-data.php:345
|
1725 |
msgid "Test; no closing parenthesis "
|
1726 |
msgstr ""
|
1727 |
|
1728 |
+
#: includes/class-mla-data.php:501
|
1729 |
#, php-format
|
1730 |
msgctxt "error_log"
|
1731 |
msgid "%1$s: _evaluate_template_array_node unknown type \"%2$s\"."
|
1732 |
msgstr ""
|
1733 |
|
1734 |
+
#: includes/class-mla-data.php:564
|
1735 |
#, php-format
|
1736 |
msgctxt "error_log"
|
1737 |
msgid "%1$s: _evaluate_template_node unknown type \"%2$s\"."
|
1738 |
msgstr ""
|
1739 |
|
1740 |
+
#: includes/class-mla-data.php:1282
|
1741 |
#, php-format
|
1742 |
msgctxt "error_log"
|
1743 |
msgid ""
|
1745 |
"\"."
|
1746 |
msgstr ""
|
1747 |
|
1748 |
+
#: includes/class-mla-data.php:1480
|
1749 |
#, php-format
|
1750 |
msgctxt "error_log"
|
1751 |
msgid "%1$s: mla_get_attachment_by_id(%2$d) not found."
|
1752 |
msgstr ""
|
1753 |
|
1754 |
+
#: includes/class-mla-data.php:1486
|
1755 |
#, php-format
|
1756 |
msgctxt "error_log"
|
1757 |
msgid "%1$s: mla_get_attachment_by_id(%2$d) wrong post_type \"%3$s\"."
|
1758 |
msgstr ""
|
1759 |
|
1760 |
+
#: includes/class-mla-data.php:1883
|
1761 |
msgctxt "error_log"
|
1762 |
msgid "mla_parse_xmp_metadata xml_parse_into_struct failed."
|
1763 |
msgstr ""
|
1764 |
|
1765 |
+
#: includes/class-mla-data.php:1887
|
1766 |
msgctxt "error_log"
|
1767 |
msgid "mla_parse_xmp_metadata set option failed."
|
1768 |
msgstr ""
|
1769 |
|
1770 |
+
#: includes/class-mla-data.php:3243
|
1771 |
+
#: includes/class-mla-settings-custom-fields-tab.php:810
|
1772 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1515
|
1773 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:894
|
1774 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:1622
|
1775 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:2434
|
1776 |
#: includes/class-mla-settings-view-tab.php:398
|
1777 |
#: includes/class-mla-settings-view-tab.php:799
|
1778 |
#: includes/class-mla-settings-view-tab.php:815
|
1779 |
+
#: includes/class-mla-wpml-support.php:1562
|
1780 |
msgid "Yes"
|
1781 |
msgstr ""
|
1782 |
|
1783 |
+
#: includes/class-mla-data.php:3245
|
1784 |
+
#: includes/class-mla-settings-custom-fields-tab.php:811
|
1785 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1517
|
1786 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:895
|
1787 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:1624
|
1788 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:2434
|
1789 |
#: includes/class-mla-settings-view-tab.php:397
|
1790 |
#: includes/class-mla-settings-view-tab.php:801
|
1791 |
#: includes/class-mla-settings-view-tab.php:817
|
1792 |
+
#: includes/class-mla-wpml-support.php:1563
|
1793 |
msgid "No"
|
1794 |
msgstr ""
|
1795 |
|
1796 |
+
#: includes/class-mla-data.php:3493 includes/class-mla-data.php:3610
|
1797 |
#, php-format
|
1798 |
msgid "Deleting %1$s"
|
1799 |
msgstr ""
|
1800 |
|
1801 |
+
#: includes/class-mla-data.php:3496
|
1802 |
#, php-format
|
1803 |
msgid "%1$s: meta:%2$s not found"
|
1804 |
msgstr ""
|
1805 |
|
1806 |
+
#: includes/class-mla-data.php:3505 includes/class-mla-data.php:3621
|
1807 |
+
#: includes/class-mla-data.php:3633
|
1808 |
#, php-format
|
1809 |
msgid "Adding %1$s = %2$s"
|
1810 |
msgstr ""
|
1811 |
|
1812 |
+
#: includes/class-mla-data.php:3509
|
1813 |
#, php-format
|
1814 |
msgid "%1$s: Adding meta:%2$s; not found"
|
1815 |
msgstr ""
|
1816 |
|
1817 |
+
#: includes/class-mla-data.php:3516
|
1818 |
#, php-format
|
1819 |
msgid "Deleting Null meta:%1$s"
|
1820 |
msgstr ""
|
1821 |
|
1822 |
+
#: includes/class-mla-data.php:3526 includes/class-mla-data.php:3702
|
1823 |
+
#: includes/class-mla-data.php:3768 includes/class-mla-data.php:3794
|
1824 |
+
#: includes/class-mla-data.php:3837 includes/class-mla-data.php:3850
|
1825 |
+
#: includes/class-mla-data.php:3859 includes/class-mla-data.php:3870
|
1826 |
+
#: includes/class-mla-data.php:3881 includes/class-mla-data.php:3894
|
1827 |
+
#: includes/class-mla-data.php:3903 includes/class-mla-data.php:3912
|
1828 |
#: includes/class-mla-mime-types.php:1232
|
1829 |
#: includes/class-mla-mime-types.php:2350
|
1830 |
#, php-format
|
1831 |
msgid "Changing %1$s from \"%2$s\" to \"%3$s\""
|
1832 |
msgstr ""
|
1833 |
|
1834 |
+
#: includes/class-mla-data.php:3531
|
1835 |
#, php-format
|
1836 |
msgid "%1$s: Changing meta:%2$s; not found"
|
1837 |
msgstr ""
|
1838 |
|
1839 |
+
#: includes/class-mla-data.php:3657
|
1840 |
#, php-format
|
1841 |
msgid "Deleting old %1$s values"
|
1842 |
msgstr ""
|
1843 |
|
1844 |
+
#: includes/class-mla-data.php:3687
|
1845 |
#, php-format
|
1846 |
msgid "Changing %1$s from \"%2$s\" to \"%3$s\"; %4$d updates"
|
1847 |
msgstr ""
|
1848 |
|
1849 |
+
#: includes/class-mla-data.php:3745
|
1850 |
msgid "Could not retrieve Attachment."
|
1851 |
msgstr ""
|
1852 |
|
1853 |
+
#: includes/class-mla-data.php:3791
|
1854 |
#, php-format
|
1855 |
msgid "%1$s: Could not change Name/Slug \"%2$s\"; name already exists"
|
1856 |
msgstr ""
|
1857 |
|
1858 |
+
#: includes/class-mla-data.php:3821
|
1859 |
#, php-format
|
1860 |
msgid "Deleting ALT Text, was \"%1$s\""
|
1861 |
msgstr ""
|
1862 |
|
1863 |
+
#: includes/class-mla-data.php:3824
|
1864 |
#, php-format
|
1865 |
msgid "%1$s: Could not delete ALT Text, remains \"%2$s\""
|
1866 |
msgstr ""
|
1867 |
|
1868 |
+
#: includes/class-mla-data.php:3840
|
1869 |
#, php-format
|
1870 |
msgid "%1$s: Could not change ALT Text from \"%2$s\" to \"%3$s\""
|
1871 |
msgstr ""
|
1872 |
|
1873 |
+
#: includes/class-mla-data.php:3870 includes/class-mla-list-table.php:1033
|
1874 |
#: includes/class-mla-list-table.php:1036
|
1875 |
#: includes/class-mla-list-table.php:1039
|
1876 |
+
#: includes/class-mla-list-table.php:1107 includes/class-mla-options.php:1993
|
1877 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:485
|
1878 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:864
|
|
|
1879 |
msgid "Parent"
|
1880 |
msgstr ""
|
1881 |
|
1882 |
+
#: includes/class-mla-data.php:3881 includes/class-mla-edit-media.php:667
|
1883 |
+
#: includes/class-mla-edit-media.php:870 includes/class-mla-main.php:2051
|
1884 |
#: includes/class-mla-settings-view-tab.php:130
|
1885 |
#: includes/class-mla-settings-view-tab.php:386
|
1886 |
msgid "Menu Order"
|
1887 |
msgstr ""
|
1888 |
|
1889 |
+
#: includes/class-mla-data.php:3894 includes/class-mla-edit-media.php:395
|
1890 |
#: includes/class-mla-list-table.php:1487
|
1891 |
+
#: includes/class-mla-list-table.php:1490 includes/class-mla-main.php:1910
|
1892 |
+
#: includes/class-mla-main.php:2012
|
1893 |
msgid "Author"
|
1894 |
msgstr ""
|
1895 |
|
1896 |
+
#: includes/class-mla-data.php:3903 includes/class-mla-edit-media.php:420
|
1897 |
+
#: includes/class-mla-main.php:2063
|
1898 |
msgid "Comments"
|
1899 |
msgstr ""
|
1900 |
|
1901 |
+
#: includes/class-mla-data.php:3912 includes/class-mla-edit-media.php:421
|
1902 |
+
#: includes/class-mla-main.php:2064
|
1903 |
msgid "Pings"
|
1904 |
msgstr ""
|
1905 |
|
1906 |
+
#: includes/class-mla-data.php:3939
|
1907 |
#, php-format
|
1908 |
msgid "You cannot assign \"%1$s\" terms"
|
1909 |
msgstr ""
|
1910 |
|
1911 |
+
#: includes/class-mla-data.php:3951
|
1912 |
msgctxt "tag delimiter"
|
1913 |
msgid ","
|
1914 |
msgstr ""
|
1915 |
|
1916 |
+
#: includes/class-mla-data.php:3984
|
1917 |
msgid "Adding"
|
1918 |
msgstr ""
|
1919 |
|
1920 |
+
#: includes/class-mla-data.php:3989
|
1921 |
msgid "Removing"
|
1922 |
msgstr ""
|
1923 |
|
1924 |
+
#: includes/class-mla-data.php:3998
|
1925 |
msgid "Replacing"
|
1926 |
msgstr ""
|
1927 |
|
1928 |
+
#: includes/class-mla-data.php:4006
|
1929 |
msgid "Ignoring"
|
1930 |
msgstr ""
|
1931 |
|
1932 |
+
#: includes/class-mla-data.php:4019
|
1933 |
#, php-format
|
1934 |
msgid "%1$s \"%2$s\" terms"
|
1935 |
msgstr ""
|
1936 |
|
1937 |
+
#: includes/class-mla-data.php:4031 includes/class-mla-main.php:1211
|
1938 |
#, php-format
|
1939 |
msgid "Item %1$d, no changes detected."
|
1940 |
msgstr ""
|
1941 |
|
1942 |
+
#: includes/class-mla-data.php:4052
|
1943 |
#, php-format
|
1944 |
msgid "Item %1$d updated."
|
1945 |
msgstr ""
|
1946 |
|
1947 |
+
#: includes/class-mla-data.php:4066
|
1948 |
#, php-format
|
1949 |
msgid "%1$s: Item %2$d update failed."
|
1950 |
msgstr ""
|
1951 |
|
1952 |
#: includes/class-mla-edit-media.php:133 includes/class-mla-edit-media.php:184
|
1953 |
+
#: includes/class-mla-edit-media.php:237 includes/class-mla-main.php:411
|
1954 |
+
#: includes/class-mla-main.php:970 includes/class-mla-main.php:1720
|
1955 |
+
#: includes/class-mla-media-modal.php:236 includes/class-mla-options.php:1498
|
1956 |
+
#: includes/class-mla-polylang-support.php:367
|
1957 |
#: includes/class-mla-settings-custom-fields-tab.php:59
|
1958 |
#: includes/class-mla-settings-custom-fields-tab.php:94
|
1959 |
#: includes/class-mla-settings-iptc-exif-tab.php:59
|
1978 |
msgstr ""
|
1979 |
|
1980 |
#: includes/class-mla-edit-media.php:185 includes/class-mla-edit-media.php:239
|
1981 |
+
#: includes/class-mla-main.php:398
|
1982 |
msgid "An ajax.fail error has occurred. Please reload the page and try again."
|
1983 |
msgstr ""
|
1984 |
|
1985 |
#: includes/class-mla-edit-media.php:186 includes/class-mla-edit-media.php:240
|
1986 |
+
#: includes/class-mla-main.php:399
|
1987 |
msgid "An ajax.done error has occurred. Please reload the page and try again."
|
1988 |
msgstr ""
|
1989 |
|
1990 |
+
#: includes/class-mla-edit-media.php:338 includes/class-mla-main.php:1945
|
1991 |
msgid "more"
|
1992 |
msgstr ""
|
1993 |
|
1994 |
+
#: includes/class-mla-edit-media.php:339 includes/class-mla-main.php:1946
|
1995 |
msgid "less"
|
1996 |
msgstr ""
|
1997 |
|
1998 |
#: includes/class-mla-edit-media.php:342 includes/class-mla-edit-media.php:373
|
1999 |
+
#: includes/class-mla-main.php:1949 includes/class-mla-main.php:1987
|
2000 |
msgid "Add"
|
2001 |
msgstr ""
|
2002 |
|
2003 |
#: includes/class-mla-edit-media.php:343 includes/class-mla-edit-media.php:374
|
2004 |
+
#: includes/class-mla-main.php:1950 includes/class-mla-main.php:1988
|
2005 |
msgid "Remove"
|
2006 |
msgstr ""
|
2007 |
|
2008 |
#: includes/class-mla-edit-media.php:344 includes/class-mla-edit-media.php:375
|
2009 |
+
#: includes/class-mla-main.php:1951 includes/class-mla-main.php:1989
|
2010 |
+
#: includes/class-mla-settings-custom-fields-tab.php:481
|
2011 |
+
#: includes/class-mla-settings-custom-fields-tab.php:781
|
2012 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1501
|
2013 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:479
|
2014 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:861
|
2015 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:1563
|
2016 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:2415
|
|
|
|
|
|
|
|
|
2017 |
msgid "Replace"
|
2018 |
msgstr ""
|
2019 |
|
2023 |
"menu for more information."
|
2024 |
msgstr ""
|
2025 |
|
2026 |
+
#: includes/class-mla-edit-media.php:416 includes/class-mla-main.php:2057
|
2027 |
+
#: includes/class-mla-settings.php:1401
|
2028 |
msgid "Reset"
|
2029 |
msgstr ""
|
2030 |
|
2031 |
+
#: includes/class-mla-edit-media.php:422 includes/class-mla-main.php:2065
|
2032 |
+
#: includes/class-mla-main.php:2121
|
2033 |
+
#: includes/class-mla-settings-custom-fields-tab.php:809
|
2034 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:893
|
2035 |
#: includes/class-mla-settings-upload-tab.php:122
|
2036 |
#: includes/class-mla-settings-upload-tab.php:553
|
2037 |
#: includes/class-mla-settings-view-tab.php:396
|
2038 |
msgid "No Change"
|
2039 |
msgstr ""
|
2040 |
|
2041 |
+
#: includes/class-mla-edit-media.php:423 includes/class-mla-main.php:2066
|
2042 |
msgid "Allow"
|
2043 |
msgstr ""
|
2044 |
|
2045 |
+
#: includes/class-mla-edit-media.php:424 includes/class-mla-main.php:2067
|
2046 |
msgid "Do not allow"
|
2047 |
msgstr ""
|
2048 |
|
2049 |
#: includes/class-mla-edit-media.php:431 includes/class-mla-list-table.php:1033
|
2050 |
+
#: includes/class-mla-list-table.php:1104 includes/class-mla-main.php:2049
|
2051 |
msgid "Parent ID"
|
2052 |
msgstr ""
|
2053 |
|
2054 |
+
#: includes/class-mla-edit-media.php:432 includes/class-mla-edit-media.php:850
|
2055 |
+
#: includes/class-mla-main.php:2050
|
2056 |
#: includes/class-mla-settings-upload-tab.php:1469
|
2057 |
msgid "Select"
|
2058 |
msgstr ""
|
2065 |
msgid "IPTC/EXIF mapping updated."
|
2066 |
msgstr ""
|
2067 |
|
2068 |
+
#: includes/class-mla-edit-media.php:520
|
2069 |
+
msgid "Custom field mapping is disabled."
|
2070 |
+
msgstr ""
|
2071 |
+
|
2072 |
+
#: includes/class-mla-edit-media.php:521
|
2073 |
+
msgid "IPTC/EXIF mapping is disabled."
|
2074 |
msgstr ""
|
2075 |
|
2076 |
#: includes/class-mla-edit-media.php:539
|
2077 |
+
msgid "M j, Y @ G:i"
|
2078 |
+
msgstr ""
|
2079 |
+
|
2080 |
+
#: includes/class-mla-edit-media.php:541
|
2081 |
msgid "Last modified"
|
2082 |
msgstr ""
|
2083 |
|
2084 |
+
#: includes/class-mla-edit-media.php:563
|
2085 |
msgid "Map Custom Field metadata for this item"
|
2086 |
msgstr ""
|
2087 |
|
2088 |
+
#: includes/class-mla-edit-media.php:563 includes/class-mla-main.php:1631
|
2089 |
+
#: includes/class-mla-main.php:2072
|
2090 |
msgid "Map Custom Field metadata"
|
2091 |
msgstr ""
|
2092 |
|
2093 |
+
#: includes/class-mla-edit-media.php:567
|
2094 |
msgid "Map IPTC/EXIF metadata for this item"
|
2095 |
msgstr ""
|
2096 |
|
2097 |
+
#: includes/class-mla-edit-media.php:567 includes/class-mla-main.php:1634
|
2098 |
+
#: includes/class-mla-main.php:2070
|
2099 |
msgid "Map IPTC/EXIF metadata"
|
2100 |
msgstr ""
|
2101 |
|
2102 |
+
#: includes/class-mla-edit-media.php:663 includes/class-mla-edit-media.php:851
|
2103 |
msgid "Parent Info"
|
2104 |
msgstr ""
|
2105 |
|
2106 |
+
#: includes/class-mla-edit-media.php:673 includes/class-mla-edit-media.php:894
|
2107 |
msgid "Attachment Metadata"
|
2108 |
msgstr ""
|
2109 |
|
2110 |
+
#: includes/class-mla-edit-media.php:743 includes/class-mla-edit-media.php:783
|
2111 |
+
#: includes/class-mla-main.php:635 includes/class-mla-settings.php:589
|
2112 |
#, php-format
|
2113 |
msgctxt "error_log"
|
2114 |
msgid "%1$s: %2$s discarding \"%3$s\"; no title/order"
|
2115 |
msgstr ""
|
2116 |
|
2117 |
+
#: includes/class-mla-edit-media.php:832 includes/class-mla-list-table.php:634
|
2118 |
msgctxt "post state"
|
2119 |
msgid "Pending"
|
2120 |
msgstr ""
|
2121 |
|
2122 |
+
#: includes/class-mla-edit-media.php:849
|
2123 |
msgid "Post Parent"
|
2124 |
msgstr ""
|
2125 |
|
2126 |
+
#: includes/class-mla-edit-media.php:850 includes/class-mla-main.php:1834
|
2127 |
msgid "Select Parent"
|
2128 |
msgstr ""
|
2129 |
|
2130 |
+
#: includes/class-mla-edit-media.php:917 includes/class-mla-edit-media.php:955
|
2131 |
+
#: includes/class-mla-edit-media.php:991 includes/class-mla-edit-media.php:1026
|
2132 |
#: includes/class-mla-list-table.php:1154
|
2133 |
#: includes/class-mla-list-table.php:1203
|
2134 |
#: includes/class-mla-list-table.php:1249
|
2146 |
msgstr ""
|
2147 |
|
2148 |
#: includes/class-mla-list-table.php:425
|
2149 |
+
#: includes/class-mla-settings-custom-fields-tab.php:997
|
2150 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:1070
|
2151 |
#: includes/class-mla-settings-upload-tab.php:647
|
2152 |
#: includes/class-mla-settings-view-tab.php:490
|
2153 |
msgid "List View"
|
2169 |
msgstr ""
|
2170 |
|
2171 |
#: includes/class-mla-list-table.php:564
|
2172 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1291
|
2173 |
#: includes/class-mla-settings-documentation-tab.php:584
|
2174 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:1370
|
2175 |
#: includes/class-mla-settings-shortcodes-tab.php:1023
|
2176 |
#: includes/class-mla-settings-upload-tab.php:858
|
2177 |
#: includes/class-mla-settings-upload-tab.php:1416
|
2187 |
#: includes/class-mla-list-table.php:1299
|
2188 |
#: includes/class-mla-list-table.php:1521
|
2189 |
#: includes/class-mla-list-table.php:1847
|
2190 |
+
#: includes/class-mla-polylang-support.php:366
|
2191 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1344
|
2192 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1683
|
2193 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:1423
|
2194 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:1790
|
2195 |
#: includes/class-mla-settings-shortcodes-tab.php:1071
|
2196 |
#: includes/class-mla-settings-upload-tab.php:923
|
2197 |
#: includes/class-mla-settings-upload-tab.php:1212
|
2214 |
msgstr ""
|
2215 |
|
2216 |
#: includes/class-mla-list-table.php:740
|
2217 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1344
|
2218 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:1423
|
2219 |
#: includes/class-mla-settings-shortcodes-tab.php:1071
|
2220 |
#: includes/class-mla-settings-upload-tab.php:923
|
2221 |
#: includes/class-mla-settings-view-tab.php:720
|
2223 |
msgstr ""
|
2224 |
|
2225 |
#: includes/class-mla-list-table.php:741
|
2226 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1347
|
2227 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:1426
|
2228 |
#: includes/class-mla-settings-upload-tab.php:925
|
2229 |
#: includes/class-mla-settings-view-tab.php:722
|
2230 |
msgid "Edit this item inline"
|
2231 |
msgstr ""
|
2232 |
|
2233 |
+
#: includes/class-mla-list-table.php:741 includes/class-mla-main.php:2042
|
2234 |
+
#: includes/class-mla-options.php:1126
|
2235 |
+
#: includes/class-mla-settings-custom-fields-tab.php:472
|
2236 |
+
#: includes/class-mla-settings-custom-fields-tab.php:772
|
2237 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1347
|
2238 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1457
|
2239 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:840
|
2240 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:1426
|
2241 |
#: includes/class-mla-settings-upload-tab.php:925
|
2242 |
#: includes/class-mla-settings-view-tab.php:722
|
2243 |
msgid "Quick Edit"
|
2252 |
msgstr ""
|
2253 |
|
2254 |
#: includes/class-mla-list-table.php:752
|
2255 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1355
|
2256 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:1436
|
2257 |
#: includes/class-mla-settings-shortcodes-tab.php:1077
|
2258 |
#: includes/class-mla-settings-upload-tab.php:929
|
2259 |
#: includes/class-mla-settings-view-tab.php:728
|
2262 |
|
2263 |
#: includes/class-mla-list-table.php:752 includes/class-mla-list-table.php:1845
|
2264 |
#: includes/class-mla-list-table.php:1852
|
2265 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1355
|
2266 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1684
|
2267 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:1436
|
2268 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:1791
|
2269 |
#: includes/class-mla-settings-shortcodes-tab.php:1077
|
2270 |
#: includes/class-mla-settings-upload-tab.php:929
|
2271 |
#: includes/class-mla-settings-view-tab.php:728
|
2275 |
|
2276 |
#: includes/class-mla-list-table.php:760
|
2277 |
#: includes/class-mla-settings-documentation-tab.php:654
|
2278 |
+
#: includes/class-mla-settings.php:1391
|
2279 |
msgid "Download"
|
2280 |
msgstr ""
|
2281 |
|
2337 |
msgstr[1] ""
|
2338 |
|
2339 |
#: includes/class-mla-list-table.php:1944
|
2340 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1749
|
2341 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:1856
|
2342 |
#: includes/class-mla-settings-shortcodes-tab.php:1345
|
2343 |
msgid "Filter"
|
2344 |
msgstr ""
|
2349 |
msgstr ""
|
2350 |
|
2351 |
#: includes/class-mla-list-table.php:1952
|
2352 |
+
#: includes/class-mla-polylang-support.php:2050
|
2353 |
#: includes/class-mla-thumbnail-generation.php:638
|
2354 |
msgid "Clear Filter-by"
|
2355 |
msgstr ""
|
2358 |
msgid "Empty Trash"
|
2359 |
msgstr ""
|
2360 |
|
2361 |
+
#: includes/class-mla-main.php:400
|
2362 |
msgid "Error while saving the changes."
|
2363 |
msgstr ""
|
2364 |
|
2365 |
+
#: includes/class-mla-main.php:401
|
2366 |
#: includes/class-mla-settings-custom-fields-tab.php:57
|
2367 |
#: includes/class-mla-settings-custom-fields-tab.php:92
|
2368 |
#: includes/class-mla-settings-iptc-exif-tab.php:57
|
2372 |
msgid "Remove From Bulk Edit"
|
2373 |
msgstr ""
|
2374 |
|
2375 |
+
#: includes/class-mla-main.php:403
|
2376 |
msgid "Bulk Edit items"
|
2377 |
msgstr ""
|
2378 |
|
2379 |
+
#: includes/class-mla-main.php:404 includes/class-mla-main.php:2073
|
2380 |
#: includes/class-mla-settings-custom-fields-tab.php:63
|
2381 |
#: includes/class-mla-settings-iptc-exif-tab.php:63
|
2382 |
msgid "Waiting"
|
2383 |
msgstr ""
|
2384 |
|
2385 |
+
#: includes/class-mla-main.php:405 includes/class-mla-main.php:2075
|
2386 |
#: includes/class-mla-settings-custom-fields-tab.php:65
|
2387 |
#: includes/class-mla-settings-iptc-exif-tab.php:65
|
2388 |
msgid "Complete"
|
2389 |
msgstr ""
|
2390 |
|
2391 |
+
#: includes/class-mla-main.php:406
|
2392 |
#: includes/class-mla-settings-custom-fields-tab.php:66
|
2393 |
#: includes/class-mla-settings-iptc-exif-tab.php:66
|
2394 |
msgid "Unchanged"
|
2395 |
msgstr ""
|
2396 |
|
2397 |
+
#: includes/class-mla-main.php:407
|
2398 |
#: includes/class-mla-settings-custom-fields-tab.php:67
|
2399 |
#: includes/class-mla-settings-iptc-exif-tab.php:67
|
2400 |
msgid "Succeeded"
|
2401 |
msgstr ""
|
2402 |
|
2403 |
+
#: includes/class-mla-main.php:408
|
2404 |
#: includes/class-mla-settings-custom-fields-tab.php:68
|
2405 |
#: includes/class-mla-settings-iptc-exif-tab.php:68
|
2406 |
msgid "Failed"
|
2407 |
msgstr ""
|
2408 |
|
2409 |
+
#: includes/class-mla-main.php:409
|
2410 |
msgid "CANCELED"
|
2411 |
msgstr ""
|
2412 |
|
2413 |
+
#: includes/class-mla-main.php:524
|
2414 |
#, php-format
|
2415 |
msgid "Item permanently deleted."
|
2416 |
msgid_plural "%d items permanently deleted."
|
2417 |
msgstr[0] ""
|
2418 |
msgstr[1] ""
|
2419 |
|
2420 |
+
#: includes/class-mla-main.php:529 includes/class-mla-main.php:2260
|
2421 |
#, php-format
|
2422 |
msgid "Item %1$d moved to Trash."
|
2423 |
msgstr ""
|
2424 |
|
2425 |
+
#: includes/class-mla-main.php:548
|
2426 |
msgid "Entries per page"
|
2427 |
msgstr ""
|
2428 |
|
2429 |
+
#: includes/class-mla-main.php:1145
|
2430 |
msgid "You are not allowed to edit Attachment: "
|
2431 |
msgstr ""
|
2432 |
|
2433 |
+
#: includes/class-mla-main.php:1201
|
2434 |
#, php-format
|
2435 |
msgid "%1$s: Unknown bulk action %2$s"
|
2436 |
msgstr ""
|
2437 |
|
2438 |
+
#: includes/class-mla-main.php:1223
|
2439 |
msgid "no changes detected"
|
2440 |
msgstr ""
|
2441 |
|
2442 |
+
#: includes/class-mla-main.php:1270
|
2443 |
+
#: includes/class-mla-settings-custom-fields-tab.php:607
|
2444 |
#: includes/class-mla-settings-documentation-tab.php:247
|
2445 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:687
|
2446 |
#: includes/class-mla-settings-shortcodes-tab.php:564
|
2447 |
#: includes/class-mla-settings-upload-tab.php:411
|
2448 |
#: includes/class-mla-settings-view-tab.php:254
|
2450 |
msgid "Bulk Action %1$s - no items selected."
|
2451 |
msgstr ""
|
2452 |
|
2453 |
+
#: includes/class-mla-main.php:1354
|
2454 |
msgid "You do not have permission to manage attachments."
|
2455 |
msgstr ""
|
2456 |
|
2457 |
+
#: includes/class-mla-main.php:1416
|
2458 |
#, php-format
|
2459 |
msgctxt "deleted items"
|
2460 |
msgid "%s item deleted."
|
2462 |
msgstr[0] ""
|
2463 |
msgstr[1] ""
|
2464 |
|
2465 |
+
#: includes/class-mla-main.php:1418
|
2466 |
msgid "No items deleted."
|
2467 |
msgstr ""
|
2468 |
|
2469 |
+
#: includes/class-mla-main.php:1472
|
2470 |
msgid "Empty Terms Search; ignored"
|
2471 |
msgstr ""
|
2472 |
|
2473 |
+
#: includes/class-mla-main.php:1484
|
2474 |
+
#: includes/class-mla-settings-custom-fields-tab.php:634
|
2475 |
#: includes/class-mla-settings-documentation-tab.php:281
|
2476 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:716
|
2477 |
#: includes/class-mla-settings-shortcodes-tab.php:593
|
2478 |
#: includes/class-mla-settings-upload-tab.php:450
|
2479 |
#: includes/class-mla-settings-view-tab.php:291
|
2481 |
msgid "Unknown mla_admin_action - \"%1$s\""
|
2482 |
msgstr ""
|
2483 |
|
2484 |
+
#: includes/class-mla-main.php:1517
|
2485 |
msgid "term search results for"
|
2486 |
msgstr ""
|
2487 |
|
2488 |
+
#: includes/class-mla-main.php:1520
|
2489 |
msgid "post/parent results for"
|
2490 |
msgstr ""
|
2491 |
|
2492 |
+
#: includes/class-mla-main.php:1522
|
2493 |
msgid "search results for"
|
2494 |
msgstr ""
|
2495 |
|
2496 |
+
#: includes/class-mla-main.php:1637 includes/class-mla-main.php:1856
|
2497 |
+
#: includes/class-mla-main.php:2058
|
2498 |
+
#: includes/class-mla-settings-custom-fields-tab.php:511
|
2499 |
+
#: includes/class-mla-settings-custom-fields-tab.php:813
|
2500 |
#: includes/class-mla-settings-documentation-tab.php:644
|
2501 |
#: includes/class-mla-settings-documentation-tab.php:852
|
2502 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:520
|
2503 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:897
|
2504 |
#: includes/class-mla-settings-shortcodes-tab.php:479
|
2505 |
#: includes/class-mla-settings-upload-tab.php:176
|
2506 |
#: includes/class-mla-settings-upload-tab.php:550
|
2509 |
msgid "Update"
|
2510 |
msgstr ""
|
2511 |
|
2512 |
+
#: includes/class-mla-main.php:1791
|
2513 |
msgid "All Post Types"
|
2514 |
msgstr ""
|
2515 |
|
2516 |
+
#: includes/class-mla-main.php:1837
|
2517 |
msgid "For"
|
2518 |
msgstr ""
|
2519 |
|
2520 |
+
#: includes/class-mla-main.php:1847
|
2521 |
+
#: includes/class-mla-shortcode-support.php:1036
|
2522 |
msgid "Unattached"
|
2523 |
msgstr ""
|
2524 |
|
2525 |
+
#: includes/class-mla-main.php:1852 includes/class-mla-main.php:2056
|
2526 |
+
#: includes/class-mla-polylang-support.php:2043
|
2527 |
+
#: includes/class-mla-settings-custom-fields-tab.php:509
|
2528 |
+
#: includes/class-mla-settings-custom-fields-tab.php:730
|
2529 |
+
#: includes/class-mla-settings-custom-fields-tab.php:812
|
2530 |
#: includes/class-mla-settings-documentation-tab.php:167
|
2531 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:518
|
2532 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:812
|
2533 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:896
|
2534 |
#: includes/class-mla-settings-shortcodes-tab.php:405
|
2535 |
#: includes/class-mla-settings-shortcodes-tab.php:476
|
2536 |
#: includes/class-mla-settings-upload-tab.php:177
|
2542 |
msgid "Cancel"
|
2543 |
msgstr ""
|
2544 |
|
2545 |
+
#: includes/class-mla-main.php:2059 includes/class-mla-options.php:1140
|
2546 |
+
#: includes/class-mla-settings-custom-fields-tab.php:475
|
2547 |
+
#: includes/class-mla-settings-custom-fields-tab.php:775
|
2548 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1461
|
2549 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:841
|
|
|
2550 |
#: includes/class-mla-settings-upload-tab.php:551
|
2551 |
#: includes/class-mla-settings-view-tab.php:395
|
2552 |
msgid "Bulk Edit"
|
2553 |
msgstr ""
|
2554 |
|
2555 |
+
#: includes/class-mla-main.php:2074
|
2556 |
msgid "In-process"
|
2557 |
msgstr ""
|
2558 |
|
2559 |
+
#: includes/class-mla-main.php:2173
|
2560 |
msgid "You are not allowed to delete this item."
|
2561 |
msgstr ""
|
2562 |
|
2563 |
+
#: includes/class-mla-main.php:2181
|
2564 |
#, php-format
|
2565 |
msgid "%1$s: Item %2$d could NOT be deleted."
|
2566 |
msgstr ""
|
2567 |
|
2568 |
+
#: includes/class-mla-main.php:2188
|
2569 |
#, php-format
|
2570 |
msgid "Item %1$d permanently deleted."
|
2571 |
msgstr ""
|
2572 |
|
2573 |
+
#: includes/class-mla-main.php:2205
|
2574 |
msgid "You are not allowed to move this item out of the Trash."
|
2575 |
msgstr ""
|
2576 |
|
2577 |
+
#: includes/class-mla-main.php:2213
|
2578 |
#, php-format
|
2579 |
msgid "%1$s: Item %2$d could NOT be restored from Trash."
|
2580 |
msgstr ""
|
2581 |
|
2582 |
+
#: includes/class-mla-main.php:2228
|
2583 |
#, php-format
|
2584 |
msgid "Item %1$d restored from Trash."
|
2585 |
msgstr ""
|
2586 |
|
2587 |
+
#: includes/class-mla-main.php:2245
|
2588 |
msgid "You are not allowed to move this item to the Trash."
|
2589 |
msgstr ""
|
2590 |
|
2591 |
+
#: includes/class-mla-main.php:2253
|
2592 |
#, php-format
|
2593 |
msgid "%1$s: Item %2$d could NOT be moved to Trash."
|
2594 |
msgstr ""
|
2634 |
msgid "Loading..."
|
2635 |
msgstr ""
|
2636 |
|
2637 |
+
#: includes/class-mla-media-modal.php:590
|
2638 |
+
#: includes/class-mla-media-modal.php:606
|
2639 |
msgid "Search Terms"
|
2640 |
msgstr ""
|
2641 |
|
2642 |
+
#: includes/class-mla-media-modal.php:591
|
2643 |
msgid "There are no taxonomies to search"
|
2644 |
msgstr ""
|
2645 |
|
2646 |
+
#: includes/class-mla-media-modal.php:609
|
2647 |
msgid "All phrases"
|
2648 |
msgstr ""
|
2649 |
|
2650 |
+
#: includes/class-mla-media-modal.php:611
|
2651 |
msgid "Any phrase"
|
2652 |
msgstr ""
|
2653 |
|
2654 |
+
#: includes/class-mla-media-modal.php:613
|
2655 |
msgid "All terms"
|
2656 |
msgstr ""
|
2657 |
|
2658 |
+
#: includes/class-mla-media-modal.php:615
|
2659 |
msgid "Any term"
|
2660 |
msgstr ""
|
2661 |
|
2662 |
+
#: includes/class-mla-media-modal.php:617
|
2663 |
msgid "Exact"
|
2664 |
msgstr ""
|
2665 |
|
2679 |
msgstr ""
|
2680 |
|
2681 |
#: includes/class-mla-mime-types.php:553
|
2682 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1204
|
2683 |
msgctxt "list_table_column"
|
2684 |
msgid "Source"
|
2685 |
msgstr ""
|
2686 |
|
2687 |
#: includes/class-mla-mime-types.php:554
|
2688 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1207
|
2689 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:1285
|
2690 |
msgctxt "list_table_column"
|
2691 |
msgid "Status"
|
2692 |
msgstr ""
|
2857 |
msgstr ""
|
2858 |
|
2859 |
#: includes/class-mla-mime-types.php:1650
|
2860 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:2735
|
2861 |
msgctxt "table_view_singular"
|
2862 |
msgid "Custom"
|
2863 |
msgstr ""
|
2864 |
|
2865 |
#: includes/class-mla-mime-types.php:1651
|
2866 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:2736
|
2867 |
msgctxt "table_view_plural"
|
2868 |
msgid "Custom"
|
2869 |
msgstr ""
|
3052 |
msgid "Add .textwidget div tags"
|
3053 |
msgstr ""
|
3054 |
|
3055 |
+
#: includes/class-mla-options.php:62
|
3056 |
msgid "error loading tpls/mla-option-templates.tpl"
|
3057 |
msgstr ""
|
3058 |
|
3059 |
+
#: includes/class-mla-options.php:65
|
3060 |
msgid "tpls/mla-option-templates.tpl not found"
|
3061 |
msgstr ""
|
3062 |
|
3063 |
+
#: includes/class-mla-options.php:217 includes/class-mla-options.php:421
|
3064 |
+
#: includes/class-mla-options.php:502
|
|
|
3065 |
#, php-format
|
3066 |
msgid "%1$s: Custom %2$s unknown action \"%3$s\""
|
3067 |
msgstr ""
|
3123 |
msgid "Checked On Top ignored; %1$s not supported."
|
3124 |
msgstr ""
|
3125 |
|
3126 |
+
#: includes/class-mla-options.php:411 includes/class-mla-options.php:492
|
3127 |
#, php-format
|
3128 |
msgid "Update custom %1$s"
|
3129 |
msgstr ""
|
3130 |
|
3131 |
+
#: includes/class-mla-options.php:418 includes/class-mla-options.php:499
|
|
|
3132 |
#, php-format
|
3133 |
msgid "Reset custom %1$s"
|
3134 |
msgstr ""
|
3135 |
|
3136 |
+
#: includes/class-mla-options.php:449
|
3137 |
#: includes/mla-main-search-box-template.php:60
|
3138 |
#: includes/mla-media-modal-js-template.php:32
|
3139 |
msgid "and"
|
3140 |
msgstr ""
|
3141 |
|
3142 |
+
#: includes/class-mla-options.php:451
|
3143 |
#: includes/mla-main-search-box-template.php:61
|
3144 |
#: includes/mla-media-modal-js-template.php:36
|
3145 |
msgid "or"
|
3146 |
msgstr ""
|
3147 |
|
3148 |
+
#: includes/class-mla-options.php:456
|
3149 |
+
#: includes/class-mla-settings-custom-fields-tab.php:455
|
3150 |
+
#: includes/class-mla-settings-custom-fields-tab.php:759
|
3151 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:456
|
3152 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:842
|
3153 |
#: includes/class-mla-settings-shortcodes-tab.php:401
|
3154 |
#: includes/class-mla-settings-shortcodes-tab.php:472
|
3155 |
#: includes/mla-main-search-box-template.php:49
|
3157 |
msgid "Name"
|
3158 |
msgstr ""
|
3159 |
|
3160 |
+
#: includes/class-mla-options.php:468
|
3161 |
#: includes/mla-main-search-box-template.php:57
|
3162 |
#: includes/mla-media-modal-js-template.php:61
|
3163 |
msgid "File"
|
3164 |
msgstr ""
|
3165 |
|
3166 |
+
#: includes/class-mla-options.php:471
|
3167 |
#: includes/mla-main-search-box-template.php:58
|
3168 |
#: includes/mla-media-modal-js-template.php:66
|
3169 |
msgid "Terms"
|
3170 |
msgstr ""
|
3171 |
|
3172 |
+
#: includes/class-mla-options.php:883 includes/class-mla-options.php:929
|
3173 |
+
#: includes/class-mla-options.php:1737 includes/class-mla-options.php:1768
|
3174 |
#: includes/class-mla-settings-upload-tab.php:128
|
3175 |
msgid "None (select a value)"
|
3176 |
msgstr ""
|
3177 |
|
3178 |
+
#: includes/class-mla-options.php:936
|
3179 |
msgid "Metadata (see below)"
|
3180 |
msgstr ""
|
3181 |
|
3182 |
+
#: includes/class-mla-options.php:943
|
3183 |
msgid "Template (see below)"
|
3184 |
msgstr ""
|
3185 |
|
3186 |
+
#: includes/class-mla-options.php:1015 includes/class-mla-options.php:2049
|
3187 |
#, php-format
|
3188 |
msgid "%1$s: New field %2$s already exists."
|
3189 |
msgstr ""
|
3190 |
|
3191 |
+
#: includes/class-mla-options.php:1020 includes/class-mla-options.php:2054
|
3192 |
#, php-format
|
3193 |
msgid "Adding new field %1$s."
|
3194 |
msgstr ""
|
3195 |
|
3196 |
+
#: includes/class-mla-options.php:1028 includes/class-mla-options.php:2062
|
3197 |
#, php-format
|
3198 |
msgid "Adding new rule for %1$s."
|
3199 |
msgstr ""
|
3200 |
|
3201 |
+
#: includes/class-mla-options.php:1054 includes/class-mla-options.php:1919
|
3202 |
+
#: includes/class-mla-options.php:2088
|
3203 |
#, php-format
|
3204 |
msgid "Deleting rule for %1$s."
|
3205 |
msgstr ""
|
3206 |
|
3207 |
+
#: includes/class-mla-options.php:1077 includes/class-mla-options.php:1098
|
3208 |
+
#: includes/class-mla-options.php:1148 includes/class-mla-options.php:1155
|
3209 |
+
#: includes/class-mla-options.php:1835 includes/class-mla-options.php:1842
|
3210 |
+
#: includes/class-mla-options.php:1849 includes/class-mla-options.php:1944
|
3211 |
+
#: includes/class-mla-options.php:1951 includes/class-mla-options.php:1986
|
3212 |
+
#: includes/class-mla-options.php:1993 includes/class-mla-options.php:2098
|
3213 |
+
#: includes/class-mla-options.php:2105 includes/class-mla-options.php:2140
|
3214 |
+
#: includes/class-mla-options.php:2147
|
3215 |
#, php-format
|
3216 |
msgid "%1$s changing %2$s from %3$s to %4$s."
|
3217 |
msgstr ""
|
3218 |
|
3219 |
+
#: includes/class-mla-options.php:1077
|
3220 |
+
#: includes/class-mla-settings-custom-fields-tab.php:463
|
3221 |
+
#: includes/class-mla-settings-custom-fields-tab.php:763
|
3222 |
msgid "Data Source"
|
3223 |
msgstr ""
|
3224 |
|
3225 |
+
#: includes/class-mla-options.php:1083 includes/class-mla-options.php:1869
|
3226 |
+
#: includes/class-mla-options.php:1971 includes/class-mla-options.php:2125
|
3227 |
msgid "Replace to Keep"
|
3228 |
msgstr ""
|
3229 |
|
3230 |
+
#: includes/class-mla-options.php:1086 includes/class-mla-options.php:1872
|
3231 |
+
#: includes/class-mla-options.php:1974 includes/class-mla-options.php:2128
|
3232 |
msgid "Keep to Replace"
|
3233 |
msgstr ""
|
3234 |
|
3235 |
+
#: includes/class-mla-options.php:1091 includes/class-mla-options.php:1112
|
3236 |
+
#: includes/class-mla-options.php:1126 includes/class-mla-options.php:1140
|
3237 |
+
#: includes/class-mla-options.php:1169 includes/class-mla-options.php:1863
|
3238 |
+
#: includes/class-mla-options.php:1877 includes/class-mla-options.php:1965
|
3239 |
+
#: includes/class-mla-options.php:1979 includes/class-mla-options.php:2119
|
3240 |
+
#: includes/class-mla-options.php:2133 includes/class-mla-options.php:2161
|
3241 |
#, php-format
|
3242 |
msgid "%1$s changing %2$s value from %3$s."
|
3243 |
msgstr ""
|
3244 |
|
3245 |
+
#: includes/class-mla-options.php:1091 includes/class-mla-options.php:1877
|
3246 |
+
#: includes/class-mla-options.php:1979 includes/class-mla-options.php:2133
|
3247 |
+
#: includes/class-mla-settings-custom-fields-tab.php:477
|
3248 |
+
#: includes/class-mla-settings-custom-fields-tab.php:777
|
3249 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:475
|
3250 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:857
|
|
|
|
|
3251 |
msgid "Existing Text"
|
3252 |
msgstr ""
|
3253 |
|
3254 |
+
#: includes/class-mla-options.php:1098 includes/class-mla-options.php:2140
|
3255 |
+
#: includes/class-mla-settings-custom-fields-tab.php:482
|
3256 |
+
#: includes/class-mla-settings-custom-fields-tab.php:782
|
3257 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:490
|
3258 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:865
|
|
|
|
|
3259 |
msgid "Format"
|
3260 |
msgstr ""
|
3261 |
|
3262 |
+
#: includes/class-mla-options.php:1104 includes/class-mla-options.php:1118
|
3263 |
+
#: includes/class-mla-options.php:1132 includes/class-mla-options.php:1161
|
3264 |
+
#: includes/class-mla-options.php:2153
|
3265 |
msgid "unchecked to checked"
|
3266 |
msgstr ""
|
3267 |
|
3268 |
+
#: includes/class-mla-options.php:1107 includes/class-mla-options.php:1121
|
3269 |
+
#: includes/class-mla-options.php:1135 includes/class-mla-options.php:1164
|
3270 |
+
#: includes/class-mla-options.php:2156
|
3271 |
msgid "checked to unchecked"
|
3272 |
msgstr ""
|
3273 |
|
3274 |
+
#: includes/class-mla-options.php:1112
|
3275 |
+
#: includes/class-mla-settings-custom-fields-tab.php:469
|
3276 |
+
#: includes/class-mla-settings-custom-fields-tab.php:769
|
3277 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1453
|
3278 |
msgid "MLA Column"
|
3279 |
msgstr ""
|
3280 |
|
3281 |
+
#: includes/class-mla-options.php:1148
|
3282 |
msgid "Metavalue name"
|
3283 |
msgstr ""
|
3284 |
|
3285 |
+
#: includes/class-mla-options.php:1155 includes/class-mla-options.php:2147
|
3286 |
+
#: includes/class-mla-settings-custom-fields-tab.php:489
|
3287 |
+
#: includes/class-mla-settings-custom-fields-tab.php:789
|
3288 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:497
|
3289 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:872
|
|
|
|
|
|
|
3290 |
msgid "Option"
|
3291 |
msgstr ""
|
3292 |
|
3293 |
+
#: includes/class-mla-options.php:1169 includes/class-mla-options.php:2161
|
3294 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:509
|
|
|
|
|
|
|
3295 |
msgid "Delete NULL values"
|
3296 |
msgstr ""
|
3297 |
|
3298 |
+
#: includes/class-mla-options.php:1823
|
3299 |
+
#, php-format
|
3300 |
+
msgid "%1$s: No old values for %2$s."
|
3301 |
msgstr ""
|
3302 |
|
3303 |
+
#: includes/class-mla-options.php:1835
|
3304 |
+
msgid "Field Title"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3305 |
msgstr ""
|
3306 |
|
3307 |
+
#: includes/class-mla-options.php:1842 includes/class-mla-options.php:1944
|
3308 |
+
#: includes/class-mla-options.php:2098
|
3309 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:464
|
3310 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:846
|
3311 |
+
msgid "IPTC Value"
|
|
|
|
|
|
|
3312 |
msgstr ""
|
3313 |
|
3314 |
+
#: includes/class-mla-options.php:1849 includes/class-mla-options.php:1951
|
3315 |
+
#: includes/class-mla-options.php:2105
|
3316 |
+
msgid "EXIF Value"
|
|
|
|
|
|
|
|
|
|
|
3317 |
msgstr ""
|
3318 |
|
3319 |
+
#: includes/class-mla-options.php:1855 includes/class-mla-options.php:1957
|
3320 |
+
#: includes/class-mla-options.php:2111
|
3321 |
+
msgid "EXIF to IPTC"
|
|
|
|
|
|
|
|
|
|
|
3322 |
msgstr ""
|
3323 |
|
3324 |
+
#: includes/class-mla-options.php:1858 includes/class-mla-options.php:1960
|
3325 |
+
#: includes/class-mla-options.php:2114
|
3326 |
+
msgid "IPTC to EXIF"
|
|
|
|
|
|
|
|
|
|
|
3327 |
msgstr ""
|
3328 |
|
3329 |
+
#: includes/class-mla-options.php:1863 includes/class-mla-options.php:1965
|
3330 |
+
#: includes/class-mla-options.php:2119
|
3331 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:470
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3332 |
#: includes/class-mla-settings-iptc-exif-tab.php:852
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3333 |
msgid "Priority"
|
3334 |
msgstr ""
|
3335 |
|
3336 |
+
#: includes/class-mla-options.php:1986
|
3337 |
msgid "Delimiter(s)"
|
3338 |
msgstr ""
|
3339 |
|
3340 |
+
#: includes/class-mla-polylang-support.php:253
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3341 |
msgid "ERROR: No post ID found"
|
3342 |
msgstr ""
|
3343 |
|
3344 |
+
#: includes/class-mla-polylang-support.php:361
|
3345 |
msgid "Error while saving the translations."
|
3346 |
msgstr ""
|
3347 |
|
3348 |
+
#: includes/class-mla-polylang-support.php:362
|
3349 |
msgid "Remove From Bulk Translate"
|
3350 |
msgstr ""
|
3351 |
|
3352 |
+
#: includes/class-mla-polylang-support.php:364
|
3353 |
msgid "Bulk Translate items"
|
3354 |
msgstr ""
|
3355 |
|
3356 |
+
#: includes/class-mla-polylang-support.php:365
|
3357 |
msgid "Add new"
|
3358 |
msgstr ""
|
3359 |
|
3360 |
+
#: includes/class-mla-polylang-support.php:1881
|
3361 |
+
#: includes/class-mla-polylang-support.php:2248
|
3362 |
msgid "Bulk Translations"
|
3363 |
msgstr ""
|
3364 |
|
3365 |
+
#: includes/class-mla-polylang-support.php:1905
|
3366 |
msgid "Translate"
|
3367 |
msgstr ""
|
3368 |
|
3369 |
+
#: includes/class-mla-polylang-support.php:2033
|
3370 |
msgid "All Languages"
|
3371 |
msgstr ""
|
3372 |
|
3373 |
+
#: includes/class-mla-polylang-support.php:2040
|
3374 |
+
#: includes/class-mla-polylang-support.php:2313
|
3375 |
+
#: includes/class-mla-polylang-support.php:2473
|
3376 |
msgid "Quick Translate"
|
3377 |
msgstr ""
|
3378 |
|
3379 |
+
#: includes/class-mla-polylang-support.php:2044
|
3380 |
msgid "Set Language"
|
3381 |
msgstr ""
|
3382 |
|
3383 |
+
#: includes/class-mla-polylang-support.php:2045
|
3384 |
+
#: includes/class-mla-polylang-support.php:2480
|
3385 |
msgid "Bulk Translate"
|
3386 |
msgstr ""
|
3387 |
|
3388 |
+
#: includes/class-mla-polylang-support.php:2046
|
3389 |
msgid "Add or Modify Translation"
|
3390 |
msgstr ""
|
3391 |
|
3392 |
+
#: includes/class-mla-polylang-support.php:2047
|
3393 |
+
#: includes/class-mla-polylang-support.php:2104
|
3394 |
+
#: includes/class-mla-polylang-support.php:2417
|
3395 |
+
#: includes/class-mla-polylang-support.php:2532
|
3396 |
+
#: includes/class-mla-wpml-support.php:1584
|
3397 |
+
#: includes/class-mla-wpml-support.php:1674
|
3398 |
+
#: includes/class-mla-wpml-support.php:2134
|
3399 |
msgid "Language"
|
3400 |
msgstr ""
|
3401 |
|
3402 |
+
#: includes/class-mla-polylang-support.php:2049
|
3403 |
#: includes/class-mla-thumbnail-generation.php:637
|
3404 |
msgid "Options"
|
3405 |
msgstr ""
|
3406 |
|
3407 |
+
#: includes/class-mla-polylang-support.php:2313
|
3408 |
msgid "Translate this item inline"
|
3409 |
msgstr ""
|
3410 |
|
3411 |
+
#: includes/class-mla-polylang-support.php:2454
|
3412 |
+
#: includes/class-mla-polylang-support.php:2559
|
3413 |
+
#: includes/class-mla-wpml-support.php:1619
|
3414 |
+
#: includes/class-mla-wpml-support.php:1722
|
3415 |
msgid "Media/Assistant submenu table"
|
3416 |
msgstr ""
|
3417 |
|
3418 |
+
#: includes/class-mla-polylang-support.php:2459
|
3419 |
+
#: includes/class-mla-wpml-support.php:1624
|
3420 |
msgid "Language Column"
|
3421 |
msgstr ""
|
3422 |
|
3423 |
+
#: includes/class-mla-polylang-support.php:2462
|
3424 |
+
#: includes/class-mla-wpml-support.php:1627
|
3425 |
msgid ""
|
3426 |
"Check this option to add a Language column to the Media/Assistant submenu "
|
3427 |
"table."
|
3428 |
msgstr ""
|
3429 |
|
3430 |
+
#: includes/class-mla-polylang-support.php:2466
|
3431 |
+
#: includes/class-mla-wpml-support.php:1631
|
3432 |
msgid "Translations Column"
|
3433 |
msgstr ""
|
3434 |
|
3435 |
+
#: includes/class-mla-polylang-support.php:2469
|
3436 |
+
#: includes/class-mla-wpml-support.php:1634
|
3437 |
msgid ""
|
3438 |
"Check this option to add a Translation Status column to the Media/Assistant "
|
3439 |
"submenu table."
|
3440 |
msgstr ""
|
3441 |
|
3442 |
+
#: includes/class-mla-polylang-support.php:2476
|
3443 |
msgid ""
|
3444 |
"Check this option to add a Quick Translate rollover action to the Media/"
|
3445 |
"Assistant submenu table."
|
3446 |
msgstr ""
|
3447 |
|
3448 |
+
#: includes/class-mla-polylang-support.php:2483
|
3449 |
msgid ""
|
3450 |
"Check this option to add \"Translate\" to the \"Bulk Actions\" control on "
|
3451 |
"the Media/Assistant submenu table."
|
3452 |
msgstr ""
|
3453 |
|
3454 |
+
#: includes/class-mla-polylang-support.php:2487
|
3455 |
+
#: includes/class-mla-polylang-support.php:2559
|
3456 |
+
#: includes/class-mla-wpml-support.php:1638
|
3457 |
+
#: includes/class-mla-wpml-support.php:1722
|
3458 |
msgid "Term Management"
|
3459 |
msgstr ""
|
3460 |
|
3461 |
+
#: includes/class-mla-polylang-support.php:2492
|
3462 |
+
#: includes/class-mla-wpml-support.php:1643
|
3463 |
msgid "Term Assignment"
|
3464 |
msgstr ""
|
3465 |
|
3466 |
+
#: includes/class-mla-polylang-support.php:2495
|
3467 |
+
#: includes/class-mla-wpml-support.php:1646
|
3468 |
msgid ""
|
3469 |
"Check this option to assign language-specific terms when items are updated."
|
3470 |
msgstr ""
|
3471 |
|
3472 |
+
#: includes/class-mla-polylang-support.php:2499
|
3473 |
+
#: includes/class-mla-wpml-support.php:1650
|
3474 |
msgid "Term Synchronization"
|
3475 |
msgstr ""
|
3476 |
|
3477 |
+
#: includes/class-mla-polylang-support.php:2502
|
3478 |
+
#: includes/class-mla-wpml-support.php:1653
|
3479 |
msgid ""
|
3480 |
"Check this option to synchronize common terms among all item translations."
|
3481 |
msgstr ""
|
3482 |
|
3483 |
+
#: includes/class-mla-polylang-support.php:2506
|
3484 |
+
#: includes/class-mla-wpml-support.php:1657
|
3485 |
msgid "Term Mapping Replication"
|
3486 |
msgstr ""
|
3487 |
|
3488 |
+
#: includes/class-mla-polylang-support.php:2509
|
3489 |
+
#: includes/class-mla-wpml-support.php:1660
|
3490 |
msgid ""
|
3491 |
"When mapping IPTC/EXIF metadata to taxonomy terms, make them available in "
|
3492 |
"all languages."
|
3493 |
msgstr ""
|
3494 |
|
3495 |
+
#: includes/class-mla-polylang-support.php:2557
|
3496 |
+
#: includes/class-mla-wpml-support.php:1720
|
3497 |
msgid "Language Options"
|
3498 |
msgstr ""
|
3499 |
|
3500 |
+
#: includes/class-mla-polylang-support.php:2559
|
3501 |
#, php-format
|
3502 |
msgid ""
|
3503 |
"In this tab you can find a number of options for controlling Polylang-"
|
3506 |
"make."
|
3507 |
msgstr ""
|
3508 |
|
3509 |
+
#: includes/class-mla-polylang-support.php:2561
|
3510 |
+
#: includes/class-mla-wpml-support.php:1724
|
3511 |
#, php-format
|
3512 |
msgid ""
|
3513 |
"You can find more information about multilingual features in the %1$s "
|
3514 |
"section of the Documentation."
|
3515 |
msgstr ""
|
3516 |
|
3517 |
+
#: includes/class-mla-polylang-support.php:2561
|
3518 |
+
#: includes/class-mla-wpml-support.php:1724
|
3519 |
msgid "Language Options documentation"
|
3520 |
msgstr ""
|
3521 |
|
3522 |
+
#: includes/class-mla-polylang-support.php:2561
|
3523 |
+
#: includes/class-mla-wpml-support.php:1724
|
3524 |
msgid "WPML & Polylang Multilingual Support; the MLA Language Tab"
|
3525 |
msgstr ""
|
3526 |
|
3527 |
+
#: includes/class-mla-polylang-support.php:2564
|
3528 |
+
#: includes/class-mla-settings-custom-fields-tab.php:657
|
3529 |
+
#: includes/class-mla-settings-custom-fields-tab.php:756
|
3530 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:739
|
3531 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:837
|
3532 |
#: includes/class-mla-settings-shortcodes-tab.php:713
|
3533 |
#: includes/class-mla-settings-upload-tab.php:480
|
3534 |
#: includes/class-mla-settings-upload-tab.php:530
|
3535 |
#: includes/class-mla-settings-view-tab.php:320
|
3536 |
#: includes/class-mla-settings-view-tab.php:372
|
3537 |
+
#: includes/class-mla-settings.php:1061 includes/class-mla-settings.php:1436
|
3538 |
+
#: includes/class-mla-settings.php:1438
|
3539 |
+
#: includes/class-mla-wpml-support.php:1727
|
3540 |
msgid "Save Changes"
|
3541 |
msgstr ""
|
3542 |
|
3543 |
+
#: includes/class-mla-polylang-support.php:2565
|
3544 |
+
#: includes/class-mla-wpml-support.php:1728
|
3545 |
msgid "Delete Language options and restore default settings"
|
3546 |
msgstr ""
|
3547 |
|
3548 |
+
#: includes/class-mla-polylang-support.php:2568
|
3549 |
+
#: includes/class-mla-settings.php:799 includes/class-mla-settings.php:1066
|
3550 |
+
#: includes/class-mla-wpml-support.php:1731
|
3551 |
msgid "Go to Top"
|
3552 |
msgstr ""
|
3553 |
|
3554 |
+
#: includes/class-mla-polylang-support.php:2605
|
3555 |
+
#: includes/class-mla-wpml-support.php:1768
|
3556 |
msgid "Language settings saved."
|
3557 |
msgstr ""
|
3558 |
|
3559 |
+
#: includes/class-mla-polylang-support.php:2636
|
3560 |
+
#: includes/class-mla-settings.php:1654
|
3561 |
+
#: includes/class-mla-wpml-support.php:1799
|
3562 |
#, php-format
|
3563 |
msgctxt "message_list"
|
3564 |
msgid "delete_option \"%1$s\""
|
3565 |
msgstr ""
|
3566 |
|
3567 |
+
#: includes/class-mla-polylang-support.php:2644
|
3568 |
+
#: includes/class-mla-wpml-support.php:1807
|
3569 |
msgid "Language settings reset to default values."
|
3570 |
msgstr ""
|
3571 |
|
3607 |
msgid "PAUSED"
|
3608 |
msgstr ""
|
3609 |
|
3610 |
+
#: includes/class-mla-settings-custom-fields-tab.php:142
|
3611 |
msgid "Custom field mapping settings updated."
|
3612 |
msgstr ""
|
3613 |
|
3614 |
+
#: includes/class-mla-settings-custom-fields-tab.php:144
|
3615 |
msgid "Custom field no mapping changes detected."
|
3616 |
msgstr ""
|
3617 |
|
3618 |
+
#: includes/class-mla-settings-custom-fields-tab.php:173
|
3619 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:175
|
3620 |
msgid "No custom field mapping rules to process."
|
3621 |
msgstr ""
|
3622 |
|
3623 |
+
#: includes/class-mla-settings-custom-fields-tab.php:206
|
3624 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:209
|
3625 |
#, php-format
|
3626 |
msgid "%1$s mapping completed; %2$d attachment(s) examined, %3$d updated."
|
3627 |
msgstr ""
|
3628 |
|
3629 |
+
#: includes/class-mla-settings-custom-fields-tab.php:206
|
3630 |
+
#: includes/class-mla-settings-custom-fields-tab.php:209
|
3631 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:209
|
3632 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:212
|
3633 |
+
msgid "Custom field"
|
3634 |
+
msgstr ""
|
3635 |
+
|
3636 |
+
#: includes/class-mla-settings-custom-fields-tab.php:209
|
3637 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:212
|
3638 |
#, php-format
|
3639 |
msgid ""
|
3640 |
"%1$s mapping completed; %2$d attachment(s) examined, no changes detected."
|
3641 |
msgstr ""
|
3642 |
|
3643 |
+
#: includes/class-mla-settings-custom-fields-tab.php:238
|
3644 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:241
|
3645 |
msgid ": No custom field name selected/entered"
|
3646 |
msgstr ""
|
3647 |
|
3648 |
+
#: includes/class-mla-settings-custom-fields-tab.php:242
|
3649 |
+
#: includes/class-mla-settings-custom-fields-tab.php:304
|
3650 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:245
|
3651 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:308
|
3652 |
msgid ": Rule already exists for the new name"
|
3653 |
msgstr ""
|
3654 |
|
3655 |
+
#: includes/class-mla-settings-custom-fields-tab.php:273
|
3656 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:277
|
3657 |
msgid "Rule added"
|
3658 |
msgstr ""
|
3659 |
|
3660 |
+
#: includes/class-mla-settings-custom-fields-tab.php:276
|
3661 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:280
|
3662 |
msgid ": Rule addition failed"
|
3663 |
msgstr ""
|
3664 |
|
3665 |
+
#: includes/class-mla-settings-custom-fields-tab.php:308
|
3666 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:312
|
3667 |
msgid ": Invalid rule name must be changed"
|
3668 |
msgstr ""
|
3669 |
|
3670 |
+
#: includes/class-mla-settings-custom-fields-tab.php:341
|
3671 |
+
#: includes/class-mla-settings-custom-fields-tab.php:425
|
3672 |
+
#: includes/class-mla-settings-custom-fields-tab.php:956
|
3673 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:347
|
3674 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:423
|
3675 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:1029
|
3676 |
msgid ": Rule update failed"
|
3677 |
msgstr ""
|
3678 |
|
3679 |
+
#: includes/class-mla-settings-custom-fields-tab.php:346
|
3680 |
+
#: includes/class-mla-settings-custom-fields-tab.php:428
|
3681 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:352
|
3682 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:426
|
3683 |
msgid "Rule updated"
|
3684 |
msgstr ""
|
3685 |
|
3686 |
+
#: includes/class-mla-settings-custom-fields-tab.php:370
|
3687 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:376
|
3688 |
#, php-format
|
3689 |
msgid "Custom Field Rule \"%1$s\" deleted."
|
3690 |
msgstr ""
|
3691 |
|
3692 |
+
#: includes/class-mla-settings-custom-fields-tab.php:449
|
3693 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:447
|
3694 |
msgid "Edit Rule"
|
3695 |
msgstr ""
|
3696 |
|
3697 |
+
#: includes/class-mla-settings-custom-fields-tab.php:458
|
3698 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:459
|
3699 |
msgid ""
|
3700 |
"This is the name of the custom field to which the rule applies.<br>Only one "
|
3701 |
"rule is allowed for each custom field."
|
3702 |
msgstr ""
|
3703 |
|
3704 |
+
#: includes/class-mla-settings-custom-fields-tab.php:459
|
3705 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:460
|
3706 |
msgid "Change Name"
|
3707 |
msgstr ""
|
3708 |
|
3709 |
+
#: includes/class-mla-settings-custom-fields-tab.php:460
|
3710 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:461
|
3711 |
msgid "Cancel Name Change"
|
3712 |
msgstr ""
|
3713 |
|
3714 |
+
#: includes/class-mla-settings-custom-fields-tab.php:461
|
3715 |
+
#: includes/class-mla-settings-custom-fields-tab.php:761
|
3716 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:462
|
3717 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:844
|
3718 |
msgid "Enter new field"
|
3719 |
msgstr ""
|
3720 |
|
3721 |
+
#: includes/class-mla-settings-custom-fields-tab.php:462
|
3722 |
+
#: includes/class-mla-settings-custom-fields-tab.php:762
|
3723 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:463
|
3724 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:845
|
3725 |
msgid "Cancel new field"
|
3726 |
msgstr ""
|
3727 |
|
3728 |
+
#: includes/class-mla-settings-custom-fields-tab.php:465
|
3729 |
+
#: includes/class-mla-settings-custom-fields-tab.php:765
|
3730 |
msgid "Meta/Template"
|
3731 |
msgstr ""
|
3732 |
|
3733 |
+
#: includes/class-mla-settings-custom-fields-tab.php:467
|
3734 |
+
#: includes/class-mla-settings-custom-fields-tab.php:767
|
3735 |
msgid "WordPress attachment metadata element or Content Template"
|
3736 |
msgstr ""
|
3737 |
|
3738 |
+
#: includes/class-mla-settings-custom-fields-tab.php:470
|
3739 |
+
#: includes/class-mla-settings-custom-fields-tab.php:770
|
3740 |
msgid "Display as Media/Assistant column"
|
3741 |
msgstr ""
|
3742 |
|
3743 |
+
#: includes/class-mla-settings-custom-fields-tab.php:473
|
3744 |
+
#: includes/class-mla-settings-custom-fields-tab.php:773
|
3745 |
msgid "Add to Media/Assistant Quick Edit area"
|
3746 |
msgstr ""
|
3747 |
|
3748 |
+
#: includes/class-mla-settings-custom-fields-tab.php:476
|
3749 |
+
#: includes/class-mla-settings-custom-fields-tab.php:776
|
3750 |
msgid "Add to Media/Assistant Bulk Edit area"
|
3751 |
msgstr ""
|
3752 |
|
3753 |
+
#: includes/class-mla-settings-custom-fields-tab.php:479
|
3754 |
+
#: includes/class-mla-settings-custom-fields-tab.php:779
|
3755 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1499
|
3756 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:477
|
3757 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:859
|
3758 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:1561
|
3759 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:2415
|
3760 |
+
#: includes/class-mla-thumbnail-generation.php:631
|
3761 |
+
msgid "Keep"
|
3762 |
+
msgstr ""
|
3763 |
+
|
3764 |
+
#: includes/class-mla-settings-custom-fields-tab.php:484
|
3765 |
+
#: includes/class-mla-settings-custom-fields-tab.php:784
|
3766 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:492
|
3767 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:867
|
3768 |
+
msgid "Native"
|
3769 |
+
msgstr ""
|
3770 |
+
|
3771 |
+
#: includes/class-mla-settings-custom-fields-tab.php:486
|
3772 |
+
#: includes/class-mla-settings-custom-fields-tab.php:786
|
3773 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:494
|
3774 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:869
|
3775 |
+
msgid "Commas"
|
3776 |
+
msgstr ""
|
3777 |
+
|
3778 |
+
#: includes/class-mla-settings-custom-fields-tab.php:488
|
3779 |
+
#: includes/class-mla-settings-custom-fields-tab.php:788
|
3780 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:496
|
3781 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:871
|
3782 |
+
msgid "Raw"
|
3783 |
+
msgstr ""
|
3784 |
+
|
3785 |
+
#: includes/class-mla-settings-custom-fields-tab.php:491
|
3786 |
+
#: includes/class-mla-settings-custom-fields-tab.php:791
|
3787 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:499
|
3788 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:874
|
3789 |
+
msgid "Text"
|
3790 |
+
msgstr ""
|
3791 |
+
|
3792 |
+
#: includes/class-mla-settings-custom-fields-tab.php:493
|
3793 |
+
#: includes/class-mla-settings-custom-fields-tab.php:793
|
3794 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:501
|
3795 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:876
|
3796 |
+
msgid "Single"
|
3797 |
+
msgstr ""
|
3798 |
+
|
3799 |
#: includes/class-mla-settings-custom-fields-tab.php:495
|
3800 |
+
#: includes/class-mla-settings-custom-fields-tab.php:795
|
3801 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:503
|
3802 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:878
|
3803 |
+
msgid "Export"
|
3804 |
+
msgstr ""
|
3805 |
+
|
3806 |
+
#: includes/class-mla-settings-custom-fields-tab.php:497
|
3807 |
+
#: includes/class-mla-settings-custom-fields-tab.php:797
|
3808 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:505
|
3809 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:880
|
3810 |
+
msgid "Array"
|
3811 |
+
msgstr ""
|
3812 |
+
|
3813 |
+
#: includes/class-mla-settings-custom-fields-tab.php:499
|
3814 |
+
#: includes/class-mla-settings-custom-fields-tab.php:799
|
3815 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:507
|
3816 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:882
|
3817 |
+
msgid "Multi"
|
3818 |
+
msgstr ""
|
3819 |
+
|
3820 |
+
#: includes/class-mla-settings-custom-fields-tab.php:501
|
3821 |
+
#: includes/class-mla-settings-custom-fields-tab.php:801
|
3822 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:884
|
3823 |
msgid "Delete NULL Values"
|
3824 |
msgstr ""
|
3825 |
|
3826 |
+
#: includes/class-mla-settings-custom-fields-tab.php:502
|
3827 |
+
#: includes/class-mla-settings-custom-fields-tab.php:802
|
3828 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:510
|
3829 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:885
|
3830 |
msgid "Do not store empty custom field values"
|
3831 |
msgstr ""
|
3832 |
|
3833 |
+
#: includes/class-mla-settings-custom-fields-tab.php:505
|
3834 |
+
#: includes/class-mla-settings-custom-fields-tab.php:805
|
3835 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1483
|
3836 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1706
|
3837 |
#: includes/class-mla-settings-documentation-tab.php:1217
|
3838 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:514
|
3839 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:888
|
3840 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:1577
|
3841 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:1813
|
3842 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:2418
|
3843 |
#: includes/class-mla-settings-upload-tab.php:554
|
3844 |
#: includes/class-mla-settings-upload-tab.php:1036
|
3845 |
msgid "Active"
|
3846 |
msgstr ""
|
3847 |
|
3848 |
+
#: includes/class-mla-settings-custom-fields-tab.php:507
|
3849 |
+
#: includes/class-mla-settings-custom-fields-tab.php:807
|
3850 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1485
|
3851 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1709
|
3852 |
#: includes/class-mla-settings-documentation-tab.php:1219
|
3853 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:516
|
3854 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:890
|
3855 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:1579
|
3856 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:1816
|
3857 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:2418
|
3858 |
#: includes/class-mla-settings-upload-tab.php:172
|
3859 |
#: includes/class-mla-settings-upload-tab.php:540
|
3860 |
#: includes/class-mla-settings-upload-tab.php:1034
|
3861 |
msgid "Inactive"
|
3862 |
msgstr ""
|
3863 |
|
3864 |
+
#: includes/class-mla-settings-custom-fields-tab.php:534
|
3865 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:614
|
3866 |
#, php-format
|
3867 |
msgid "Custom Field Rule \"%1$s\": %2$s"
|
3868 |
msgstr ""
|
3869 |
|
3870 |
+
#: includes/class-mla-settings-custom-fields-tab.php:570
|
3871 |
msgid "Edit Custom Field Rule cancelled."
|
3872 |
msgstr ""
|
3873 |
|
3874 |
+
#: includes/class-mla-settings-custom-fields-tab.php:583
|
3875 |
+
#: includes/class-mla-settings-custom-fields-tab.php:611
|
3876 |
#: includes/class-mla-settings-documentation-tab.php:237
|
3877 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:663
|
3878 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:691
|
3879 |
#: includes/class-mla-settings-shortcodes-tab.php:552
|
3880 |
#: includes/class-mla-settings-upload-tab.php:400
|
3881 |
#: includes/class-mla-settings-view-tab.php:244
|
3883 |
msgid "Unknown bulk action %1$s"
|
3884 |
msgstr ""
|
3885 |
|
3886 |
+
#: includes/class-mla-settings-custom-fields-tab.php:654
|
3887 |
+
msgid "Custom Field Mapping Support is disabled"
|
3888 |
+
msgstr ""
|
3889 |
+
|
3890 |
+
#: includes/class-mla-settings-custom-fields-tab.php:723
|
3891 |
msgid "Custom Field Mapping Progress"
|
3892 |
msgstr ""
|
3893 |
|
3894 |
+
#: includes/class-mla-settings-custom-fields-tab.php:724
|
3895 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:806
|
3896 |
msgid "DO NOT DO THE FOLLOWING (they will cause mapping to fail)"
|
3897 |
msgstr ""
|
3898 |
|
3899 |
+
#: includes/class-mla-settings-custom-fields-tab.php:725
|
3900 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:807
|
3901 |
msgid "Close the window"
|
3902 |
msgstr ""
|
3903 |
|
3904 |
+
#: includes/class-mla-settings-custom-fields-tab.php:726
|
3905 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:808
|
3906 |
msgid "Reload the page"
|
3907 |
msgstr ""
|
3908 |
|
3909 |
+
#: includes/class-mla-settings-custom-fields-tab.php:727
|
3910 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:809
|
3911 |
msgid "Click the browser’s Stop, Back or forward buttons"
|
3912 |
msgstr ""
|
3913 |
|
3914 |
+
#: includes/class-mla-settings-custom-fields-tab.php:728
|
3915 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:810
|
3916 |
msgid "Progress"
|
3917 |
msgstr ""
|
3918 |
|
3919 |
+
#: includes/class-mla-settings-custom-fields-tab.php:729
|
3920 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:811
|
3921 |
msgid "Pause"
|
3922 |
msgstr ""
|
3923 |
|
3924 |
+
#: includes/class-mla-settings-custom-fields-tab.php:731
|
3925 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:813
|
3926 |
msgid "Resume"
|
3927 |
msgstr ""
|
3928 |
|
3929 |
+
#: includes/class-mla-settings-custom-fields-tab.php:732
|
3930 |
#: includes/class-mla-settings-documentation-tab.php:107
|
3931 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:814
|
3932 |
#: includes/class-mla-settings-shortcodes-tab.php:476
|
3933 |
#: includes/class-mla-template-support.php:160
|
3934 |
#: includes/class-mla-template-support.php:166
|
3939 |
msgid "Close"
|
3940 |
msgstr ""
|
3941 |
|
3942 |
+
#: includes/class-mla-settings-custom-fields-tab.php:741
|
3943 |
msgid "Custom Field and Attachment Metadata Processing Options"
|
3944 |
msgstr ""
|
3945 |
|
3946 |
+
#: includes/class-mla-settings-custom-fields-tab.php:743
|
3947 |
msgid ""
|
3948 |
"In this tab you can define the rules for mapping several types of image "
|
3949 |
"metadata to WordPress custom fields. You can also use this screen to define "
|
3952 |
"field."
|
3953 |
msgstr ""
|
3954 |
|
3955 |
+
#: includes/class-mla-settings-custom-fields-tab.php:745
|
3956 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:827
|
3957 |
msgid ""
|
3958 |
"You can find more information about using the controls in this tab to define "
|
3959 |
"mapping rules and apply them by clicking the \"Help\" control in the upper-"
|
3960 |
"right corner of the screen."
|
3961 |
msgstr ""
|
3962 |
|
3963 |
+
#: includes/class-mla-settings-custom-fields-tab.php:750
|
3964 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:832
|
3965 |
#: includes/class-mla-settings-shortcodes-tab.php:711
|
3966 |
msgid "Search results for"
|
3967 |
msgstr ""
|
3968 |
|
3969 |
+
#: includes/class-mla-settings-custom-fields-tab.php:752
|
3970 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:833
|
3971 |
msgid "Search Rules Text"
|
3972 |
msgstr ""
|
3973 |
|
3974 |
+
#: includes/class-mla-settings-custom-fields-tab.php:754
|
3975 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:835
|
3976 |
msgid "Search Rules"
|
3977 |
msgstr ""
|
3978 |
|
3979 |
+
#: includes/class-mla-settings-custom-fields-tab.php:757
|
3980 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:838
|
3981 |
msgid "Execute All Rules"
|
3982 |
msgstr ""
|
3983 |
|
3984 |
+
#: includes/class-mla-settings-custom-fields-tab.php:758
|
3985 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:839
|
3986 |
msgid "Add New Custom Field Rule"
|
3987 |
msgstr ""
|
3988 |
|
3989 |
+
#: includes/class-mla-settings-custom-fields-tab.php:808
|
3990 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:891
|
3991 |
+
msgid "Add Rule"
|
3992 |
+
msgstr ""
|
3993 |
+
|
3994 |
+
#: includes/class-mla-settings-custom-fields-tab.php:872
|
3995 |
+
#: includes/class-mla-settings-custom-fields-tab.php:894
|
3996 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:966
|
3997 |
msgid "Nothing to execute"
|
3998 |
msgstr ""
|
3999 |
|
4000 |
+
#: includes/class-mla-settings-custom-fields-tab.php:928
|
4001 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:1001
|
4002 |
msgid "Rule ID not found"
|
4003 |
msgstr ""
|
4004 |
|
4005 |
+
#: includes/class-mla-settings-custom-fields-tab.php:932
|
4006 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:1005
|
4007 |
msgid "Rule not found"
|
4008 |
msgstr ""
|
4009 |
|
4010 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1203
|
4011 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:1280
|
4012 |
msgctxt "list_table_column"
|
4013 |
msgid "Bad Name"
|
4014 |
msgstr ""
|
4015 |
|
4016 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1205
|
4017 |
msgctxt "list_table_column"
|
4018 |
msgid "Meta/Template"
|
4019 |
msgstr ""
|
4020 |
|
4021 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1206
|
4022 |
msgctxt "list_table_column"
|
4023 |
msgid "Visibility"
|
4024 |
msgstr ""
|
4025 |
|
4026 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1208
|
4027 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:1284
|
4028 |
msgctxt "list_table_column"
|
4029 |
msgid "Existing Text"
|
4030 |
msgstr ""
|
4031 |
|
4032 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1209
|
4033 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:1288
|
4034 |
msgctxt "list_table_column"
|
4035 |
msgid "Delete NULL"
|
4036 |
msgstr ""
|
4037 |
|
4038 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1210
|
4039 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:1289
|
4040 |
msgctxt "list_table_column"
|
4041 |
msgid "Format"
|
4042 |
msgstr ""
|
4043 |
|
4044 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1211
|
4045 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:1290
|
4046 |
msgctxt "list_table_column"
|
4047 |
msgid "Option"
|
4048 |
msgstr ""
|
4049 |
|
4050 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1350
|
4051 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:1429
|
4052 |
+
msgid "Map All Attachments"
|
4053 |
+
msgstr ""
|
4054 |
+
|
4055 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1350
|
4056 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1685
|
4057 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:1429
|
4058 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:1792
|
4059 |
msgid "Execute"
|
4060 |
msgstr ""
|
4061 |
|
4062 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1352
|
4063 |
msgid "Purge custom field values"
|
4064 |
msgstr ""
|
4065 |
|
4066 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1352
|
4067 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1686
|
4068 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:1432
|
4069 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:1793
|
4070 |
msgid "Purge Values"
|
4071 |
msgstr ""
|
4072 |
|
4073 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1703
|
4074 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:1810
|
4075 |
#: includes/class-mla-settings-shortcodes-tab.php:1299
|
4076 |
msgid "Any Status"
|
4077 |
msgstr ""
|
4078 |
|
4079 |
+
#: includes/class-mla-settings-custom-fields-tab.php:2458
|
4080 |
msgctxt "table_view_singular"
|
4081 |
msgid "MLA Column"
|
4082 |
msgstr ""
|
4083 |
|
4084 |
+
#: includes/class-mla-settings-custom-fields-tab.php:2459
|
4085 |
msgctxt "table_view_plural"
|
4086 |
msgid "MLA Column"
|
4087 |
msgstr ""
|
4088 |
|
4089 |
+
#: includes/class-mla-settings-custom-fields-tab.php:2462
|
4090 |
msgctxt "table_view_singular"
|
4091 |
msgid "Quick Edit"
|
4092 |
msgstr ""
|
4093 |
|
4094 |
+
#: includes/class-mla-settings-custom-fields-tab.php:2463
|
4095 |
msgctxt "table_view_plural"
|
4096 |
msgid "Quick Edit"
|
4097 |
msgstr ""
|
4098 |
|
4099 |
+
#: includes/class-mla-settings-custom-fields-tab.php:2466
|
4100 |
msgctxt "table_view_singular"
|
4101 |
msgid "Bulk Edit"
|
4102 |
msgstr ""
|
4103 |
|
4104 |
+
#: includes/class-mla-settings-custom-fields-tab.php:2467
|
4105 |
msgctxt "table_view_plural"
|
4106 |
msgid "Bulk Edit"
|
4107 |
msgstr ""
|
4108 |
|
4109 |
+
#: includes/class-mla-settings-custom-fields-tab.php:2470
|
4110 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:2739
|
4111 |
msgctxt "table_view_singular"
|
4112 |
msgid "Read Only"
|
4113 |
msgstr ""
|
4114 |
|
4115 |
+
#: includes/class-mla-settings-custom-fields-tab.php:2471
|
4116 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:2740
|
4117 |
msgctxt "table_view_plural"
|
4118 |
msgid "Read Only"
|
4119 |
msgstr ""
|
4127 |
msgstr ""
|
4128 |
|
4129 |
#: includes/class-mla-settings-documentation-tab.php:97
|
4130 |
+
#: includes/class-mla-settings.php:1367
|
4131 |
#, php-format
|
4132 |
msgid "%1$s: Reading the %2$s file ( %3$s ) \"%4$s\"."
|
4133 |
msgstr ""
|
4305 |
msgid "Uninstalled"
|
4306 |
msgstr ""
|
4307 |
|
4308 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:144
|
4309 |
+
msgid "IPTC/EXIF mapping settings updated."
|
4310 |
+
msgstr ""
|
4311 |
+
|
4312 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:146
|
4313 |
+
msgid "IPTC/EXIF no mapping changes detected."
|
4314 |
+
msgstr ""
|
4315 |
+
|
4316 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:200
|
4317 |
msgid "updated."
|
4318 |
msgstr ""
|
4319 |
|
4320 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:466
|
4321 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:848
|
4322 |
+
msgid "EXIF/Template Value"
|
4323 |
+
msgstr ""
|
4324 |
+
|
4325 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:469
|
4326 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:851
|
4327 |
msgid "EXIF element name or Content Template"
|
4328 |
msgstr ""
|
4329 |
|
4330 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:472
|
4331 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:854
|
4332 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:1545
|
4333 |
+
msgid "IPTC"
|
4334 |
+
msgstr ""
|
4335 |
+
|
4336 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:474
|
4337 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:856
|
4338 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:1548
|
4339 |
+
msgid "EXIF"
|
4340 |
+
msgstr ""
|
4341 |
+
|
4342 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:482
|
4343 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:862
|
4344 |
msgid "Delimiters"
|
4345 |
msgstr ""
|
4346 |
|
4347 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:537
|
4348 |
msgid "Standard field mapping"
|
4349 |
msgstr ""
|
4350 |
|
4351 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:540
|
4352 |
msgid "Taxonomy term mapping"
|
4353 |
msgstr ""
|
4354 |
|
4355 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:555
|
4356 |
msgid "Custom field mapping"
|
4357 |
msgstr ""
|
4358 |
|
4359 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:650
|
4360 |
msgid "Edit IPTC EXIF Rule cancelled."
|
4361 |
msgstr ""
|
4362 |
|
4363 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:736
|
4364 |
+
msgid "IPTC/EXIF Mapping Support is disabled"
|
4365 |
+
msgstr ""
|
4366 |
+
|
4367 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:805
|
4368 |
msgid "IPTC & EXIF Mapping Progress"
|
4369 |
msgstr ""
|
4370 |
|
4371 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:823
|
4372 |
msgid "IPTC & EXIF Processing Options"
|
4373 |
msgstr ""
|
4374 |
|
4375 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:825
|
4376 |
msgid ""
|
4377 |
"In this tab you can define the rules for mapping IPTC (International Press "
|
4378 |
"Telecommunications Council) and EXIF (EXchangeable Image File) metadata to "
|
4379 |
"WordPress standard attachment fields, taxonomy terms and custom fields."
|
4380 |
msgstr ""
|
4381 |
|
4382 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:1281
|
4383 |
msgctxt "list_table_column"
|
4384 |
msgid "IPTC Value"
|
4385 |
msgstr ""
|
4386 |
|
4387 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:1282
|
4388 |
msgctxt "list_table_column"
|
4389 |
msgid "EXIF/Template Value"
|
4390 |
msgstr ""
|
4391 |
|
4392 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:1283
|
4393 |
msgctxt "list_table_column"
|
4394 |
msgid "Priority "
|
4395 |
msgstr ""
|
4396 |
|
4397 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:1286
|
4398 |
msgctxt "list_table_column"
|
4399 |
msgid "Delimiter(s)"
|
4400 |
msgstr ""
|
4401 |
|
4402 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:1287
|
4403 |
msgctxt "list_table_column"
|
4404 |
msgid "Parent"
|
4405 |
msgstr ""
|
4406 |
|
4407 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:1432
|
4408 |
msgid "Purge IPTC EXIF values"
|
4409 |
msgstr ""
|
4410 |
|
4411 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:2727
|
4412 |
msgctxt "table_view_singular"
|
4413 |
msgid "Standard"
|
4414 |
msgstr ""
|
4415 |
|
4416 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:2728
|
4417 |
msgctxt "table_view_plural"
|
4418 |
msgid "Standard"
|
4419 |
msgstr ""
|
4420 |
|
4421 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:2731
|
4422 |
msgctxt "table_view_singular"
|
4423 |
msgid "Taxonomy"
|
4424 |
msgstr ""
|
4425 |
|
4426 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:2732
|
4427 |
msgctxt "table_view_plural"
|
4428 |
msgid "Taxonomy"
|
4429 |
msgstr ""
|
4520 |
msgid "%1$s \"%2$s\" deleted."
|
4521 |
msgstr ""
|
4522 |
|
4523 |
+
#: includes/class-mla-settings-shortcodes-tab.php:319
|
4524 |
+
#, php-format
|
4525 |
+
msgid "%1$s settings saved."
|
4526 |
+
msgstr ""
|
4527 |
+
|
4528 |
#: includes/class-mla-settings-shortcodes-tab.php:319
|
4529 |
#: includes/class-mla-settings-shortcodes-tab.php:322
|
4530 |
+
#: includes/class-mla-settings.php:954
|
4531 |
msgid "Shortcodes"
|
4532 |
msgstr ""
|
4533 |
|
4597 |
msgstr ""
|
4598 |
|
4599 |
#: includes/class-mla-settings-shortcodes-tab.php:663
|
4600 |
+
#: includes/class-mla-wpml-support.php:1714
|
4601 |
+
#: includes/class-mla-wpml-support.php:1716
|
4602 |
msgid "WARNING:"
|
4603 |
msgstr ""
|
4604 |
|
5020 |
msgid "No view slug found"
|
5021 |
msgstr ""
|
5022 |
|
5023 |
+
#: includes/class-mla-settings.php:429 includes/class-mla-settings.php:653
|
5024 |
+
#: includes/class-mla-settings.php:1477
|
5025 |
msgid "Settings"
|
5026 |
msgstr ""
|
5027 |
|
5028 |
+
#: includes/class-mla-settings.php:448
|
5029 |
msgid "Views per page"
|
5030 |
msgstr ""
|
5031 |
|
5032 |
+
#: includes/class-mla-settings.php:459
|
5033 |
msgid "Types per page"
|
5034 |
msgstr ""
|
5035 |
|
5036 |
+
#: includes/class-mla-settings.php:470
|
5037 |
msgid "Upload types per page"
|
5038 |
msgstr ""
|
5039 |
|
5040 |
+
#: includes/class-mla-settings.php:481
|
5041 |
msgid "Shortcode templates per page"
|
5042 |
msgstr ""
|
5043 |
|
5044 |
+
#: includes/class-mla-settings.php:492 includes/class-mla-settings.php:503
|
5045 |
msgid "Rules per page"
|
5046 |
msgstr ""
|
5047 |
|
5048 |
+
#: includes/class-mla-settings.php:515
|
5049 |
msgid "Plugins per page"
|
5050 |
msgstr ""
|
5051 |
|
5052 |
+
#: includes/class-mla-settings.php:725 includes/class-mla-settings.php:762
|
5053 |
+
#: includes/class-mla-settings.php:902
|
5054 |
#, php-format
|
5055 |
msgctxt "error_log"
|
5056 |
msgid "%1$s: %2$s unknown type = \"%3$s\""
|
5057 |
msgstr ""
|
5058 |
|
5059 |
+
#: includes/class-mla-settings.php:800 includes/class-mla-settings.php:1067
|
5060 |
msgid "Go to Bottom"
|
5061 |
msgstr ""
|
5062 |
|
5063 |
+
#: includes/class-mla-settings.php:951
|
5064 |
msgid "General"
|
5065 |
msgstr ""
|
5066 |
|
5067 |
+
#: includes/class-mla-settings.php:952
|
5068 |
msgid "Views"
|
5069 |
msgstr ""
|
5070 |
|
5071 |
+
#: includes/class-mla-settings.php:953
|
5072 |
msgid "Uploads"
|
5073 |
msgstr ""
|
5074 |
|
5075 |
+
#: includes/class-mla-settings.php:955
|
5076 |
msgid "Custom Fields"
|
5077 |
msgstr ""
|
5078 |
|
5079 |
+
#: includes/class-mla-settings.php:956
|
5080 |
msgid "IPTC/EXIF"
|
5081 |
msgstr ""
|
5082 |
|
5083 |
+
#: includes/class-mla-settings.php:957
|
5084 |
msgid "Documentation"
|
5085 |
msgstr ""
|
5086 |
|
5087 |
+
#: includes/class-mla-settings.php:958
|
5088 |
msgid "Debug"
|
5089 |
msgstr ""
|
5090 |
|
5091 |
+
#: includes/class-mla-settings.php:1058
|
5092 |
msgid "General Processing Options"
|
5093 |
msgstr ""
|
5094 |
|
5095 |
+
#: includes/class-mla-settings.php:1060
|
5096 |
#, php-format
|
5097 |
msgid ""
|
5098 |
"In this tab you can find a number of options for controlling the "
|
5101 |
"any changes you make."
|
5102 |
msgstr ""
|
5103 |
|
5104 |
+
#: includes/class-mla-settings.php:1060
|
5105 |
msgid "Media/Assistant Table Defaults"
|
5106 |
msgstr ""
|
5107 |
|
5108 |
+
#: includes/class-mla-settings.php:1060
|
5109 |
msgid "Media Manager Enhancements"
|
5110 |
msgstr ""
|
5111 |
|
5112 |
+
#: includes/class-mla-settings.php:1063
|
5113 |
msgid "Delete General options and restore default settings"
|
5114 |
msgstr ""
|
5115 |
|
5116 |
+
#: includes/class-mla-settings.php:1068 includes/class-mla-settings.php:1469
|
5117 |
msgid "Support Our Work"
|
5118 |
msgstr ""
|
5119 |
|
5120 |
+
#: includes/class-mla-settings.php:1069 includes/class-mla-settings.php:1072
|
5121 |
msgid "Donate to FTJ"
|
5122 |
msgstr ""
|
5123 |
|
5124 |
+
#: includes/class-mla-settings.php:1070 includes/class-mla-settings.php:1470
|
5125 |
msgid "Donate"
|
5126 |
msgstr ""
|
5127 |
|
5128 |
+
#: includes/class-mla-settings.php:1072
|
5129 |
#, php-format
|
5130 |
msgid ""
|
5131 |
"This plugin was inspired by my work on the WordPress web site for our "
|
5134 |
"our work. Thank you!"
|
5135 |
msgstr ""
|
5136 |
|
5137 |
+
#: includes/class-mla-settings.php:1072
|
5138 |
msgid "tax-deductible donation"
|
5139 |
msgstr ""
|
5140 |
|
5141 |
+
#: includes/class-mla-settings.php:1091
|
5142 |
msgid "enhanced version of the WordPress [gallery] shortcode."
|
5143 |
msgstr ""
|
5144 |
|
5145 |
+
#: includes/class-mla-settings.php:1092
|
5146 |
msgid "enhanced version of the WordPress Tag Cloud."
|
5147 |
msgstr ""
|
5148 |
|
5149 |
+
#: includes/class-mla-settings.php:1093
|
5150 |
msgid ""
|
5151 |
"provides flat or hierarchical lists, dropdown controls and checkbox lists of "
|
5152 |
"taxonomy terms."
|
5153 |
msgstr ""
|
5154 |
|
5155 |
+
#: includes/class-mla-settings.php:1105
|
5156 |
msgid "Shortcodes made available by this plugin"
|
5157 |
msgstr ""
|
5158 |
|
5159 |
+
#: includes/class-mla-settings.php:1220
|
5160 |
msgid "Debug settings saved."
|
5161 |
msgstr ""
|
5162 |
|
5163 |
+
#: includes/class-mla-settings.php:1316
|
5164 |
#, php-format
|
5165 |
msgid "%1$s: Reseting the %2$s file ( %3$s ) \"%4$s\"."
|
5166 |
msgstr ""
|
5167 |
|
5168 |
+
#: includes/class-mla-settings.php:1316 includes/class-mla-settings.php:1367
|
5169 |
+
#: includes/class-mla-settings.php:1391 includes/class-mla-settings.php:1401
|
5170 |
+
#: includes/class-mla-settings.php:1427
|
5171 |
msgid "Error Log"
|
5172 |
msgstr ""
|
5173 |
|
5174 |
+
#: includes/class-mla-settings.php:1377
|
5175 |
#, php-format
|
5176 |
msgid "Error log file (%1$s) not found; click Reset to create it."
|
5177 |
msgstr ""
|
5178 |
|
5179 |
+
#: includes/class-mla-settings.php:1422 includes/class-mla-settings.php:1438
|
5180 |
msgid "Debug Options"
|
5181 |
msgstr ""
|
5182 |
|
5183 |
+
#: includes/class-mla-settings.php:1425
|
5184 |
msgid "Debug Settings"
|
5185 |
msgstr ""
|
5186 |
|
5187 |
+
#: includes/class-mla-settings.php:1429
|
5188 |
+
#, php-format
|
5189 |
+
msgid ""
|
5190 |
+
"You can find more information about the MLA Reporting/MLA_DEBUG_LEVEL values "
|
5191 |
+
"in the %1$s section of the Documentation tab."
|
5192 |
+
msgstr ""
|
5193 |
+
|
5194 |
+
#: includes/class-mla-settings.php:1429
|
5195 |
+
msgid "MLA Debug Tab documentation"
|
5196 |
+
msgstr ""
|
5197 |
+
|
5198 |
+
#: includes/class-mla-settings.php:1429
|
5199 |
+
msgid "MLA Debug Tab"
|
5200 |
+
msgstr ""
|
5201 |
+
|
5202 |
+
#: includes/class-mla-settings.php:1438
|
5203 |
#, php-format
|
5204 |
msgid "Click %1$s to update the %2$s."
|
5205 |
msgstr ""
|
5206 |
|
5207 |
+
#: includes/class-mla-settings.php:1457
|
5208 |
msgid "You do not have permission to manage plugin settings."
|
5209 |
msgstr ""
|
5210 |
|
5211 |
+
#: includes/class-mla-settings.php:1489
|
5212 |
msgid "Cannot render content tab"
|
5213 |
msgstr ""
|
5214 |
|
5215 |
+
#: includes/class-mla-settings.php:1492
|
5216 |
msgid "Unknown content tab"
|
5217 |
msgstr ""
|
5218 |
|
5219 |
+
#: includes/class-mla-settings.php:1508
|
5220 |
msgid "Dismiss this notice"
|
5221 |
msgstr ""
|
5222 |
|
5223 |
+
#: includes/class-mla-settings.php:1535
|
5224 |
#, php-format
|
5225 |
msgid "%s attachment"
|
5226 |
msgid_plural "%s attachments"
|
5227 |
msgstr[0] ""
|
5228 |
msgstr[1] ""
|
5229 |
|
5230 |
+
#: includes/class-mla-settings.php:1537
|
5231 |
#, php-format
|
5232 |
msgid "Deleted custom field value from %1$s."
|
5233 |
msgstr ""
|
5234 |
|
5235 |
+
#: includes/class-mla-settings.php:1540
|
5236 |
msgid "No attachments contained this custom field."
|
5237 |
msgstr ""
|
5238 |
|
5239 |
+
#: includes/class-mla-settings.php:1570 includes/class-mla-settings.php:1580
|
5240 |
#, php-format
|
5241 |
msgctxt "message_list"
|
5242 |
msgid "%1$s - references updated."
|
5243 |
msgstr ""
|
5244 |
|
5245 |
+
#: includes/class-mla-settings.php:1623
|
5246 |
msgid "General settings saved."
|
5247 |
msgstr ""
|
5248 |
|
5249 |
+
#: includes/class-mla-settings.php:1662
|
5250 |
msgid "General settings reset to default values."
|
5251 |
msgstr ""
|
5252 |
|
5253 |
+
#: includes/class-mla-settings.php:1704
|
5254 |
msgid "select settings"
|
5255 |
msgstr ""
|
5256 |
|
5257 |
+
#: includes/class-mla-settings.php:1724
|
5258 |
msgid "Import ALL Settings"
|
5259 |
msgstr ""
|
5260 |
|
5261 |
+
#: includes/class-mla-settings.php:1753 includes/class-mla-settings.php:1769
|
5262 |
msgctxt "message_list"
|
5263 |
msgid "exported"
|
5264 |
msgstr ""
|
5265 |
|
5266 |
+
#: includes/class-mla-settings.php:1755 includes/class-mla-settings.php:1771
|
5267 |
msgctxt "message_list"
|
5268 |
msgid "skipped"
|
5269 |
msgstr ""
|
5270 |
|
5271 |
+
#: includes/class-mla-settings.php:1778
|
5272 |
msgid "ALL settings exported."
|
5273 |
msgstr ""
|
5274 |
|
5275 |
+
#: includes/class-mla-settings.php:1789
|
5276 |
#, php-format
|
5277 |
msgid "%1$s: The settings directory ( %2$s ) cannot be created."
|
5278 |
msgstr ""
|
5279 |
|
5280 |
+
#: includes/class-mla-settings.php:1793
|
5281 |
#, php-format
|
5282 |
msgid "%1$s: The settings directory ( %2$s ) is not writable."
|
5283 |
msgstr ""
|
5284 |
|
5285 |
+
#: includes/class-mla-settings.php:1804
|
5286 |
#, php-format
|
5287 |
msgid "%1$s: The settings file ( %2$s ) could not be opened."
|
5288 |
msgstr ""
|
5289 |
|
5290 |
+
#: includes/class-mla-settings.php:1811
|
5291 |
#, php-format
|
5292 |
msgctxt "error_log"
|
5293 |
msgid "%1$s: _export_settings $error_info = \"%2$s\"."
|
5294 |
msgstr ""
|
5295 |
|
5296 |
+
#: includes/class-mla-settings.php:1820
|
5297 |
#, php-format
|
5298 |
msgid "%1$s: Writing the settings file ( %2$s ) \"%3$s\"."
|
5299 |
msgstr ""
|
5300 |
|
5301 |
+
#: includes/class-mla-settings.php:1826
|
5302 |
#, php-format
|
5303 |
msgid "Settings exported; %1$s settings recorded."
|
5304 |
msgstr ""
|
5305 |
|
5306 |
+
#: includes/class-mla-settings.php:1844
|
5307 |
msgid "No settings imported."
|
5308 |
msgstr ""
|
5309 |
|
5310 |
+
#: includes/class-mla-settings.php:1853
|
5311 |
msgid "Please select an import settings file from the dropdown list."
|
5312 |
msgstr ""
|
5313 |
|
5314 |
+
#: includes/class-mla-settings.php:1857
|
5315 |
msgid "The import settings dropdown selection is missing."
|
5316 |
msgstr ""
|
5317 |
|
5318 |
+
#: includes/class-mla-settings.php:1865
|
5319 |
#, php-format
|
5320 |
msgctxt "error_log"
|
5321 |
msgid "%1$s: _import_settings $error_info = \"%2$s\"."
|
5322 |
msgstr ""
|
5323 |
|
5324 |
+
#: includes/class-mla-settings.php:1874
|
5325 |
#, php-format
|
5326 |
msgid "%1$s: Reading the settings file ( %2$s ) \"%3$s\"."
|
5327 |
msgstr ""
|
5328 |
|
5329 |
+
#: includes/class-mla-settings.php:1893 includes/class-mla-settings.php:1909
|
5330 |
msgctxt "message_list"
|
5331 |
msgid "updated"
|
5332 |
msgstr ""
|
5333 |
|
5334 |
+
#: includes/class-mla-settings.php:1896 includes/class-mla-settings.php:1912
|
5335 |
msgctxt "message_list"
|
5336 |
msgid "unchanged"
|
5337 |
msgstr ""
|
5338 |
|
5339 |
+
#: includes/class-mla-settings.php:1917
|
5340 |
#, php-format
|
5341 |
msgid "Settings imported; %1$s updated, %2$s unchanged."
|
5342 |
msgstr ""
|
5343 |
|
5344 |
+
#: includes/class-mla-shortcode-support.php:440
|
5345 |
+
#: includes/class-mla-shortcode-support.php:1809
|
5346 |
+
#: includes/class-mla-shortcode-support.php:3893
|
5347 |
+
#: includes/class-mla-shortcode-support.php:4180
|
5348 |
msgid "Previous"
|
5349 |
msgstr ""
|
5350 |
|
5351 |
+
#: includes/class-mla-shortcode-support.php:441
|
5352 |
+
#: includes/class-mla-shortcode-support.php:1810
|
5353 |
+
#: includes/class-mla-shortcode-support.php:3942
|
5354 |
+
#: includes/class-mla-shortcode-support.php:4186
|
5355 |
msgid "Next"
|
5356 |
msgstr ""
|
5357 |
|
5358 |
+
#: includes/class-mla-shortcode-support.php:517
|
5359 |
+
#: includes/class-mla-shortcode-support.php:523
|
5360 |
+
#: includes/class-mla-shortcode-support.php:1954
|
5361 |
+
#: includes/class-mla-shortcode-support.php:1961
|
5362 |
+
#: includes/class-mla-shortcode-support.php:3313
|
5363 |
+
#: includes/class-mla-shortcode-support.php:3320
|
5364 |
#: includes/class-mla-template-support.php:598
|
5365 |
msgid "not found"
|
5366 |
msgstr ""
|
5367 |
|
5368 |
+
#: includes/class-mla-shortcode-support.php:548
|
5369 |
+
#: includes/class-mla-shortcode-support.php:1944
|
5370 |
+
#: includes/class-mla-shortcode-support.php:3305
|
5371 |
msgid "mla_debug REQUEST"
|
5372 |
msgstr ""
|
5373 |
|
5374 |
+
#: includes/class-mla-shortcode-support.php:549
|
5375 |
+
#: includes/class-mla-shortcode-support.php:1945
|
5376 |
+
#: includes/class-mla-shortcode-support.php:3306
|
5377 |
msgid "mla_debug attributes"
|
5378 |
msgstr ""
|
5379 |
|
5380 |
+
#: includes/class-mla-shortcode-support.php:550
|
5381 |
+
#: includes/class-mla-shortcode-support.php:1946
|
5382 |
+
#: includes/class-mla-shortcode-support.php:3307
|
5383 |
msgid "mla_debug arguments"
|
5384 |
msgstr ""
|
5385 |
|
5386 |
+
#: includes/class-mla-shortcode-support.php:594
|
5387 |
msgid "mla_debug empty gallery"
|
5388 |
msgstr ""
|
5389 |
|
5390 |
+
#: includes/class-mla-shortcode-support.php:611
|
5391 |
msgid ""
|
5392 |
"<strong>Photonic-enhanced [mla_gallery]</strong> type must be "
|
5393 |
"<strong>default</strong>, query = "
|
5394 |
msgstr ""
|
5395 |
|
5396 |
+
#: includes/class-mla-shortcode-support.php:1060
|
5397 |
msgid "unknown"
|
5398 |
msgstr ""
|
5399 |
|
5400 |
+
#: includes/class-mla-shortcode-support.php:2085
|
5401 |
msgid "mla_debug empty cloud"
|
5402 |
msgstr ""
|
5403 |
|
5404 |
+
#: includes/class-mla-shortcode-support.php:3441
|
5405 |
msgid "mla_debug empty list"
|
5406 |
msgstr ""
|
5407 |
|
5408 |
+
#: includes/class-mla-shortcode-support.php:3464
|
5409 |
msgid "no-terms"
|
5410 |
msgstr ""
|
5411 |
|
5412 |
+
#: includes/class-mla-shortcode-support.php:4610
|
5413 |
+
#: includes/class-mla-shortcode-support.php:5014
|
5414 |
+
#: includes/class-mla-shortcode-support.php:5051
|
5415 |
msgid "Invalid mla_gallery"
|
5416 |
msgstr ""
|
5417 |
|
5418 |
+
#: includes/class-mla-shortcode-support.php:5339
|
5419 |
msgid "mla_debug query"
|
5420 |
msgstr ""
|
5421 |
|
5422 |
+
#: includes/class-mla-shortcode-support.php:5340
|
5423 |
msgid "mla_debug request"
|
5424 |
msgstr ""
|
5425 |
|
5426 |
+
#: includes/class-mla-shortcode-support.php:5341
|
5427 |
msgid "mla_debug query_vars"
|
5428 |
msgstr ""
|
5429 |
|
5430 |
+
#: includes/class-mla-shortcode-support.php:5342
|
5431 |
msgid "mla_debug post_count"
|
5432 |
msgstr ""
|
5433 |
|
5434 |
+
#: includes/class-mla-shortcode-support.php:5410
|
5435 |
msgid "mla_debug WHERE filter"
|
5436 |
msgstr ""
|
5437 |
|
5438 |
+
#: includes/class-mla-shortcode-support.php:5434
|
5439 |
msgid "mla_debug modified WHERE filter"
|
5440 |
msgstr ""
|
5441 |
|
5442 |
+
#: includes/class-mla-shortcode-support.php:5457
|
5443 |
msgid "mla_debug ORDER BY filter, incoming"
|
5444 |
msgstr ""
|
5445 |
|
5446 |
+
#: includes/class-mla-shortcode-support.php:5457
|
5447 |
msgid "Replacement ORDER BY clause"
|
5448 |
msgstr ""
|
5449 |
|
5450 |
+
#: includes/class-mla-shortcode-support.php:5480
|
5451 |
msgid "mla_debug posts_clauses filter"
|
5452 |
msgstr ""
|
5453 |
|
5454 |
+
#: includes/class-mla-shortcode-support.php:5498
|
5455 |
msgid "mla_debug posts_clauses_request filter"
|
5456 |
msgstr ""
|
5457 |
|
5458 |
+
#: includes/class-mla-shortcode-support.php:5687
|
5459 |
msgid "Invalid taxonomy"
|
5460 |
msgstr ""
|
5461 |
|
5462 |
+
#: includes/class-mla-shortcode-support.php:5867
|
5463 |
msgid "mla_debug query arguments"
|
5464 |
msgstr ""
|
5465 |
|
5466 |
+
#: includes/class-mla-shortcode-support.php:5868
|
5467 |
msgid "mla_debug last_query"
|
5468 |
msgstr ""
|
5469 |
|
5470 |
+
#: includes/class-mla-shortcode-support.php:5869
|
5471 |
msgid "mla_debug last_error"
|
5472 |
msgstr ""
|
5473 |
|
5474 |
+
#: includes/class-mla-shortcode-support.php:5870
|
5475 |
msgid "mla_debug num_rows"
|
5476 |
msgstr ""
|
5477 |
|
5478 |
+
#: includes/class-mla-shortcode-support.php:5871
|
5479 |
msgid "mla_debug found_rows"
|
5480 |
msgstr ""
|
5481 |
|
5740 |
msgid "Duplicate translation created; update as desired."
|
5741 |
msgstr ""
|
5742 |
|
5743 |
+
#: includes/class-mla-wpml-support.php:1564
|
5744 |
msgid "Make media available in all languages"
|
5745 |
msgstr ""
|
5746 |
|
5747 |
+
#: includes/class-mla-wpml-support.php:1714
|
5748 |
msgid " WPML Media is not installed."
|
5749 |
msgstr ""
|
5750 |
|
5751 |
+
#: includes/class-mla-wpml-support.php:1716
|
5752 |
msgid " WPML Media is not active."
|
5753 |
msgstr ""
|
5754 |
|
5755 |
+
#: includes/class-mla-wpml-support.php:1722
|
5756 |
#, php-format
|
5757 |
msgid ""
|
5758 |
"In this tab you can find a number of options for controlling WPML-specific "
|
5760 |
"\"Save Changes\" at the bottom of the tab to save any changes you make."
|
5761 |
msgstr ""
|
5762 |
|
|
|
5763 |
#: includes/class-mla-wpml-support.php:2256
|
5764 |
+
#: includes/class-mla-wpml-support.php:2262
|
5765 |
#, php-format
|
5766 |
msgid "Edit the %s translation"
|
5767 |
msgstr ""
|
5768 |
|
5769 |
+
#: includes/class-mla-wpml-support.php:2268
|
5770 |
#, php-format
|
5771 |
msgid "Add translation to %s"
|
5772 |
msgstr ""
|
languages/media-library-assistant-en_US.po
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Media Library Assistant\n"
|
4 |
-
"POT-Creation-Date: 2017-
|
5 |
-
"PO-Revision-Date: 2017-
|
6 |
"Language-Team: David Lingren <david@fairtradejudaica.org>\n"
|
7 |
"MIME-Version: 1.0\n"
|
8 |
"Content-Type: text/plain; charset=UTF-8\n"
|
@@ -669,12 +669,15 @@ msgid ""
|
|
669 |
"override the search for Ghostscript in other places."
|
670 |
msgstr ""
|
671 |
|
672 |
-
msgid "Enable custom field mapping
|
673 |
msgstr ""
|
674 |
|
675 |
msgid "See Help menu."
|
676 |
msgstr ""
|
677 |
|
|
|
|
|
|
|
678 |
msgid "Enable custom field mapping when updating media metadata"
|
679 |
msgstr ""
|
680 |
|
@@ -685,6 +688,9 @@ msgid ""
|
|
685 |
"saving any rule changes."
|
686 |
msgstr ""
|
687 |
|
|
|
|
|
|
|
688 |
msgid "Enable IPTC/EXIF Mapping when adding new media"
|
689 |
msgstr ""
|
690 |
|
@@ -1135,7 +1141,7 @@ msgstr ""
|
|
1135 |
|
1136 |
#, php-format
|
1137 |
msgctxt "error_log"
|
1138 |
-
msgid "%1$s:
|
1139 |
msgstr ""
|
1140 |
|
1141 |
msgid "Test; no closing parenthesis "
|
@@ -1351,6 +1357,12 @@ msgstr ""
|
|
1351 |
msgid "IPTC/EXIF mapping updated."
|
1352 |
msgstr ""
|
1353 |
|
|
|
|
|
|
|
|
|
|
|
|
|
1354 |
msgid "M j, Y @ G:i"
|
1355 |
msgstr ""
|
1356 |
|
@@ -2108,88 +2120,13 @@ msgstr ""
|
|
2108 |
msgid "Delete NULL values"
|
2109 |
msgstr ""
|
2110 |
|
2111 |
-
|
2112 |
-
|
2113 |
-
|
2114 |
-
msgid "Keep"
|
2115 |
-
msgstr ""
|
2116 |
-
|
2117 |
-
msgid "Native"
|
2118 |
-
msgstr ""
|
2119 |
-
|
2120 |
-
msgid "Commas"
|
2121 |
-
msgstr ""
|
2122 |
-
|
2123 |
-
msgid "Raw"
|
2124 |
-
msgstr ""
|
2125 |
-
|
2126 |
-
msgid "Text"
|
2127 |
-
msgstr ""
|
2128 |
-
|
2129 |
-
msgid "Single"
|
2130 |
-
msgstr ""
|
2131 |
-
|
2132 |
-
msgid "Export"
|
2133 |
-
msgstr ""
|
2134 |
-
|
2135 |
-
msgid "Array"
|
2136 |
-
msgstr ""
|
2137 |
-
|
2138 |
-
msgid "Multi"
|
2139 |
-
msgstr ""
|
2140 |
-
|
2141 |
-
msgid "Delete Rule"
|
2142 |
-
msgstr ""
|
2143 |
-
|
2144 |
-
msgid "Delete Rule AND Field"
|
2145 |
-
msgstr ""
|
2146 |
-
|
2147 |
-
msgid "Update Rule"
|
2148 |
-
msgstr ""
|
2149 |
-
|
2150 |
-
msgid "Map All Attachments"
|
2151 |
-
msgstr ""
|
2152 |
-
|
2153 |
-
msgid "Add a new Mapping Rule"
|
2154 |
-
msgstr ""
|
2155 |
-
|
2156 |
-
msgid "Add Rule"
|
2157 |
-
msgstr ""
|
2158 |
-
|
2159 |
-
msgid "Add Rule and Map All Attachments"
|
2160 |
-
msgstr ""
|
2161 |
-
|
2162 |
-
msgid "Add a new Field and Mapping Rule"
|
2163 |
-
msgstr ""
|
2164 |
-
|
2165 |
-
msgid "Add Field"
|
2166 |
-
msgstr ""
|
2167 |
-
|
2168 |
-
msgid "Add Field and Map All Attachments"
|
2169 |
msgstr ""
|
2170 |
|
2171 |
msgid "Field Title"
|
2172 |
msgstr ""
|
2173 |
|
2174 |
-
msgid "Custom field mapping rules updated."
|
2175 |
-
msgstr ""
|
2176 |
-
|
2177 |
-
msgid "Custom field mapping rules update failed."
|
2178 |
-
msgstr ""
|
2179 |
-
|
2180 |
-
msgid "Custom field no mapping rule changes detected."
|
2181 |
-
msgstr ""
|
2182 |
-
|
2183 |
-
msgid "Custom field mapping settings saved."
|
2184 |
-
msgstr ""
|
2185 |
-
|
2186 |
-
msgid "Custom field mapping settings reset failed."
|
2187 |
-
msgstr ""
|
2188 |
-
|
2189 |
-
#, php-format
|
2190 |
-
msgid "%1$s: No old values for %2$s."
|
2191 |
-
msgstr ""
|
2192 |
-
|
2193 |
msgid "IPTC Value"
|
2194 |
msgstr ""
|
2195 |
|
@@ -2208,53 +2145,6 @@ msgstr ""
|
|
2208 |
msgid "Delimiter(s)"
|
2209 |
msgstr ""
|
2210 |
|
2211 |
-
msgid "IPTC"
|
2212 |
-
msgstr ""
|
2213 |
-
|
2214 |
-
msgid "EXIF"
|
2215 |
-
msgstr ""
|
2216 |
-
|
2217 |
-
msgid "EXIF/Template Value"
|
2218 |
-
msgstr ""
|
2219 |
-
|
2220 |
-
#, php-format
|
2221 |
-
msgid "%1$s: Render unknown custom %2$s."
|
2222 |
-
msgstr ""
|
2223 |
-
|
2224 |
-
#, php-format
|
2225 |
-
msgid "%1$s: Update/delete unknown custom %2$s."
|
2226 |
-
msgstr ""
|
2227 |
-
|
2228 |
-
msgid "IPTC/EXIF mapping settings updated."
|
2229 |
-
msgstr ""
|
2230 |
-
|
2231 |
-
msgid "IPTC/EXIF settings update failed."
|
2232 |
-
msgstr ""
|
2233 |
-
|
2234 |
-
msgid "IPTC/EXIF no mapping changes detected."
|
2235 |
-
msgstr ""
|
2236 |
-
|
2237 |
-
#, php-format
|
2238 |
-
msgid "%1$s settings saved."
|
2239 |
-
msgstr ""
|
2240 |
-
|
2241 |
-
msgid "Standard field"
|
2242 |
-
msgstr ""
|
2243 |
-
|
2244 |
-
#, php-format
|
2245 |
-
msgid "%1$s: IPTC/EXIF %2$s settings update failed."
|
2246 |
-
msgstr ""
|
2247 |
-
|
2248 |
-
msgid "Taxonomy term"
|
2249 |
-
msgstr ""
|
2250 |
-
|
2251 |
-
msgid "Custom field"
|
2252 |
-
msgstr ""
|
2253 |
-
|
2254 |
-
#, php-format
|
2255 |
-
msgid "%1$s: Reset unknown custom %2$s"
|
2256 |
-
msgstr ""
|
2257 |
-
|
2258 |
msgid "ERROR: No post ID found"
|
2259 |
msgstr ""
|
2260 |
|
@@ -2428,6 +2318,9 @@ msgstr ""
|
|
2428 |
msgid "%1$s mapping completed; %2$d attachment(s) examined, %3$d updated."
|
2429 |
msgstr ""
|
2430 |
|
|
|
|
|
|
|
2431 |
#, php-format
|
2432 |
msgid ""
|
2433 |
"%1$s mapping completed; %2$d attachment(s) examined, no changes detected."
|
@@ -2493,6 +2386,33 @@ msgstr ""
|
|
2493 |
msgid "Add to Media/Assistant Bulk Edit area"
|
2494 |
msgstr ""
|
2495 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2496 |
msgid "Delete NULL Values"
|
2497 |
msgstr ""
|
2498 |
|
@@ -2516,6 +2436,9 @@ msgstr ""
|
|
2516 |
msgid "Unknown bulk action %1$s"
|
2517 |
msgstr ""
|
2518 |
|
|
|
|
|
|
|
2519 |
msgid "Custom Field Mapping Progress"
|
2520 |
msgstr ""
|
2521 |
|
@@ -2575,6 +2498,9 @@ msgstr ""
|
|
2575 |
msgid "Add New Custom Field Rule"
|
2576 |
msgstr ""
|
2577 |
|
|
|
|
|
|
|
2578 |
msgid "Nothing to execute"
|
2579 |
msgstr ""
|
2580 |
|
@@ -2612,6 +2538,9 @@ msgctxt "list_table_column"
|
|
2612 |
msgid "Option"
|
2613 |
msgstr ""
|
2614 |
|
|
|
|
|
|
|
2615 |
msgid "Execute"
|
2616 |
msgstr ""
|
2617 |
|
@@ -2797,12 +2726,27 @@ msgctxt "table_view_plural"
|
|
2797 |
msgid "Uninstalled"
|
2798 |
msgstr ""
|
2799 |
|
|
|
|
|
|
|
|
|
|
|
|
|
2800 |
msgid "updated."
|
2801 |
msgstr ""
|
2802 |
|
|
|
|
|
|
|
2803 |
msgid "EXIF element name or Content Template"
|
2804 |
msgstr ""
|
2805 |
|
|
|
|
|
|
|
|
|
|
|
|
|
2806 |
msgid "Delimiters"
|
2807 |
msgstr ""
|
2808 |
|
@@ -2818,6 +2762,9 @@ msgstr ""
|
|
2818 |
msgid "Edit IPTC EXIF Rule cancelled."
|
2819 |
msgstr ""
|
2820 |
|
|
|
|
|
|
|
2821 |
msgid "IPTC & EXIF Mapping Progress"
|
2822 |
msgstr ""
|
2823 |
|
@@ -2938,6 +2885,10 @@ msgstr ""
|
|
2938 |
msgid "%1$s \"%2$s\" deleted."
|
2939 |
msgstr ""
|
2940 |
|
|
|
|
|
|
|
|
|
2941 |
msgid "Shortcodes"
|
2942 |
msgstr ""
|
2943 |
|
@@ -3421,6 +3372,18 @@ msgstr ""
|
|
3421 |
msgid "Debug Settings"
|
3422 |
msgstr ""
|
3423 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3424 |
#, php-format
|
3425 |
msgid "Click %1$s to update the %2$s."
|
3426 |
msgstr ""
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Media Library Assistant\n"
|
4 |
+
"POT-Creation-Date: 2017-11-29 16:08-0800\n"
|
5 |
+
"PO-Revision-Date: 2017-11-29 16:09-0800\n"
|
6 |
"Language-Team: David Lingren <david@fairtradejudaica.org>\n"
|
7 |
"MIME-Version: 1.0\n"
|
8 |
"Content-Type: text/plain; charset=UTF-8\n"
|
669 |
"override the search for Ghostscript in other places."
|
670 |
msgstr ""
|
671 |
|
672 |
+
msgid "Enable custom field mapping"
|
673 |
msgstr ""
|
674 |
|
675 |
msgid "See Help menu."
|
676 |
msgstr ""
|
677 |
|
678 |
+
msgid "Enable custom field mapping when adding new media"
|
679 |
+
msgstr ""
|
680 |
+
|
681 |
msgid "Enable custom field mapping when updating media metadata"
|
682 |
msgstr ""
|
683 |
|
688 |
"saving any rule changes."
|
689 |
msgstr ""
|
690 |
|
691 |
+
msgid "Enable IPTC/EXIF Mapping"
|
692 |
+
msgstr ""
|
693 |
+
|
694 |
msgid "Enable IPTC/EXIF Mapping when adding new media"
|
695 |
msgstr ""
|
696 |
|
1141 |
|
1142 |
#, php-format
|
1143 |
msgctxt "error_log"
|
1144 |
+
msgid "%1$s: _find_delimited_substring no end delimiter, tail = \"%2$s\"."
|
1145 |
msgstr ""
|
1146 |
|
1147 |
msgid "Test; no closing parenthesis "
|
1357 |
msgid "IPTC/EXIF mapping updated."
|
1358 |
msgstr ""
|
1359 |
|
1360 |
+
msgid "Custom field mapping is disabled."
|
1361 |
+
msgstr ""
|
1362 |
+
|
1363 |
+
msgid "IPTC/EXIF mapping is disabled."
|
1364 |
+
msgstr ""
|
1365 |
+
|
1366 |
msgid "M j, Y @ G:i"
|
1367 |
msgstr ""
|
1368 |
|
2120 |
msgid "Delete NULL values"
|
2121 |
msgstr ""
|
2122 |
|
2123 |
+
#, php-format
|
2124 |
+
msgid "%1$s: No old values for %2$s."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2125 |
msgstr ""
|
2126 |
|
2127 |
msgid "Field Title"
|
2128 |
msgstr ""
|
2129 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2130 |
msgid "IPTC Value"
|
2131 |
msgstr ""
|
2132 |
|
2145 |
msgid "Delimiter(s)"
|
2146 |
msgstr ""
|
2147 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2148 |
msgid "ERROR: No post ID found"
|
2149 |
msgstr ""
|
2150 |
|
2318 |
msgid "%1$s mapping completed; %2$d attachment(s) examined, %3$d updated."
|
2319 |
msgstr ""
|
2320 |
|
2321 |
+
msgid "Custom field"
|
2322 |
+
msgstr ""
|
2323 |
+
|
2324 |
#, php-format
|
2325 |
msgid ""
|
2326 |
"%1$s mapping completed; %2$d attachment(s) examined, no changes detected."
|
2386 |
msgid "Add to Media/Assistant Bulk Edit area"
|
2387 |
msgstr ""
|
2388 |
|
2389 |
+
msgid "Keep"
|
2390 |
+
msgstr ""
|
2391 |
+
|
2392 |
+
msgid "Native"
|
2393 |
+
msgstr ""
|
2394 |
+
|
2395 |
+
msgid "Commas"
|
2396 |
+
msgstr ""
|
2397 |
+
|
2398 |
+
msgid "Raw"
|
2399 |
+
msgstr ""
|
2400 |
+
|
2401 |
+
msgid "Text"
|
2402 |
+
msgstr ""
|
2403 |
+
|
2404 |
+
msgid "Single"
|
2405 |
+
msgstr ""
|
2406 |
+
|
2407 |
+
msgid "Export"
|
2408 |
+
msgstr ""
|
2409 |
+
|
2410 |
+
msgid "Array"
|
2411 |
+
msgstr ""
|
2412 |
+
|
2413 |
+
msgid "Multi"
|
2414 |
+
msgstr ""
|
2415 |
+
|
2416 |
msgid "Delete NULL Values"
|
2417 |
msgstr ""
|
2418 |
|
2436 |
msgid "Unknown bulk action %1$s"
|
2437 |
msgstr ""
|
2438 |
|
2439 |
+
msgid "Custom Field Mapping Support is disabled"
|
2440 |
+
msgstr ""
|
2441 |
+
|
2442 |
msgid "Custom Field Mapping Progress"
|
2443 |
msgstr ""
|
2444 |
|
2498 |
msgid "Add New Custom Field Rule"
|
2499 |
msgstr ""
|
2500 |
|
2501 |
+
msgid "Add Rule"
|
2502 |
+
msgstr ""
|
2503 |
+
|
2504 |
msgid "Nothing to execute"
|
2505 |
msgstr ""
|
2506 |
|
2538 |
msgid "Option"
|
2539 |
msgstr ""
|
2540 |
|
2541 |
+
msgid "Map All Attachments"
|
2542 |
+
msgstr ""
|
2543 |
+
|
2544 |
msgid "Execute"
|
2545 |
msgstr ""
|
2546 |
|
2726 |
msgid "Uninstalled"
|
2727 |
msgstr ""
|
2728 |
|
2729 |
+
msgid "IPTC/EXIF mapping settings updated."
|
2730 |
+
msgstr ""
|
2731 |
+
|
2732 |
+
msgid "IPTC/EXIF no mapping changes detected."
|
2733 |
+
msgstr ""
|
2734 |
+
|
2735 |
msgid "updated."
|
2736 |
msgstr ""
|
2737 |
|
2738 |
+
msgid "EXIF/Template Value"
|
2739 |
+
msgstr ""
|
2740 |
+
|
2741 |
msgid "EXIF element name or Content Template"
|
2742 |
msgstr ""
|
2743 |
|
2744 |
+
msgid "IPTC"
|
2745 |
+
msgstr ""
|
2746 |
+
|
2747 |
+
msgid "EXIF"
|
2748 |
+
msgstr ""
|
2749 |
+
|
2750 |
msgid "Delimiters"
|
2751 |
msgstr ""
|
2752 |
|
2762 |
msgid "Edit IPTC EXIF Rule cancelled."
|
2763 |
msgstr ""
|
2764 |
|
2765 |
+
msgid "IPTC/EXIF Mapping Support is disabled"
|
2766 |
+
msgstr ""
|
2767 |
+
|
2768 |
msgid "IPTC & EXIF Mapping Progress"
|
2769 |
msgstr ""
|
2770 |
|
2885 |
msgid "%1$s \"%2$s\" deleted."
|
2886 |
msgstr ""
|
2887 |
|
2888 |
+
#, php-format
|
2889 |
+
msgid "%1$s settings saved."
|
2890 |
+
msgstr ""
|
2891 |
+
|
2892 |
msgid "Shortcodes"
|
2893 |
msgstr ""
|
2894 |
|
3372 |
msgid "Debug Settings"
|
3373 |
msgstr ""
|
3374 |
|
3375 |
+
#, php-format
|
3376 |
+
msgid ""
|
3377 |
+
"You can find more information about the MLA Reporting/MLA_DEBUG_LEVEL values "
|
3378 |
+
"in the %1$s section of the Documentation tab."
|
3379 |
+
msgstr ""
|
3380 |
+
|
3381 |
+
msgid "MLA Debug Tab documentation"
|
3382 |
+
msgstr ""
|
3383 |
+
|
3384 |
+
msgid "MLA Debug Tab"
|
3385 |
+
msgstr ""
|
3386 |
+
|
3387 |
#, php-format
|
3388 |
msgid "Click %1$s to update the %2$s."
|
3389 |
msgstr ""
|
languages/media-library-assistant-en_US.pot
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: Media Library Assistant\n"
|
5 |
-
"POT-Creation-Date: 2017-
|
6 |
"PO-Revision-Date: 2015-08-21 21:38-0800\n"
|
7 |
"Last-Translator: David Lingren <david@fairtradejudaica.org>\n"
|
8 |
"Language-Team: David Lingren <david@fairtradejudaica.org>\n"
|
@@ -670,12 +670,15 @@ msgid ""
|
|
670 |
"override the search for Ghostscript in other places."
|
671 |
msgstr ""
|
672 |
|
673 |
-
msgid "Enable custom field mapping
|
674 |
msgstr ""
|
675 |
|
676 |
msgid "See Help menu."
|
677 |
msgstr ""
|
678 |
|
|
|
|
|
|
|
679 |
msgid "Enable custom field mapping when updating media metadata"
|
680 |
msgstr ""
|
681 |
|
@@ -686,6 +689,9 @@ msgid ""
|
|
686 |
"saving any rule changes."
|
687 |
msgstr ""
|
688 |
|
|
|
|
|
|
|
689 |
msgid "Enable IPTC/EXIF Mapping when adding new media"
|
690 |
msgstr ""
|
691 |
|
@@ -1136,7 +1142,7 @@ msgstr ""
|
|
1136 |
|
1137 |
#, php-format
|
1138 |
msgctxt "error_log"
|
1139 |
-
msgid "%1$s:
|
1140 |
msgstr ""
|
1141 |
|
1142 |
msgid "Test; no closing parenthesis "
|
@@ -1352,6 +1358,12 @@ msgstr ""
|
|
1352 |
msgid "IPTC/EXIF mapping updated."
|
1353 |
msgstr ""
|
1354 |
|
|
|
|
|
|
|
|
|
|
|
|
|
1355 |
msgid "M j, Y @ G:i"
|
1356 |
msgstr ""
|
1357 |
|
@@ -2109,88 +2121,13 @@ msgstr ""
|
|
2109 |
msgid "Delete NULL values"
|
2110 |
msgstr ""
|
2111 |
|
2112 |
-
|
2113 |
-
|
2114 |
-
|
2115 |
-
msgid "Keep"
|
2116 |
-
msgstr ""
|
2117 |
-
|
2118 |
-
msgid "Native"
|
2119 |
-
msgstr ""
|
2120 |
-
|
2121 |
-
msgid "Commas"
|
2122 |
-
msgstr ""
|
2123 |
-
|
2124 |
-
msgid "Raw"
|
2125 |
-
msgstr ""
|
2126 |
-
|
2127 |
-
msgid "Text"
|
2128 |
-
msgstr ""
|
2129 |
-
|
2130 |
-
msgid "Single"
|
2131 |
-
msgstr ""
|
2132 |
-
|
2133 |
-
msgid "Export"
|
2134 |
-
msgstr ""
|
2135 |
-
|
2136 |
-
msgid "Array"
|
2137 |
-
msgstr ""
|
2138 |
-
|
2139 |
-
msgid "Multi"
|
2140 |
-
msgstr ""
|
2141 |
-
|
2142 |
-
msgid "Delete Rule"
|
2143 |
-
msgstr ""
|
2144 |
-
|
2145 |
-
msgid "Delete Rule AND Field"
|
2146 |
-
msgstr ""
|
2147 |
-
|
2148 |
-
msgid "Update Rule"
|
2149 |
-
msgstr ""
|
2150 |
-
|
2151 |
-
msgid "Map All Attachments"
|
2152 |
-
msgstr ""
|
2153 |
-
|
2154 |
-
msgid "Add a new Mapping Rule"
|
2155 |
-
msgstr ""
|
2156 |
-
|
2157 |
-
msgid "Add Rule"
|
2158 |
-
msgstr ""
|
2159 |
-
|
2160 |
-
msgid "Add Rule and Map All Attachments"
|
2161 |
-
msgstr ""
|
2162 |
-
|
2163 |
-
msgid "Add a new Field and Mapping Rule"
|
2164 |
-
msgstr ""
|
2165 |
-
|
2166 |
-
msgid "Add Field"
|
2167 |
-
msgstr ""
|
2168 |
-
|
2169 |
-
msgid "Add Field and Map All Attachments"
|
2170 |
msgstr ""
|
2171 |
|
2172 |
msgid "Field Title"
|
2173 |
msgstr ""
|
2174 |
|
2175 |
-
msgid "Custom field mapping rules updated."
|
2176 |
-
msgstr ""
|
2177 |
-
|
2178 |
-
msgid "Custom field mapping rules update failed."
|
2179 |
-
msgstr ""
|
2180 |
-
|
2181 |
-
msgid "Custom field no mapping rule changes detected."
|
2182 |
-
msgstr ""
|
2183 |
-
|
2184 |
-
msgid "Custom field mapping settings saved."
|
2185 |
-
msgstr ""
|
2186 |
-
|
2187 |
-
msgid "Custom field mapping settings reset failed."
|
2188 |
-
msgstr ""
|
2189 |
-
|
2190 |
-
#, php-format
|
2191 |
-
msgid "%1$s: No old values for %2$s."
|
2192 |
-
msgstr ""
|
2193 |
-
|
2194 |
msgid "IPTC Value"
|
2195 |
msgstr ""
|
2196 |
|
@@ -2209,53 +2146,6 @@ msgstr ""
|
|
2209 |
msgid "Delimiter(s)"
|
2210 |
msgstr ""
|
2211 |
|
2212 |
-
msgid "IPTC"
|
2213 |
-
msgstr ""
|
2214 |
-
|
2215 |
-
msgid "EXIF"
|
2216 |
-
msgstr ""
|
2217 |
-
|
2218 |
-
msgid "EXIF/Template Value"
|
2219 |
-
msgstr ""
|
2220 |
-
|
2221 |
-
#, php-format
|
2222 |
-
msgid "%1$s: Render unknown custom %2$s."
|
2223 |
-
msgstr ""
|
2224 |
-
|
2225 |
-
#, php-format
|
2226 |
-
msgid "%1$s: Update/delete unknown custom %2$s."
|
2227 |
-
msgstr ""
|
2228 |
-
|
2229 |
-
msgid "IPTC/EXIF mapping settings updated."
|
2230 |
-
msgstr ""
|
2231 |
-
|
2232 |
-
msgid "IPTC/EXIF settings update failed."
|
2233 |
-
msgstr ""
|
2234 |
-
|
2235 |
-
msgid "IPTC/EXIF no mapping changes detected."
|
2236 |
-
msgstr ""
|
2237 |
-
|
2238 |
-
#, php-format
|
2239 |
-
msgid "%1$s settings saved."
|
2240 |
-
msgstr ""
|
2241 |
-
|
2242 |
-
msgid "Standard field"
|
2243 |
-
msgstr ""
|
2244 |
-
|
2245 |
-
#, php-format
|
2246 |
-
msgid "%1$s: IPTC/EXIF %2$s settings update failed."
|
2247 |
-
msgstr ""
|
2248 |
-
|
2249 |
-
msgid "Taxonomy term"
|
2250 |
-
msgstr ""
|
2251 |
-
|
2252 |
-
msgid "Custom field"
|
2253 |
-
msgstr ""
|
2254 |
-
|
2255 |
-
#, php-format
|
2256 |
-
msgid "%1$s: Reset unknown custom %2$s"
|
2257 |
-
msgstr ""
|
2258 |
-
|
2259 |
msgid "ERROR: No post ID found"
|
2260 |
msgstr ""
|
2261 |
|
@@ -2429,6 +2319,9 @@ msgstr ""
|
|
2429 |
msgid "%1$s mapping completed; %2$d attachment(s) examined, %3$d updated."
|
2430 |
msgstr ""
|
2431 |
|
|
|
|
|
|
|
2432 |
#, php-format
|
2433 |
msgid ""
|
2434 |
"%1$s mapping completed; %2$d attachment(s) examined, no changes detected."
|
@@ -2494,6 +2387,33 @@ msgstr ""
|
|
2494 |
msgid "Add to Media/Assistant Bulk Edit area"
|
2495 |
msgstr ""
|
2496 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2497 |
msgid "Delete NULL Values"
|
2498 |
msgstr ""
|
2499 |
|
@@ -2517,6 +2437,9 @@ msgstr ""
|
|
2517 |
msgid "Unknown bulk action %1$s"
|
2518 |
msgstr ""
|
2519 |
|
|
|
|
|
|
|
2520 |
msgid "Custom Field Mapping Progress"
|
2521 |
msgstr ""
|
2522 |
|
@@ -2576,6 +2499,9 @@ msgstr ""
|
|
2576 |
msgid "Add New Custom Field Rule"
|
2577 |
msgstr ""
|
2578 |
|
|
|
|
|
|
|
2579 |
msgid "Nothing to execute"
|
2580 |
msgstr ""
|
2581 |
|
@@ -2613,6 +2539,9 @@ msgctxt "list_table_column"
|
|
2613 |
msgid "Option"
|
2614 |
msgstr ""
|
2615 |
|
|
|
|
|
|
|
2616 |
msgid "Execute"
|
2617 |
msgstr ""
|
2618 |
|
@@ -2798,12 +2727,27 @@ msgctxt "table_view_plural"
|
|
2798 |
msgid "Uninstalled"
|
2799 |
msgstr ""
|
2800 |
|
|
|
|
|
|
|
|
|
|
|
|
|
2801 |
msgid "updated."
|
2802 |
msgstr ""
|
2803 |
|
|
|
|
|
|
|
2804 |
msgid "EXIF element name or Content Template"
|
2805 |
msgstr ""
|
2806 |
|
|
|
|
|
|
|
|
|
|
|
|
|
2807 |
msgid "Delimiters"
|
2808 |
msgstr ""
|
2809 |
|
@@ -2819,6 +2763,9 @@ msgstr ""
|
|
2819 |
msgid "Edit IPTC EXIF Rule cancelled."
|
2820 |
msgstr ""
|
2821 |
|
|
|
|
|
|
|
2822 |
msgid "IPTC & EXIF Mapping Progress"
|
2823 |
msgstr ""
|
2824 |
|
@@ -2939,6 +2886,10 @@ msgstr ""
|
|
2939 |
msgid "%1$s \"%2$s\" deleted."
|
2940 |
msgstr ""
|
2941 |
|
|
|
|
|
|
|
|
|
2942 |
msgid "Shortcodes"
|
2943 |
msgstr ""
|
2944 |
|
@@ -3422,6 +3373,18 @@ msgstr ""
|
|
3422 |
msgid "Debug Settings"
|
3423 |
msgstr ""
|
3424 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3425 |
#, php-format
|
3426 |
msgid "Click %1$s to update the %2$s."
|
3427 |
msgstr ""
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: Media Library Assistant\n"
|
5 |
+
"POT-Creation-Date: 2017-11-29 16:08-0800\n"
|
6 |
"PO-Revision-Date: 2015-08-21 21:38-0800\n"
|
7 |
"Last-Translator: David Lingren <david@fairtradejudaica.org>\n"
|
8 |
"Language-Team: David Lingren <david@fairtradejudaica.org>\n"
|
670 |
"override the search for Ghostscript in other places."
|
671 |
msgstr ""
|
672 |
|
673 |
+
msgid "Enable custom field mapping"
|
674 |
msgstr ""
|
675 |
|
676 |
msgid "See Help menu."
|
677 |
msgstr ""
|
678 |
|
679 |
+
msgid "Enable custom field mapping when adding new media"
|
680 |
+
msgstr ""
|
681 |
+
|
682 |
msgid "Enable custom field mapping when updating media metadata"
|
683 |
msgstr ""
|
684 |
|
689 |
"saving any rule changes."
|
690 |
msgstr ""
|
691 |
|
692 |
+
msgid "Enable IPTC/EXIF Mapping"
|
693 |
+
msgstr ""
|
694 |
+
|
695 |
msgid "Enable IPTC/EXIF Mapping when adding new media"
|
696 |
msgstr ""
|
697 |
|
1142 |
|
1143 |
#, php-format
|
1144 |
msgctxt "error_log"
|
1145 |
+
msgid "%1$s: _find_delimited_substring no end delimiter, tail = \"%2$s\"."
|
1146 |
msgstr ""
|
1147 |
|
1148 |
msgid "Test; no closing parenthesis "
|
1358 |
msgid "IPTC/EXIF mapping updated."
|
1359 |
msgstr ""
|
1360 |
|
1361 |
+
msgid "Custom field mapping is disabled."
|
1362 |
+
msgstr ""
|
1363 |
+
|
1364 |
+
msgid "IPTC/EXIF mapping is disabled."
|
1365 |
+
msgstr ""
|
1366 |
+
|
1367 |
msgid "M j, Y @ G:i"
|
1368 |
msgstr ""
|
1369 |
|
2121 |
msgid "Delete NULL values"
|
2122 |
msgstr ""
|
2123 |
|
2124 |
+
#, php-format
|
2125 |
+
msgid "%1$s: No old values for %2$s."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2126 |
msgstr ""
|
2127 |
|
2128 |
msgid "Field Title"
|
2129 |
msgstr ""
|
2130 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2131 |
msgid "IPTC Value"
|
2132 |
msgstr ""
|
2133 |
|
2146 |
msgid "Delimiter(s)"
|
2147 |
msgstr ""
|
2148 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2149 |
msgid "ERROR: No post ID found"
|
2150 |
msgstr ""
|
2151 |
|
2319 |
msgid "%1$s mapping completed; %2$d attachment(s) examined, %3$d updated."
|
2320 |
msgstr ""
|
2321 |
|
2322 |
+
msgid "Custom field"
|
2323 |
+
msgstr ""
|
2324 |
+
|
2325 |
#, php-format
|
2326 |
msgid ""
|
2327 |
"%1$s mapping completed; %2$d attachment(s) examined, no changes detected."
|
2387 |
msgid "Add to Media/Assistant Bulk Edit area"
|
2388 |
msgstr ""
|
2389 |
|
2390 |
+
msgid "Keep"
|
2391 |
+
msgstr ""
|
2392 |
+
|
2393 |
+
msgid "Native"
|
2394 |
+
msgstr ""
|
2395 |
+
|
2396 |
+
msgid "Commas"
|
2397 |
+
msgstr ""
|
2398 |
+
|
2399 |
+
msgid "Raw"
|
2400 |
+
msgstr ""
|
2401 |
+
|
2402 |
+
msgid "Text"
|
2403 |
+
msgstr ""
|
2404 |
+
|
2405 |
+
msgid "Single"
|
2406 |
+
msgstr ""
|
2407 |
+
|
2408 |
+
msgid "Export"
|
2409 |
+
msgstr ""
|
2410 |
+
|
2411 |
+
msgid "Array"
|
2412 |
+
msgstr ""
|
2413 |
+
|
2414 |
+
msgid "Multi"
|
2415 |
+
msgstr ""
|
2416 |
+
|
2417 |
msgid "Delete NULL Values"
|
2418 |
msgstr ""
|
2419 |
|
2437 |
msgid "Unknown bulk action %1$s"
|
2438 |
msgstr ""
|
2439 |
|
2440 |
+
msgid "Custom Field Mapping Support is disabled"
|
2441 |
+
msgstr ""
|
2442 |
+
|
2443 |
msgid "Custom Field Mapping Progress"
|
2444 |
msgstr ""
|
2445 |
|
2499 |
msgid "Add New Custom Field Rule"
|
2500 |
msgstr ""
|
2501 |
|
2502 |
+
msgid "Add Rule"
|
2503 |
+
msgstr ""
|
2504 |
+
|
2505 |
msgid "Nothing to execute"
|
2506 |
msgstr ""
|
2507 |
|
2539 |
msgid "Option"
|
2540 |
msgstr ""
|
2541 |
|
2542 |
+
msgid "Map All Attachments"
|
2543 |
+
msgstr ""
|
2544 |
+
|
2545 |
msgid "Execute"
|
2546 |
msgstr ""
|
2547 |
|
2727 |
msgid "Uninstalled"
|
2728 |
msgstr ""
|
2729 |
|
2730 |
+
msgid "IPTC/EXIF mapping settings updated."
|
2731 |
+
msgstr ""
|
2732 |
+
|
2733 |
+
msgid "IPTC/EXIF no mapping changes detected."
|
2734 |
+
msgstr ""
|
2735 |
+
|
2736 |
msgid "updated."
|
2737 |
msgstr ""
|
2738 |
|
2739 |
+
msgid "EXIF/Template Value"
|
2740 |
+
msgstr ""
|
2741 |
+
|
2742 |
msgid "EXIF element name or Content Template"
|
2743 |
msgstr ""
|
2744 |
|
2745 |
+
msgid "IPTC"
|
2746 |
+
msgstr ""
|
2747 |
+
|
2748 |
+
msgid "EXIF"
|
2749 |
+
msgstr ""
|
2750 |
+
|
2751 |
msgid "Delimiters"
|
2752 |
msgstr ""
|
2753 |
|
2763 |
msgid "Edit IPTC EXIF Rule cancelled."
|
2764 |
msgstr ""
|
2765 |
|
2766 |
+
msgid "IPTC/EXIF Mapping Support is disabled"
|
2767 |
+
msgstr ""
|
2768 |
+
|
2769 |
msgid "IPTC & EXIF Mapping Progress"
|
2770 |
msgstr ""
|
2771 |
|
2886 |
msgid "%1$s \"%2$s\" deleted."
|
2887 |
msgstr ""
|
2888 |
|
2889 |
+
#, php-format
|
2890 |
+
msgid "%1$s settings saved."
|
2891 |
+
msgstr ""
|
2892 |
+
|
2893 |
msgid "Shortcodes"
|
2894 |
msgstr ""
|
2895 |
|
3373 |
msgid "Debug Settings"
|
3374 |
msgstr ""
|
3375 |
|
3376 |
+
#, php-format
|
3377 |
+
msgid ""
|
3378 |
+
"You can find more information about the MLA Reporting/MLA_DEBUG_LEVEL values "
|
3379 |
+
"in the %1$s section of the Documentation tab."
|
3380 |
+
msgstr ""
|
3381 |
+
|
3382 |
+
msgid "MLA Debug Tab documentation"
|
3383 |
+
msgstr ""
|
3384 |
+
|
3385 |
+
msgid "MLA Debug Tab"
|
3386 |
+
msgstr ""
|
3387 |
+
|
3388 |
#, php-format
|
3389 |
msgid "Click %1$s to update the %2$s."
|
3390 |
msgstr ""
|
readme.txt
CHANGED
@@ -3,9 +3,9 @@ Contributors: dglingren
|
|
3 |
Donate link: http://fairtradejudaica.org/make-a-difference/donate/
|
4 |
Tags: attachments, gallery, images, media, media library, tag cloud, media-tags, media tags, tags, media categories, categories, IPTC, EXIF, XMP, GPS, PDF, metadata, photos, photographs, photoblog, photo albums, lightroom, MIME, mime-type, icon, upload, file extensions, WPML, Polylang
|
5 |
Requires at least: 3.5.0
|
6 |
-
Tested up to: 4.
|
7 |
Requires PHP: 5.3
|
8 |
-
Stable tag: 2.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -183,49 +183,18 @@ All of the MLA source code has been annotated with "DocBlocks", a special type o
|
|
183 |
|
184 |
== Changelog ==
|
185 |
|
186 |
-
= 2.
|
187 |
-
*
|
188 |
-
|
189 |
-
|
190 |
-
*
|
191 |
-
|
192 |
-
|
193 |
-
*
|
194 |
-
*
|
195 |
-
*
|
196 |
-
*
|
197 |
-
*
|
198 |
-
* New: Six new hooks have been added to the "MLA Taxonomy Filters and Actions (Hooks)". Details have been added to `/examples/plugins/mla-taxonomy-hooks-example.php`. The hooks let you modify the registration details for the Att. Categories and/or Att. Tags custom taxonomies.
|
199 |
-
* New: New hooks, `mla_gallery_initial_item_values` and `mla_gallery_pagination_values`, have been added to the "MLA Gallery Filters and Actions (Hooks)". Details have been added to `/examples/plugins/mla-hooks-example.php`.
|
200 |
-
* New: A new hook, `mla_taxonomy_column_final`, has been added to the "Media/Assistant Submenu Actions and Filters (Hooks)". Details have been added to `/examples/plugins/mla-list-table-hooks-example.php`.
|
201 |
-
* New: The pdpDocs API documentation has been removed from the plugin files and moved to the plugin's web site. This reduces the plugin's space requirements while preserving access to the documentation.
|
202 |
-
* New: A statement about custom templates and option settings being preserved over version upgrades has been added to the FAQ section.
|
203 |
-
* Fix: For Visual Composer, a PHP Fatal Error that occurred when "Template Preview" was invoked has been eliminated.
|
204 |
-
* Fix: For `[mla_tag_cloud]`, the `order=none` parameter is now handled correctly.
|
205 |
-
* Fix: For `[mla_tag_cloud]`, the "no_count=true" parameter no longer generates WordPress deprecation messages.
|
206 |
-
* Fix: Registration of the Att. Categories and Att. Tags taxonomies is now done earlier ("init" action, priority 5) so they are available for use in other theme/plugin code during the "init" action.
|
207 |
-
* Fix: When the Media/Assistant submenu screen is displayed, the menu label is bolded when it appears in the default location, e.g., as the last submenu entry.
|
208 |
-
* Fix: When WPML is active, **new flat taxonomy (e.g. Att, Tags) values can be created** in the Quick Edit and Bulk Edit areas as well as the ATTACHMENT DETAILS pane of the Media Manager Modal (popup) Window.
|
209 |
-
* Fix: When WPML 3.8 or later is active, "All Languages" display is restored to the Media/Assistant admin submenu.
|
210 |
-
* Fix: When WPML or Polylang is active, Media/Assistant submenu table columns are properly populated after a "Set Parent" table row refresh.
|
211 |
-
* Fix: When WPML or Polylang is active, a PHP 7.X Notice regarding indirect variable evaluation has been eliminated.
|
212 |
-
* Fix: When WPML is active, the term-specific language code has been added to the links in the "Attachments" column.
|
213 |
-
* Fix: For the Media/Taxonomy Edit screens, the "Attachments" column gives accurate results when the WPML or Polylang current language is changed.
|
214 |
-
* Fix: For Media/Assistant custom field table views, JSON encoding has replaced PHP serialization to avoid a security vulnerability.
|
215 |
-
* Fix: On the Settings/Media Library Assistant Debug tab, the "OLD PHP error_log" value has been corrected.
|
216 |
-
|
217 |
-
= 2.60 =
|
218 |
-
* New: The Settings/Media Library Assistant <strong>IPTC/EXIF tab has been completely re-written</strong>, with a more WordPress-like user interface and new capabilities.
|
219 |
-
* New: A new "MLA Login-filtered Gallery Example" plugin has been added. It provides an [mla_gallery] parameter to restrict items to logged-in users based on an Att. Categories term.
|
220 |
-
* New: The "MLA Tax Query Example" plugin has been enhanced to filter the gallery by `author`.
|
221 |
-
* New: The "MLA Term Links Example" plugin has been enhanced with an `[mla_tag_cloud]` compatible hyperlink format.
|
222 |
-
* New: For the Media/Assistant submenu screen, a new "Show Primary Column File Name" settings option lets you add the file name below the item thumbnail. It is in the "Table Defaults" section of the General tab.
|
223 |
-
* Fix: A defect in the handling of backslash characters entered in Bulk Edit Area text boxes has been corrected. A single backslash can now be used to, for example, escape the handling of content template conditional and choice elements.
|
224 |
-
* Fix: For `[mla_term-list]`, empty lists no longer generate PHP Notice messages.
|
225 |
-
* Fix: Media/Assistant submenu screen markup and styles updated to reflect current WordPress standards.
|
226 |
-
* Fix: For the "Upload New Media" Bulk Edit Area, field values containing plus ('+') characters are now properly handled.
|
227 |
-
* Fix: Attachment metadata fields used in custom field rules, i.e., with the `meta:` field name prefix are now properly displayed in the Media/Assistant submenu table and in the Quick Edit area.
|
228 |
-
* Fix: WordPress "Attachment Metadata", including `image_meta`, is now populated during the initial item upload process and is available for IPTC/EXIF and Custom Field mapping rules.
|
229 |
|
230 |
= 2.50 - 2.54 =
|
231 |
* 2.54 - Admin Columns/PHP 7.1.x Fix, thumbnail generation enhancements, [mla_term_list] fix and Settings/Shortcodes tab updates. Six fixes in all.
|
@@ -310,8 +279,8 @@ All of the MLA source code has been annotated with "DocBlocks", a special type o
|
|
310 |
|
311 |
== Upgrade Notice ==
|
312 |
|
313 |
-
= 2.
|
314 |
-
Corrects
|
315 |
|
316 |
== Other Notes ==
|
317 |
|
3 |
Donate link: http://fairtradejudaica.org/make-a-difference/donate/
|
4 |
Tags: attachments, gallery, images, media, media library, tag cloud, media-tags, media tags, tags, media categories, categories, IPTC, EXIF, XMP, GPS, PDF, metadata, photos, photographs, photoblog, photo albums, lightroom, MIME, mime-type, icon, upload, file extensions, WPML, Polylang
|
5 |
Requires at least: 3.5.0
|
6 |
+
Tested up to: 4.9.1
|
7 |
Requires PHP: 5.3
|
8 |
+
Stable tag: 2.65
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
183 |
|
184 |
== Changelog ==
|
185 |
|
186 |
+
= 2.65 =
|
187 |
+
* New: The "MLA Tax Query Example" plugin has been enhanced to handle multi-column orderby parameters.
|
188 |
+
* Fix: **Corrected an "ajax.fail error"** in the Media/Assistant "Set Parent" function and the Media/Edit Media screen.
|
189 |
+
* Fix: For the Media/Assistant admin submenu, some taxonomy term queries have been eliminated to improve performance.
|
190 |
+
* Fix: In the "Smart Medis Categories" example plugin, WordPress "deprecated" messages have been removed when loading the Settings screen.
|
191 |
+
|
192 |
+
= 2.60 - 2.64 =
|
193 |
+
* 2.64 - For `[mla_gallery]`, corrects v2.63 problem that applied `mla_named_transfer` to all `link=file` and `link=download` galleries.
|
194 |
+
* 2.63 - Download by name and pretty links, str_replace format option, disable mapping rules, debug tab. Eight enhancements in all, nine fixes.
|
195 |
+
* 2.62 - Corrects a PHP Fatal Error when loading MLA Media Manager enhancements for "front-end" use.
|
196 |
+
* 2.61 - Several new example plugins and hooks, new shortcode parameters. Thirteen enhancements in all, thirteen fixes.
|
197 |
+
* 2.60 - Completely new Settings/IPTC/EXIF tab and example plugin enhancements. Five enhancements in all, five
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
198 |
|
199 |
= 2.50 - 2.54 =
|
200 |
* 2.54 - Admin Columns/PHP 7.1.x Fix, thumbnail generation enhancements, [mla_term_list] fix and Settings/Shortcodes tab updates. Six fixes in all.
|
279 |
|
280 |
== Upgrade Notice ==
|
281 |
|
282 |
+
= 2.65 =
|
283 |
+
Corrects an "ajax.fail error" in the Media/Assistant "Set Parent" function and the Media/Edit Media screen. One other enhancement, two other fixes.
|
284 |
|
285 |
== Other Notes ==
|
286 |
|
tpls/admin-display-settings-custom-fields-tab.tpl
CHANGED
@@ -147,6 +147,20 @@ href="#mla-new-custom-field">
|
|
147 |
</p>
|
148 |
</form>
|
149 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
150 |
<!-- template="before-table" -->
|
151 |
[+mla-progress-div+]
|
152 |
<h2>[+Custom Field Options+]</h2>
|
147 |
</p>
|
148 |
</form>
|
149 |
|
150 |
+
<!-- template="custom-field-disabled" -->
|
151 |
+
<h2>[+Support is disabled+]</h2>
|
152 |
+
<form action="[+form_url+]" method="post" class="mla-display-settings-page" id="mla-display-settings-custom-field-tab">
|
153 |
+
<table class="optiontable">
|
154 |
+
[+options_list+]
|
155 |
+
</table>
|
156 |
+
<p class="submit mla-settings-submit">
|
157 |
+
<input name="mla-custom-field-options-save" type="submit" class="button-primary" value="[+Save Changes+]" />
|
158 |
+
</p>
|
159 |
+
<input type="hidden" name="page" value="mla-settings-menu-custom_field" />
|
160 |
+
<input type="hidden" name="mla_tab" value="custom_field" />
|
161 |
+
[+_wpnonce+]
|
162 |
+
</form>
|
163 |
+
|
164 |
<!-- template="before-table" -->
|
165 |
[+mla-progress-div+]
|
166 |
<h2>[+Custom Field Options+]</h2>
|
tpls/admin-display-settings-iptc-exif-tab.tpl
CHANGED
@@ -137,6 +137,20 @@ href="#mla-new-iptc-exif"> [+Cancel Name Change+] </a>
|
|
137 |
</p>
|
138 |
</form>
|
139 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
140 |
<!-- template="before-table" -->
|
141 |
[+mla-progress-div+]
|
142 |
<h2>[+IPTC EXIF Options+]</h2>
|
137 |
</p>
|
138 |
</form>
|
139 |
|
140 |
+
<!-- template="iptc-exif-disabled" -->
|
141 |
+
<h2>[+Support is disabled+]</h2>
|
142 |
+
<form action="[+form_url+]" method="post" class="mla-display-settings-page" id="mla-display-settings-iptc-exif-tab">
|
143 |
+
<table class="optiontable">
|
144 |
+
[+options_list+]
|
145 |
+
</table>
|
146 |
+
<p class="submit mla-settings-submit">
|
147 |
+
<input name="mla-iptc-exif-options-save" type="submit" class="button-primary" value="[+Save Changes+]" />
|
148 |
+
</p>
|
149 |
+
<input type="hidden" name="page" value="mla-settings-menu-iptc_exif" />
|
150 |
+
<input type="hidden" name="mla_tab" value="iptc_exif" />
|
151 |
+
[+_wpnonce+]
|
152 |
+
</form>
|
153 |
+
|
154 |
<!-- template="before-table" -->
|
155 |
[+mla-progress-div+]
|
156 |
<h2>[+IPTC EXIF Options+]</h2>
|
tpls/admin-display-settings-page.tpl
CHANGED
@@ -24,11 +24,11 @@
|
|
24 |
<a href="#backtotop">[+Go to Top+]</a> | <a href="#gotobottom">[+Go to Bottom+]</a>
|
25 |
</td></tr>
|
26 |
<tr><td colspan="2">
|
27 |
-
<
|
28 |
</td></tr>
|
29 |
<!-- template="subheader" -->
|
30 |
<tr><td colspan="2">
|
31 |
-
<
|
32 |
</td></tr>
|
33 |
<!-- template="radio" -->
|
34 |
<tr valign="top"><th scope="row" class="textright">
|
@@ -135,6 +135,7 @@
|
|
135 |
<table class="optiontable">
|
136 |
[+options_list+]
|
137 |
</table>
|
|
|
138 |
<h3>[+Debug Settings+]</h3>
|
139 |
<table class="optiontable">
|
140 |
[+settings_list+]
|
24 |
<a href="#backtotop">[+Go to Top+]</a> | <a href="#gotobottom">[+Go to Bottom+]</a>
|
25 |
</td></tr>
|
26 |
<tr><td colspan="2">
|
27 |
+
<h3 id="[+key+]">[+value+]</h3>
|
28 |
</td></tr>
|
29 |
<!-- template="subheader" -->
|
30 |
<tr><td colspan="2">
|
31 |
+
<h4 id="[+key+]">[+value+]</h4>
|
32 |
</td></tr>
|
33 |
<!-- template="radio" -->
|
34 |
<tr valign="top"><th scope="row" class="textright">
|
135 |
<table class="optiontable">
|
136 |
[+options_list+]
|
137 |
</table>
|
138 |
+
<p>[+You can find+]</p>
|
139 |
<h3>[+Debug Settings+]</h3>
|
140 |
<table class="optiontable">
|
141 |
[+settings_list+]
|
tpls/admin-inline-edit-form.tpl
CHANGED
@@ -193,8 +193,8 @@
|
|
193 |
<p class="submit inline-edit-save">
|
194 |
<a accesskey="c" href="#inline-edit" title="[+Cancel+]" class="button-secondary cancel alignleft">[+Cancel+]</a>
|
195 |
<input accesskey="s" type="submit" name="bulk_edit" id="bulk_edit" class="button-primary alignright" value="[+Update+]" />
|
196 |
-
<input accesskey="i" type="submit" name="bulk_map" id="bulk_map" class="button-secondary alignright" value="[+Map IPTC/EXIF metadata+]" />
|
197 |
-
<input accesskey="m" type="submit" name="bulk_custom_field_map" id="bulk_custom_field_map" class="button-secondary alignright" value="[+Map Custom Field metadata+]" />
|
198 |
<input type="hidden" name="page" value="mla-menu" />
|
199 |
<input type="hidden" name="screen" value="media_page_mla-menu" />
|
200 |
<span class="error" style="display:none"></span> <br class="clear" />
|
193 |
<p class="submit inline-edit-save">
|
194 |
<a accesskey="c" href="#inline-edit" title="[+Cancel+]" class="button-secondary cancel alignleft">[+Cancel+]</a>
|
195 |
<input accesskey="s" type="submit" name="bulk_edit" id="bulk_edit" class="button-primary alignright" value="[+Update+]" />
|
196 |
+
<input style="[+bulk_map_style+]" accesskey="i" type="submit" name="bulk_map" id="bulk_map" class="button-secondary alignright" value="[+Map IPTC/EXIF metadata+]" />
|
197 |
+
<input style="[+bulk_custom_field_map_style+]" accesskey="m" type="submit" name="bulk_custom_field_map" id="bulk_custom_field_map" class="button-secondary alignright" value="[+Map Custom Field metadata+]" />
|
198 |
<input type="hidden" name="page" value="mla-menu" />
|
199 |
<input type="hidden" name="screen" value="media_page_mla-menu" />
|
200 |
<span class="error" style="display:none"></span> <br class="clear" />
|
tpls/documentation-settings-tab.tpl
CHANGED
@@ -19,6 +19,7 @@ For more information about the example plugins, jump to <a href="#mla_example_pl
|
|
19 |
<li><a href="#order_orderby">Order, Orderby</a></li>
|
20 |
<li><a href="#size">Size</a></li>
|
21 |
<li><a href="#link">Link</a></li>
|
|
|
22 |
<li><a href="#include_exclude">Include, Exclude</a></li>
|
23 |
<li><a href="#post_id_ids_post_parent">Post ID, "ids", Post Parent</a></li>
|
24 |
<li><a href="#author_author_name">Author, Author Name</a></li>
|
@@ -160,7 +161,6 @@ For more information about the example plugins, jump to <a href="#mla_example_pl
|
|
160 |
<li><a href="#custom_field_rule_elements">The custom field rule elements</a></li>
|
161 |
<li><a href="#attachment_metadata_mapping">Adding or Changing Attachment Metadata</a></li>
|
162 |
<li><a href="#custom_field_mapping_with_templates">Custom field mapping with Content Templates</a></li>
|
163 |
-
<li><a href="#other_custom_field_mapping">Other mapping techniques</a></li>
|
164 |
</ul>
|
165 |
<li>
|
166 |
<a href="#mla_iptc_exif_mapping"><strong>IPTC & EXIF Processing Options</strong></a>
|
@@ -170,7 +170,6 @@ For more information about the example plugins, jump to <a href="#mla_example_pl
|
|
170 |
<li><a href="#iptc_exif_mapping_tables">The IPTC/EXIF rule elements</a></li>
|
171 |
<li><a href="#iptc_exif_mapping_with_templates">EXIF/Template mapping with Content Templates</a></li>
|
172 |
<li><a href="#pdf_iptc_exif_mapping">IPTC/EXIF Mapping for PDF Documents</a></li>
|
173 |
-
<li><a href="#other_iptc_exif_mapping">Other mapping techniques</a></li>
|
174 |
<li><a href="#wordpress_default_mapping">WordPress default title, slug and description mapping</a></li>
|
175 |
</li>
|
176 |
</ul>
|
@@ -631,11 +630,11 @@ The Link parameter specifies the target and type of link from the gallery item t
|
|
631 |
</tr>
|
632 |
<tr>
|
633 |
<td class="mla-doc-table-label">file, full</td>
|
634 |
-
<td>Link directly to the attachment file.</td>
|
635 |
</tr>
|
636 |
<tr>
|
637 |
<td class="mla-doc-table-label">download</td>
|
638 |
-
<td>Link to the MLA file downloader for this attachment. Forces a file download instead of opening the file in the browser.</td>
|
639 |
</tr>
|
640 |
<tr>
|
641 |
<td class="mla-doc-table-label">thumbnail, medium,<br />large</td>
|
@@ -655,7 +654,40 @@ The Link parameter specifies the target and type of link from the gallery item t
|
|
655 |
</tr>
|
656 |
</table>
|
657 |
<p>
|
658 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
659 |
<a name="include_exclude"></a>
|
660 |
</p>
|
661 |
<h4>Include, Exclude</h4>
|
@@ -3945,6 +3977,10 @@ The item-level substitution parameter names are:
|
|
3945 |
<td>always contains a hyperlink to the MLA file downloader for this attachment</td>
|
3946 |
</tr>
|
3947 |
<tr>
|
|
|
|
|
|
|
|
|
3948 |
<td class="mla-doc-table-label">link_url</td>
|
3949 |
<td>the URL portion of <em>link</em></td>
|
3950 |
</tr>
|
@@ -3961,6 +3997,10 @@ The item-level substitution parameter names are:
|
|
3961 |
<td>the URL portion of <em>downloadlink</em></td>
|
3962 |
</tr>
|
3963 |
<tr>
|
|
|
|
|
|
|
|
|
3964 |
<td class="mla-doc-table-label">thumbnail_content</td>
|
3965 |
<td>complete content of the gallery item link. This will either be an "<img ... >" tag<br />or a text string for non-image items</td>
|
3966 |
</tr>
|
@@ -4287,6 +4327,10 @@ Eight "format" values help you reformat fields or encode them for use in HTML at
|
|
4287 |
<td>If you need to limit the length of a value or extract a portion of it the ",substr" option will return part of the value. This option accepts one or two parameters, "start" (s) and "length" (l). The first character in the value is at position zero (0) so, for example, ",substr(2,3)" would return "cde" from a value of "abcdef". You can find complete information on "start" and "length", including the effect of negative values, at: <a href="http://php.net/manual/en/function.substr.php" title="PHP substr parameters" target="_blank">http://php.net/manual/en/function.substr.php</a>.</td>
|
4288 |
</tr>
|
4289 |
<tr>
|
|
|
|
|
|
|
|
|
4290 |
<td class="mla-doc-table-label" style="white-space:nowrap">,kbmb(t,k,m,p)</td>
|
4291 |
<td>Some data values, e.g., file size, are better expressed in kilobytes and megabytes. The "kbmb" format provides this conversion. There are four optional arguments; "t" (threshold), "k" (kilobyte suffix), "m" (megabyte suffix) and "p" (precision). The threshold argument (default 10240; ten kilobytes) sets the dividing amount between bytes and kilobytes. For example, a value of 1536 bytes would display as "1,536", not "1.50 KB" and 15360 bytes would display as "15.5 KB". The "k" and "m" arguments replace the default " KB" and/or " MB" suffix displayed following the numeric value. The "p" argument is the number of decimal places in the result, e.g., a value of 287,709 with a threshold of 1024 displays as "281", "281.0", "280.97", "280.966", or "280.9658" for precisions 0, 1, 2, 3 and 4.</td>
|
4292 |
</tr>
|
@@ -5914,13 +5958,23 @@ Put on your boots and have a paddle handy - it's a swamp! Good luck.
|
|
5914 |
</p>
|
5915 |
<h3>Custom Field and Attachment Metadata Processing Options</h3>
|
5916 |
<p>
|
5917 |
-
In the Custom Fields tab of the Settings screen you can define the rules for mapping several types of file and image metadata to WordPress custom fields.
|
5918 |
</p>
|
5919 |
-
<p>
|
5920 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5921 |
</p>
|
5922 |
<p>
|
5923 |
-
|
5924 |
</p>
|
5925 |
<ul class="mla_settings">
|
5926 |
<li>You can add the data to an <code>[mla_gallery]</code> with a field-level markup substitution parameter. For example, add the image dimensions or a list of all the intermediate sizes available for the image.</li>
|
@@ -5929,8 +5983,17 @@ This is a powerful tool, but it comes at the price of additional database storag
|
|
5929 |
<p>
|
5930 |
If you just want to add a custom field to the Media/Assistant submenu, the quick edit area and/or the bulk edit area you can bypass the mapping logic by leaving the Data Source value as "-- None (select a value) --".
|
5931 |
</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5932 |
<p>
|
5933 |
-
|
5934 |
</p>
|
5935 |
<ul class="mla_settings">
|
5936 |
<li><code>define( 'MLA_AJAX_EXCEPTIONS', 'wfu_ajax_action,upload_ugc' );</code></li>
|
@@ -6193,28 +6256,13 @@ Using a template with the Option Dropdown "Text" or "Single" values will yield a
|
|
6193 |
<p>
|
6194 |
<strong>CAUTION:</strong> If you use the <code>[+custom:ALL_CUSTOM+]</code> pseudo value in a mapping rule, and you apply the rule more than once, you will see copies of the field you are mapping to in the result. To "clear out" a field you are mapping ALL_CUSTOM into, clear out the text box containing the template, select "Replace" and check the "Delete NULL values" box. Then, click "Map All Attachments"; that will delete the old values and give you a clean start. You'll also see that the template you deleted will be restored after the mapping is complete.
|
6195 |
</p>
|
6196 |
-
<a name="other_custom_field_mapping"></a>
|
6197 |
-
<p>
|
6198 |
-
<a href="#backtotop">Go to Top</a>
|
6199 |
-
</p>
|
6200 |
-
<h4>Other mapping techniques</h4>
|
6201 |
-
<p>
|
6202 |
-
There are two other ways you can perform custom field mapping for one or more existing attachments:
|
6203 |
-
<dl>
|
6204 |
-
<dt>Edit Media screen</dt>
|
6205 |
-
<dd>You can click the "Map Custom Field metadata" link in the "Image Metadata" postbox to apply the existing mapping rules to a single attachment.
|
6206 |
-
</dd>
|
6207 |
-
<dt>Bulk Action edit area</dt>
|
6208 |
-
<dd>To perform mapping for a group of attachments you can use the Bulk Action facility on the main Assistant screen. Check the attachments you want to map, select "edit" from the Bulk Actions dropdown list and click "Apply". The bulk edit area will open with a list of the checked attachments in the left-hand column. You can click the "Map Custom Field metadata" button in the lower left corner of the area to apply the existing mapping rules to the attachments in the list.
|
6209 |
-
</dd>
|
6210 |
-
</dl>
|
6211 |
<a name="mla_iptc_exif_mapping"></a>
|
6212 |
<p>
|
6213 |
<a href="#backtotop">Go to Top</a>
|
6214 |
</p>
|
6215 |
<h3>IPTC & EXIF Processing Options</h3>
|
6216 |
<p>
|
6217 |
-
Some image file formats such as JPEG DCT or TIFF Rev 6.0 support the addition of data about the image, or <em>metadata</em>, in the image file. In addition, many JPEG, TIFF and PDF files use the Extensible Metadata Platform (XMP)</a> framework. XMP metadata varies from
|
6218 |
</p>
|
6219 |
<p>
|
6220 |
The Media Library Assistant has powerful tools for copying metadata to:
|
@@ -6223,14 +6271,36 @@ The Media Library Assistant has powerful tools for copying metadata to:
|
|
6223 |
<li>taxonomy terms, e.g., in categories, tags or custom taxonomies like Att. Categories and Att. Tags</li>
|
6224 |
<li>WordPress Custom Fields</li>
|
6225 |
</ul>
|
6226 |
-
You can define the rules for mapping metadata on the "IPTC/EXIF" tab of the Settings page. You can choose to automatically apply the rules when new media are added to the Library (or not). You can click the "Map IPTC/EXIF metadata" button on the Edit Media/Edit Single Item screen or in the bulk edit area to selectively apply the rules to one or more
|
6227 |
</p>
|
6228 |
<p>If you use any of the "Execute" functions, the selected rule(s) will be immediately applied to <strong>all</strong> of the attachments in your Media Library. THERE<strong> IS NO UNDO FOR THESE ACTIONS!</strong></p>
|
6229 |
<p>
|
6230 |
If you just want to add a custom field to the Media/Assistant submenu, the quick edit area and/or the bulk edit area go to the "Custom Fields" tab and follow the instructions there.
|
6231 |
</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6232 |
<p>
|
6233 |
-
|
6234 |
</p>
|
6235 |
<ul class="mla_settings">
|
6236 |
<li><code>define( 'MLA_AJAX_EXCEPTIONS', 'wfu_ajax_action,upload_ugc' );</code></li>
|
@@ -6473,22 +6543,6 @@ The three rules have similar changes:
|
|
6473 |
</ul>
|
6474 |
In fact, WordPress contains its own rules for composing a Title from IPTC/Exif metadata (see <a href="#wordpress_default_mapping">WordPress default title, slug and description mapping</a>), so you may not need or want to extend the Title rule. WordPress also fills the Description field, but does not fill the Caption. You may want to copy the Description into the Caption; if you do, replace <code>[+exif:ImageDescription+]</code> with <code>[+post_content+]</code> in the Caption rule.
|
6475 |
</p>
|
6476 |
-
<a name="other_iptc_exif_mapping"></a>
|
6477 |
-
<p>
|
6478 |
-
<a href="#backtotop">Go to Top</a>
|
6479 |
-
</p>
|
6480 |
-
<h4>Other mapping techniques</h4>
|
6481 |
-
<p>
|
6482 |
-
There are two other ways you can perform metadata mapping to one or more existing Media Library images:
|
6483 |
-
<dl>
|
6484 |
-
<dt>Edit Media screen</dt>
|
6485 |
-
<dd>You can click the "Map IPTC/EXIF metadata" link in the "Image Metadata" postbox to apply the standing mapping rules to a single attachment.
|
6486 |
-
</dd>
|
6487 |
-
<dt>Bulk Action edit area</dt>
|
6488 |
-
<dd>To perform mapping for a group of attachments you can use the Bulk Action facility on the main Assistant screen. Check the attachments you want to map, select "edit" from the Bulk Actions dropdown list and click "Apply". The bulk edit area will open with a list of the checked attachments in the left-hand column. You can click the "Map IPTC/EXIF metadata" button in the lower left corner of the area to apply the standing mapping rules to the attachments in the list.
|
6489 |
-
</dd>
|
6490 |
-
</dl>
|
6491 |
-
</p>
|
6492 |
<a name="wordpress_default_mapping"></a>
|
6493 |
<p>
|
6494 |
<a href="#backtotop">Go to Top</a>
|
@@ -6661,13 +6715,13 @@ When WP_DEBUG_DISPLAY is true, WordPress will force errors to be displayed. WP_D
|
|
6661 |
The full path and file name of the error log is displayed just above the text area that contains the log content. If the content doesn't display and/or you can't download the log file, you can try finding the log file at the location shown. If you can't access the PHP error log for any reason, you can write the MLA-specific messages to a separate file in your <code>/wp-content/</code> directory using the "Debug File" option explained below.
|
6662 |
</p>
|
6663 |
<p>
|
6664 |
-
|
6665 |
</p>
|
6666 |
<ul class="mla_settings">
|
6667 |
-
<li><code>define( 'MLA_DEBUG_LEVEL',
|
6668 |
</ul>
|
6669 |
<p>
|
6670 |
-
|
6671 |
</p>
|
6672 |
<table>
|
6673 |
<tr>
|
@@ -6690,6 +6744,10 @@ Once that line is added to the <code>wp-config.php</code> file the "Debug" tab w
|
|
6690 |
<td class="mla-doc-table-label">16, or 0x0010</td>
|
6691 |
<td>writes MLA-specific messages to the log for IPTC, EXIF, XMP and PDF metadata generation.</td>
|
6692 |
</tr>
|
|
|
|
|
|
|
|
|
6693 |
</table>
|
6694 |
<p>
|
6695 |
You can pick the logging categories you want by adding the above values together. For example, to log only PHP messages you can use <code>define( 'MLA_DEBUG_LEVEL', 1 );</code> or <code>define( 'MLA_DEBUG_LEVEL', 0x0001 );</code>. To add the "AJAX" messages you can use <code>define( 'MLA_DEBUG_LEVEL', 3 );</code> or <code>define( 'MLA_DEBUG_LEVEL', 0x0003 );</code>. The hexadecimal notation ( 0x0003 ) can be easier to understand when several options are involved.
|
19 |
<li><a href="#order_orderby">Order, Orderby</a></li>
|
20 |
<li><a href="#size">Size</a></li>
|
21 |
<li><a href="#link">Link</a></li>
|
22 |
+
<li><a href="#named_transfer">Transfer by Item Name</a></li>
|
23 |
<li><a href="#include_exclude">Include, Exclude</a></li>
|
24 |
<li><a href="#post_id_ids_post_parent">Post ID, "ids", Post Parent</a></li>
|
25 |
<li><a href="#author_author_name">Author, Author Name</a></li>
|
161 |
<li><a href="#custom_field_rule_elements">The custom field rule elements</a></li>
|
162 |
<li><a href="#attachment_metadata_mapping">Adding or Changing Attachment Metadata</a></li>
|
163 |
<li><a href="#custom_field_mapping_with_templates">Custom field mapping with Content Templates</a></li>
|
|
|
164 |
</ul>
|
165 |
<li>
|
166 |
<a href="#mla_iptc_exif_mapping"><strong>IPTC & EXIF Processing Options</strong></a>
|
170 |
<li><a href="#iptc_exif_mapping_tables">The IPTC/EXIF rule elements</a></li>
|
171 |
<li><a href="#iptc_exif_mapping_with_templates">EXIF/Template mapping with Content Templates</a></li>
|
172 |
<li><a href="#pdf_iptc_exif_mapping">IPTC/EXIF Mapping for PDF Documents</a></li>
|
|
|
173 |
<li><a href="#wordpress_default_mapping">WordPress default title, slug and description mapping</a></li>
|
174 |
</li>
|
175 |
</ul>
|
630 |
</tr>
|
631 |
<tr>
|
632 |
<td class="mla-doc-table-label">file, full</td>
|
633 |
+
<td>Link directly to the attachment file. See also the "Transfer by Item Name" section just below.</td>
|
634 |
</tr>
|
635 |
<tr>
|
636 |
<td class="mla-doc-table-label">download</td>
|
637 |
+
<td>Link to the MLA file downloader for this attachment. Forces a file download instead of opening the file in the browser. See also the "Transfer by Item Name" section just below.</td>
|
638 |
</tr>
|
639 |
<tr>
|
640 |
<td class="mla-doc-table-label">thumbnail, medium,<br />large</td>
|
654 |
</tr>
|
655 |
</table>
|
656 |
<p>
|
657 |
+
Note that the handling of `link=file` and `link=download` values can be altered by specifying <code>mla_named_transfer=true</code> as described in the next section.
|
658 |
+
<a name="named_transfer"></a>
|
659 |
+
</p>
|
660 |
+
<h4>Transfer by Item Name</h4>
|
661 |
+
<p>
|
662 |
+
The "mla_named_transfer" parameter activates a different approach to handling the <code>link=file</code> and <code>link=download</code> values. If you code <code>mla_named_transfer=true</code> each item will be identified by its <code>post_name</code> value instead of its directory and file name. When the gallery item link is clicked the post_name will be used to locate the file and send it to the browser. When used with <code>link=download</code> a file download is performed, otherwise the file will be opened in the browser.
|
663 |
+
</p>
|
664 |
+
<p>
|
665 |
+
The links generated for mla_named_transfer items are of the form:<br />
|
666 |
+
<br />
|
667 |
+
<code>http://mysite.com/wp-admin/admin-ajax.php?action=mla_named_transfer&mla_item=item-name&mla_disposition=inline</code><br />
|
668 |
+
<br />
|
669 |
+
Where the query arguments are:
|
670 |
+
</p>
|
671 |
+
<table>
|
672 |
+
<tr>
|
673 |
+
<td class="mla-doc-table-label">action</td>
|
674 |
+
<td>must be "mla_named_transfer".</td>
|
675 |
+
</tr>
|
676 |
+
<tr>
|
677 |
+
<td class="mla-doc-table-label">mla_item</td>
|
678 |
+
<td>is the post_name/slug value for the item. This is the last, editable part of the item’s permalink.</td>
|
679 |
+
</tr>
|
680 |
+
<tr>
|
681 |
+
<td class="mla-doc-table-label">mla_disposition</td>
|
682 |
+
<td>selects a "forced download" ( use "download" or "attachment" ) or "open in the bowser" ( use "file", "view" or "inline" ).</td>
|
683 |
+
</tr>
|
684 |
+
<tr>
|
685 |
+
<td class="mla-doc-table-label">mla_debug</td>
|
686 |
+
<td>add <code>mla_debug=log</code> to send diagnostic information to the error log. If you add <code>mla_debug=log</code> as a shortcode parameter it will be added to these links as well.</td>
|
687 |
+
</tr>
|
688 |
+
</table>
|
689 |
+
<p>
|
690 |
+
This alternate approach provides a small measure of security by obscuring the directory structure used to locate the file. It also makes it possible to generate SEO-friendly "pretty links" and use the <a href="https://codex.wordpress.org/Rewrite_API" title="Codex article: Rewrite API" target="_blank">WordPress Rewrite API</a> to translate the pretty links to the Transfer by Item Name syntax. The <a title="Find the Pretty Links Example" href="[+example_url+]&mla-example-search=Search+Plugins&s=%22MLA+Item+Transfer+Pretty+Links%22" class="mla-doc-bold-link">MLA Item Transfer Pretty Links</a> example plugin shows how this can be done.
|
691 |
<a name="include_exclude"></a>
|
692 |
</p>
|
693 |
<h4>Include, Exclude</h4>
|
3977 |
<td>always contains a hyperlink to the MLA file downloader for this attachment</td>
|
3978 |
</tr>
|
3979 |
<tr>
|
3980 |
+
<td class="mla-doc-table-label">transferlink</td>
|
3981 |
+
<td>always contains a hyperlink to the <a href="#named_transfer">Transfer by Item Name</a> handler for this attachment</td>
|
3982 |
+
</tr>
|
3983 |
+
<tr>
|
3984 |
<td class="mla-doc-table-label">link_url</td>
|
3985 |
<td>the URL portion of <em>link</em></td>
|
3986 |
</tr>
|
3997 |
<td>the URL portion of <em>downloadlink</em></td>
|
3998 |
</tr>
|
3999 |
<tr>
|
4000 |
+
<td class="mla-doc-table-label">transferlink_url</td>
|
4001 |
+
<td>the URL portion of <em>transferlink</em></td>
|
4002 |
+
</tr>
|
4003 |
+
<tr>
|
4004 |
<td class="mla-doc-table-label">thumbnail_content</td>
|
4005 |
<td>complete content of the gallery item link. This will either be an "<img ... >" tag<br />or a text string for non-image items</td>
|
4006 |
</tr>
|
4327 |
<td>If you need to limit the length of a value or extract a portion of it the ",substr" option will return part of the value. This option accepts one or two parameters, "start" (s) and "length" (l). The first character in the value is at position zero (0) so, for example, ",substr(2,3)" would return "cde" from a value of "abcdef". You can find complete information on "start" and "length", including the effect of negative values, at: <a href="http://php.net/manual/en/function.substr.php" title="PHP substr parameters" target="_blank">http://php.net/manual/en/function.substr.php</a>.</td>
|
4328 |
</tr>
|
4329 |
<tr>
|
4330 |
+
<td class="mla-doc-table-label" style="white-space:nowrap">,str_replace(s,r)</td>
|
4331 |
+
<td>Replace all occurrences of the "search" string (s) with the "replacement" string (r). If search and replacement are arrays, then str_replace() takes a value from each array and uses them to search and replace on subject. If replace has fewer values than search, then an empty string is used for the rest of replacement values. If search is an array and replace is a string, then this replacement string is used for every value of search. You can find complete information on "search" and "replacement", including examples, at: <a href="http://php.net/manual/en/function.str-replace.php" title="PHP str_replace parameters" target="_blank">http://php.net/manual/en/function.str-replace.php</a>.<br /> <br />To specify an array argument enclose the argument in braces ( "{" and "}" ) and separate elements with <strong>spaces</strong>. For example, <code>,str_replace( {',' '-'}, {' ' '_'} )</code> will change commas to spaces and dashes to underscores, while <code>,str_replace( {',' '-'}, ' ' )</code> will change both commas <strong>and</strong> dashes to spaces.</td>
|
4332 |
+
</tr>
|
4333 |
+
<tr>
|
4334 |
<td class="mla-doc-table-label" style="white-space:nowrap">,kbmb(t,k,m,p)</td>
|
4335 |
<td>Some data values, e.g., file size, are better expressed in kilobytes and megabytes. The "kbmb" format provides this conversion. There are four optional arguments; "t" (threshold), "k" (kilobyte suffix), "m" (megabyte suffix) and "p" (precision). The threshold argument (default 10240; ten kilobytes) sets the dividing amount between bytes and kilobytes. For example, a value of 1536 bytes would display as "1,536", not "1.50 KB" and 15360 bytes would display as "15.5 KB". The "k" and "m" arguments replace the default " KB" and/or " MB" suffix displayed following the numeric value. The "p" argument is the number of decimal places in the result, e.g., a value of 287,709 with a threshold of 1024 displays as "281", "281.0", "280.97", "280.966", or "280.9658" for precisions 0, 1, 2, 3 and 4.</td>
|
4336 |
</tr>
|
5958 |
</p>
|
5959 |
<h3>Custom Field and Attachment Metadata Processing Options</h3>
|
5960 |
<p>
|
5961 |
+
In the Custom Fields tab of the Settings screen you can define the rules for mapping several types of file and image metadata to WordPress custom fields. You can also use this screen to define rules for adding or updating elements within the WordPress-supplied "Attachment Metadata", stored in the "_wp_attachment_metadata" custom field. See the <a href="#attachment_metadata_mapping">Adding or changing Attachment Metadata</a> section below for details.
|
5962 |
</p>
|
5963 |
+
<p>In this tab there are three ways to execute one or more custom field mapping rules for <strong>ALL</strong> of your Media Library items:
|
5964 |
+
<ul class="mla_settings">
|
5965 |
+
<li><strong>Execute All Rules button</strong> - just below the "Enable" checkbox controls in the upper-left portion of the tab. Click this button to immediately run <strong>ALL</strong> of the active rules. Rules marked as inactive will not be executed.</li>
|
5966 |
+
<li><strong>Bulk Actions "Execute"</strong> - Runs the rules you select by checking the box to the left of one or more rule names. Pull down the "Bulk Actions" control and select "Execute", then click the "Apply" button. <strong>Inactive rules will be executed</strong>; do not select them unless you want to execute them!</li>
|
5967 |
+
<li><strong>"Execute" rollover action</strong> - Runs the single rule you select by clicking the rule's "Execute" rollover action. <strong>Inactive rules will be executed</strong>.</li>
|
5968 |
+
</ul>
|
5969 |
+
These commands process your items in "chunks" to prevent timeout errors. You can pause/resume or cancel the operation between chunks. Note that rules with a Data Source of "none" are ignored because they can't change the custom field value.</p>
|
5970 |
+
<p>There are two other ways you can perform custom field mapping for one or more existing attachments:
|
5971 |
+
<ul class="mla_settings">
|
5972 |
+
<li><strong>Edit Media screen</strong> - You can click the "Map Custom Field metadata" link in the "Image Metadata" postbox to apply the existing mapping rules to a single attachment.</li>
|
5973 |
+
<li><strong>Bulk Action edit area</strong> - To perform mapping for a group of attachments you can use the Bulk Action facility on the Media/Assistant screen. Check the attachments you want to map, select "Edit" from the Bulk Actions dropdown list and click "Apply". The bulk edit area will open with a list of the checked attachments in the left-hand column. You can click the "Map Custom Field metadata" button in the lower left corner of the area to apply the existing mapping rules to the attachments in the list.</li>
|
5974 |
+
</ul>
|
5975 |
</p>
|
5976 |
<p>
|
5977 |
+
Custom field mapping is a powerful tool, but it comes at the price of additional database storage space and processing time to maintain and retrieve the data. <strong><em>Think carefully about your needs before you use this tool.</em></strong> You can disable or delete any rules you create, so you might want to set up some rules for a special project or analysis of your library and then discard them when you're done. That said, the advantages of mapping metadata to custom fields are:
|
5978 |
</p>
|
5979 |
<ul class="mla_settings">
|
5980 |
<li>You can add the data to an <code>[mla_gallery]</code> with a field-level markup substitution parameter. For example, add the image dimensions or a list of all the intermediate sizes available for the image.</li>
|
5983 |
<p>
|
5984 |
If you just want to add a custom field to the Media/Assistant submenu, the quick edit area and/or the bulk edit area you can bypass the mapping logic by leaving the Data Source value as "-- None (select a value) --".
|
5985 |
</p>
|
5986 |
+
<p>Three checkbox options control the custom field mapping when new items are added to the Media Library:
|
5987 |
+
<ul class="mla_settings">
|
5988 |
+
<li><strong>Enable custom field mapping</strong> - Check this option to enable the mapping rules and display the "Map" buttons on the Media/Edit Media and Media/Assistant Bulk Edit screens.</li>
|
5989 |
+
<li><strong>Enable custom field mapping when adding new media</strong> - Check this option to enable mapping when uploading new items (attachments) to the Media Library.</li>
|
5990 |
+
<li><strong>Enable custom field mapping when updating media metadata</strong> - Check this option to enable mapping when item (attachment) metadata is regenerated,
|
5991 |
+
e.g., when the Media/Edit Media "Edit Image" functions are used.</li>
|
5992 |
+
</ul>
|
5993 |
+
The "when adding" and "when updating" options do <strong>NOT</strong> affect the operation of the "Map" buttons on the bulk edit or single edit screens, nor do they affect any of the "Execute" mapping functions On this Settings screen.</p>
|
5994 |
+
<p>Check one or more options to enable these features, then click the "Save Changes" button to record your new setting(s).</p>
|
5995 |
<p>
|
5996 |
+
Some plugins support file uploads from the WordPress "front end", usually by using the WordPress "AJAX" support. To enable mapping when these plugins are used you must add an entry to your <code>wp-config.php</code> file so MLA will load the mapping code:
|
5997 |
</p>
|
5998 |
<ul class="mla_settings">
|
5999 |
<li><code>define( 'MLA_AJAX_EXCEPTIONS', 'wfu_ajax_action,upload_ugc' );</code></li>
|
6256 |
<p>
|
6257 |
<strong>CAUTION:</strong> If you use the <code>[+custom:ALL_CUSTOM+]</code> pseudo value in a mapping rule, and you apply the rule more than once, you will see copies of the field you are mapping to in the result. To "clear out" a field you are mapping ALL_CUSTOM into, clear out the text box containing the template, select "Replace" and check the "Delete NULL values" box. Then, click "Map All Attachments"; that will delete the old values and give you a clean start. You'll also see that the template you deleted will be restored after the mapping is complete.
|
6258 |
</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6259 |
<a name="mla_iptc_exif_mapping"></a>
|
6260 |
<p>
|
6261 |
<a href="#backtotop">Go to Top</a>
|
6262 |
</p>
|
6263 |
<h3>IPTC & EXIF Processing Options</h3>
|
6264 |
<p>
|
6265 |
+
Some image file formats such as JPEG DCT or TIFF Rev 6.0 support the addition of data about the image, or <em>metadata</em>, in the image file. In addition, many JPEG, TIFF and PDF files use the Extensible Metadata Platform (XMP)</a> framework. XMP metadata varies from file to file but is often extensive. Many popular image processing programs such as Adobe PhotoShop allow you to populate metadata fields with information such as a copyright notice, caption, the image author and keywords that categorize the image in a larger collection. WordPress uses some of this information to populate the Title, Slug and Description fields when you add an image to the Media Library.
|
6266 |
</p>
|
6267 |
<p>
|
6268 |
The Media Library Assistant has powerful tools for copying metadata to:
|
6271 |
<li>taxonomy terms, e.g., in categories, tags or custom taxonomies like Att. Categories and Att. Tags</li>
|
6272 |
<li>WordPress Custom Fields</li>
|
6273 |
</ul>
|
6274 |
+
You can define the rules for mapping metadata on the "IPTC/EXIF" tab of the Settings page. You can choose to automatically apply the rules when new media are added to the Library (or not). You can click the "Map IPTC/EXIF metadata" button on the Edit Media/Edit Single Item screen or in the bulk edit area to selectively apply the rules to one or more items. You can use the "Execute" functions in the tab to apply the rules to one, some or <strong><em>ALL</em></strong> of the items in your library at one time.
|
6275 |
</p>
|
6276 |
<p>If you use any of the "Execute" functions, the selected rule(s) will be immediately applied to <strong>all</strong> of the attachments in your Media Library. THERE<strong> IS NO UNDO FOR THESE ACTIONS!</strong></p>
|
6277 |
<p>
|
6278 |
If you just want to add a custom field to the Media/Assistant submenu, the quick edit area and/or the bulk edit area go to the "Custom Fields" tab and follow the instructions there.
|
6279 |
</p>
|
6280 |
+
<p>In this tab there are three ways to execute one or more IPTC/EXIF mapping rules for <strong>ALL</strong> of your Media Library items:
|
6281 |
+
<ul class="mla_settings">
|
6282 |
+
<li><strong>Execute All Rules button</strong> - just below the "Enable" checkbox controls in the upper-left portion of the tab. Click this button to immediately run <strong>ALL</strong> of the active rules. Rules marked as inactive will not be executed.</li>
|
6283 |
+
<li><strong>Bulk Actions "Execute"</strong> - Runs the rules you select by checking the box to the left of one or more rule names. Pull down the "Bulk Actions" control and select "Execute", then click the "Apply" button. <strong>Inactive rules will be executed</strong>; do not select them unless you want to execute them!</li>
|
6284 |
+
<li><strong>"Execute" rollover action</strong> - Runs the single rule you select by clicking the rule's "Execute" rollover action. <strong>Inactive rules will be executed</strong>.</li>
|
6285 |
+
</ul>
|
6286 |
+
These commands process your items in "chunks" to prevent timeout errors. You can pause/resume or cancel the operation between chunks.</p>
|
6287 |
+
<p>There are two other ways you can perform IPTC/EXIF mapping for one or more existing attachments:
|
6288 |
+
<ul class="mla_settings">
|
6289 |
+
<li><strong>Edit Media screen</strong> - You can click the "Map IPTC/EXIF metadata" link in the "Image Metadata" postbox to apply the existing mapping rules to a single attachment.</li>
|
6290 |
+
<li><strong>Bulk Action edit area</strong> - To perform mapping for a group of attachments you can use the Bulk Action facility on the Media/Assistant screen. Check the attachments you want to map, select "Edit" from the Bulk Actions dropdown list and click "Apply". The bulk edit area will open with a list of the checked attachments in the left-hand column. You can click the "Map IPTC/EXIF metadata" button in the lower left corner of the area to apply the standing mapping rules to the attachments in the list.</li>
|
6291 |
+
</ul>
|
6292 |
+
</p>
|
6293 |
+
<p>Three checkbox options control the IPTC/EXIF mapping when new items are added to the Media Library:
|
6294 |
+
<ul class="mla_settings">
|
6295 |
+
<li><strong>Enable IPTC/EXIF Mapping</strong> - Check this option to enable the mapping rules and display the "Map" buttons on the Media/Edit Media and Media/Assistant Bulk Edit screens.</li>
|
6296 |
+
<li><strong>Enable IPTC/EXIF Mapping when adding new media</strong> - Check this option to enable mapping when uploading new items (attachments) to the Media Library.</li>
|
6297 |
+
<li><strong>Enable IPTC/EXIF Mapping when updating media metadata</strong> - Check this option to enable mapping when item (attachment) metadata is regenerated,
|
6298 |
+
e.g., when the Media/Edit Media "Edit Image" functions are used.</li>
|
6299 |
+
</ul>
|
6300 |
+
The "when adding" and "when updating" options do <strong>NOT</strong> affect the operation of the "Map" buttons on the bulk edit or single edit screens, nor do they affect any of the "Execute" mapping functions On this Settings screen.</p>
|
6301 |
+
<p>Check one or more options to enable these features, then click the "Save Changes" button to record your new setting(s).</p>
|
6302 |
<p>
|
6303 |
+
Some plugins support file uploads from the WordPress "front end", usually by using the WordPress "AJAX" support. To enable mapping when these plugins are used you must add an entry to your <code>wp-config.php</code> file so MLA will load the mapping code:
|
6304 |
</p>
|
6305 |
<ul class="mla_settings">
|
6306 |
<li><code>define( 'MLA_AJAX_EXCEPTIONS', 'wfu_ajax_action,upload_ugc' );</code></li>
|
6543 |
</ul>
|
6544 |
In fact, WordPress contains its own rules for composing a Title from IPTC/Exif metadata (see <a href="#wordpress_default_mapping">WordPress default title, slug and description mapping</a>), so you may not need or want to extend the Title rule. WordPress also fills the Description field, but does not fill the Caption. You may want to copy the Description into the Caption; if you do, replace <code>[+exif:ImageDescription+]</code> with <code>[+post_content+]</code> in the Caption rule.
|
6545 |
</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6546 |
<a name="wordpress_default_mapping"></a>
|
6547 |
<p>
|
6548 |
<a href="#backtotop">Go to Top</a>
|
6715 |
The full path and file name of the error log is displayed just above the text area that contains the log content. If the content doesn't display and/or you can't download the log file, you can try finding the log file at the location shown. If you can't access the PHP error log for any reason, you can write the MLA-specific messages to a separate file in your <code>/wp-content/</code> directory using the "Debug File" option explained below.
|
6716 |
</p>
|
6717 |
<p>
|
6718 |
+
The MLA Debug Tab appears at the right of the tab list in the Settings/Media Library Assistant submenu. If you want to restrict access to the logging options and error log file you can suppress the tab by adding an entry to your <code>wp-config.php</code> file:
|
6719 |
</p>
|
6720 |
<ul class="mla_settings">
|
6721 |
+
<li><code>define( 'MLA_DEBUG_LEVEL', 0 );</code></li>
|
6722 |
</ul>
|
6723 |
<p>
|
6724 |
+
The MLA_DEBUG_LEVEL is also used to turn categories of debug messages on and off. Each bit of the value has a separate meaning; the current definitions are:
|
6725 |
</p>
|
6726 |
<table>
|
6727 |
<tr>
|
6744 |
<td class="mla-doc-table-label">16, or 0x0010</td>
|
6745 |
<td>writes MLA-specific messages to the log for IPTC, EXIF, XMP and PDF metadata generation.</td>
|
6746 |
</tr>
|
6747 |
+
<tr>
|
6748 |
+
<td class="mla-doc-table-label">32, or 0x0020</td>
|
6749 |
+
<td>writes MLA-specific messages to the log for WP REST API calls identified by <code>/wp-json/</code> in the SERVER_URI.</td>
|
6750 |
+
</tr>
|
6751 |
</table>
|
6752 |
<p>
|
6753 |
You can pick the logging categories you want by adding the above values together. For example, to log only PHP messages you can use <code>define( 'MLA_DEBUG_LEVEL', 1 );</code> or <code>define( 'MLA_DEBUG_LEVEL', 0x0001 );</code>. To add the "AJAX" messages you can use <code>define( 'MLA_DEBUG_LEVEL', 3 );</code> or <code>define( 'MLA_DEBUG_LEVEL', 0x0003 );</code>. The hexadecimal notation ( 0x0003 ) can be easier to understand when several options are involved.
|
tpls/help-for-settings_page_mla-settings-menu-custom_field.tpl
CHANGED
@@ -9,19 +9,20 @@
|
|
9 |
<p>You can also narrow the list by entering a keyword or phrase in the text box in the upper-right corner and clicking "Search Rules". <strong>NOTE:</strong> The "Search Rules" filter is “sticky”, i.e., it will persist as you resort the display, edit rules, etc. To clear it, delete the text and click "Search Rules" or simply click on the "Custom Fields" tab.</p>
|
10 |
<!-- template="mla-enable-custom-mapping" -->
|
11 |
<!-- title="Enable custom field mapping" order="20" -->
|
12 |
-
<p>
|
13 |
<ul>
|
14 |
-
<li><strong>Enable custom field mapping
|
15 |
-
<li><strong>Enable custom field mapping when
|
|
|
16 |
e.g., when the Media/Edit Media "Edit Image" functions are used.</li>
|
17 |
</ul>
|
18 |
-
|
19 |
-
<p>Check one or
|
20 |
<!-- template="mla-execute-rules" -->
|
21 |
<!-- title="Execute Rule(s)" order="30" -->
|
22 |
<p>In this tab there are three ways to execute one or more custom field mapping rules for <strong>ALL</strong> of your Media Library items:
|
23 |
<ul>
|
24 |
-
<li><strong>Execute All Rules button</strong> - just below the
|
25 |
<li><strong>Bulk Actions "Execute"</strong> - Runs the rules you select by checking the box to the left of one or more rule names. Pull down the "Bulk Actions" control and select "Execute", then click the "Apply" button. <strong>Inactive rules will be executed</strong>; do not select them unless you want to execute them!</li>
|
26 |
<li><strong>"Execute" rollover action</strong> - Runs the single rule you select by clicking the rule's "Execute" rollover action. <strong>Inactive rules will be executed</strong>.</li>
|
27 |
</ul>
|
9 |
<p>You can also narrow the list by entering a keyword or phrase in the text box in the upper-right corner and clicking "Search Rules". <strong>NOTE:</strong> The "Search Rules" filter is “sticky”, i.e., it will persist as you resort the display, edit rules, etc. To clear it, delete the text and click "Search Rules" or simply click on the "Custom Fields" tab.</p>
|
10 |
<!-- template="mla-enable-custom-mapping" -->
|
11 |
<!-- title="Enable custom field mapping" order="20" -->
|
12 |
+
<p>Three checkbox options control the custom field mapping when new items are added to the Media Library:
|
13 |
<ul>
|
14 |
+
<li><strong>Enable custom field mapping</strong> - Check this option to enable the mapping rules and display the "Map" buttons on the Media/Edit Media and Media/Assistant Bulk Edit screens.</li>
|
15 |
+
<li><strong>Enable custom field mapping when adding new media</strong> - Check this option to enable mapping when uploading new items (attachments) to the Media Library.</li>
|
16 |
+
<li><strong>Enable custom field mapping when updating media metadata</strong> - Check this option to enable mapping when item (attachment) metadata is regenerated,
|
17 |
e.g., when the Media/Edit Media "Edit Image" functions are used.</li>
|
18 |
</ul>
|
19 |
+
The "when adding" and "when updating" options do <strong>NOT</strong> affect the operation of the "Map" buttons on the bulk edit or single edit screens, nor do they affect any of the "Execute" mapping functions On this Settings screen.</p>
|
20 |
+
<p>Check one or more options to enable these features, then click the "Save Changes" button to record your new setting(s).</p>
|
21 |
<!-- template="mla-execute-rules" -->
|
22 |
<!-- title="Execute Rule(s)" order="30" -->
|
23 |
<p>In this tab there are three ways to execute one or more custom field mapping rules for <strong>ALL</strong> of your Media Library items:
|
24 |
<ul>
|
25 |
+
<li><strong>Execute All Rules button</strong> - just below the "Enable" checkbox controls in the upper-left portion of the tab. Click this button to immediately run <strong>ALL</strong> of the active rules. Rules marked as inactive will not be executed.</li>
|
26 |
<li><strong>Bulk Actions "Execute"</strong> - Runs the rules you select by checking the box to the left of one or more rule names. Pull down the "Bulk Actions" control and select "Execute", then click the "Apply" button. <strong>Inactive rules will be executed</strong>; do not select them unless you want to execute them!</li>
|
27 |
<li><strong>"Execute" rollover action</strong> - Runs the single rule you select by clicking the rule's "Execute" rollover action. <strong>Inactive rules will be executed</strong>.</li>
|
28 |
</ul>
|
tpls/help-for-settings_page_mla-settings-menu-iptc_exif.tpl
CHANGED
@@ -9,19 +9,20 @@
|
|
9 |
<p>You can also narrow the list by entering a keyword or phrase in the text box in the upper-right corner and clicking "Search Rules". <strong>NOTE:</strong> The "Search Rules" filter is “sticky”, i.e., it will persist as you resort the display, edit rules, etc. To clear it, delete the text and click "Search Rules" or simply click on the "IPTC/EXIF" tab title.</p>
|
10 |
<!-- template="mla-enable-mapping" -->
|
11 |
<!-- title="Enable IPTC/EXIF mapping" order="20" -->
|
12 |
-
<p>
|
13 |
<ul>
|
14 |
-
<li><strong>Enable IPTC/EXIF
|
15 |
-
<li><strong>Enable IPTC/EXIF
|
|
|
16 |
e.g., when the Media/Edit Media "Edit Image" functions are used.</li>
|
17 |
</ul>
|
18 |
-
|
19 |
-
<p>Check one or
|
20 |
<!-- template="mla-execute-rules" -->
|
21 |
<!-- title="Execute Rule(s)" order="30" -->
|
22 |
<p>In this tab there are three ways to execute one or more IPTC/EXIF mapping rules for <strong>ALL</strong> of your Media Library items:
|
23 |
<ul>
|
24 |
-
<li><strong>Execute All Rules button</strong> - just below the
|
25 |
<li><strong>Bulk Actions "Execute"</strong> - Runs the rules you select by checking the box to the left of one or more rule names. Pull down the "Bulk Actions" control and select "Execute", then click the "Apply" button. <strong>Inactive rules will be executed</strong>; do not select them unless you want to execute them!</li>
|
26 |
<li><strong>"Execute" rollover action</strong> - Runs the single rule you select by clicking the rule's "Execute" rollover action. <strong>Inactive rules will be executed</strong>.</li>
|
27 |
</ul>
|
9 |
<p>You can also narrow the list by entering a keyword or phrase in the text box in the upper-right corner and clicking "Search Rules". <strong>NOTE:</strong> The "Search Rules" filter is “sticky”, i.e., it will persist as you resort the display, edit rules, etc. To clear it, delete the text and click "Search Rules" or simply click on the "IPTC/EXIF" tab title.</p>
|
10 |
<!-- template="mla-enable-mapping" -->
|
11 |
<!-- title="Enable IPTC/EXIF mapping" order="20" -->
|
12 |
+
<p>Three checkbox options control the IPTC/EXIF mapping when new items are added to the Media Library:
|
13 |
<ul>
|
14 |
+
<li><strong>Enable IPTC/EXIF Mapping</strong> - Check this option to enable the mapping rules and display the "Map" buttons on the Media/Edit Media and Media/Assistant Bulk Edit screens.</li>
|
15 |
+
<li><strong>Enable IPTC/EXIF Mapping when adding new media</strong> - Check this option to enable mapping when uploading new items (attachments) to the Media Library.</li>
|
16 |
+
<li><strong>Enable IPTC/EXIF Mapping when updating media metadata</strong> - Check this option to enable mapping when item (attachment) metadata is regenerated,
|
17 |
e.g., when the Media/Edit Media "Edit Image" functions are used.</li>
|
18 |
</ul>
|
19 |
+
The "when adding" and "when updating" options do <strong>NOT</strong> affect the operation of the "Map" buttons on the bulk edit or single edit screens, nor do they affect any of the "Execute" mapping functions On this Settings screen.</p>
|
20 |
+
<p>Check one or more options to enable these features, then click the "Save Changes" button to record your new setting(s).</p>
|
21 |
<!-- template="mla-execute-rules" -->
|
22 |
<!-- title="Execute Rule(s)" order="30" -->
|
23 |
<p>In this tab there are three ways to execute one or more IPTC/EXIF mapping rules for <strong>ALL</strong> of your Media Library items:
|
24 |
<ul>
|
25 |
+
<li><strong>Execute All Rules button</strong> - just below the "Enable" checkbox controls in the upper-left portion of the tab. Click this button to immediately run <strong>ALL</strong> of the active rules. Rules marked as inactive will not be executed.</li>
|
26 |
<li><strong>Bulk Actions "Execute"</strong> - Runs the rules you select by checking the box to the left of one or more rule names. Pull down the "Bulk Actions" control and select "Execute", then click the "Apply" button. <strong>Inactive rules will be executed</strong>; do not select them unless you want to execute them!</li>
|
27 |
<li><strong>"Execute" rollover action</strong> - Runs the single rule you select by clicking the rule's "Execute" rollover action. <strong>Inactive rules will be executed</strong>.</li>
|
28 |
</ul>
|