Version Description
- New: A new "MLA Phoenix Media Rename Example" plugin has been added to the "Examples" family in the Settings/Media Library Assistant Documentation tab. It adds support for the Phoenix Media Rename plugin's "Filename" column to the Media/Assistant submenu table.
- Fix: For the Media/Assistant admin submenu screen, avoid "headers already sent" error with JoomUnited's WP Media Folders.
- Fix: Improved error handling and debug logging for PDF thumbnail generation, especially "WordPress style" thumbnails.
- Fix: Avoid Javascript "Uncaught Reference Error" in
mla-define-ajaxurl-scripts.js
, e.g., for Divi theme. - Fix: PHP 7.x compatibility error in
class-mla-settings-documentation-tab.php
, functionMLA_Upgrader_Skin->feedback()
has been resolved. - Fix: When the per-user "admin language" is set to "English (United States)", the untranslated MLA strings are restored in "back end" mode.
- Fix: Improve handling of shortcode parameter/content errors, avoiding misleading "Invalid tax_query" messages. Improved error information in the
mla_debug
output as well. - Fix: For the "MLA Insert Fixit" example plugin, correct flaw in finding inserted images that have a relative path in the
src=
attribute of the IMG tag. - Fix: For the "MLA Insert Fixit" example plugin, correct flaw in finding inserted images that have other attributes preceding
src=
in the IMG tag. - Fix: For the
,extract(p,v)
option/format value, correct named subpattern andmatches:
prefix handling. - Fix: When Polylang is active, eliminate PHP messages and errors for some Media/Assistant Bulk Translate settings.
- Fix: When decoding the
wp_filter
list for debug logging, unknown reference types no longer cause PHP errors. - Fix: Handles new synchronization protocol for WP/LR Sync version 5.0+
Download this release
Release Info
Developer | dglingren |
Plugin | Media Library Assistant |
Version | 2.80 |
Comparing to | |
See all releases |
Code changes from version 2.79 to 2.80
- examples/plugins/mla-insert-fixit.php +51 -22
- examples/plugins/mla-phoenix-media-rename-example.php +176 -0
- includes/class-mla-core.php +11 -8
- includes/class-mla-data-source.php +1 -1
- includes/class-mla-data.php +21 -12
- includes/class-mla-image-processor.php +25 -19
- includes/class-mla-main.php +7 -2
- includes/class-mla-options.php +12 -8
- includes/class-mla-polylang-support.php +16 -5
- includes/class-mla-settings-documentation-tab.php +7 -7
- includes/class-mla-shortcode-support.php +37 -3
- includes/class-mla-thumbnail-generation.php +5 -7
- includes/mla-plugin-loader.php +16 -5
- index.php +2 -2
- js/mla-define-ajaxurl-scripts.js +26 -2
- js/mla-define-ajaxurl-scripts.min.js +1 -1
- js/mla-thumbnail-generation-scripts.js +4 -5
- languages/media-library-assistant-en_US - References.pot +352 -347
- languages/media-library-assistant-en_US.po +5 -2
- languages/media-library-assistant-en_US.pot +4 -1
- readme.txt +19 -4
- tpls/documentation-settings-tab.tpl +11 -3
examples/plugins/mla-insert-fixit.php
CHANGED
@@ -32,8 +32,12 @@
|
|
32 |
* opened on 3/01/2018 by "diesel33"
|
33 |
* https://wordpress.org/support/topic/mla-shortcode-to-show-images-of-all-posts-of-a-wp-category
|
34 |
*
|
|
|
|
|
|
|
|
|
35 |
* @package Insert Fixit
|
36 |
-
* @version 1.
|
37 |
*/
|
38 |
|
39 |
/*
|
@@ -41,10 +45,10 @@ Plugin Name: MLA Insert Fixit
|
|
41 |
Plugin URI: http://davidlingren.com/
|
42 |
Description: Synchronizes Media Library values to and from post/page inserted/featured/attached images
|
43 |
Author: David Lingren
|
44 |
-
Version: 1.
|
45 |
Author URI: http://davidlingren.com/
|
46 |
|
47 |
-
Copyright 2015-
|
48 |
|
49 |
This program is free software; you can redistribute it and/or modify
|
50 |
it under the terms of the GNU General Public License as published by
|
@@ -74,7 +78,7 @@ class Insert_Fixit {
|
|
74 |
*
|
75 |
* @var string
|
76 |
*/
|
77 |
-
const CURRENT_VERSION = '1.
|
78 |
|
79 |
/**
|
80 |
* Slug prefix for registering and enqueueing submenu pages, style sheets and scripts
|
@@ -490,11 +494,26 @@ class Insert_Fixit {
|
|
490 |
/**
|
491 |
* Array of post/page IDs giving inserted image URL and ALT Text:
|
492 |
* post/page ID => array(
|
493 |
-
*
|
494 |
-
*
|
495 |
-
*
|
496 |
-
*
|
497 |
-
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
498 |
*
|
499 |
* @since 1.00
|
500 |
*
|
@@ -546,10 +565,14 @@ class Insert_Fixit {
|
|
546 |
$upload_dir = wp_upload_dir();
|
547 |
//error_log( __LINE__ . ' Insert_Fixit::_build_image_inserts_cache() $upload_dir = ' . var_export( $upload_dir, true ), 0 );
|
548 |
$upload_dir = $upload_dir['baseurl'] . '/';
|
|
|
|
|
|
|
|
|
549 |
|
550 |
$image_inserts = array();
|
551 |
foreach ( $results as $result ) {
|
552 |
-
$match_count = preg_match_all( '/\<img
|
553 |
//error_log( __LINE__ . " Insert_Fixit::_build_image_inserts_cache( {$result->ID} ) \$matches = " . var_export( $matches, true ), 0 );
|
554 |
if ( $match_count ) {
|
555 |
$image_inserts[ $result->ID ]['content'] = $result->post_content;
|
@@ -567,7 +590,8 @@ class Insert_Fixit {
|
|
567 |
|
568 |
// src= file URL
|
569 |
foreach( $matches[2] as $index => $match ) {
|
570 |
-
|
|
|
571 |
$image_inserts[ $result->ID ]['files'][] = $file;
|
572 |
$image_inserts[ $result->ID ]['inserts'][ $index ]['src'] = $file;
|
573 |
$image_inserts[ $result->ID ]['inserts'][ $index ]['src_offset'] = $match[1];
|
@@ -589,7 +613,7 @@ class Insert_Fixit {
|
|
589 |
|
590 |
$return = set_transient( self::SLUG_PREFIX . 'image_inserts', $image_inserts, 900 ); // fifteen minutes
|
591 |
//error_log( __LINE__ . " Insert_Fixit::_build_image_inserts_cache set_transient return = " . var_export( $return, true ), 0 );
|
592 |
-
//error_log( __LINE__ . " Insert_Fixit::_build_image_inserts_cache image_inserts " . var_export($image_inserts, true ), 0 );
|
593 |
self::$image_inserts = $image_inserts;
|
594 |
|
595 |
return 'Image inserts cache refreshed with ' . count( self::$image_inserts ) . ' post/page elements.';
|
@@ -688,7 +712,9 @@ class Insert_Fixit {
|
|
688 |
|
689 |
/**
|
690 |
* Array of attachment IDs giving posts/pages their ID appears in
|
691 |
-
* attachment ID => array(
|
|
|
|
|
692 |
*
|
693 |
* @since 1.08
|
694 |
*
|
@@ -763,14 +789,19 @@ class Insert_Fixit {
|
|
763 |
|
764 |
$return = set_transient( self::SLUG_PREFIX . 'item_references', self::$item_references, 900 ); // fifteen minutes
|
765 |
//error_log( __LINE__ . " Insert_Fixit::_build_item_references_cache set_transient return = " . var_export( $return, true ), 0 );
|
766 |
-
//error_log( __LINE__ . " Insert_Fixit::_build_item_references_cache item_references " . var_export( self::$item_references, true ), 0 );
|
767 |
|
768 |
return 'Item references cache refreshed with ' . count( self::$item_references ) . ' items referenced in ' . count( $results ) . ' post/page elements.';
|
769 |
} // _build_item_references_cache
|
770 |
|
771 |
/**
|
772 |
* Array of attachment IDs giving inserted image files:
|
773 |
-
* attachment ID => array(
|
|
|
|
|
|
|
|
|
|
|
774 |
*
|
775 |
* @since 1.00
|
776 |
*
|
@@ -879,7 +910,9 @@ class Insert_Fixit {
|
|
879 |
$inserts = array();
|
880 |
|
881 |
foreach( $files as $file ) {
|
|
|
882 |
foreach ( self::$image_inserts as $insert_id => $value ) {
|
|
|
883 |
if ( in_array( $file, $value['files'] ) ) {
|
884 |
$inserts[ $insert_id ][] = $file;
|
885 |
}
|
@@ -903,7 +936,7 @@ class Insert_Fixit {
|
|
903 |
|
904 |
$return = set_transient( self::SLUG_PREFIX . 'image_objects', $references, 900 ); // fifteen minutes
|
905 |
//error_log( __LINE__ . " Insert_Fixit::_build_image_objects_cache set_transient return = " . var_export( $return, true ), 0 );
|
906 |
-
//error_log( __LINE__ . " Insert_Fixit::_build_image_objects_cache
|
907 |
self::$image_objects = $references;
|
908 |
|
909 |
return 'Image objects cache refreshed with ' . count( self::$image_objects ) . ' attachment elements.';
|
@@ -963,14 +996,10 @@ class Insert_Fixit {
|
|
963 |
$preg_pattern = '/ ' . $attribute_name . '="([^"]*)"[ ]*/';
|
964 |
//error_log( __LINE__ . " Insert_Fixit::_build_image_inserts_cache( {$operation} ) \$preg_pattern = " . var_export( $preg_pattern, true ), 0 );
|
965 |
|
966 |
-
|
967 |
-
* Load the image_inserts array
|
968 |
-
*/
|
969 |
self::_build_image_inserts_cache( true );
|
970 |
|
971 |
-
|
972 |
-
* Load the image_objects array
|
973 |
-
*/
|
974 |
self::_build_image_objects_cache( true );
|
975 |
|
976 |
// Initialize statistics
|
32 |
* opened on 3/01/2018 by "diesel33"
|
33 |
* https://wordpress.org/support/topic/mla-shortcode-to-show-images-of-all-posts-of-a-wp-category
|
34 |
*
|
35 |
+
* Enhanced for support topic "Updating decsription and alternative text for image already linked to a post"
|
36 |
+
* opened on 1/28/2019 by "scubarob"
|
37 |
+
* https://wordpress.org/support/topic/updating-decsription-and-alternative-text-for-image-already-linked-to-a-post/
|
38 |
+
*
|
39 |
* @package Insert Fixit
|
40 |
+
* @version 1.12
|
41 |
*/
|
42 |
|
43 |
/*
|
45 |
Plugin URI: http://davidlingren.com/
|
46 |
Description: Synchronizes Media Library values to and from post/page inserted/featured/attached images
|
47 |
Author: David Lingren
|
48 |
+
Version: 1.12
|
49 |
Author URI: http://davidlingren.com/
|
50 |
|
51 |
+
Copyright 2015-2019 David Lingren
|
52 |
|
53 |
This program is free software; you can redistribute it and/or modify
|
54 |
it under the terms of the GNU General Public License as published by
|
78 |
*
|
79 |
* @var string
|
80 |
*/
|
81 |
+
const CURRENT_VERSION = '1.12';
|
82 |
|
83 |
/**
|
84 |
* Slug prefix for registering and enqueueing submenu pages, style sheets and scripts
|
494 |
/**
|
495 |
* Array of post/page IDs giving inserted image URL and ALT Text:
|
496 |
* post/page ID => array(
|
497 |
+
* 'content' => post_content,
|
498 |
+
* 'files' => URL to img src,
|
499 |
+
* 'inserts' => array(
|
500 |
+
* 'img' => complete <img ...> tag,
|
501 |
+
* 'img_offset' => offset within post_content,
|
502 |
+
* 'src_att' => complete src="..." attribute,
|
503 |
+
* 'src_att_offset' => offset within post_content,
|
504 |
+
* 'src' => URL portion of src= attribute,
|
505 |
+
* 'src_offset' => offset within post_content,
|
506 |
+
* 'alt' => content of alt="..." attribute,
|
507 |
+
* 'alt_offset' => offset within post_content
|
508 |
+
* )
|
509 |
+
* // For the add/replace/delete attribute tools:
|
510 |
+
* 'replacements' => array(
|
511 |
+
* new_offset => array (
|
512 |
+
* 'length' => strlen of the replacement
|
513 |
+
* 'text' => new value
|
514 |
+
* )
|
515 |
+
* )
|
516 |
+
* )
|
517 |
*
|
518 |
* @since 1.00
|
519 |
*
|
565 |
$upload_dir = wp_upload_dir();
|
566 |
//error_log( __LINE__ . ' Insert_Fixit::_build_image_inserts_cache() $upload_dir = ' . var_export( $upload_dir, true ), 0 );
|
567 |
$upload_dir = $upload_dir['baseurl'] . '/';
|
568 |
+
$site_url = get_site_url();
|
569 |
+
//error_log( __LINE__ . ' Insert_Fixit::_build_image_inserts_cache() $site_url = ' . var_export( $site_url, true ), 0 );
|
570 |
+
$upload_subdir = str_replace( $site_url, '', $upload_dir );
|
571 |
+
//error_log( __LINE__ . ' Insert_Fixit::_build_image_inserts_cache() $upload_subdir = ' . var_export( $upload_subdir, true ), 0 );
|
572 |
|
573 |
$image_inserts = array();
|
574 |
foreach ( $results as $result ) {
|
575 |
+
$match_count = preg_match_all( '/\<img .*(src="([^"]*)")[^\>]*\>/', $result->post_content, $matches, PREG_OFFSET_CAPTURE );
|
576 |
//error_log( __LINE__ . " Insert_Fixit::_build_image_inserts_cache( {$result->ID} ) \$matches = " . var_export( $matches, true ), 0 );
|
577 |
if ( $match_count ) {
|
578 |
$image_inserts[ $result->ID ]['content'] = $result->post_content;
|
590 |
|
591 |
// src= file URL
|
592 |
foreach( $matches[2] as $index => $match ) {
|
593 |
+
// Remove absolute and relative paths to the upload directory
|
594 |
+
$file = str_replace( $upload_subdir, '', str_replace( $upload_dir, '', $match[0] ) );
|
595 |
$image_inserts[ $result->ID ]['files'][] = $file;
|
596 |
$image_inserts[ $result->ID ]['inserts'][ $index ]['src'] = $file;
|
597 |
$image_inserts[ $result->ID ]['inserts'][ $index ]['src_offset'] = $match[1];
|
613 |
|
614 |
$return = set_transient( self::SLUG_PREFIX . 'image_inserts', $image_inserts, 900 ); // fifteen minutes
|
615 |
//error_log( __LINE__ . " Insert_Fixit::_build_image_inserts_cache set_transient return = " . var_export( $return, true ), 0 );
|
616 |
+
//error_log( __LINE__ . " Insert_Fixit::_build_image_inserts_cache self::\$image_inserts " . var_export($image_inserts, true ), 0 );
|
617 |
self::$image_inserts = $image_inserts;
|
618 |
|
619 |
return 'Image inserts cache refreshed with ' . count( self::$image_inserts ) . ' post/page elements.';
|
712 |
|
713 |
/**
|
714 |
* Array of attachment IDs giving posts/pages their ID appears in
|
715 |
+
* attachment ID => array( post/page ID => post/page ID )
|
716 |
+
*
|
717 |
+
* Used exclusively by _attach_referenced_in()
|
718 |
*
|
719 |
* @since 1.08
|
720 |
*
|
789 |
|
790 |
$return = set_transient( self::SLUG_PREFIX . 'item_references', self::$item_references, 900 ); // fifteen minutes
|
791 |
//error_log( __LINE__ . " Insert_Fixit::_build_item_references_cache set_transient return = " . var_export( $return, true ), 0 );
|
792 |
+
//error_log( __LINE__ . " Insert_Fixit::_build_item_references_cache self::\$item_references " . var_export( self::$item_references, true ), 0 );
|
793 |
|
794 |
return 'Item references cache refreshed with ' . count( self::$item_references ) . ' items referenced in ' . count( $results ) . ' post/page elements.';
|
795 |
} // _build_item_references_cache
|
796 |
|
797 |
/**
|
798 |
* Array of attachment IDs giving inserted image files:
|
799 |
+
* attachment ID => array(
|
800 |
+
* post/page ID => array(
|
801 |
+
* [] => URLs to inserted file
|
802 |
+
* ),
|
803 |
+
* 'parent' => attachment parent ID, // optional for _attach_inserted_in()
|
804 |
+
* )
|
805 |
*
|
806 |
* @since 1.00
|
807 |
*
|
910 |
$inserts = array();
|
911 |
|
912 |
foreach( $files as $file ) {
|
913 |
+
//error_log( __LINE__ . " Insert_Fixit::_array_image_inserts_references( {$result->ID} ) file = " . var_export( $file, true ), 0 );
|
914 |
foreach ( self::$image_inserts as $insert_id => $value ) {
|
915 |
+
//error_log( __LINE__ . " Insert_Fixit::_array_image_inserts_references( {$insert_id} ) value = " . var_export( $value, true ), 0 );
|
916 |
if ( in_array( $file, $value['files'] ) ) {
|
917 |
$inserts[ $insert_id ][] = $file;
|
918 |
}
|
936 |
|
937 |
$return = set_transient( self::SLUG_PREFIX . 'image_objects', $references, 900 ); // fifteen minutes
|
938 |
//error_log( __LINE__ . " Insert_Fixit::_build_image_objects_cache set_transient return = " . var_export( $return, true ), 0 );
|
939 |
+
//error_log( __LINE__ . " Insert_Fixit::_build_image_objects_cache self::\$image_objects = " . var_export( $references, true ), 0 );
|
940 |
self::$image_objects = $references;
|
941 |
|
942 |
return 'Image objects cache refreshed with ' . count( self::$image_objects ) . ' attachment elements.';
|
996 |
$preg_pattern = '/ ' . $attribute_name . '="([^"]*)"[ ]*/';
|
997 |
//error_log( __LINE__ . " Insert_Fixit::_build_image_inserts_cache( {$operation} ) \$preg_pattern = " . var_export( $preg_pattern, true ), 0 );
|
998 |
|
999 |
+
// Load the image_inserts array
|
|
|
|
|
1000 |
self::_build_image_inserts_cache( true );
|
1001 |
|
1002 |
+
// Load the image_objects array
|
|
|
|
|
1003 |
self::_build_image_objects_cache( true );
|
1004 |
|
1005 |
// Initialize statistics
|
examples/plugins/mla-phoenix-media-rename-example.php
ADDED
@@ -0,0 +1,176 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Provides an example of hooking the filters provided by the MLA_List_Table class
|
4 |
+
*
|
5 |
+
* In this example, Phoenix Media Rename's "Filename" column is added to the Media/Assistant submenu table.
|
6 |
+
*
|
7 |
+
* Created for support topic "support Phoenix Media Rename"
|
8 |
+
* opened on 8/7/2019 by "cyberchicken":
|
9 |
+
* https://wordpress.org/support/topic/support-phoenix-media-rename/
|
10 |
+
*
|
11 |
+
* @package MLA Phoenix Media Rename Example
|
12 |
+
* @version 1.00
|
13 |
+
*/
|
14 |
+
|
15 |
+
/*
|
16 |
+
Plugin Name: MLA Phoenix Media Rename Example
|
17 |
+
Plugin URI: http://davidlingren.com/
|
18 |
+
Description: Adds support for Phoenix Media Rename's "Filename" column in the Media/Assistant submenu table.
|
19 |
+
Author: David Lingren
|
20 |
+
Version: 1.00
|
21 |
+
Author URI: http://davidlingren.com/
|
22 |
+
|
23 |
+
Copyright 2019 David Lingren
|
24 |
+
|
25 |
+
This program is free software; you can redistribute it and/or modify
|
26 |
+
it under the terms of the GNU General Public License as published by
|
27 |
+
the Free Software Foundation; either version 2 of the License, or
|
28 |
+
(at your option) any later version.
|
29 |
+
|
30 |
+
This program is distributed in the hope that it will be useful,
|
31 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
32 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
33 |
+
GNU General Public License for more details.
|
34 |
+
|
35 |
+
You can get a copy of the GNU General Public License by writing to the
|
36 |
+
Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA
|
37 |
+
*/
|
38 |
+
|
39 |
+
/**
|
40 |
+
* Class MLA ACF Checkbox Example hooks some of the filters provided by the MLA_List_Table class
|
41 |
+
*
|
42 |
+
* Call it anything you want, but give it an unlikely and hopefully unique name. Hiding everything
|
43 |
+
* else inside a class means this is the only name you have to worry about.
|
44 |
+
*
|
45 |
+
* @package MLA ACF Checkbox Example
|
46 |
+
* @since 1.00
|
47 |
+
*/
|
48 |
+
class MLAPhoenixMediaRenameExample {
|
49 |
+
/**
|
50 |
+
* Initialization function, similar to __construct()
|
51 |
+
*
|
52 |
+
* @since 1.00
|
53 |
+
*
|
54 |
+
* @return void
|
55 |
+
*/
|
56 |
+
public static function initialize() {
|
57 |
+
// The filters are only useful for the admin section; exit in the front-end posts/pages
|
58 |
+
if ( ! is_admin() ) {
|
59 |
+
return;
|
60 |
+
}
|
61 |
+
|
62 |
+
// The filters are only useful for the Phoenix Media Rename plugin is installed and active
|
63 |
+
if ( class_exists( 'Phoenix_Media_Rename' ) ) {
|
64 |
+
self::$pmr = new Phoenix_Media_Rename;
|
65 |
+
} else {
|
66 |
+
return;
|
67 |
+
}
|
68 |
+
|
69 |
+
/*
|
70 |
+
* add_filter parameters:
|
71 |
+
* $tag - name of the hook you're filtering; defined by [mla_gallery]
|
72 |
+
* $function_to_add - function to be called when [mla_gallery] applies the filter
|
73 |
+
* $priority - default 10; lower runs earlier, higher runs later
|
74 |
+
* $accepted_args - number of arguments your function accepts
|
75 |
+
*/
|
76 |
+
|
77 |
+
// Defined in /media-library-assistant/includes/class-mla-main.php
|
78 |
+
add_filter( 'mla_list_table_custom_bulk_action', 'MLAPhoenixMediaRenameExample::mla_list_table_custom_bulk_action', 10, 3 ); //
|
79 |
+
|
80 |
+
// Defined in /media-library-assistant/includes/class-mla-list-table.php
|
81 |
+
add_filter( 'mla_list_table_get_columns', 'MLAPhoenixMediaRenameExample::mla_list_table_get_columns', 10, 1 ); //
|
82 |
+
add_filter( 'mla_list_table_column_default', 'MLAPhoenixMediaRenameExample::mla_list_table_column_default', 10, 3 ); //
|
83 |
+
}
|
84 |
+
|
85 |
+
/**
|
86 |
+
* Makes the Phoeniz Media Rename functions accessible to this plugin
|
87 |
+
*
|
88 |
+
* @since 1.00
|
89 |
+
*
|
90 |
+
* @var array
|
91 |
+
*/
|
92 |
+
private static $pmr = NULL;
|
93 |
+
|
94 |
+
/**
|
95 |
+
* Process an MLA_List_Table custom bulk action
|
96 |
+
*
|
97 |
+
* This filter gives you an opportunity to pre-process an MLA_List_Table page-level
|
98 |
+
* or single-item action, standard or custom, before the MLA handler.
|
99 |
+
* The filter is called once for each of the items in $_REQUEST['cb_attachment'].
|
100 |
+
*
|
101 |
+
* @since 1.00
|
102 |
+
*
|
103 |
+
* @param array $item_content NULL, to indicate no handler.
|
104 |
+
* @param string $bulk_action the requested action.
|
105 |
+
* @param integer $post_id the affected attachment.
|
106 |
+
*
|
107 |
+
* @return object updated $item_content. NULL if no handler, otherwise
|
108 |
+
* ( 'message' => error or status message(s), 'body' => '',
|
109 |
+
* 'prevent_default' => true to bypass the MLA handler )
|
110 |
+
*/
|
111 |
+
public static function mla_list_table_custom_bulk_action( $item_content, $bulk_action, $post_id ) {
|
112 |
+
// Apply the Phoenix Media Rename action, if requested.
|
113 |
+
$retitle = constant("actionRenameRetitle") === $bulk_action;
|
114 |
+
if ( $retitle || constant("actionRename") === $bulk_action ) {
|
115 |
+
$new_filename = isset( $_REQUEST['mla-media-rename'][$post_id] ) ? $_REQUEST['mla-media-rename'][$post_id] : false;
|
116 |
+
if ( $new_filename ) {
|
117 |
+
$result = self::$pmr->do_rename($post_id, $new_filename, $retitle);
|
118 |
+
} else {
|
119 |
+
$result = 0;
|
120 |
+
}
|
121 |
+
|
122 |
+
$result = ( 1 === $result ) ? __( 'succeeded', 'media-library-assistant' ) : __( 'failed', 'media-library-assistant' );
|
123 |
+
$action = $retitle ? __( 'Rename & Retitle', 'media-library-assistant' ) : __( 'Rename', 'media-library-assistant' );
|
124 |
+
$item_content = array( 'message' => sprintf( __( '%1$s for item %2$d %3$s', 'media-library-assistant' ), $action, $post_id, $result ) );
|
125 |
+
}
|
126 |
+
|
127 |
+
return $item_content;
|
128 |
+
} // mla_list_table_custom_bulk_action
|
129 |
+
|
130 |
+
/**
|
131 |
+
* Filter the MLA_List_Table columns
|
132 |
+
*
|
133 |
+
* This MLA-specific filter gives you an opportunity to filter the list table columns.
|
134 |
+
*
|
135 |
+
* @since 1.00
|
136 |
+
*
|
137 |
+
* @param array $columns An array of columns.
|
138 |
+
* format: column_slug => Column Label
|
139 |
+
*
|
140 |
+
* @return array updated array of columns.
|
141 |
+
*/
|
142 |
+
public static function mla_list_table_get_columns( $columns ) {
|
143 |
+
return self::$pmr->add_filename_column( $columns );
|
144 |
+
} // mla_list_table_get_columns_filter
|
145 |
+
|
146 |
+
/**
|
147 |
+
* Supply a column value if no column-specific function has been defined
|
148 |
+
*
|
149 |
+
* Called when the MLA_List_Table can't find a value for a given column.
|
150 |
+
*
|
151 |
+
* @since 1.00
|
152 |
+
*
|
153 |
+
* @param string NULL, indicating no default content
|
154 |
+
* @param array A singular item (one full row's worth of data)
|
155 |
+
* @param array The name/slug of the column to be processed
|
156 |
+
* @return string Text or HTML to be placed inside the column
|
157 |
+
*/
|
158 |
+
public static function mla_list_table_column_default( $content, $item, $column_name ) {
|
159 |
+
if ( 'filename' == $column_name ) {
|
160 |
+
ob_start();
|
161 |
+
self::$pmr->add_filename_column_content( $column_name, $item->ID );
|
162 |
+
$content = ob_get_clean();
|
163 |
+
|
164 |
+
// Add a "name" attribute so we can access the updated "filename" column content
|
165 |
+
$name_addition = '<input name="mla-media-rename[' . $item->ID . ']" type';
|
166 |
+
$content = str_replace( '<input type', $name_addition, $content );
|
167 |
+
return $content;
|
168 |
+
}
|
169 |
+
|
170 |
+
return $content;
|
171 |
+
} // mla_list_table_column_default_filter
|
172 |
+
} // Class MLAPhoenixMediaRenameExample
|
173 |
+
|
174 |
+
// Install the filters at an early opportunity
|
175 |
+
add_action('init', 'MLAPhoenixMediaRenameExample::initialize');
|
176 |
+
?>
|
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)
|
@@ -518,11 +518,8 @@ class MLACore {
|
|
518 |
* @return void
|
519 |
*/
|
520 |
public static function mla_plugins_loaded_action_wpml(){
|
521 |
-
|
522 |
-
* Defined in /sitepress-multilingual-cms/sitepress.class.php
|
523 |
-
*/
|
524 |
add_filter( 'wpml_unset_lang_admin_bar', 'MLACore::wpml_unset_lang_admin_bar', 10, 1 );
|
525 |
-
//error_log( __LINE__ . " wpml_unset_lang_admin_bar added ", 0 );
|
526 |
} // mla_plugins_loaded_action_wpml
|
527 |
|
528 |
/**
|
@@ -535,7 +532,6 @@ class MLACore {
|
|
535 |
public static function wpml_unset_lang_admin_bar( $suppress_all_languages ) {
|
536 |
global $pagenow, $mode;
|
537 |
|
538 |
-
//error_log( __LINE__ . " wpml_unset_lang_admin_bar( {$pagenow}, {$mode}, {$suppress_all_languages} ) returning " . var_export( $pagenow === 'upload.php' && $mode === 'grid', true ), 0 );
|
539 |
return $pagenow === 'upload.php' && $mode === 'grid';
|
540 |
}
|
541 |
|
@@ -552,7 +548,12 @@ class MLACore {
|
|
552 |
*/
|
553 |
public static function mla_plugins_loaded_action(){
|
554 |
$text_domain = 'media-library-assistant';
|
555 |
-
$locale =
|
|
|
|
|
|
|
|
|
|
|
556 |
|
557 |
/*
|
558 |
* To override the plugin's translation files for one, some or all strings,
|
@@ -1492,7 +1493,7 @@ class MLACore {
|
|
1492 |
$hook_list .= "{$tag} => ";
|
1493 |
if ( is_string( $reference['function'] ) ) {
|
1494 |
$hook_list .= $reference['function'] . "()\n";
|
1495 |
-
}
|
1496 |
if ( is_object( $reference['function'][0] ) ) {
|
1497 |
$hook_list .= get_class( $reference['function'][0] ) . '->';
|
1498 |
} else {
|
@@ -1500,6 +1501,8 @@ class MLACore {
|
|
1500 |
}
|
1501 |
|
1502 |
$hook_list .= $reference['function'][1] . "()\n";
|
|
|
|
|
1503 |
}
|
1504 |
} // foreach tag
|
1505 |
} // foreach proprity
|
21 |
*
|
22 |
* @var string
|
23 |
*/
|
24 |
+
const CURRENT_MLA_VERSION = '2.80';
|
25 |
|
26 |
/**
|
27 |
* Slug for registering and enqueueing plugin style sheets (moved from class-mla-main.php)
|
518 |
* @return void
|
519 |
*/
|
520 |
public static function mla_plugins_loaded_action_wpml(){
|
521 |
+
// Defined in /sitepress-multilingual-cms/sitepress.class.php
|
|
|
|
|
522 |
add_filter( 'wpml_unset_lang_admin_bar', 'MLACore::wpml_unset_lang_admin_bar', 10, 1 );
|
|
|
523 |
} // mla_plugins_loaded_action_wpml
|
524 |
|
525 |
/**
|
532 |
public static function wpml_unset_lang_admin_bar( $suppress_all_languages ) {
|
533 |
global $pagenow, $mode;
|
534 |
|
|
|
535 |
return $pagenow === 'upload.php' && $mode === 'grid';
|
536 |
}
|
537 |
|
548 |
*/
|
549 |
public static function mla_plugins_loaded_action(){
|
550 |
$text_domain = 'media-library-assistant';
|
551 |
+
$locale = function_exists( 'get_user_locale' ) ? get_user_locale() : get_locale();
|
552 |
+
$locale = apply_filters( 'mla_plugin_locale', $locale, $text_domain );
|
553 |
+
|
554 |
+
if ( is_admin() && 'en_US' === $locale ) {
|
555 |
+
$result = unload_textdomain( $text_domain );
|
556 |
+
}
|
557 |
|
558 |
/*
|
559 |
* To override the plugin's translation files for one, some or all strings,
|
1493 |
$hook_list .= "{$tag} => ";
|
1494 |
if ( is_string( $reference['function'] ) ) {
|
1495 |
$hook_list .= $reference['function'] . "()\n";
|
1496 |
+
} elseif ( is_array( $reference['function'] ) ) {
|
1497 |
if ( is_object( $reference['function'][0] ) ) {
|
1498 |
$hook_list .= get_class( $reference['function'][0] ) . '->';
|
1499 |
} else {
|
1501 |
}
|
1502 |
|
1503 |
$hook_list .= $reference['function'][1] . "()\n";
|
1504 |
+
} else {
|
1505 |
+
$hook_list .= 'unknown reference type: ' . gettype( $reference['function'] ) . "\n";
|
1506 |
}
|
1507 |
} // foreach tag
|
1508 |
} // foreach proprity
|
includes/class-mla-data-source.php
CHANGED
@@ -407,7 +407,7 @@ class MLAData_Source {
|
|
407 |
$parent_info = NULL;
|
408 |
$references = NULL;
|
409 |
$alt_text = NULL;
|
410 |
-
MLAData::mla_reset_regex_matches();
|
411 |
|
412 |
if ( 'single_attachment_mapping' == $category ) {
|
413 |
$metadata = get_metadata( 'post', $post_id, '_wp_attached_file' );
|
407 |
$parent_info = NULL;
|
408 |
$references = NULL;
|
409 |
$alt_text = NULL;
|
410 |
+
MLAData::mla_reset_regex_matches( $post_id );
|
411 |
|
412 |
if ( 'single_attachment_mapping' == $category ) {
|
413 |
$metadata = get_metadata( 'post', $post_id, '_wp_attached_file' );
|
includes/class-mla-data.php
CHANGED
@@ -178,9 +178,7 @@ class MLAData {
|
|
178 |
* @return strng Placeholders corresponding to the keys of the markup_values will be replaced with their values.
|
179 |
*/
|
180 |
public static function mla_parse_template( $tpl, $markup_values ) {
|
181 |
-
|
182 |
-
* If templates are present we must step through $tpl and expand them
|
183 |
-
*/
|
184 |
if ( isset( $markup_values['[+template_count+]'] ) ) {
|
185 |
$offset = 0;
|
186 |
while ( false !== $start = strpos( $tpl, '[+', $offset ) ) {
|
@@ -207,9 +205,7 @@ class MLAData {
|
|
207 |
} // simple substitution
|
208 |
} // while substitution parameter present
|
209 |
} else { // template(s) present
|
210 |
-
|
211 |
-
* No templates means a simple string substitution will suffice
|
212 |
-
*/
|
213 |
foreach ( $markup_values as $key => $value ) {
|
214 |
if ( is_scalar( $value ) ) {
|
215 |
$tpl = str_replace( '[+' . $key . '+]', $value, $tpl );
|
@@ -780,13 +776,20 @@ class MLAData {
|
|
780 |
*
|
781 |
* @since 2.71
|
782 |
*
|
|
|
783 |
*/
|
784 |
-
public static function mla_reset_regex_matches() {
|
785 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
786 |
}
|
787 |
|
788 |
/**
|
789 |
-
* Intercept
|
790 |
*
|
791 |
* @since 2.54
|
792 |
*
|
@@ -1039,7 +1042,11 @@ class MLAData {
|
|
1039 |
$pattern = trim( $args['args'][0] );
|
1040 |
|
1041 |
if ( 1 < count( $args['args'] ) ) {
|
1042 |
-
$return_value =
|
|
|
|
|
|
|
|
|
1043 |
}
|
1044 |
} else {
|
1045 |
$pattern = trim( $args['args'] );
|
@@ -1151,7 +1158,7 @@ class MLAData {
|
|
1151 |
* Analyze a template, expanding Field-level Markup Substitution Parameters
|
1152 |
*
|
1153 |
* Field-level parameters must have one of the following prefix values:
|
1154 |
-
* template,
|
1155 |
* All but request and query require an attachment ID.
|
1156 |
*
|
1157 |
* @since 1.50
|
@@ -1173,7 +1180,7 @@ class MLAData {
|
|
1173 |
$item_metadata = NULL;
|
1174 |
$attachment_metadata = NULL;
|
1175 |
$id3_metadata = NULL;
|
1176 |
-
MLAData::mla_reset_regex_matches();
|
1177 |
$cached_post_id = $post_id;
|
1178 |
}
|
1179 |
|
@@ -3259,6 +3266,8 @@ class MLAData {
|
|
3259 |
}
|
3260 |
|
3261 |
$size = getimagesize( $path, $info );
|
|
|
|
|
3262 |
|
3263 |
if ( is_callable( 'iptcparse' ) ) {
|
3264 |
if ( ! empty( $info['APP13'] ) ) {
|
178 |
* @return strng Placeholders corresponding to the keys of the markup_values will be replaced with their values.
|
179 |
*/
|
180 |
public static function mla_parse_template( $tpl, $markup_values ) {
|
181 |
+
// If templates are present we must step through $tpl and expand them
|
|
|
|
|
182 |
if ( isset( $markup_values['[+template_count+]'] ) ) {
|
183 |
$offset = 0;
|
184 |
while ( false !== $start = strpos( $tpl, '[+', $offset ) ) {
|
205 |
} // simple substitution
|
206 |
} // while substitution parameter present
|
207 |
} else { // template(s) present
|
208 |
+
// No templates means a simple string substitution will suffice
|
|
|
|
|
209 |
foreach ( $markup_values as $key => $value ) {
|
210 |
if ( is_scalar( $value ) ) {
|
211 |
$tpl = str_replace( '[+' . $key . '+]', $value, $tpl );
|
776 |
*
|
777 |
* @since 2.71
|
778 |
*
|
779 |
+
* @param int current attachment ID
|
780 |
*/
|
781 |
+
public static function mla_reset_regex_matches( $post_id ) {
|
782 |
+
static $current_id = 0;
|
783 |
+
|
784 |
+
// Do this once per post.
|
785 |
+
if ( $current_id != $post_id ) {
|
786 |
+
$current_id = $post_id;
|
787 |
+
MLAData::$regex_matches = array();
|
788 |
+
}
|
789 |
}
|
790 |
|
791 |
/**
|
792 |
+
* Intercept regex pattern matching errors
|
793 |
*
|
794 |
* @since 2.54
|
795 |
*
|
1042 |
$pattern = trim( $args['args'][0] );
|
1043 |
|
1044 |
if ( 1 < count( $args['args'] ) ) {
|
1045 |
+
$return_value = $args['args'][1];
|
1046 |
+
|
1047 |
+
if ( is_numeric( $return_value ) ) {
|
1048 |
+
$return_value = intval( $return_value );
|
1049 |
+
}
|
1050 |
}
|
1051 |
} else {
|
1052 |
$pattern = trim( $args['args'] );
|
1158 |
* Analyze a template, expanding Field-level Markup Substitution Parameters
|
1159 |
*
|
1160 |
* Field-level parameters must have one of the following prefix values:
|
1161 |
+
* template, meta, query, request, terms, custom, iptc, exif, xmp, id3, pdf, matches.
|
1162 |
* All but request and query require an attachment ID.
|
1163 |
*
|
1164 |
* @since 1.50
|
1180 |
$item_metadata = NULL;
|
1181 |
$attachment_metadata = NULL;
|
1182 |
$id3_metadata = NULL;
|
1183 |
+
MLAData::mla_reset_regex_matches( $post_id );
|
1184 |
$cached_post_id = $post_id;
|
1185 |
}
|
1186 |
|
3266 |
}
|
3267 |
|
3268 |
$size = getimagesize( $path, $info );
|
3269 |
+
MLACore::mla_debug_add( __LINE__ . ' mla_fetch_attachment_image_metadata getimagesize returns ' . var_export( $size, true ), MLACore::MLA_DEBUG_CATEGORY_METADATA );
|
3270 |
+
MLACore::mla_debug_add( __LINE__ . ' mla_fetch_attachment_image_metadata getimagesize info keys = ' . var_export( array_keys( $info ), true ), MLACore::MLA_DEBUG_CATEGORY_METADATA );
|
3271 |
|
3272 |
if ( is_callable( 'iptcparse' ) ) {
|
3273 |
if ( ! empty( $info['APP13'] ) ) {
|
includes/class-mla-image-processor.php
CHANGED
@@ -336,6 +336,8 @@ class MLAImageProcessor {
|
|
336 |
* @return array file attributes ( 'file', 'url', 'type' ) on success, ( 'error' ) on failure
|
337 |
*/
|
338 |
public static function mla_handle_thumbnail_sideload( $input_file, $args ) {
|
|
|
|
|
339 |
if ( ! class_exists( 'Imagick' ) ) {
|
340 |
return self::_mla_error_return( 'Imagick not installed', __LINE__ );
|
341 |
}
|
@@ -348,9 +350,7 @@ class MLAImageProcessor {
|
|
348 |
return self::_mla_error_return( 'File not found: ' . $input_file, __LINE__ );
|
349 |
}
|
350 |
|
351 |
-
|
352 |
-
* Process generation parameters and supply defaults
|
353 |
-
*/
|
354 |
$width = isset( $args['width'] ) ? abs( intval( $args['width'] ) ) : 0;
|
355 |
$height = isset( $args['height'] ) ? abs( intval( $args['height'] ) ) : 0;
|
356 |
$type = isset( $args['type'] ) ? $args['type'] : 'image/jpeg';
|
@@ -368,10 +368,9 @@ class MLAImageProcessor {
|
|
368 |
$mime_type = $type;
|
369 |
}
|
370 |
|
371 |
-
|
372 |
-
* Convert the file to an image format and load it
|
373 |
-
*/
|
374 |
try {
|
|
|
375 |
self::$image = new Imagick();
|
376 |
|
377 |
/*
|
@@ -380,15 +379,19 @@ class MLAImageProcessor {
|
|
380 |
* this is important to give good quality output, otherwise text might be unclear
|
381 |
* default resolution is 72,72 or 128,128 for WordPress thumbnails
|
382 |
*/
|
|
|
383 |
self::$image->setResolution( $resolution, $resolution );
|
384 |
|
|
|
385 |
$result = self::_ghostscript_convert( $input_file, $frame, $resolution, $mime_type, $ghostscript_path );
|
386 |
|
387 |
if ( false === $result ) {
|
388 |
try {
|
|
|
389 |
self::$image->readImage( $input_file . '[' . $frame . ']' );
|
390 |
}
|
391 |
catch ( Exception $e ) {
|
|
|
392 |
self::$image->readImage( $input_file . '[0]' );
|
393 |
}
|
394 |
|
@@ -398,39 +401,41 @@ class MLAImageProcessor {
|
|
398 |
$extension = 'PNG';
|
399 |
}
|
400 |
|
|
|
401 |
self::$image->setImageFormat( $extension );
|
402 |
}
|
403 |
|
404 |
if ( ! self::$image->valid() ) {
|
405 |
self::_mla_die( 'File not loaded', __LINE__, 404 );
|
406 |
}
|
|
|
|
|
|
|
|
|
407 |
}
|
408 |
-
|
409 |
-
return self::_mla_error_return( 'Image load exception: ' . $e->getMessage(), __LINE__ );
|
410 |
-
}
|
411 |
-
|
412 |
/*
|
413 |
* Prepare the output image; resize and flatten, if necessary.
|
414 |
* $type retains "WordPress" selection
|
415 |
*/
|
416 |
try {
|
417 |
self::_prepare_image( $width, $height, $best_fit, $type, $quality );
|
418 |
-
|
419 |
-
|
420 |
-
|
|
|
421 |
}
|
422 |
|
423 |
-
|
424 |
-
* Write the image to an appropriately-named file
|
425 |
-
*/
|
426 |
try {
|
427 |
$output_file = wp_tempnam( $input_file );
|
428 |
self::$image->writeImage( $output_file );
|
429 |
$dimensions = self::$image->getImageGeometry();
|
430 |
-
}
|
431 |
-
|
|
|
432 |
@unlink( $output_file );
|
433 |
-
return self::_mla_error_return( 'Image write
|
434 |
}
|
435 |
|
436 |
// array based on $_FILE as seen in PHP file uploads
|
@@ -444,6 +449,7 @@ class MLAImageProcessor {
|
|
444 |
'height' => $dimensions['height'],
|
445 |
);
|
446 |
|
|
|
447 |
return $results;
|
448 |
}
|
449 |
|
336 |
* @return array file attributes ( 'file', 'url', 'type' ) on success, ( 'error' ) on failure
|
337 |
*/
|
338 |
public static function mla_handle_thumbnail_sideload( $input_file, $args ) {
|
339 |
+
MLACore::mla_debug_add( __LINE__ . " MLAImageProcessor::mla_handle_thumbnail_sideload( {$input_file} ) args = " . var_export( $args, true ), MLACore::MLA_DEBUG_CATEGORY_THUMBNAIL );
|
340 |
+
|
341 |
if ( ! class_exists( 'Imagick' ) ) {
|
342 |
return self::_mla_error_return( 'Imagick not installed', __LINE__ );
|
343 |
}
|
350 |
return self::_mla_error_return( 'File not found: ' . $input_file, __LINE__ );
|
351 |
}
|
352 |
|
353 |
+
// Process generation parameters and supply defaults
|
|
|
|
|
354 |
$width = isset( $args['width'] ) ? abs( intval( $args['width'] ) ) : 0;
|
355 |
$height = isset( $args['height'] ) ? abs( intval( $args['height'] ) ) : 0;
|
356 |
$type = isset( $args['type'] ) ? $args['type'] : 'image/jpeg';
|
368 |
$mime_type = $type;
|
369 |
}
|
370 |
|
371 |
+
// Convert the file to an image format and load it
|
|
|
|
|
372 |
try {
|
373 |
+
$try_step = __LINE__ . ' new Imagick()';
|
374 |
self::$image = new Imagick();
|
375 |
|
376 |
/*
|
379 |
* this is important to give good quality output, otherwise text might be unclear
|
380 |
* default resolution is 72,72 or 128,128 for WordPress thumbnails
|
381 |
*/
|
382 |
+
$try_step = __LINE__ . ' setResolution';
|
383 |
self::$image->setResolution( $resolution, $resolution );
|
384 |
|
385 |
+
$try_step = __LINE__ . ' _ghostscript_convert';
|
386 |
$result = self::_ghostscript_convert( $input_file, $frame, $resolution, $mime_type, $ghostscript_path );
|
387 |
|
388 |
if ( false === $result ) {
|
389 |
try {
|
390 |
+
$try_step = __LINE__ . " readImage [{$frame}]";
|
391 |
self::$image->readImage( $input_file . '[' . $frame . ']' );
|
392 |
}
|
393 |
catch ( Exception $e ) {
|
394 |
+
$try_step = __LINE__ . ' readImage [0]';
|
395 |
self::$image->readImage( $input_file . '[0]' );
|
396 |
}
|
397 |
|
401 |
$extension = 'PNG';
|
402 |
}
|
403 |
|
404 |
+
$try_step = __LINE__ . " setImageFormat( {$extension} )";
|
405 |
self::$image->setImageFormat( $extension );
|
406 |
}
|
407 |
|
408 |
if ( ! self::$image->valid() ) {
|
409 |
self::_mla_die( 'File not loaded', __LINE__, 404 );
|
410 |
}
|
411 |
+
} catch ( Throwable $e ) { // PHP 7
|
412 |
+
return self::_mla_error_return( 'Image load Throwable: ' . $e->getMessage() . ' from step ' . $try_step, __LINE__ );
|
413 |
+
} catch ( Exception $e ) { // PHP 5
|
414 |
+
return self::_mla_error_return( 'Image load Exception: ' . $e->getMessage() . ' from step ' . $try_step, __LINE__ );
|
415 |
}
|
416 |
+
|
|
|
|
|
|
|
417 |
/*
|
418 |
* Prepare the output image; resize and flatten, if necessary.
|
419 |
* $type retains "WordPress" selection
|
420 |
*/
|
421 |
try {
|
422 |
self::_prepare_image( $width, $height, $best_fit, $type, $quality );
|
423 |
+
} catch ( Throwable $e ) { // PHP 7
|
424 |
+
return self::_mla_error_return( '_prepare_image Throwable: ' . $e->getMessage(), __LINE__ );
|
425 |
+
} catch ( Exception $e ) { // PHP 5
|
426 |
+
return self::_mla_error_return( '_prepare_image Exception: ' . $e->getMessage(), __LINE__ );
|
427 |
}
|
428 |
|
429 |
+
// Write the image to an appropriately-named file
|
|
|
|
|
430 |
try {
|
431 |
$output_file = wp_tempnam( $input_file );
|
432 |
self::$image->writeImage( $output_file );
|
433 |
$dimensions = self::$image->getImageGeometry();
|
434 |
+
} catch ( Throwable $e ) { // PHP 7
|
435 |
+
return self::_mla_error_return( 'Image write Throwable: ' . $e->getMessage(), __LINE__ );
|
436 |
+
} catch ( Exception $e ) { // PHP 5
|
437 |
@unlink( $output_file );
|
438 |
+
return self::_mla_error_return( 'Image write Exception: ' . $e->getMessage(), __LINE__ );
|
439 |
}
|
440 |
|
441 |
// array based on $_FILE as seen in PHP file uploads
|
449 |
'height' => $dimensions['height'],
|
450 |
);
|
451 |
|
452 |
+
MLACore::mla_debug_add( __LINE__ . " MLAImageProcessor::mla_handle_thumbnail_sideload( {$input_file} ) results = " . var_export( $results, true ), MLACore::MLA_DEBUG_CATEGORY_THUMBNAIL );
|
453 |
return $results;
|
454 |
}
|
455 |
|
includes/class-mla-main.php
CHANGED
@@ -1677,6 +1677,13 @@ class MLA {
|
|
1677 |
unset( $_GET[ $argument ] );
|
1678 |
}
|
1679 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1680 |
if ( !empty( $page_content['body'] ) ) {
|
1681 |
if ( !empty( $page_content['message'] ) ) {
|
1682 |
if ( false !== strpos( $page_content['message'], __( 'ERROR', 'media-library-assistant' ) ) ) {
|
@@ -1737,8 +1744,6 @@ class MLA {
|
|
1737 |
}
|
1738 |
|
1739 |
// Forms are NOT created automatically, wrap the table in one to use features like bulk actions
|
1740 |
-
// method chnged from post to get fo ACP Export compatibility 20180221
|
1741 |
-
// echo "\n" . '<form action="' . admin_url( $form_url ) . '" method="post" id="mla-filter">' . "\n";
|
1742 |
echo "\n" . '<form action="' . admin_url( $form_url ) . '" method="get" id="mla-filter">' . "\n";
|
1743 |
|
1744 |
// Include the Search Media box
|
1677 |
unset( $_GET[ $argument ] );
|
1678 |
}
|
1679 |
|
1680 |
+
// Avoid "headers already sent" error with JoomUnited's WP Media Folders
|
1681 |
+
if (isset($_REQUEST['s']) && $_REQUEST['s'] === '') {
|
1682 |
+
unset( $_REQUEST['s'] );
|
1683 |
+
unset( $_POST['s'] );
|
1684 |
+
unset( $_GET['s'] );
|
1685 |
+
}
|
1686 |
+
|
1687 |
if ( !empty( $page_content['body'] ) ) {
|
1688 |
if ( !empty( $page_content['message'] ) ) {
|
1689 |
if ( false !== strpos( $page_content['message'], __( 'ERROR', 'media-library-assistant' ) ) ) {
|
1744 |
}
|
1745 |
|
1746 |
// Forms are NOT created automatically, wrap the table in one to use features like bulk actions
|
|
|
|
|
1747 |
echo "\n" . '<form action="' . admin_url( $form_url ) . '" method="get" id="mla-filter">' . "\n";
|
1748 |
|
1749 |
// Include the Search Media box
|
includes/class-mla-options.php
CHANGED
@@ -34,7 +34,7 @@ class MLAOptions {
|
|
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 |
|
@@ -573,6 +573,8 @@ class MLAOptions {
|
|
573 |
/**
|
574 |
* Examine or alter the filename before the file is made permanent
|
575 |
*
|
|
|
|
|
576 |
* @since 1.70
|
577 |
*
|
578 |
* @param array file parameters ( 'name' )
|
@@ -585,9 +587,7 @@ class MLAOptions {
|
|
585 |
* if someone has hooked it.
|
586 |
*/
|
587 |
if ( has_filter( 'mla_upload_prefilter' ) ) {
|
588 |
-
|
589 |
-
* The image.php file is not loaded for "front end" uploads
|
590 |
-
*/
|
591 |
if ( !function_exists( 'wp_read_image_metadata' ) ) {
|
592 |
require_once( ABSPATH . 'wp-admin/includes/image.php' );
|
593 |
}
|
@@ -604,6 +604,8 @@ class MLAOptions {
|
|
604 |
/**
|
605 |
* Called once for each file uploaded
|
606 |
*
|
|
|
|
|
607 |
* @since 1.70
|
608 |
*
|
609 |
* @param array file parameters ( 'name' )
|
@@ -615,10 +617,8 @@ class MLAOptions {
|
|
615 |
* This filter requires file access and processing, so only do the work
|
616 |
* if someone has hooked it.
|
617 |
*/
|
618 |
-
if ( has_filter( '
|
619 |
-
|
620 |
-
* The getid3.php file is not loaded for "front end" uploads
|
621 |
-
*/
|
622 |
if ( ! class_exists( 'getID3' ) ) {
|
623 |
require( ABSPATH . WPINC . '/ID3/getid3.php' );
|
624 |
}
|
@@ -648,6 +648,8 @@ class MLAOptions {
|
|
648 |
*
|
649 |
* All of the actual processing is done later, in mla_update_attachment_metadata_filter.
|
650 |
*
|
|
|
|
|
651 |
* @since 1.00
|
652 |
*
|
653 |
* @param integer ID of just-inserted attachment
|
@@ -699,6 +701,8 @@ class MLAOptions {
|
|
699 |
* This filter tests the $add_attachment_id variable set by the mla_add_attachment_action
|
700 |
* to ensure that mapping is only performed for new additions, not metadata updates.
|
701 |
*
|
|
|
|
|
702 |
* @since 1.10
|
703 |
*
|
704 |
* @param array Attachment metadata for just-inserted attachment
|
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( " . $_SERVER['REQUEST_URI'] . " ) hooks set", MLACore::MLA_DEBUG_CATEGORY_REST );
|
38 |
}
|
39 |
}
|
40 |
|
573 |
/**
|
574 |
* Examine or alter the filename before the file is made permanent
|
575 |
*
|
576 |
+
* The filter is applied by function _wp_handle_upload() in /wp-admin/includes/file.php
|
577 |
+
*
|
578 |
* @since 1.70
|
579 |
*
|
580 |
* @param array file parameters ( 'name' )
|
587 |
* if someone has hooked it.
|
588 |
*/
|
589 |
if ( has_filter( 'mla_upload_prefilter' ) ) {
|
590 |
+
// The image.php file is not loaded for "front end" uploads
|
|
|
|
|
591 |
if ( !function_exists( 'wp_read_image_metadata' ) ) {
|
592 |
require_once( ABSPATH . 'wp-admin/includes/image.php' );
|
593 |
}
|
604 |
/**
|
605 |
* Called once for each file uploaded
|
606 |
*
|
607 |
+
* The filter is applied by function _wp_handle_upload() in /wp-admin/includes/file.php
|
608 |
+
*
|
609 |
* @since 1.70
|
610 |
*
|
611 |
* @param array file parameters ( 'name' )
|
617 |
* This filter requires file access and processing, so only do the work
|
618 |
* if someone has hooked it.
|
619 |
*/
|
620 |
+
if ( has_filter( 'mla_upload_filter' ) ) {
|
621 |
+
// The getid3.php file is not loaded for "front end" uploads
|
|
|
|
|
622 |
if ( ! class_exists( 'getID3' ) ) {
|
623 |
require( ABSPATH . WPINC . '/ID3/getid3.php' );
|
624 |
}
|
648 |
*
|
649 |
* All of the actual processing is done later, in mla_update_attachment_metadata_filter.
|
650 |
*
|
651 |
+
* The filter is applied by function wp_insert_post() in /wp-includes/post.php
|
652 |
+
*
|
653 |
* @since 1.00
|
654 |
*
|
655 |
* @param integer ID of just-inserted attachment
|
701 |
* This filter tests the $add_attachment_id variable set by the mla_add_attachment_action
|
702 |
* to ensure that mapping is only performed for new additions, not metadata updates.
|
703 |
*
|
704 |
+
* The filter is applied by function wp_update_attachment_metadata() in /wp-includes/post.php
|
705 |
+
*
|
706 |
* @since 1.10
|
707 |
*
|
708 |
* @param array Attachment metadata for just-inserted attachment
|
includes/class-mla-polylang-support.php
CHANGED
@@ -162,9 +162,7 @@ class MLA_Polylang {
|
|
162 |
private static function _get_translation( $post_id, $new_language ) {
|
163 |
global $polylang;
|
164 |
|
165 |
-
|
166 |
-
* Get the existing translations, if any
|
167 |
-
*/
|
168 |
if ( self::$polylang_1dot8_plus ) {
|
169 |
$lang = PLL()->model->post->get_language( $post_id );
|
170 |
$translations = PLL()->model->post->get_translations( $post_id );
|
@@ -173,6 +171,19 @@ class MLA_Polylang {
|
|
173 |
$translations = $polylang->model->get_translations( 'post', $post_id );
|
174 |
}
|
175 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
176 |
if ( ! $translations && $lang ) {
|
177 |
$translations[ $lang->slug ] = $post_id;
|
178 |
}
|
@@ -213,12 +224,12 @@ class MLA_Polylang {
|
|
213 |
self::$existing_terms = array( 'element_id' => 0 );
|
214 |
self::$relevant_terms = array();
|
215 |
|
216 |
-
$polylang->model->set_post_language($new_id, $new_language);
|
217 |
-
|
218 |
if ( self::$polylang_1dot8_plus ) {
|
|
|
219 |
$lang = PLL()->model->post->get_language( $post_id );
|
220 |
$translations = PLL()->model->post->get_translations( $post_id );
|
221 |
} else {
|
|
|
222 |
$lang = $polylang->model->get_post_language( $post_id );
|
223 |
$translations = $polylang->model->get_translations( 'post', $post_id );
|
224 |
}
|
162 |
private static function _get_translation( $post_id, $new_language ) {
|
163 |
global $polylang;
|
164 |
|
165 |
+
// Get the existing translations, if any
|
|
|
|
|
166 |
if ( self::$polylang_1dot8_plus ) {
|
167 |
$lang = PLL()->model->post->get_language( $post_id );
|
168 |
$translations = PLL()->model->post->get_translations( $post_id );
|
171 |
$translations = $polylang->model->get_translations( 'post', $post_id );
|
172 |
}
|
173 |
|
174 |
+
// Handle "no language" case
|
175 |
+
if ( empty( $lang ) ) {
|
176 |
+
if ( self::$polylang_1dot8_plus ) {
|
177 |
+
PLL()->model->post->set_language($post_id, pll_default_language() );
|
178 |
+
$lang = PLL()->model->post->get_language( $post_id );
|
179 |
+
$translations = PLL()->model->post->get_translations( $post_id );
|
180 |
+
} else {
|
181 |
+
$polylang->model->set_post_language($post_id, pll_default_language() );
|
182 |
+
$lang = $polylang->model->get_post_language( $post_id );
|
183 |
+
$translations = $polylang->model->get_translations( 'post', $post_id );
|
184 |
+
}
|
185 |
+
}
|
186 |
+
|
187 |
if ( ! $translations && $lang ) {
|
188 |
$translations[ $lang->slug ] = $post_id;
|
189 |
}
|
224 |
self::$existing_terms = array( 'element_id' => 0 );
|
225 |
self::$relevant_terms = array();
|
226 |
|
|
|
|
|
227 |
if ( self::$polylang_1dot8_plus ) {
|
228 |
+
PLL()->model->post->set_language($new_id, $new_language);
|
229 |
$lang = PLL()->model->post->get_language( $post_id );
|
230 |
$translations = PLL()->model->post->get_translations( $post_id );
|
231 |
} else {
|
232 |
+
$polylang->model->set_post_language($new_id, $new_language);
|
233 |
$lang = $polylang->model->get_post_language( $post_id );
|
234 |
$translations = $polylang->model->get_translations( 'post', $post_id );
|
235 |
}
|
includes/class-mla-settings-documentation-tab.php
CHANGED
@@ -1639,25 +1639,25 @@ class MLA_Upgrader_Skin extends WP_Upgrader_Skin {
|
|
1639 |
*
|
1640 |
* @param string $string
|
1641 |
*/
|
1642 |
-
public function feedback($string) {
|
1643 |
if ( isset( $this->upgrader->strings[$string] ) )
|
1644 |
-
$
|
1645 |
|
1646 |
-
if ( strpos($
|
1647 |
$args = func_get_args();
|
1648 |
-
$args = array_splice($args, 1);
|
1649 |
if ( $args ) {
|
1650 |
$args = array_map( 'strip_tags', $args );
|
1651 |
$args = array_map( 'esc_html', $args );
|
1652 |
-
$
|
1653 |
}
|
1654 |
}
|
1655 |
|
1656 |
-
if ( empty($
|
1657 |
return;
|
1658 |
}
|
1659 |
|
1660 |
-
$this->feedback[] = $
|
1661 |
}
|
1662 |
}
|
1663 |
|
1639 |
*
|
1640 |
* @param string $string
|
1641 |
*/
|
1642 |
+
public function feedback( $string ) {
|
1643 |
if ( isset( $this->upgrader->strings[$string] ) )
|
1644 |
+
$feedback = $this->upgrader->strings[$string];
|
1645 |
|
1646 |
+
if ( strpos( $feedback, '%' ) !== false ) {
|
1647 |
$args = func_get_args();
|
1648 |
+
$args = array_splice( $args, 1 );
|
1649 |
if ( $args ) {
|
1650 |
$args = array_map( 'strip_tags', $args );
|
1651 |
$args = array_map( 'esc_html', $args );
|
1652 |
+
$feedback = vsprintf( $feedback, $args );
|
1653 |
}
|
1654 |
}
|
1655 |
|
1656 |
+
if ( empty( $feedback ) ) {
|
1657 |
return;
|
1658 |
}
|
1659 |
|
1660 |
+
$this->feedback[] = $feedback;
|
1661 |
}
|
1662 |
}
|
1663 |
|
includes/class-mla-shortcode-support.php
CHANGED
@@ -222,6 +222,15 @@ class MLAShortcode_Support {
|
|
222 |
return $image;
|
223 |
}
|
224 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
225 |
/**
|
226 |
* Make sure $attr is an array, repair line-break damage, merge with $content
|
227 |
*
|
@@ -276,6 +285,8 @@ class MLAShortcode_Support {
|
|
276 |
$new_attr = array();
|
277 |
foreach ( $attr as $key => $value ) {
|
278 |
if ( is_numeric( $key ) || empty( $value ) ) {
|
|
|
|
|
279 |
continue;
|
280 |
}
|
281 |
|
@@ -289,8 +300,20 @@ class MLAShortcode_Support {
|
|
289 |
if ( ! ( empty( $content ) || isset( $attr['mla_alt_shortcode'] ) ) ) {
|
290 |
$content = str_replace( array( '&', '‘', '’', '”', '″', '&', '<br />', '<br>', '<p>', '</p>', "\r", "\n" ),
|
291 |
array( '&', '\'', '\'', '"', '"', '&', ' ', ' ', ' ', ' ', ' ', ' ' ), $content );
|
292 |
-
$
|
293 |
-
if ( is_array( $
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
294 |
$attr = array_merge( $attr, $new_attr );
|
295 |
}
|
296 |
}
|
@@ -576,6 +599,17 @@ class MLAShortcode_Support {
|
|
576 |
|
577 |
if ( self::$mla_debug ) {
|
578 |
MLACore::mla_debug_add( __LINE__ . ' <strong>' . __( 'mla_debug REQUEST', 'media-library-assistant' ) . '</strong> = ' . var_export( $_REQUEST, true ) );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
579 |
MLACore::mla_debug_add( __LINE__ . ' <strong>' . __( 'mla_debug attributes', 'media-library-assistant' ) . '</strong> = ' . var_export( $attr, true ) );
|
580 |
MLACore::mla_debug_add( __LINE__ . ' <strong>' . __( 'mla_debug arguments', 'media-library-assistant' ) . '</strong> = ' . var_export( $arguments, true ) );
|
581 |
}
|
@@ -4555,7 +4589,7 @@ class MLAShortcode_Support {
|
|
4555 |
$all_taxonomies = get_taxonomies( array ( 'show_ui' => true ), 'names' );
|
4556 |
$simple_tax_queries = array();
|
4557 |
foreach ( $attr as $key => $value ) {
|
4558 |
-
if ( 'tax_query'
|
4559 |
if ( is_array( $value ) ) {
|
4560 |
$query_arguments[ $key ] = $value;
|
4561 |
self::$mla_get_shortcode_dynamic_attachments_parameters[ $key ] = $value;
|
222 |
return $image;
|
223 |
}
|
224 |
|
225 |
+
/**
|
226 |
+
* Errors found in function _validate_attributes()
|
227 |
+
*
|
228 |
+
* @since 2.80
|
229 |
+
*
|
230 |
+
* @var array
|
231 |
+
*/
|
232 |
+
private static $attributes_errors = array();
|
233 |
+
|
234 |
/**
|
235 |
* Make sure $attr is an array, repair line-break damage, merge with $content
|
236 |
*
|
285 |
$new_attr = array();
|
286 |
foreach ( $attr as $key => $value ) {
|
287 |
if ( is_numeric( $key ) || empty( $value ) ) {
|
288 |
+
self::$attributes_errors['raw'][] = '[' . $key . '] => ' . $value;
|
289 |
+
self::$attributes_errors['escaped'][] = '[' . $key . '] => ' . esc_html( $value );
|
290 |
continue;
|
291 |
}
|
292 |
|
300 |
if ( ! ( empty( $content ) || isset( $attr['mla_alt_shortcode'] ) ) ) {
|
301 |
$content = str_replace( array( '&', '‘', '’', '”', '″', '&', '<br />', '<br>', '<p>', '</p>', "\r", "\n" ),
|
302 |
array( '&', '\'', '\'', '"', '"', '&', ' ', ' ', ' ', ' ', ' ', ' ' ), $content );
|
303 |
+
$content_attr = shortcode_parse_atts( $content );
|
304 |
+
if ( is_array( $content_attr ) ) {
|
305 |
+
// Remove empty values and still-invalid parameters
|
306 |
+
$new_attr = array();
|
307 |
+
foreach ( $content_attr as $key => $value ) {
|
308 |
+
if ( is_numeric( $key ) || empty( $value ) ) {
|
309 |
+
self::$attributes_errors['raw'][] = 'content [' . $key . '] => ' . $value;
|
310 |
+
self::$attributes_errors['escaped'][] = 'content [' . $key . '] => ' . esc_html( $value );
|
311 |
+
continue;
|
312 |
+
}
|
313 |
+
|
314 |
+
$new_attr[ $key ] = $value;
|
315 |
+
}
|
316 |
+
|
317 |
$attr = array_merge( $attr, $new_attr );
|
318 |
}
|
319 |
}
|
599 |
|
600 |
if ( self::$mla_debug ) {
|
601 |
MLACore::mla_debug_add( __LINE__ . ' <strong>' . __( 'mla_debug REQUEST', 'media-library-assistant' ) . '</strong> = ' . var_export( $_REQUEST, true ) );
|
602 |
+
|
603 |
+
if ( !empty( self::$attributes_errors ) ) {
|
604 |
+
if ( 'log' == self::$mla_debug ) {
|
605 |
+
MLACore::mla_debug_add( __LINE__ . ' <strong>' . __( 'mla_debug attributes_errors', 'media-library-assistant' ) . '</strong> = ' . var_export( self::$attributes_errors['raw'], true ) );
|
606 |
+
} else {
|
607 |
+
MLACore::mla_debug_add( __LINE__ . ' <strong>' . __( 'mla_debug attributes_errors', 'media-library-assistant' ) . '</strong> = ' . var_export( self::$attributes_errors['escaped'], true ) );
|
608 |
+
}
|
609 |
+
|
610 |
+
self::$attributes_errors = array();
|
611 |
+
}
|
612 |
+
|
613 |
MLACore::mla_debug_add( __LINE__ . ' <strong>' . __( 'mla_debug attributes', 'media-library-assistant' ) . '</strong> = ' . var_export( $attr, true ) );
|
614 |
MLACore::mla_debug_add( __LINE__ . ' <strong>' . __( 'mla_debug arguments', 'media-library-assistant' ) . '</strong> = ' . var_export( $arguments, true ) );
|
615 |
}
|
4589 |
$all_taxonomies = get_taxonomies( array ( 'show_ui' => true ), 'names' );
|
4590 |
$simple_tax_queries = array();
|
4591 |
foreach ( $attr as $key => $value ) {
|
4592 |
+
if ( 'tax_query' === $key ) {
|
4593 |
if ( is_array( $value ) ) {
|
4594 |
$query_arguments[ $key ] = $value;
|
4595 |
self::$mla_get_shortcode_dynamic_attachments_parameters[ $key ] = $value;
|
includes/class-mla-thumbnail-generation.php
CHANGED
@@ -384,7 +384,8 @@ class MLA_Thumbnail {
|
|
384 |
|
385 |
// If there is a real thumbnail image, no generation is required or allowed except for PDFs
|
386 |
$old_sizes = NULL;
|
387 |
-
$thumbnail = image_downsize( $post_id );
|
|
|
388 |
if ( ! empty( $thumbnail ) ) {
|
389 |
// Special case - allow replacement of WordPress-style thumbnails for PDFs, etc.
|
390 |
if ( 'delete' === self::$bulk_action_options['existing_thumbnails'] && 'WordPress' === self::$bulk_action_options['type'] ) {
|
@@ -403,6 +404,7 @@ class MLA_Thumbnail {
|
|
403 |
|
404 |
// Look for the "Featured Image" as an alternate thumbnail for PDFs, etc.
|
405 |
$thumbnail = get_post_thumbnail_id( $post_id );
|
|
|
406 |
if ( ! empty( $thumbnail ) ) {
|
407 |
switch ( self::$bulk_action_options['existing_thumbnails'] ) {
|
408 |
case 'ignore':
|
@@ -601,9 +603,7 @@ class MLA_Thumbnail {
|
|
601 |
*/
|
602 |
public static function mla_list_table_inline_parse( $html_markup, $item_template, $item_values ) {
|
603 |
|
604 |
-
|
605 |
-
* Add the Thumbnail Generation Markup
|
606 |
-
*/
|
607 |
$page_template_array = MLACore::mla_load_template( 'mla-thumbnail-generation.tpl' );
|
608 |
if ( ! is_array( $page_template_array ) ) {
|
609 |
MLACore::mla_debug_add( 'ERROR: mla-thumbnail-generation.tpl path = ' . var_export( plugin_dir_path( __FILE__ ) . 'mla-thumbnail-generation.tpl', true ), MLACore::MLA_DEBUG_CATEGORY_ANY );
|
@@ -677,8 +677,6 @@ class MLA_Thumbnail {
|
|
677 |
} // mla_list_table_submenu_arguments
|
678 |
} // Class MLA_Thumbnail
|
679 |
|
680 |
-
|
681 |
-
* Install the filters at an early opportunity
|
682 |
-
*/
|
683 |
add_action('init', 'MLA_Thumbnail::initialize');
|
684 |
?>
|
384 |
|
385 |
// If there is a real thumbnail image, no generation is required or allowed except for PDFs
|
386 |
$old_sizes = NULL;
|
387 |
+
$thumbnail = image_downsize( $post_id, 'thumbnail' );
|
388 |
+
MLACore::mla_debug_add( __LINE__ . " MLA_Thumbnail::mla_list_table_custom_bulk_action image_downsize( {$post_id} ) thumbnail = " . var_export( $thumbnail, true ), MLACore::MLA_DEBUG_CATEGORY_THUMBNAIL );
|
389 |
if ( ! empty( $thumbnail ) ) {
|
390 |
// Special case - allow replacement of WordPress-style thumbnails for PDFs, etc.
|
391 |
if ( 'delete' === self::$bulk_action_options['existing_thumbnails'] && 'WordPress' === self::$bulk_action_options['type'] ) {
|
404 |
|
405 |
// Look for the "Featured Image" as an alternate thumbnail for PDFs, etc.
|
406 |
$thumbnail = get_post_thumbnail_id( $post_id );
|
407 |
+
MLACore::mla_debug_add( __LINE__ . " MLA_Thumbnail::mla_list_table_custom_bulk_action get_post_thumbnail_id( {$post_id} ) thumbnail = " . var_export( $thumbnail, true ), MLACore::MLA_DEBUG_CATEGORY_THUMBNAIL );
|
408 |
if ( ! empty( $thumbnail ) ) {
|
409 |
switch ( self::$bulk_action_options['existing_thumbnails'] ) {
|
410 |
case 'ignore':
|
603 |
*/
|
604 |
public static function mla_list_table_inline_parse( $html_markup, $item_template, $item_values ) {
|
605 |
|
606 |
+
// Add the Thumbnail Generation Markup
|
|
|
|
|
607 |
$page_template_array = MLACore::mla_load_template( 'mla-thumbnail-generation.tpl' );
|
608 |
if ( ! is_array( $page_template_array ) ) {
|
609 |
MLACore::mla_debug_add( 'ERROR: mla-thumbnail-generation.tpl path = ' . var_export( plugin_dir_path( __FILE__ ) . 'mla-thumbnail-generation.tpl', true ), MLACore::MLA_DEBUG_CATEGORY_ANY );
|
677 |
} // mla_list_table_submenu_arguments
|
678 |
} // Class MLA_Thumbnail
|
679 |
|
680 |
+
// Install the filters at an early opportunity
|
|
|
|
|
681 |
add_action('init', 'MLA_Thumbnail::initialize');
|
682 |
?>
|
includes/mla-plugin-loader.php
CHANGED
@@ -52,9 +52,7 @@ function mla_plugin_loader_reporting_action () {
|
|
52 |
echo '<p>' . __( 'You must resolve these conflicts before this plugin can safely load.', 'media-library-assistant' ) . '</p></div>'."\r\n";
|
53 |
}
|
54 |
|
55 |
-
|
56 |
-
* Basic library of run-time tests.
|
57 |
-
*/
|
58 |
require_once( MLA_PLUGIN_PATH . 'tests/class-mla-tests.php' );
|
59 |
|
60 |
$mla_plugin_loader_error_messages .= MLATest::min_php_version( '5.3' );
|
@@ -71,6 +69,9 @@ if ( ! empty( $mla_plugin_loader_error_messages ) ) {
|
|
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;
|
@@ -85,6 +86,11 @@ if ( ! empty( $mla_plugin_loader_error_messages ) ) {
|
|
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' );
|
@@ -168,8 +174,13 @@ if ( ! empty( $mla_plugin_loader_error_messages ) ) {
|
|
168 |
|
169 |
// Plugin settings management
|
170 |
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-options.php' );
|
171 |
-
|
172 |
-
|
|
|
|
|
|
|
|
|
|
|
173 |
// Plugin settings management page
|
174 |
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-settings.php' );
|
175 |
add_action( 'init', 'MLASettings::initialize', 0x7FFFFFFF );
|
52 |
echo '<p>' . __( 'You must resolve these conflicts before this plugin can safely load.', 'media-library-assistant' ) . '</p></div>'."\r\n";
|
53 |
}
|
54 |
|
55 |
+
// Basic library of run-time tests.
|
|
|
|
|
56 |
require_once( MLA_PLUGIN_PATH . 'tests/class-mla-tests.php' );
|
57 |
|
58 |
$mla_plugin_loader_error_messages .= MLATest::min_php_version( '5.3' );
|
69 |
add_action( 'plugins_loaded', 'MLACore::mla_plugins_loaded_action', 0x7FFFFFFF );
|
70 |
add_action( 'init', 'MLACore::initialize', 0x7FFFFFFF );
|
71 |
|
72 |
+
// WP/LR Sync plugin has its own protocol to process uploads
|
73 |
+
$is_wplr_sync = isset( $_SERVER['REQUEST_URI'] ) && false !== strpos( $_SERVER['REQUEST_URI'], '/?wplr-sync-api' );
|
74 |
+
|
75 |
// Check for XMLPRC, WP REST API and front end requests
|
76 |
if( !( defined('WP_ADMIN') && WP_ADMIN ) ) {
|
77 |
$front_end_only = true;
|
86 |
$front_end_only = false; // TODO be more selective
|
87 |
}
|
88 |
|
89 |
+
// WP/LR Sync plugin has its own protocol to process uploads
|
90 |
+
if ( $is_wplr_sync ) {
|
91 |
+
$front_end_only = false;
|
92 |
+
}
|
93 |
+
|
94 |
// Front end posts/pages only need shortcode support; load the interface shims.
|
95 |
if ( $front_end_only ) {
|
96 |
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-shortcodes.php' );
|
174 |
|
175 |
// Plugin settings management
|
176 |
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-options.php' );
|
177 |
+
if ( $is_wplr_sync ) {
|
178 |
+
// WP/LR Sync runs in the plugin's "init" action, so we must set our hooks before that
|
179 |
+
add_action( 'init', 'MLAOptions::initialize', 9 );
|
180 |
+
} else {
|
181 |
+
add_action( 'init', 'MLAOptions::initialize', 0x7FFFFFFF );
|
182 |
+
}
|
183 |
+
|
184 |
// Plugin settings management page
|
185 |
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-settings.php' );
|
186 |
add_action( 'init', 'MLASettings::initialize', 0x7FFFFFFF );
|
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
|
17 |
Text Domain: media-library-assistant
|
18 |
Domain Path: /languages
|
19 |
-
Version: 2.
|
20 |
Author URI: http://davidlingren.com/
|
21 |
|
22 |
Copyright 2011-2019 David Lingren
|
6 |
* will the rest of the plugin be loaded and run.
|
7 |
*
|
8 |
* @package Media Library Assistant
|
9 |
+
* @version 2.80
|
10 |
*/
|
11 |
|
12 |
/*
|
16 |
Author: David Lingren
|
17 |
Text Domain: media-library-assistant
|
18 |
Domain Path: /languages
|
19 |
+
Version: 2.80
|
20 |
Author URI: http://davidlingren.com/
|
21 |
|
22 |
Copyright 2011-2019 David Lingren
|
js/mla-define-ajaxurl-scripts.js
CHANGED
@@ -1,5 +1,29 @@
|
|
1 |
// defines Global ajaxurl if needed
|
2 |
|
3 |
-
if ( ( typeof ajaxurl === 'undefined' ) && ( typeof wp.media.view.l10n.mla_strings.ajaxurl === 'string' ) ) {
|
4 |
-
var ajaxurl = wp.media.view.l10n.mla_strings.ajaxurl;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
}
|
1 |
// defines Global ajaxurl if needed
|
2 |
|
3 |
+
//if ( ( typeof ajaxurl === 'undefined' ) && ( typeof wp.media.view.l10n.mla_strings.ajaxurl === 'string' ) ) {
|
4 |
+
// var ajaxurl = wp.media.view.l10n.mla_strings.ajaxurl;
|
5 |
+
//}
|
6 |
+
|
7 |
+
if ( typeof ajaxurl === 'undefined' ) {
|
8 |
+
// Default location at worst
|
9 |
+
var ajaxurl = '/wp-admin/admin-ajax.php';
|
10 |
+
|
11 |
+
// See if we can do better
|
12 |
+
try {
|
13 |
+
if ( typeof window._wpMediaViewsL10n === 'object' ) {
|
14 |
+
if ( typeof window._wpMediaViewsL10n.mla_strings === 'object' ) {
|
15 |
+
if ( typeof window._wpMediaViewsL10n.mla_strings.ajaxurl === 'string' ) {
|
16 |
+
var ajaxurl = window._wpMediaViewsL10n.mla_strings.ajaxurl;
|
17 |
+
} else {
|
18 |
+
console.log( 'mla-define-ajaxurl-scripts.js window._wpMediaViewsL10n.mla_strings.ajaxurl failed' );
|
19 |
+
}
|
20 |
+
} else {
|
21 |
+
console.log( 'mla-define-ajaxurl-scripts.js window._wpMediaViewsL10n.mla_strings failed' );
|
22 |
+
}
|
23 |
+
} else {
|
24 |
+
console.log( 'mla-define-ajaxurl-scripts.js window._wpMediaViewsL10n failed' );
|
25 |
+
}
|
26 |
+
} catch ( error ) {
|
27 |
+
console.log( 'mla-define-ajaxurl-scripts.js error thrown' );
|
28 |
+
};
|
29 |
}
|
js/mla-define-ajaxurl-scripts.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
if(
|
1 |
+
if(typeof ajaxurl==="undefined"){var ajaxurl="/wp-admin/admin-ajax.php";try{if(typeof window._wpMediaViewsL10n==="object"){if(typeof window._wpMediaViewsL10n.mla_strings==="object"){if(typeof window._wpMediaViewsL10n.mla_strings.ajaxurl==="string"){var ajaxurl=window._wpMediaViewsL10n.mla_strings.ajaxurl}else{console.log("mla-define-ajaxurl-scripts.js window._wpMediaViewsL10n.mla_strings.ajaxurl failed")}}else{console.log("mla-define-ajaxurl-scripts.js window._wpMediaViewsL10n.mla_strings failed")}}else{console.log("mla-define-ajaxurl-scripts.js window._wpMediaViewsL10n failed")}}catch(error){console.log("mla-define-ajaxurl-scripts.js error thrown")}};
|
js/mla-thumbnail-generation-scripts.js
CHANGED
@@ -4,13 +4,12 @@ var jQuery,
|
|
4 |
mla_thumbnail_support_vars,
|
5 |
mlaThumbnail = {
|
6 |
// Properties
|
7 |
-
// mlaThumbnail.settings.
|
8 |
// mlaThumbnail.settings.ntdelTitle
|
9 |
-
// mlaThumbnail.settings.
|
|
|
10 |
// mlaThumbnail.settings.comma
|
11 |
-
// mlaThumbnail.settings.
|
12 |
-
// mlaThumbnail.settings.ajax_nonce
|
13 |
-
// mlaThumbnail.settings.error
|
14 |
settings: {},
|
15 |
|
16 |
// Utility functions
|
4 |
mla_thumbnail_support_vars,
|
5 |
mlaThumbnail = {
|
6 |
// Properties
|
7 |
+
// mlaThumbnail.settings.error
|
8 |
// mlaThumbnail.settings.ntdelTitle
|
9 |
+
// mlaThumbnail.settings.noTitle
|
10 |
+
// mlaThumbnail.settings.bulkTitle
|
11 |
// mlaThumbnail.settings.comma
|
12 |
+
// mlaThumbnail.settings.useSpinnerClass
|
|
|
|
|
13 |
settings: {},
|
14 |
|
15 |
// Utility functions
|
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: 2019-
|
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"
|
@@ -159,24 +159,24 @@ msgid "Assistant"
|
|
159 |
msgstr ""
|
160 |
|
161 |
#: includes/class-mla-ajax.php:233 includes/class-mla-core-options.php:1186
|
162 |
-
#: includes/class-mla-data.php:
|
163 |
-
#: includes/class-mla-main.php:
|
164 |
#: includes/class-mla-objects.php:348 includes/class-mla-options.php:465
|
165 |
#: includes/mla-main-search-box-template.php:47
|
166 |
#: includes/mla-media-modal-js-template.php:40
|
167 |
msgid "Title"
|
168 |
msgstr ""
|
169 |
|
170 |
-
#: includes/class-mla-ajax.php:233 includes/class-mla-main.php:
|
171 |
#: includes/class-mla-thumbnail-generation.php:637
|
172 |
msgid "Type"
|
173 |
msgstr ""
|
174 |
|
175 |
-
#: includes/class-mla-ajax.php:233 includes/class-mla-main.php:
|
176 |
msgid "Date"
|
177 |
msgstr ""
|
178 |
|
179 |
-
#: includes/class-mla-ajax.php:233 includes/class-mla-main.php:
|
180 |
#: includes/class-mla-settings-custom-fields-tab.php:503
|
181 |
#: includes/class-mla-settings-custom-fields-tab.php:803
|
182 |
#: includes/class-mla-settings-iptc-exif-tab.php:511
|
@@ -187,7 +187,7 @@ msgstr ""
|
|
187 |
|
188 |
#: includes/class-mla-ajax.php:237 includes/class-mla-list-table.php:879
|
189 |
#: includes/class-mla-list-table.php:1044 includes/class-mla-main.php:459
|
190 |
-
#: includes/class-mla-polylang-support.php:
|
191 |
#: includes/class-mla-thumbnail-generation.php:97
|
192 |
msgid "(no title)"
|
193 |
msgstr ""
|
@@ -201,24 +201,24 @@ msgid "Pending Review"
|
|
201 |
msgstr ""
|
202 |
|
203 |
#: includes/class-mla-ajax.php:291 includes/class-mla-ajax.php:298
|
204 |
-
#: includes/class-mla-ajax.php:307 includes/class-mla-core.php:
|
205 |
-
#: includes/class-mla-core.php:
|
206 |
-
#: includes/class-mla-core.php:
|
207 |
#: includes/class-mla-data-pdf.php:216 includes/class-mla-data-pdf.php:517
|
208 |
#: includes/class-mla-data-pdf.php:519 includes/class-mla-data-pdf.php:565
|
209 |
#: includes/class-mla-data-pdf.php:749 includes/class-mla-data-query.php:841
|
210 |
#: includes/class-mla-data.php:50 includes/class-mla-data.php:108
|
211 |
-
#: includes/class-mla-data.php:
|
212 |
-
#: includes/class-mla-data.php:
|
213 |
-
#: includes/class-mla-data.php:
|
214 |
-
#: includes/class-mla-data.php:
|
215 |
-
#: includes/class-mla-data.php:
|
216 |
-
#: includes/class-mla-data.php:
|
217 |
-
#: includes/class-mla-data.php:
|
218 |
-
#: includes/class-mla-data.php:
|
219 |
-
#: includes/class-mla-data.php:
|
220 |
-
#: includes/class-mla-data.php:
|
221 |
-
#: includes/class-mla-data.php:
|
222 |
#: includes/class-mla-edit-media.php:892 includes/class-mla-edit-media.php:934
|
223 |
#: includes/class-mla-main.php:707 includes/class-mla-main.php:830
|
224 |
#: includes/class-mla-main.php:832 includes/class-mla-main.php:835
|
@@ -226,13 +226,13 @@ msgstr ""
|
|
226 |
#: includes/class-mla-main.php:927 includes/class-mla-main.php:934
|
227 |
#: includes/class-mla-main.php:1318 includes/class-mla-main.php:1374
|
228 |
#: includes/class-mla-main.php:1399 includes/class-mla-main.php:1536
|
229 |
-
#: includes/class-mla-main.php:1586 includes/class-mla-main.php:
|
230 |
-
#: includes/class-mla-main.php:
|
231 |
-
#: includes/class-mla-main.php:
|
232 |
-
#: includes/class-mla-main.php:
|
233 |
-
#: includes/class-mla-main.php:
|
234 |
-
#: includes/class-mla-main.php:
|
235 |
-
#: includes/class-mla-main.php:
|
236 |
#: includes/class-mla-mime-types.php:801 includes/class-mla-mime-types.php:1193
|
237 |
#: includes/class-mla-mime-types.php:1281
|
238 |
#: includes/class-mla-mime-types.php:1427
|
@@ -252,8 +252,8 @@ msgstr ""
|
|
252 |
#: includes/class-mla-mime-types.php:2640 includes/class-mla-objects.php:245
|
253 |
#: includes/class-mla-options.php:217 includes/class-mla-options.php:433
|
254 |
#: includes/class-mla-options.php:514 includes/class-mla-options.php:569
|
255 |
-
#: includes/class-mla-options.php:
|
256 |
-
#: includes/class-mla-options.php:
|
257 |
#: includes/class-mla-settings-custom-fields-tab.php:173
|
258 |
#: includes/class-mla-settings-custom-fields-tab.php:238
|
259 |
#: includes/class-mla-settings-custom-fields-tab.php:242
|
@@ -314,27 +314,27 @@ msgstr ""
|
|
314 |
#: includes/class-mla-settings.php:1794 includes/class-mla-settings.php:1801
|
315 |
#: includes/class-mla-settings.php:1810 includes/class-mla-settings.php:1847
|
316 |
#: includes/class-mla-settings.php:1855 includes/class-mla-settings.php:1864
|
317 |
-
#: includes/class-mla-shortcode-support.php:
|
318 |
-
#: includes/class-mla-shortcode-support.php:
|
319 |
-
#: includes/class-mla-shortcode-support.php:
|
320 |
-
#: includes/class-mla-shortcode-support.php:
|
321 |
-
#: includes/class-mla-shortcode-support.php:
|
322 |
-
#: includes/class-mla-shortcode-support.php:
|
323 |
-
#: includes/class-mla-shortcode-support.php:
|
324 |
-
#: includes/class-mla-shortcode-support.php:
|
325 |
-
#: includes/class-mla-thumbnail-generation.php:
|
326 |
-
#: includes/class-mla-thumbnail-generation.php:
|
327 |
-
#: includes/class-mla-thumbnail-generation.php:
|
328 |
-
#: includes/class-mla-thumbnail-generation.php:
|
329 |
msgid "ERROR"
|
330 |
msgstr ""
|
331 |
|
332 |
-
#: includes/class-mla-ajax.php:291 includes/class-mla-main.php:
|
333 |
msgid "No post ID found"
|
334 |
msgstr ""
|
335 |
|
336 |
-
#: includes/class-mla-ajax.php:298 includes/class-mla-main.php:
|
337 |
-
#: includes/class-mla-polylang-support.php:
|
338 |
msgid "You are not allowed to edit this Attachment."
|
339 |
msgstr ""
|
340 |
|
@@ -412,7 +412,7 @@ msgid "Dynamic"
|
|
412 |
msgstr ""
|
413 |
|
414 |
#: includes/class-mla-core-options.php:467
|
415 |
-
#: includes/class-mla-core-options.php:477 includes/class-mla-main.php:
|
416 |
#: includes/class-mla-settings-custom-fields-tab.php:733
|
417 |
#: includes/class-mla-settings-iptc-exif-tab.php:814
|
418 |
msgid "Refresh"
|
@@ -972,7 +972,7 @@ msgid "Size"
|
|
972 |
msgstr ""
|
973 |
|
974 |
#: includes/class-mla-core-options.php:922
|
975 |
-
#: includes/class-mla-thumbnail-generation.php:
|
976 |
#: includes/class-mla-thumbnail-generation.php:648
|
977 |
msgid "Thumbnail"
|
978 |
msgstr ""
|
@@ -1236,29 +1236,29 @@ msgstr ""
|
|
1236 |
msgid "IPTC/EXIF Mapping help"
|
1237 |
msgstr ""
|
1238 |
|
1239 |
-
#: includes/class-mla-core-options.php:1193 includes/class-mla-data.php:
|
1240 |
-
#: includes/class-mla-edit-media.php:479 includes/class-mla-main.php:
|
1241 |
msgid "Name/Slug"
|
1242 |
msgstr ""
|
1243 |
|
1244 |
-
#: includes/class-mla-core-options.php:1200 includes/class-mla-data.php:
|
1245 |
#: includes/class-mla-edit-media.php:482 includes/class-mla-list-table.php:1345
|
1246 |
-
#: includes/class-mla-main.php:
|
1247 |
#: includes/mla-main-search-box-template.php:51
|
1248 |
#: includes/mla-media-modal-js-template.php:48
|
1249 |
msgid "ALT Text"
|
1250 |
msgstr ""
|
1251 |
|
1252 |
-
#: includes/class-mla-core-options.php:1207 includes/class-mla-data.php:
|
1253 |
-
#: includes/class-mla-edit-media.php:480 includes/class-mla-main.php:
|
1254 |
#: includes/class-mla-options.php:474
|
1255 |
#: includes/mla-main-search-box-template.php:53
|
1256 |
#: includes/mla-media-modal-js-template.php:53
|
1257 |
msgid "Caption"
|
1258 |
msgstr ""
|
1259 |
|
1260 |
-
#: includes/class-mla-core-options.php:1214 includes/class-mla-data.php:
|
1261 |
-
#: includes/class-mla-edit-media.php:481 includes/class-mla-main.php:
|
1262 |
#: includes/class-mla-options.php:477
|
1263 |
#: includes/class-mla-settings-upload-tab.php:174
|
1264 |
#: includes/class-mla-settings-upload-tab.php:538
|
@@ -1275,9 +1275,9 @@ msgstr ""
|
|
1275 |
msgid "Description"
|
1276 |
msgstr ""
|
1277 |
|
1278 |
-
#: includes/class-mla-core-options.php:1221 includes/class-mla-data.php:
|
1279 |
-
#: includes/class-mla-data.php:
|
1280 |
-
#: includes/class-mla-edit-media.php:677 includes/class-mla-main.php:
|
1281 |
msgid "Uploaded on"
|
1282 |
msgstr ""
|
1283 |
|
@@ -1499,45 +1499,45 @@ msgid ""
|
|
1499 |
"the existing MLA_DEBUG_LEVEL value."
|
1500 |
msgstr ""
|
1501 |
|
1502 |
-
#: includes/class-mla-core.php:
|
1503 |
#, php-format
|
1504 |
msgctxt "error_log"
|
1505 |
msgid "%1$s: mla_load_template file \"%2$s\" not found."
|
1506 |
msgstr ""
|
1507 |
|
1508 |
-
#: includes/class-mla-core.php:
|
1509 |
#, php-format
|
1510 |
msgctxt "error_log"
|
1511 |
msgid "%1$s: mla_load_template file \"%2$s\" bad source type \"%3$s\"."
|
1512 |
msgstr ""
|
1513 |
|
1514 |
-
#: includes/class-mla-core.php:
|
1515 |
#, php-format
|
1516 |
msgid "%1$s: Bad specification part \"%2$s\""
|
1517 |
msgstr ""
|
1518 |
|
1519 |
-
#: includes/class-mla-core.php:
|
1520 |
#, php-format
|
1521 |
msgid "%1$s: Bad specification option \"%2$s\""
|
1522 |
msgstr ""
|
1523 |
|
1524 |
-
#: includes/class-mla-core.php:
|
1525 |
#, php-format
|
1526 |
msgid "%1$s: Bad specification prefix \"%2$s\""
|
1527 |
msgstr ""
|
1528 |
|
1529 |
-
#: includes/class-mla-core.php:
|
1530 |
msgid "Most Used"
|
1531 |
msgstr ""
|
1532 |
|
1533 |
-
#: includes/class-mla-core.php:
|
1534 |
#, php-format
|
1535 |
msgid "+ %s"
|
1536 |
msgstr ""
|
1537 |
|
1538 |
-
#: includes/class-mla-core.php:
|
1539 |
-
#: includes/class-mla-edit-media.php:416 includes/class-mla-main.php:
|
1540 |
-
#: includes/class-mla-main.php:
|
1541 |
#: includes/class-mla-media-modal.php:647
|
1542 |
#: includes/mla-media-modal-js-template.php:28
|
1543 |
#: includes/mla-media-modal-js-template.php:75
|
@@ -1683,7 +1683,7 @@ msgid "Attached to"
|
|
1683 |
msgstr ""
|
1684 |
|
1685 |
#: includes/class-mla-data-query.php:841 includes/class-mla-edit-media.php:319
|
1686 |
-
#: includes/class-mla-main.php:
|
1687 |
#: includes/class-mla-media-modal.php:617 includes/class-mla-mime-types.php:801
|
1688 |
#: includes/class-mla-mime-types.php:1450
|
1689 |
#: includes/class-mla-mime-types.php:2640
|
@@ -1811,35 +1811,35 @@ msgid ""
|
|
1811 |
"%1$s: mla_parse_array_template no template end delimiter, tail = \"%2$s\"."
|
1812 |
msgstr ""
|
1813 |
|
1814 |
-
#: includes/class-mla-data.php:
|
1815 |
#, php-format
|
1816 |
msgctxt "error_log"
|
1817 |
msgid "%1$s: mla_parse_template no end delimiter, tail = \"%2$s\"."
|
1818 |
msgstr ""
|
1819 |
|
1820 |
-
#: includes/class-mla-data.php:
|
1821 |
#, php-format
|
1822 |
msgctxt "error_log"
|
1823 |
msgid "%1$s: _find_delimited_substring no end delimiter, tail = \"%2$s\"."
|
1824 |
msgstr ""
|
1825 |
|
1826 |
-
#: includes/class-mla-data.php:
|
1827 |
msgid "Test; no closing parenthesis "
|
1828 |
msgstr ""
|
1829 |
|
1830 |
-
#: includes/class-mla-data.php:
|
1831 |
#, php-format
|
1832 |
msgctxt "error_log"
|
1833 |
msgid "%1$s: _evaluate_template_array_node unknown type \"%2$s\"."
|
1834 |
msgstr ""
|
1835 |
|
1836 |
-
#: includes/class-mla-data.php:
|
1837 |
#, php-format
|
1838 |
msgctxt "error_log"
|
1839 |
msgid "%1$s: _evaluate_template_node unknown type \"%2$s\"."
|
1840 |
msgstr ""
|
1841 |
|
1842 |
-
#: includes/class-mla-data.php:
|
1843 |
#, php-format
|
1844 |
msgctxt "error_log"
|
1845 |
msgid ""
|
@@ -1847,29 +1847,29 @@ msgid ""
|
|
1847 |
"\"."
|
1848 |
msgstr ""
|
1849 |
|
1850 |
-
#: includes/class-mla-data.php:
|
1851 |
#, php-format
|
1852 |
msgctxt "error_log"
|
1853 |
msgid "%1$s: mla_get_attachment_by_id(%2$d) not found."
|
1854 |
msgstr ""
|
1855 |
|
1856 |
-
#: includes/class-mla-data.php:
|
1857 |
#, php-format
|
1858 |
msgctxt "error_log"
|
1859 |
msgid "%1$s: mla_get_attachment_by_id(%2$d) wrong post_type \"%3$s\"."
|
1860 |
msgstr ""
|
1861 |
|
1862 |
-
#: includes/class-mla-data.php:
|
1863 |
msgctxt "error_log"
|
1864 |
msgid "mla_parse_xmp_metadata xml_parse_into_struct failed."
|
1865 |
msgstr ""
|
1866 |
|
1867 |
-
#: includes/class-mla-data.php:
|
1868 |
msgctxt "error_log"
|
1869 |
msgid "mla_parse_xmp_metadata set option failed."
|
1870 |
msgstr ""
|
1871 |
|
1872 |
-
#: includes/class-mla-data.php:
|
1873 |
#: includes/class-mla-settings-custom-fields-tab.php:810
|
1874 |
#: includes/class-mla-settings-custom-fields-tab.php:1520
|
1875 |
#: includes/class-mla-settings-iptc-exif-tab.php:893
|
@@ -1882,7 +1882,7 @@ msgstr ""
|
|
1882 |
msgid "Yes"
|
1883 |
msgstr ""
|
1884 |
|
1885 |
-
#: includes/class-mla-data.php:
|
1886 |
#: includes/class-mla-settings-custom-fields-tab.php:811
|
1887 |
#: includes/class-mla-settings-custom-fields-tab.php:1522
|
1888 |
#: includes/class-mla-settings-iptc-exif-tab.php:894
|
@@ -1895,168 +1895,168 @@ msgstr ""
|
|
1895 |
msgid "No"
|
1896 |
msgstr ""
|
1897 |
|
1898 |
-
#: includes/class-mla-data.php:
|
1899 |
#, php-format
|
1900 |
msgid "Deleting %1$s"
|
1901 |
msgstr ""
|
1902 |
|
1903 |
-
#: includes/class-mla-data.php:
|
1904 |
#, php-format
|
1905 |
msgid "%1$s: meta:%2$s not found"
|
1906 |
msgstr ""
|
1907 |
|
1908 |
-
#: includes/class-mla-data.php:
|
1909 |
-
#: includes/class-mla-data.php:
|
1910 |
#, php-format
|
1911 |
msgid "Adding %1$s = %2$s"
|
1912 |
msgstr ""
|
1913 |
|
1914 |
-
#: includes/class-mla-data.php:
|
1915 |
#, php-format
|
1916 |
msgid "%1$s: Adding meta:%2$s; not found"
|
1917 |
msgstr ""
|
1918 |
|
1919 |
-
#: includes/class-mla-data.php:
|
1920 |
#, php-format
|
1921 |
msgid "Deleting Null meta:%1$s"
|
1922 |
msgstr ""
|
1923 |
|
1924 |
-
#: includes/class-mla-data.php:
|
1925 |
-
#: includes/class-mla-data.php:
|
1926 |
-
#: includes/class-mla-data.php:
|
1927 |
-
#: includes/class-mla-data.php:
|
1928 |
-
#: includes/class-mla-data.php:
|
1929 |
-
#: includes/class-mla-data.php:
|
1930 |
-
#: includes/class-mla-data.php:
|
1931 |
#: includes/class-mla-mime-types.php:1284
|
1932 |
#: includes/class-mla-mime-types.php:2404
|
1933 |
#, php-format
|
1934 |
msgid "Changing %1$s from \"%2$s\" to \"%3$s\""
|
1935 |
msgstr ""
|
1936 |
|
1937 |
-
#: includes/class-mla-data.php:
|
1938 |
#, php-format
|
1939 |
msgid "%1$s: Changing meta:%2$s; not found"
|
1940 |
msgstr ""
|
1941 |
|
1942 |
-
#: includes/class-mla-data.php:
|
1943 |
#, php-format
|
1944 |
msgid "Deleting old %1$s values"
|
1945 |
msgstr ""
|
1946 |
|
1947 |
-
#: includes/class-mla-data.php:
|
1948 |
#, php-format
|
1949 |
msgid "Changing %1$s from \"%2$s\" to \"%3$s\"; %4$d updates"
|
1950 |
msgstr ""
|
1951 |
|
1952 |
-
#: includes/class-mla-data.php:
|
1953 |
msgid "Could not retrieve Attachment."
|
1954 |
msgstr ""
|
1955 |
|
1956 |
-
#: includes/class-mla-data.php:
|
1957 |
#, php-format
|
1958 |
msgid "%1$s: Could not change Name/Slug \"%2$s\"; name already exists"
|
1959 |
msgstr ""
|
1960 |
|
1961 |
-
#: includes/class-mla-data.php:
|
1962 |
#, php-format
|
1963 |
msgid "Deleting ALT Text, was \"%1$s\""
|
1964 |
msgstr ""
|
1965 |
|
1966 |
-
#: includes/class-mla-data.php:
|
1967 |
#, php-format
|
1968 |
msgid "%1$s: Could not delete ALT Text, remains \"%2$s\""
|
1969 |
msgstr ""
|
1970 |
|
1971 |
-
#: includes/class-mla-data.php:
|
1972 |
#, php-format
|
1973 |
msgid "%1$s: Could not change ALT Text from \"%2$s\" to \"%3$s\""
|
1974 |
msgstr ""
|
1975 |
|
1976 |
-
#: includes/class-mla-data.php:
|
1977 |
#: includes/class-mla-list-table.php:1050
|
1978 |
#: includes/class-mla-list-table.php:1053
|
1979 |
-
#: includes/class-mla-list-table.php:1121 includes/class-mla-options.php:
|
1980 |
#: includes/class-mla-settings-iptc-exif-tab.php:484
|
1981 |
#: includes/class-mla-settings-iptc-exif-tab.php:863
|
1982 |
msgid "Parent"
|
1983 |
msgstr ""
|
1984 |
|
1985 |
-
#: includes/class-mla-data.php:
|
1986 |
-
#: includes/class-mla-edit-media.php:1021 includes/class-mla-main.php:
|
1987 |
#: includes/class-mla-settings-view-tab.php:130
|
1988 |
#: includes/class-mla-settings-view-tab.php:386
|
1989 |
msgid "Menu Order"
|
1990 |
msgstr ""
|
1991 |
|
1992 |
-
#: includes/class-mla-data.php:
|
1993 |
#: includes/class-mla-list-table.php:1501
|
1994 |
-
#: includes/class-mla-list-table.php:1504 includes/class-mla-main.php:
|
1995 |
-
#: includes/class-mla-main.php:
|
1996 |
msgid "Author"
|
1997 |
msgstr ""
|
1998 |
|
1999 |
-
#: includes/class-mla-data.php:
|
2000 |
-
#: includes/class-mla-main.php:
|
2001 |
msgid "Comments"
|
2002 |
msgstr ""
|
2003 |
|
2004 |
-
#: includes/class-mla-data.php:
|
2005 |
-
#: includes/class-mla-main.php:
|
2006 |
msgid "Pings"
|
2007 |
msgstr ""
|
2008 |
|
2009 |
-
#: includes/class-mla-data.php:
|
2010 |
#, php-format
|
2011 |
msgid "You cannot assign \"%1$s\" terms"
|
2012 |
msgstr ""
|
2013 |
|
2014 |
-
#: includes/class-mla-data.php:
|
2015 |
msgctxt "tag delimiter"
|
2016 |
msgid ","
|
2017 |
msgstr ""
|
2018 |
|
2019 |
-
#: includes/class-mla-data.php:
|
2020 |
msgid "Adding"
|
2021 |
msgstr ""
|
2022 |
|
2023 |
-
#: includes/class-mla-data.php:
|
2024 |
msgid "Removing"
|
2025 |
msgstr ""
|
2026 |
|
2027 |
-
#: includes/class-mla-data.php:
|
2028 |
msgid "Replacing"
|
2029 |
msgstr ""
|
2030 |
|
2031 |
-
#: includes/class-mla-data.php:
|
2032 |
msgid "Ignoring"
|
2033 |
msgstr ""
|
2034 |
|
2035 |
-
#: includes/class-mla-data.php:
|
2036 |
#, php-format
|
2037 |
msgid "%1$s \"%2$s\" terms"
|
2038 |
msgstr ""
|
2039 |
|
2040 |
-
#: includes/class-mla-data.php:
|
2041 |
#, php-format
|
2042 |
msgid "Item %1$d, no changes detected."
|
2043 |
msgstr ""
|
2044 |
|
2045 |
-
#: includes/class-mla-data.php:
|
2046 |
#, php-format
|
2047 |
msgid "Item %1$d updated."
|
2048 |
msgstr ""
|
2049 |
|
2050 |
-
#: includes/class-mla-data.php:
|
2051 |
#, php-format
|
2052 |
msgid "%1$s: Item %2$d update failed."
|
2053 |
msgstr ""
|
2054 |
|
2055 |
#: includes/class-mla-edit-media.php:129 includes/class-mla-edit-media.php:183
|
2056 |
#: includes/class-mla-edit-media.php:236 includes/class-mla-main.php:468
|
2057 |
-
#: includes/class-mla-main.php:1139 includes/class-mla-main.php:
|
2058 |
-
#: includes/class-mla-media-modal.php:268 includes/class-mla-options.php:
|
2059 |
-
#: includes/class-mla-polylang-support.php:
|
2060 |
#: includes/class-mla-settings-custom-fields-tab.php:59
|
2061 |
#: includes/class-mla-settings-custom-fields-tab.php:94
|
2062 |
#: includes/class-mla-settings-iptc-exif-tab.php:59
|
@@ -2090,7 +2090,7 @@ msgstr ""
|
|
2090 |
msgid "An ajax.done error has occurred. Please reload the page and try again."
|
2091 |
msgstr ""
|
2092 |
|
2093 |
-
#: includes/class-mla-edit-media.php:240 includes/class-mla-main.php:
|
2094 |
#, php-format
|
2095 |
msgid "Uploaded on: %s"
|
2096 |
msgstr ""
|
@@ -2100,35 +2100,35 @@ msgid "Last modified"
|
|
2100 |
msgstr ""
|
2101 |
|
2102 |
#: includes/class-mla-edit-media.php:339 includes/class-mla-edit-media.php:395
|
2103 |
-
#: includes/class-mla-main.php:
|
2104 |
msgid "+ Add New Term"
|
2105 |
msgstr ""
|
2106 |
|
2107 |
#: includes/class-mla-edit-media.php:340 includes/class-mla-edit-media.php:396
|
2108 |
-
#: includes/class-mla-main.php:
|
2109 |
msgid "Add New"
|
2110 |
msgstr ""
|
2111 |
|
2112 |
#: includes/class-mla-edit-media.php:358 includes/class-mla-edit-media.php:414
|
2113 |
-
#: includes/class-mla-main.php:
|
2114 |
msgid "? Search"
|
2115 |
msgstr ""
|
2116 |
|
2117 |
#: includes/class-mla-edit-media.php:361 includes/class-mla-edit-media.php:417
|
2118 |
-
#: includes/class-mla-edit-media.php:426 includes/class-mla-main.php:
|
2119 |
-
#: includes/class-mla-main.php:
|
2120 |
msgid "Add"
|
2121 |
msgstr ""
|
2122 |
|
2123 |
#: includes/class-mla-edit-media.php:362 includes/class-mla-edit-media.php:418
|
2124 |
-
#: includes/class-mla-edit-media.php:427 includes/class-mla-main.php:
|
2125 |
-
#: includes/class-mla-main.php:
|
2126 |
msgid "Remove"
|
2127 |
msgstr ""
|
2128 |
|
2129 |
#: includes/class-mla-edit-media.php:363 includes/class-mla-edit-media.php:419
|
2130 |
-
#: includes/class-mla-edit-media.php:428 includes/class-mla-main.php:
|
2131 |
-
#: includes/class-mla-main.php:
|
2132 |
#: includes/class-mla-settings-custom-fields-tab.php:481
|
2133 |
#: includes/class-mla-settings-custom-fields-tab.php:781
|
2134 |
#: includes/class-mla-settings-custom-fields-tab.php:1506
|
@@ -2145,13 +2145,13 @@ msgid ""
|
|
2145 |
"menu for more information."
|
2146 |
msgstr ""
|
2147 |
|
2148 |
-
#: includes/class-mla-edit-media.php:468 includes/class-mla-main.php:
|
2149 |
#: includes/class-mla-settings.php:1397
|
2150 |
msgid "Reset"
|
2151 |
msgstr ""
|
2152 |
|
2153 |
-
#: includes/class-mla-edit-media.php:474 includes/class-mla-main.php:
|
2154 |
-
#: includes/class-mla-main.php:
|
2155 |
#: includes/class-mla-settings-custom-fields-tab.php:809
|
2156 |
#: includes/class-mla-settings-iptc-exif-tab.php:892
|
2157 |
#: includes/class-mla-settings-upload-tab.php:122
|
@@ -2160,21 +2160,21 @@ msgstr ""
|
|
2160 |
msgid "No Change"
|
2161 |
msgstr ""
|
2162 |
|
2163 |
-
#: includes/class-mla-edit-media.php:475 includes/class-mla-main.php:
|
2164 |
msgid "Allow"
|
2165 |
msgstr ""
|
2166 |
|
2167 |
-
#: includes/class-mla-edit-media.php:476 includes/class-mla-main.php:
|
2168 |
msgid "Do not allow"
|
2169 |
msgstr ""
|
2170 |
|
2171 |
#: includes/class-mla-edit-media.php:484 includes/class-mla-list-table.php:1047
|
2172 |
-
#: includes/class-mla-list-table.php:1118 includes/class-mla-main.php:
|
2173 |
msgid "Parent ID"
|
2174 |
msgstr ""
|
2175 |
|
2176 |
#: includes/class-mla-edit-media.php:485 includes/class-mla-edit-media.php:1001
|
2177 |
-
#: includes/class-mla-main.php:
|
2178 |
#: includes/class-mla-settings-upload-tab.php:1463
|
2179 |
msgid "Select"
|
2180 |
msgstr ""
|
@@ -2195,32 +2195,32 @@ msgstr ""
|
|
2195 |
msgid "IPTC/EXIF mapping is disabled."
|
2196 |
msgstr ""
|
2197 |
|
2198 |
-
#: includes/class-mla-edit-media.php:616 includes/class-mla-main.php:
|
2199 |
msgid "Month"
|
2200 |
msgstr ""
|
2201 |
|
2202 |
-
#: includes/class-mla-edit-media.php:622 includes/class-mla-main.php:
|
2203 |
#, php-format
|
2204 |
msgid "%1$s-%2$s"
|
2205 |
msgstr ""
|
2206 |
|
2207 |
-
#: includes/class-mla-edit-media.php:626 includes/class-mla-main.php:
|
2208 |
msgid "Day"
|
2209 |
msgstr ""
|
2210 |
|
2211 |
-
#: includes/class-mla-edit-media.php:627 includes/class-mla-main.php:
|
2212 |
msgid "Year"
|
2213 |
msgstr ""
|
2214 |
|
2215 |
-
#: includes/class-mla-edit-media.php:628 includes/class-mla-main.php:
|
2216 |
msgid "Hour"
|
2217 |
msgstr ""
|
2218 |
|
2219 |
-
#: includes/class-mla-edit-media.php:629 includes/class-mla-main.php:
|
2220 |
msgid "Minute"
|
2221 |
msgstr ""
|
2222 |
|
2223 |
-
#: includes/class-mla-edit-media.php:633 includes/class-mla-main.php:
|
2224 |
#, php-format
|
2225 |
msgid "%1$s %2$s, %3$s @ %4$s:%5$s"
|
2226 |
msgstr ""
|
@@ -2229,9 +2229,9 @@ msgstr ""
|
|
2229 |
msgid "OK"
|
2230 |
msgstr ""
|
2231 |
|
2232 |
-
#: includes/class-mla-edit-media.php:657 includes/class-mla-main.php:
|
2233 |
-
#: includes/class-mla-main.php:
|
2234 |
-
#: includes/class-mla-polylang-support.php:
|
2235 |
#: includes/class-mla-settings-custom-fields-tab.php:509
|
2236 |
#: includes/class-mla-settings-custom-fields-tab.php:730
|
2237 |
#: includes/class-mla-settings-custom-fields-tab.php:812
|
@@ -2262,7 +2262,7 @@ msgstr ""
|
|
2262 |
#: includes/class-mla-list-table.php:1313
|
2263 |
#: includes/class-mla-list-table.php:1535
|
2264 |
#: includes/class-mla-list-table.php:1861
|
2265 |
-
#: includes/class-mla-polylang-support.php:
|
2266 |
#: includes/class-mla-settings-custom-fields-tab.php:1349
|
2267 |
#: includes/class-mla-settings-custom-fields-tab.php:1688
|
2268 |
#: includes/class-mla-settings-iptc-exif-tab.php:1427
|
@@ -2287,8 +2287,8 @@ msgstr ""
|
|
2287 |
msgid "Map Custom Field metadata for this item"
|
2288 |
msgstr ""
|
2289 |
|
2290 |
-
#: includes/class-mla-edit-media.php:712 includes/class-mla-main.php:
|
2291 |
-
#: includes/class-mla-main.php:
|
2292 |
msgid "Map Custom Field metadata"
|
2293 |
msgstr ""
|
2294 |
|
@@ -2296,8 +2296,8 @@ msgstr ""
|
|
2296 |
msgid "Map IPTC/EXIF metadata for this item"
|
2297 |
msgstr ""
|
2298 |
|
2299 |
-
#: includes/class-mla-edit-media.php:716 includes/class-mla-main.php:
|
2300 |
-
#: includes/class-mla-main.php:
|
2301 |
msgid "Map IPTC/EXIF metadata"
|
2302 |
msgstr ""
|
2303 |
|
@@ -2320,7 +2320,7 @@ msgstr ""
|
|
2320 |
msgid "Post Parent"
|
2321 |
msgstr ""
|
2322 |
|
2323 |
-
#: includes/class-mla-edit-media.php:1001 includes/class-mla-main.php:
|
2324 |
msgid "Select Parent"
|
2325 |
msgstr ""
|
2326 |
|
@@ -2393,8 +2393,8 @@ msgstr ""
|
|
2393 |
msgid "Edit this item inline"
|
2394 |
msgstr ""
|
2395 |
|
2396 |
-
#: includes/class-mla-list-table.php:748 includes/class-mla-main.php:
|
2397 |
-
#: includes/class-mla-options.php:
|
2398 |
#: includes/class-mla-settings-custom-fields-tab.php:472
|
2399 |
#: includes/class-mla-settings-custom-fields-tab.php:772
|
2400 |
#: includes/class-mla-settings-custom-fields-tab.php:1352
|
@@ -2508,7 +2508,7 @@ msgid "Terms Search"
|
|
2508 |
msgstr ""
|
2509 |
|
2510 |
#: includes/class-mla-list-table.php:1970
|
2511 |
-
#: includes/class-mla-polylang-support.php:
|
2512 |
#: includes/class-mla-thumbnail-generation.php:650
|
2513 |
msgid "Clear Filter-by"
|
2514 |
msgstr ""
|
@@ -2535,13 +2535,13 @@ msgstr ""
|
|
2535 |
msgid "Bulk Edit items"
|
2536 |
msgstr ""
|
2537 |
|
2538 |
-
#: includes/class-mla-main.php:461 includes/class-mla-main.php:
|
2539 |
#: includes/class-mla-settings-custom-fields-tab.php:63
|
2540 |
#: includes/class-mla-settings-iptc-exif-tab.php:63
|
2541 |
msgid "Waiting"
|
2542 |
msgstr ""
|
2543 |
|
2544 |
-
#: includes/class-mla-main.php:462 includes/class-mla-main.php:
|
2545 |
#: includes/class-mla-settings-custom-fields-tab.php:65
|
2546 |
#: includes/class-mla-settings-iptc-exif-tab.php:65
|
2547 |
msgid "Complete"
|
@@ -2576,7 +2576,7 @@ msgid_plural "%d items permanently deleted."
|
|
2576 |
msgstr[0] ""
|
2577 |
msgstr[1] ""
|
2578 |
|
2579 |
-
#: includes/class-mla-main.php:609 includes/class-mla-main.php:
|
2580 |
#, php-format
|
2581 |
msgid "Item %1$d moved to Trash."
|
2582 |
msgstr ""
|
@@ -2667,20 +2667,20 @@ msgstr ""
|
|
2667 |
msgid "Unknown mla_admin_action - \"%1$s\""
|
2668 |
msgstr ""
|
2669 |
|
2670 |
-
#: includes/class-mla-main.php:
|
2671 |
msgid "term search results for"
|
2672 |
msgstr ""
|
2673 |
|
2674 |
-
#: includes/class-mla-main.php:
|
2675 |
msgid "post/parent results for"
|
2676 |
msgstr ""
|
2677 |
|
2678 |
-
#: includes/class-mla-main.php:
|
2679 |
msgid "search results for"
|
2680 |
msgstr ""
|
2681 |
|
2682 |
-
#: includes/class-mla-main.php:
|
2683 |
-
#: includes/class-mla-main.php:
|
2684 |
#: includes/class-mla-settings-custom-fields-tab.php:511
|
2685 |
#: includes/class-mla-settings-custom-fields-tab.php:813
|
2686 |
#: includes/class-mla-settings-documentation-tab.php:679
|
@@ -2695,20 +2695,20 @@ msgstr ""
|
|
2695 |
msgid "Update"
|
2696 |
msgstr ""
|
2697 |
|
2698 |
-
#: includes/class-mla-main.php:
|
2699 |
msgid "All Post Types"
|
2700 |
msgstr ""
|
2701 |
|
2702 |
-
#: includes/class-mla-main.php:
|
2703 |
msgid "For"
|
2704 |
msgstr ""
|
2705 |
|
2706 |
-
#: includes/class-mla-main.php:
|
2707 |
-
#: includes/class-mla-shortcode-support.php:
|
2708 |
msgid "Unattached"
|
2709 |
msgstr ""
|
2710 |
|
2711 |
-
#: includes/class-mla-main.php:
|
2712 |
#: includes/class-mla-settings-custom-fields-tab.php:475
|
2713 |
#: includes/class-mla-settings-custom-fields-tab.php:775
|
2714 |
#: includes/class-mla-settings-custom-fields-tab.php:1466
|
@@ -2718,43 +2718,43 @@ msgstr ""
|
|
2718 |
msgid "Bulk Edit"
|
2719 |
msgstr ""
|
2720 |
|
2721 |
-
#: includes/class-mla-main.php:
|
2722 |
msgid "In-process"
|
2723 |
msgstr ""
|
2724 |
|
2725 |
-
#: includes/class-mla-main.php:
|
2726 |
msgid "You are not allowed to delete this item."
|
2727 |
msgstr ""
|
2728 |
|
2729 |
-
#: includes/class-mla-main.php:
|
2730 |
#, php-format
|
2731 |
msgid "%1$s: Item %2$d could NOT be deleted."
|
2732 |
msgstr ""
|
2733 |
|
2734 |
-
#: includes/class-mla-main.php:
|
2735 |
#, php-format
|
2736 |
msgid "Item %1$d permanently deleted."
|
2737 |
msgstr ""
|
2738 |
|
2739 |
-
#: includes/class-mla-main.php:
|
2740 |
msgid "You are not allowed to move this item out of the Trash."
|
2741 |
msgstr ""
|
2742 |
|
2743 |
-
#: includes/class-mla-main.php:
|
2744 |
#, php-format
|
2745 |
msgid "%1$s: Item %2$d could NOT be restored from Trash."
|
2746 |
msgstr ""
|
2747 |
|
2748 |
-
#: includes/class-mla-main.php:
|
2749 |
#, php-format
|
2750 |
msgid "Item %1$d restored from Trash."
|
2751 |
msgstr ""
|
2752 |
|
2753 |
-
#: includes/class-mla-main.php:
|
2754 |
msgid "You are not allowed to move this item to the Trash."
|
2755 |
msgstr ""
|
2756 |
|
2757 |
-
#: includes/class-mla-main.php:
|
2758 |
#, php-format
|
2759 |
msgid "%1$s: Item %2$d could NOT be moved to Trash."
|
2760 |
msgstr ""
|
@@ -3351,81 +3351,81 @@ msgstr ""
|
|
3351 |
msgid "Terms"
|
3352 |
msgstr ""
|
3353 |
|
3354 |
-
#: includes/class-mla-options.php:
|
3355 |
-
#: includes/class-mla-options.php:
|
3356 |
#: includes/class-mla-settings-upload-tab.php:128
|
3357 |
msgid "None (select a value)"
|
3358 |
msgstr ""
|
3359 |
|
3360 |
-
#: includes/class-mla-options.php:
|
3361 |
msgid "Metadata (see below)"
|
3362 |
msgstr ""
|
3363 |
|
3364 |
-
#: includes/class-mla-options.php:
|
3365 |
msgid "Template (see below)"
|
3366 |
msgstr ""
|
3367 |
|
3368 |
-
#: includes/class-mla-options.php:
|
3369 |
#, php-format
|
3370 |
msgid "%1$s: New field %2$s already exists."
|
3371 |
msgstr ""
|
3372 |
|
3373 |
-
#: includes/class-mla-options.php:
|
3374 |
#, php-format
|
3375 |
msgid "Adding new field %1$s."
|
3376 |
msgstr ""
|
3377 |
|
3378 |
-
#: includes/class-mla-options.php:
|
3379 |
#, php-format
|
3380 |
msgid "Adding new rule for %1$s."
|
3381 |
msgstr ""
|
3382 |
|
3383 |
-
#: includes/class-mla-options.php:
|
3384 |
-
#: includes/class-mla-options.php:
|
3385 |
#, php-format
|
3386 |
msgid "Deleting rule for %1$s."
|
3387 |
msgstr ""
|
3388 |
|
3389 |
-
#: includes/class-mla-options.php:
|
3390 |
-
#: includes/class-mla-options.php:
|
3391 |
-
#: includes/class-mla-options.php:
|
3392 |
-
#: includes/class-mla-options.php:
|
3393 |
-
#: includes/class-mla-options.php:
|
3394 |
-
#: includes/class-mla-options.php:
|
3395 |
-
#: includes/class-mla-options.php:
|
3396 |
-
#: includes/class-mla-options.php:
|
3397 |
#, php-format
|
3398 |
msgid "%1$s changing %2$s from %3$s to %4$s."
|
3399 |
msgstr ""
|
3400 |
|
3401 |
-
#: includes/class-mla-options.php:
|
3402 |
#: includes/class-mla-settings-custom-fields-tab.php:463
|
3403 |
#: includes/class-mla-settings-custom-fields-tab.php:763
|
3404 |
msgid "Data Source"
|
3405 |
msgstr ""
|
3406 |
|
3407 |
-
#: includes/class-mla-options.php:
|
3408 |
-
#: includes/class-mla-options.php:
|
3409 |
msgid "Replace to Keep"
|
3410 |
msgstr ""
|
3411 |
|
3412 |
-
#: includes/class-mla-options.php:
|
3413 |
-
#: includes/class-mla-options.php:
|
3414 |
msgid "Keep to Replace"
|
3415 |
msgstr ""
|
3416 |
|
3417 |
-
#: includes/class-mla-options.php:
|
3418 |
-
#: includes/class-mla-options.php:
|
3419 |
-
#: includes/class-mla-options.php:
|
3420 |
-
#: includes/class-mla-options.php:
|
3421 |
-
#: includes/class-mla-options.php:
|
3422 |
-
#: includes/class-mla-options.php:
|
3423 |
#, php-format
|
3424 |
msgid "%1$s changing %2$s value from %3$s."
|
3425 |
msgstr ""
|
3426 |
|
3427 |
-
#: includes/class-mla-options.php:
|
3428 |
-
#: includes/class-mla-options.php:
|
3429 |
#: includes/class-mla-settings-custom-fields-tab.php:477
|
3430 |
#: includes/class-mla-settings-custom-fields-tab.php:777
|
3431 |
#: includes/class-mla-settings-iptc-exif-tab.php:474
|
@@ -3433,7 +3433,7 @@ msgstr ""
|
|
3433 |
msgid "Existing Text"
|
3434 |
msgstr ""
|
3435 |
|
3436 |
-
#: includes/class-mla-options.php:
|
3437 |
#: includes/class-mla-settings-custom-fields-tab.php:482
|
3438 |
#: includes/class-mla-settings-custom-fields-tab.php:782
|
3439 |
#: includes/class-mla-settings-iptc-exif-tab.php:489
|
@@ -3441,30 +3441,30 @@ msgstr ""
|
|
3441 |
msgid "Format"
|
3442 |
msgstr ""
|
3443 |
|
3444 |
-
#: includes/class-mla-options.php:
|
3445 |
-
#: includes/class-mla-options.php:
|
3446 |
-
#: includes/class-mla-options.php:
|
3447 |
msgid "unchecked to checked"
|
3448 |
msgstr ""
|
3449 |
|
3450 |
-
#: includes/class-mla-options.php:
|
3451 |
-
#: includes/class-mla-options.php:
|
3452 |
-
#: includes/class-mla-options.php:
|
3453 |
msgid "checked to unchecked"
|
3454 |
msgstr ""
|
3455 |
|
3456 |
-
#: includes/class-mla-options.php:
|
3457 |
#: includes/class-mla-settings-custom-fields-tab.php:469
|
3458 |
#: includes/class-mla-settings-custom-fields-tab.php:769
|
3459 |
#: includes/class-mla-settings-custom-fields-tab.php:1458
|
3460 |
msgid "MLA Column"
|
3461 |
msgstr ""
|
3462 |
|
3463 |
-
#: includes/class-mla-options.php:
|
3464 |
msgid "Metavalue name"
|
3465 |
msgstr ""
|
3466 |
|
3467 |
-
#: includes/class-mla-options.php:
|
3468 |
#: includes/class-mla-settings-custom-fields-tab.php:489
|
3469 |
#: includes/class-mla-settings-custom-fields-tab.php:789
|
3470 |
#: includes/class-mla-settings-iptc-exif-tab.php:496
|
@@ -3472,214 +3472,214 @@ msgstr ""
|
|
3472 |
msgid "Option"
|
3473 |
msgstr ""
|
3474 |
|
3475 |
-
#: includes/class-mla-options.php:
|
3476 |
#: includes/class-mla-settings-iptc-exif-tab.php:508
|
3477 |
msgid "Delete NULL values"
|
3478 |
msgstr ""
|
3479 |
|
3480 |
-
#: includes/class-mla-options.php:
|
3481 |
#, php-format
|
3482 |
msgid "%1$s: No old values for %2$s."
|
3483 |
msgstr ""
|
3484 |
|
3485 |
-
#: includes/class-mla-options.php:
|
3486 |
msgid "Field Title"
|
3487 |
msgstr ""
|
3488 |
|
3489 |
-
#: includes/class-mla-options.php:
|
3490 |
-
#: includes/class-mla-options.php:
|
3491 |
#: includes/class-mla-settings-iptc-exif-tab.php:463
|
3492 |
#: includes/class-mla-settings-iptc-exif-tab.php:845
|
3493 |
msgid "IPTC Value"
|
3494 |
msgstr ""
|
3495 |
|
3496 |
-
#: includes/class-mla-options.php:
|
3497 |
-
#: includes/class-mla-options.php:
|
3498 |
msgid "EXIF Value"
|
3499 |
msgstr ""
|
3500 |
|
3501 |
-
#: includes/class-mla-options.php:
|
3502 |
-
#: includes/class-mla-options.php:
|
3503 |
msgid "EXIF to IPTC"
|
3504 |
msgstr ""
|
3505 |
|
3506 |
-
#: includes/class-mla-options.php:
|
3507 |
-
#: includes/class-mla-options.php:
|
3508 |
msgid "IPTC to EXIF"
|
3509 |
msgstr ""
|
3510 |
|
3511 |
-
#: includes/class-mla-options.php:
|
3512 |
-
#: includes/class-mla-options.php:
|
3513 |
#: includes/class-mla-settings-iptc-exif-tab.php:469
|
3514 |
#: includes/class-mla-settings-iptc-exif-tab.php:851
|
3515 |
msgid "Priority"
|
3516 |
msgstr ""
|
3517 |
|
3518 |
-
#: includes/class-mla-options.php:
|
3519 |
msgid "Delimiter(s)"
|
3520 |
msgstr ""
|
3521 |
|
3522 |
-
#: includes/class-mla-polylang-support.php:
|
3523 |
msgid "ERROR: No post ID found"
|
3524 |
msgstr ""
|
3525 |
|
3526 |
-
#: includes/class-mla-polylang-support.php:
|
3527 |
msgid "Error while saving the translations."
|
3528 |
msgstr ""
|
3529 |
|
3530 |
-
#: includes/class-mla-polylang-support.php:
|
3531 |
msgid "Remove From Bulk Translate"
|
3532 |
msgstr ""
|
3533 |
|
3534 |
-
#: includes/class-mla-polylang-support.php:
|
3535 |
msgid "Bulk Translate items"
|
3536 |
msgstr ""
|
3537 |
|
3538 |
-
#: includes/class-mla-polylang-support.php:
|
3539 |
msgid "Add new"
|
3540 |
msgstr ""
|
3541 |
|
3542 |
-
#: includes/class-mla-polylang-support.php:
|
3543 |
-
#: includes/class-mla-polylang-support.php:
|
3544 |
msgid "Bulk Translations"
|
3545 |
msgstr ""
|
3546 |
|
3547 |
-
#: includes/class-mla-polylang-support.php:
|
3548 |
msgid "Translate"
|
3549 |
msgstr ""
|
3550 |
|
3551 |
-
#: includes/class-mla-polylang-support.php:
|
3552 |
msgid "All Languages"
|
3553 |
msgstr ""
|
3554 |
|
3555 |
-
#: includes/class-mla-polylang-support.php:
|
3556 |
-
#: includes/class-mla-polylang-support.php:
|
3557 |
-
#: includes/class-mla-polylang-support.php:
|
3558 |
msgid "Quick Translate"
|
3559 |
msgstr ""
|
3560 |
|
3561 |
-
#: includes/class-mla-polylang-support.php:
|
3562 |
msgid "Set Language"
|
3563 |
msgstr ""
|
3564 |
|
3565 |
-
#: includes/class-mla-polylang-support.php:
|
3566 |
-
#: includes/class-mla-polylang-support.php:
|
3567 |
msgid "Bulk Translate"
|
3568 |
msgstr ""
|
3569 |
|
3570 |
-
#: includes/class-mla-polylang-support.php:
|
3571 |
msgid "Add or Modify Translation"
|
3572 |
msgstr ""
|
3573 |
|
3574 |
-
#: includes/class-mla-polylang-support.php:
|
3575 |
-
#: includes/class-mla-polylang-support.php:
|
3576 |
-
#: includes/class-mla-polylang-support.php:
|
3577 |
-
#: includes/class-mla-polylang-support.php:
|
3578 |
#: includes/class-mla-wpml-support.php:1584
|
3579 |
#: includes/class-mla-wpml-support.php:1674
|
3580 |
#: includes/class-mla-wpml-support.php:2159
|
3581 |
msgid "Language"
|
3582 |
msgstr ""
|
3583 |
|
3584 |
-
#: includes/class-mla-polylang-support.php:
|
3585 |
#: includes/class-mla-thumbnail-generation.php:649
|
3586 |
msgid "Options"
|
3587 |
msgstr ""
|
3588 |
|
3589 |
-
#: includes/class-mla-polylang-support.php:
|
3590 |
msgid "Translate this item inline"
|
3591 |
msgstr ""
|
3592 |
|
3593 |
-
#: includes/class-mla-polylang-support.php:
|
3594 |
-
#: includes/class-mla-polylang-support.php:
|
3595 |
#: includes/class-mla-wpml-support.php:1619
|
3596 |
#: includes/class-mla-wpml-support.php:1722
|
3597 |
msgid "Media/Assistant submenu table"
|
3598 |
msgstr ""
|
3599 |
|
3600 |
-
#: includes/class-mla-polylang-support.php:
|
3601 |
#: includes/class-mla-wpml-support.php:1624
|
3602 |
msgid "Language Column"
|
3603 |
msgstr ""
|
3604 |
|
3605 |
-
#: includes/class-mla-polylang-support.php:
|
3606 |
#: includes/class-mla-wpml-support.php:1627
|
3607 |
msgid ""
|
3608 |
"Check this option to add a Language column to the Media/Assistant submenu "
|
3609 |
"table."
|
3610 |
msgstr ""
|
3611 |
|
3612 |
-
#: includes/class-mla-polylang-support.php:
|
3613 |
#: includes/class-mla-wpml-support.php:1631
|
3614 |
msgid "Translations Column"
|
3615 |
msgstr ""
|
3616 |
|
3617 |
-
#: includes/class-mla-polylang-support.php:
|
3618 |
#: includes/class-mla-wpml-support.php:1634
|
3619 |
msgid ""
|
3620 |
"Check this option to add a Translation Status column to the Media/Assistant "
|
3621 |
"submenu table."
|
3622 |
msgstr ""
|
3623 |
|
3624 |
-
#: includes/class-mla-polylang-support.php:
|
3625 |
msgid ""
|
3626 |
"Check this option to add a Quick Translate rollover action to the Media/"
|
3627 |
"Assistant submenu table."
|
3628 |
msgstr ""
|
3629 |
|
3630 |
-
#: includes/class-mla-polylang-support.php:
|
3631 |
msgid ""
|
3632 |
"Check this option to add \"Translate\" to the \"Bulk Actions\" control on "
|
3633 |
"the Media/Assistant submenu table."
|
3634 |
msgstr ""
|
3635 |
|
3636 |
-
#: includes/class-mla-polylang-support.php:
|
3637 |
-
#: includes/class-mla-polylang-support.php:
|
3638 |
#: includes/class-mla-wpml-support.php:1638
|
3639 |
#: includes/class-mla-wpml-support.php:1722
|
3640 |
msgid "Term Management"
|
3641 |
msgstr ""
|
3642 |
|
3643 |
-
#: includes/class-mla-polylang-support.php:
|
3644 |
#: includes/class-mla-wpml-support.php:1643
|
3645 |
msgid "Term Assignment"
|
3646 |
msgstr ""
|
3647 |
|
3648 |
-
#: includes/class-mla-polylang-support.php:
|
3649 |
#: includes/class-mla-wpml-support.php:1646
|
3650 |
msgid ""
|
3651 |
"Check this option to assign language-specific terms when items are updated."
|
3652 |
msgstr ""
|
3653 |
|
3654 |
-
#: includes/class-mla-polylang-support.php:
|
3655 |
#: includes/class-mla-wpml-support.php:1650
|
3656 |
msgid "Term Synchronization"
|
3657 |
msgstr ""
|
3658 |
|
3659 |
-
#: includes/class-mla-polylang-support.php:
|
3660 |
#: includes/class-mla-wpml-support.php:1653
|
3661 |
msgid ""
|
3662 |
"Check this option to synchronize common terms among all item translations."
|
3663 |
msgstr ""
|
3664 |
|
3665 |
-
#: includes/class-mla-polylang-support.php:
|
3666 |
#: includes/class-mla-wpml-support.php:1657
|
3667 |
msgid "Term Mapping Replication"
|
3668 |
msgstr ""
|
3669 |
|
3670 |
-
#: includes/class-mla-polylang-support.php:
|
3671 |
#: includes/class-mla-wpml-support.php:1660
|
3672 |
msgid ""
|
3673 |
"When mapping IPTC/EXIF metadata to taxonomy terms, make them available in "
|
3674 |
"all languages."
|
3675 |
msgstr ""
|
3676 |
|
3677 |
-
#: includes/class-mla-polylang-support.php:
|
3678 |
#: includes/class-mla-wpml-support.php:1720
|
3679 |
msgid "Language Options"
|
3680 |
msgstr ""
|
3681 |
|
3682 |
-
#: includes/class-mla-polylang-support.php:
|
3683 |
#, php-format
|
3684 |
msgid ""
|
3685 |
"In this tab you can find a number of options for controlling Polylang-"
|
@@ -3688,7 +3688,7 @@ msgid ""
|
|
3688 |
"make."
|
3689 |
msgstr ""
|
3690 |
|
3691 |
-
#: includes/class-mla-polylang-support.php:
|
3692 |
#: includes/class-mla-wpml-support.php:1724
|
3693 |
#, php-format
|
3694 |
msgid ""
|
@@ -3696,17 +3696,17 @@ msgid ""
|
|
3696 |
"section of the Documentation."
|
3697 |
msgstr ""
|
3698 |
|
3699 |
-
#: includes/class-mla-polylang-support.php:
|
3700 |
#: includes/class-mla-wpml-support.php:1724
|
3701 |
msgid "Language Options documentation"
|
3702 |
msgstr ""
|
3703 |
|
3704 |
-
#: includes/class-mla-polylang-support.php:
|
3705 |
#: includes/class-mla-wpml-support.php:1724
|
3706 |
msgid "WPML & Polylang Multilingual Support; the MLA Language Tab"
|
3707 |
msgstr ""
|
3708 |
|
3709 |
-
#: includes/class-mla-polylang-support.php:
|
3710 |
#: includes/class-mla-settings-custom-fields-tab.php:657
|
3711 |
#: includes/class-mla-settings-custom-fields-tab.php:756
|
3712 |
#: includes/class-mla-settings-iptc-exif-tab.php:738
|
@@ -3722,23 +3722,23 @@ msgstr ""
|
|
3722 |
msgid "Save Changes"
|
3723 |
msgstr ""
|
3724 |
|
3725 |
-
#: includes/class-mla-polylang-support.php:
|
3726 |
#: includes/class-mla-wpml-support.php:1728
|
3727 |
msgid "Delete Language options and restore default settings"
|
3728 |
msgstr ""
|
3729 |
|
3730 |
-
#: includes/class-mla-polylang-support.php:
|
3731 |
#: includes/class-mla-settings.php:801 includes/class-mla-settings.php:1068
|
3732 |
#: includes/class-mla-wpml-support.php:1731
|
3733 |
msgid "Go to Top"
|
3734 |
msgstr ""
|
3735 |
|
3736 |
-
#: includes/class-mla-polylang-support.php:
|
3737 |
#: includes/class-mla-wpml-support.php:1768
|
3738 |
msgid "Language settings saved."
|
3739 |
msgstr ""
|
3740 |
|
3741 |
-
#: includes/class-mla-polylang-support.php:
|
3742 |
#: includes/class-mla-settings.php:1644
|
3743 |
#: includes/class-mla-wpml-support.php:1799
|
3744 |
#, php-format
|
@@ -3746,7 +3746,7 @@ msgctxt "message_list"
|
|
3746 |
msgid "delete_option \"%1$s\""
|
3747 |
msgstr ""
|
3748 |
|
3749 |
-
#: includes/class-mla-polylang-support.php:
|
3750 |
#: includes/class-mla-wpml-support.php:1807
|
3751 |
msgid "Language settings reset to default values."
|
3752 |
msgstr ""
|
@@ -5506,149 +5506,154 @@ msgstr ""
|
|
5506 |
msgid "Settings imported; %1$s updated, %2$s unchanged."
|
5507 |
msgstr ""
|
5508 |
|
5509 |
-
#: includes/class-mla-shortcode-support.php:
|
5510 |
-
#: includes/class-mla-shortcode-support.php:
|
5511 |
-
#: includes/class-mla-shortcode-support.php:
|
5512 |
-
#: includes/class-mla-shortcode-support.php:
|
5513 |
msgid "Previous"
|
5514 |
msgstr ""
|
5515 |
|
5516 |
-
#: includes/class-mla-shortcode-support.php:
|
5517 |
-
#: includes/class-mla-shortcode-support.php:
|
5518 |
-
#: includes/class-mla-shortcode-support.php:
|
5519 |
-
#: includes/class-mla-shortcode-support.php:
|
5520 |
msgid "Next"
|
5521 |
msgstr ""
|
5522 |
|
5523 |
-
#: includes/class-mla-shortcode-support.php:
|
5524 |
-
#: includes/class-mla-shortcode-support.php:
|
5525 |
-
#: includes/class-mla-shortcode-support.php:
|
5526 |
-
#: includes/class-mla-shortcode-support.php:
|
5527 |
-
#: includes/class-mla-shortcode-support.php:
|
5528 |
-
#: includes/class-mla-shortcode-support.php:
|
5529 |
#: includes/class-mla-template-support.php:598
|
5530 |
msgid "not found"
|
5531 |
msgstr ""
|
5532 |
|
5533 |
-
#: includes/class-mla-shortcode-support.php:
|
5534 |
-
#: includes/class-mla-shortcode-support.php:
|
5535 |
-
#: includes/class-mla-shortcode-support.php:
|
5536 |
msgid "mla_debug REQUEST"
|
5537 |
msgstr ""
|
5538 |
|
5539 |
-
#: includes/class-mla-shortcode-support.php:
|
5540 |
-
#: includes/class-mla-shortcode-support.php:
|
5541 |
-
|
|
|
|
|
|
|
|
|
|
|
5542 |
msgid "mla_debug attributes"
|
5543 |
msgstr ""
|
5544 |
|
5545 |
-
#: includes/class-mla-shortcode-support.php:
|
5546 |
-
#: includes/class-mla-shortcode-support.php:
|
5547 |
-
#: includes/class-mla-shortcode-support.php:
|
5548 |
msgid "mla_debug arguments"
|
5549 |
msgstr ""
|
5550 |
|
5551 |
-
#: includes/class-mla-shortcode-support.php:
|
5552 |
msgid "mla_debug empty gallery"
|
5553 |
msgstr ""
|
5554 |
|
5555 |
-
#: includes/class-mla-shortcode-support.php:
|
5556 |
msgid ""
|
5557 |
"<strong>Photonic-enhanced [mla_gallery]</strong> type must be "
|
5558 |
"<strong>default</strong>, query = "
|
5559 |
msgstr ""
|
5560 |
|
5561 |
-
#: includes/class-mla-shortcode-support.php:
|
5562 |
msgid "unknown"
|
5563 |
msgstr ""
|
5564 |
|
5565 |
-
#: includes/class-mla-shortcode-support.php:
|
5566 |
msgid "mla_debug empty cloud"
|
5567 |
msgstr ""
|
5568 |
|
5569 |
-
#: includes/class-mla-shortcode-support.php:
|
5570 |
msgid "mla_debug empty list"
|
5571 |
msgstr ""
|
5572 |
|
5573 |
-
#: includes/class-mla-shortcode-support.php:
|
5574 |
msgid "no-terms"
|
5575 |
msgstr ""
|
5576 |
|
5577 |
-
#: includes/class-mla-shortcode-support.php:
|
5578 |
-
#: includes/class-mla-shortcode-support.php:
|
5579 |
-
#: includes/class-mla-shortcode-support.php:
|
5580 |
msgid "Invalid mla_gallery"
|
5581 |
msgstr ""
|
5582 |
|
5583 |
-
#: includes/class-mla-shortcode-support.php:
|
5584 |
msgid "mla_debug query"
|
5585 |
msgstr ""
|
5586 |
|
5587 |
-
#: includes/class-mla-shortcode-support.php:
|
5588 |
msgid "mla_debug request"
|
5589 |
msgstr ""
|
5590 |
|
5591 |
-
#: includes/class-mla-shortcode-support.php:
|
5592 |
msgid "mla_debug query_vars"
|
5593 |
msgstr ""
|
5594 |
|
5595 |
-
#: includes/class-mla-shortcode-support.php:
|
5596 |
msgid "mla_debug post_count"
|
5597 |
msgstr ""
|
5598 |
|
5599 |
-
#: includes/class-mla-shortcode-support.php:
|
5600 |
msgid "mla_debug JOIN filter"
|
5601 |
msgstr ""
|
5602 |
|
5603 |
-
#: includes/class-mla-shortcode-support.php:
|
5604 |
msgid "mla_debug modified JOIN filter"
|
5605 |
msgstr ""
|
5606 |
|
5607 |
-
#: includes/class-mla-shortcode-support.php:
|
5608 |
msgid "mla_debug WHERE filter"
|
5609 |
msgstr ""
|
5610 |
|
5611 |
-
#: includes/class-mla-shortcode-support.php:
|
5612 |
msgid "mla_debug modified WHERE filter"
|
5613 |
msgstr ""
|
5614 |
|
5615 |
-
#: includes/class-mla-shortcode-support.php:
|
5616 |
msgid "mla_debug ORDER BY filter, incoming"
|
5617 |
msgstr ""
|
5618 |
|
5619 |
-
#: includes/class-mla-shortcode-support.php:
|
5620 |
msgid "Replacement ORDER BY clause"
|
5621 |
msgstr ""
|
5622 |
|
5623 |
-
#: includes/class-mla-shortcode-support.php:
|
5624 |
msgid "mla_debug posts_clauses filter"
|
5625 |
msgstr ""
|
5626 |
|
5627 |
-
#: includes/class-mla-shortcode-support.php:
|
5628 |
msgid "mla_debug posts_clauses_request filter"
|
5629 |
msgstr ""
|
5630 |
|
5631 |
-
#: includes/class-mla-shortcode-support.php:
|
5632 |
msgid "Invalid taxonomy"
|
5633 |
msgstr ""
|
5634 |
|
5635 |
-
#: includes/class-mla-shortcode-support.php:
|
5636 |
msgid "mla_debug query arguments"
|
5637 |
msgstr ""
|
5638 |
|
5639 |
-
#: includes/class-mla-shortcode-support.php:
|
5640 |
msgid "mla_debug last_query"
|
5641 |
msgstr ""
|
5642 |
|
5643 |
-
#: includes/class-mla-shortcode-support.php:
|
5644 |
msgid "mla_debug last_error"
|
5645 |
msgstr ""
|
5646 |
|
5647 |
-
#: includes/class-mla-shortcode-support.php:
|
5648 |
msgid "mla_debug num_rows"
|
5649 |
msgstr ""
|
5650 |
|
5651 |
-
#: includes/class-mla-shortcode-support.php:
|
5652 |
msgid "mla_debug found_rows"
|
5653 |
msgstr ""
|
5654 |
|
@@ -5819,45 +5824,45 @@ msgstr ""
|
|
5819 |
msgid "Item %1$d"
|
5820 |
msgstr ""
|
5821 |
|
5822 |
-
#: includes/class-mla-thumbnail-generation.php:
|
5823 |
msgid "has native thumbnail."
|
5824 |
msgstr ""
|
5825 |
|
5826 |
-
#: includes/class-mla-thumbnail-generation.php:
|
5827 |
msgid "Featured Image retained."
|
5828 |
msgstr ""
|
5829 |
|
5830 |
-
#: includes/class-mla-thumbnail-generation.php:
|
5831 |
#, php-format
|
5832 |
msgid "%1$s: %2$sno attached file."
|
5833 |
msgstr ""
|
5834 |
|
5835 |
-
#: includes/class-mla-thumbnail-generation.php:
|
5836 |
msgid "unsupported file type."
|
5837 |
msgstr ""
|
5838 |
|
5839 |
-
#: includes/class-mla-thumbnail-generation.php:
|
5840 |
-
#: includes/class-mla-thumbnail-generation.php:
|
5841 |
#, php-format
|
5842 |
msgid "%1$s: %2$sthumbnail generation failed"
|
5843 |
msgstr ""
|
5844 |
|
5845 |
-
#: includes/class-mla-thumbnail-generation.php:
|
5846 |
#, php-format
|
5847 |
msgid "%1$sWordPress-style thumbnail generated."
|
5848 |
msgstr ""
|
5849 |
|
5850 |
-
#: includes/class-mla-thumbnail-generation.php:
|
5851 |
#, php-format
|
5852 |
msgid "%1$s: %2$swp_insert_attachment failed."
|
5853 |
msgstr ""
|
5854 |
|
5855 |
-
#: includes/class-mla-thumbnail-generation.php:
|
5856 |
#, php-format
|
5857 |
msgid "%1$sthumbnail generated as new item %2$s."
|
5858 |
msgstr ""
|
5859 |
|
5860 |
-
#: includes/class-mla-thumbnail-generation.php:
|
5861 |
#: includes/class-mla-thumbnail-generation.php:673
|
5862 |
msgid "Generated Thumbnails"
|
5863 |
msgstr ""
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: Media Library Assistant\n"
|
5 |
+
"POT-Creation-Date: 2019-08-18 19:15-0700\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"
|
159 |
msgstr ""
|
160 |
|
161 |
#: includes/class-mla-ajax.php:233 includes/class-mla-core-options.php:1186
|
162 |
+
#: includes/class-mla-data.php:3992 includes/class-mla-edit-media.php:478
|
163 |
+
#: includes/class-mla-main.php:2038 includes/class-mla-main.php:2343
|
164 |
#: includes/class-mla-objects.php:348 includes/class-mla-options.php:465
|
165 |
#: includes/mla-main-search-box-template.php:47
|
166 |
#: includes/mla-media-modal-js-template.php:40
|
167 |
msgid "Title"
|
168 |
msgstr ""
|
169 |
|
170 |
+
#: includes/class-mla-ajax.php:233 includes/class-mla-main.php:2039
|
171 |
#: includes/class-mla-thumbnail-generation.php:637
|
172 |
msgid "Type"
|
173 |
msgstr ""
|
174 |
|
175 |
+
#: includes/class-mla-ajax.php:233 includes/class-mla-main.php:2040
|
176 |
msgid "Date"
|
177 |
msgstr ""
|
178 |
|
179 |
+
#: includes/class-mla-ajax.php:233 includes/class-mla-main.php:2041
|
180 |
#: includes/class-mla-settings-custom-fields-tab.php:503
|
181 |
#: includes/class-mla-settings-custom-fields-tab.php:803
|
182 |
#: includes/class-mla-settings-iptc-exif-tab.php:511
|
187 |
|
188 |
#: includes/class-mla-ajax.php:237 includes/class-mla-list-table.php:879
|
189 |
#: includes/class-mla-list-table.php:1044 includes/class-mla-main.php:459
|
190 |
+
#: includes/class-mla-polylang-support.php:374
|
191 |
#: includes/class-mla-thumbnail-generation.php:97
|
192 |
msgid "(no title)"
|
193 |
msgstr ""
|
201 |
msgstr ""
|
202 |
|
203 |
#: includes/class-mla-ajax.php:291 includes/class-mla-ajax.php:298
|
204 |
+
#: includes/class-mla-ajax.php:307 includes/class-mla-core.php:846
|
205 |
+
#: includes/class-mla-core.php:864 includes/class-mla-core.php:1289
|
206 |
+
#: includes/class-mla-core.php:1295 includes/class-mla-core.php:1299
|
207 |
#: includes/class-mla-data-pdf.php:216 includes/class-mla-data-pdf.php:517
|
208 |
#: includes/class-mla-data-pdf.php:519 includes/class-mla-data-pdf.php:565
|
209 |
#: includes/class-mla-data-pdf.php:749 includes/class-mla-data-query.php:841
|
210 |
#: includes/class-mla-data.php:50 includes/class-mla-data.php:108
|
211 |
+
#: includes/class-mla-data.php:194 includes/class-mla-data.php:238
|
212 |
+
#: includes/class-mla-data.php:341 includes/class-mla-data.php:497
|
213 |
+
#: includes/class-mla-data.php:560 includes/class-mla-data.php:1504
|
214 |
+
#: includes/class-mla-data.php:1702 includes/class-mla-data.php:1708
|
215 |
+
#: includes/class-mla-data.php:2105 includes/class-mla-data.php:2109
|
216 |
+
#: includes/class-mla-data.php:3252 includes/class-mla-data.php:3296
|
217 |
+
#: includes/class-mla-data.php:3340 includes/class-mla-data.php:3720
|
218 |
+
#: includes/class-mla-data.php:3733 includes/class-mla-data.php:3755
|
219 |
+
#: includes/class-mla-data.php:3969 includes/class-mla-data.php:4015
|
220 |
+
#: includes/class-mla-data.php:4048 includes/class-mla-data.php:4064
|
221 |
+
#: includes/class-mla-data.php:4317 includes/class-mla-edit-media.php:319
|
222 |
#: includes/class-mla-edit-media.php:892 includes/class-mla-edit-media.php:934
|
223 |
#: includes/class-mla-main.php:707 includes/class-mla-main.php:830
|
224 |
#: includes/class-mla-main.php:832 includes/class-mla-main.php:835
|
226 |
#: includes/class-mla-main.php:927 includes/class-mla-main.php:934
|
227 |
#: includes/class-mla-main.php:1318 includes/class-mla-main.php:1374
|
228 |
#: includes/class-mla-main.php:1399 includes/class-mla-main.php:1536
|
229 |
+
#: includes/class-mla-main.php:1586 includes/class-mla-main.php:1689
|
230 |
+
#: includes/class-mla-main.php:1718 includes/class-mla-main.php:1854
|
231 |
+
#: includes/class-mla-main.php:1861 includes/class-mla-main.php:2024
|
232 |
+
#: includes/class-mla-main.php:2150 includes/class-mla-main.php:2475
|
233 |
+
#: includes/class-mla-main.php:2483 includes/class-mla-main.php:2507
|
234 |
+
#: includes/class-mla-main.php:2515 includes/class-mla-main.php:2547
|
235 |
+
#: includes/class-mla-main.php:2555 includes/class-mla-media-modal.php:617
|
236 |
#: includes/class-mla-mime-types.php:801 includes/class-mla-mime-types.php:1193
|
237 |
#: includes/class-mla-mime-types.php:1281
|
238 |
#: includes/class-mla-mime-types.php:1427
|
252 |
#: includes/class-mla-mime-types.php:2640 includes/class-mla-objects.php:245
|
253 |
#: includes/class-mla-options.php:217 includes/class-mla-options.php:433
|
254 |
#: includes/class-mla-options.php:514 includes/class-mla-options.php:569
|
255 |
+
#: includes/class-mla-options.php:1088 includes/class-mla-options.php:1933
|
256 |
+
#: includes/class-mla-options.php:2159
|
257 |
#: includes/class-mla-settings-custom-fields-tab.php:173
|
258 |
#: includes/class-mla-settings-custom-fields-tab.php:238
|
259 |
#: includes/class-mla-settings-custom-fields-tab.php:242
|
314 |
#: includes/class-mla-settings.php:1794 includes/class-mla-settings.php:1801
|
315 |
#: includes/class-mla-settings.php:1810 includes/class-mla-settings.php:1847
|
316 |
#: includes/class-mla-settings.php:1855 includes/class-mla-settings.php:1864
|
317 |
+
#: includes/class-mla-shortcode-support.php:2147
|
318 |
+
#: includes/class-mla-shortcode-support.php:2236
|
319 |
+
#: includes/class-mla-shortcode-support.php:3469
|
320 |
+
#: includes/class-mla-shortcode-support.php:3596
|
321 |
+
#: includes/class-mla-shortcode-support.php:3628
|
322 |
+
#: includes/class-mla-shortcode-support.php:4644
|
323 |
+
#: includes/class-mla-shortcode-support.php:5055
|
324 |
+
#: includes/class-mla-shortcode-support.php:5092
|
325 |
+
#: includes/class-mla-thumbnail-generation.php:430
|
326 |
+
#: includes/class-mla-thumbnail-generation.php:442
|
327 |
+
#: includes/class-mla-thumbnail-generation.php:454
|
328 |
+
#: includes/class-mla-thumbnail-generation.php:498
|
329 |
msgid "ERROR"
|
330 |
msgstr ""
|
331 |
|
332 |
+
#: includes/class-mla-ajax.php:291 includes/class-mla-main.php:1854
|
333 |
msgid "No post ID found"
|
334 |
msgstr ""
|
335 |
|
336 |
+
#: includes/class-mla-ajax.php:298 includes/class-mla-main.php:1861
|
337 |
+
#: includes/class-mla-polylang-support.php:271
|
338 |
msgid "You are not allowed to edit this Attachment."
|
339 |
msgstr ""
|
340 |
|
412 |
msgstr ""
|
413 |
|
414 |
#: includes/class-mla-core-options.php:467
|
415 |
+
#: includes/class-mla-core-options.php:477 includes/class-mla-main.php:2378
|
416 |
#: includes/class-mla-settings-custom-fields-tab.php:733
|
417 |
#: includes/class-mla-settings-iptc-exif-tab.php:814
|
418 |
msgid "Refresh"
|
972 |
msgstr ""
|
973 |
|
974 |
#: includes/class-mla-core-options.php:922
|
975 |
+
#: includes/class-mla-thumbnail-generation.php:584
|
976 |
#: includes/class-mla-thumbnail-generation.php:648
|
977 |
msgid "Thumbnail"
|
978 |
msgstr ""
|
1236 |
msgid "IPTC/EXIF Mapping help"
|
1237 |
msgstr ""
|
1238 |
|
1239 |
+
#: includes/class-mla-core-options.php:1193 includes/class-mla-data.php:4018
|
1240 |
+
#: includes/class-mla-edit-media.php:479 includes/class-mla-main.php:2344
|
1241 |
msgid "Name/Slug"
|
1242 |
msgstr ""
|
1243 |
|
1244 |
+
#: includes/class-mla-core-options.php:1200 includes/class-mla-data.php:4061
|
1245 |
#: includes/class-mla-edit-media.php:482 includes/class-mla-list-table.php:1345
|
1246 |
+
#: includes/class-mla-main.php:2348 includes/class-mla-options.php:471
|
1247 |
#: includes/mla-main-search-box-template.php:51
|
1248 |
#: includes/mla-media-modal-js-template.php:48
|
1249 |
msgid "ALT Text"
|
1250 |
msgstr ""
|
1251 |
|
1252 |
+
#: includes/class-mla-core-options.php:1207 includes/class-mla-data.php:4074
|
1253 |
+
#: includes/class-mla-edit-media.php:480 includes/class-mla-main.php:2345
|
1254 |
#: includes/class-mla-options.php:474
|
1255 |
#: includes/mla-main-search-box-template.php:53
|
1256 |
#: includes/mla-media-modal-js-template.php:53
|
1257 |
msgid "Caption"
|
1258 |
msgstr ""
|
1259 |
|
1260 |
+
#: includes/class-mla-core-options.php:1214 includes/class-mla-data.php:4083
|
1261 |
+
#: includes/class-mla-edit-media.php:481 includes/class-mla-main.php:2346
|
1262 |
#: includes/class-mla-options.php:477
|
1263 |
#: includes/class-mla-settings-upload-tab.php:174
|
1264 |
#: includes/class-mla-settings-upload-tab.php:538
|
1275 |
msgid "Description"
|
1276 |
msgstr ""
|
1277 |
|
1278 |
+
#: includes/class-mla-core-options.php:1221 includes/class-mla-data.php:4145
|
1279 |
+
#: includes/class-mla-data.php:4154 includes/class-mla-edit-media.php:483
|
1280 |
+
#: includes/class-mla-edit-media.php:677 includes/class-mla-main.php:2350
|
1281 |
msgid "Uploaded on"
|
1282 |
msgstr ""
|
1283 |
|
1499 |
"the existing MLA_DEBUG_LEVEL value."
|
1500 |
msgstr ""
|
1501 |
|
1502 |
+
#: includes/class-mla-core.php:846
|
1503 |
#, php-format
|
1504 |
msgctxt "error_log"
|
1505 |
msgid "%1$s: mla_load_template file \"%2$s\" not found."
|
1506 |
msgstr ""
|
1507 |
|
1508 |
+
#: includes/class-mla-core.php:864
|
1509 |
#, php-format
|
1510 |
msgctxt "error_log"
|
1511 |
msgid "%1$s: mla_load_template file \"%2$s\" bad source type \"%3$s\"."
|
1512 |
msgstr ""
|
1513 |
|
1514 |
+
#: includes/class-mla-core.php:1289
|
1515 |
#, php-format
|
1516 |
msgid "%1$s: Bad specification part \"%2$s\""
|
1517 |
msgstr ""
|
1518 |
|
1519 |
+
#: includes/class-mla-core.php:1295
|
1520 |
#, php-format
|
1521 |
msgid "%1$s: Bad specification option \"%2$s\""
|
1522 |
msgstr ""
|
1523 |
|
1524 |
+
#: includes/class-mla-core.php:1299
|
1525 |
#, php-format
|
1526 |
msgid "%1$s: Bad specification prefix \"%2$s\""
|
1527 |
msgstr ""
|
1528 |
|
1529 |
+
#: includes/class-mla-core.php:1399
|
1530 |
msgid "Most Used"
|
1531 |
msgstr ""
|
1532 |
|
1533 |
+
#: includes/class-mla-core.php:1428
|
1534 |
#, php-format
|
1535 |
msgid "+ %s"
|
1536 |
msgstr ""
|
1537 |
|
1538 |
+
#: includes/class-mla-core.php:1434 includes/class-mla-edit-media.php:360
|
1539 |
+
#: includes/class-mla-edit-media.php:416 includes/class-mla-main.php:2030
|
1540 |
+
#: includes/class-mla-main.php:2211 includes/class-mla-main.php:2275
|
1541 |
#: includes/class-mla-media-modal.php:647
|
1542 |
#: includes/mla-media-modal-js-template.php:28
|
1543 |
#: includes/mla-media-modal-js-template.php:75
|
1683 |
msgstr ""
|
1684 |
|
1685 |
#: includes/class-mla-data-query.php:841 includes/class-mla-edit-media.php:319
|
1686 |
+
#: includes/class-mla-main.php:2024 includes/class-mla-main.php:2150
|
1687 |
#: includes/class-mla-media-modal.php:617 includes/class-mla-mime-types.php:801
|
1688 |
#: includes/class-mla-mime-types.php:1450
|
1689 |
#: includes/class-mla-mime-types.php:2640
|
1811 |
"%1$s: mla_parse_array_template no template end delimiter, tail = \"%2$s\"."
|
1812 |
msgstr ""
|
1813 |
|
1814 |
+
#: includes/class-mla-data.php:194
|
1815 |
#, php-format
|
1816 |
msgctxt "error_log"
|
1817 |
msgid "%1$s: mla_parse_template no end delimiter, tail = \"%2$s\"."
|
1818 |
msgstr ""
|
1819 |
|
1820 |
+
#: includes/class-mla-data.php:238
|
1821 |
#, php-format
|
1822 |
msgctxt "error_log"
|
1823 |
msgid "%1$s: _find_delimited_substring no end delimiter, tail = \"%2$s\"."
|
1824 |
msgstr ""
|
1825 |
|
1826 |
+
#: includes/class-mla-data.php:341
|
1827 |
msgid "Test; no closing parenthesis "
|
1828 |
msgstr ""
|
1829 |
|
1830 |
+
#: includes/class-mla-data.php:497
|
1831 |
#, php-format
|
1832 |
msgctxt "error_log"
|
1833 |
msgid "%1$s: _evaluate_template_array_node unknown type \"%2$s\"."
|
1834 |
msgstr ""
|
1835 |
|
1836 |
+
#: includes/class-mla-data.php:560
|
1837 |
#, php-format
|
1838 |
msgctxt "error_log"
|
1839 |
msgid "%1$s: _evaluate_template_node unknown type \"%2$s\"."
|
1840 |
msgstr ""
|
1841 |
|
1842 |
+
#: includes/class-mla-data.php:1504
|
1843 |
#, php-format
|
1844 |
msgctxt "error_log"
|
1845 |
msgid ""
|
1847 |
"\"."
|
1848 |
msgstr ""
|
1849 |
|
1850 |
+
#: includes/class-mla-data.php:1702
|
1851 |
#, php-format
|
1852 |
msgctxt "error_log"
|
1853 |
msgid "%1$s: mla_get_attachment_by_id(%2$d) not found."
|
1854 |
msgstr ""
|
1855 |
|
1856 |
+
#: includes/class-mla-data.php:1708
|
1857 |
#, php-format
|
1858 |
msgctxt "error_log"
|
1859 |
msgid "%1$s: mla_get_attachment_by_id(%2$d) wrong post_type \"%3$s\"."
|
1860 |
msgstr ""
|
1861 |
|
1862 |
+
#: includes/class-mla-data.php:2105
|
1863 |
msgctxt "error_log"
|
1864 |
msgid "mla_parse_xmp_metadata xml_parse_into_struct failed."
|
1865 |
msgstr ""
|
1866 |
|
1867 |
+
#: includes/class-mla-data.php:2109
|
1868 |
msgctxt "error_log"
|
1869 |
msgid "mla_parse_xmp_metadata set option failed."
|
1870 |
msgstr ""
|
1871 |
|
1872 |
+
#: includes/class-mla-data.php:3467
|
1873 |
#: includes/class-mla-settings-custom-fields-tab.php:810
|
1874 |
#: includes/class-mla-settings-custom-fields-tab.php:1520
|
1875 |
#: includes/class-mla-settings-iptc-exif-tab.php:893
|
1882 |
msgid "Yes"
|
1883 |
msgstr ""
|
1884 |
|
1885 |
+
#: includes/class-mla-data.php:3469
|
1886 |
#: includes/class-mla-settings-custom-fields-tab.php:811
|
1887 |
#: includes/class-mla-settings-custom-fields-tab.php:1522
|
1888 |
#: includes/class-mla-settings-iptc-exif-tab.php:894
|
1895 |
msgid "No"
|
1896 |
msgstr ""
|
1897 |
|
1898 |
+
#: includes/class-mla-data.php:3717 includes/class-mla-data.php:3834
|
1899 |
#, php-format
|
1900 |
msgid "Deleting %1$s"
|
1901 |
msgstr ""
|
1902 |
|
1903 |
+
#: includes/class-mla-data.php:3720
|
1904 |
#, php-format
|
1905 |
msgid "%1$s: meta:%2$s not found"
|
1906 |
msgstr ""
|
1907 |
|
1908 |
+
#: includes/class-mla-data.php:3729 includes/class-mla-data.php:3845
|
1909 |
+
#: includes/class-mla-data.php:3857
|
1910 |
#, php-format
|
1911 |
msgid "Adding %1$s = %2$s"
|
1912 |
msgstr ""
|
1913 |
|
1914 |
+
#: includes/class-mla-data.php:3733
|
1915 |
#, php-format
|
1916 |
msgid "%1$s: Adding meta:%2$s; not found"
|
1917 |
msgstr ""
|
1918 |
|
1919 |
+
#: includes/class-mla-data.php:3740
|
1920 |
#, php-format
|
1921 |
msgid "Deleting Null meta:%1$s"
|
1922 |
msgstr ""
|
1923 |
|
1924 |
+
#: includes/class-mla-data.php:3750 includes/class-mla-data.php:3926
|
1925 |
+
#: includes/class-mla-data.php:3992 includes/class-mla-data.php:4018
|
1926 |
+
#: includes/class-mla-data.php:4061 includes/class-mla-data.php:4074
|
1927 |
+
#: includes/class-mla-data.php:4083 includes/class-mla-data.php:4094
|
1928 |
+
#: includes/class-mla-data.php:4105 includes/class-mla-data.php:4118
|
1929 |
+
#: includes/class-mla-data.php:4127 includes/class-mla-data.php:4136
|
1930 |
+
#: includes/class-mla-data.php:4145 includes/class-mla-data.php:4154
|
1931 |
#: includes/class-mla-mime-types.php:1284
|
1932 |
#: includes/class-mla-mime-types.php:2404
|
1933 |
#, php-format
|
1934 |
msgid "Changing %1$s from \"%2$s\" to \"%3$s\""
|
1935 |
msgstr ""
|
1936 |
|
1937 |
+
#: includes/class-mla-data.php:3755
|
1938 |
#, php-format
|
1939 |
msgid "%1$s: Changing meta:%2$s; not found"
|
1940 |
msgstr ""
|
1941 |
|
1942 |
+
#: includes/class-mla-data.php:3881
|
1943 |
#, php-format
|
1944 |
msgid "Deleting old %1$s values"
|
1945 |
msgstr ""
|
1946 |
|
1947 |
+
#: includes/class-mla-data.php:3911
|
1948 |
#, php-format
|
1949 |
msgid "Changing %1$s from \"%2$s\" to \"%3$s\"; %4$d updates"
|
1950 |
msgstr ""
|
1951 |
|
1952 |
+
#: includes/class-mla-data.php:3969
|
1953 |
msgid "Could not retrieve Attachment."
|
1954 |
msgstr ""
|
1955 |
|
1956 |
+
#: includes/class-mla-data.php:4015
|
1957 |
#, php-format
|
1958 |
msgid "%1$s: Could not change Name/Slug \"%2$s\"; name already exists"
|
1959 |
msgstr ""
|
1960 |
|
1961 |
+
#: includes/class-mla-data.php:4045
|
1962 |
#, php-format
|
1963 |
msgid "Deleting ALT Text, was \"%1$s\""
|
1964 |
msgstr ""
|
1965 |
|
1966 |
+
#: includes/class-mla-data.php:4048
|
1967 |
#, php-format
|
1968 |
msgid "%1$s: Could not delete ALT Text, remains \"%2$s\""
|
1969 |
msgstr ""
|
1970 |
|
1971 |
+
#: includes/class-mla-data.php:4064
|
1972 |
#, php-format
|
1973 |
msgid "%1$s: Could not change ALT Text from \"%2$s\" to \"%3$s\""
|
1974 |
msgstr ""
|
1975 |
|
1976 |
+
#: includes/class-mla-data.php:4094 includes/class-mla-list-table.php:1047
|
1977 |
#: includes/class-mla-list-table.php:1050
|
1978 |
#: includes/class-mla-list-table.php:1053
|
1979 |
+
#: includes/class-mla-list-table.php:1121 includes/class-mla-options.php:2103
|
1980 |
#: includes/class-mla-settings-iptc-exif-tab.php:484
|
1981 |
#: includes/class-mla-settings-iptc-exif-tab.php:863
|
1982 |
msgid "Parent"
|
1983 |
msgstr ""
|
1984 |
|
1985 |
+
#: includes/class-mla-data.php:4105 includes/class-mla-edit-media.php:816
|
1986 |
+
#: includes/class-mla-edit-media.php:1021 includes/class-mla-main.php:2353
|
1987 |
#: includes/class-mla-settings-view-tab.php:130
|
1988 |
#: includes/class-mla-settings-view-tab.php:386
|
1989 |
msgid "Menu Order"
|
1990 |
msgstr ""
|
1991 |
|
1992 |
+
#: includes/class-mla-data.php:4118 includes/class-mla-edit-media.php:447
|
1993 |
#: includes/class-mla-list-table.php:1501
|
1994 |
+
#: includes/class-mla-list-table.php:1504 includes/class-mla-main.php:2156
|
1995 |
+
#: includes/class-mla-main.php:2312
|
1996 |
msgid "Author"
|
1997 |
msgstr ""
|
1998 |
|
1999 |
+
#: includes/class-mla-data.php:4127 includes/class-mla-edit-media.php:472
|
2000 |
+
#: includes/class-mla-main.php:2365
|
2001 |
msgid "Comments"
|
2002 |
msgstr ""
|
2003 |
|
2004 |
+
#: includes/class-mla-data.php:4136 includes/class-mla-edit-media.php:473
|
2005 |
+
#: includes/class-mla-main.php:2366
|
2006 |
msgid "Pings"
|
2007 |
msgstr ""
|
2008 |
|
2009 |
+
#: includes/class-mla-data.php:4181
|
2010 |
#, php-format
|
2011 |
msgid "You cannot assign \"%1$s\" terms"
|
2012 |
msgstr ""
|
2013 |
|
2014 |
+
#: includes/class-mla-data.php:4193
|
2015 |
msgctxt "tag delimiter"
|
2016 |
msgid ","
|
2017 |
msgstr ""
|
2018 |
|
2019 |
+
#: includes/class-mla-data.php:4226
|
2020 |
msgid "Adding"
|
2021 |
msgstr ""
|
2022 |
|
2023 |
+
#: includes/class-mla-data.php:4231
|
2024 |
msgid "Removing"
|
2025 |
msgstr ""
|
2026 |
|
2027 |
+
#: includes/class-mla-data.php:4240
|
2028 |
msgid "Replacing"
|
2029 |
msgstr ""
|
2030 |
|
2031 |
+
#: includes/class-mla-data.php:4248
|
2032 |
msgid "Ignoring"
|
2033 |
msgstr ""
|
2034 |
|
2035 |
+
#: includes/class-mla-data.php:4261
|
2036 |
#, php-format
|
2037 |
msgid "%1$s \"%2$s\" terms"
|
2038 |
msgstr ""
|
2039 |
|
2040 |
+
#: includes/class-mla-data.php:4273 includes/class-mla-main.php:1384
|
2041 |
#, php-format
|
2042 |
msgid "Item %1$d, no changes detected."
|
2043 |
msgstr ""
|
2044 |
|
2045 |
+
#: includes/class-mla-data.php:4303
|
2046 |
#, php-format
|
2047 |
msgid "Item %1$d updated."
|
2048 |
msgstr ""
|
2049 |
|
2050 |
+
#: includes/class-mla-data.php:4317
|
2051 |
#, php-format
|
2052 |
msgid "%1$s: Item %2$d update failed."
|
2053 |
msgstr ""
|
2054 |
|
2055 |
#: includes/class-mla-edit-media.php:129 includes/class-mla-edit-media.php:183
|
2056 |
#: includes/class-mla-edit-media.php:236 includes/class-mla-main.php:468
|
2057 |
+
#: includes/class-mla-main.php:1139 includes/class-mla-main.php:1908
|
2058 |
+
#: includes/class-mla-media-modal.php:268 includes/class-mla-options.php:1606
|
2059 |
+
#: includes/class-mla-polylang-support.php:378
|
2060 |
#: includes/class-mla-settings-custom-fields-tab.php:59
|
2061 |
#: includes/class-mla-settings-custom-fields-tab.php:94
|
2062 |
#: includes/class-mla-settings-iptc-exif-tab.php:59
|
2090 |
msgid "An ajax.done error has occurred. Please reload the page and try again."
|
2091 |
msgstr ""
|
2092 |
|
2093 |
+
#: includes/class-mla-edit-media.php:240 includes/class-mla-main.php:2110
|
2094 |
#, php-format
|
2095 |
msgid "Uploaded on: %s"
|
2096 |
msgstr ""
|
2100 |
msgstr ""
|
2101 |
|
2102 |
#: includes/class-mla-edit-media.php:339 includes/class-mla-edit-media.php:395
|
2103 |
+
#: includes/class-mla-main.php:2190 includes/class-mla-main.php:2254
|
2104 |
msgid "+ Add New Term"
|
2105 |
msgstr ""
|
2106 |
|
2107 |
#: includes/class-mla-edit-media.php:340 includes/class-mla-edit-media.php:396
|
2108 |
+
#: includes/class-mla-main.php:2191 includes/class-mla-main.php:2255
|
2109 |
msgid "Add New"
|
2110 |
msgstr ""
|
2111 |
|
2112 |
#: includes/class-mla-edit-media.php:358 includes/class-mla-edit-media.php:414
|
2113 |
+
#: includes/class-mla-main.php:2209 includes/class-mla-main.php:2273
|
2114 |
msgid "? Search"
|
2115 |
msgstr ""
|
2116 |
|
2117 |
#: includes/class-mla-edit-media.php:361 includes/class-mla-edit-media.php:417
|
2118 |
+
#: includes/class-mla-edit-media.php:426 includes/class-mla-main.php:2212
|
2119 |
+
#: includes/class-mla-main.php:2276 includes/class-mla-main.php:2285
|
2120 |
msgid "Add"
|
2121 |
msgstr ""
|
2122 |
|
2123 |
#: includes/class-mla-edit-media.php:362 includes/class-mla-edit-media.php:418
|
2124 |
+
#: includes/class-mla-edit-media.php:427 includes/class-mla-main.php:2213
|
2125 |
+
#: includes/class-mla-main.php:2277 includes/class-mla-main.php:2286
|
2126 |
msgid "Remove"
|
2127 |
msgstr ""
|
2128 |
|
2129 |
#: includes/class-mla-edit-media.php:363 includes/class-mla-edit-media.php:419
|
2130 |
+
#: includes/class-mla-edit-media.php:428 includes/class-mla-main.php:2214
|
2131 |
+
#: includes/class-mla-main.php:2278 includes/class-mla-main.php:2287
|
2132 |
#: includes/class-mla-settings-custom-fields-tab.php:481
|
2133 |
#: includes/class-mla-settings-custom-fields-tab.php:781
|
2134 |
#: includes/class-mla-settings-custom-fields-tab.php:1506
|
2145 |
"menu for more information."
|
2146 |
msgstr ""
|
2147 |
|
2148 |
+
#: includes/class-mla-edit-media.php:468 includes/class-mla-main.php:2359
|
2149 |
#: includes/class-mla-settings.php:1397
|
2150 |
msgid "Reset"
|
2151 |
msgstr ""
|
2152 |
|
2153 |
+
#: includes/class-mla-edit-media.php:474 includes/class-mla-main.php:2367
|
2154 |
+
#: includes/class-mla-main.php:2423
|
2155 |
#: includes/class-mla-settings-custom-fields-tab.php:809
|
2156 |
#: includes/class-mla-settings-iptc-exif-tab.php:892
|
2157 |
#: includes/class-mla-settings-upload-tab.php:122
|
2160 |
msgid "No Change"
|
2161 |
msgstr ""
|
2162 |
|
2163 |
+
#: includes/class-mla-edit-media.php:475 includes/class-mla-main.php:2368
|
2164 |
msgid "Allow"
|
2165 |
msgstr ""
|
2166 |
|
2167 |
+
#: includes/class-mla-edit-media.php:476 includes/class-mla-main.php:2369
|
2168 |
msgid "Do not allow"
|
2169 |
msgstr ""
|
2170 |
|
2171 |
#: includes/class-mla-edit-media.php:484 includes/class-mla-list-table.php:1047
|
2172 |
+
#: includes/class-mla-list-table.php:1118 includes/class-mla-main.php:2351
|
2173 |
msgid "Parent ID"
|
2174 |
msgstr ""
|
2175 |
|
2176 |
#: includes/class-mla-edit-media.php:485 includes/class-mla-edit-media.php:1001
|
2177 |
+
#: includes/class-mla-main.php:2352
|
2178 |
#: includes/class-mla-settings-upload-tab.php:1463
|
2179 |
msgid "Select"
|
2180 |
msgstr ""
|
2195 |
msgid "IPTC/EXIF mapping is disabled."
|
2196 |
msgstr ""
|
2197 |
|
2198 |
+
#: includes/class-mla-edit-media.php:616 includes/class-mla-main.php:2094
|
2199 |
msgid "Month"
|
2200 |
msgstr ""
|
2201 |
|
2202 |
+
#: includes/class-mla-edit-media.php:622 includes/class-mla-main.php:2100
|
2203 |
#, php-format
|
2204 |
msgid "%1$s-%2$s"
|
2205 |
msgstr ""
|
2206 |
|
2207 |
+
#: includes/class-mla-edit-media.php:626 includes/class-mla-main.php:2104
|
2208 |
msgid "Day"
|
2209 |
msgstr ""
|
2210 |
|
2211 |
+
#: includes/class-mla-edit-media.php:627 includes/class-mla-main.php:2105
|
2212 |
msgid "Year"
|
2213 |
msgstr ""
|
2214 |
|
2215 |
+
#: includes/class-mla-edit-media.php:628 includes/class-mla-main.php:2106
|
2216 |
msgid "Hour"
|
2217 |
msgstr ""
|
2218 |
|
2219 |
+
#: includes/class-mla-edit-media.php:629 includes/class-mla-main.php:2107
|
2220 |
msgid "Minute"
|
2221 |
msgstr ""
|
2222 |
|
2223 |
+
#: includes/class-mla-edit-media.php:633 includes/class-mla-main.php:2112
|
2224 |
#, php-format
|
2225 |
msgid "%1$s %2$s, %3$s @ %4$s:%5$s"
|
2226 |
msgstr ""
|
2229 |
msgid "OK"
|
2230 |
msgstr ""
|
2231 |
|
2232 |
+
#: includes/class-mla-edit-media.php:657 includes/class-mla-main.php:2047
|
2233 |
+
#: includes/class-mla-main.php:2358
|
2234 |
+
#: includes/class-mla-polylang-support.php:2065
|
2235 |
#: includes/class-mla-settings-custom-fields-tab.php:509
|
2236 |
#: includes/class-mla-settings-custom-fields-tab.php:730
|
2237 |
#: includes/class-mla-settings-custom-fields-tab.php:812
|
2262 |
#: includes/class-mla-list-table.php:1313
|
2263 |
#: includes/class-mla-list-table.php:1535
|
2264 |
#: includes/class-mla-list-table.php:1861
|
2265 |
+
#: includes/class-mla-polylang-support.php:377
|
2266 |
#: includes/class-mla-settings-custom-fields-tab.php:1349
|
2267 |
#: includes/class-mla-settings-custom-fields-tab.php:1688
|
2268 |
#: includes/class-mla-settings-iptc-exif-tab.php:1427
|
2287 |
msgid "Map Custom Field metadata for this item"
|
2288 |
msgstr ""
|
2289 |
|
2290 |
+
#: includes/class-mla-edit-media.php:712 includes/class-mla-main.php:1822
|
2291 |
+
#: includes/class-mla-main.php:2374
|
2292 |
msgid "Map Custom Field metadata"
|
2293 |
msgstr ""
|
2294 |
|
2296 |
msgid "Map IPTC/EXIF metadata for this item"
|
2297 |
msgstr ""
|
2298 |
|
2299 |
+
#: includes/class-mla-edit-media.php:716 includes/class-mla-main.php:1825
|
2300 |
+
#: includes/class-mla-main.php:2372
|
2301 |
msgid "Map IPTC/EXIF metadata"
|
2302 |
msgstr ""
|
2303 |
|
2320 |
msgid "Post Parent"
|
2321 |
msgstr ""
|
2322 |
|
2323 |
+
#: includes/class-mla-edit-media.php:1001 includes/class-mla-main.php:2029
|
2324 |
msgid "Select Parent"
|
2325 |
msgstr ""
|
2326 |
|
2393 |
msgid "Edit this item inline"
|
2394 |
msgstr ""
|
2395 |
|
2396 |
+
#: includes/class-mla-list-table.php:748 includes/class-mla-main.php:2342
|
2397 |
+
#: includes/class-mla-options.php:1199
|
2398 |
#: includes/class-mla-settings-custom-fields-tab.php:472
|
2399 |
#: includes/class-mla-settings-custom-fields-tab.php:772
|
2400 |
#: includes/class-mla-settings-custom-fields-tab.php:1352
|
2508 |
msgstr ""
|
2509 |
|
2510 |
#: includes/class-mla-list-table.php:1970
|
2511 |
+
#: includes/class-mla-polylang-support.php:2072
|
2512 |
#: includes/class-mla-thumbnail-generation.php:650
|
2513 |
msgid "Clear Filter-by"
|
2514 |
msgstr ""
|
2535 |
msgid "Bulk Edit items"
|
2536 |
msgstr ""
|
2537 |
|
2538 |
+
#: includes/class-mla-main.php:461 includes/class-mla-main.php:2375
|
2539 |
#: includes/class-mla-settings-custom-fields-tab.php:63
|
2540 |
#: includes/class-mla-settings-iptc-exif-tab.php:63
|
2541 |
msgid "Waiting"
|
2542 |
msgstr ""
|
2543 |
|
2544 |
+
#: includes/class-mla-main.php:462 includes/class-mla-main.php:2377
|
2545 |
#: includes/class-mla-settings-custom-fields-tab.php:65
|
2546 |
#: includes/class-mla-settings-iptc-exif-tab.php:65
|
2547 |
msgid "Complete"
|
2576 |
msgstr[0] ""
|
2577 |
msgstr[1] ""
|
2578 |
|
2579 |
+
#: includes/class-mla-main.php:609 includes/class-mla-main.php:2562
|
2580 |
#, php-format
|
2581 |
msgid "Item %1$d moved to Trash."
|
2582 |
msgstr ""
|
2667 |
msgid "Unknown mla_admin_action - \"%1$s\""
|
2668 |
msgstr ""
|
2669 |
|
2670 |
+
#: includes/class-mla-main.php:1706
|
2671 |
msgid "term search results for"
|
2672 |
msgstr ""
|
2673 |
|
2674 |
+
#: includes/class-mla-main.php:1709
|
2675 |
msgid "post/parent results for"
|
2676 |
msgstr ""
|
2677 |
|
2678 |
+
#: includes/class-mla-main.php:1711
|
2679 |
msgid "search results for"
|
2680 |
msgstr ""
|
2681 |
|
2682 |
+
#: includes/class-mla-main.php:1828 includes/class-mla-main.php:2051
|
2683 |
+
#: includes/class-mla-main.php:2360
|
2684 |
#: includes/class-mla-settings-custom-fields-tab.php:511
|
2685 |
#: includes/class-mla-settings-custom-fields-tab.php:813
|
2686 |
#: includes/class-mla-settings-documentation-tab.php:679
|
2695 |
msgid "Update"
|
2696 |
msgstr ""
|
2697 |
|
2698 |
+
#: includes/class-mla-main.php:1986
|
2699 |
msgid "All Post Types"
|
2700 |
msgstr ""
|
2701 |
|
2702 |
+
#: includes/class-mla-main.php:2032
|
2703 |
msgid "For"
|
2704 |
msgstr ""
|
2705 |
|
2706 |
+
#: includes/class-mla-main.php:2042
|
2707 |
+
#: includes/class-mla-shortcode-support.php:1163
|
2708 |
msgid "Unattached"
|
2709 |
msgstr ""
|
2710 |
|
2711 |
+
#: includes/class-mla-main.php:2361 includes/class-mla-options.php:1213
|
2712 |
#: includes/class-mla-settings-custom-fields-tab.php:475
|
2713 |
#: includes/class-mla-settings-custom-fields-tab.php:775
|
2714 |
#: includes/class-mla-settings-custom-fields-tab.php:1466
|
2718 |
msgid "Bulk Edit"
|
2719 |
msgstr ""
|
2720 |
|
2721 |
+
#: includes/class-mla-main.php:2376
|
2722 |
msgid "In-process"
|
2723 |
msgstr ""
|
2724 |
|
2725 |
+
#: includes/class-mla-main.php:2475
|
2726 |
msgid "You are not allowed to delete this item."
|
2727 |
msgstr ""
|
2728 |
|
2729 |
+
#: includes/class-mla-main.php:2483
|
2730 |
#, php-format
|
2731 |
msgid "%1$s: Item %2$d could NOT be deleted."
|
2732 |
msgstr ""
|
2733 |
|
2734 |
+
#: includes/class-mla-main.php:2490
|
2735 |
#, php-format
|
2736 |
msgid "Item %1$d permanently deleted."
|
2737 |
msgstr ""
|
2738 |
|
2739 |
+
#: includes/class-mla-main.php:2507
|
2740 |
msgid "You are not allowed to move this item out of the Trash."
|
2741 |
msgstr ""
|
2742 |
|
2743 |
+
#: includes/class-mla-main.php:2515
|
2744 |
#, php-format
|
2745 |
msgid "%1$s: Item %2$d could NOT be restored from Trash."
|
2746 |
msgstr ""
|
2747 |
|
2748 |
+
#: includes/class-mla-main.php:2530
|
2749 |
#, php-format
|
2750 |
msgid "Item %1$d restored from Trash."
|
2751 |
msgstr ""
|
2752 |
|
2753 |
+
#: includes/class-mla-main.php:2547
|
2754 |
msgid "You are not allowed to move this item to the Trash."
|
2755 |
msgstr ""
|
2756 |
|
2757 |
+
#: includes/class-mla-main.php:2555
|
2758 |
#, php-format
|
2759 |
msgid "%1$s: Item %2$d could NOT be moved to Trash."
|
2760 |
msgstr ""
|
3351 |
msgid "Terms"
|
3352 |
msgstr ""
|
3353 |
|
3354 |
+
#: includes/class-mla-options.php:956 includes/class-mla-options.php:1002
|
3355 |
+
#: includes/class-mla-options.php:1846 includes/class-mla-options.php:1877
|
3356 |
#: includes/class-mla-settings-upload-tab.php:128
|
3357 |
msgid "None (select a value)"
|
3358 |
msgstr ""
|
3359 |
|
3360 |
+
#: includes/class-mla-options.php:1009
|
3361 |
msgid "Metadata (see below)"
|
3362 |
msgstr ""
|
3363 |
|
3364 |
+
#: includes/class-mla-options.php:1016
|
3365 |
msgid "Template (see below)"
|
3366 |
msgstr ""
|
3367 |
|
3368 |
+
#: includes/class-mla-options.php:1088 includes/class-mla-options.php:2159
|
3369 |
#, php-format
|
3370 |
msgid "%1$s: New field %2$s already exists."
|
3371 |
msgstr ""
|
3372 |
|
3373 |
+
#: includes/class-mla-options.php:1093 includes/class-mla-options.php:2164
|
3374 |
#, php-format
|
3375 |
msgid "Adding new field %1$s."
|
3376 |
msgstr ""
|
3377 |
|
3378 |
+
#: includes/class-mla-options.php:1101 includes/class-mla-options.php:2172
|
3379 |
#, php-format
|
3380 |
msgid "Adding new rule for %1$s."
|
3381 |
msgstr ""
|
3382 |
|
3383 |
+
#: includes/class-mla-options.php:1127 includes/class-mla-options.php:2029
|
3384 |
+
#: includes/class-mla-options.php:2198
|
3385 |
#, php-format
|
3386 |
msgid "Deleting rule for %1$s."
|
3387 |
msgstr ""
|
3388 |
|
3389 |
+
#: includes/class-mla-options.php:1150 includes/class-mla-options.php:1171
|
3390 |
+
#: includes/class-mla-options.php:1221 includes/class-mla-options.php:1228
|
3391 |
+
#: includes/class-mla-options.php:1945 includes/class-mla-options.php:1952
|
3392 |
+
#: includes/class-mla-options.php:1959 includes/class-mla-options.php:2054
|
3393 |
+
#: includes/class-mla-options.php:2061 includes/class-mla-options.php:2096
|
3394 |
+
#: includes/class-mla-options.php:2103 includes/class-mla-options.php:2208
|
3395 |
+
#: includes/class-mla-options.php:2215 includes/class-mla-options.php:2250
|
3396 |
+
#: includes/class-mla-options.php:2257
|
3397 |
#, php-format
|
3398 |
msgid "%1$s changing %2$s from %3$s to %4$s."
|
3399 |
msgstr ""
|
3400 |
|
3401 |
+
#: includes/class-mla-options.php:1150
|
3402 |
#: includes/class-mla-settings-custom-fields-tab.php:463
|
3403 |
#: includes/class-mla-settings-custom-fields-tab.php:763
|
3404 |
msgid "Data Source"
|
3405 |
msgstr ""
|
3406 |
|
3407 |
+
#: includes/class-mla-options.php:1156 includes/class-mla-options.php:1979
|
3408 |
+
#: includes/class-mla-options.php:2081 includes/class-mla-options.php:2235
|
3409 |
msgid "Replace to Keep"
|
3410 |
msgstr ""
|
3411 |
|
3412 |
+
#: includes/class-mla-options.php:1159 includes/class-mla-options.php:1982
|
3413 |
+
#: includes/class-mla-options.php:2084 includes/class-mla-options.php:2238
|
3414 |
msgid "Keep to Replace"
|
3415 |
msgstr ""
|
3416 |
|
3417 |
+
#: includes/class-mla-options.php:1164 includes/class-mla-options.php:1185
|
3418 |
+
#: includes/class-mla-options.php:1199 includes/class-mla-options.php:1213
|
3419 |
+
#: includes/class-mla-options.php:1242 includes/class-mla-options.php:1973
|
3420 |
+
#: includes/class-mla-options.php:1987 includes/class-mla-options.php:2075
|
3421 |
+
#: includes/class-mla-options.php:2089 includes/class-mla-options.php:2229
|
3422 |
+
#: includes/class-mla-options.php:2243 includes/class-mla-options.php:2271
|
3423 |
#, php-format
|
3424 |
msgid "%1$s changing %2$s value from %3$s."
|
3425 |
msgstr ""
|
3426 |
|
3427 |
+
#: includes/class-mla-options.php:1164 includes/class-mla-options.php:1987
|
3428 |
+
#: includes/class-mla-options.php:2089 includes/class-mla-options.php:2243
|
3429 |
#: includes/class-mla-settings-custom-fields-tab.php:477
|
3430 |
#: includes/class-mla-settings-custom-fields-tab.php:777
|
3431 |
#: includes/class-mla-settings-iptc-exif-tab.php:474
|
3433 |
msgid "Existing Text"
|
3434 |
msgstr ""
|
3435 |
|
3436 |
+
#: includes/class-mla-options.php:1171 includes/class-mla-options.php:2250
|
3437 |
#: includes/class-mla-settings-custom-fields-tab.php:482
|
3438 |
#: includes/class-mla-settings-custom-fields-tab.php:782
|
3439 |
#: includes/class-mla-settings-iptc-exif-tab.php:489
|
3441 |
msgid "Format"
|
3442 |
msgstr ""
|
3443 |
|
3444 |
+
#: includes/class-mla-options.php:1177 includes/class-mla-options.php:1191
|
3445 |
+
#: includes/class-mla-options.php:1205 includes/class-mla-options.php:1234
|
3446 |
+
#: includes/class-mla-options.php:2263
|
3447 |
msgid "unchecked to checked"
|
3448 |
msgstr ""
|
3449 |
|
3450 |
+
#: includes/class-mla-options.php:1180 includes/class-mla-options.php:1194
|
3451 |
+
#: includes/class-mla-options.php:1208 includes/class-mla-options.php:1237
|
3452 |
+
#: includes/class-mla-options.php:2266
|
3453 |
msgid "checked to unchecked"
|
3454 |
msgstr ""
|
3455 |
|
3456 |
+
#: includes/class-mla-options.php:1185
|
3457 |
#: includes/class-mla-settings-custom-fields-tab.php:469
|
3458 |
#: includes/class-mla-settings-custom-fields-tab.php:769
|
3459 |
#: includes/class-mla-settings-custom-fields-tab.php:1458
|
3460 |
msgid "MLA Column"
|
3461 |
msgstr ""
|
3462 |
|
3463 |
+
#: includes/class-mla-options.php:1221
|
3464 |
msgid "Metavalue name"
|
3465 |
msgstr ""
|
3466 |
|
3467 |
+
#: includes/class-mla-options.php:1228 includes/class-mla-options.php:2257
|
3468 |
#: includes/class-mla-settings-custom-fields-tab.php:489
|
3469 |
#: includes/class-mla-settings-custom-fields-tab.php:789
|
3470 |
#: includes/class-mla-settings-iptc-exif-tab.php:496
|
3472 |
msgid "Option"
|
3473 |
msgstr ""
|
3474 |
|
3475 |
+
#: includes/class-mla-options.php:1242 includes/class-mla-options.php:2271
|
3476 |
#: includes/class-mla-settings-iptc-exif-tab.php:508
|
3477 |
msgid "Delete NULL values"
|
3478 |
msgstr ""
|
3479 |
|
3480 |
+
#: includes/class-mla-options.php:1933
|
3481 |
#, php-format
|
3482 |
msgid "%1$s: No old values for %2$s."
|
3483 |
msgstr ""
|
3484 |
|
3485 |
+
#: includes/class-mla-options.php:1945
|
3486 |
msgid "Field Title"
|
3487 |
msgstr ""
|
3488 |
|
3489 |
+
#: includes/class-mla-options.php:1952 includes/class-mla-options.php:2054
|
3490 |
+
#: includes/class-mla-options.php:2208
|
3491 |
#: includes/class-mla-settings-iptc-exif-tab.php:463
|
3492 |
#: includes/class-mla-settings-iptc-exif-tab.php:845
|
3493 |
msgid "IPTC Value"
|
3494 |
msgstr ""
|
3495 |
|
3496 |
+
#: includes/class-mla-options.php:1959 includes/class-mla-options.php:2061
|
3497 |
+
#: includes/class-mla-options.php:2215
|
3498 |
msgid "EXIF Value"
|
3499 |
msgstr ""
|
3500 |
|
3501 |
+
#: includes/class-mla-options.php:1965 includes/class-mla-options.php:2067
|
3502 |
+
#: includes/class-mla-options.php:2221
|
3503 |
msgid "EXIF to IPTC"
|
3504 |
msgstr ""
|
3505 |
|
3506 |
+
#: includes/class-mla-options.php:1968 includes/class-mla-options.php:2070
|
3507 |
+
#: includes/class-mla-options.php:2224
|
3508 |
msgid "IPTC to EXIF"
|
3509 |
msgstr ""
|
3510 |
|
3511 |
+
#: includes/class-mla-options.php:1973 includes/class-mla-options.php:2075
|
3512 |
+
#: includes/class-mla-options.php:2229
|
3513 |
#: includes/class-mla-settings-iptc-exif-tab.php:469
|
3514 |
#: includes/class-mla-settings-iptc-exif-tab.php:851
|
3515 |
msgid "Priority"
|
3516 |
msgstr ""
|
3517 |
|
3518 |
+
#: includes/class-mla-options.php:2096
|
3519 |
msgid "Delimiter(s)"
|
3520 |
msgstr ""
|
3521 |
|
3522 |
+
#: includes/class-mla-polylang-support.php:264
|
3523 |
msgid "ERROR: No post ID found"
|
3524 |
msgstr ""
|
3525 |
|
3526 |
+
#: includes/class-mla-polylang-support.php:372
|
3527 |
msgid "Error while saving the translations."
|
3528 |
msgstr ""
|
3529 |
|
3530 |
+
#: includes/class-mla-polylang-support.php:373
|
3531 |
msgid "Remove From Bulk Translate"
|
3532 |
msgstr ""
|
3533 |
|
3534 |
+
#: includes/class-mla-polylang-support.php:375
|
3535 |
msgid "Bulk Translate items"
|
3536 |
msgstr ""
|
3537 |
|
3538 |
+
#: includes/class-mla-polylang-support.php:376
|
3539 |
msgid "Add new"
|
3540 |
msgstr ""
|
3541 |
|
3542 |
+
#: includes/class-mla-polylang-support.php:1903
|
3543 |
+
#: includes/class-mla-polylang-support.php:2270
|
3544 |
msgid "Bulk Translations"
|
3545 |
msgstr ""
|
3546 |
|
3547 |
+
#: includes/class-mla-polylang-support.php:1927
|
3548 |
msgid "Translate"
|
3549 |
msgstr ""
|
3550 |
|
3551 |
+
#: includes/class-mla-polylang-support.php:2055
|
3552 |
msgid "All Languages"
|
3553 |
msgstr ""
|
3554 |
|
3555 |
+
#: includes/class-mla-polylang-support.php:2062
|
3556 |
+
#: includes/class-mla-polylang-support.php:2335
|
3557 |
+
#: includes/class-mla-polylang-support.php:2495
|
3558 |
msgid "Quick Translate"
|
3559 |
msgstr ""
|
3560 |
|
3561 |
+
#: includes/class-mla-polylang-support.php:2066
|
3562 |
msgid "Set Language"
|
3563 |
msgstr ""
|
3564 |
|
3565 |
+
#: includes/class-mla-polylang-support.php:2067
|
3566 |
+
#: includes/class-mla-polylang-support.php:2502
|
3567 |
msgid "Bulk Translate"
|
3568 |
msgstr ""
|
3569 |
|
3570 |
+
#: includes/class-mla-polylang-support.php:2068
|
3571 |
msgid "Add or Modify Translation"
|
3572 |
msgstr ""
|
3573 |
|
3574 |
+
#: includes/class-mla-polylang-support.php:2069
|
3575 |
+
#: includes/class-mla-polylang-support.php:2126
|
3576 |
+
#: includes/class-mla-polylang-support.php:2439
|
3577 |
+
#: includes/class-mla-polylang-support.php:2554
|
3578 |
#: includes/class-mla-wpml-support.php:1584
|
3579 |
#: includes/class-mla-wpml-support.php:1674
|
3580 |
#: includes/class-mla-wpml-support.php:2159
|
3581 |
msgid "Language"
|
3582 |
msgstr ""
|
3583 |
|
3584 |
+
#: includes/class-mla-polylang-support.php:2071
|
3585 |
#: includes/class-mla-thumbnail-generation.php:649
|
3586 |
msgid "Options"
|
3587 |
msgstr ""
|
3588 |
|
3589 |
+
#: includes/class-mla-polylang-support.php:2335
|
3590 |
msgid "Translate this item inline"
|
3591 |
msgstr ""
|
3592 |
|
3593 |
+
#: includes/class-mla-polylang-support.php:2476
|
3594 |
+
#: includes/class-mla-polylang-support.php:2581
|
3595 |
#: includes/class-mla-wpml-support.php:1619
|
3596 |
#: includes/class-mla-wpml-support.php:1722
|
3597 |
msgid "Media/Assistant submenu table"
|
3598 |
msgstr ""
|
3599 |
|
3600 |
+
#: includes/class-mla-polylang-support.php:2481
|
3601 |
#: includes/class-mla-wpml-support.php:1624
|
3602 |
msgid "Language Column"
|
3603 |
msgstr ""
|
3604 |
|
3605 |
+
#: includes/class-mla-polylang-support.php:2484
|
3606 |
#: includes/class-mla-wpml-support.php:1627
|
3607 |
msgid ""
|
3608 |
"Check this option to add a Language column to the Media/Assistant submenu "
|
3609 |
"table."
|
3610 |
msgstr ""
|
3611 |
|
3612 |
+
#: includes/class-mla-polylang-support.php:2488
|
3613 |
#: includes/class-mla-wpml-support.php:1631
|
3614 |
msgid "Translations Column"
|
3615 |
msgstr ""
|
3616 |
|
3617 |
+
#: includes/class-mla-polylang-support.php:2491
|
3618 |
#: includes/class-mla-wpml-support.php:1634
|
3619 |
msgid ""
|
3620 |
"Check this option to add a Translation Status column to the Media/Assistant "
|
3621 |
"submenu table."
|
3622 |
msgstr ""
|
3623 |
|
3624 |
+
#: includes/class-mla-polylang-support.php:2498
|
3625 |
msgid ""
|
3626 |
"Check this option to add a Quick Translate rollover action to the Media/"
|
3627 |
"Assistant submenu table."
|
3628 |
msgstr ""
|
3629 |
|
3630 |
+
#: includes/class-mla-polylang-support.php:2505
|
3631 |
msgid ""
|
3632 |
"Check this option to add \"Translate\" to the \"Bulk Actions\" control on "
|
3633 |
"the Media/Assistant submenu table."
|
3634 |
msgstr ""
|
3635 |
|
3636 |
+
#: includes/class-mla-polylang-support.php:2509
|
3637 |
+
#: includes/class-mla-polylang-support.php:2581
|
3638 |
#: includes/class-mla-wpml-support.php:1638
|
3639 |
#: includes/class-mla-wpml-support.php:1722
|
3640 |
msgid "Term Management"
|
3641 |
msgstr ""
|
3642 |
|
3643 |
+
#: includes/class-mla-polylang-support.php:2514
|
3644 |
#: includes/class-mla-wpml-support.php:1643
|
3645 |
msgid "Term Assignment"
|
3646 |
msgstr ""
|
3647 |
|
3648 |
+
#: includes/class-mla-polylang-support.php:2517
|
3649 |
#: includes/class-mla-wpml-support.php:1646
|
3650 |
msgid ""
|
3651 |
"Check this option to assign language-specific terms when items are updated."
|
3652 |
msgstr ""
|
3653 |
|
3654 |
+
#: includes/class-mla-polylang-support.php:2521
|
3655 |
#: includes/class-mla-wpml-support.php:1650
|
3656 |
msgid "Term Synchronization"
|
3657 |
msgstr ""
|
3658 |
|
3659 |
+
#: includes/class-mla-polylang-support.php:2524
|
3660 |
#: includes/class-mla-wpml-support.php:1653
|
3661 |
msgid ""
|
3662 |
"Check this option to synchronize common terms among all item translations."
|
3663 |
msgstr ""
|
3664 |
|
3665 |
+
#: includes/class-mla-polylang-support.php:2528
|
3666 |
#: includes/class-mla-wpml-support.php:1657
|
3667 |
msgid "Term Mapping Replication"
|
3668 |
msgstr ""
|
3669 |
|
3670 |
+
#: includes/class-mla-polylang-support.php:2531
|
3671 |
#: includes/class-mla-wpml-support.php:1660
|
3672 |
msgid ""
|
3673 |
"When mapping IPTC/EXIF metadata to taxonomy terms, make them available in "
|
3674 |
"all languages."
|
3675 |
msgstr ""
|
3676 |
|
3677 |
+
#: includes/class-mla-polylang-support.php:2579
|
3678 |
#: includes/class-mla-wpml-support.php:1720
|
3679 |
msgid "Language Options"
|
3680 |
msgstr ""
|
3681 |
|
3682 |
+
#: includes/class-mla-polylang-support.php:2581
|
3683 |
#, php-format
|
3684 |
msgid ""
|
3685 |
"In this tab you can find a number of options for controlling Polylang-"
|
3688 |
"make."
|
3689 |
msgstr ""
|
3690 |
|
3691 |
+
#: includes/class-mla-polylang-support.php:2583
|
3692 |
#: includes/class-mla-wpml-support.php:1724
|
3693 |
#, php-format
|
3694 |
msgid ""
|
3696 |
"section of the Documentation."
|
3697 |
msgstr ""
|
3698 |
|
3699 |
+
#: includes/class-mla-polylang-support.php:2583
|
3700 |
#: includes/class-mla-wpml-support.php:1724
|
3701 |
msgid "Language Options documentation"
|
3702 |
msgstr ""
|
3703 |
|
3704 |
+
#: includes/class-mla-polylang-support.php:2583
|
3705 |
#: includes/class-mla-wpml-support.php:1724
|
3706 |
msgid "WPML & Polylang Multilingual Support; the MLA Language Tab"
|
3707 |
msgstr ""
|
3708 |
|
3709 |
+
#: includes/class-mla-polylang-support.php:2586
|
3710 |
#: includes/class-mla-settings-custom-fields-tab.php:657
|
3711 |
#: includes/class-mla-settings-custom-fields-tab.php:756
|
3712 |
#: includes/class-mla-settings-iptc-exif-tab.php:738
|
3722 |
msgid "Save Changes"
|
3723 |
msgstr ""
|
3724 |
|
3725 |
+
#: includes/class-mla-polylang-support.php:2587
|
3726 |
#: includes/class-mla-wpml-support.php:1728
|
3727 |
msgid "Delete Language options and restore default settings"
|
3728 |
msgstr ""
|
3729 |
|
3730 |
+
#: includes/class-mla-polylang-support.php:2590
|
3731 |
#: includes/class-mla-settings.php:801 includes/class-mla-settings.php:1068
|
3732 |
#: includes/class-mla-wpml-support.php:1731
|
3733 |
msgid "Go to Top"
|
3734 |
msgstr ""
|
3735 |
|
3736 |
+
#: includes/class-mla-polylang-support.php:2627
|
3737 |
#: includes/class-mla-wpml-support.php:1768
|
3738 |
msgid "Language settings saved."
|
3739 |
msgstr ""
|
3740 |
|
3741 |
+
#: includes/class-mla-polylang-support.php:2658
|
3742 |
#: includes/class-mla-settings.php:1644
|
3743 |
#: includes/class-mla-wpml-support.php:1799
|
3744 |
#, php-format
|
3746 |
msgid "delete_option \"%1$s\""
|
3747 |
msgstr ""
|
3748 |
|
3749 |
+
#: includes/class-mla-polylang-support.php:2666
|
3750 |
#: includes/class-mla-wpml-support.php:1807
|
3751 |
msgid "Language settings reset to default values."
|
3752 |
msgstr ""
|
5506 |
msgid "Settings imported; %1$s updated, %2$s unchanged."
|
5507 |
msgstr ""
|
5508 |
|
5509 |
+
#: includes/class-mla-shortcode-support.php:499
|
5510 |
+
#: includes/class-mla-shortcode-support.php:1907
|
5511 |
+
#: includes/class-mla-shortcode-support.php:3940
|
5512 |
+
#: includes/class-mla-shortcode-support.php:4222
|
5513 |
msgid "Previous"
|
5514 |
msgstr ""
|
5515 |
|
5516 |
+
#: includes/class-mla-shortcode-support.php:500
|
5517 |
+
#: includes/class-mla-shortcode-support.php:1908
|
5518 |
+
#: includes/class-mla-shortcode-support.php:3989
|
5519 |
+
#: includes/class-mla-shortcode-support.php:4228
|
5520 |
msgid "Next"
|
5521 |
msgstr ""
|
5522 |
|
5523 |
+
#: includes/class-mla-shortcode-support.php:571
|
5524 |
+
#: includes/class-mla-shortcode-support.php:577
|
5525 |
+
#: includes/class-mla-shortcode-support.php:2046
|
5526 |
+
#: includes/class-mla-shortcode-support.php:2053
|
5527 |
+
#: includes/class-mla-shortcode-support.php:3366
|
5528 |
+
#: includes/class-mla-shortcode-support.php:3373
|
5529 |
#: includes/class-mla-template-support.php:598
|
5530 |
msgid "not found"
|
5531 |
msgstr ""
|
5532 |
|
5533 |
+
#: includes/class-mla-shortcode-support.php:601
|
5534 |
+
#: includes/class-mla-shortcode-support.php:2038
|
5535 |
+
#: includes/class-mla-shortcode-support.php:3358
|
5536 |
msgid "mla_debug REQUEST"
|
5537 |
msgstr ""
|
5538 |
|
5539 |
+
#: includes/class-mla-shortcode-support.php:605
|
5540 |
+
#: includes/class-mla-shortcode-support.php:607
|
5541 |
+
msgid "mla_debug attributes_errors"
|
5542 |
+
msgstr ""
|
5543 |
+
|
5544 |
+
#: includes/class-mla-shortcode-support.php:613
|
5545 |
+
#: includes/class-mla-shortcode-support.php:2039
|
5546 |
+
#: includes/class-mla-shortcode-support.php:3359
|
5547 |
msgid "mla_debug attributes"
|
5548 |
msgstr ""
|
5549 |
|
5550 |
+
#: includes/class-mla-shortcode-support.php:614
|
5551 |
+
#: includes/class-mla-shortcode-support.php:2040
|
5552 |
+
#: includes/class-mla-shortcode-support.php:3360
|
5553 |
msgid "mla_debug arguments"
|
5554 |
msgstr ""
|
5555 |
|
5556 |
+
#: includes/class-mla-shortcode-support.php:706
|
5557 |
msgid "mla_debug empty gallery"
|
5558 |
msgstr ""
|
5559 |
|
5560 |
+
#: includes/class-mla-shortcode-support.php:727
|
5561 |
msgid ""
|
5562 |
"<strong>Photonic-enhanced [mla_gallery]</strong> type must be "
|
5563 |
"<strong>default</strong>, query = "
|
5564 |
msgstr ""
|
5565 |
|
5566 |
+
#: includes/class-mla-shortcode-support.php:1187
|
5567 |
msgid "unknown"
|
5568 |
msgstr ""
|
5569 |
|
5570 |
+
#: includes/class-mla-shortcode-support.php:2171
|
5571 |
msgid "mla_debug empty cloud"
|
5572 |
msgstr ""
|
5573 |
|
5574 |
+
#: includes/class-mla-shortcode-support.php:3494
|
5575 |
msgid "mla_debug empty list"
|
5576 |
msgstr ""
|
5577 |
|
5578 |
+
#: includes/class-mla-shortcode-support.php:3517
|
5579 |
msgid "no-terms"
|
5580 |
msgstr ""
|
5581 |
|
5582 |
+
#: includes/class-mla-shortcode-support.php:4644
|
5583 |
+
#: includes/class-mla-shortcode-support.php:5055
|
5584 |
+
#: includes/class-mla-shortcode-support.php:5092
|
5585 |
msgid "Invalid mla_gallery"
|
5586 |
msgstr ""
|
5587 |
|
5588 |
+
#: includes/class-mla-shortcode-support.php:5363
|
5589 |
msgid "mla_debug query"
|
5590 |
msgstr ""
|
5591 |
|
5592 |
+
#: includes/class-mla-shortcode-support.php:5364
|
5593 |
msgid "mla_debug request"
|
5594 |
msgstr ""
|
5595 |
|
5596 |
+
#: includes/class-mla-shortcode-support.php:5365
|
5597 |
msgid "mla_debug query_vars"
|
5598 |
msgstr ""
|
5599 |
|
5600 |
+
#: includes/class-mla-shortcode-support.php:5366
|
5601 |
msgid "mla_debug post_count"
|
5602 |
msgstr ""
|
5603 |
|
5604 |
+
#: includes/class-mla-shortcode-support.php:5390
|
5605 |
msgid "mla_debug JOIN filter"
|
5606 |
msgstr ""
|
5607 |
|
5608 |
+
#: includes/class-mla-shortcode-support.php:5430
|
5609 |
msgid "mla_debug modified JOIN filter"
|
5610 |
msgstr ""
|
5611 |
|
5612 |
+
#: includes/class-mla-shortcode-support.php:5455
|
5613 |
msgid "mla_debug WHERE filter"
|
5614 |
msgstr ""
|
5615 |
|
5616 |
+
#: includes/class-mla-shortcode-support.php:5479
|
5617 |
msgid "mla_debug modified WHERE filter"
|
5618 |
msgstr ""
|
5619 |
|
5620 |
+
#: includes/class-mla-shortcode-support.php:5502
|
5621 |
msgid "mla_debug ORDER BY filter, incoming"
|
5622 |
msgstr ""
|
5623 |
|
5624 |
+
#: includes/class-mla-shortcode-support.php:5502
|
5625 |
msgid "Replacement ORDER BY clause"
|
5626 |
msgstr ""
|
5627 |
|
5628 |
+
#: includes/class-mla-shortcode-support.php:5525
|
5629 |
msgid "mla_debug posts_clauses filter"
|
5630 |
msgstr ""
|
5631 |
|
5632 |
+
#: includes/class-mla-shortcode-support.php:5543
|
5633 |
msgid "mla_debug posts_clauses_request filter"
|
5634 |
msgstr ""
|
5635 |
|
5636 |
+
#: includes/class-mla-shortcode-support.php:5757
|
5637 |
msgid "Invalid taxonomy"
|
5638 |
msgstr ""
|
5639 |
|
5640 |
+
#: includes/class-mla-shortcode-support.php:5937
|
5641 |
msgid "mla_debug query arguments"
|
5642 |
msgstr ""
|
5643 |
|
5644 |
+
#: includes/class-mla-shortcode-support.php:5938
|
5645 |
msgid "mla_debug last_query"
|
5646 |
msgstr ""
|
5647 |
|
5648 |
+
#: includes/class-mla-shortcode-support.php:5939
|
5649 |
msgid "mla_debug last_error"
|
5650 |
msgstr ""
|
5651 |
|
5652 |
+
#: includes/class-mla-shortcode-support.php:5940
|
5653 |
msgid "mla_debug num_rows"
|
5654 |
msgstr ""
|
5655 |
|
5656 |
+
#: includes/class-mla-shortcode-support.php:5941
|
5657 |
msgid "mla_debug found_rows"
|
5658 |
msgstr ""
|
5659 |
|
5824 |
msgid "Item %1$d"
|
5825 |
msgstr ""
|
5826 |
|
5827 |
+
#: includes/class-mla-thumbnail-generation.php:401
|
5828 |
msgid "has native thumbnail."
|
5829 |
msgstr ""
|
5830 |
|
5831 |
+
#: includes/class-mla-thumbnail-generation.php:422
|
5832 |
msgid "Featured Image retained."
|
5833 |
msgstr ""
|
5834 |
|
5835 |
+
#: includes/class-mla-thumbnail-generation.php:430
|
5836 |
#, php-format
|
5837 |
msgid "%1$s: %2$sno attached file."
|
5838 |
msgstr ""
|
5839 |
|
5840 |
+
#: includes/class-mla-thumbnail-generation.php:434
|
5841 |
msgid "unsupported file type."
|
5842 |
msgstr ""
|
5843 |
|
5844 |
+
#: includes/class-mla-thumbnail-generation.php:442
|
5845 |
+
#: includes/class-mla-thumbnail-generation.php:454
|
5846 |
#, php-format
|
5847 |
msgid "%1$s: %2$sthumbnail generation failed"
|
5848 |
msgstr ""
|
5849 |
|
5850 |
+
#: includes/class-mla-thumbnail-generation.php:450
|
5851 |
#, php-format
|
5852 |
msgid "%1$sWordPress-style thumbnail generated."
|
5853 |
msgstr ""
|
5854 |
|
5855 |
+
#: includes/class-mla-thumbnail-generation.php:498
|
5856 |
#, php-format
|
5857 |
msgid "%1$s: %2$swp_insert_attachment failed."
|
5858 |
msgstr ""
|
5859 |
|
5860 |
+
#: includes/class-mla-thumbnail-generation.php:515
|
5861 |
#, php-format
|
5862 |
msgid "%1$sthumbnail generated as new item %2$s."
|
5863 |
msgstr ""
|
5864 |
|
5865 |
+
#: includes/class-mla-thumbnail-generation.php:564
|
5866 |
#: includes/class-mla-thumbnail-generation.php:673
|
5867 |
msgid "Generated Thumbnails"
|
5868 |
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: 2019-
|
5 |
-
"PO-Revision-Date: 2019-
|
6 |
"Language-Team: David Lingren <david@fairtradejudaica.org>\n"
|
7 |
"MIME-Version: 1.0\n"
|
8 |
"Content-Type: text/plain; charset=UTF-8\n"
|
@@ -3578,6 +3578,9 @@ msgstr ""
|
|
3578 |
msgid "mla_debug REQUEST"
|
3579 |
msgstr ""
|
3580 |
|
|
|
|
|
|
|
3581 |
msgid "mla_debug attributes"
|
3582 |
msgstr ""
|
3583 |
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Media Library Assistant\n"
|
4 |
+
"POT-Creation-Date: 2019-08-18 19:16-0700\n"
|
5 |
+
"PO-Revision-Date: 2019-08-18 19:19-0700\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"
|
3578 |
msgid "mla_debug REQUEST"
|
3579 |
msgstr ""
|
3580 |
|
3581 |
+
msgid "mla_debug attributes_errors"
|
3582 |
+
msgstr ""
|
3583 |
+
|
3584 |
msgid "mla_debug attributes"
|
3585 |
msgstr ""
|
3586 |
|
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: 2019-
|
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"
|
@@ -3579,6 +3579,9 @@ msgstr ""
|
|
3579 |
msgid "mla_debug REQUEST"
|
3580 |
msgstr ""
|
3581 |
|
|
|
|
|
|
|
3582 |
msgid "mla_debug attributes"
|
3583 |
msgstr ""
|
3584 |
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: Media Library Assistant\n"
|
5 |
+
"POT-Creation-Date: 2019-08-18 19:15-0700\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"
|
3579 |
msgid "mla_debug REQUEST"
|
3580 |
msgstr ""
|
3581 |
|
3582 |
+
msgid "mla_debug attributes_errors"
|
3583 |
+
msgstr ""
|
3584 |
+
|
3585 |
msgid "mla_debug attributes"
|
3586 |
msgstr ""
|
3587 |
|
readme.txt
CHANGED
@@ -3,9 +3,9 @@ Contributors: dglingren
|
|
3 |
Donate link: http://davidlingren.com/#two
|
4 |
Tags: attachments, gallery, images, media, media library, tags, categories, IPTC, EXIF, XMP, GPS, PDF, metadata, photos, photographs, photo albums, MIME, mime-type, icon, upload, file extensions, WPML, Polylang
|
5 |
Requires at least: 3.5.0
|
6 |
-
Tested up to: 5.
|
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 |
|
@@ -181,6 +181,21 @@ All of the MLA source code has been annotated with "DocBlocks", a special type o
|
|
181 |
|
182 |
== Changelog ==
|
183 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
184 |
= 2.79 =
|
185 |
* New: For the `[mla_tag_cloud]` shortcode, a new `no_count=internal` parameter setting substitutes the WordPress-maintained "count" value for the explicitly-computed "attachments per term" value. This can significantly improve shortcode performance.
|
186 |
* New: For the `[mla_gallery]` "date" and "timestamp" option/format codes, a second argument containing "i18n" will localize the returned value based on the site locale. A second argument containing "age" will return the difference between the source value and the current date/time. See the Documentation tab.
|
@@ -300,8 +315,8 @@ All of the MLA source code has been annotated with "DocBlocks", a special type o
|
|
300 |
|
301 |
== Upgrade Notice ==
|
302 |
|
303 |
-
= 2.
|
304 |
-
|
305 |
|
306 |
== Other Notes ==
|
307 |
|
3 |
Donate link: http://davidlingren.com/#two
|
4 |
Tags: attachments, gallery, images, media, media library, tags, categories, IPTC, EXIF, XMP, GPS, PDF, metadata, photos, photographs, photo albums, MIME, mime-type, icon, upload, file extensions, WPML, Polylang
|
5 |
Requires at least: 3.5.0
|
6 |
+
Tested up to: 5.2.2
|
7 |
Requires PHP: 5.3
|
8 |
+
Stable tag: 2.80
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
181 |
|
182 |
== Changelog ==
|
183 |
|
184 |
+
= 2.80 =
|
185 |
+
* New: A new "MLA Phoenix Media Rename Example" plugin has been added to the "Examples" family in the Settings/Media Library Assistant Documentation tab. It adds support for the Phoenix Media Rename plugin's "Filename" column to the Media/Assistant submenu table.
|
186 |
+
* Fix: For the Media/Assistant admin submenu screen, avoid "headers already sent" error with JoomUnited's WP Media Folders.
|
187 |
+
* Fix: Improved error handling and debug logging for PDF thumbnail generation, especially "WordPress style" thumbnails.
|
188 |
+
* Fix: Avoid Javascript "Uncaught Reference Error" in `mla-define-ajaxurl-scripts.js`, e.g., for Divi theme.
|
189 |
+
* Fix: PHP 7.x compatibility error in `class-mla-settings-documentation-tab.php`, function `MLA_Upgrader_Skin->feedback()` has been resolved.
|
190 |
+
* Fix: When the per-user "admin language" is set to "English (United States)", the untranslated MLA strings are restored in "back end" mode.
|
191 |
+
* Fix: Improve handling of shortcode parameter/content errors, avoiding misleading "Invalid tax_query" messages. Improved error information in the `mla_debug` output as well.
|
192 |
+
* Fix: For the "MLA Insert Fixit" example plugin, correct flaw in finding inserted images that have a relative path in the `src=` attribute of the IMG tag.
|
193 |
+
* Fix: For the "MLA Insert Fixit" example plugin, correct flaw in finding inserted images that have other attributes preceding `src=` in the IMG tag.
|
194 |
+
* Fix: For the `,extract(p,v)` option/format value, correct named subpattern and `matches:` prefix handling.
|
195 |
+
* Fix: When Polylang is active, eliminate PHP messages and errors for some Media/Assistant Bulk Translate settings.
|
196 |
+
* Fix: When decoding the `wp_filter` list for debug logging, unknown reference types no longer cause PHP errors.
|
197 |
+
* Fix: Handles new synchronization protocol for WP/LR Sync version 5.0+
|
198 |
+
|
199 |
= 2.79 =
|
200 |
* New: For the `[mla_tag_cloud]` shortcode, a new `no_count=internal` parameter setting substitutes the WordPress-maintained "count" value for the explicitly-computed "attachments per term" value. This can significantly improve shortcode performance.
|
201 |
* New: For the `[mla_gallery]` "date" and "timestamp" option/format codes, a second argument containing "i18n" will localize the returned value based on the site locale. A second argument containing "age" will return the difference between the source value and the current date/time. See the Documentation tab.
|
315 |
|
316 |
== Upgrade Notice ==
|
317 |
|
318 |
+
= 2.80 =
|
319 |
+
A new "MLA Phoenix Media Rename Example" plugin supports the Phoenix Media Rename plugin. MLA Insert Fixit example plugin improvements, improved support for other plugins and themes. One enhancement, twelve fixes.
|
320 |
|
321 |
== Other Notes ==
|
322 |
|
tpls/documentation-settings-tab.tpl
CHANGED
@@ -277,7 +277,7 @@ The <code>[mla_gallery]</code> shortcode has many parameters and some of them ha
|
|
277 |
<li>Use the alternative "enclosing shortcode" syntax detailed below.</li>
|
278 |
</ul>
|
279 |
<p>
|
280 |
-
When embedding the shortcode in the body of a post, be very careful when coding parameters such as <code>tax_query</code>, <code>meta_query</code> or <code>date_query;</code> they must be a valid PHP array specification. Splitting your query over multiple lines or using the "Visual" editor will introduce HTML markup and escape sequences that can render your query invalid. MLA can clean up some of the damage, but if your query fails use the "mla_debug=true" parameter to see if your query has been corrupted.
|
281 |
</p>
|
282 |
<p>
|
283 |
<strong>IMPORTANT:</strong> Beginning with version 4.0, WordPress changed the way it handles shortcode parameters. Using angle brackets, e.g., the <code>=></code> characters in a shortcode will often return "Invalid mla_gallery tax_query" errors. To prevent this: 1) add "<code></code>" tags around your shortcode, 2) use an escape sequence like "=&gt;" in your query or 3) use the enclosing shortcode syntax.
|
@@ -1194,6 +1194,9 @@ The "mla_debug" parameter controls the display of information about the query pa
|
|
1194 |
</p>
|
1195 |
<p>
|
1196 |
If you code <code>mla_debug=log</code> all of the information will be written to the error log. You can use the <a href="#mla_debug_tab">MLA Debug Tab</a> to view and download the information in the error log.
|
|
|
|
|
|
|
1197 |
<a name="mla_gallery_hooks"></a>
|
1198 |
</p>
|
1199 |
<h4>MLA Gallery Filters and Actions (Hooks)</h4>
|
@@ -1651,6 +1654,9 @@ The "mla_debug" parameter controls the display of information about the query pa
|
|
1651 |
</p>
|
1652 |
<p>
|
1653 |
If you code <code>mla_debug=log</code> all of the information will be written to the error log. You can use the <a href="#mla_debug_tab">MLA Debug Tab</a> to view and download the information in the error log.
|
|
|
|
|
|
|
1654 |
<a name="tag_cloud_substitution"></a>
|
1655 |
</p>
|
1656 |
<h4>Tag Cloud Substitution Parameters</h4>
|
@@ -2608,6 +2614,9 @@ The "mla_debug" parameter controls the display of information about the query pa
|
|
2608 |
</p>
|
2609 |
<p>
|
2610 |
If you code <code>mla_debug=log</code> all of the information will be written to the error log. You can use the <a href="#mla_debug_tab">MLA Debug Tab</a> to view and download the information in the error log.
|
|
|
|
|
|
|
2611 |
<a name="term_list_data_selection"></a>
|
2612 |
</p>
|
2613 |
<h4>Term List Data Selection Parameters</h4>
|
@@ -5323,8 +5332,7 @@ The <code>,extract(p)</code> option/format value can be applied to any data sour
|
|
5323 |
</p>
|
5324 |
<h4>The <code>,replace(p,r,v)</code> option/format value</h4>
|
5325 |
<p>
|
5326 |
-
The <code>,replace(p,r)</code> option/format value matches a pattern (like <code>,match(p)</code>) but returns a modified version of the original data source value. The "p" argument is a regular expression pattern that is applied to the data source. The "r" argument is a replacement pattern. If a match is found the data source modified by the replacement pattern is returned. If the match is not found, the original data source value is returned unaltered. For example, if a <code>post_date</code> data source contains "2013-10-03 02:47:13", then <code>[+post_date,replace( '/(\\d{4})-(\\d{2})-(\\d{2})/', 'year: $1, month: $2, day: $3' )+]</code> would return "year: 2013, month: 10, day: 03 02:47:13". Note the double backslashes in the pattern argument!
|
5327 |
-
Fund a SEP. Business owners and the self-employed can stash pretax money in a Simplified Employee Pension Plan. “Typically, you can contribute up to 20 percent of your net employment income,’’ says New Jersey-based Certified Public Accountant Barry Kleiman. While you have until April 17 to fund an IRA or Roth IRA, you can fund a SEP until Oct. 15 with a filing extension.To specify an array argument enclose the argument in braces ( "{" and "}" ) and separate elements with <strong>spaces</strong>. For a simple example, <code>,replace( {'/,/' '/-/'}, {' ' '_'} )</code> will change commas to spaces and dashes to underscores, while <code>,replace( {'/,/' '/-/'}, ' ' )</code> will change both commas <strong>and</strong> dashes to spaces.
|
5328 |
</p>
|
5329 |
You can alter the value returned by adding the optional third "v" parameter set to "true". If you add this parameter the returned value will be just the matched portion of the original with the replacement modifications applied. For example, if a <code>post_date</code> data source contains "2013-10-03 02:47:13", then <code>[+post_date,replace( '/(\\d{4})-(\\d{2})-(\\d{2})/', 'year: $1, month: $2, day: $3', true )+]</code> would return "year: 2013, month: 10, day: 03". Note the double backslashes in the pattern argument!
|
5330 |
<p>
|
277 |
<li>Use the alternative "enclosing shortcode" syntax detailed below.</li>
|
278 |
</ul>
|
279 |
<p>
|
280 |
+
When embedding the shortcode in the body of a post, be very careful when coding parameters such as <code>tax_query</code>, <code>meta_query</code> or <code>date_query;</code> they must be a valid PHP array specification. Splitting your query over multiple lines or using the "Visual" editor will introduce HTML markup and escape sequences that can render your query invalid. MLA can clean up some of the damage, but if your query fails use the "mla_debug=true" parameter to see if your query has been corrupted. Look for the "mla_debug attribute_errors" entry in the debug output; it will often list the parts of the shortcode parameters that could’nt be parsed.
|
281 |
</p>
|
282 |
<p>
|
283 |
<strong>IMPORTANT:</strong> Beginning with version 4.0, WordPress changed the way it handles shortcode parameters. Using angle brackets, e.g., the <code>=></code> characters in a shortcode will often return "Invalid mla_gallery tax_query" errors. To prevent this: 1) add "<code></code>" tags around your shortcode, 2) use an escape sequence like "=&gt;" in your query or 3) use the enclosing shortcode syntax.
|
1194 |
</p>
|
1195 |
<p>
|
1196 |
If you code <code>mla_debug=log</code> all of the information will be written to the error log. You can use the <a href="#mla_debug_tab">MLA Debug Tab</a> to view and download the information in the error log.
|
1197 |
+
</p>
|
1198 |
+
<p>
|
1199 |
+
Look for the "mla_debug attribute_errors" entry in the debug output; it will often list the parts of the shortcode parameters that could’nt be parsed. If you see "[mla_gallery" in this entry you probably used the enclosing shortcode format in that shortcode but did not add the "[/mla_gallery]" delimiter to an earlier shortcode.
|
1200 |
<a name="mla_gallery_hooks"></a>
|
1201 |
</p>
|
1202 |
<h4>MLA Gallery Filters and Actions (Hooks)</h4>
|
1654 |
</p>
|
1655 |
<p>
|
1656 |
If you code <code>mla_debug=log</code> all of the information will be written to the error log. You can use the <a href="#mla_debug_tab">MLA Debug Tab</a> to view and download the information in the error log.
|
1657 |
+
</p>
|
1658 |
+
<p>
|
1659 |
+
Look for the "mla_debug attribute_errors" entry in the debug output; it will often list the parts of the shortcode parameters that could’nt be parsed. If you see "[mla_gallery" in this entry you probably used the enclosing shortcode format in that shortcode but did not add the "[/mla_gallery]" delimiter to an earlier shortcode.
|
1660 |
<a name="tag_cloud_substitution"></a>
|
1661 |
</p>
|
1662 |
<h4>Tag Cloud Substitution Parameters</h4>
|
2614 |
</p>
|
2615 |
<p>
|
2616 |
If you code <code>mla_debug=log</code> all of the information will be written to the error log. You can use the <a href="#mla_debug_tab">MLA Debug Tab</a> to view and download the information in the error log.
|
2617 |
+
</p>
|
2618 |
+
<p>
|
2619 |
+
Look for the "mla_debug attribute_errors" entry in the debug output; it will often list the parts of the shortcode parameters that could’nt be parsed. If you see "[mla_gallery" in this entry you probably used the enclosing shortcode format in that shortcode but did not add the "[/mla_gallery]" delimiter to an earlier shortcode.
|
2620 |
<a name="term_list_data_selection"></a>
|
2621 |
</p>
|
2622 |
<h4>Term List Data Selection Parameters</h4>
|
5332 |
</p>
|
5333 |
<h4>The <code>,replace(p,r,v)</code> option/format value</h4>
|
5334 |
<p>
|
5335 |
+
The <code>,replace(p,r)</code> option/format value matches a pattern (like <code>,match(p)</code>) but returns a modified version of the original data source value. The "p" argument is a regular expression pattern that is applied to the data source. The "r" argument is a replacement pattern. If a match is found the data source modified by the replacement pattern is returned. If the match is not found, the original data source value is returned unaltered. For example, if a <code>post_date</code> data source contains "2013-10-03 02:47:13", then <code>[+post_date,replace( '/(\\d{4})-(\\d{2})-(\\d{2})/', 'year: $1, month: $2, day: $3' )+]</code> would return "year: 2013, month: 10, day: 03 02:47:13". Note the double backslashes in the pattern argument! To specify an array argument enclose the argument in braces ( "{" and "}" ) and separate elements with <strong>spaces</strong>. For a simple example, <code>,replace( {'/,/' '/-/'}, {' ' '_'} )</code> will change commas to spaces and dashes to underscores, while <code>,replace( {'/,/' '/-/'}, ' ' )</code> will change both commas <strong>and</strong> dashes to spaces.
|
|
|
5336 |
</p>
|
5337 |
You can alter the value returned by adding the optional third "v" parameter set to "true". If you add this parameter the returned value will be just the matched portion of the original with the replacement modifications applied. For example, if a <code>post_date</code> data source contains "2013-10-03 02:47:13", then <code>[+post_date,replace( '/(\\d{4})-(\\d{2})-(\\d{2})/', 'year: $1, month: $2, day: $3', true )+]</code> would return "year: 2013, month: 10, day: 03". Note the double backslashes in the pattern argument!
|
5338 |
<p>
|