Media Library Assistant - Version 2.15

Version Description

  • New: A "Reset" button has been added to the Media/Assistant Bulk Edit area and the Media/Add New (Upload New Media) Bulk Edit area. When clicked, the button clears all of the fields in the Bulk Edit area to simplify the entry of new values.
  • New: An option has been added to the "Media/Add New Enhancements" section of the Settings/Media Library Assistant General tab to allow moving the Bulk Edit area to the top of the Media/Add New (Upload New Media) screen, above the drag-and-drop area.
  • New: When WPML is active, MLA will fix a WPML defect that assigns the wrong term to flat taxonomies if two or more translations have the same term name.
  • New: Options have been added to the Settings/Media Library Assistant Debug tab that allow control over the PHP error_log file, PHP error_reporting level and MLA_DEBUG_LEVEL without modifying the wp-config.php file.
  • New: The Media/Assistant "Search Media by ID/Parent" search has been extended to allow multiple ID values. If all the "keywords" in the Search Media box are numeric they will be matched against item IDs and item parent IDs in addition to the normal text-based search.
  • New: The Media/Assistant Quick Edit area now displays the item's thumbnail/icon image to make it easier to confirm which item is being edited.
  • New: A new /media-library-assistant/examples/mla-upload-bulk-edit-example.php.txt example plugin has been added to demonstrate updates to the Title field from the Bulk Edit area on the Media/Upload New Media submenu.
  • New: The /media-library-assistant/examples/mla-simple-mapping-hooks-example.php.txt example plugin has been updated to demonstrate splitting an IPTC value with a regular expression (regex) and updating two custom fields with the results.
  • New: The Portable Object (".po") files are now included in the /media-library-assistant/languages directory, facilitating the translation update process.
  • New: Harm Kramer has contributed updates and additions to the Dutch translation; thanks Harm!
  • New: Comments have been added to each "/tpls/help-for-*.tpl" template showing where in MLA the template is used. This should help with the translation of these templates to other languages.
  • New: Two new hooks, mla_taxonomy_get_columns and mla_taxonomy_column, have been added to allow control of the Media/"Taxonomy Edit" submenu columns such as the "Attachments" column added by MLA.
  • New: Two new hooks, mla_update_single_item and mla_update_single_item, have been added to increase control over Media Library item updates, e.g., for taxonomy term updates.
  • New: The "mla_media_modal_initial_filters" and "mla_media_modal_settings" filters have been updated to allow control over the "uploaded" MIME type dropdown, e.g., on the "Create Gallery" and "Set Featured Image" views of the Media Manager Modal (popup) Window.
  • New: The /examples/mla-tax-query-example.php.txt example plugin has been updated to support keyword search parameters.
  • New: The /examples/random-feature.php.txt example plugin has been updated to allow for separate "post" and "item" taxonomies.
  • Fix: For the [mla_gallery] shortcode, keyword searches only on terms generate an empty result when no terms match the search string.
  • Fix: For the [mla_gallery] shortcode, keyword searches with special characters such as single and/or double quotes now work correctly.
  • Fix: Style sheets and HTML markup changes have been added to support sites with Right-to-left (TRL) languages.
  • Fix: For the Media/Assistant submenu table, WordPress 4.2+ alternate-row coloring (striping) for the Quick Edit and Bulk Edit areas has been fixed.
  • Fix: For the Media/Assistant submenu table, combinations of ALT Text filtering in the Search Media box, sorting on custom field columns and Table Views based on custom field values now work correctly.
  • Fix: The Edit Taxonomy "Attachments" column is displayed correctly when othe plugins, e.g., Polylang, add columns to the submenu table.
  • Fix: When WPML or Polylang are active, flat taxonomy "auto-completion" suggestions for the Media/Assistant Quick Edit area and the Media/Edit Media screen are now language-specific.
  • Fix: When WPML or Polylang are active, Term Assignment and Synchronization defects when two or more translations have the same term name are corrected.
  • Fix: For item updates thet only affect postmeta and/or taxonomy values, wp_update_post is no longer called.
  • Fix: Commas are now accepted within quoted arguments of the "Field-level option/format values". Commas outside of quoted arguments of the timestamp and date format values no longer generate PHP Warning messages.
  • Fix: The Bulk Edit on Upload (Media/Add New) has been fixed for WordPress versions before 4.0.
  • Fix: When WPML is active, a defect in Bulk Edit term assignment that copied terms from one item to subsequent items in the list has been corrected.
  • Fix: The Settings/Media Library Assistant tab HTML heading tags have been adjusted to conform to the new WordPress v4.3+ standards.
  • Fix: The Settings/Media Library Assistant tab titles and option content is loaded later in the startup process, allowing their translation to other languages.
  • Fix: The Settings/Media Library Assistant "Donate" button is changed from an image to text, facilitating translation ro other languages.
  • Fix: An array initialization defect that caused a PHP warning message in PHP Version 7 has been corrected.
Download this release

Release Info

Developer dglingren
Plugin Icon 128x128 Media Library Assistant
Version 2.15
Comparing to
See all releases

Code changes from version 2.14 to 2.15

Files changed (91) hide show
  1. css/mla-add-new-bulk-edit-rtl.css +202 -0
  2. css/mla-add-new-bulk-edit.css +29 -4
  3. css/mla-media-modal-style-rtl.css +200 -0
  4. css/mla-style-rtl.css +440 -0
  5. css/mla-style-set-parent-rtl.css +151 -0
  6. css/mla-style-terms-search-rtl.css +174 -0
  7. css/mla-style-terms-search.css +1 -1
  8. css/mla-style.css +116 -11
  9. css/mla-thumbnail-generation-rtl.css +97 -0
  10. examples/alexa-paige-plugin.php.txt +67 -67
  11. examples/buddypress-hooks-example.php.txt +62 -62
  12. examples/mla-a-z-cloud-example.php.txt +33 -33
  13. examples/mla-acf-checkbox-example.php.txt +14 -14
  14. examples/mla-advanced-custom-fields-example.php.txt +19 -19
  15. examples/mla-audio-shortcode-example.php.txt +1 -1
  16. examples/mla-custom-field-search-example.php.txt +8 -8
  17. examples/mla-custom-nolink-example.php.txt +4 -4
  18. examples/mla-file-size-example.php.txt +3 -3
  19. examples/mla-fixed-values-example.php.txt +2 -2
  20. examples/mla-hooks-example.php.txt +76 -76
  21. examples/mla-image-source-control-example.php.txt +15 -15
  22. examples/mla-jhdean-mapping-hooks-example.php.txt +4 -4
  23. examples/mla-list-table-hooks-example.php.txt +211 -164
  24. examples/mla-mapping-parent-data-example.php.txt +4 -4
  25. examples/mla-media-modal-hooks-example.php.txt +3 -3
  26. examples/mla-metabox-hooks-example.php.txt +31 -31
  27. examples/mla-metadata-mapping-hooks-example.php.txt +38 -38
  28. examples/mla-project-slug-example.php.txt +1 -1
  29. examples/mla-simple-mapping-hooks-example.php.txt +69 -477
  30. examples/mla-tax-query-example.php.txt +181 -100
  31. examples/mla-upload-bulk-edit-example.php.txt +121 -0
  32. examples/mla-viewer-replacement-example.php.txt +3 -3
  33. examples/mla-zip-archive-example.php.txt +9 -9
  34. examples/mqtranslate-example.php.txt +3 -3
  35. examples/random-feature.php.txt +24 -8
  36. examples/twentytwelve-mla/content-category-listing.php +1 -1
  37. examples/twentytwelve-mla/content-single-image.php +2 -2
  38. examples/twentytwelve-mla/content-tag-gallery.php +2 -2
  39. examples/twentytwelve-mla/content-tosca30-dropdown.php +5 -5
  40. examples/twentytwelve-mla/functions.php +15 -15
  41. examples/twentytwelve-mla/image.php +3 -3
  42. examples/woofixit.php.txt +77 -77
  43. images/DonateButton.jpg +0 -0
  44. includes/class-mla-data.php +185 -52
  45. includes/class-mla-edit-media.php +25 -16
  46. includes/class-mla-list-table.php +72 -44
  47. includes/class-mla-main.php +87 -25
  48. includes/class-mla-media-modal.php +26 -7
  49. includes/class-mla-mime-types.php +1 -1
  50. includes/class-mla-objects.php +38 -7
  51. includes/class-mla-options.php +54 -4
  52. includes/class-mla-polylang-support.php +176 -156
  53. includes/class-mla-settings.php +46 -28
  54. includes/class-mla-thumbnail-generation.php +8 -1
  55. includes/class-mla-upload-list-table.php +3 -3
  56. includes/class-mla-upload-optional-list-table.php +1 -1
  57. includes/class-mla-view-list-table.php +1 -1
  58. includes/class-mla-wpml-support.php +197 -139
  59. index.php +14 -4
  60. js/mla-add-new-bulk-edit-scripts.js +66 -22
  61. js/mla-add-new-bulk-edit-scripts.min.js +1 -1
  62. js/mla-edit-media-scripts.js +2 -2
  63. js/mla-inline-edit-scripts.js +111 -32
  64. js/mla-inline-edit-scripts.min.js +1 -1
  65. js/mla-inline-mapping-scripts.js +23 -23
  66. js/mla-media-modal-scripts.js +142 -26
  67. js/mla-media-modal-scripts.min.js +1 -1
  68. js/mla-polylang-support-scripts.js +22 -22
  69. js/mla-terms-search-scripts.js +2 -2
  70. js/mla-thumbnail-generation-scripts.js +3 -3
  71. languages/media-library-assistant-en_US - References.pot +4768 -0
  72. languages/media-library-assistant-en_US.po +3412 -0
  73. languages/media-library-assistant-en_US.pot +51 -1366
  74. languages/media-library-assistant-nl_NL.mo +0 -0
  75. languages/media-library-assistant-nl_NL.po +3949 -0
  76. languages/tpls/nl_NL/help-for-edit-attachment_category.tpl +2 -0
  77. languages/tpls/nl_NL/help-for-edit-attachment_tag.tpl +2 -0
  78. languages/tpls/nl_NL/help-for-edit-flat-taxonomy.tpl +2 -0
  79. languages/tpls/nl_NL/help-for-edit-hierarchical-taxonomy.tpl +2 -0
  80. languages/tpls/nl_NL/help-for-edit_attachment.tpl +2 -0
  81. languages/tpls/nl_NL/help-for-media_page_mla-menu.tpl +2 -0
  82. languages/tpls/nl_NL/help-for-settings_page_mla-settings-menu-upload-edit.tpl +2 -0
  83. languages/tpls/nl_NL/help-for-settings_page_mla-settings-menu-upload-optional.tpl +2 -0
  84. languages/tpls/nl_NL/help-for-settings_page_mla-settings-menu-upload.tpl +48 -0
  85. languages/tpls/nl_NL/help-for-settings_page_mla-settings-menu-view-edit.tpl +2 -0
  86. languages/tpls/nl_NL/help-for-settings_page_mla-settings-menu-view.tpl +2 -0
  87. languages/tpls/nl_NL/help-for-single_item_edit_display.tpl +0 -15
  88. languages/tpls/nl_NL/help-for-thumbnail_generation.tpl +52 -0
  89. languages/tpls/nl_NL/help-for-upload-new-media.tpl +16 -0
  90. phpDocs/classes/MLA.html +53 -1
  91. phpDocs/classes/MLAData.html +59 -7
css/mla-add-new-bulk-edit-rtl.css ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @charset "utf-8";
2
+ /**
3
+ * CSS Document
4
+ *
5
+ * This file contains styling attributes for the Bulk Updates area.
6
+ * Adapted from /wp-admin/css/list-tables.css section 10.1 - Inline Editing
7
+ */
8
+
9
+ /* Layout */
10
+
11
+ #bulk-edit-reset {
12
+ margin: 0px 5px
13
+ }
14
+
15
+ #mla-add-new-bulk-edit-div .mla_taxonomy_options {
16
+ margin-top: 8px;
17
+ margin-bottom: 8px
18
+ }
19
+
20
+ #mla-add-new-bulk-edit-div .inline-edit-col-left {
21
+ width: 25%
22
+ }
23
+
24
+ #mla-add-new-bulk-edit-div .inline-edit-col-center {
25
+ width: 25%
26
+ }
27
+
28
+ #mla-add-new-bulk-edit-div .inline-edit-col-right {
29
+ width: 49%
30
+ }
31
+
32
+ #mla-add-new-bulk-edit-div fieldset.inline-edit-col-right label span.title {
33
+ width: 6em;
34
+ line-height: 1.2
35
+ }
36
+
37
+ #mla-add-new-bulk-edit-div fieldset.inline-edit-col-right label span.input-text-wrap {
38
+ margin-right: 6em
39
+ }
40
+
41
+ #mla-add-new-bulk-edit-div fieldset.inline-edit-col-right label.inline-edit-post-parent span.input-text-wrap {
42
+ width: 5em
43
+ }
44
+
45
+ #mla-add-new-bulk-edit-div fieldset.inline-edit-col-right input#bulk-edit-set-parent {
46
+ display:inline;
47
+ line-height: 16px;
48
+ margin: .2em .4em .2em .4em;
49
+ }
50
+
51
+ #mla-add-new-bulk-edit-div fieldset.inline-edit-col-right label.inline-edit-tags span.title {
52
+ width: 99%
53
+ }
54
+
55
+ #mla-add-new-bulk-edit-div fieldset {
56
+ font-size: 12px;
57
+ float: right;
58
+ margin: 0;
59
+ padding: 0;
60
+ width: 100%;
61
+ }
62
+
63
+ #mla-add-new-bulk-edit-div fieldset .inline-edit-col {
64
+ padding: 0 0.5em;
65
+ }
66
+
67
+ #mla-add-new-bulk-edit-div fieldset .inline-edit-group {
68
+ clear: both;
69
+ }
70
+
71
+ #mla-add-new-bulk-edit-div fieldset .inline-edit-group:after {
72
+ content: ".";
73
+ display: block;
74
+ height: 0;
75
+ clear: both;
76
+ visibility: hidden;
77
+ }
78
+
79
+ @media screen and ( max-width: 782px ) {
80
+ /* Quick Edit and Bulk Edit */
81
+ #mla-add-new-bulk-edit-div .inline-edit-col-left,
82
+ #mla-add-new-bulk-edit-div .inline-edit-col-right,
83
+ #mla-add-new-bulk-edit-div .inline-edit-col-center {
84
+ float: none;
85
+ width: 100%;
86
+ }
87
+
88
+ #mla-add-new-bulk-edit-div fieldset.inline-edit-col-right label span.title {
89
+ width: 100%;
90
+ line-height: 2.5
91
+ }
92
+
93
+ #mla-add-new-bulk-edit-div fieldset.inline-edit-col-right label span.input-text-wrap {
94
+ margin-right: 0em
95
+ }
96
+ }
97
+
98
+ /* Positioning */
99
+
100
+ #mla-add-new-bulk-edit-div fieldset span.title,
101
+ #mla-add-new-bulk-edit-div fieldset span.checkbox-title {
102
+ margin: 0;
103
+ padding: 0;
104
+ line-height: 27px;
105
+ }
106
+
107
+ #mla-add-new-bulk-edit-div fieldset label,
108
+ #mla-add-new-bulk-edit-div fieldset span.inline-edit-categories-label {
109
+ display: block;
110
+ margin: .2em 0;
111
+ }
112
+
113
+ #mla-add-new-bulk-edit-div fieldset label.inline-edit-tags {
114
+ margin-top: 0;
115
+ }
116
+
117
+ #mla-add-new-bulk-edit-div fieldset label.inline-edit-tags span.title {
118
+ margin: .2em 0;
119
+ width: auto;
120
+ }
121
+
122
+ #mla-add-new-bulk-edit-div fieldset label span.title {
123
+ display: block;
124
+ float: right;
125
+ width: 5em;
126
+ }
127
+
128
+ #mla-add-new-bulk-edit-div fieldset label span.input-text-wrap {
129
+ display: block;
130
+ margin-right: 5em;
131
+ }
132
+
133
+ #mla-add-new-bulk-edit-div .input-text-wrap input[type=text] {
134
+ width: 100%;
135
+ }
136
+
137
+ #mla-add-new-bulk-edit-div fieldset label input[type=checkbox] {
138
+ vertical-align: text-bottom;
139
+ }
140
+
141
+ #mla-add-new-bulk-edit-div fieldset label textarea {
142
+ width: 100%;
143
+ height: 4em;
144
+ }
145
+
146
+ #mla-add-new-bulk-edit-div fieldset .inline-edit-group label {
147
+ max-width: 50%;
148
+ }
149
+
150
+ #mla-add-new-bulk-edit-div fieldset .inline-edit-group label.alignleft:first-child {
151
+ margin-right: 0.5em
152
+ }
153
+
154
+ /* Styling */
155
+
156
+ #mla-add-new-bulk-edit-div fieldset span.title,
157
+ #mla-add-new-bulk-edit-div fieldset span.checkbox-title {
158
+ font-style: italic;
159
+ line-height: 1.8em;
160
+ }
161
+
162
+ /* Specific Elements */
163
+
164
+ #mla-add-new-bulk-edit-div ul.cat-checklist {
165
+ height: 12em;
166
+ border: solid 1px #ddd;
167
+ overflow-y: scroll;
168
+ padding: 0 5px;
169
+ margin: 0px;
170
+ background-color: #fff;
171
+ }
172
+
173
+ #mla-add-new-bulk-edit-div ul.cat-checklist ul {
174
+ margin-right: 18px;
175
+ }
176
+
177
+ #mla-add-new-bulk-edit-div span.catshow {
178
+ display: none;
179
+ }
180
+
181
+ #mla-add-new-bulk-edit-div fieldset ul.cat-checklist li,
182
+ #mla-add-new-bulk-edit-div fieldset ul.cat-checklist input {
183
+ margin: 0;
184
+ position: relative; /* RTL fix, #WP27629 */
185
+ }
186
+
187
+ #mla-add-new-bulk-edit-div fieldset ul.cat-checklist label {
188
+ font-style: normal;
189
+ font-size: 11px;
190
+ }
191
+
192
+ #mla-add-new-bulk-edit-div fieldset label input.inline-edit-slug-input {
193
+ width: 75%;
194
+ }
195
+
196
+ #mla-add-new-bulk-edit-div #post_parent {
197
+ max-width: 80%;
198
+ }
199
+
200
+ .ie8 #mla-add-new-bulk-edit-div #post_parent {
201
+ width: 250px;
202
+ }
css/mla-add-new-bulk-edit.css CHANGED
@@ -8,16 +8,21 @@
8
 
9
  /* Layout */
10
 
 
 
 
 
11
  #mla-add-new-bulk-edit-div .mla_taxonomy_options {
12
- margin-bottom: 10px
 
13
  }
14
 
15
  #mla-add-new-bulk-edit-div .inline-edit-col-left {
16
- width: 20%
17
  }
18
 
19
  #mla-add-new-bulk-edit-div .inline-edit-col-center {
20
- width: 30%
21
  }
22
 
23
  #mla-add-new-bulk-edit-div .inline-edit-col-right {
@@ -25,7 +30,8 @@
25
  }
26
 
27
  #mla-add-new-bulk-edit-div fieldset.inline-edit-col-right label span.title {
28
- width: 6em
 
29
  }
30
 
31
  #mla-add-new-bulk-edit-div fieldset.inline-edit-col-right label span.input-text-wrap {
@@ -70,6 +76,25 @@
70
  visibility: hidden;
71
  }
72
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
73
  /* Positioning */
74
 
75
  #mla-add-new-bulk-edit-div fieldset span.title,
8
 
9
  /* Layout */
10
 
11
+ #bulk-edit-reset {
12
+ margin: 0px 5px
13
+ }
14
+
15
  #mla-add-new-bulk-edit-div .mla_taxonomy_options {
16
+ margin-top: 8px;
17
+ margin-bottom: 8px
18
  }
19
 
20
  #mla-add-new-bulk-edit-div .inline-edit-col-left {
21
+ width: 25%
22
  }
23
 
24
  #mla-add-new-bulk-edit-div .inline-edit-col-center {
25
+ width: 25%
26
  }
27
 
28
  #mla-add-new-bulk-edit-div .inline-edit-col-right {
30
  }
31
 
32
  #mla-add-new-bulk-edit-div fieldset.inline-edit-col-right label span.title {
33
+ width: 6em;
34
+ line-height: 1.2
35
  }
36
 
37
  #mla-add-new-bulk-edit-div fieldset.inline-edit-col-right label span.input-text-wrap {
76
  visibility: hidden;
77
  }
78
 
79
+ @media screen and ( max-width: 782px ) {
80
+ /* Quick Edit and Bulk Edit */
81
+ #mla-add-new-bulk-edit-div .inline-edit-col-left,
82
+ #mla-add-new-bulk-edit-div .inline-edit-col-right,
83
+ #mla-add-new-bulk-edit-div .inline-edit-col-center {
84
+ float: none;
85
+ width: 100%;
86
+ }
87
+
88
+ #mla-add-new-bulk-edit-div fieldset.inline-edit-col-right label span.title {
89
+ width: 100%;
90
+ line-height: 2.5
91
+ }
92
+
93
+ #mla-add-new-bulk-edit-div fieldset.inline-edit-col-right label span.input-text-wrap {
94
+ margin-left: 0em
95
+ }
96
+ }
97
+
98
  /* Positioning */
99
 
100
  #mla-add-new-bulk-edit-div fieldset span.title,
css/mla-media-modal-style-rtl.css ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @charset "utf-8";
2
+ /**
3
+ * CSS Document
4
+ *
5
+ * This file contains styling attributes for the Media Manager Modal Window,
6
+ * as well as the WordPress 4.0 Media Grid.
7
+ * Adapted from /wp-admin/css/edit.css and given unique names to avoid conflicts.
8
+ */
9
+
10
+ .attachments-browser .media-toolbar {
11
+ overflow: visible;
12
+ }
13
+
14
+ .attachments-browser .media-toolbar .media-toolbar-secondary {
15
+ width: 50%;
16
+ max-width: 50%;
17
+ }
18
+
19
+ .attachments-browser .media-toolbar .media-toolbar-primary {
20
+ width: 50%;
21
+ max-width: 50%;
22
+ }
23
+
24
+ /** === Search Options */
25
+ .mla-search-options {
26
+ list-style: none;
27
+ padding: 0;
28
+ }
29
+
30
+ .mla-search-options > li {
31
+ float: right;
32
+ margin-right: 5px;
33
+ margin-bottom: 0;
34
+ }
35
+
36
+ .mla-search-options > li:last-child { margin-right: 0; }
37
+
38
+ /**
39
+ * Media Toolbar Controls
40
+ */
41
+ .media-modal-content #mla-terms-search,
42
+ .media-modal-content #mla-search-submit {
43
+ height: 26px;
44
+ line-height:normal;
45
+ margin-top: 11px;
46
+ position: static;
47
+ width:auto
48
+ }
49
+
50
+ .mode-grid.media-frame .media-toolbar .select-mode-toggle-button,
51
+ .mode-grid.media-frame .media-toolbar input#mla-terms-search {
52
+ vertical-align:middle;
53
+ }
54
+
55
+ .mode-grid.media-frame .media-toolbar input#mla-media-search-input,
56
+ .mode-grid.media-frame .media-toolbar input#mla-search-submit {
57
+ /* margin-top: 11px; */
58
+ position: static;
59
+ width:auto
60
+ }
61
+
62
+ /**
63
+ * Hide "Media Categories" meta box
64
+ */
65
+ .attachment-compat .compat-item .compat-field-MLA-has-disabled-this-instance_metabox,
66
+ .media-sidebar .compat-item .compat-field-MLA-has-disabled-this-instance_metabox {
67
+ display: none;
68
+ }
69
+
70
+ /**
71
+ * Checkbox-style taxonomy meta box
72
+ */
73
+
74
+ .media-modal .media-toolbar {
75
+ left: 312px;
76
+ }
77
+
78
+ .attachments-browser .no-media {
79
+ margin-top: 135px;
80
+ }
81
+
82
+ .media-modal .attachments {
83
+ left: 312px;
84
+ top: 120px;
85
+ }
86
+
87
+ .media-modal .media-sidebar {
88
+ padding-right: 6px;
89
+ min-width: 290px;
90
+ }
91
+
92
+ /* Avoid "Media Categories" interference */
93
+ .mla-hidden-children .wp-hidden-child {
94
+ display: none;
95
+ }
96
+
97
+ .attachment-compat .compat-item .mla-taxonomy-row .mla-taxonomy-field div.categorydiv,
98
+ .media-sidebar .compat-item .mla-taxonomy-row .mla-taxonomy-field div.categorydiv {
99
+ margin-top: 0px;
100
+ padding-top: 6px;
101
+ }
102
+
103
+ .attachment-compat .compat-item .mla-taxonomy-row .mla-taxonomy-field div.tagsdiv,
104
+ .media-sidebar .compat-item .mla-taxonomy-row .mla-taxonomy-field div.tagsdiv {
105
+ margin-top: 0px;
106
+ padding-top: 6px;
107
+ }
108
+
109
+ .attachment-compat .compat-item .mla-taxonomy-row td.field div.tabs-panel,
110
+ .media-sidebar .compat-item .mla-taxonomy-row td.field div.tabs-panel {
111
+ min-height: 200px;
112
+ max-height: 200px;
113
+ }
114
+
115
+ .media-sidebar .compat-item .mla-taxonomy-row td.field div.tabs-panel input {
116
+ width: 16px;
117
+ }
118
+
119
+ /**
120
+ * Flat taxonomy meta box, from /wp-admin/css/edit.css "13.0 - Tags"
121
+ */
122
+
123
+ .attachment-compat .compat-item .mla-taxonomy-row .mla-taxonomy-field div.ajaxtag .newtag,
124
+ .media-sidebar .compat-item .mla-taxonomy-row .mla-taxonomy-field div.ajaxtag .newtag {
125
+ position: relative;
126
+ }
127
+
128
+ .attachment-compat .compat-item .mla-taxonomy-row .mla-taxonomy-field div.tagsdiv .newtag,
129
+ .media-sidebar .compat-item .mla-taxonomy-row .mla-taxonomy-field div.tagsdiv .newtag {
130
+ margin-right: 4px;
131
+ width: 200px;
132
+ }
133
+
134
+ .attachment-compat .compat-item .mla-taxonomy-row .mla-taxonomy-field div.tagsdiv .tagadd,
135
+ .media-sidebar .compat-item .mla-taxonomy-row .mla-taxonomy-field div.tagsdiv .tagadd {
136
+ width: auto;
137
+ }
138
+
139
+ .edit-attachment-frame input.mla-taxonomy-add-submit,
140
+ .media-frame input.mla-taxonomy-add-submit {
141
+ font-size: 13px;
142
+ line-height: 16px;
143
+ height: 26px;
144
+ padding: 4px;
145
+ width: auto;
146
+ }
147
+
148
+ /* ntdelbutton in media grid */
149
+ .edit-attachment-frame .tagchecklist span a {
150
+ position:static;
151
+ margin-right: 0px
152
+ }
153
+
154
+ /*
155
+ * /wp-includes/js/jquery/suggest.js tag auto-complete results
156
+ */
157
+ .mla_ac_results {
158
+ padding: 0;
159
+ margin: 0;
160
+ list-style: none;
161
+ position: absolute;
162
+ z-index: 170000;
163
+ display: none;
164
+ border: 1px solid #808080;
165
+ background-color: #fff;
166
+ }
167
+
168
+ .mla_ac_results li {
169
+ padding: 2px 5px;
170
+ white-space: nowrap;
171
+ color: #101010;
172
+ text-align: right;
173
+ }
174
+
175
+ .mla_ac_over {
176
+ background-color: #f0f0b8;
177
+ cursor: pointer;
178
+ }
179
+
180
+ .mla_ac_match {
181
+ text-decoration: underline;
182
+ }
183
+
184
+ /** === INCLUDED BY ANTONIO === */
185
+
186
+ /** For responsive control, use the following media queries */
187
+
188
+ /* @media only screen and (max-width: 960px) {} */
189
+
190
+ /*@media only screen and (max-width: 900px) {}*/
191
+
192
+ /* Responsive on portrait and landscape */
193
+ /*@media only screen and (max-width: 640px), screen and (max-height: 400px) {}*/
194
+
195
+ /* Landscape specific header override */
196
+ /*@media screen and (max-height: 400px) {}*/
197
+
198
+ /*@media only screen and (max-width: 680px) {}*/
199
+
200
+ /** === END INCLUDED BY ANTONIO === */
css/mla-style-rtl.css ADDED
@@ -0,0 +1,440 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @charset "utf-8";
2
+ /**
3
+ * CSS Document
4
+ *
5
+ * This file contains styling attributes, adapted from wp-admin.css and given unique names
6
+ * to avoid conflicts.
7
+ */
8
+
9
+ /*
10
+ * MLA List Table, single edit and settings page message DIV
11
+ */
12
+ div.mla_messages {
13
+ background:#FFFFE0;
14
+ border:1px solid #CCC;
15
+ padding:0 10px;
16
+ margin-top:5px;
17
+ border-radius:5px;
18
+ -moz-border-radius:5px;
19
+ -webkit-border-radius:5px;
20
+ }
21
+
22
+ div.mla_errors {
23
+ background:#FFE0E0;
24
+ border:1px solid #CCC;
25
+ padding:0 10px;
26
+ margin-top:5px;
27
+ border-radius:5px;
28
+ -moz-border-radius:5px;
29
+ -webkit-border-radius:5px;
30
+ }
31
+
32
+ /*
33
+ * MLA List Table Terms Search and Clear Filter-by buttons
34
+ */
35
+ #mla-terms-search-open,
36
+ #clear_filter_by {
37
+ margin: 1px 0 0 8px;
38
+ }
39
+
40
+ /*
41
+ * MLA Inline editing - adapted from load-styles.php
42
+ */
43
+ .mla_bulk_taxonomy_options {
44
+ margin-top: 8px;
45
+ margin-bottom: 8px
46
+ }
47
+
48
+ #wpbody-content .quick-edit-row-attachment .inline-edit-col-left {
49
+ width: 40%
50
+ }
51
+
52
+ #wpbody-content .quick-edit-row-attachment .inline-edit-col-center {
53
+ width: 20%
54
+ }
55
+
56
+ #wpbody-content .quick-edit-row-attachment .inline-edit-col-right {
57
+ width: 39%
58
+ }
59
+
60
+ #wpbody-content .bulk-edit-row-attachment .inline-edit-col-left {
61
+ width: 25%
62
+ }
63
+
64
+ #wpbody-content .bulk-edit-row-attachment .inline-edit-col-center {
65
+ width: 25%
66
+ }
67
+
68
+ #wpbody-content .bulk-edit-row-attachment .inline-edit-col-right {
69
+ width: 49%
70
+ }
71
+
72
+ #wpbody-content tr#bulk-progress .inline-edit-col-left {
73
+ width: 30%
74
+ }
75
+
76
+ #wpbody-content tr#bulk-progress .inline-edit-col-center {
77
+ width: 30%
78
+ }
79
+
80
+ #wpbody-content tr#bulk-progress .inline-edit-col-right {
81
+ width: 40%
82
+ }
83
+
84
+ .bulk-edit-row-attachment fieldset.inline-edit-col-left .reset {
85
+ margin: 0px 5px
86
+ }
87
+
88
+ .quick-edit-row-attachment fieldset.inline-edit-col-left label span.title,
89
+ .quick-edit-row-attachment fieldset.inline-edit-col-right label span.title,
90
+ .bulk-edit-row-attachment fieldset.inline-edit-col-right label span.title {
91
+ width: 6em;
92
+ line-height: 1.2
93
+ }
94
+
95
+ .quick-edit-row-attachment fieldset.inline-edit-col-center span.catshow,
96
+ .bulk-edit-row-attachment fieldset.inline-edit-col-center span.catshow {
97
+ display: none
98
+ }
99
+
100
+ .quick-edit-row-attachment fieldset.inline-edit-col-left label span.input-text-wrap,
101
+ .quick-edit-row-attachment fieldset.inline-edit-col-right label span.input-text-wrap,
102
+ .bulk-edit-row-attachment fieldset.inline-edit-col-right label span.input-text-wrap {
103
+ margin-right: 6em
104
+ }
105
+
106
+ .quick-edit-row-attachment fieldset.inline-edit-col-left label.inline-edit-post-parent span.input-text-wrap,
107
+ .bulk-edit-row-attachment fieldset.inline-edit-col-right label.inline-edit-post-parent span.input-text-wrap {
108
+ width: 5em
109
+ }
110
+
111
+ .quick-edit-row-attachment fieldset.inline-edit-col-left label.inline-edit-post-author,
112
+ .quick-edit-row-attachment fieldset.inline-edit-col-left label.inline-edit-post-parent-title {
113
+ display:inline;
114
+ padding-top: 2px;
115
+ }
116
+
117
+ .quick-edit-row-attachment fieldset.inline-edit-col-left input#inline-edit-post-set-parent {
118
+ display:inline;
119
+ line-height: 16px;
120
+ margin: .2em .0em .2em .4em;
121
+ }
122
+
123
+ .bulk-edit-row-attachment fieldset.inline-edit-col-right input#bulk-edit-set-parent {
124
+ display:inline;
125
+ line-height: 16px;
126
+ margin: .2em .4em .2em .4em;
127
+ }
128
+
129
+ .quick-edit-row-attachment fieldset.inline-edit-col-left label.inline-edit-post-parent-title .input-text-wrap input[type=text] {
130
+ width: auto;
131
+ }
132
+
133
+ .quick-edit-row-attachment fieldset.inline-edit-col-left label.inline-edit-author span.title {
134
+ width:auto;
135
+ margin-left: 0.5em;
136
+ }
137
+
138
+ .quick-edit-row-attachment fieldset.inline-edit-col-left label.inline-edit-menu-order span.input-text-wrap {
139
+ width: 3em
140
+ }
141
+
142
+ .quick-edit-row-attachment fieldset.inline-edit-col-right label.inline-edit-tags span.title,
143
+ .bulk-edit-row-attachment fieldset.inline-edit-col-right label.inline-edit-tags span.title {
144
+ width: 99%
145
+ }
146
+
147
+ .inline-edit-save #bulk_map,
148
+ .inline-edit-save #bulk_custom_field_map {
149
+ margin-left: 1em
150
+ }
151
+
152
+ .bulk-progress-titles div a:before {
153
+ background: none;
154
+ color: #bbb;
155
+ content: '\f153';
156
+ display: block !important;
157
+ font: normal 16px/1 'dashicons';
158
+ speak: none;
159
+ height: 20px;
160
+ text-align: center;
161
+ width: 20px;
162
+ -webkit-font-smoothing: antialiased !important;
163
+ }
164
+
165
+ .bulk-progress-titles div a:before {
166
+ margin: 2px 0;
167
+ }
168
+
169
+ .bulk-progress-titles div a:hover:before {
170
+ color: #c00;
171
+ }
172
+
173
+ .bulk-progress-titles {
174
+ display: block;
175
+ height: 12em;
176
+ border: 1px solid #ddd;
177
+ overflow-y: scroll;
178
+ padding: 0 5px;
179
+ margin: 0 0 5px;
180
+ }
181
+
182
+ .bulk-progress-titles div {
183
+ font-style: normal;
184
+ font-size: 11px;
185
+ }
186
+
187
+ .bulk-progress-titles {
188
+ line-height: 140%;
189
+ }
190
+ .bulk-progress-titles div {
191
+ margin: 0.2em 0.3em;
192
+ }
193
+
194
+ .bulk-progress-titles div a {
195
+ cursor: pointer;
196
+ display: block;
197
+ float: right;
198
+ height: 18px;
199
+ margin: 0 3px 0 -2px;
200
+ overflow: hidden;
201
+ position: relative;
202
+ width: 20px;
203
+ }
204
+
205
+ .bulk-progress-titles div a:before {
206
+ position: relative;
207
+ top: -3px;
208
+ }
209
+
210
+ @media screen and ( max-width: 782px ) {
211
+ /* Quick Edit and Bulk Edit */
212
+ #wpbody-content .quick-edit-row-attachment .inline-edit-col-left,
213
+ #wpbody-content .quick-edit-row-attachment .inline-edit-col-right,
214
+ #wpbody-content .inline-edit-row-attachment .inline-edit-col-center,
215
+ #wpbody-content .bulk-edit-row-attachment .inline-edit-col-left,
216
+ #wpbody-content .bulk-edit-row-attachment .inline-edit-col-right {
217
+ float: none;
218
+ width: 100%;
219
+ }
220
+
221
+ .quick-edit-row-attachment fieldset.inline-edit-col-left label span.title,
222
+ .quick-edit-row-attachment fieldset.inline-edit-col-right label span.title,
223
+ .bulk-edit-row-attachment fieldset.inline-edit-col-right label span.title {
224
+ width: 100%;
225
+ line-height: 2.5
226
+ }
227
+
228
+ .quick-edit-row-attachment fieldset.inline-edit-col-left label span.input-text-wrap,
229
+ .quick-edit-row-attachment fieldset.inline-edit-col-right label span.input-text-wrap,
230
+ .bulk-edit-row-attachment fieldset.inline-edit-col-right label span.input-text-wrap {
231
+ margin-right: 0em
232
+ }
233
+
234
+ .bulk-progress-titles div {
235
+ font-size: 16px;
236
+ }
237
+
238
+ .bulk-progress-titles div {
239
+ margin: 0.8em 0.3em;
240
+ }
241
+
242
+ .bulk-progress-titles div a {
243
+ height: 22px;
244
+ }
245
+ }
246
+
247
+ /*
248
+ * MLA Settings page, Views and Uploads tab inline editing - adapted from load-styles.php
249
+ */
250
+
251
+ #wpbody-content .bulk-edit-row-upload .inline-edit-col-left,
252
+ #wpbody-content .bulk-edit-row-view .inline-edit-col-left {
253
+ width: 40%
254
+ }
255
+
256
+ #wpbody-content .bulk-edit-row-upload .inline-edit-col-right,
257
+ #wpbody-content .bulk-edit-row-view .inline-edit-col-right {
258
+ width: 59%
259
+ }
260
+
261
+ .quick-edit-row-upload fieldset.inline-edit-col label span.title,
262
+ .bulk-edit-row-upload fieldset.inline-edit-col-right label span.title,
263
+ .quick-edit-row-view fieldset.inline-edit-col label span.title,
264
+ .bulk-edit-row-view fieldset.inline-edit-col-right label span.title {
265
+ width: 8em
266
+ }
267
+
268
+ .quick-edit-row-upload fieldset.inline-edit-col label span.input-text-wrap,
269
+ .bulk-edit-row-upload fieldset.inline-edit-col-right label span.input-text-wrap,
270
+ .quick-edit-row-view fieldset.inline-edit-col label span.input-text-wrap,
271
+ .bulk-edit-row-view fieldset.inline-edit-col-right label span.input-text-wrap {
272
+ margin-right: 8em;
273
+ width: 12em
274
+ }
275
+
276
+ .quick-edit-row-upload fieldset.inline-edit-col label,
277
+ .quick-edit-row-view fieldset.inline-edit-col label {
278
+ width: 21em
279
+ }
280
+
281
+ .quick-edit-row-upload fieldset.inline-edit-col label.checkbox-label,
282
+ .quick-edit-row-view fieldset.inline-edit-col label.checkbox-label {
283
+ width: 10.5em
284
+ }
285
+
286
+ .quick-edit-row-upload fieldset.inline-edit-col input.inline-edit-menu-order,
287
+ .bulk-edit-row-upload fieldset.inline-edit-col-right label.inline-edit-menu-order span.input-text-wrap,
288
+ .quick-edit-row-view fieldset.inline-edit-col input.inline-edit-menu-order,
289
+ .bulk-edit-row-view fieldset.inline-edit-col-right label.inline-edit-menu-order span.input-text-wrap {
290
+ width: 5em
291
+ }
292
+
293
+ @media screen and ( max-width: 782px ) {
294
+ #wpbody-content .bulk-edit-row-upload .inline-edit-col-left,
295
+ #wpbody-content .bulk-edit-row-view .inline-edit-col-left,
296
+ #wpbody-content .bulk-edit-row-upload .inline-edit-col-right,
297
+ #wpbody-content .bulk-edit-row-view .inline-edit-col-right {
298
+ float: none;
299
+ width: 100%
300
+ }
301
+
302
+ .quick-edit-row-upload fieldset.inline-edit-col label span.title,
303
+ .bulk-edit-row-upload fieldset.inline-edit-col-right label span.title,
304
+ .quick-edit-row-view fieldset.inline-edit-col label span.title,
305
+ .bulk-edit-row-view fieldset.inline-edit-col-right label span.title {
306
+ width: 100%
307
+ }
308
+
309
+ .quick-edit-row-upload fieldset.inline-edit-col label span.input-text-wrap,
310
+ .bulk-edit-row-upload fieldset.inline-edit-col-right label span.input-text-wrap,
311
+ .quick-edit-row-view fieldset.inline-edit-col label span.input-text-wrap,
312
+ .bulk-edit-row-view fieldset.inline-edit-col-right label span.input-text-wrap {
313
+ margin-left: 0px;
314
+ width: 100%
315
+ }
316
+
317
+ .quick-edit-row-upload fieldset.inline-edit-col label,
318
+ .quick-edit-row-view fieldset.inline-edit-col label {
319
+ float: none;
320
+ width: 100%
321
+ }
322
+
323
+ .quick-edit-row-upload fieldset.inline-edit-col input.inline-edit-menu-order,
324
+ .bulk-edit-row-upload fieldset.inline-edit-col-right label.inline-edit-menu-order span.input-text-wrap,
325
+ .quick-edit-row-view fieldset.inline-edit-col input.inline-edit-menu-order,
326
+ .bulk-edit-row-view fieldset.inline-edit-col-right label.inline-edit-menu-order span.input-text-wrap {
327
+ width: 100%
328
+ }
329
+ }
330
+
331
+ /*
332
+ * MLA Settings page
333
+ */
334
+
335
+ #wpbody-content .optiontable th {
336
+ padding-left: 10px;
337
+ }
338
+
339
+ .mla-settings-taxonomy-th {
340
+ padding: 0px 5px;
341
+ text-align:center;
342
+ border-left: 1px solid
343
+ }
344
+
345
+ .mla-settings-after-table {
346
+ margin-right: 10px;
347
+ margin-top: 10px;
348
+ }
349
+
350
+ span.submit.mla-settings-submit,
351
+ p.submit.mla-settings-submit {
352
+ padding-bottom: 0px
353
+ }
354
+
355
+ #mla-shortcode-list {
356
+ width: 90%;
357
+ padding-right: 5%;
358
+ }
359
+
360
+ .mla-settings-help {
361
+ font-size: 8pt;
362
+ padding-bottom: 5px;
363
+ }
364
+
365
+ #mla-display-settings-iptc-exif-tab .mla-mapping,
366
+ #mla-display-settings-custom-field-tab .mla-mapping {
367
+ margin-right: 10px;
368
+ }
369
+
370
+ ul.mla_settings {
371
+ list-style-type: disc;
372
+ list-style-position: outside;
373
+ }
374
+
375
+ ul.mla_settings li {
376
+ margin-right: 2em;
377
+ }
378
+
379
+ /*
380
+ * Help and Documentation content
381
+ */
382
+
383
+ .mla-doc-toc-list {
384
+ list-style-position:inside;
385
+ list-style:disc;
386
+ line-height: 15px;
387
+ padding-right: 20px
388
+ }
389
+
390
+ .mla-doc-hook-label {
391
+ text-align: left;
392
+ padding: 0 0 2em 1em;
393
+ vertical-align: top;
394
+ font-weight:bold
395
+ }
396
+
397
+ .mla-doc-hook-definition {
398
+ vertical-align: top;
399
+ }
400
+
401
+ .mla-doc-table-label {
402
+ text-align: left;
403
+ padding-left: 10px;
404
+ vertical-align: top;
405
+ font-weight:bold
406
+ }
407
+
408
+ .mla-doc-table-sublabel {
409
+ padding-left: 10px;
410
+ vertical-align: top
411
+ }
412
+
413
+ .mla-doc-table-reverse {
414
+ text-align: left;
415
+ padding-left: 10px;
416
+ vertical-align:top
417
+ }
418
+
419
+ .mla-doc-table-definition {
420
+ vertical-align: top;
421
+ }
422
+
423
+ .mla-doc-bold-link {
424
+ font-size:14px;
425
+ font-weight:bold
426
+ }
427
+
428
+ .mla-doc-dropdown-padding {
429
+ padding-right: 40px
430
+ }
431
+
432
+ #mla-doc-gallery-shortcode {
433
+ float:right;
434
+ margin-left: 15px
435
+ }
436
+
437
+ #mla-doc-cloud-shortcode {
438
+ float:right;
439
+ margin-right: 15px
440
+ }
css/mla-style-set-parent-rtl.css ADDED
@@ -0,0 +1,151 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * This stylesheet is used for the "Select Parent" popup window.
3
+ */
4
+
5
+ #mla-set-parent-div {
6
+ background-color: #fff;
7
+ -webkit-box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 );
8
+ box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 );
9
+ width: 600px;
10
+ overflow: hidden;
11
+ margin-right: -300px;
12
+ position: fixed;
13
+ top: 30px;
14
+ bottom: 30px;
15
+ left: auto;
16
+ right: 50%;
17
+ z-index: 100105;
18
+ }
19
+
20
+ @media screen and ( max-width: 660px ) {
21
+ #mla-set-parent-div {
22
+ top: 0;
23
+ bottom: 0;
24
+ left: 0;
25
+ right: 0;
26
+ margin: 0;
27
+ width: 100%;
28
+ }
29
+ }
30
+
31
+ #mla-set-parent-head-div {
32
+ background: #fcfcfc;
33
+ border-bottom: 1px solid #dfdfdf;
34
+ height: 36px;
35
+ font-size: 18px;
36
+ font-weight: 600;
37
+ line-height: 36px;
38
+ padding: 0 36px 0 16px;
39
+ position: absolute;
40
+ top: 0;
41
+ left: 0;
42
+ right: 0;
43
+ }
44
+
45
+ #mla-set-parent-close-div {
46
+ width: 36px;
47
+ height: 36px;
48
+ position: absolute;
49
+ top: 0;
50
+ right: 0;
51
+ cursor: pointer;
52
+ text-align: center;
53
+ vertical-align: middle;
54
+ font-style: normal;
55
+ font-variant: normal;
56
+ font-weight: bold;
57
+ font-size: 24px;
58
+ font-family: "Open Sans", sans-serif
59
+ color: #666;
60
+ }
61
+
62
+ #mla-set-parent-close-div:hover {
63
+ color: #2ea2cc;
64
+ }
65
+
66
+ #mla-set-parent-inside-div {
67
+ overflow: auto;
68
+ padding: 16px;
69
+ background-color: #fff;
70
+ position: absolute;
71
+ top: 37px;
72
+ bottom: 45px;
73
+ overflow-y: scroll;
74
+ width: 100%;
75
+ -webkit-box-sizing: border-box;
76
+ -moz-box-sizing: border-box;
77
+ box-sizing: border-box;
78
+ }
79
+
80
+ @media screen and ( max-width: 782px ) {
81
+ #mla-set-parent-inside-div {
82
+ bottom: 57px;
83
+ }
84
+ }
85
+
86
+ #mla-set-parent-search-div {
87
+ padding-bottom: 16px;
88
+ }
89
+
90
+ #mla-set-parent-input {
91
+ float: right;
92
+ width: 140px;
93
+ height: 28px;
94
+ margin: 0 0 0 4px;
95
+ }
96
+
97
+ #mla-set-parent-search-div .spinner {
98
+ float: none;
99
+ left: auto;
100
+ right: 105px;
101
+ position: absolute;
102
+ top: 18px;
103
+ padding: 4px 10px 0;
104
+ }
105
+
106
+ #mla-set-parent-search {
107
+ float: right;
108
+ }
109
+
110
+ #mla-set-parent-current-title-div {
111
+ float: right;
112
+ font-size: 12px;
113
+ margin-top: 10px;
114
+ }
115
+
116
+ #mla-set-parent-pagination-div {
117
+ float: left;
118
+ padding-bottom: 4px;
119
+ }
120
+
121
+ /* Added or modified in JavaScript code */
122
+ .mla-set-parent-close-div-dashicons:before {
123
+ font: normal 20px/36px 'dashicons';
124
+ vertical-align: top;
125
+ speak: none;
126
+ -webkit-font-smoothing: antialiased;
127
+ -moz-osx-font-smoothing: grayscale;
128
+ content: '\f158';
129
+ }
130
+
131
+ #mla-set-parent-buttons-div {
132
+ padding: 8px 16px;
133
+ background: #fcfcfc;
134
+ border-top: 1px solid #dfdfdf;
135
+ position: absolute;
136
+ bottom: 0;
137
+ left: 0;
138
+ right: 0;
139
+ }
140
+
141
+ #mla-set-parent-overlay {
142
+ position: fixed;
143
+ top: 0;
144
+ left: 0;
145
+ right: 0;
146
+ bottom: 0;
147
+ background: #000;
148
+ opacity: 0.7;
149
+ filter: alpha(opacity=70);
150
+ z-index: 100100;
151
+ }
css/mla-style-terms-search-rtl.css ADDED
@@ -0,0 +1,174 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * This stylesheet is used for the "Search Terms" popup window.
3
+ */
4
+
5
+ #mla-terms-search-div {
6
+ background-color: #fff;
7
+ -webkit-box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 );
8
+ box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 );
9
+ width: 500px;
10
+ overflow: hidden;
11
+ margin-left: -250px;
12
+ position: fixed;
13
+ top: 30px;
14
+ bottom: 30px;
15
+ left: 50%;
16
+ z-index: 200105;
17
+ }
18
+
19
+ #mla-terms-search-div .spinner {
20
+ padding: 4px 10px 0;
21
+ vertical-align: top;
22
+ float: left;
23
+ }
24
+
25
+ #mla-terms-search-head-div {
26
+ background: #fcfcfc;
27
+ border-bottom: 1px solid #dfdfdf;
28
+ height: 36px;
29
+ font-size: 18px;
30
+ font-weight: 600;
31
+ line-height: 36px;
32
+ padding: 0 36px 0 16px;
33
+ position: absolute;
34
+ top: 0;
35
+ left: 0;
36
+ right: 0;
37
+ }
38
+
39
+ #mla-terms-search-close-div {
40
+ width: 36px;
41
+ height: 36px;
42
+ position: absolute;
43
+ top: 0;
44
+ right: 0;
45
+ cursor: pointer;
46
+ text-align: center;
47
+ vertical-align: middle;
48
+ font-style: normal;
49
+ font-variant: normal;
50
+ font-weight: bold;
51
+ font-size: 24px;
52
+ font-family: "Open Sans", sans-serif
53
+ color: #666;
54
+ }
55
+
56
+ #mla-terms-search-close-div:hover {
57
+ color: #2ea2cc;
58
+ }
59
+
60
+ /* Added in JavaScript code */
61
+ .mla-terms-search-close-div-dashicons:before {
62
+ font: normal 20px/36px 'dashicons';
63
+ vertical-align: top;
64
+ speak: none;
65
+ -webkit-font-smoothing: antialiased;
66
+ -moz-osx-font-smoothing: grayscale;
67
+ content: '\f158';
68
+ }
69
+
70
+ #mla-terms-search-inside-div {
71
+ overflow: auto;
72
+ padding: 16px;
73
+ background-color: #fff;
74
+ position: absolute;
75
+ top: 37px;
76
+ bottom: 45px;
77
+ overflow-y: scroll;
78
+ width: 100%;
79
+ -webkit-box-sizing: border-box;
80
+ -moz-box-sizing: border-box;
81
+ box-sizing: border-box;
82
+ }
83
+
84
+ #mla-terms-search-search-div {
85
+ padding-bottom: 16px;
86
+ }
87
+
88
+ #mla-terms-search-search-div .spinner {
89
+ float: none;
90
+ right: 125px;
91
+ position: absolute;
92
+ top: 18px;
93
+ }
94
+
95
+ #mla-terms-search-input,
96
+ #mla-terms-search-search {
97
+ float: right;
98
+ }
99
+
100
+ #mla-terms-search-input {
101
+ width: 300px;
102
+ height: 28px;
103
+ margin: 0 4px;
104
+ }
105
+
106
+ #mla-terms-search-radio-div {
107
+ border: 1px solid #dfdfdf;
108
+ width: 100%; /*360px;*/
109
+ }
110
+
111
+ #mla-terms-search-radio-phrases-div,
112
+ #mla-terms-search-radio-terms-div {
113
+ display:inline-block;
114
+ margin-left: 10px;
115
+ padding: 0px 10px;
116
+ border-left: 1px solid #dfdfdf;
117
+ }
118
+
119
+ #mla-terms-search-exact-div {
120
+ display:inline-block;
121
+ padding-left: 10px;
122
+ vertical-align:top
123
+ }
124
+
125
+ #mla-terms-search-buttons-div {
126
+ padding: 8px 16px;
127
+ background: #fcfcfc;
128
+ border-top: 1px solid #dfdfdf;
129
+ position: absolute;
130
+ bottom: 0;
131
+ left: 0;
132
+ right: 0;
133
+ }
134
+
135
+ @media screen and ( max-width: 782px ) {
136
+ #mla-terms-search-inside-div {
137
+ bottom: 57px;
138
+ }
139
+ }
140
+
141
+ @media screen and ( max-width: 660px ) {
142
+
143
+ #mla-terms-search-head-div {
144
+ top: 0;
145
+ bottom: 0;
146
+ left: 0;
147
+ right: 0;
148
+ margin: 0;
149
+ width: 100%;
150
+ }
151
+
152
+ }
153
+
154
+ #mla-terms-search-overlay {
155
+ position: fixed;
156
+ top: 0;
157
+ left: 0;
158
+ right: 0;
159
+ bottom: 0;
160
+ background: #000;
161
+ opacity: 0.7;
162
+ filter: alpha(opacity=70);
163
+ z-index: 200100;
164
+ }
165
+
166
+ /* Styling */
167
+
168
+ /* Specific Elements */
169
+
170
+ #mla-terms-search-titles-div {
171
+ font-size: 12px;
172
+ line-height: 14px;
173
+ margin-bottom: 10px;
174
+ }
css/mla-style-terms-search.css CHANGED
@@ -100,7 +100,7 @@
100
  #mla-terms-search-input {
101
  width: 300px;
102
  height: 28px;
103
- margin: 0 4px 0 0;
104
  }
105
 
106
  #mla-terms-search-radio-div {
100
  #mla-terms-search-input {
101
  width: 300px;
102
  height: 28px;
103
+ margin: 0 4px;
104
  }
105
 
106
  #mla-terms-search-radio-div {
css/mla-style.css CHANGED
@@ -41,7 +41,8 @@ div.mla_errors {
41
  * MLA Inline editing - adapted from load-styles.php
42
  */
43
  .mla_bulk_taxonomy_options {
44
- margin-bottom: 10px
 
45
  }
46
 
47
  #wpbody-content .quick-edit-row-attachment .inline-edit-col-left {
@@ -57,11 +58,11 @@ div.mla_errors {
57
  }
58
 
59
  #wpbody-content .bulk-edit-row-attachment .inline-edit-col-left {
60
- width: 30%
61
  }
62
 
63
  #wpbody-content .bulk-edit-row-attachment .inline-edit-col-center {
64
- width: 20%
65
  }
66
 
67
  #wpbody-content .bulk-edit-row-attachment .inline-edit-col-right {
@@ -80,6 +81,10 @@ div.mla_errors {
80
  width: 40%
81
  }
82
 
 
 
 
 
83
  .quick-edit-row-attachment fieldset.inline-edit-col-left label span.title,
84
  .quick-edit-row-attachment fieldset.inline-edit-col-right label span.title,
85
  .bulk-edit-row-attachment fieldset.inline-edit-col-right label span.title {
@@ -139,6 +144,11 @@ div.mla_errors {
139
  width: 99%
140
  }
141
 
 
 
 
 
 
142
  .bulk-progress-titles div a:before {
143
  background: none;
144
  color: #bbb;
@@ -237,9 +247,6 @@ div.mla_errors {
237
  /*
238
  * MLA Settings page, Views and Uploads tab inline editing - adapted from load-styles.php
239
  */
240
- #wpbody-content .optiontable th {
241
- padding-right: 10px;
242
- }
243
 
244
  #wpbody-content .bulk-edit-row-upload .inline-edit-col-left,
245
  #wpbody-content .bulk-edit-row-view .inline-edit-col-left {
@@ -291,14 +298,14 @@ div.mla_errors {
291
  float: none;
292
  width: 100%
293
  }
294
-
295
  .quick-edit-row-upload fieldset.inline-edit-col label span.title,
296
  .bulk-edit-row-upload fieldset.inline-edit-col-right label span.title,
297
  .quick-edit-row-view fieldset.inline-edit-col label span.title,
298
  .bulk-edit-row-view fieldset.inline-edit-col-right label span.title {
299
  width: 100%
300
  }
301
-
302
  .quick-edit-row-upload fieldset.inline-edit-col label span.input-text-wrap,
303
  .bulk-edit-row-upload fieldset.inline-edit-col-right label span.input-text-wrap,
304
  .quick-edit-row-view fieldset.inline-edit-col label span.input-text-wrap,
@@ -306,13 +313,13 @@ div.mla_errors {
306
  margin-left: 0px;
307
  width: 100%
308
  }
309
-
310
  .quick-edit-row-upload fieldset.inline-edit-col label,
311
  .quick-edit-row-view fieldset.inline-edit-col label {
312
  float: none;
313
  width: 100%
314
  }
315
-
316
  .quick-edit-row-upload fieldset.inline-edit-col input.inline-edit-menu-order,
317
  .bulk-edit-row-upload fieldset.inline-edit-col-right label.inline-edit-menu-order span.input-text-wrap,
318
  .quick-edit-row-view fieldset.inline-edit-col input.inline-edit-menu-order,
@@ -324,7 +331,42 @@ div.mla_errors {
324
  /*
325
  * MLA Settings page
326
  */
327
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
328
  ul.mla_settings {
329
  list-style-type: disc;
330
  list-style-position: outside;
@@ -333,3 +375,66 @@ ul.mla_settings {
333
  ul.mla_settings li {
334
  margin-left: 2em;
335
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
41
  * MLA Inline editing - adapted from load-styles.php
42
  */
43
  .mla_bulk_taxonomy_options {
44
+ margin-top: 8px;
45
+ margin-bottom: 8px
46
  }
47
 
48
  #wpbody-content .quick-edit-row-attachment .inline-edit-col-left {
58
  }
59
 
60
  #wpbody-content .bulk-edit-row-attachment .inline-edit-col-left {
61
+ width: 25%
62
  }
63
 
64
  #wpbody-content .bulk-edit-row-attachment .inline-edit-col-center {
65
+ width: 25%
66
  }
67
 
68
  #wpbody-content .bulk-edit-row-attachment .inline-edit-col-right {
81
  width: 40%
82
  }
83
 
84
+ .bulk-edit-row-attachment fieldset.inline-edit-col-left .reset {
85
+ margin: 0px 5px
86
+ }
87
+
88
  .quick-edit-row-attachment fieldset.inline-edit-col-left label span.title,
89
  .quick-edit-row-attachment fieldset.inline-edit-col-right label span.title,
90
  .bulk-edit-row-attachment fieldset.inline-edit-col-right label span.title {
144
  width: 99%
145
  }
146
 
147
+ .inline-edit-save #bulk_map,
148
+ .inline-edit-save #bulk_custom_field_map {
149
+ margin-right: 1em
150
+ }
151
+
152
  .bulk-progress-titles div a:before {
153
  background: none;
154
  color: #bbb;
247
  /*
248
  * MLA Settings page, Views and Uploads tab inline editing - adapted from load-styles.php
249
  */
 
 
 
250
 
251
  #wpbody-content .bulk-edit-row-upload .inline-edit-col-left,
252
  #wpbody-content .bulk-edit-row-view .inline-edit-col-left {
298
  float: none;
299
  width: 100%
300
  }
301
+
302
  .quick-edit-row-upload fieldset.inline-edit-col label span.title,
303
  .bulk-edit-row-upload fieldset.inline-edit-col-right label span.title,
304
  .quick-edit-row-view fieldset.inline-edit-col label span.title,
305
  .bulk-edit-row-view fieldset.inline-edit-col-right label span.title {
306
  width: 100%
307
  }
308
+
309
  .quick-edit-row-upload fieldset.inline-edit-col label span.input-text-wrap,
310
  .bulk-edit-row-upload fieldset.inline-edit-col-right label span.input-text-wrap,
311
  .quick-edit-row-view fieldset.inline-edit-col label span.input-text-wrap,
313
  margin-left: 0px;
314
  width: 100%
315
  }
316
+
317
  .quick-edit-row-upload fieldset.inline-edit-col label,
318
  .quick-edit-row-view fieldset.inline-edit-col label {
319
  float: none;
320
  width: 100%
321
  }
322
+
323
  .quick-edit-row-upload fieldset.inline-edit-col input.inline-edit-menu-order,
324
  .bulk-edit-row-upload fieldset.inline-edit-col-right label.inline-edit-menu-order span.input-text-wrap,
325
  .quick-edit-row-view fieldset.inline-edit-col input.inline-edit-menu-order,
331
  /*
332
  * MLA Settings page
333
  */
334
+
335
+ #wpbody-content .optiontable th {
336
+ padding-right: 10px;
337
+ }
338
+
339
+ .mla-settings-taxonomy-th {
340
+ padding: 0px 5px;
341
+ text-align:center;
342
+ border-right: 1px solid
343
+ }
344
+
345
+ .mla-settings-after-table {
346
+ margin-left: 10px;
347
+ margin-top: 10px;
348
+ }
349
+
350
+ span.submit.mla-settings-submit,
351
+ p.submit.mla-settings-submit {
352
+ padding-bottom: 0px
353
+ }
354
+
355
+ #mla-shortcode-list {
356
+ width: 90%;
357
+ padding-left: 5%;
358
+ }
359
+
360
+ .mla-settings-help {
361
+ font-size: 8pt;
362
+ padding-bottom: 5px;
363
+ }
364
+
365
+ #mla-display-settings-iptc-exif-tab .mla-mapping,
366
+ #mla-display-settings-custom-field-tab .mla-mapping {
367
+ margin-left: 10px;
368
+ }
369
+
370
  ul.mla_settings {
371
  list-style-type: disc;
372
  list-style-position: outside;
375
  ul.mla_settings li {
376
  margin-left: 2em;
377
  }
378
+
379
+ /*
380
+ * Help and Documentation content
381
+ */
382
+
383
+ .mla-doc-toc-list {
384
+ list-style-position:inside;
385
+ list-style:disc;
386
+ line-height: 15px;
387
+ padding-left: 20px
388
+ }
389
+
390
+ .mla-doc-hook-label {
391
+ text-align: right;
392
+ padding: 0 1em 2em 0;
393
+ vertical-align: top;
394
+ font-weight:bold
395
+ }
396
+
397
+ .mla-doc-hook-definition {
398
+ vertical-align: top;
399
+ }
400
+
401
+ .mla-doc-table-label {
402
+ text-align: right;
403
+ padding-right: 10px;
404
+ vertical-align: top;
405
+ font-weight:bold
406
+ }
407
+
408
+ .mla-doc-table-sublabel {
409
+ padding-right: 10px;
410
+ vertical-align: top
411
+ }
412
+
413
+ .mla-doc-table-reverse {
414
+ text-align: right;
415
+ padding-right: 10px;
416
+ vertical-align:top
417
+ }
418
+
419
+ .mla-doc-table-definition {
420
+ vertical-align: top;
421
+ }
422
+
423
+ .mla-doc-bold-link {
424
+ font-size:14px;
425
+ font-weight:bold
426
+ }
427
+
428
+ .mla-doc-dropdown-padding {
429
+ padding-left: 40px
430
+ }
431
+
432
+ #mla-doc-gallery-shortcode {
433
+ float:left;
434
+ margin-right: 15px
435
+ }
436
+
437
+ #mla-doc-cloud-shortcode {
438
+ float:left;
439
+ margin-left: 15px
440
+ }
css/mla-thumbnail-generation-rtl.css ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @charset "utf-8";
2
+ /**
3
+ * CSS Document
4
+ *
5
+ * This file contains styling attributes for the Media/Assistant submenu
6
+ * Generate Thumbnails area.
7
+ */
8
+
9
+ #mla-thumbnail-titles {
10
+ line-height: 140%;
11
+ display: block;
12
+ height: 12em;
13
+ border: 1px solid #ddd;
14
+ overflow-y: scroll;
15
+ padding: 0 5px;
16
+ margin: 0 0 5px;
17
+ }
18
+
19
+ #mla-thumbnail-titles div {
20
+ margin: 0.8em 0.3em;
21
+ font-style: normal;
22
+ font-size: 11px;
23
+ }
24
+
25
+ #mla-thumbnail-titles div a {
26
+ cursor: pointer;
27
+ display: block;
28
+ float: right;
29
+ height: 18px;
30
+ margin: 0 3px 0 -2px;
31
+ overflow: hidden;
32
+ position: relative;
33
+ width: 20px;
34
+ }
35
+
36
+ #mla-thumbnail-titles div a:before {
37
+ position: relative;
38
+ top: -3px;
39
+ }
40
+
41
+ #mla-thumbnail-titles div a:before {
42
+ background: none;
43
+ color: #bbb;
44
+ content: '\f153';
45
+ display: block !important;
46
+ font: normal 16px/1 'dashicons';
47
+ speak: none;
48
+ margin: 2px 0;
49
+ height: 20px;
50
+ text-align: center;
51
+ width: 20px;
52
+ -webkit-font-smoothing: antialiased !important;
53
+ }
54
+
55
+ #mla-thumbnail-titles div a:hover:before {
56
+ color: #c00;
57
+ }
58
+
59
+ /**
60
+ * HiDPI Displays
61
+ */
62
+ @media print,
63
+ (-o-min-device-pixel-ratio: 5/4),
64
+ (-webkit-min-device-pixel-ratio: 1.25),
65
+ (min-resolution: 120dpi) {
66
+ #pll-bulk-titles div a,
67
+ #pll-bulk-titles div a:hover {
68
+ background: none !important;
69
+ }
70
+ }
71
+
72
+ /*
73
+ * Generate Thumbnails settings
74
+ */
75
+
76
+ #wpbody-content .bulk-thumbnail-row-attachment fieldset.inline-edit-col-left {
77
+ width: 30%
78
+ }
79
+
80
+ #wpbody-content .bulk-thumbnail-row-attachment fieldset.inline-edit-col-right {
81
+ width: 69%
82
+ }
83
+
84
+ #mla-thumbnail-settings label {
85
+ display: inline;
86
+ float:none;
87
+ }
88
+
89
+ #mla-thumbnail-settings label span.title {
90
+ display: inline;
91
+ float:none;
92
+ }
93
+
94
+ #mla-thumbnail-settings td {
95
+ text-align:left;
96
+ }
97
+
examples/alexa-paige-plugin.php.txt CHANGED
@@ -74,7 +74,7 @@ class AlexaPaigePlugin {
74
  * Add the custom shortcode for generating the checkbox form
75
  */
76
  add_shortcode( 'axp_checkbox_form', 'AlexaPaigePlugin::axp_checkbox_form' );
77
-
78
  /*
79
  * add_filter parameters:
80
  * $tag - name of the hook you're filtering; defined by [mla_gallery]
@@ -104,7 +104,7 @@ class AlexaPaigePlugin {
104
  */
105
  public static function axp_checkbox_form( $attr ) {
106
  //error_log( 'AlexaPaigePlugin::axp_checkbox_form $attr = ' . var_export( $attr, true ), 0 );
107
-
108
  // Extract the checkbox_query parameters in $_REQUEST, so we can check the boxes
109
  if ( isset( $_REQUEST['axp_taxonomies'] ) ) {
110
  $axp_taxonomies = $_REQUEST['axp_taxonomies'];
@@ -152,7 +152,7 @@ class AlexaPaigePlugin {
152
  if ( array_key_exists( $attr_key, $defaults ) ) {
153
  $attr_value = str_replace( '{+', '[+', str_replace( '+}', '+]', $attr_value ) );
154
  $replacement_values = MLAData::mla_expand_field_level_parameters( $attr_value );
155
-
156
  if ( ! empty( $replacement_values ) ) {
157
  $attr[ $attr_key ] = MLAData::mla_parse_template( $attr_value, $replacement_values );
158
  }
@@ -170,7 +170,7 @@ class AlexaPaigePlugin {
170
  } elseif ( is_string( $arguments['exclude'] ) ) {
171
  $exclude = explode( ',', $arguments['exclude'] );
172
  }
173
-
174
  // Build the term list
175
  $taxonomies = explode( ',', $arguments['taxonomy'] );
176
  $display_taxonomies = array();
@@ -197,7 +197,7 @@ class AlexaPaigePlugin {
197
  }
198
  } // foreach taxonomy
199
  //error_log( 'AlexaPaigePlugin::axp_checkbox_form $terms = ' . var_export( $terms, true ), 0 );
200
-
201
  // Re-organize by term name for display purposes
202
  $display_terms = array ();
203
  foreach ( $terms as $key => $term ) {
@@ -215,35 +215,35 @@ class AlexaPaigePlugin {
215
  }
216
  }
217
  //error_log( 'AlexaPaigePlugin::axp_checkbox_form $display_terms = ' . var_export( $display_terms, true ), 0 );
218
-
219
  // Compose the form
220
  $output = '<form id="axp-checkbox-form" action="' . $arguments['action'] . '" method="get">' . "\n";
221
  $output .= "<table>\n";
222
  $output .= "<tr><td width=1%>\n";
223
  $output .= $arguments['taxonomy_label'] . "\n";
224
  $output .= "</td><td>\n";
225
-
226
  foreach ( $display_taxonomies as $key => $taxonomy ) {
227
  $checked = ( in_array( $key, $axp_taxonomies ) ) ? 'checked=checked ' : '';
228
  $output .= sprintf( '<input name="axp_taxonomies[]" id="axp-taxonomy-%1$s" type="checkbox" %2$svalue="%1$s">%3$s&nbsp;&nbsp;', $key, $checked, $taxonomy->label );
229
  }
230
-
231
  $output .= "\n</td></tr>\n";
232
  $output .= "<tr><td width=1%>\n";
233
  $output .= $arguments['term_label'] . "\n";
234
  $output .= "</td><td>\n";
235
-
236
  foreach ( $display_terms as $key => $term ) {
237
  $checked = ( in_array( esc_attr( $term ), $axp_terms ) ) ? 'checked=checked ' : '';
238
  $output .= sprintf( '<input name="axp_terms[]" id="axp-term-%1$s" type="checkbox" %2$svalue="%3$s">%4$s&nbsp;&nbsp;', sanitize_title( $term ), $checked, esc_attr( $term ), $key );
239
  }
240
-
241
  $output .= "\n</td></tr>\n";
242
  $output .= "</table>\n";
243
  $output .= '<input id="axp-checkbox-form-submit" name="axp-checkbox-form-submit" type="submit" value="GO" />
244
  ' . "\n";
245
  $output .= "</form>\n";
246
-
247
  //error_log( 'AlexaPaigePlugin::axp_checkbox_form $output = ' . var_export( $output, true ), 0 );
248
  return $output;
249
  } // axp_checkbox_form
@@ -256,7 +256,7 @@ class AlexaPaigePlugin {
256
  * @var array
257
  */
258
  private static $shortcode_attributes = array();
259
-
260
  /**
261
  * MLA Gallery (Display) Attributes
262
  *
@@ -275,7 +275,7 @@ class AlexaPaigePlugin {
275
  */
276
  public static function axp_gallery_attributes_filter( $shortcode_attributes ) {
277
  //error_log( 'AlexaPaigePlugin::axp_gallery_attributes_filter $shortcode_attributes = ' . var_export( $shortcode_attributes, true ), 0 );
278
-
279
  // Save the attributes for use in the later filters
280
  self::$shortcode_attributes = $shortcode_attributes;
281
 
@@ -315,7 +315,7 @@ class AlexaPaigePlugin {
315
  if ( is_string( $axp_terms ) ) {
316
  $axp_terms = explode( ',', $axp_terms );
317
  }
318
-
319
  // Convert to term_id values
320
  $terms = array();
321
  foreach ( $axp_terms as $key => $axp_term ) {
@@ -350,7 +350,7 @@ class AlexaPaigePlugin {
350
  'terms' => $terms,
351
  );
352
  }
353
-
354
  self::$shortcode_attributes['checkbox_query'] = $value;
355
  } else {
356
  // Add/modify the my_custom_sql parameter
@@ -365,17 +365,17 @@ class AlexaPaigePlugin {
365
  } else {
366
  $my_query_vars = array();
367
  }
368
-
369
  //error_log( 'AlexaPaigePlugin::axp_gallery_attributes_filter checkbox_query $my_query_vars = ' . var_export( $my_query_vars, true ), 0 );
370
  $new_query_vars = array();
371
  foreach( $my_query_vars as $key => $value ) {
372
  $new_query_vars[] = $key . "='" . $value . "'";
373
  }
374
-
375
  foreach( $axp_taxonomies as $taxonomy ) {
376
  $new_query_vars[] = $taxonomy . "='" . implode( ',', $terms ) . "'";
377
  }
378
-
379
  unset( self::$shortcode_attributes['checkbox_query'] );
380
  self::$shortcode_attributes['my_custom_sql'] = implode( ' ', $new_query_vars );
381
  } // my_custom_sql query
@@ -409,7 +409,7 @@ class AlexaPaigePlugin {
409
  */
410
  $output_parameters = array_map( 'strtolower', array_map( 'trim', explode( ',', $all_display_parameters['mla_output'] ) ) );
411
  $is_pagination = in_array( $output_parameters[0], array( 'previous_page', 'next_page', 'paginate_links' ) );
412
-
413
  if ( $is_pagination ) {
414
  // Determine query type
415
  if ( isset( self::$shortcode_attributes['post_mime_type'] ) ) {
@@ -436,7 +436,7 @@ class AlexaPaigePlugin {
436
  }
437
  }
438
  } // my_custom_sql present
439
-
440
  //error_log( 'AlexaPaigePlugin::axp_gallery_arguments_filter $all_display_parameters = ' . var_export( $all_display_parameters, true ), 0 );
441
 
442
  return $all_display_parameters;
@@ -450,7 +450,7 @@ class AlexaPaigePlugin {
450
  * @var array
451
  */
452
  private static $query_attributes = array();
453
-
454
  /**
455
  * MLA Gallery Query Attributes
456
  *
@@ -470,11 +470,11 @@ class AlexaPaigePlugin {
470
  */
471
  public static function axp_gallery_query_attributes_filter( $query_attributes ) {
472
  //error_log( 'AlexaPaigePlugin::axp_gallery_query_attributes_filter $query_attributes = ' . var_export( $query_attributes, true ), 0 );
473
-
474
  if ( isset( self::$shortcode_attributes['checkbox_query'] ) ) {
475
  $query_attributes['tax_query'] = self::$shortcode_attributes['checkbox_query'];
476
  } // valid checkbox_query=tax paraneter
477
-
478
  self::$query_attributes = $query_attributes;
479
  return $query_attributes;
480
  } // axp_gallery_query_attributes_filter
@@ -539,7 +539,7 @@ class AlexaPaigePlugin {
539
  //error_log( 'AlexaPaigePlugin::axp_gallery_query_arguments_filter $all_query_parameters = ' . var_export( $all_query_parameters, true ), 0 );
540
  return $all_query_parameters;
541
  } // axp_gallery_query_arguments_filter
542
-
543
  /**
544
  * Save some of the WP_Query object properties
545
  *
@@ -548,7 +548,7 @@ class AlexaPaigePlugin {
548
  * @var array
549
  */
550
  private static $wp_query_properties = array();
551
-
552
  /**
553
  * MLA Gallery WP Query Object
554
  *
@@ -569,21 +569,21 @@ class AlexaPaigePlugin {
569
  */
570
  public static function axp_gallery_wp_query_object_action( $query_arguments ) {
571
  //error_log( 'AlexaPaigePlugin::axp_gallery_wp_query_object_action $query_arguments = ' . var_export( $query_arguments, true ), 0 );
572
-
573
  self::$wp_query_properties = array();
574
  self::$wp_query_properties ['post_count'] = MLAShortcodes::$mla_gallery_wp_query_object->post_count;
575
-
576
  // If the "buddypress_urls" parameter is not present, we have nothing to do.
577
  if ( empty( self::$shortcode_attributes['buddypress_urls'] ) ) {
578
  return; // Don't need custom URLs
579
  }
580
-
581
  if ( 0 == self::$wp_query_properties ['post_count'] ) {
582
  return; // Empty gallery - nothing to do
583
  }
584
-
585
  global $wpdb;
586
-
587
  // Assemble the WordPress attachment IDs
588
  $post_info = array();
589
  foreach( MLAShortcodes::$mla_gallery_wp_query_object->posts as $value ) {
@@ -597,7 +597,7 @@ class AlexaPaigePlugin {
597
  $query[] = "SELECT rtm.id, rtm.media_id, rtm.media_author, rtm.media_type, rtm.cover_art, u.user_nicename FROM {$wpdb->prefix}rt_rtm_media AS rtm";
598
  $query[] = "LEFT JOIN {$wpdb->users} as u";
599
  $query[] = "ON (rtm.media_author = u.ID)";
600
-
601
  $placeholders = array();
602
  foreach ( $post_info as $value ) {
603
  $placeholders[] = '%s';
@@ -615,10 +615,10 @@ class AlexaPaigePlugin {
615
  $post_info[ $value->media_id ] = $value;
616
  }
617
  }
618
-
619
  //error_log( 'AlexaPaigePlugin::axp_gallery_wp_query_object_action $post_info = ' . var_export( $post_info, true ), 0 );
620
  self::$wp_query_properties ['post_info'] = $post_info;
621
-
622
  // Unlike Filters, Actions never return anything
623
  return;
624
  } // axp_gallery_wp_query_object_action
@@ -657,14 +657,14 @@ class AlexaPaigePlugin {
657
  */
658
  $old_date = $item_values['date'];
659
  $timestamp = mktime( substr( $old_date, 11, 2 ), substr( $old_date, 14, 2 ), substr( $old_date, 17, 2 ), substr( $old_date, 5, 2 ), substr( $old_date, 8, 2 ), substr( $old_date, 0, 4 ) );
660
-
661
  //error_log( 'AlexaPaigePlugin::axp_gallery_item_values_filter date = ' . var_export( date( $format, $timestamp ), true ), 0 );
662
  /*
663
  * Update the caption, replacing the substitution parameter with the formatted value.
664
  */
665
  $item_values['caption'] = str_replace( $matches[0][0], date( $format, $timestamp ), $item_values['caption'] );
666
  }
667
-
668
  /*
669
  * We use a shortcode parameter of our own to apply our filters on a gallery-by-gallery
670
  * basis, leaving other [mla_gallery] instances untouched. If the "buddypress_urls"
@@ -673,13 +673,13 @@ class AlexaPaigePlugin {
673
  if ( ! isset( self::$shortcode_attributes['buddypress_urls'] ) ) {
674
  return $item_values; // leave them unchanged
675
  }
676
-
677
  if ( isset( self::$wp_query_properties ['post_info'][ $item_values['attachment_ID'] ] ) ) {
678
  $post_info = self::$wp_query_properties ['post_info'][ $item_values['attachment_ID'] ];
679
  } else {
680
  return $item_values; // no matching rtMedia item
681
  }
682
-
683
  $new_url = $item_values['site_url'] . '/members/' . $post_info->user_nicename . '/media/' . $post_info->id . '/';
684
  $new_link = str_replace( $item_values['link_url'], $new_url, $item_values['link'] );
685
 
@@ -700,22 +700,22 @@ class AlexaPaigePlugin {
700
  if ( ! empty( $post_info->cover_art ) ) {
701
  if ( is_numeric( $post_info->cover_art ) ){
702
  $thumbnail_info = wp_get_attachment_image_src( $post_info->cover_art, 'thumbnail' );
703
-
704
  if ( false === $thumbnail_info ) {
705
  $thumbnail_info = wp_get_attachment_image_src( $post_info->cover_art, 'full' );
706
  }
707
-
708
  if ( is_array( $thumbnail_info ) ) {
709
  $post_info->cover_art = $thumbnail_info[ 0 ];
710
  } else {
711
  $post_info->cover_art = '';
712
  }
713
  }
714
-
715
  if ( ! empty( $post_info->cover_art ) ) {
716
  $new_thumbnail = '<img width="150" height="150" src="' . $post_info->cover_art . '" class="attachment-thumbnail" alt="' . $item_values['thumbnail_content'] . '" />';
717
  $new_link = str_replace( $item_values['thumbnail_content'] . '</a>', $new_thumbnail . '</a>', $new_link );
718
-
719
  $item_values['thumbnail_content'] = $new_thumbnail;
720
  $item_values['thumbnail_width'] = '150';
721
  $item_values['thumbnail_height'] = '150';
@@ -723,13 +723,13 @@ class AlexaPaigePlugin {
723
  }
724
  } // has cover art
725
  } // use cover art
726
-
727
  $item_values['link_url'] = $new_url;
728
  $item_values['link'] = $new_link;
729
-
730
  return $item_values;
731
  } // axp_gallery_item_values_filter
732
-
733
  /**
734
  * Custom query support function, taxonomy terms only
735
  *
@@ -763,7 +763,7 @@ class AlexaPaigePlugin {
763
  * are ONLY used for Media Library image items, so we can omit the term_relationships/posts
764
  * JOIN clause for tests on post_mime_type, post_type and post_status.
765
  */
766
-
767
  // Make sure $my_query_vars is an array, even if it's empty
768
  $my_query_vars = self::$shortcode_attributes['my_custom_sql'];
769
  if ( empty( $my_query_vars ) ) {
@@ -774,14 +774,14 @@ class AlexaPaigePlugin {
774
 
775
  // Start with empty parameter values
776
  $ttids = array();
777
-
778
  // Find taxonomy argument, if present, and collect terms
779
  $taxonomies = get_taxonomies( array( 'object_type' => array( 'attachment' ) ), 'names' );
780
  foreach( $taxonomies as $taxonomy ) {
781
  if ( empty( $my_query_vars[ $taxonomy ] ) ) {
782
  continue;
783
  }
784
-
785
  // Found the taxonomy; collect the terms
786
  $include_children = isset( $my_query_vars['include_children'] ) && 'true' == strtolower( trim( $my_query_vars['include_children'] ) );
787
 
@@ -805,10 +805,10 @@ class AlexaPaigePlugin {
805
  }
806
  } // include_children
807
  } // $term
808
-
809
  break;
810
  }
811
-
812
  // Build an array of SQL clauses
813
  $query = array();
814
  $query_parameters = array();
@@ -829,9 +829,9 @@ class AlexaPaigePlugin {
829
  $placeholders[] = '%s';
830
  $query_parameters[] = '0';
831
  }
832
-
833
  $query[] = 'WHERE ( tr.term_taxonomy_id IN (' . join( ',', $placeholders ) . ') )';
834
-
835
  // ORDER BY clause would go here, if needed
836
 
837
  if ( ! $is_pagination ) {
@@ -850,7 +850,7 @@ class AlexaPaigePlugin {
850
  } else {
851
  $paged = $all_query_parameters['paged'];
852
  }
853
-
854
  if ( empty( $paged ) ) {
855
  $paged = 1;
856
  } elseif ( 'current' == strtolower( $paged ) ) {
@@ -883,7 +883,7 @@ class AlexaPaigePlugin {
883
  $query_parameters[] = $offset;
884
  $query_parameters[] = 0x7FFFFFFF; // big number!
885
  }
886
-
887
  $all_query_parameters['nopaging'] = true;
888
  $all_query_parameters['numberposts'] = 0;
889
  $all_query_parameters['posts_per_page'] = 0;
@@ -901,7 +901,7 @@ class AlexaPaigePlugin {
901
  //error_log( 'AlexaPaigePlugin::single_query $count = ' . var_export( $count, true ), 0 );
902
  return $count;
903
  }
904
-
905
  $ids = $wpdb->get_results( $wpdb->prepare( $query, $query_parameters ) );
906
  //error_log( 'AlexaPaigePlugin::single_query $ids = ' . var_export( $ids, true ), 0 );
907
  if ( is_array( $ids ) ) {
@@ -950,7 +950,7 @@ class AlexaPaigePlugin {
950
  * The first query is on taxonomy and term(s) only, yielding a list of object_id (post ID) values.
951
  * The second query filters the list by post_mime_type, orders it and paginates it.
952
  */
953
-
954
  // Make sure $my_query_vars is an array, even if it's empty
955
  $my_query_vars = self::$shortcode_attributes['my_custom_sql'];
956
  if ( empty( $my_query_vars ) ) {
@@ -962,14 +962,14 @@ class AlexaPaigePlugin {
962
 
963
  // Start with empty parameter values
964
  $ttids = array();
965
-
966
  // Find taxonomy argument, if present, and collect terms
967
  $taxonomies = get_taxonomies( array( 'object_type' => array( 'attachment' ) ), 'names' );
968
  foreach( $taxonomies as $taxonomy ) {
969
  if ( empty( $my_query_vars[ $taxonomy ] ) ) {
970
  continue;
971
  }
972
-
973
  // Found the taxonomy; collect the terms
974
  $include_children = isset( $my_query_vars['include_children'] ) && 'true' == strtolower( trim( $my_query_vars['include_children'] ) );
975
 
@@ -996,7 +996,7 @@ class AlexaPaigePlugin {
996
  } // $term
997
  //error_log( "AlexaPaigePlugin::double_query {$taxonomy} \$ttids = " . var_export( $ttids, true ), 0 );
998
  }
999
-
1000
  // Build an array of SQL clauses for the term_relationships query
1001
  $query = array();
1002
  $query_parameters = array();
@@ -1013,7 +1013,7 @@ class AlexaPaigePlugin {
1013
  $placeholders[] = '%s';
1014
  $query_parameters[] = '0';
1015
  }
1016
-
1017
  $query[] = 'WHERE ( tr.term_taxonomy_id IN (' . join( ',', $placeholders ) . ') )';
1018
  $query = join(' ', $query);
1019
  //error_log( 'AlexaPaigePlugin::double_query term_relationships $query = ' . var_export( $query, true ), 0 );
@@ -1051,7 +1051,7 @@ class AlexaPaigePlugin {
1051
  $placeholders[] = '%s';
1052
  $query_parameters[] = '0';
1053
  }
1054
-
1055
  $query[] = 'WHERE ( ( p.ID IN (' . join( ',', $placeholders ) . ') )';
1056
 
1057
  if ( ! empty( self::$shortcode_attributes['post_mime_type'] ) ) {
@@ -1061,7 +1061,7 @@ class AlexaPaigePlugin {
1061
  } else {
1062
  $query[] = "AND (p.post_mime_type LIKE 'image/%%')";
1063
  }
1064
-
1065
  // Close the WHERE clause
1066
  $query[] = ')';
1067
 
@@ -1070,13 +1070,13 @@ class AlexaPaigePlugin {
1070
  */
1071
  $all_query_parameters['orderby'] = 'post__in';
1072
  $all_query_parameters['order'] = 'ASC';
1073
-
1074
  $orderby = 'none';
1075
  $order = 'ASC';
1076
-
1077
  if ( ! ( $is_pagination || empty( $my_query_vars['orderby'] ) ) ) {
1078
  $orderby = strtolower( $my_query_vars['orderby'] );
1079
-
1080
  if ( ! empty( $my_query_vars['order'] ) ) {
1081
  $order = strtoupper( $my_query_vars['order'] );
1082
  if ( 'DESC' != $order ) {
@@ -1150,7 +1150,7 @@ class AlexaPaigePlugin {
1150
  } else {
1151
  $paged = $all_query_parameters['paged'];
1152
  }
1153
-
1154
  if ( empty( $paged ) ) {
1155
  $paged = 1;
1156
  } elseif ( 'current' == strtolower( $paged ) ) {
@@ -1183,7 +1183,7 @@ class AlexaPaigePlugin {
1183
  $query_parameters[] = $offset;
1184
  $query_parameters[] = 0x7FFFFFFF; // big number!
1185
  }
1186
-
1187
  $all_query_parameters['nopaging'] = true;
1188
  $all_query_parameters['numberposts'] = 0;
1189
  $all_query_parameters['posts_per_page'] = 0;
@@ -1201,7 +1201,7 @@ class AlexaPaigePlugin {
1201
  //error_log( 'AlexaPaigePlugin::double_query posts $count = ' . var_export( $count, true ), 0 );
1202
  return $count;
1203
  }
1204
-
1205
  $ids = $wpdb->get_results( $wpdb->prepare( $query, $query_parameters ) );
1206
  //error_log( 'AlexaPaigePlugin::double_query posts $ids = ' . var_export( $ids, true ), 0 );
1207
  if ( is_array( $ids ) ) {
74
  * Add the custom shortcode for generating the checkbox form
75
  */
76
  add_shortcode( 'axp_checkbox_form', 'AlexaPaigePlugin::axp_checkbox_form' );
77
+
78
  /*
79
  * add_filter parameters:
80
  * $tag - name of the hook you're filtering; defined by [mla_gallery]
104
  */
105
  public static function axp_checkbox_form( $attr ) {
106
  //error_log( 'AlexaPaigePlugin::axp_checkbox_form $attr = ' . var_export( $attr, true ), 0 );
107
+
108
  // Extract the checkbox_query parameters in $_REQUEST, so we can check the boxes
109
  if ( isset( $_REQUEST['axp_taxonomies'] ) ) {
110
  $axp_taxonomies = $_REQUEST['axp_taxonomies'];
152
  if ( array_key_exists( $attr_key, $defaults ) ) {
153
  $attr_value = str_replace( '{+', '[+', str_replace( '+}', '+]', $attr_value ) );
154
  $replacement_values = MLAData::mla_expand_field_level_parameters( $attr_value );
155
+
156
  if ( ! empty( $replacement_values ) ) {
157
  $attr[ $attr_key ] = MLAData::mla_parse_template( $attr_value, $replacement_values );
158
  }
170
  } elseif ( is_string( $arguments['exclude'] ) ) {
171
  $exclude = explode( ',', $arguments['exclude'] );
172
  }
173
+
174
  // Build the term list
175
  $taxonomies = explode( ',', $arguments['taxonomy'] );
176
  $display_taxonomies = array();
197
  }
198
  } // foreach taxonomy
199
  //error_log( 'AlexaPaigePlugin::axp_checkbox_form $terms = ' . var_export( $terms, true ), 0 );
200
+
201
  // Re-organize by term name for display purposes
202
  $display_terms = array ();
203
  foreach ( $terms as $key => $term ) {
215
  }
216
  }
217
  //error_log( 'AlexaPaigePlugin::axp_checkbox_form $display_terms = ' . var_export( $display_terms, true ), 0 );
218
+
219
  // Compose the form
220
  $output = '<form id="axp-checkbox-form" action="' . $arguments['action'] . '" method="get">' . "\n";
221
  $output .= "<table>\n";
222
  $output .= "<tr><td width=1%>\n";
223
  $output .= $arguments['taxonomy_label'] . "\n";
224
  $output .= "</td><td>\n";
225
+
226
  foreach ( $display_taxonomies as $key => $taxonomy ) {
227
  $checked = ( in_array( $key, $axp_taxonomies ) ) ? 'checked=checked ' : '';
228
  $output .= sprintf( '<input name="axp_taxonomies[]" id="axp-taxonomy-%1$s" type="checkbox" %2$svalue="%1$s">%3$s&nbsp;&nbsp;', $key, $checked, $taxonomy->label );
229
  }
230
+
231
  $output .= "\n</td></tr>\n";
232
  $output .= "<tr><td width=1%>\n";
233
  $output .= $arguments['term_label'] . "\n";
234
  $output .= "</td><td>\n";
235
+
236
  foreach ( $display_terms as $key => $term ) {
237
  $checked = ( in_array( esc_attr( $term ), $axp_terms ) ) ? 'checked=checked ' : '';
238
  $output .= sprintf( '<input name="axp_terms[]" id="axp-term-%1$s" type="checkbox" %2$svalue="%3$s">%4$s&nbsp;&nbsp;', sanitize_title( $term ), $checked, esc_attr( $term ), $key );
239
  }
240
+
241
  $output .= "\n</td></tr>\n";
242
  $output .= "</table>\n";
243
  $output .= '<input id="axp-checkbox-form-submit" name="axp-checkbox-form-submit" type="submit" value="GO" />
244
  ' . "\n";
245
  $output .= "</form>\n";
246
+
247
  //error_log( 'AlexaPaigePlugin::axp_checkbox_form $output = ' . var_export( $output, true ), 0 );
248
  return $output;
249
  } // axp_checkbox_form
256
  * @var array
257
  */
258
  private static $shortcode_attributes = array();
259
+
260
  /**
261
  * MLA Gallery (Display) Attributes
262
  *
275
  */
276
  public static function axp_gallery_attributes_filter( $shortcode_attributes ) {
277
  //error_log( 'AlexaPaigePlugin::axp_gallery_attributes_filter $shortcode_attributes = ' . var_export( $shortcode_attributes, true ), 0 );
278
+
279
  // Save the attributes for use in the later filters
280
  self::$shortcode_attributes = $shortcode_attributes;
281
 
315
  if ( is_string( $axp_terms ) ) {
316
  $axp_terms = explode( ',', $axp_terms );
317
  }
318
+
319
  // Convert to term_id values
320
  $terms = array();
321
  foreach ( $axp_terms as $key => $axp_term ) {
350
  'terms' => $terms,
351
  );
352
  }
353
+
354
  self::$shortcode_attributes['checkbox_query'] = $value;
355
  } else {
356
  // Add/modify the my_custom_sql parameter
365
  } else {
366
  $my_query_vars = array();
367
  }
368
+
369
  //error_log( 'AlexaPaigePlugin::axp_gallery_attributes_filter checkbox_query $my_query_vars = ' . var_export( $my_query_vars, true ), 0 );
370
  $new_query_vars = array();
371
  foreach( $my_query_vars as $key => $value ) {
372
  $new_query_vars[] = $key . "='" . $value . "'";
373
  }
374
+
375
  foreach( $axp_taxonomies as $taxonomy ) {
376
  $new_query_vars[] = $taxonomy . "='" . implode( ',', $terms ) . "'";
377
  }
378
+
379
  unset( self::$shortcode_attributes['checkbox_query'] );
380
  self::$shortcode_attributes['my_custom_sql'] = implode( ' ', $new_query_vars );
381
  } // my_custom_sql query
409
  */
410
  $output_parameters = array_map( 'strtolower', array_map( 'trim', explode( ',', $all_display_parameters['mla_output'] ) ) );
411
  $is_pagination = in_array( $output_parameters[0], array( 'previous_page', 'next_page', 'paginate_links' ) );
412
+
413
  if ( $is_pagination ) {
414
  // Determine query type
415
  if ( isset( self::$shortcode_attributes['post_mime_type'] ) ) {
436
  }
437
  }
438
  } // my_custom_sql present
439
+
440
  //error_log( 'AlexaPaigePlugin::axp_gallery_arguments_filter $all_display_parameters = ' . var_export( $all_display_parameters, true ), 0 );
441
 
442
  return $all_display_parameters;
450
  * @var array
451
  */
452
  private static $query_attributes = array();
453
+
454
  /**
455
  * MLA Gallery Query Attributes
456
  *
470
  */
471
  public static function axp_gallery_query_attributes_filter( $query_attributes ) {
472
  //error_log( 'AlexaPaigePlugin::axp_gallery_query_attributes_filter $query_attributes = ' . var_export( $query_attributes, true ), 0 );
473
+
474
  if ( isset( self::$shortcode_attributes['checkbox_query'] ) ) {
475
  $query_attributes['tax_query'] = self::$shortcode_attributes['checkbox_query'];
476
  } // valid checkbox_query=tax paraneter
477
+
478
  self::$query_attributes = $query_attributes;
479
  return $query_attributes;
480
  } // axp_gallery_query_attributes_filter
539
  //error_log( 'AlexaPaigePlugin::axp_gallery_query_arguments_filter $all_query_parameters = ' . var_export( $all_query_parameters, true ), 0 );
540
  return $all_query_parameters;
541
  } // axp_gallery_query_arguments_filter
542
+
543
  /**
544
  * Save some of the WP_Query object properties
545
  *
548
  * @var array
549
  */
550
  private static $wp_query_properties = array();
551
+
552
  /**
553
  * MLA Gallery WP Query Object
554
  *
569
  */
570
  public static function axp_gallery_wp_query_object_action( $query_arguments ) {
571
  //error_log( 'AlexaPaigePlugin::axp_gallery_wp_query_object_action $query_arguments = ' . var_export( $query_arguments, true ), 0 );
572
+
573
  self::$wp_query_properties = array();
574
  self::$wp_query_properties ['post_count'] = MLAShortcodes::$mla_gallery_wp_query_object->post_count;
575
+
576
  // If the "buddypress_urls" parameter is not present, we have nothing to do.
577
  if ( empty( self::$shortcode_attributes['buddypress_urls'] ) ) {
578
  return; // Don't need custom URLs
579
  }
580
+
581
  if ( 0 == self::$wp_query_properties ['post_count'] ) {
582
  return; // Empty gallery - nothing to do
583
  }
584
+
585
  global $wpdb;
586
+
587
  // Assemble the WordPress attachment IDs
588
  $post_info = array();
589
  foreach( MLAShortcodes::$mla_gallery_wp_query_object->posts as $value ) {
597
  $query[] = "SELECT rtm.id, rtm.media_id, rtm.media_author, rtm.media_type, rtm.cover_art, u.user_nicename FROM {$wpdb->prefix}rt_rtm_media AS rtm";
598
  $query[] = "LEFT JOIN {$wpdb->users} as u";
599
  $query[] = "ON (rtm.media_author = u.ID)";
600
+
601
  $placeholders = array();
602
  foreach ( $post_info as $value ) {
603
  $placeholders[] = '%s';
615
  $post_info[ $value->media_id ] = $value;
616
  }
617
  }
618
+
619
  //error_log( 'AlexaPaigePlugin::axp_gallery_wp_query_object_action $post_info = ' . var_export( $post_info, true ), 0 );
620
  self::$wp_query_properties ['post_info'] = $post_info;
621
+
622
  // Unlike Filters, Actions never return anything
623
  return;
624
  } // axp_gallery_wp_query_object_action
657
  */
658
  $old_date = $item_values['date'];
659
  $timestamp = mktime( substr( $old_date, 11, 2 ), substr( $old_date, 14, 2 ), substr( $old_date, 17, 2 ), substr( $old_date, 5, 2 ), substr( $old_date, 8, 2 ), substr( $old_date, 0, 4 ) );
660
+
661
  //error_log( 'AlexaPaigePlugin::axp_gallery_item_values_filter date = ' . var_export( date( $format, $timestamp ), true ), 0 );
662
  /*
663
  * Update the caption, replacing the substitution parameter with the formatted value.
664
  */
665
  $item_values['caption'] = str_replace( $matches[0][0], date( $format, $timestamp ), $item_values['caption'] );
666
  }
667
+
668
  /*
669
  * We use a shortcode parameter of our own to apply our filters on a gallery-by-gallery
670
  * basis, leaving other [mla_gallery] instances untouched. If the "buddypress_urls"
673
  if ( ! isset( self::$shortcode_attributes['buddypress_urls'] ) ) {
674
  return $item_values; // leave them unchanged
675
  }
676
+
677
  if ( isset( self::$wp_query_properties ['post_info'][ $item_values['attachment_ID'] ] ) ) {
678
  $post_info = self::$wp_query_properties ['post_info'][ $item_values['attachment_ID'] ];
679
  } else {
680
  return $item_values; // no matching rtMedia item
681
  }
682
+
683
  $new_url = $item_values['site_url'] . '/members/' . $post_info->user_nicename . '/media/' . $post_info->id . '/';
684
  $new_link = str_replace( $item_values['link_url'], $new_url, $item_values['link'] );
685
 
700
  if ( ! empty( $post_info->cover_art ) ) {
701
  if ( is_numeric( $post_info->cover_art ) ){
702
  $thumbnail_info = wp_get_attachment_image_src( $post_info->cover_art, 'thumbnail' );
703
+
704
  if ( false === $thumbnail_info ) {
705
  $thumbnail_info = wp_get_attachment_image_src( $post_info->cover_art, 'full' );
706
  }
707
+
708
  if ( is_array( $thumbnail_info ) ) {
709
  $post_info->cover_art = $thumbnail_info[ 0 ];
710
  } else {
711
  $post_info->cover_art = '';
712
  }
713
  }
714
+
715
  if ( ! empty( $post_info->cover_art ) ) {
716
  $new_thumbnail = '<img width="150" height="150" src="' . $post_info->cover_art . '" class="attachment-thumbnail" alt="' . $item_values['thumbnail_content'] . '" />';
717
  $new_link = str_replace( $item_values['thumbnail_content'] . '</a>', $new_thumbnail . '</a>', $new_link );
718
+
719
  $item_values['thumbnail_content'] = $new_thumbnail;
720
  $item_values['thumbnail_width'] = '150';
721
  $item_values['thumbnail_height'] = '150';
723
  }
724
  } // has cover art
725
  } // use cover art
726
+
727
  $item_values['link_url'] = $new_url;
728
  $item_values['link'] = $new_link;
729
+
730
  return $item_values;
731
  } // axp_gallery_item_values_filter
732
+
733
  /**
734
  * Custom query support function, taxonomy terms only
735
  *
763
  * are ONLY used for Media Library image items, so we can omit the term_relationships/posts
764
  * JOIN clause for tests on post_mime_type, post_type and post_status.
765
  */
766
+
767
  // Make sure $my_query_vars is an array, even if it's empty
768
  $my_query_vars = self::$shortcode_attributes['my_custom_sql'];
769
  if ( empty( $my_query_vars ) ) {
774
 
775
  // Start with empty parameter values
776
  $ttids = array();
777
+
778
  // Find taxonomy argument, if present, and collect terms
779
  $taxonomies = get_taxonomies( array( 'object_type' => array( 'attachment' ) ), 'names' );
780
  foreach( $taxonomies as $taxonomy ) {
781
  if ( empty( $my_query_vars[ $taxonomy ] ) ) {
782
  continue;
783
  }
784
+
785
  // Found the taxonomy; collect the terms
786
  $include_children = isset( $my_query_vars['include_children'] ) && 'true' == strtolower( trim( $my_query_vars['include_children'] ) );
787
 
805
  }
806
  } // include_children
807
  } // $term
808
+
809
  break;
810
  }
811
+
812
  // Build an array of SQL clauses
813
  $query = array();
814
  $query_parameters = array();
829
  $placeholders[] = '%s';
830
  $query_parameters[] = '0';
831
  }
832
+
833
  $query[] = 'WHERE ( tr.term_taxonomy_id IN (' . join( ',', $placeholders ) . ') )';
834
+
835
  // ORDER BY clause would go here, if needed
836
 
837
  if ( ! $is_pagination ) {
850
  } else {
851
  $paged = $all_query_parameters['paged'];
852
  }
853
+
854
  if ( empty( $paged ) ) {
855
  $paged = 1;
856
  } elseif ( 'current' == strtolower( $paged ) ) {
883
  $query_parameters[] = $offset;
884
  $query_parameters[] = 0x7FFFFFFF; // big number!
885
  }
886
+
887
  $all_query_parameters['nopaging'] = true;
888
  $all_query_parameters['numberposts'] = 0;
889
  $all_query_parameters['posts_per_page'] = 0;
901
  //error_log( 'AlexaPaigePlugin::single_query $count = ' . var_export( $count, true ), 0 );
902
  return $count;
903
  }
904
+
905
  $ids = $wpdb->get_results( $wpdb->prepare( $query, $query_parameters ) );
906
  //error_log( 'AlexaPaigePlugin::single_query $ids = ' . var_export( $ids, true ), 0 );
907
  if ( is_array( $ids ) ) {
950
  * The first query is on taxonomy and term(s) only, yielding a list of object_id (post ID) values.
951
  * The second query filters the list by post_mime_type, orders it and paginates it.
952
  */
953
+
954
  // Make sure $my_query_vars is an array, even if it's empty
955
  $my_query_vars = self::$shortcode_attributes['my_custom_sql'];
956
  if ( empty( $my_query_vars ) ) {
962
 
963
  // Start with empty parameter values
964
  $ttids = array();
965
+
966
  // Find taxonomy argument, if present, and collect terms
967
  $taxonomies = get_taxonomies( array( 'object_type' => array( 'attachment' ) ), 'names' );
968
  foreach( $taxonomies as $taxonomy ) {
969
  if ( empty( $my_query_vars[ $taxonomy ] ) ) {
970
  continue;
971
  }
972
+
973
  // Found the taxonomy; collect the terms
974
  $include_children = isset( $my_query_vars['include_children'] ) && 'true' == strtolower( trim( $my_query_vars['include_children'] ) );
975
 
996
  } // $term
997
  //error_log( "AlexaPaigePlugin::double_query {$taxonomy} \$ttids = " . var_export( $ttids, true ), 0 );
998
  }
999
+
1000
  // Build an array of SQL clauses for the term_relationships query
1001
  $query = array();
1002
  $query_parameters = array();
1013
  $placeholders[] = '%s';
1014
  $query_parameters[] = '0';
1015
  }
1016
+
1017
  $query[] = 'WHERE ( tr.term_taxonomy_id IN (' . join( ',', $placeholders ) . ') )';
1018
  $query = join(' ', $query);
1019
  //error_log( 'AlexaPaigePlugin::double_query term_relationships $query = ' . var_export( $query, true ), 0 );
1051
  $placeholders[] = '%s';
1052
  $query_parameters[] = '0';
1053
  }
1054
+
1055
  $query[] = 'WHERE ( ( p.ID IN (' . join( ',', $placeholders ) . ') )';
1056
 
1057
  if ( ! empty( self::$shortcode_attributes['post_mime_type'] ) ) {
1061
  } else {
1062
  $query[] = "AND (p.post_mime_type LIKE 'image/%%')";
1063
  }
1064
+
1065
  // Close the WHERE clause
1066
  $query[] = ')';
1067
 
1070
  */
1071
  $all_query_parameters['orderby'] = 'post__in';
1072
  $all_query_parameters['order'] = 'ASC';
1073
+
1074
  $orderby = 'none';
1075
  $order = 'ASC';
1076
+
1077
  if ( ! ( $is_pagination || empty( $my_query_vars['orderby'] ) ) ) {
1078
  $orderby = strtolower( $my_query_vars['orderby'] );
1079
+
1080
  if ( ! empty( $my_query_vars['order'] ) ) {
1081
  $order = strtoupper( $my_query_vars['order'] );
1082
  if ( 'DESC' != $order ) {
1150
  } else {
1151
  $paged = $all_query_parameters['paged'];
1152
  }
1153
+
1154
  if ( empty( $paged ) ) {
1155
  $paged = 1;
1156
  } elseif ( 'current' == strtolower( $paged ) ) {
1183
  $query_parameters[] = $offset;
1184
  $query_parameters[] = 0x7FFFFFFF; // big number!
1185
  }
1186
+
1187
  $all_query_parameters['nopaging'] = true;
1188
  $all_query_parameters['numberposts'] = 0;
1189
  $all_query_parameters['posts_per_page'] = 0;
1201
  //error_log( 'AlexaPaigePlugin::double_query posts $count = ' . var_export( $count, true ), 0 );
1202
  return $count;
1203
  }
1204
+
1205
  $ids = $wpdb->get_results( $wpdb->prepare( $query, $query_parameters ) );
1206
  //error_log( 'AlexaPaigePlugin::double_query posts $ids = ' . var_export( $ids, true ), 0 );
1207
  if ( is_array( $ids ) ) {
examples/buddypress-hooks-example.php.txt CHANGED
@@ -75,17 +75,17 @@ class MLABuddyPressHooksExample {
75
  //add_filter( 'mla_gallery_query_arguments', 'MLABuddyPressHooksExample::mla_gallery_query_arguments_filter', 10, 1 );
76
  add_action( 'mla_gallery_wp_query_object', 'MLABuddyPressHooksExample::mla_gallery_wp_query_object_action', 10, 1 );
77
  //add_filter( 'mla_gallery_final_content', 'MLABuddyPressHooksExample::mla_gallery_final_content_filter', 10, 1 );
78
-
79
  //add_filter( 'use_mla_gallery_style', 'MLABuddyPressHooksExample::use_mla_gallery_style_filter', 10, 2 );
80
-
81
  //add_filter( 'mla_gallery_style_values', 'MLABuddyPressHooksExample::mla_gallery_style_values_filter', 10, 1 );
82
  //add_filter( 'mla_gallery_style_template', 'MLABuddyPressHooksExample::mla_gallery_style_template_filter', 10, 1 );
83
  //add_filter( 'mla_gallery_style_parse', 'MLABuddyPressHooksExample::mla_gallery_style_parse_filter', 10, 3 );
84
-
85
  //add_filter( 'mla_gallery_open_values', 'MLABuddyPressHooksExample::mla_gallery_open_values_filter', 10, 1 );
86
  //add_filter( 'mla_gallery_open_template', 'MLABuddyPressHooksExample::mla_gallery_open_template_filter', 10, 1 );
87
  //add_filter( 'mla_gallery_open_parse', 'MLABuddyPressHooksExample::mla_gallery_open_parse_filter', 10, 3 );
88
-
89
  //add_filter( 'mla_gallery_style', 'MLABuddyPressHooksExample::mla_gallery_style_filter', 10, 5 );
90
 
91
  //add_filter( 'mla_gallery_row_open_values', 'MLABuddyPressHooksExample::mla_gallery_row_open_values_filter', 10, 1 );
@@ -113,7 +113,7 @@ class MLABuddyPressHooksExample {
113
  * @var array
114
  */
115
  private static $shortcode_attributes = array();
116
-
117
  /**
118
  * MLA Gallery Raw (Display) Attributes
119
  *
@@ -134,7 +134,7 @@ class MLABuddyPressHooksExample {
134
  * Uncomment the error_log statements in any of the filters to see what's passed in
135
  */
136
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_raw_attributes_filter $shortcode_attributes = ' . var_export( $shortcode_attributes, true ), 0 );
137
-
138
  /*
139
  * Note that the global $post; object is available here and in all later filters.
140
  * It contains the post/page on which the [mla_gallery] appears.
@@ -143,7 +143,7 @@ class MLABuddyPressHooksExample {
143
  */
144
  global $post;
145
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_raw_attributes_filter $post->ID = ' . var_export( $post->ID, true ), 0 );
146
-
147
  return $shortcode_attributes;
148
  } // mla_gallery_raw_attributes_filter
149
 
@@ -167,7 +167,7 @@ class MLABuddyPressHooksExample {
167
  * Uncomment the error_log statements in any of the filters to see what's passed in
168
  */
169
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_attributes_filter $shortcode_attributes = ' . var_export( $shortcode_attributes, true ), 0 );
170
-
171
  /*
172
  * Save the attributes for use in the later filters
173
  */
@@ -184,7 +184,7 @@ class MLABuddyPressHooksExample {
184
  * @var NULL|string
185
  */
186
  private static $shortcode_content = NULL;
187
-
188
  /**
189
  * MLA Gallery Enclosed Content, initial filter
190
  *
@@ -202,7 +202,7 @@ class MLABuddyPressHooksExample {
202
  public static function mla_gallery_initial_content_filter( $shortcode_content, $shortcode_attributes ) {
203
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_initial_content_filter $shortcode_content = ' . var_export( $shortcode_content, true ), 0 );
204
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_initial_content_filter $shortcode_attributes = ' . var_export( $shortcode_attributes, true ), 0 );
205
-
206
  /*
207
  * Save the attributes for use in the later filters
208
  */
@@ -219,7 +219,7 @@ class MLABuddyPressHooksExample {
219
  * @var array
220
  */
221
  private static $all_display_parameters = array();
222
-
223
  /**
224
  * MLA Gallery (Display) Arguments
225
  *
@@ -238,7 +238,7 @@ class MLABuddyPressHooksExample {
238
  */
239
  public static function mla_gallery_arguments_filter( $all_display_parameters ) {
240
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_arguments_filter $all_display_parameters = ' . var_export( $all_display_parameters, true ), 0 );
241
-
242
  self::$all_display_parameters = $all_display_parameters;
243
  return $all_display_parameters;
244
  } // mla_gallery_arguments_filter
@@ -251,7 +251,7 @@ class MLABuddyPressHooksExample {
251
  * @var array
252
  */
253
  private static $query_attributes = array();
254
-
255
  /**
256
  * MLA Gallery Query Attributes
257
  *
@@ -270,7 +270,7 @@ class MLABuddyPressHooksExample {
270
  */
271
  public static function mla_gallery_query_attributes_filter( $query_attributes ) {
272
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_query_attributes_filter $query_attributes = ' . var_export( $query_attributes, true ), 0 );
273
-
274
  self::$query_attributes = $query_attributes;
275
  return $query_attributes;
276
  } // mla_gallery_query_attributes_filter
@@ -283,7 +283,7 @@ class MLABuddyPressHooksExample {
283
  * @var array
284
  */
285
  private static $all_query_parameters = array();
286
-
287
  /**
288
  * MLA Gallery Query Arguments
289
  *
@@ -298,9 +298,9 @@ class MLABuddyPressHooksExample {
298
  */
299
  public static function mla_gallery_query_arguments_filter( $all_query_parameters ) {
300
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_query_arguments_filter $all_query_parameters = ' . var_export( $all_query_parameters, true ), 0 );
301
-
302
  self::$all_query_parameters = $all_query_parameters;
303
-
304
  return $all_query_parameters;
305
  } // mla_gallery_query_arguments_filter
306
 
@@ -312,7 +312,7 @@ class MLABuddyPressHooksExample {
312
  * @var array
313
  */
314
  private static $wp_query_properties = array();
315
-
316
  /**
317
  * MLA Gallery WP Query Object
318
  *
@@ -328,20 +328,20 @@ class MLABuddyPressHooksExample {
328
  */
329
  public static function mla_gallery_wp_query_object_action( $query_arguments ) {
330
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_wp_query_object_action $query_arguments = ' . var_export( $query_arguments, true ), 0 );
331
-
332
  self::$wp_query_properties = array();
333
  self::$wp_query_properties ['post_count'] = MLAShortcodes::$mla_gallery_wp_query_object->post_count;
334
-
335
  if ( empty( self::$shortcode_attributes['buddypress_urls'] ) ) {
336
  return; // Don't need custom URLs
337
  }
338
-
339
  if ( 0 == self::$wp_query_properties ['post_count'] ) {
340
  return; // Empty gallery - nothing to do
341
  }
342
-
343
  global $wpdb;
344
-
345
  // Assemble the WordPress attachment IDs
346
  $post_info = array();
347
  foreach( MLAShortcodes::$mla_gallery_wp_query_object->posts as $value ) {
@@ -355,7 +355,7 @@ class MLABuddyPressHooksExample {
355
  $query[] = "SELECT rtm.id, rtm.media_id, rtm.media_author, rtm.media_type, rtm.cover_art, u.user_nicename FROM {$wpdb->prefix}rt_rtm_media AS rtm";
356
  $query[] = "LEFT JOIN {$wpdb->users} as u";
357
  $query[] = "ON (rtm.media_author = u.ID)";
358
-
359
  $placeholders = array();
360
  foreach ( $post_info as $value ) {
361
  $placeholders[] = '%s';
@@ -373,10 +373,10 @@ class MLABuddyPressHooksExample {
373
  $post_info[ $value->media_id ] = $value;
374
  }
375
  }
376
-
377
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_wp_query_object_action $post_info = ' . var_export( $post_info, true ), 0 );
378
  self::$wp_query_properties ['post_info'] = $post_info;
379
-
380
  /*
381
  * Unlike Filters, Actions never return anything
382
  */
@@ -420,7 +420,7 @@ class MLABuddyPressHooksExample {
420
  public static function use_mla_gallery_style_filter( $use_style_template, $style_template_name ) {
421
  //error_log( 'MLABuddyPressHooksExample::use_mla_gallery_style_filter $use_style_template = ' . var_export( $use_style_template, true ), 0 );
422
  //error_log( 'MLABuddyPressHooksExample::use_mla_gallery_style_filter $style_template_name = ' . var_export( $style_template_name, true ), 0 );
423
-
424
  /*
425
  * Filters must return the first argument passed in, unchanged or updated
426
  */
@@ -443,20 +443,20 @@ class MLABuddyPressHooksExample {
443
  */
444
  public static function mla_gallery_style_values_filter( $style_values ) {
445
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_style_values_filter $style_values = ' . var_export( $style_values, true ), 0 );
446
-
447
  /*
448
  * You also have access to the PHP Super Globals, e.g., $_REQUEST, $_SERVER
449
  */
450
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_style_values_filter $_REQUEST = ' . var_export( $_REQUEST, true ), 0 );
451
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_style_values_filter $_SERVER[ REQUEST_URI ] = ' . var_export( $_SERVER['REQUEST_URI'], true ), 0 );
452
-
453
  /*
454
  * You can use the WordPress globals like $wp_query, $wpdb and $table_prefix as well.
455
  * Note that $wp_query contains values for the post/page query, NOT the [mla_gallery] query.
456
  */
457
  global $wp_query;
458
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_style_values_filter $wp_query->query = ' . var_export( $wp_query->query, true ), 0 );
459
-
460
  return $style_values;
461
  } // mla_gallery_style_values_filter
462
 
@@ -476,7 +476,7 @@ class MLABuddyPressHooksExample {
476
  */
477
  public static function mla_gallery_style_template_filter( $style_template ) {
478
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_style_template_filter $style_template = ' . var_export( $style_template, true ), 0 );
479
-
480
  return $style_template;
481
  } // mla_gallery_style_template_filter
482
 
@@ -501,10 +501,10 @@ class MLABuddyPressHooksExample {
501
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_style_parse_filter $html_markup = ' . var_export( $html_markup, true ), 0 );
502
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_style_parse_filter $style_template = ' . var_export( $style_template, true ), 0 );
503
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_style_parse_filter $style_values = ' . var_export( $style_values, true ), 0 );
504
-
505
  return $html_markup;
506
  } // mla_gallery_style_parse_filter
507
-
508
  /**
509
  * MLA Gallery Open Values
510
  *
@@ -519,7 +519,7 @@ class MLABuddyPressHooksExample {
519
  */
520
  public static function mla_gallery_open_values_filter( $markup_values ) {
521
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_open_values_filter $markup_values = ' . var_export( $markup_values, true ), 0 );
522
-
523
  return $markup_values;
524
  } // mla_gallery_open_values_filter
525
 
@@ -534,7 +534,7 @@ class MLABuddyPressHooksExample {
534
  */
535
  public static function mla_gallery_open_template_filter( $open_template ) {
536
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_open_template_filter $open_template = ' . var_export( $open_template, true ), 0 );
537
-
538
  return $open_template;
539
  } // mla_gallery_open_template_filter
540
 
@@ -553,10 +553,10 @@ class MLABuddyPressHooksExample {
553
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_open_parse_filter $html_markup = ' . var_export( $html_markup, true ), 0 );
554
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_open_parse_filter $open_template = ' . var_export( $open_template, true ), 0 );
555
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_open_parse_filter $markup_values = ' . var_export( $markup_values, true ), 0 );
556
-
557
  return $html_markup;
558
  } // mla_gallery_open_parse_filter
559
-
560
  /**
561
  * MLA Gallery Style
562
  *
@@ -579,10 +579,10 @@ class MLABuddyPressHooksExample {
579
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_style_filter $open_values = ' . var_export( $open_values, true ), 0 );
580
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_style_filter $style_template = ' . var_export( $style_template, true ), 0 );
581
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_style_filter $open_template = ' . var_export( $open_template, true ), 0 );
582
-
583
  return $html_markup;
584
  } // mla_gallery_style_filter
585
-
586
  /**
587
  * MLA Gallery Row Open Values
588
  *
@@ -594,7 +594,7 @@ class MLABuddyPressHooksExample {
594
  */
595
  public static function mla_gallery_row_open_values_filter( $markup_values ) {
596
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_row_open_values_filter $markup_values = ' . var_export( $markup_values, true ), 0 );
597
-
598
  return $markup_values;
599
  } // mla_gallery_row_open_values_filter
600
 
@@ -609,7 +609,7 @@ class MLABuddyPressHooksExample {
609
  */
610
  public static function mla_gallery_row_open_template_filter( $row_open_template ) {
611
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_row_open_template_filter $row_open_template = ' . var_export( $row_open_template, true ), 0 );
612
-
613
  return $row_open_template;
614
  } // mla_gallery_row_open_template_filter
615
 
@@ -628,7 +628,7 @@ class MLABuddyPressHooksExample {
628
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_row_open_parse_filter $html_markup = ' . var_export( $html_markup, true ), 0 );
629
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_row_open_parse_filter $row_open_template = ' . var_export( $row_open_template, true ), 0 );
630
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_row_open_parse_filter $markup_values = ' . var_export( $markup_values, true ), 0 );
631
-
632
  return $html_markup;
633
  } // mla_gallery_row_open_parse_filter
634
 
@@ -651,7 +651,7 @@ function rtmedia_get_cover_art_src( $id ) {
651
  }
652
  }
653
  */
654
-
655
  /**
656
  * MLA Gallery Item Values
657
  *
@@ -672,13 +672,13 @@ function rtmedia_get_cover_art_src( $id ) {
672
  if ( ! isset( self::$shortcode_attributes['buddypress_urls'] ) ) {
673
  return $item_values; // leave them unchanged
674
  }
675
-
676
  if ( isset( self::$wp_query_properties ['post_info'][ $item_values['attachment_ID'] ] ) ) {
677
  $post_info = self::$wp_query_properties ['post_info'][ $item_values['attachment_ID'] ];
678
  } else {
679
  return $item_values; // no matching rtMedia item
680
  }
681
-
682
  $new_url = $item_values['site_url'] . '/members/' . $post_info->user_nicename . '/media/' . $post_info->id . '/';
683
  $new_link = str_replace( $item_values['link_url'], $new_url, $item_values['link'] );
684
 
@@ -699,22 +699,22 @@ function rtmedia_get_cover_art_src( $id ) {
699
  if ( ! empty( $post_info->cover_art ) ) {
700
  if ( is_numeric( $post_info->cover_art ) ){
701
  $thumbnail_info = wp_get_attachment_image_src( $post_info->cover_art, 'thumbnail' );
702
-
703
  if ( false === $thumbnail_info ) {
704
  $thumbnail_info = wp_get_attachment_image_src( $post_info->cover_art, 'full' );
705
  }
706
-
707
  if ( is_array( $thumbnail_info ) ) {
708
  $post_info->cover_art = $thumbnail_info[ 0 ];
709
  } else {
710
  $post_info->cover_art = '';
711
  }
712
  }
713
-
714
  if ( ! empty( $post_info->cover_art ) ) {
715
  $new_thumbnail = '<img width="150" height="150" src="' . $post_info->cover_art . '" class="attachment-thumbnail" alt="' . $item_values['thumbnail_content'] . '" />';
716
  $new_link = str_replace( $item_values['thumbnail_content'] . '</a>', $new_thumbnail . '</a>', $new_link );
717
-
718
  $item_values['thumbnail_content'] = $new_thumbnail;
719
  $item_values['thumbnail_width'] = '150';
720
  $item_values['thumbnail_height'] = '150';
@@ -722,10 +722,10 @@ function rtmedia_get_cover_art_src( $id ) {
722
  }
723
  } // has cover art
724
  } // use cover art
725
-
726
  $item_values['link_url'] = $new_url;
727
  $item_values['link'] = $new_link;
728
-
729
  return $item_values;
730
  } // mla_gallery_item_values_filter
731
 
@@ -740,7 +740,7 @@ function rtmedia_get_cover_art_src( $id ) {
740
  */
741
  public static function mla_gallery_item_template_filter( $item_template ) {
742
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_item_template_filter $item_template = ' . var_export( $item_template, true ), 0 );
743
-
744
  return $item_template;
745
  } // mla_gallery_item_template_filter
746
 
@@ -759,10 +759,10 @@ function rtmedia_get_cover_art_src( $id ) {
759
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_item_parse_filter $html_markup = ' . var_export( $html_markup, true ), 0 );
760
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_item_parse_filter $item_template = ' . var_export( $item_template, true ), 0 );
761
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_item_parse_filter $item_values = ' . var_export( $item_values, true ), 0 );
762
-
763
  return $html_markup;
764
  } // mla_gallery_item_parse_filter
765
-
766
  /**
767
  * MLA Gallery Row Close Values
768
  *
@@ -774,7 +774,7 @@ function rtmedia_get_cover_art_src( $id ) {
774
  */
775
  public static function mla_gallery_row_close_values_filter( $markup_values ) {
776
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_row_close_values_filter $markup_values = ' . var_export( $markup_values, true ), 0 );
777
-
778
  return $markup_values;
779
  } // mla_gallery_row_close_values_filter
780
 
@@ -789,7 +789,7 @@ function rtmedia_get_cover_art_src( $id ) {
789
  */
790
  public static function mla_gallery_row_close_template_filter( $row_close_template ) {
791
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_row_close_template_filter $row_close_template = ' . var_export( $row_close_template, true ), 0 );
792
-
793
  return $row_close_template;
794
  } // mla_gallery_row_close_template_filter
795
 
@@ -808,10 +808,10 @@ function rtmedia_get_cover_art_src( $id ) {
808
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_row_close_parse_filter $html_markup = ' . var_export( $html_markup, true ), 0 );
809
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_row_close_parse_filter $row_close_template = ' . var_export( $row_close_template, true ), 0 );
810
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_row_close_parse_filter $markup_values = ' . var_export( $markup_values, true ), 0 );
811
-
812
  return $html_markup;
813
  } // mla_gallery_row_close_parse_filter
814
-
815
  /**
816
  * MLA Gallery Close Values
817
  *
@@ -823,7 +823,7 @@ function rtmedia_get_cover_art_src( $id ) {
823
  */
824
  public static function mla_gallery_close_values_filter( $markup_values ) {
825
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_close_values_filter $markup_values = ' . var_export( $markup_values, true ), 0 );
826
-
827
  return $markup_values;
828
  } // mla_gallery_close_values_filter
829
 
@@ -838,7 +838,7 @@ function rtmedia_get_cover_art_src( $id ) {
838
  */
839
  public static function mla_gallery_close_template_filter( $close_template ) {
840
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_close_template_filter $close_template = ' . var_export( $close_template, true ), 0 );
841
-
842
  return $close_template;
843
  } // mla_gallery_close_template_filter
844
 
@@ -857,10 +857,10 @@ function rtmedia_get_cover_art_src( $id ) {
857
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_close_parse_filter $html_markup = ' . var_export( $html_markup, true ), 0 );
858
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_close_parse_filter $close_template = ' . var_export( $close_template, true ), 0 );
859
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_close_parse_filter $markup_values = ' . var_export( $markup_values, true ), 0 );
860
-
861
  return $html_markup;
862
  } // mla_gallery_close_parse_filter
863
-
864
  } // Class MLABuddyPressHooksExample
865
 
866
  /*
75
  //add_filter( 'mla_gallery_query_arguments', 'MLABuddyPressHooksExample::mla_gallery_query_arguments_filter', 10, 1 );
76
  add_action( 'mla_gallery_wp_query_object', 'MLABuddyPressHooksExample::mla_gallery_wp_query_object_action', 10, 1 );
77
  //add_filter( 'mla_gallery_final_content', 'MLABuddyPressHooksExample::mla_gallery_final_content_filter', 10, 1 );
78
+
79
  //add_filter( 'use_mla_gallery_style', 'MLABuddyPressHooksExample::use_mla_gallery_style_filter', 10, 2 );
80
+
81
  //add_filter( 'mla_gallery_style_values', 'MLABuddyPressHooksExample::mla_gallery_style_values_filter', 10, 1 );
82
  //add_filter( 'mla_gallery_style_template', 'MLABuddyPressHooksExample::mla_gallery_style_template_filter', 10, 1 );
83
  //add_filter( 'mla_gallery_style_parse', 'MLABuddyPressHooksExample::mla_gallery_style_parse_filter', 10, 3 );
84
+
85
  //add_filter( 'mla_gallery_open_values', 'MLABuddyPressHooksExample::mla_gallery_open_values_filter', 10, 1 );
86
  //add_filter( 'mla_gallery_open_template', 'MLABuddyPressHooksExample::mla_gallery_open_template_filter', 10, 1 );
87
  //add_filter( 'mla_gallery_open_parse', 'MLABuddyPressHooksExample::mla_gallery_open_parse_filter', 10, 3 );
88
+
89
  //add_filter( 'mla_gallery_style', 'MLABuddyPressHooksExample::mla_gallery_style_filter', 10, 5 );
90
 
91
  //add_filter( 'mla_gallery_row_open_values', 'MLABuddyPressHooksExample::mla_gallery_row_open_values_filter', 10, 1 );
113
  * @var array
114
  */
115
  private static $shortcode_attributes = array();
116
+
117
  /**
118
  * MLA Gallery Raw (Display) Attributes
119
  *
134
  * Uncomment the error_log statements in any of the filters to see what's passed in
135
  */
136
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_raw_attributes_filter $shortcode_attributes = ' . var_export( $shortcode_attributes, true ), 0 );
137
+
138
  /*
139
  * Note that the global $post; object is available here and in all later filters.
140
  * It contains the post/page on which the [mla_gallery] appears.
143
  */
144
  global $post;
145
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_raw_attributes_filter $post->ID = ' . var_export( $post->ID, true ), 0 );
146
+
147
  return $shortcode_attributes;
148
  } // mla_gallery_raw_attributes_filter
149
 
167
  * Uncomment the error_log statements in any of the filters to see what's passed in
168
  */
169
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_attributes_filter $shortcode_attributes = ' . var_export( $shortcode_attributes, true ), 0 );
170
+
171
  /*
172
  * Save the attributes for use in the later filters
173
  */
184
  * @var NULL|string
185
  */
186
  private static $shortcode_content = NULL;
187
+
188
  /**
189
  * MLA Gallery Enclosed Content, initial filter
190
  *
202
  public static function mla_gallery_initial_content_filter( $shortcode_content, $shortcode_attributes ) {
203
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_initial_content_filter $shortcode_content = ' . var_export( $shortcode_content, true ), 0 );
204
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_initial_content_filter $shortcode_attributes = ' . var_export( $shortcode_attributes, true ), 0 );
205
+
206
  /*
207
  * Save the attributes for use in the later filters
208
  */
219
  * @var array
220
  */
221
  private static $all_display_parameters = array();
222
+
223
  /**
224
  * MLA Gallery (Display) Arguments
225
  *
238
  */
239
  public static function mla_gallery_arguments_filter( $all_display_parameters ) {
240
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_arguments_filter $all_display_parameters = ' . var_export( $all_display_parameters, true ), 0 );
241
+
242
  self::$all_display_parameters = $all_display_parameters;
243
  return $all_display_parameters;
244
  } // mla_gallery_arguments_filter
251
  * @var array
252
  */
253
  private static $query_attributes = array();
254
+
255
  /**
256
  * MLA Gallery Query Attributes
257
  *
270
  */
271
  public static function mla_gallery_query_attributes_filter( $query_attributes ) {
272
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_query_attributes_filter $query_attributes = ' . var_export( $query_attributes, true ), 0 );
273
+
274
  self::$query_attributes = $query_attributes;
275
  return $query_attributes;
276
  } // mla_gallery_query_attributes_filter
283
  * @var array
284
  */
285
  private static $all_query_parameters = array();
286
+
287
  /**
288
  * MLA Gallery Query Arguments
289
  *
298
  */
299
  public static function mla_gallery_query_arguments_filter( $all_query_parameters ) {
300
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_query_arguments_filter $all_query_parameters = ' . var_export( $all_query_parameters, true ), 0 );
301
+
302
  self::$all_query_parameters = $all_query_parameters;
303
+
304
  return $all_query_parameters;
305
  } // mla_gallery_query_arguments_filter
306
 
312
  * @var array
313
  */
314
  private static $wp_query_properties = array();
315
+
316
  /**
317
  * MLA Gallery WP Query Object
318
  *
328
  */
329
  public static function mla_gallery_wp_query_object_action( $query_arguments ) {
330
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_wp_query_object_action $query_arguments = ' . var_export( $query_arguments, true ), 0 );
331
+
332
  self::$wp_query_properties = array();
333
  self::$wp_query_properties ['post_count'] = MLAShortcodes::$mla_gallery_wp_query_object->post_count;
334
+
335
  if ( empty( self::$shortcode_attributes['buddypress_urls'] ) ) {
336
  return; // Don't need custom URLs
337
  }
338
+
339
  if ( 0 == self::$wp_query_properties ['post_count'] ) {
340
  return; // Empty gallery - nothing to do
341
  }
342
+
343
  global $wpdb;
344
+
345
  // Assemble the WordPress attachment IDs
346
  $post_info = array();
347
  foreach( MLAShortcodes::$mla_gallery_wp_query_object->posts as $value ) {
355
  $query[] = "SELECT rtm.id, rtm.media_id, rtm.media_author, rtm.media_type, rtm.cover_art, u.user_nicename FROM {$wpdb->prefix}rt_rtm_media AS rtm";
356
  $query[] = "LEFT JOIN {$wpdb->users} as u";
357
  $query[] = "ON (rtm.media_author = u.ID)";
358
+
359
  $placeholders = array();
360
  foreach ( $post_info as $value ) {
361
  $placeholders[] = '%s';
373
  $post_info[ $value->media_id ] = $value;
374
  }
375
  }
376
+
377
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_wp_query_object_action $post_info = ' . var_export( $post_info, true ), 0 );
378
  self::$wp_query_properties ['post_info'] = $post_info;
379
+
380
  /*
381
  * Unlike Filters, Actions never return anything
382
  */
420
  public static function use_mla_gallery_style_filter( $use_style_template, $style_template_name ) {
421
  //error_log( 'MLABuddyPressHooksExample::use_mla_gallery_style_filter $use_style_template = ' . var_export( $use_style_template, true ), 0 );
422
  //error_log( 'MLABuddyPressHooksExample::use_mla_gallery_style_filter $style_template_name = ' . var_export( $style_template_name, true ), 0 );
423
+
424
  /*
425
  * Filters must return the first argument passed in, unchanged or updated
426
  */
443
  */
444
  public static function mla_gallery_style_values_filter( $style_values ) {
445
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_style_values_filter $style_values = ' . var_export( $style_values, true ), 0 );
446
+
447
  /*
448
  * You also have access to the PHP Super Globals, e.g., $_REQUEST, $_SERVER
449
  */
450
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_style_values_filter $_REQUEST = ' . var_export( $_REQUEST, true ), 0 );
451
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_style_values_filter $_SERVER[ REQUEST_URI ] = ' . var_export( $_SERVER['REQUEST_URI'], true ), 0 );
452
+
453
  /*
454
  * You can use the WordPress globals like $wp_query, $wpdb and $table_prefix as well.
455
  * Note that $wp_query contains values for the post/page query, NOT the [mla_gallery] query.
456
  */
457
  global $wp_query;
458
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_style_values_filter $wp_query->query = ' . var_export( $wp_query->query, true ), 0 );
459
+
460
  return $style_values;
461
  } // mla_gallery_style_values_filter
462
 
476
  */
477
  public static function mla_gallery_style_template_filter( $style_template ) {
478
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_style_template_filter $style_template = ' . var_export( $style_template, true ), 0 );
479
+
480
  return $style_template;
481
  } // mla_gallery_style_template_filter
482
 
501
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_style_parse_filter $html_markup = ' . var_export( $html_markup, true ), 0 );
502
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_style_parse_filter $style_template = ' . var_export( $style_template, true ), 0 );
503
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_style_parse_filter $style_values = ' . var_export( $style_values, true ), 0 );
504
+
505
  return $html_markup;
506
  } // mla_gallery_style_parse_filter
507
+
508
  /**
509
  * MLA Gallery Open Values
510
  *
519
  */
520
  public static function mla_gallery_open_values_filter( $markup_values ) {
521
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_open_values_filter $markup_values = ' . var_export( $markup_values, true ), 0 );
522
+
523
  return $markup_values;
524
  } // mla_gallery_open_values_filter
525
 
534
  */
535
  public static function mla_gallery_open_template_filter( $open_template ) {
536
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_open_template_filter $open_template = ' . var_export( $open_template, true ), 0 );
537
+
538
  return $open_template;
539
  } // mla_gallery_open_template_filter
540
 
553
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_open_parse_filter $html_markup = ' . var_export( $html_markup, true ), 0 );
554
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_open_parse_filter $open_template = ' . var_export( $open_template, true ), 0 );
555
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_open_parse_filter $markup_values = ' . var_export( $markup_values, true ), 0 );
556
+
557
  return $html_markup;
558
  } // mla_gallery_open_parse_filter
559
+
560
  /**
561
  * MLA Gallery Style
562
  *
579
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_style_filter $open_values = ' . var_export( $open_values, true ), 0 );
580
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_style_filter $style_template = ' . var_export( $style_template, true ), 0 );
581
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_style_filter $open_template = ' . var_export( $open_template, true ), 0 );
582
+
583
  return $html_markup;
584
  } // mla_gallery_style_filter
585
+
586
  /**
587
  * MLA Gallery Row Open Values
588
  *
594
  */
595
  public static function mla_gallery_row_open_values_filter( $markup_values ) {
596
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_row_open_values_filter $markup_values = ' . var_export( $markup_values, true ), 0 );
597
+
598
  return $markup_values;
599
  } // mla_gallery_row_open_values_filter
600
 
609
  */
610
  public static function mla_gallery_row_open_template_filter( $row_open_template ) {
611
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_row_open_template_filter $row_open_template = ' . var_export( $row_open_template, true ), 0 );
612
+
613
  return $row_open_template;
614
  } // mla_gallery_row_open_template_filter
615
 
628
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_row_open_parse_filter $html_markup = ' . var_export( $html_markup, true ), 0 );
629
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_row_open_parse_filter $row_open_template = ' . var_export( $row_open_template, true ), 0 );
630
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_row_open_parse_filter $markup_values = ' . var_export( $markup_values, true ), 0 );
631
+
632
  return $html_markup;
633
  } // mla_gallery_row_open_parse_filter
634
 
651
  }
652
  }
653
  */
654
+
655
  /**
656
  * MLA Gallery Item Values
657
  *
672
  if ( ! isset( self::$shortcode_attributes['buddypress_urls'] ) ) {
673
  return $item_values; // leave them unchanged
674
  }
675
+
676
  if ( isset( self::$wp_query_properties ['post_info'][ $item_values['attachment_ID'] ] ) ) {
677
  $post_info = self::$wp_query_properties ['post_info'][ $item_values['attachment_ID'] ];
678
  } else {
679
  return $item_values; // no matching rtMedia item
680
  }
681
+
682
  $new_url = $item_values['site_url'] . '/members/' . $post_info->user_nicename . '/media/' . $post_info->id . '/';
683
  $new_link = str_replace( $item_values['link_url'], $new_url, $item_values['link'] );
684
 
699
  if ( ! empty( $post_info->cover_art ) ) {
700
  if ( is_numeric( $post_info->cover_art ) ){
701
  $thumbnail_info = wp_get_attachment_image_src( $post_info->cover_art, 'thumbnail' );
702
+
703
  if ( false === $thumbnail_info ) {
704
  $thumbnail_info = wp_get_attachment_image_src( $post_info->cover_art, 'full' );
705
  }
706
+
707
  if ( is_array( $thumbnail_info ) ) {
708
  $post_info->cover_art = $thumbnail_info[ 0 ];
709
  } else {
710
  $post_info->cover_art = '';
711
  }
712
  }
713
+
714
  if ( ! empty( $post_info->cover_art ) ) {
715
  $new_thumbnail = '<img width="150" height="150" src="' . $post_info->cover_art . '" class="attachment-thumbnail" alt="' . $item_values['thumbnail_content'] . '" />';
716
  $new_link = str_replace( $item_values['thumbnail_content'] . '</a>', $new_thumbnail . '</a>', $new_link );
717
+
718
  $item_values['thumbnail_content'] = $new_thumbnail;
719
  $item_values['thumbnail_width'] = '150';
720
  $item_values['thumbnail_height'] = '150';
722
  }
723
  } // has cover art
724
  } // use cover art
725
+
726
  $item_values['link_url'] = $new_url;
727
  $item_values['link'] = $new_link;
728
+
729
  return $item_values;
730
  } // mla_gallery_item_values_filter
731
 
740
  */
741
  public static function mla_gallery_item_template_filter( $item_template ) {
742
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_item_template_filter $item_template = ' . var_export( $item_template, true ), 0 );
743
+
744
  return $item_template;
745
  } // mla_gallery_item_template_filter
746
 
759
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_item_parse_filter $html_markup = ' . var_export( $html_markup, true ), 0 );
760
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_item_parse_filter $item_template = ' . var_export( $item_template, true ), 0 );
761
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_item_parse_filter $item_values = ' . var_export( $item_values, true ), 0 );
762
+
763
  return $html_markup;
764
  } // mla_gallery_item_parse_filter
765
+
766
  /**
767
  * MLA Gallery Row Close Values
768
  *
774
  */
775
  public static function mla_gallery_row_close_values_filter( $markup_values ) {
776
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_row_close_values_filter $markup_values = ' . var_export( $markup_values, true ), 0 );
777
+
778
  return $markup_values;
779
  } // mla_gallery_row_close_values_filter
780
 
789
  */
790
  public static function mla_gallery_row_close_template_filter( $row_close_template ) {
791
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_row_close_template_filter $row_close_template = ' . var_export( $row_close_template, true ), 0 );
792
+
793
  return $row_close_template;
794
  } // mla_gallery_row_close_template_filter
795
 
808
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_row_close_parse_filter $html_markup = ' . var_export( $html_markup, true ), 0 );
809
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_row_close_parse_filter $row_close_template = ' . var_export( $row_close_template, true ), 0 );
810
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_row_close_parse_filter $markup_values = ' . var_export( $markup_values, true ), 0 );
811
+
812
  return $html_markup;
813
  } // mla_gallery_row_close_parse_filter
814
+
815
  /**
816
  * MLA Gallery Close Values
817
  *
823
  */
824
  public static function mla_gallery_close_values_filter( $markup_values ) {
825
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_close_values_filter $markup_values = ' . var_export( $markup_values, true ), 0 );
826
+
827
  return $markup_values;
828
  } // mla_gallery_close_values_filter
829
 
838
  */
839
  public static function mla_gallery_close_template_filter( $close_template ) {
840
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_close_template_filter $close_template = ' . var_export( $close_template, true ), 0 );
841
+
842
  return $close_template;
843
  } // mla_gallery_close_template_filter
844
 
857
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_close_parse_filter $html_markup = ' . var_export( $html_markup, true ), 0 );
858
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_close_parse_filter $close_template = ' . var_export( $close_template, true ), 0 );
859
  //error_log( 'MLABuddyPressHooksExample::mla_gallery_close_parse_filter $markup_values = ' . var_export( $markup_values, true ), 0 );
860
+
861
  return $html_markup;
862
  } // mla_gallery_close_parse_filter
863
+
864
  } // Class MLABuddyPressHooksExample
865
 
866
  /*
examples/mla-a-z-cloud-example.php.txt CHANGED
@@ -41,7 +41,7 @@ class MLAAtoZCloudExample {
41
  // Custom A-Z cloud shortcode
42
  add_shortcode( 'az_cloud', 'MLAAtoZCloudExample::a_to_z_cloud_shortcode' );
43
  add_shortcode( 'az_gallery', 'MLAAtoZCloudExample::a_to_z_gallery_shortcode' );
44
-
45
  // [mla_gallery] hooks
46
  add_filter( 'mla_gallery_attributes', 'MLAAtoZCloudExample::mla_gallery_attributes_filter', 10, 1 );
47
  add_filter( 'mla_gallery_item_values', 'MLAAtoZCloudExample::mla_gallery_item_values_filter', 10, 1 );
@@ -59,7 +59,7 @@ class MLAAtoZCloudExample {
59
  */
60
  public static function a_to_z_cloud_shortcode( $attr ) {
61
  global $wpdb;
62
-
63
  $default_arguments = array(
64
  'post_mime_type' => 'application/pdf',
65
  'link_href' => '.',
@@ -92,7 +92,7 @@ class MLAAtoZCloudExample {
92
  $query_parameters = array();
93
 
94
  $query[] = "SELECT UCASE( MID( post_title, 1, 1 ) ) AS first_letter, COUNT( ID ) AS count FROM {$wpdb->posts}";
95
-
96
  if ( empty( $ids ) ) {
97
  $query[] = "WHERE ( 1=1";
98
  } else {
@@ -109,7 +109,7 @@ class MLAAtoZCloudExample {
109
  } else {
110
  $query[] = ')';
111
  }
112
-
113
  $query[] = "GROUP BY first_letter";
114
 
115
  $query = join(' ', $query);
@@ -130,7 +130,7 @@ class MLAAtoZCloudExample {
130
  }
131
 
132
  $is_list = 'list' == $arguments['output'];
133
-
134
  if ( $is_list ) {
135
  $output .= '<' . $arguments['listtag'] . '>' . $arguments['separator'];
136
  }
@@ -140,17 +140,17 @@ class MLAAtoZCloudExample {
140
  } else {
141
  $current_item = '';
142
  }
143
-
144
  foreach( $results as $result ) {
145
  if ( $current_item == $result->first_letter ) {
146
  $class = $arguments['selected_class'];
147
  } else {
148
  $class = '';
149
  }
150
-
151
  $href = sprintf( '%1$s?%2$s=%3$s',
152
  $arguments['link_href'], $arguments['selected_attribute'], $result->first_letter );
153
-
154
  if ( 1 == $result->count ) {
155
  $title = sprintf( $arguments['single_text'], $result->count );
156
  } else {
@@ -159,18 +159,18 @@ class MLAAtoZCloudExample {
159
 
160
  $link = sprintf( '<a class="%1$s" href="%2$s" title="%3$s">%4$s</a>%5$s',
161
  $class, $href, $title, $result->first_letter, $arguments['separator'] );
162
-
163
  if ( $is_list ) {
164
  $output .= '<' . $arguments['itemtag'] . '>' . $link . '</' . $arguments['itemtag'] . '>' . $arguments['separator'];
165
  } else {
166
  $output .= $link . $arguments['separator'];
167
  }
168
  }
169
-
170
  if ( $is_list ) {
171
  $output .= '</' . $arguments['listtag'] . '>' . $arguments['separator'];
172
  }
173
-
174
  return $output;
175
  } //a_to_z_cloud_shortcode
176
 
@@ -185,7 +185,7 @@ class MLAAtoZCloudExample {
185
  */
186
  public static function a_to_z_gallery_shortcode( $attr ) {
187
  global $wpdb;
188
-
189
  $a_to_z_arguments = array(
190
  'selected_attribute' => 'first_letter',
191
  'collapse_o_matic' => 'true',
@@ -235,7 +235,7 @@ class MLAAtoZCloudExample {
235
 
236
  if ( isset( $_REQUEST[ $arguments['selected_attribute'] ] ) ) {
237
  $current_item = $_REQUEST[ $arguments['selected_attribute'] ];
238
-
239
  // Find IDs assigned to taxonomy term(s), if specified
240
  $ids = self::find_term_relationships( $attr );
241
 
@@ -244,7 +244,7 @@ class MLAAtoZCloudExample {
244
  $query_parameters = array();
245
 
246
  $query[] = "SELECT post_title, ID FROM {$wpdb->posts}";
247
-
248
  if ( empty( $ids ) ) {
249
  $query[] = "WHERE ( 1=1";
250
  } else {
@@ -262,7 +262,7 @@ class MLAAtoZCloudExample {
262
  } else {
263
  $query[] = ')';
264
  }
265
-
266
  $query[] = "ORDER BY post_title";
267
 
268
  $query = join(' ', $query);
@@ -279,11 +279,11 @@ class MLAAtoZCloudExample {
279
  $old_ids = array();
280
  // Accumulate this directly to allow quote and double-quote characters in content
281
  self::$mla_fixed_values = array();
282
-
283
  if ( $is_list && ! empty( $arguments['az_listtag'] ) ) {
284
  $output .= "<{$arguments['az_listtag']}>{$arguments['az_separator']}";
285
  }
286
-
287
  foreach ( $results as $result ) {
288
  // Find the song title and optional part
289
  $title = $result->post_title;
@@ -295,7 +295,7 @@ class MLAAtoZCloudExample {
295
  $song = substr( $title, 0, $divide );
296
  $part = substr( $title, $divide + 3 );
297
  }
298
-
299
  // If the song has changed, output the previous entry
300
  if ( $old_song && $old_song != $song ) {
301
  $output .= self::format_title_and_gallery( $old_song, $old_ids, $mla_arguments, $arguments );
@@ -310,12 +310,12 @@ class MLAAtoZCloudExample {
310
  $old_ids[] = $result->ID;
311
  self::$mla_fixed_values['mla_fixed_part'][] = $part;
312
  }
313
-
314
  // Flush the last entry
315
  if ( $old_song ) {
316
  $output .= self::format_title_and_gallery( $old_song, $old_ids, $mla_arguments, $arguments );
317
  }
318
-
319
  if ( $is_list && ! empty( $arguments['az_listtag'] ) ) {
320
  $output .= "</{$arguments['az_listtag']}>{$arguments['az_separator']}";
321
  }
@@ -339,28 +339,28 @@ class MLAAtoZCloudExample {
339
  $is_list = 'list' == strtolower( trim( $arguments['az_output'] ) );
340
  $is_collapse = 'true' == strtolower( trim( $arguments['collapse_o_matic'] ) );
341
  $output = '';
342
-
343
  if ( $is_list ) {
344
  $output .= "<{$arguments['az_itemtag']}>{$arguments['az_separator']}";
345
  }
346
-
347
  if ( $is_collapse ) {
348
  $output .= "[expand title='" . esc_attr( $title ) . "']{$arguments['az_separator']}";
349
  } else {
350
  $output .= "{$title}<br>{$arguments['az_separator']}";
351
  }
352
-
353
  $output .= "[mla_gallery ids='" . implode( ',', $ids ) . "' ";
354
  $output .= $mla_arguments . "]{$arguments['az_separator']}";
355
-
356
  if ( $is_collapse ) {
357
  $output .= "[/expand]{$arguments['az_separator']}";
358
  }
359
-
360
  if ( $is_list ) {
361
  $output .= "</{$arguments['az_itemtag']}>{$arguments['az_separator']}";
362
  }
363
-
364
  return do_shortcode( $output );
365
  } //format_title_and_gallery
366
 
@@ -375,17 +375,17 @@ class MLAAtoZCloudExample {
375
  */
376
  private static function find_term_relationships( $attr ) {
377
  global $wpdb;
378
-
379
  // Start with empty "taxonomy" parameter values
380
  $ttids = array();
381
-
382
  // Find taxonomy argument, if present, and collect terms
383
  $taxonomies = get_taxonomies( array( 'object_type' => array( 'attachment' ) ), 'names' );
384
  foreach( $taxonomies as $taxonomy ) {
385
  if ( empty( $attr[ $taxonomy ] ) ) {
386
  continue;
387
  }
388
-
389
  // Found the taxonomy; collect the terms
390
  $include_children = isset( $attr['include_children'] ) && 'true' == strtolower( trim( $my_query_vars['include_children'] ) );
391
 
@@ -409,10 +409,10 @@ class MLAAtoZCloudExample {
409
  }
410
  } // include_children
411
  } // $term
412
-
413
  break;
414
  }
415
-
416
  // Pre-select the items assigned to the taxonomy terms
417
  $ids = array();
418
  if ( ! empty( $ttids ) ) {
@@ -432,7 +432,7 @@ class MLAAtoZCloudExample {
432
  $placeholders[] = '%s';
433
  $query_parameters[] = '0';
434
  }
435
-
436
  $query[] = 'WHERE ( tr.term_taxonomy_id IN (' . join( ',', $placeholders ) . ') )';
437
  $query = join(' ', $query);
438
  $results = $wpdb->get_results( $wpdb->prepare( $query, $query_parameters ) );
@@ -496,7 +496,7 @@ class MLAAtoZCloudExample {
496
  *
497
  * You can have as many "mla_fixed_" parameters as you need for different values.
498
  */
499
-
500
  if ( false === self::$mla_fixed_values ) {
501
  return $item_values; // leave them unchanged
502
  }
41
  // Custom A-Z cloud shortcode
42
  add_shortcode( 'az_cloud', 'MLAAtoZCloudExample::a_to_z_cloud_shortcode' );
43
  add_shortcode( 'az_gallery', 'MLAAtoZCloudExample::a_to_z_gallery_shortcode' );
44
+
45
  // [mla_gallery] hooks
46
  add_filter( 'mla_gallery_attributes', 'MLAAtoZCloudExample::mla_gallery_attributes_filter', 10, 1 );
47
  add_filter( 'mla_gallery_item_values', 'MLAAtoZCloudExample::mla_gallery_item_values_filter', 10, 1 );
59
  */
60
  public static function a_to_z_cloud_shortcode( $attr ) {
61
  global $wpdb;
62
+
63
  $default_arguments = array(
64
  'post_mime_type' => 'application/pdf',
65
  'link_href' => '.',
92
  $query_parameters = array();
93
 
94
  $query[] = "SELECT UCASE( MID( post_title, 1, 1 ) ) AS first_letter, COUNT( ID ) AS count FROM {$wpdb->posts}";
95
+
96
  if ( empty( $ids ) ) {
97
  $query[] = "WHERE ( 1=1";
98
  } else {
109
  } else {
110
  $query[] = ')';
111
  }
112
+
113
  $query[] = "GROUP BY first_letter";
114
 
115
  $query = join(' ', $query);
130
  }
131
 
132
  $is_list = 'list' == $arguments['output'];
133
+
134
  if ( $is_list ) {
135
  $output .= '<' . $arguments['listtag'] . '>' . $arguments['separator'];
136
  }
140
  } else {
141
  $current_item = '';
142
  }
143
+
144
  foreach( $results as $result ) {
145
  if ( $current_item == $result->first_letter ) {
146
  $class = $arguments['selected_class'];
147
  } else {
148
  $class = '';
149
  }
150
+
151
  $href = sprintf( '%1$s?%2$s=%3$s',
152
  $arguments['link_href'], $arguments['selected_attribute'], $result->first_letter );
153
+
154
  if ( 1 == $result->count ) {
155
  $title = sprintf( $arguments['single_text'], $result->count );
156
  } else {
159
 
160
  $link = sprintf( '<a class="%1$s" href="%2$s" title="%3$s">%4$s</a>%5$s',
161
  $class, $href, $title, $result->first_letter, $arguments['separator'] );
162
+
163
  if ( $is_list ) {
164
  $output .= '<' . $arguments['itemtag'] . '>' . $link . '</' . $arguments['itemtag'] . '>' . $arguments['separator'];
165
  } else {
166
  $output .= $link . $arguments['separator'];
167
  }
168
  }
169
+
170
  if ( $is_list ) {
171
  $output .= '</' . $arguments['listtag'] . '>' . $arguments['separator'];
172
  }
173
+
174
  return $output;
175
  } //a_to_z_cloud_shortcode
176
 
185
  */
186
  public static function a_to_z_gallery_shortcode( $attr ) {
187
  global $wpdb;
188
+
189
  $a_to_z_arguments = array(
190
  'selected_attribute' => 'first_letter',
191
  'collapse_o_matic' => 'true',
235
 
236
  if ( isset( $_REQUEST[ $arguments['selected_attribute'] ] ) ) {
237
  $current_item = $_REQUEST[ $arguments['selected_attribute'] ];
238
+
239
  // Find IDs assigned to taxonomy term(s), if specified
240
  $ids = self::find_term_relationships( $attr );
241
 
244
  $query_parameters = array();
245
 
246
  $query[] = "SELECT post_title, ID FROM {$wpdb->posts}";
247
+
248
  if ( empty( $ids ) ) {
249
  $query[] = "WHERE ( 1=1";
250
  } else {
262
  } else {
263
  $query[] = ')';
264
  }
265
+
266
  $query[] = "ORDER BY post_title";
267
 
268
  $query = join(' ', $query);
279
  $old_ids = array();
280
  // Accumulate this directly to allow quote and double-quote characters in content
281
  self::$mla_fixed_values = array();
282
+
283
  if ( $is_list && ! empty( $arguments['az_listtag'] ) ) {
284
  $output .= "<{$arguments['az_listtag']}>{$arguments['az_separator']}";
285
  }
286
+
287
  foreach ( $results as $result ) {
288
  // Find the song title and optional part
289
  $title = $result->post_title;
295
  $song = substr( $title, 0, $divide );
296
  $part = substr( $title, $divide + 3 );
297
  }
298
+
299
  // If the song has changed, output the previous entry
300
  if ( $old_song && $old_song != $song ) {
301
  $output .= self::format_title_and_gallery( $old_song, $old_ids, $mla_arguments, $arguments );
310
  $old_ids[] = $result->ID;
311
  self::$mla_fixed_values['mla_fixed_part'][] = $part;
312
  }
313
+
314
  // Flush the last entry
315
  if ( $old_song ) {
316
  $output .= self::format_title_and_gallery( $old_song, $old_ids, $mla_arguments, $arguments );
317
  }
318
+
319
  if ( $is_list && ! empty( $arguments['az_listtag'] ) ) {
320
  $output .= "</{$arguments['az_listtag']}>{$arguments['az_separator']}";
321
  }
339
  $is_list = 'list' == strtolower( trim( $arguments['az_output'] ) );
340
  $is_collapse = 'true' == strtolower( trim( $arguments['collapse_o_matic'] ) );
341
  $output = '';
342
+
343
  if ( $is_list ) {
344
  $output .= "<{$arguments['az_itemtag']}>{$arguments['az_separator']}";
345
  }
346
+
347
  if ( $is_collapse ) {
348
  $output .= "[expand title='" . esc_attr( $title ) . "']{$arguments['az_separator']}";
349
  } else {
350
  $output .= "{$title}<br>{$arguments['az_separator']}";
351
  }
352
+
353
  $output .= "[mla_gallery ids='" . implode( ',', $ids ) . "' ";
354
  $output .= $mla_arguments . "]{$arguments['az_separator']}";
355
+
356
  if ( $is_collapse ) {
357
  $output .= "[/expand]{$arguments['az_separator']}";
358
  }
359
+
360
  if ( $is_list ) {
361
  $output .= "</{$arguments['az_itemtag']}>{$arguments['az_separator']}";
362
  }
363
+
364
  return do_shortcode( $output );
365
  } //format_title_and_gallery
366
 
375
  */
376
  private static function find_term_relationships( $attr ) {
377
  global $wpdb;
378
+
379
  // Start with empty "taxonomy" parameter values
380
  $ttids = array();
381
+
382
  // Find taxonomy argument, if present, and collect terms
383
  $taxonomies = get_taxonomies( array( 'object_type' => array( 'attachment' ) ), 'names' );
384
  foreach( $taxonomies as $taxonomy ) {
385
  if ( empty( $attr[ $taxonomy ] ) ) {
386
  continue;
387
  }
388
+
389
  // Found the taxonomy; collect the terms
390
  $include_children = isset( $attr['include_children'] ) && 'true' == strtolower( trim( $my_query_vars['include_children'] ) );
391
 
409
  }
410
  } // include_children
411
  } // $term
412
+
413
  break;
414
  }
415
+
416
  // Pre-select the items assigned to the taxonomy terms
417
  $ids = array();
418
  if ( ! empty( $ttids ) ) {
432
  $placeholders[] = '%s';
433
  $query_parameters[] = '0';
434
  }
435
+
436
  $query[] = 'WHERE ( tr.term_taxonomy_id IN (' . join( ',', $placeholders ) . ') )';
437
  $query = join(' ', $query);
438
  $results = $wpdb->get_results( $wpdb->prepare( $query, $query_parameters ) );
496
  *
497
  * You can have as many "mla_fixed_" parameters as you need for different values.
498
  */
499
+
500
  if ( false === self::$mla_fixed_values ) {
501
  return $item_values; // leave them unchanged
502
  }
examples/mla-acf-checkbox-example.php.txt CHANGED
@@ -126,7 +126,7 @@ class MLAACFCheckboxExample {
126
  $_REQUEST['custom_updates']['acf_checkbox'] = explode( ',', $_REQUEST['custom_updates']['acf_checkbox'] );
127
  }
128
  }
129
-
130
  return $item_content;
131
  } // mla_list_table_inline_action
132
 
@@ -155,7 +155,7 @@ class MLAACFCheckboxExample {
155
  $request[ $slug ] = '';
156
  }
157
  }
158
-
159
  return $request;
160
  } // mla_list_table_bulk_action_initial_request
161
 
@@ -199,7 +199,7 @@ class MLAACFCheckboxExample {
199
  $item_content = array( 'message' => sprintf( __( 'Adding %1$s = %2$s', 'media-library-assistant' ) . '<br>', 'acf_checkbox', self::$acf_checkbox_value ) );
200
  }
201
  }
202
-
203
  return $item_content;
204
  } // mla_list_table_bulk_action
205
 
@@ -221,7 +221,7 @@ class MLAACFCheckboxExample {
221
  */
222
  $item_values['custom_fields'] = str_replace( '>acf_checkbox<', '>ACF Checkbox<', $item_values['custom_fields'] );
223
  $item_values['bulk_custom_fields'] = str_replace( '>acf_checkbox<', '>ACF Checkbox<', $item_values['bulk_custom_fields'] );
224
-
225
  return $item_values;
226
  } // mla_list_table_inline_values
227
 
@@ -253,13 +253,13 @@ class MLAACFCheckboxExample {
253
  */
254
  if ( false !== $slug = array_search( 'acf_checkbox', $columns ) ) {
255
  self::$field_slugs['acf_checkbox'] = $slug;
256
-
257
  /*
258
  * Change the column slug so we can provide our own friendly content.
259
  * Replace the entry for the column we're capturing, preserving its place in the list
260
  */
261
  $new_columns = array();
262
-
263
  foreach ( $columns as $key => $value ) {
264
  if ( $key == $slug ) {
265
  $new_columns['acf_checkbox'] = 'acf_checkbox';
@@ -267,10 +267,10 @@ class MLAACFCheckboxExample {
267
  $new_columns[ $key ] = $value;
268
  }
269
  } // foreach column
270
-
271
  $columns = $new_columns;
272
  }
273
-
274
  return $columns;
275
  } // mla_list_table_get_columns_filter
276
 
@@ -296,7 +296,7 @@ class MLAACFCheckboxExample {
296
  $hidden_columns[ $index ] = 'acf_checkbox';
297
  }
298
  }
299
-
300
  return $hidden_columns;
301
  } // mla_list_table_get_hidden_columns_filter
302
 
@@ -324,7 +324,7 @@ class MLAACFCheckboxExample {
324
  $slug = self::$field_slugs['acf_checkbox'];
325
  if ( isset( $sortable_columns[ $slug ] ) ) {
326
  $new_columns = array();
327
-
328
  foreach ( $sortable_columns as $key => $value ) {
329
  if ( $key == $slug ) {
330
  $new_columns['acf_checkbox'] = $value;
@@ -332,7 +332,7 @@ class MLAACFCheckboxExample {
332
  $new_columns[ $key ] = $value;
333
  }
334
  } // foreach column
335
-
336
  $sortable_columns = $new_columns;
337
  } // slug found
338
  } // slug exists
@@ -367,7 +367,7 @@ class MLAACFCheckboxExample {
367
  return $values;
368
  }
369
  }
370
-
371
  return $content;
372
  } // mla_list_table_column_default_filter
373
 
@@ -391,7 +391,7 @@ class MLAACFCheckboxExample {
391
  if ( ! isset( self::$field_slugs['acf_checkbox'] ) ) {
392
  return $inline_data;
393
  }
394
-
395
  /*
396
  * Convert the ACF-compatible array to a comma-delimited list of
397
  * "checked" checkbox values.
@@ -410,7 +410,7 @@ class MLAACFCheckboxExample {
410
  $inline_data = $head . $value . $tail;
411
  }
412
  }
413
-
414
  return $inline_data;
415
  } // mla_list_table_build_inline_data_filter
416
  } // Class MLAACFCheckboxExample
126
  $_REQUEST['custom_updates']['acf_checkbox'] = explode( ',', $_REQUEST['custom_updates']['acf_checkbox'] );
127
  }
128
  }
129
+
130
  return $item_content;
131
  } // mla_list_table_inline_action
132
 
155
  $request[ $slug ] = '';
156
  }
157
  }
158
+
159
  return $request;
160
  } // mla_list_table_bulk_action_initial_request
161
 
199
  $item_content = array( 'message' => sprintf( __( 'Adding %1$s = %2$s', 'media-library-assistant' ) . '<br>', 'acf_checkbox', self::$acf_checkbox_value ) );
200
  }
201
  }
202
+
203
  return $item_content;
204
  } // mla_list_table_bulk_action
205
 
221
  */
222
  $item_values['custom_fields'] = str_replace( '>acf_checkbox<', '>ACF Checkbox<', $item_values['custom_fields'] );
223
  $item_values['bulk_custom_fields'] = str_replace( '>acf_checkbox<', '>ACF Checkbox<', $item_values['bulk_custom_fields'] );
224
+
225
  return $item_values;
226
  } // mla_list_table_inline_values
227
 
253
  */
254
  if ( false !== $slug = array_search( 'acf_checkbox', $columns ) ) {
255
  self::$field_slugs['acf_checkbox'] = $slug;
256
+
257
  /*
258
  * Change the column slug so we can provide our own friendly content.
259
  * Replace the entry for the column we're capturing, preserving its place in the list
260
  */
261
  $new_columns = array();
262
+
263
  foreach ( $columns as $key => $value ) {
264
  if ( $key == $slug ) {
265
  $new_columns['acf_checkbox'] = 'acf_checkbox';
267
  $new_columns[ $key ] = $value;
268
  }
269
  } // foreach column
270
+
271
  $columns = $new_columns;
272
  }
273
+
274
  return $columns;
275
  } // mla_list_table_get_columns_filter
276
 
296
  $hidden_columns[ $index ] = 'acf_checkbox';
297
  }
298
  }
299
+
300
  return $hidden_columns;
301
  } // mla_list_table_get_hidden_columns_filter
302
 
324
  $slug = self::$field_slugs['acf_checkbox'];
325
  if ( isset( $sortable_columns[ $slug ] ) ) {
326
  $new_columns = array();
327
+
328
  foreach ( $sortable_columns as $key => $value ) {
329
  if ( $key == $slug ) {
330
  $new_columns['acf_checkbox'] = $value;
332
  $new_columns[ $key ] = $value;
333
  }
334
  } // foreach column
335
+
336
  $sortable_columns = $new_columns;
337
  } // slug found
338
  } // slug exists
367
  return $values;
368
  }
369
  }
370
+
371
  return $content;
372
  } // mla_list_table_column_default_filter
373
 
391
  if ( ! isset( self::$field_slugs['acf_checkbox'] ) ) {
392
  return $inline_data;
393
  }
394
+
395
  /*
396
  * Convert the ACF-compatible array to a comma-delimited list of
397
  * "checked" checkbox values.
410
  $inline_data = $head . $value . $tail;
411
  }
412
  }
413
+
414
  return $inline_data;
415
  } // mla_list_table_build_inline_data_filter
416
  } // Class MLAACFCheckboxExample
examples/mla-advanced-custom-fields-example.php.txt CHANGED
@@ -167,7 +167,7 @@ class MLAACFExample {
167
  $_REQUEST['custom_updates'][ self::ACF_CHECKBOX_FIELD ] = explode( ',', $_REQUEST['custom_updates'][ self::ACF_CHECKBOX_FIELD ] );
168
  }
169
  }
170
-
171
  return $item_content;
172
  } // mla_list_table_inline_action
173
 
@@ -196,7 +196,7 @@ class MLAACFExample {
196
  $request[ $slug ] = '';
197
  }
198
  }
199
-
200
  return $request;
201
  } // mla_list_table_bulk_action_initial_request
202
 
@@ -240,7 +240,7 @@ class MLAACFExample {
240
  $item_content = array( 'message' => sprintf( __( 'Adding %1$s = %2$s', 'media-library-assistant' ) . '<br>', self::ACF_CHECKBOX_FIELD, self::$acf_checkbox_value ) );
241
  }
242
  }
243
-
244
  return $item_content;
245
  } // mla_list_table_bulk_action
246
 
@@ -262,7 +262,7 @@ class MLAACFExample {
262
  */
263
  $item_values['custom_fields'] = str_replace( '>acf_checkbox<', '>' . self::ACF_CHECKBOX_TITLE . '<', $item_values['custom_fields'] );
264
  $item_values['bulk_custom_fields'] = str_replace( '>acf_checkbox<', '>' . self::ACF_CHECKBOX_TITLE . '<', $item_values['bulk_custom_fields'] );
265
-
266
  return $item_values;
267
  } // mla_list_table_inline_values
268
 
@@ -294,13 +294,13 @@ class MLAACFExample {
294
  */
295
  if ( false !== $slug = array_search( self::ACF_CHECKBOX_FIELD, $columns ) ) {
296
  self::$field_slugs[ self::ACF_CHECKBOX_FIELD ] = $slug;
297
-
298
  /*
299
  * Change the column slug so we can provide our own friendly content.
300
  * Replace the entry for the column we're capturing, preserving its place in the list
301
  */
302
  $new_columns = array();
303
-
304
  foreach ( $columns as $key => $value ) {
305
  if ( $key == $slug ) {
306
  $new_columns[ self::ACF_CHECKBOX_FIELD ] = self::ACF_CHECKBOX_TITLE;
@@ -308,10 +308,10 @@ class MLAACFExample {
308
  $new_columns[ $key ] = $value;
309
  }
310
  } // foreach column
311
-
312
  $columns = $new_columns;
313
  }
314
-
315
  /*
316
  * Add a column of our own for the repeater "where-used" information
317
  */
@@ -341,7 +341,7 @@ class MLAACFExample {
341
  $hidden_columns[ $index ] = self::ACF_CHECKBOX_FIELD;
342
  }
343
  }
344
-
345
  return $hidden_columns;
346
  } // mla_list_table_get_hidden_columns
347
 
@@ -369,7 +369,7 @@ class MLAACFExample {
369
  $slug = self::$field_slugs[ self::ACF_CHECKBOX_FIELD ];
370
  if ( isset( $sortable_columns[ $slug ] ) ) {
371
  $new_columns = array();
372
-
373
  foreach ( $sortable_columns as $key => $value ) {
374
  if ( $key == $slug ) {
375
  $new_columns[ self::ACF_CHECKBOX_FIELD ] = $value;
@@ -377,7 +377,7 @@ class MLAACFExample {
377
  $new_columns[ $key ] = $value;
378
  }
379
  } // foreach column
380
-
381
  $sortable_columns = $new_columns;
382
  } // slug found
383
  } // slug exists
@@ -412,7 +412,7 @@ class MLAACFExample {
412
  default:
413
  $flag = '';
414
  }
415
-
416
  return $flag;
417
  }
418
 
@@ -443,7 +443,7 @@ class MLAACFExample {
443
  return $values;
444
  }
445
  }
446
-
447
  /*
448
  * Retrieve and format the repeater field "where-used" information
449
  */
@@ -466,7 +466,7 @@ class MLAACFExample {
466
  // key on post_id to remove duplicates
467
  $parents[ $reference->post_id ] = $reference->post_id;
468
  }
469
-
470
  $parents = implode( ',', $parents );
471
  $references = $wpdb->get_results(
472
  "
@@ -478,13 +478,13 @@ class MLAACFExample {
478
 
479
  foreach ( $references as $reference ) {
480
  $status = self::_format_post_status( $reference->post_status );
481
-
482
  if ( $reference->ID == $item->post_parent ) {
483
  $parent = ',<br>' . __( 'PARENT', 'media-library-assistant' );
484
  } else {
485
  $parent = '';
486
  }
487
-
488
  $content .= sprintf( '<a href="%1$s" title="' . __( 'Edit', 'media-library-assistant' ) . ' &#8220;%2$s&#8221;">%2$s</a> (%3$s %4$s%5$s%6$s), ',
489
  /*%1$s*/ esc_url( add_query_arg( array('post' => $reference->ID, 'action' => 'edit'), 'post.php' ) ),
490
  /*%2$s*/ esc_attr( $reference->post_title ),
@@ -495,7 +495,7 @@ class MLAACFExample {
495
  } // foreach $reference
496
  } // found $references
497
  } // found repeater column
498
-
499
  return $content;
500
  } // mla_list_table_column_default
501
 
@@ -519,7 +519,7 @@ class MLAACFExample {
519
  if ( ! isset( self::$field_slugs[ self::ACF_CHECKBOX_FIELD ] ) ) {
520
  return $inline_data;
521
  }
522
-
523
  /*
524
  * Convert the ACF-compatible array to a comma-delimited list of
525
  * "checked" checkbox values.
@@ -538,7 +538,7 @@ class MLAACFExample {
538
  $inline_data = $head . $value . $tail;
539
  }
540
  }
541
-
542
  return $inline_data;
543
  } // mla_list_table_build_inline_data
544
  } // Class MLAACFExample
167
  $_REQUEST['custom_updates'][ self::ACF_CHECKBOX_FIELD ] = explode( ',', $_REQUEST['custom_updates'][ self::ACF_CHECKBOX_FIELD ] );
168
  }
169
  }
170
+
171
  return $item_content;
172
  } // mla_list_table_inline_action
173
 
196
  $request[ $slug ] = '';
197
  }
198
  }
199
+
200
  return $request;
201
  } // mla_list_table_bulk_action_initial_request
202
 
240
  $item_content = array( 'message' => sprintf( __( 'Adding %1$s = %2$s', 'media-library-assistant' ) . '<br>', self::ACF_CHECKBOX_FIELD, self::$acf_checkbox_value ) );
241
  }
242
  }
243
+
244
  return $item_content;
245
  } // mla_list_table_bulk_action
246
 
262
  */
263
  $item_values['custom_fields'] = str_replace( '>acf_checkbox<', '>' . self::ACF_CHECKBOX_TITLE . '<', $item_values['custom_fields'] );
264
  $item_values['bulk_custom_fields'] = str_replace( '>acf_checkbox<', '>' . self::ACF_CHECKBOX_TITLE . '<', $item_values['bulk_custom_fields'] );
265
+
266
  return $item_values;
267
  } // mla_list_table_inline_values
268
 
294
  */
295
  if ( false !== $slug = array_search( self::ACF_CHECKBOX_FIELD, $columns ) ) {
296
  self::$field_slugs[ self::ACF_CHECKBOX_FIELD ] = $slug;
297
+
298
  /*
299
  * Change the column slug so we can provide our own friendly content.
300
  * Replace the entry for the column we're capturing, preserving its place in the list
301
  */
302
  $new_columns = array();
303
+
304
  foreach ( $columns as $key => $value ) {
305
  if ( $key == $slug ) {
306
  $new_columns[ self::ACF_CHECKBOX_FIELD ] = self::ACF_CHECKBOX_TITLE;
308
  $new_columns[ $key ] = $value;
309
  }
310
  } // foreach column
311
+
312
  $columns = $new_columns;
313
  }
314
+
315
  /*
316
  * Add a column of our own for the repeater "where-used" information
317
  */
341
  $hidden_columns[ $index ] = self::ACF_CHECKBOX_FIELD;
342
  }
343
  }
344
+
345
  return $hidden_columns;
346
  } // mla_list_table_get_hidden_columns
347
 
369
  $slug = self::$field_slugs[ self::ACF_CHECKBOX_FIELD ];
370
  if ( isset( $sortable_columns[ $slug ] ) ) {
371
  $new_columns = array();
372
+
373
  foreach ( $sortable_columns as $key => $value ) {
374
  if ( $key == $slug ) {
375
  $new_columns[ self::ACF_CHECKBOX_FIELD ] = $value;
377
  $new_columns[ $key ] = $value;
378
  }
379
  } // foreach column
380
+
381
  $sortable_columns = $new_columns;
382
  } // slug found
383
  } // slug exists
412
  default:
413
  $flag = '';
414
  }
415
+
416
  return $flag;
417
  }
418
 
443
  return $values;
444
  }
445
  }
446
+
447
  /*
448
  * Retrieve and format the repeater field "where-used" information
449
  */
466
  // key on post_id to remove duplicates
467
  $parents[ $reference->post_id ] = $reference->post_id;
468
  }
469
+
470
  $parents = implode( ',', $parents );
471
  $references = $wpdb->get_results(
472
  "
478
 
479
  foreach ( $references as $reference ) {
480
  $status = self::_format_post_status( $reference->post_status );
481
+
482
  if ( $reference->ID == $item->post_parent ) {
483
  $parent = ',<br>' . __( 'PARENT', 'media-library-assistant' );
484
  } else {
485
  $parent = '';
486
  }
487
+
488
  $content .= sprintf( '<a href="%1$s" title="' . __( 'Edit', 'media-library-assistant' ) . ' &#8220;%2$s&#8221;">%2$s</a> (%3$s %4$s%5$s%6$s), ',
489
  /*%1$s*/ esc_url( add_query_arg( array('post' => $reference->ID, 'action' => 'edit'), 'post.php' ) ),
490
  /*%2$s*/ esc_attr( $reference->post_title ),
495
  } // foreach $reference
496
  } // found $references
497
  } // found repeater column
498
+
499
  return $content;
500
  } // mla_list_table_column_default
501
 
519
  if ( ! isset( self::$field_slugs[ self::ACF_CHECKBOX_FIELD ] ) ) {
520
  return $inline_data;
521
  }
522
+
523
  /*
524
  * Convert the ACF-compatible array to a comma-delimited list of
525
  * "checked" checkbox values.
538
  $inline_data = $head . $value . $tail;
539
  }
540
  }
541
+
542
  return $inline_data;
543
  } // mla_list_table_build_inline_data
544
  } // Class MLAACFExample
examples/mla-audio-shortcode-example.php.txt CHANGED
@@ -131,7 +131,7 @@ class MLAAudioShortcodeExample {
131
  $audio_args['src'] = $item_values['base_url'] . '/' . $item_values['base_file'];
132
  $item_values['link'] = wp_audio_shortcode( $audio_args );
133
  }
134
-
135
  return $item_values;
136
  } // mla_gallery_item_values_filter
137
  } // Class MLAAudioShortcodeExample
131
  $audio_args['src'] = $item_values['base_url'] . '/' . $item_values['base_file'];
132
  $item_values['link'] = wp_audio_shortcode( $audio_args );
133
  }
134
+
135
  return $item_values;
136
  } // mla_gallery_item_values_filter
137
  } // Class MLAAudioShortcodeExample
examples/mla-custom-field-search-example.php.txt CHANGED
@@ -107,7 +107,7 @@ class MLACustomFieldSearchExample {
107
  self::$custom_field_parameters = array();
108
  }
109
  } // isset s=custom:
110
-
111
  return $mla_list_table;
112
  } // mla_list_table_new_instance
113
 
@@ -143,17 +143,17 @@ class MLACustomFieldSearchExample {
143
  if ( ! ( isset( $request['offset'] ) && isset( $request['posts_per_page'] ) ) ) {
144
  return $request;
145
  }
146
-
147
  if ( empty( self::$custom_field_parameters ) ) {
148
  return $request;
149
  }
150
-
151
  if ( isset( self::$custom_field_parameters['debug'] ) ) {
152
  MLAData::$query_parameters['debug'] = self::$custom_field_parameters['debug'];
153
  MLAData::$search_parameters['debug'] = self::$custom_field_parameters['debug'];
154
  MLA::mla_debug_mode( self::$custom_field_parameters['debug'] );
155
  }
156
-
157
  // Apply default field name?
158
  if ( '=' == substr( self::$custom_field_parameters['s'], 0, 1 ) ) {
159
  $tokens = array( 'Orientation', substr( self::$custom_field_parameters['s'], 1 ) );
@@ -198,7 +198,7 @@ class MLACustomFieldSearchExample {
198
  if ( ! is_numeric( $key ) ) {
199
  continue;
200
  }
201
-
202
  if ( in_array( $value['key'], array( 'File Size', 'pixels', 'width', 'height' ) ) ) {
203
  if ( '=' == $value['compare'] ) {
204
  $value['value'] = str_pad( $value['value'], 15, ' ', STR_PAD_LEFT );
@@ -207,7 +207,7 @@ class MLACustomFieldSearchExample {
207
  $value['value'] = '%' . $value['value'];
208
  }
209
  }
210
-
211
  if ( 'LIKE' == $value['compare'] ) {
212
  $patterns[] = $value['value'];
213
  }
@@ -218,11 +218,11 @@ class MLACustomFieldSearchExample {
218
  if ( ! empty( $padded_values ) ) {
219
  MLAData::$query_parameters['mla-metavalue'] = $padded_values;
220
  }
221
-
222
  if ( ! empty( $patterns ) ) {
223
  MLAData::$query_parameters['patterns'] = $patterns;
224
  }
225
-
226
  /*
227
  * Combine with an existing "custom view" meta_query, if present
228
  */
107
  self::$custom_field_parameters = array();
108
  }
109
  } // isset s=custom:
110
+
111
  return $mla_list_table;
112
  } // mla_list_table_new_instance
113
 
143
  if ( ! ( isset( $request['offset'] ) && isset( $request['posts_per_page'] ) ) ) {
144
  return $request;
145
  }
146
+
147
  if ( empty( self::$custom_field_parameters ) ) {
148
  return $request;
149
  }
150
+
151
  if ( isset( self::$custom_field_parameters['debug'] ) ) {
152
  MLAData::$query_parameters['debug'] = self::$custom_field_parameters['debug'];
153
  MLAData::$search_parameters['debug'] = self::$custom_field_parameters['debug'];
154
  MLA::mla_debug_mode( self::$custom_field_parameters['debug'] );
155
  }
156
+
157
  // Apply default field name?
158
  if ( '=' == substr( self::$custom_field_parameters['s'], 0, 1 ) ) {
159
  $tokens = array( 'Orientation', substr( self::$custom_field_parameters['s'], 1 ) );
198
  if ( ! is_numeric( $key ) ) {
199
  continue;
200
  }
201
+
202
  if ( in_array( $value['key'], array( 'File Size', 'pixels', 'width', 'height' ) ) ) {
203
  if ( '=' == $value['compare'] ) {
204
  $value['value'] = str_pad( $value['value'], 15, ' ', STR_PAD_LEFT );
207
  $value['value'] = '%' . $value['value'];
208
  }
209
  }
210
+
211
  if ( 'LIKE' == $value['compare'] ) {
212
  $patterns[] = $value['value'];
213
  }
218
  if ( ! empty( $padded_values ) ) {
219
  MLAData::$query_parameters['mla-metavalue'] = $padded_values;
220
  }
221
+
222
  if ( ! empty( $patterns ) ) {
223
  MLAData::$query_parameters['patterns'] = $patterns;
224
  }
225
+
226
  /*
227
  * Combine with an existing "custom view" meta_query, if present
228
  */
examples/mla-custom-nolink-example.php.txt CHANGED
@@ -77,18 +77,18 @@ class MLACustomNolinkExample {
77
 
78
  // Look for our custom parameter, nolink=true
79
  if ( isset( $atts['nolink'] ) && 'true' == strtolower( trim( $atts['nolink'] ) ) ) {
80
-
81
  // Disable Jetpack Carousel, which always runs with Jetpack installed even if not activated
82
  $start = strpos( $html, 'data-carousel-extra' );
83
  if ( false !== $start ) {
84
  $length = strlen( 'data-carousel-extra' );
85
  $html = substr_replace( $html, 'data-carousel-disabled', $start, $length );
86
  }
87
-
88
  // Find all the hyperlinks in the gallery
89
  $match_count = preg_match_all( '!(<a [^>]*?>)(<img [^>]*?>)(</a>)!', $html, $matches, PREG_OFFSET_CAPTURE );
90
  if ( $match_count ) {
91
-
92
  // Replace the links with just the <img> tags
93
  for ( $index = $match_count - 1; $index >= 0; $index-- ) {
94
  $replacement = $matches[2][ $index ][0];
@@ -98,7 +98,7 @@ class MLACustomNolinkExample {
98
  }
99
  }
100
  }
101
-
102
  return $html;
103
  }
104
  } // Class MLACustomNolinkExample
77
 
78
  // Look for our custom parameter, nolink=true
79
  if ( isset( $atts['nolink'] ) && 'true' == strtolower( trim( $atts['nolink'] ) ) ) {
80
+
81
  // Disable Jetpack Carousel, which always runs with Jetpack installed even if not activated
82
  $start = strpos( $html, 'data-carousel-extra' );
83
  if ( false !== $start ) {
84
  $length = strlen( 'data-carousel-extra' );
85
  $html = substr_replace( $html, 'data-carousel-disabled', $start, $length );
86
  }
87
+
88
  // Find all the hyperlinks in the gallery
89
  $match_count = preg_match_all( '!(<a [^>]*?>)(<img [^>]*?>)(</a>)!', $html, $matches, PREG_OFFSET_CAPTURE );
90
  if ( $match_count ) {
91
+
92
  // Replace the links with just the <img> tags
93
  for ( $index = $match_count - 1; $index >= 0; $index-- ) {
94
  $replacement = $matches[2][ $index ][0];
98
  }
99
  }
100
  }
101
+
102
  return $html;
103
  }
104
  } // Class MLACustomNolinkExample
examples/mla-file-size-example.php.txt CHANGED
@@ -106,7 +106,7 @@ class MLAFileSizeExample {
106
  if ( ! isset( self::$shortcode_attributes['my_filter'] ) ) {
107
  return $item_values; // leave them unchanged
108
  }
109
-
110
  // Add a formatted file size element to the existing caption.
111
  if ( 'file size' == self::$shortcode_attributes['my_filter'] ) {
112
 
@@ -116,7 +116,7 @@ class MLAFileSizeExample {
116
  'option' => 'raw'
117
  );
118
  $file_size = (float) MLAOptions::mla_get_data_source( $item_values['attachment_ID'], 'single_attachment_mapping', $my_setting, NULL );
119
-
120
  if ( 1048576 < $file_size ) {
121
  $file_size = number_format( ($file_size/1048576), 3 ).' MB';
122
  } elseif ( 10240 < $file_size ) {
@@ -128,7 +128,7 @@ class MLAFileSizeExample {
128
  // Compose a new caption, adding the file size.
129
  return self::_update_caption( $item_values, sprintf( '%1$s<br>Size: %2$s', $item_values['caption'], $file_size ) );
130
  }
131
-
132
  return $item_values;
133
  } // mla_gallery_item_values_filter
134
  } // Class MLAFileSizeExample
106
  if ( ! isset( self::$shortcode_attributes['my_filter'] ) ) {
107
  return $item_values; // leave them unchanged
108
  }
109
+
110
  // Add a formatted file size element to the existing caption.
111
  if ( 'file size' == self::$shortcode_attributes['my_filter'] ) {
112
 
116
  'option' => 'raw'
117
  );
118
  $file_size = (float) MLAOptions::mla_get_data_source( $item_values['attachment_ID'], 'single_attachment_mapping', $my_setting, NULL );
119
+
120
  if ( 1048576 < $file_size ) {
121
  $file_size = number_format( ($file_size/1048576), 3 ).' MB';
122
  } elseif ( 10240 < $file_size ) {
128
  // Compose a new caption, adding the file size.
129
  return self::_update_caption( $item_values, sprintf( '%1$s<br>Size: %2$s', $item_values['caption'], $file_size ) );
130
  }
131
+
132
  return $item_values;
133
  } // mla_gallery_item_values_filter
134
  } // Class MLAFileSizeExample
examples/mla-fixed-values-example.php.txt CHANGED
@@ -61,7 +61,7 @@ class MLAFixedValuesExample {
61
  * initialization code sets it to false so the logic is quickly bypassed.
62
  */
63
  private static $mla_fixed_values = NULL;
64
-
65
  /**
66
  * MLA Gallery (Display) Attributes
67
  *
@@ -101,7 +101,7 @@ class MLAFixedValuesExample {
101
  *
102
  * You can have as many "mla_fixed_" parameters as you need for different values.
103
  */
104
-
105
  if ( false === self::$mla_fixed_values ) {
106
  return $item_values; // leave them unchanged
107
  }
61
  * initialization code sets it to false so the logic is quickly bypassed.
62
  */
63
  private static $mla_fixed_values = NULL;
64
+
65
  /**
66
  * MLA Gallery (Display) Attributes
67
  *
101
  *
102
  * You can have as many "mla_fixed_" parameters as you need for different values.
103
  */
104
+
105
  if ( false === self::$mla_fixed_values ) {
106
  return $item_values; // leave them unchanged
107
  }
examples/mla-hooks-example.php.txt CHANGED
@@ -84,17 +84,17 @@ class MLAGalleryHooksExample {
84
  add_filter( 'mla_gallery_query_arguments', 'MLAGalleryHooksExample::mla_gallery_query_arguments_filter', 10, 1 );
85
  add_action( 'mla_gallery_wp_query_object', 'MLAGalleryHooksExample::mla_gallery_wp_query_object_action', 10, 1 );
86
  add_filter( 'mla_gallery_final_content', 'MLAGalleryHooksExample::mla_gallery_final_content_filter', 10, 1 );
87
-
88
  add_filter( 'use_mla_gallery_style', 'MLAGalleryHooksExample::use_mla_gallery_style_filter', 10, 2 );
89
-
90
  add_filter( 'mla_gallery_style_values', 'MLAGalleryHooksExample::mla_gallery_style_values_filter', 10, 1 );
91
  add_filter( 'mla_gallery_style_template', 'MLAGalleryHooksExample::mla_gallery_style_template_filter', 10, 1 );
92
  add_filter( 'mla_gallery_style_parse', 'MLAGalleryHooksExample::mla_gallery_style_parse_filter', 10, 3 );
93
-
94
  add_filter( 'mla_gallery_open_values', 'MLAGalleryHooksExample::mla_gallery_open_values_filter', 10, 1 );
95
  add_filter( 'mla_gallery_open_template', 'MLAGalleryHooksExample::mla_gallery_open_template_filter', 10, 1 );
96
  add_filter( 'mla_gallery_open_parse', 'MLAGalleryHooksExample::mla_gallery_open_parse_filter', 10, 3 );
97
-
98
  add_filter( 'mla_gallery_style', 'MLAGalleryHooksExample::mla_gallery_style_filter', 10, 5 );
99
 
100
  add_filter( 'mla_gallery_row_open_values', 'MLAGalleryHooksExample::mla_gallery_row_open_values_filter', 10, 1 );
@@ -143,7 +143,7 @@ class MLAGalleryHooksExample {
143
  * Uncomment the error_log statements in any of the filters to see what's passed in
144
  */
145
  //error_log( 'MLAGalleryHooksExample::mla_gallery_raw_attributes_filter $shortcode_attributes = ' . var_export( $shortcode_attributes, true ), 0 );
146
-
147
  /*
148
  * Note that the global $post; object is available here and in all later filters.
149
  * It contains the post/page on which the [mla_gallery] appears.
@@ -152,7 +152,7 @@ class MLAGalleryHooksExample {
152
  */
153
  global $post;
154
  //error_log( 'MLAGalleryHooksExample::mla_gallery_raw_attributes_filter $post->ID = ' . var_export( $post->ID, true ), 0 );
155
-
156
  /*
157
  * For this example, we delete the selected file.
158
  */
@@ -171,7 +171,7 @@ class MLAGalleryHooksExample {
171
  $result = (array) $result; // Some wp_delete_attachment calls return an object
172
  $shortcode_attributes['gallery_open_message'] = "Attachment '{$result['post_title']}' (ID {$id}) has been deleted.";
173
  }
174
-
175
  unset( $_REQUEST['attachment_ID'] );
176
  }
177
  }
@@ -199,7 +199,7 @@ class MLAGalleryHooksExample {
199
  * Uncomment the error_log statements in any of the filters to see what's passed in
200
  */
201
  //error_log( 'MLAGalleryHooksExample::mla_gallery_attributes_filter $shortcode_attributes = ' . var_export( $shortcode_attributes, true ), 0 );
202
-
203
  /*
204
  * Save the attributes for use in the later filters
205
  */
@@ -234,7 +234,7 @@ class MLAGalleryHooksExample {
234
  public static function mla_gallery_initial_content_filter( $shortcode_content, $shortcode_attributes ) {
235
  //error_log( 'MLAGalleryHooksExample::mla_gallery_initial_content_filter $shortcode_content = ' . var_export( $shortcode_content, true ), 0 );
236
  //error_log( 'MLAGalleryHooksExample::mla_gallery_initial_content_filter $shortcode_attributes = ' . var_export( $shortcode_attributes, true ), 0 );
237
-
238
  /*
239
  * Save the attributes for use in the later filters
240
  */
@@ -270,7 +270,7 @@ class MLAGalleryHooksExample {
270
  */
271
  public static function mla_gallery_arguments_filter( $all_display_parameters ) {
272
  //error_log( 'MLAGalleryHooksExample::mla_gallery_arguments_filter $all_display_parameters = ' . var_export( $all_display_parameters, true ), 0 );
273
-
274
  self::$all_display_parameters = $all_display_parameters;
275
  return $all_display_parameters;
276
  } // mla_gallery_arguments_filter
@@ -302,7 +302,7 @@ class MLAGalleryHooksExample {
302
  */
303
  public static function mla_gallery_query_attributes_filter( $query_attributes ) {
304
  //error_log( 'MLAGalleryHooksExample::mla_gallery_query_attributes_filter $query_attributes = ' . var_export( $query_attributes, true ), 0 );
305
-
306
  self::$query_attributes = $query_attributes;
307
  return $query_attributes;
308
  } // mla_gallery_query_attributes_filter
@@ -330,9 +330,9 @@ class MLAGalleryHooksExample {
330
  */
331
  public static function mla_gallery_query_arguments_filter( $all_query_parameters ) {
332
  //error_log( 'MLAGalleryHooksExample::mla_gallery_query_arguments_filter $all_query_parameters = ' . var_export( $all_query_parameters, true ), 0 );
333
-
334
  self::$all_query_parameters = $all_query_parameters;
335
-
336
  /*
337
  * This example executes a custom SQL query that cannot be done with the usual
338
  * WordPress WP_Query arguments. The query results are fed back to the [mla_gallery]
@@ -368,14 +368,14 @@ class MLAGalleryHooksExample {
368
  $ttids = array();
369
  $post_parents = array();
370
  $parent_types = array();
371
-
372
  // Find taxonomy argument, if present, and collect terms
373
  $taxonomies = get_taxonomies( array( 'object_type' => array( 'attachment' ) ), 'names' );
374
  foreach( $taxonomies as $taxonomy ) {
375
  if ( empty( $my_query_vars[ $taxonomy ] ) ) {
376
  continue;
377
  }
378
-
379
  // Found the taxonomy; collect the terms
380
  $include_children = isset( $my_query_vars['include_children'] ) && 'true' == strtolower( trim( $my_query_vars['include_children'] ) );
381
 
@@ -399,31 +399,31 @@ class MLAGalleryHooksExample {
399
  }
400
  } // include_children
401
  } // $term
402
-
403
  break;
404
  }
405
-
406
  if ( isset( $my_query_vars['post_parent'] ) ) {
407
  // Allow for multiple parent values
408
  $post_parents = explode( ',', $my_query_vars['post_parent'] );
409
  }
410
-
411
  if ( isset( $my_query_vars['parent_type'] ) ) {
412
  // Allow for multiple parent values
413
  $parent_types = explode( ',', $my_query_vars['parent_type'] );
414
  }
415
-
416
  // Build an array of SQL clauses
417
  $query = array();
418
  $query_parameters = array();
419
 
420
  $query[] = "SELECT p.ID FROM {$wpdb->posts} AS p";
421
-
422
  if ( ! empty( $parent_types ) ) {
423
  $query[] = "LEFT JOIN {$wpdb->posts} as p2";
424
  $query[] = "ON (p.post_parent = p2.ID)";
425
  }
426
-
427
  if ( ! empty( $ttids ) ) {
428
  $query[] = "LEFT JOIN {$wpdb->term_relationships} as tr";
429
  $query[] = "ON (p.ID = tr.object_id)";
@@ -431,40 +431,40 @@ class MLAGalleryHooksExample {
431
 
432
  // Start with a WHERE clause that doesn't match anything, since OR is the connector
433
  $query[] = 'WHERE ( ( 1=0 )';
434
-
435
  if ( ! empty( $post_parents ) ) {
436
  $placeholders = array();
437
  foreach ( $post_parents as $post_parent ) {
438
  $placeholders[] = '%s';
439
  $query_parameters[] = $post_parent;
440
  }
441
-
442
  $query[] = 'OR ( p.post_parent IN (' . join( ',', $placeholders ) . ') )';
443
  }
444
-
445
  if ( ! empty( $parent_types ) ) {
446
  $placeholders = array();
447
  foreach ( $parent_types as $parent_type ) {
448
  $placeholders[] = '%s';
449
  $query_parameters[] = $parent_type;
450
  }
451
-
452
  $query[] = 'OR ( p2.post_type IN (' . join( ',', $placeholders ) . ') )';
453
  }
454
-
455
  if ( ! empty( $ttids ) ) {
456
  $placeholders = array();
457
  foreach ( $ttids as $ttid ) {
458
  $placeholders[] = '%s';
459
  $query_parameters[] = $ttid;
460
  }
461
-
462
  $query[] = 'OR ( tr.term_taxonomy_id IN (' . join( ',', $placeholders ) . ') )';
463
  }
464
-
465
  // Close the WHERE clause
466
  $query[] = ')';
467
-
468
  $query[] = "AND (p.post_mime_type LIKE 'image/%%')";
469
  $query[] = "AND p.post_type = 'attachment'";
470
  $query[] = "AND p.post_status = 'inherit'";
@@ -508,11 +508,11 @@ class MLAGalleryHooksExample {
508
  $query_parameters[] = $offset;
509
  $query_parameters[] = 0x7FFFFFFF; // big number!
510
  }
511
-
512
  $all_query_parameters['paged'] = NULL;
513
  $all_query_parameters['posts_per_page'] = 0;
514
  $all_query_parameters['numberposts'] = 0;
515
-
516
  $query = join(' ', $query);
517
  $ids = $wpdb->get_results( $wpdb->prepare( $query, $query_parameters ) );
518
  if ( is_array( $ids ) ) {
@@ -553,14 +553,14 @@ class MLAGalleryHooksExample {
553
  */
554
  public static function mla_gallery_wp_query_object_action( $query_arguments ) {
555
  //error_log( 'MLAGalleryHooksExample::mla_gallery_wp_query_object_action $query_arguments = ' . var_export( $query_arguments, true ), 0 );
556
-
557
  self::$wp_query_properties = array();
558
  self::$wp_query_properties ['request'] = MLAShortcodes::$mla_gallery_wp_query_object->request;
559
  self::$wp_query_properties ['query_vars'] = MLAShortcodes::$mla_gallery_wp_query_object->query_vars;
560
  self::$wp_query_properties ['post_count'] = MLAShortcodes::$mla_gallery_wp_query_object->post_count;
561
 
562
  //error_log( 'MLAGalleryHooksExample::mla_gallery_wp_query_object_action self::$wp_query_properties = ' . var_export( self::$wp_query_properties, true ), 0 );
563
-
564
  /*
565
  * Unlike Filters, Actions never return anything
566
  */
@@ -604,7 +604,7 @@ class MLAGalleryHooksExample {
604
  public static function use_mla_gallery_style_filter( $use_style_template, $style_template_name ) {
605
  //error_log( 'MLAGalleryHooksExample::use_mla_gallery_style_filter $use_style_template = ' . var_export( $use_style_template, true ), 0 );
606
  //error_log( 'MLAGalleryHooksExample::use_mla_gallery_style_filter $style_template_name = ' . var_export( $style_template_name, true ), 0 );
607
-
608
  /*
609
  * Filters must return the first argument passed in, unchanged or updated
610
  */
@@ -627,20 +627,20 @@ class MLAGalleryHooksExample {
627
  */
628
  public static function mla_gallery_style_values_filter( $style_values ) {
629
  //error_log( 'MLAGalleryHooksExample::mla_gallery_style_values_filter $style_values = ' . var_export( $style_values, true ), 0 );
630
-
631
  /*
632
  * You also have access to the PHP Super Globals, e.g., $_REQUEST, $_SERVER
633
  */
634
  //error_log( 'MLAGalleryHooksExample::mla_gallery_style_values_filter $_REQUEST = ' . var_export( $_REQUEST, true ), 0 );
635
  //error_log( 'MLAGalleryHooksExample::mla_gallery_style_values_filter $_SERVER[ REQUEST_URI ] = ' . var_export( $_SERVER['REQUEST_URI'], true ), 0 );
636
-
637
  /*
638
  * You can use the WordPress globals like $wp_query, $wpdb and $table_prefix as well.
639
  * Note that $wp_query contains values for the post/page query, NOT the [mla_gallery] query.
640
  */
641
  global $wp_query;
642
  //error_log( 'MLAGalleryHooksExample::mla_gallery_style_values_filter $wp_query->query = ' . var_export( $wp_query->query, true ), 0 );
643
-
644
  return $style_values;
645
  } // mla_gallery_style_values_filter
646
 
@@ -660,7 +660,7 @@ class MLAGalleryHooksExample {
660
  */
661
  public static function mla_gallery_style_template_filter( $style_template ) {
662
  //error_log( 'MLAGalleryHooksExample::mla_gallery_style_template_filter $style_template = ' . var_export( $style_template, true ), 0 );
663
-
664
  return $style_template;
665
  } // mla_gallery_style_template_filter
666
 
@@ -685,7 +685,7 @@ class MLAGalleryHooksExample {
685
  //error_log( 'MLAGalleryHooksExample::mla_gallery_style_parse_filter $html_markup = ' . var_export( $html_markup, true ), 0 );
686
  //error_log( 'MLAGalleryHooksExample::mla_gallery_style_parse_filter $style_template = ' . var_export( $style_template, true ), 0 );
687
  //error_log( 'MLAGalleryHooksExample::mla_gallery_style_parse_filter $style_values = ' . var_export( $style_values, true ), 0 );
688
-
689
  return $html_markup;
690
  } // mla_gallery_style_parse_filter
691
 
@@ -703,7 +703,7 @@ class MLAGalleryHooksExample {
703
  */
704
  public static function mla_gallery_open_values_filter( $markup_values ) {
705
  //error_log( 'MLAGalleryHooksExample::mla_gallery_open_values_filter $markup_values = ' . var_export( $markup_values, true ), 0 );
706
-
707
  return $markup_values;
708
  } // mla_gallery_open_values_filter
709
 
@@ -718,14 +718,14 @@ class MLAGalleryHooksExample {
718
  */
719
  public static function mla_gallery_open_template_filter( $open_template ) {
720
  //error_log( 'MLAGalleryHooksExample::mla_gallery_open_template_filter $open_template = ' . var_export( $open_template, true ), 0 );
721
-
722
  /*
723
  * Check for a display message
724
  */
725
  if ( isset( self::$shortcode_attributes['gallery_open_message'] ) ) {
726
  $open_template = '<p><strong>' . self::$shortcode_attributes['gallery_open_message'] . '</strong></p>' . $open_template;
727
  }
728
-
729
  return $open_template;
730
  } // mla_gallery_open_template_filter
731
 
@@ -744,7 +744,7 @@ class MLAGalleryHooksExample {
744
  //error_log( 'MLAGalleryHooksExample::mla_gallery_open_parse_filter $html_markup = ' . var_export( $html_markup, true ), 0 );
745
  //error_log( 'MLAGalleryHooksExample::mla_gallery_open_parse_filter $open_template = ' . var_export( $open_template, true ), 0 );
746
  //error_log( 'MLAGalleryHooksExample::mla_gallery_open_parse_filter $markup_values = ' . var_export( $markup_values, true ), 0 );
747
-
748
  return $html_markup;
749
  } // mla_gallery_open_parse_filter
750
 
@@ -770,7 +770,7 @@ class MLAGalleryHooksExample {
770
  //error_log( 'MLAGalleryHooksExample::mla_gallery_style_filter $open_values = ' . var_export( $open_values, true ), 0 );
771
  //error_log( 'MLAGalleryHooksExample::mla_gallery_style_filter $style_template = ' . var_export( $style_template, true ), 0 );
772
  //error_log( 'MLAGalleryHooksExample::mla_gallery_style_filter $open_template = ' . var_export( $open_template, true ), 0 );
773
-
774
  return $html_markup;
775
  } // mla_gallery_style_filter
776
 
@@ -785,7 +785,7 @@ class MLAGalleryHooksExample {
785
  */
786
  public static function mla_gallery_row_open_values_filter( $markup_values ) {
787
  //error_log( 'MLAGalleryHooksExample::mla_gallery_row_open_values_filter $markup_values = ' . var_export( $markup_values, true ), 0 );
788
-
789
  return $markup_values;
790
  } // mla_gallery_row_open_values_filter
791
 
@@ -800,7 +800,7 @@ class MLAGalleryHooksExample {
800
  */
801
  public static function mla_gallery_row_open_template_filter( $row_open_template ) {
802
  //error_log( 'MLAGalleryHooksExample::mla_gallery_row_open_template_filter $row_open_template = ' . var_export( $row_open_template, true ), 0 );
803
-
804
  return $row_open_template;
805
  } // mla_gallery_row_open_template_filter
806
 
@@ -819,7 +819,7 @@ class MLAGalleryHooksExample {
819
  //error_log( 'MLAGalleryHooksExample::mla_gallery_row_open_parse_filter $html_markup = ' . var_export( $html_markup, true ), 0 );
820
  //error_log( 'MLAGalleryHooksExample::mla_gallery_row_open_parse_filter $row_open_template = ' . var_export( $row_open_template, true ), 0 );
821
  //error_log( 'MLAGalleryHooksExample::mla_gallery_row_open_parse_filter $markup_values = ' . var_export( $markup_values, true ), 0 );
822
-
823
  return $html_markup;
824
  } // mla_gallery_row_open_parse_filter
825
 
@@ -861,12 +861,12 @@ class MLAGalleryHooksExample {
861
  if ( ! isset( self::$shortcode_attributes['my_filter'] ) ) {
862
  return $item_values; // leave them unchanged
863
  }
864
-
865
  if ( 'format terms' == self::$shortcode_attributes['my_filter'] ) {
866
  $object_terms = wp_get_object_terms ( absint( $item_values['attachment_ID'] ), 'attachment_category', array( 'fields' => 'slugs' ) );
867
  $item_values['terms:attachment_category'] = implode( ' ', $object_terms );
868
  $item_values = self::_update_caption( $item_values, implode( ' ', $object_terms ) );
869
-
870
  //error_log( 'MLAGalleryHooksExample::mla_gallery_item_values_filter terms = ' . var_export( $item_values['terms:attachment_category'], true ), 0 );
871
  }
872
 
@@ -897,7 +897,7 @@ class MLAGalleryHooksExample {
897
 
898
  return $item_values;
899
  }
900
-
901
  /*
902
  * The second example adds a formatted file size element to the existing caption.
903
  */
@@ -913,7 +913,7 @@ class MLAGalleryHooksExample {
913
  'option' => 'raw'
914
  );
915
  $file_size = (float) MLAOptions::mla_get_data_source( $item_values['attachment_ID'], 'single_attachment_mapping', $my_setting, NULL );
916
-
917
  if ( 1048576 < $file_size ) {
918
  $file_size = number_format( ($file_size/1048576), 3 ).' MB';
919
  } elseif ( 10240 < $file_size ) {
@@ -927,7 +927,7 @@ class MLAGalleryHooksExample {
927
  */
928
  return self::_update_caption( $item_values, sprintf( '%1$s<br>Size: %2$s', $item_values['caption'], $file_size ) );
929
  }
930
-
931
  /*
932
  * Our third example changes taxonomy terms into links to term-specific archive pages.
933
  */
@@ -941,7 +941,7 @@ class MLAGalleryHooksExample {
941
  } else {
942
  $my_href = '';
943
  }
944
-
945
  /*
946
  * Collect non-empty term lists, convert to slugs,
947
  * make into links, replace $item_values
@@ -956,21 +956,21 @@ class MLAGalleryHooksExample {
956
  foreach( $terms as $term_name ) {
957
  //$term_object = get_term_by( 'name', $term_name, $taxonomy );
958
  $term_object = get_term_by( 'name', html_entity_decode( $term_name ), $taxonomy );
959
-
960
  if ( empty( $my_href ) ) {
961
  $term_links[] = sprintf( '<a href=%1$s/%2$s/%3$s>%4$s,</a>', get_site_url(), $taxonomy, $term_object->slug, esc_html( $term_name ) );
962
  } else {
963
  $term_links[] = sprintf( '<a href=%1$s/%2$s?my_taxonomy=%3$s&my_term=%4$s>%5$s</a>', get_site_url(),$my_href, $taxonomy, $term_object->slug, esc_html( $term_name ) );
964
  }
965
  }
966
-
967
  $item_values[ $key ] = implode( ' ', $term_links );
968
  }
969
  }
970
-
971
  return $item_values;
972
  }
973
-
974
  /*
975
  * For the fourth example, we compose a URL to allow file deletion and add it to the caption.
976
  */
@@ -1010,7 +1010,7 @@ class MLAGalleryHooksExample {
1010
  $my_posts[ $matches[3] ] = $matches[1];
1011
  } // match
1012
  } // each insert
1013
-
1014
  // Build the replacement caption
1015
  $my_caption = NULL;
1016
  foreach ( (array) $my_posts as $ID => $title ) {
@@ -1020,13 +1020,13 @@ class MLAGalleryHooksExample {
1020
  $my_caption .= sprintf( ', <a href="%1$s/?p=%2$d">%3$s</a>', $item_values['site_url'], $ID, $title );
1021
  }
1022
  } // each post
1023
-
1024
  if ( ! empty( $my_caption ) ) {
1025
  $item_values = self::_update_caption( $item_values, $my_caption );
1026
  }
1027
  } // has inserts
1028
  }
1029
-
1030
  /*
1031
  * For our final example, we will add to the $item_values['caption'] value an unordered list
1032
  * of the custom fields populated for each gallery item. We use a shortcode parameter of our
@@ -1034,14 +1034,14 @@ class MLAGalleryHooksExample {
1034
  */
1035
  if ( 'all custom' != self::$shortcode_attributes['my_filter'] )
1036
  return $item_values; // leave them unchanged
1037
-
1038
  /*
1039
  * Preserve the existing caption, if present
1040
  */
1041
  $my_caption = '';
1042
  if ( ! empty( $item_values['caption'] ) )
1043
  $my_caption .= $item_values['caption'] . "<br />\r\n";
1044
-
1045
  /*
1046
  * Retrieve the custom fields for this item, if any,
1047
  * and extract the values we are interested in.
@@ -1049,12 +1049,12 @@ class MLAGalleryHooksExample {
1049
  $custom_fields = array();
1050
  $post_meta = get_metadata( 'post', $item_values['attachment_ID'] );
1051
  //error_log( 'MLAGalleryHooksExample::mla_gallery_item_values_filter $post_meta = ' . var_export( $post_meta, true ), 0 );
1052
-
1053
  if ( is_array( $post_meta ) ) {
1054
  foreach ( $post_meta as $post_meta_key => $post_meta_value ) {
1055
  if ( empty( $post_meta_key ) )
1056
  continue;
1057
-
1058
  /*
1059
  * WordPress stores several of its own values as custom fields, which we will skip.
1060
  * Some of the values you might find useful are:
@@ -1062,7 +1062,7 @@ class MLAGalleryHooksExample {
1062
  */
1063
  if ( '_' == $post_meta_key{0} )
1064
  continue;
1065
-
1066
  /*
1067
  * At this point, every value is an array; one element per instance of the key.
1068
  * We'll test anyway, just to be sure, then convert single-instance values to a scalar.
@@ -1081,13 +1081,13 @@ class MLAGalleryHooksExample {
1081
  } // foreach $post_meta
1082
  }
1083
  //error_log( 'MLAGalleryHooksExample::mla_gallery_item_values_filter $custom_fields = ' . var_export( $custom_fields, true ), 0 );
1084
-
1085
  /*
1086
  * Don't alter the caption if there are no custom fields to display
1087
  */
1088
  if ( empty( $custom_fields ) )
1089
  return $item_values;
1090
-
1091
  /*
1092
  * Add the definition list to the caption
1093
  */
@@ -1097,7 +1097,7 @@ class MLAGalleryHooksExample {
1097
  $my_caption .= "<dd class=\"value\">{$value}</dd>\r\n";
1098
  } // foreach custom field
1099
  $my_caption .= "</dl>";
1100
-
1101
  /*
1102
  * Update the $item_values and pass them back from the filter.
1103
  */
@@ -1116,7 +1116,7 @@ class MLAGalleryHooksExample {
1116
  */
1117
  public static function mla_gallery_item_template_filter( $item_template ) {
1118
  //error_log( 'MLAGalleryHooksExample::mla_gallery_item_template_filter $item_template = ' . var_export( $item_template, true ), 0 );
1119
-
1120
  return $item_template;
1121
  } // mla_gallery_item_template_filter
1122
 
@@ -1135,7 +1135,7 @@ class MLAGalleryHooksExample {
1135
  //error_log( 'MLAGalleryHooksExample::mla_gallery_item_parse_filter $html_markup = ' . var_export( $html_markup, true ), 0 );
1136
  //error_log( 'MLAGalleryHooksExample::mla_gallery_item_parse_filter $item_template = ' . var_export( $item_template, true ), 0 );
1137
  //error_log( 'MLAGalleryHooksExample::mla_gallery_item_parse_filter $item_values = ' . var_export( $item_values, true ), 0 );
1138
-
1139
  return $html_markup;
1140
  } // mla_gallery_item_parse_filter
1141
 
@@ -1150,7 +1150,7 @@ class MLAGalleryHooksExample {
1150
  */
1151
  public static function mla_gallery_row_close_values_filter( $markup_values ) {
1152
  //error_log( 'MLAGalleryHooksExample::mla_gallery_row_close_values_filter $markup_values = ' . var_export( $markup_values, true ), 0 );
1153
-
1154
  return $markup_values;
1155
  } // mla_gallery_row_close_values_filter
1156
 
@@ -1165,7 +1165,7 @@ class MLAGalleryHooksExample {
1165
  */
1166
  public static function mla_gallery_row_close_template_filter( $row_close_template ) {
1167
  //error_log( 'MLAGalleryHooksExample::mla_gallery_row_close_template_filter $row_close_template = ' . var_export( $row_close_template, true ), 0 );
1168
-
1169
  return $row_close_template;
1170
  } // mla_gallery_row_close_template_filter
1171
 
@@ -1184,7 +1184,7 @@ class MLAGalleryHooksExample {
1184
  //error_log( 'MLAGalleryHooksExample::mla_gallery_row_close_parse_filter $html_markup = ' . var_export( $html_markup, true ), 0 );
1185
  //error_log( 'MLAGalleryHooksExample::mla_gallery_row_close_parse_filter $row_close_template = ' . var_export( $row_close_template, true ), 0 );
1186
  //error_log( 'MLAGalleryHooksExample::mla_gallery_row_close_parse_filter $markup_values = ' . var_export( $markup_values, true ), 0 );
1187
-
1188
  return $html_markup;
1189
  } // mla_gallery_row_close_parse_filter
1190
 
@@ -1199,7 +1199,7 @@ class MLAGalleryHooksExample {
1199
  */
1200
  public static function mla_gallery_close_values_filter( $markup_values ) {
1201
  //error_log( 'MLAGalleryHooksExample::mla_gallery_close_values_filter $markup_values = ' . var_export( $markup_values, true ), 0 );
1202
-
1203
  return $markup_values;
1204
  } // mla_gallery_close_values_filter
1205
 
@@ -1214,7 +1214,7 @@ class MLAGalleryHooksExample {
1214
  */
1215
  public static function mla_gallery_close_template_filter( $close_template ) {
1216
  //error_log( 'MLAGalleryHooksExample::mla_gallery_close_template_filter $close_template = ' . var_export( $close_template, true ), 0 );
1217
-
1218
  return $close_template;
1219
  } // mla_gallery_close_template_filter
1220
 
@@ -1233,7 +1233,7 @@ class MLAGalleryHooksExample {
1233
  //error_log( 'MLAGalleryHooksExample::mla_gallery_close_parse_filter $html_markup = ' . var_export( $html_markup, true ), 0 );
1234
  //error_log( 'MLAGalleryHooksExample::mla_gallery_close_parse_filter $close_template = ' . var_export( $close_template, true ), 0 );
1235
  //error_log( 'MLAGalleryHooksExample::mla_gallery_close_parse_filter $markup_values = ' . var_export( $markup_values, true ), 0 );
1236
-
1237
  return $html_markup;
1238
  } // mla_gallery_close_parse_filter
1239
 
84
  add_filter( 'mla_gallery_query_arguments', 'MLAGalleryHooksExample::mla_gallery_query_arguments_filter', 10, 1 );
85
  add_action( 'mla_gallery_wp_query_object', 'MLAGalleryHooksExample::mla_gallery_wp_query_object_action', 10, 1 );
86
  add_filter( 'mla_gallery_final_content', 'MLAGalleryHooksExample::mla_gallery_final_content_filter', 10, 1 );
87
+
88
  add_filter( 'use_mla_gallery_style', 'MLAGalleryHooksExample::use_mla_gallery_style_filter', 10, 2 );
89
+
90
  add_filter( 'mla_gallery_style_values', 'MLAGalleryHooksExample::mla_gallery_style_values_filter', 10, 1 );
91
  add_filter( 'mla_gallery_style_template', 'MLAGalleryHooksExample::mla_gallery_style_template_filter', 10, 1 );
92
  add_filter( 'mla_gallery_style_parse', 'MLAGalleryHooksExample::mla_gallery_style_parse_filter', 10, 3 );
93
+
94
  add_filter( 'mla_gallery_open_values', 'MLAGalleryHooksExample::mla_gallery_open_values_filter', 10, 1 );
95
  add_filter( 'mla_gallery_open_template', 'MLAGalleryHooksExample::mla_gallery_open_template_filter', 10, 1 );
96
  add_filter( 'mla_gallery_open_parse', 'MLAGalleryHooksExample::mla_gallery_open_parse_filter', 10, 3 );
97
+
98
  add_filter( 'mla_gallery_style', 'MLAGalleryHooksExample::mla_gallery_style_filter', 10, 5 );
99
 
100
  add_filter( 'mla_gallery_row_open_values', 'MLAGalleryHooksExample::mla_gallery_row_open_values_filter', 10, 1 );
143
  * Uncomment the error_log statements in any of the filters to see what's passed in
144
  */
145
  //error_log( 'MLAGalleryHooksExample::mla_gallery_raw_attributes_filter $shortcode_attributes = ' . var_export( $shortcode_attributes, true ), 0 );
146
+
147
  /*
148
  * Note that the global $post; object is available here and in all later filters.
149
  * It contains the post/page on which the [mla_gallery] appears.
152
  */
153
  global $post;
154
  //error_log( 'MLAGalleryHooksExample::mla_gallery_raw_attributes_filter $post->ID = ' . var_export( $post->ID, true ), 0 );
155
+
156
  /*
157
  * For this example, we delete the selected file.
158
  */
171
  $result = (array) $result; // Some wp_delete_attachment calls return an object
172
  $shortcode_attributes['gallery_open_message'] = "Attachment '{$result['post_title']}' (ID {$id}) has been deleted.";
173
  }
174
+
175
  unset( $_REQUEST['attachment_ID'] );
176
  }
177
  }
199
  * Uncomment the error_log statements in any of the filters to see what's passed in
200
  */
201
  //error_log( 'MLAGalleryHooksExample::mla_gallery_attributes_filter $shortcode_attributes = ' . var_export( $shortcode_attributes, true ), 0 );
202
+
203
  /*
204
  * Save the attributes for use in the later filters
205
  */
234
  public static function mla_gallery_initial_content_filter( $shortcode_content, $shortcode_attributes ) {
235
  //error_log( 'MLAGalleryHooksExample::mla_gallery_initial_content_filter $shortcode_content = ' . var_export( $shortcode_content, true ), 0 );
236
  //error_log( 'MLAGalleryHooksExample::mla_gallery_initial_content_filter $shortcode_attributes = ' . var_export( $shortcode_attributes, true ), 0 );
237
+
238
  /*
239
  * Save the attributes for use in the later filters
240
  */
270
  */
271
  public static function mla_gallery_arguments_filter( $all_display_parameters ) {
272
  //error_log( 'MLAGalleryHooksExample::mla_gallery_arguments_filter $all_display_parameters = ' . var_export( $all_display_parameters, true ), 0 );
273
+
274
  self::$all_display_parameters = $all_display_parameters;
275
  return $all_display_parameters;
276
  } // mla_gallery_arguments_filter
302
  */
303
  public static function mla_gallery_query_attributes_filter( $query_attributes ) {
304
  //error_log( 'MLAGalleryHooksExample::mla_gallery_query_attributes_filter $query_attributes = ' . var_export( $query_attributes, true ), 0 );
305
+
306
  self::$query_attributes = $query_attributes;
307
  return $query_attributes;
308
  } // mla_gallery_query_attributes_filter
330
  */
331
  public static function mla_gallery_query_arguments_filter( $all_query_parameters ) {
332
  //error_log( 'MLAGalleryHooksExample::mla_gallery_query_arguments_filter $all_query_parameters = ' . var_export( $all_query_parameters, true ), 0 );
333
+
334
  self::$all_query_parameters = $all_query_parameters;
335
+
336
  /*
337
  * This example executes a custom SQL query that cannot be done with the usual
338
  * WordPress WP_Query arguments. The query results are fed back to the [mla_gallery]
368
  $ttids = array();
369
  $post_parents = array();
370
  $parent_types = array();
371
+
372
  // Find taxonomy argument, if present, and collect terms
373
  $taxonomies = get_taxonomies( array( 'object_type' => array( 'attachment' ) ), 'names' );
374
  foreach( $taxonomies as $taxonomy ) {
375
  if ( empty( $my_query_vars[ $taxonomy ] ) ) {
376
  continue;
377
  }
378
+
379
  // Found the taxonomy; collect the terms
380
  $include_children = isset( $my_query_vars['include_children'] ) && 'true' == strtolower( trim( $my_query_vars['include_children'] ) );
381
 
399
  }
400
  } // include_children
401
  } // $term
402
+
403
  break;
404
  }
405
+
406
  if ( isset( $my_query_vars['post_parent'] ) ) {
407
  // Allow for multiple parent values
408
  $post_parents = explode( ',', $my_query_vars['post_parent'] );
409
  }
410
+
411
  if ( isset( $my_query_vars['parent_type'] ) ) {
412
  // Allow for multiple parent values
413
  $parent_types = explode( ',', $my_query_vars['parent_type'] );
414
  }
415
+
416
  // Build an array of SQL clauses
417
  $query = array();
418
  $query_parameters = array();
419
 
420
  $query[] = "SELECT p.ID FROM {$wpdb->posts} AS p";
421
+
422
  if ( ! empty( $parent_types ) ) {
423
  $query[] = "LEFT JOIN {$wpdb->posts} as p2";
424
  $query[] = "ON (p.post_parent = p2.ID)";
425
  }
426
+
427
  if ( ! empty( $ttids ) ) {
428
  $query[] = "LEFT JOIN {$wpdb->term_relationships} as tr";
429
  $query[] = "ON (p.ID = tr.object_id)";
431
 
432
  // Start with a WHERE clause that doesn't match anything, since OR is the connector
433
  $query[] = 'WHERE ( ( 1=0 )';
434
+
435
  if ( ! empty( $post_parents ) ) {
436
  $placeholders = array();
437
  foreach ( $post_parents as $post_parent ) {
438
  $placeholders[] = '%s';
439
  $query_parameters[] = $post_parent;
440
  }
441
+
442
  $query[] = 'OR ( p.post_parent IN (' . join( ',', $placeholders ) . ') )';
443
  }
444
+
445
  if ( ! empty( $parent_types ) ) {
446
  $placeholders = array();
447
  foreach ( $parent_types as $parent_type ) {
448
  $placeholders[] = '%s';
449
  $query_parameters[] = $parent_type;
450
  }
451
+
452
  $query[] = 'OR ( p2.post_type IN (' . join( ',', $placeholders ) . ') )';
453
  }
454
+
455
  if ( ! empty( $ttids ) ) {
456
  $placeholders = array();
457
  foreach ( $ttids as $ttid ) {
458
  $placeholders[] = '%s';
459
  $query_parameters[] = $ttid;
460
  }
461
+
462
  $query[] = 'OR ( tr.term_taxonomy_id IN (' . join( ',', $placeholders ) . ') )';
463
  }
464
+
465
  // Close the WHERE clause
466
  $query[] = ')';
467
+
468
  $query[] = "AND (p.post_mime_type LIKE 'image/%%')";
469
  $query[] = "AND p.post_type = 'attachment'";
470
  $query[] = "AND p.post_status = 'inherit'";
508
  $query_parameters[] = $offset;
509
  $query_parameters[] = 0x7FFFFFFF; // big number!
510
  }
511
+
512
  $all_query_parameters['paged'] = NULL;
513
  $all_query_parameters['posts_per_page'] = 0;
514
  $all_query_parameters['numberposts'] = 0;
515
+
516
  $query = join(' ', $query);
517
  $ids = $wpdb->get_results( $wpdb->prepare( $query, $query_parameters ) );
518
  if ( is_array( $ids ) ) {
553
  */
554
  public static function mla_gallery_wp_query_object_action( $query_arguments ) {
555
  //error_log( 'MLAGalleryHooksExample::mla_gallery_wp_query_object_action $query_arguments = ' . var_export( $query_arguments, true ), 0 );
556
+
557
  self::$wp_query_properties = array();
558
  self::$wp_query_properties ['request'] = MLAShortcodes::$mla_gallery_wp_query_object->request;
559
  self::$wp_query_properties ['query_vars'] = MLAShortcodes::$mla_gallery_wp_query_object->query_vars;
560
  self::$wp_query_properties ['post_count'] = MLAShortcodes::$mla_gallery_wp_query_object->post_count;
561
 
562
  //error_log( 'MLAGalleryHooksExample::mla_gallery_wp_query_object_action self::$wp_query_properties = ' . var_export( self::$wp_query_properties, true ), 0 );
563
+
564
  /*
565
  * Unlike Filters, Actions never return anything
566
  */
604
  public static function use_mla_gallery_style_filter( $use_style_template, $style_template_name ) {
605
  //error_log( 'MLAGalleryHooksExample::use_mla_gallery_style_filter $use_style_template = ' . var_export( $use_style_template, true ), 0 );
606
  //error_log( 'MLAGalleryHooksExample::use_mla_gallery_style_filter $style_template_name = ' . var_export( $style_template_name, true ), 0 );
607
+
608
  /*
609
  * Filters must return the first argument passed in, unchanged or updated
610
  */
627
  */
628
  public static function mla_gallery_style_values_filter( $style_values ) {
629
  //error_log( 'MLAGalleryHooksExample::mla_gallery_style_values_filter $style_values = ' . var_export( $style_values, true ), 0 );
630
+
631
  /*
632
  * You also have access to the PHP Super Globals, e.g., $_REQUEST, $_SERVER
633
  */
634
  //error_log( 'MLAGalleryHooksExample::mla_gallery_style_values_filter $_REQUEST = ' . var_export( $_REQUEST, true ), 0 );
635
  //error_log( 'MLAGalleryHooksExample::mla_gallery_style_values_filter $_SERVER[ REQUEST_URI ] = ' . var_export( $_SERVER['REQUEST_URI'], true ), 0 );
636
+
637
  /*
638
  * You can use the WordPress globals like $wp_query, $wpdb and $table_prefix as well.
639
  * Note that $wp_query contains values for the post/page query, NOT the [mla_gallery] query.
640
  */
641
  global $wp_query;
642
  //error_log( 'MLAGalleryHooksExample::mla_gallery_style_values_filter $wp_query->query = ' . var_export( $wp_query->query, true ), 0 );
643
+
644
  return $style_values;
645
  } // mla_gallery_style_values_filter
646
 
660
  */
661
  public static function mla_gallery_style_template_filter( $style_template ) {
662
  //error_log( 'MLAGalleryHooksExample::mla_gallery_style_template_filter $style_template = ' . var_export( $style_template, true ), 0 );
663
+
664
  return $style_template;
665
  } // mla_gallery_style_template_filter
666
 
685
  //error_log( 'MLAGalleryHooksExample::mla_gallery_style_parse_filter $html_markup = ' . var_export( $html_markup, true ), 0 );
686
  //error_log( 'MLAGalleryHooksExample::mla_gallery_style_parse_filter $style_template = ' . var_export( $style_template, true ), 0 );
687
  //error_log( 'MLAGalleryHooksExample::mla_gallery_style_parse_filter $style_values = ' . var_export( $style_values, true ), 0 );
688
+
689
  return $html_markup;
690
  } // mla_gallery_style_parse_filter
691
 
703
  */
704
  public static function mla_gallery_open_values_filter( $markup_values ) {
705
  //error_log( 'MLAGalleryHooksExample::mla_gallery_open_values_filter $markup_values = ' . var_export( $markup_values, true ), 0 );
706
+
707
  return $markup_values;
708
  } // mla_gallery_open_values_filter
709
 
718
  */
719
  public static function mla_gallery_open_template_filter( $open_template ) {
720
  //error_log( 'MLAGalleryHooksExample::mla_gallery_open_template_filter $open_template = ' . var_export( $open_template, true ), 0 );
721
+
722
  /*
723
  * Check for a display message
724
  */
725
  if ( isset( self::$shortcode_attributes['gallery_open_message'] ) ) {
726
  $open_template = '<p><strong>' . self::$shortcode_attributes['gallery_open_message'] . '</strong></p>' . $open_template;
727
  }
728
+
729
  return $open_template;
730
  } // mla_gallery_open_template_filter
731
 
744
  //error_log( 'MLAGalleryHooksExample::mla_gallery_open_parse_filter $html_markup = ' . var_export( $html_markup, true ), 0 );
745
  //error_log( 'MLAGalleryHooksExample::mla_gallery_open_parse_filter $open_template = ' . var_export( $open_template, true ), 0 );
746
  //error_log( 'MLAGalleryHooksExample::mla_gallery_open_parse_filter $markup_values = ' . var_export( $markup_values, true ), 0 );
747
+
748
  return $html_markup;
749
  } // mla_gallery_open_parse_filter
750
 
770
  //error_log( 'MLAGalleryHooksExample::mla_gallery_style_filter $open_values = ' . var_export( $open_values, true ), 0 );
771
  //error_log( 'MLAGalleryHooksExample::mla_gallery_style_filter $style_template = ' . var_export( $style_template, true ), 0 );
772
  //error_log( 'MLAGalleryHooksExample::mla_gallery_style_filter $open_template = ' . var_export( $open_template, true ), 0 );
773
+
774
  return $html_markup;
775
  } // mla_gallery_style_filter
776
 
785
  */
786
  public static function mla_gallery_row_open_values_filter( $markup_values ) {
787
  //error_log( 'MLAGalleryHooksExample::mla_gallery_row_open_values_filter $markup_values = ' . var_export( $markup_values, true ), 0 );
788
+
789
  return $markup_values;
790
  } // mla_gallery_row_open_values_filter
791
 
800
  */
801
  public static function mla_gallery_row_open_template_filter( $row_open_template ) {
802
  //error_log( 'MLAGalleryHooksExample::mla_gallery_row_open_template_filter $row_open_template = ' . var_export( $row_open_template, true ), 0 );
803
+
804
  return $row_open_template;
805
  } // mla_gallery_row_open_template_filter
806
 
819
  //error_log( 'MLAGalleryHooksExample::mla_gallery_row_open_parse_filter $html_markup = ' . var_export( $html_markup, true ), 0 );
820
  //error_log( 'MLAGalleryHooksExample::mla_gallery_row_open_parse_filter $row_open_template = ' . var_export( $row_open_template, true ), 0 );
821
  //error_log( 'MLAGalleryHooksExample::mla_gallery_row_open_parse_filter $markup_values = ' . var_export( $markup_values, true ), 0 );
822
+
823
  return $html_markup;
824
  } // mla_gallery_row_open_parse_filter
825
 
861
  if ( ! isset( self::$shortcode_attributes['my_filter'] ) ) {
862
  return $item_values; // leave them unchanged
863
  }
864
+
865
  if ( 'format terms' == self::$shortcode_attributes['my_filter'] ) {
866
  $object_terms = wp_get_object_terms ( absint( $item_values['attachment_ID'] ), 'attachment_category', array( 'fields' => 'slugs' ) );
867
  $item_values['terms:attachment_category'] = implode( ' ', $object_terms );
868
  $item_values = self::_update_caption( $item_values, implode( ' ', $object_terms ) );
869
+
870
  //error_log( 'MLAGalleryHooksExample::mla_gallery_item_values_filter terms = ' . var_export( $item_values['terms:attachment_category'], true ), 0 );
871
  }
872
 
897
 
898
  return $item_values;
899
  }
900
+
901
  /*
902
  * The second example adds a formatted file size element to the existing caption.
903
  */
913
  'option' => 'raw'
914
  );
915
  $file_size = (float) MLAOptions::mla_get_data_source( $item_values['attachment_ID'], 'single_attachment_mapping', $my_setting, NULL );
916
+
917
  if ( 1048576 < $file_size ) {
918
  $file_size = number_format( ($file_size/1048576), 3 ).' MB';
919
  } elseif ( 10240 < $file_size ) {
927
  */
928
  return self::_update_caption( $item_values, sprintf( '%1$s<br>Size: %2$s', $item_values['caption'], $file_size ) );
929
  }
930
+
931
  /*
932
  * Our third example changes taxonomy terms into links to term-specific archive pages.
933
  */
941
  } else {
942
  $my_href = '';
943
  }
944
+
945
  /*
946
  * Collect non-empty term lists, convert to slugs,
947
  * make into links, replace $item_values
956
  foreach( $terms as $term_name ) {
957
  //$term_object = get_term_by( 'name', $term_name, $taxonomy );
958
  $term_object = get_term_by( 'name', html_entity_decode( $term_name ), $taxonomy );
959
+
960
  if ( empty( $my_href ) ) {
961
  $term_links[] = sprintf( '<a href=%1$s/%2$s/%3$s>%4$s,</a>', get_site_url(), $taxonomy, $term_object->slug, esc_html( $term_name ) );
962
  } else {
963
  $term_links[] = sprintf( '<a href=%1$s/%2$s?my_taxonomy=%3$s&my_term=%4$s>%5$s</a>', get_site_url(),$my_href, $taxonomy, $term_object->slug, esc_html( $term_name ) );
964
  }
965
  }
966
+
967
  $item_values[ $key ] = implode( ' ', $term_links );
968
  }
969
  }
970
+
971
  return $item_values;
972
  }
973
+
974
  /*
975
  * For the fourth example, we compose a URL to allow file deletion and add it to the caption.
976
  */
1010
  $my_posts[ $matches[3] ] = $matches[1];
1011
  } // match
1012
  } // each insert
1013
+
1014
  // Build the replacement caption
1015
  $my_caption = NULL;
1016
  foreach ( (array) $my_posts as $ID => $title ) {
1020
  $my_caption .= sprintf( ', <a href="%1$s/?p=%2$d">%3$s</a>', $item_values['site_url'], $ID, $title );
1021
  }
1022
  } // each post
1023
+
1024
  if ( ! empty( $my_caption ) ) {
1025
  $item_values = self::_update_caption( $item_values, $my_caption );
1026
  }
1027
  } // has inserts
1028
  }
1029
+
1030
  /*
1031
  * For our final example, we will add to the $item_values['caption'] value an unordered list
1032
  * of the custom fields populated for each gallery item. We use a shortcode parameter of our
1034
  */
1035
  if ( 'all custom' != self::$shortcode_attributes['my_filter'] )
1036
  return $item_values; // leave them unchanged
1037
+
1038
  /*
1039
  * Preserve the existing caption, if present
1040
  */
1041
  $my_caption = '';
1042
  if ( ! empty( $item_values['caption'] ) )
1043
  $my_caption .= $item_values['caption'] . "<br />\r\n";
1044
+
1045
  /*
1046
  * Retrieve the custom fields for this item, if any,
1047
  * and extract the values we are interested in.
1049
  $custom_fields = array();
1050
  $post_meta = get_metadata( 'post', $item_values['attachment_ID'] );
1051
  //error_log( 'MLAGalleryHooksExample::mla_gallery_item_values_filter $post_meta = ' . var_export( $post_meta, true ), 0 );
1052
+
1053
  if ( is_array( $post_meta ) ) {
1054
  foreach ( $post_meta as $post_meta_key => $post_meta_value ) {
1055
  if ( empty( $post_meta_key ) )
1056
  continue;
1057
+
1058
  /*
1059
  * WordPress stores several of its own values as custom fields, which we will skip.
1060
  * Some of the values you might find useful are:
1062
  */
1063
  if ( '_' == $post_meta_key{0} )
1064
  continue;
1065
+
1066
  /*
1067
  * At this point, every value is an array; one element per instance of the key.
1068
  * We'll test anyway, just to be sure, then convert single-instance values to a scalar.
1081
  } // foreach $post_meta
1082
  }
1083
  //error_log( 'MLAGalleryHooksExample::mla_gallery_item_values_filter $custom_fields = ' . var_export( $custom_fields, true ), 0 );
1084
+
1085
  /*
1086
  * Don't alter the caption if there are no custom fields to display
1087
  */
1088
  if ( empty( $custom_fields ) )
1089
  return $item_values;
1090
+
1091
  /*
1092
  * Add the definition list to the caption
1093
  */
1097
  $my_caption .= "<dd class=\"value\">{$value}</dd>\r\n";
1098
  } // foreach custom field
1099
  $my_caption .= "</dl>";
1100
+
1101
  /*
1102
  * Update the $item_values and pass them back from the filter.
1103
  */
1116
  */
1117
  public static function mla_gallery_item_template_filter( $item_template ) {
1118
  //error_log( 'MLAGalleryHooksExample::mla_gallery_item_template_filter $item_template = ' . var_export( $item_template, true ), 0 );
1119
+
1120
  return $item_template;
1121
  } // mla_gallery_item_template_filter
1122
 
1135
  //error_log( 'MLAGalleryHooksExample::mla_gallery_item_parse_filter $html_markup = ' . var_export( $html_markup, true ), 0 );
1136
  //error_log( 'MLAGalleryHooksExample::mla_gallery_item_parse_filter $item_template = ' . var_export( $item_template, true ), 0 );
1137
  //error_log( 'MLAGalleryHooksExample::mla_gallery_item_parse_filter $item_values = ' . var_export( $item_values, true ), 0 );
1138
+
1139
  return $html_markup;
1140
  } // mla_gallery_item_parse_filter
1141
 
1150
  */
1151
  public static function mla_gallery_row_close_values_filter( $markup_values ) {
1152
  //error_log( 'MLAGalleryHooksExample::mla_gallery_row_close_values_filter $markup_values = ' . var_export( $markup_values, true ), 0 );
1153
+
1154
  return $markup_values;
1155
  } // mla_gallery_row_close_values_filter
1156
 
1165
  */
1166
  public static function mla_gallery_row_close_template_filter( $row_close_template ) {
1167
  //error_log( 'MLAGalleryHooksExample::mla_gallery_row_close_template_filter $row_close_template = ' . var_export( $row_close_template, true ), 0 );
1168
+
1169
  return $row_close_template;
1170
  } // mla_gallery_row_close_template_filter
1171
 
1184
  //error_log( 'MLAGalleryHooksExample::mla_gallery_row_close_parse_filter $html_markup = ' . var_export( $html_markup, true ), 0 );
1185
  //error_log( 'MLAGalleryHooksExample::mla_gallery_row_close_parse_filter $row_close_template = ' . var_export( $row_close_template, true ), 0 );
1186
  //error_log( 'MLAGalleryHooksExample::mla_gallery_row_close_parse_filter $markup_values = ' . var_export( $markup_values, true ), 0 );
1187
+
1188
  return $html_markup;
1189
  } // mla_gallery_row_close_parse_filter
1190
 
1199
  */
1200
  public static function mla_gallery_close_values_filter( $markup_values ) {
1201
  //error_log( 'MLAGalleryHooksExample::mla_gallery_close_values_filter $markup_values = ' . var_export( $markup_values, true ), 0 );
1202
+
1203
  return $markup_values;
1204
  } // mla_gallery_close_values_filter
1205
 
1214
  */
1215
  public static function mla_gallery_close_template_filter( $close_template ) {
1216
  //error_log( 'MLAGalleryHooksExample::mla_gallery_close_template_filter $close_template = ' . var_export( $close_template, true ), 0 );
1217
+
1218
  return $close_template;
1219
  } // mla_gallery_close_template_filter
1220
 
1233
  //error_log( 'MLAGalleryHooksExample::mla_gallery_close_parse_filter $html_markup = ' . var_export( $html_markup, true ), 0 );
1234
  //error_log( 'MLAGalleryHooksExample::mla_gallery_close_parse_filter $close_template = ' . var_export( $close_template, true ), 0 );
1235
  //error_log( 'MLAGalleryHooksExample::mla_gallery_close_parse_filter $markup_values = ' . var_export( $markup_values, true ), 0 );
1236
+
1237
  return $html_markup;
1238
  } // mla_gallery_close_parse_filter
1239
 
examples/mla-image-source-control-example.php.txt CHANGED
@@ -109,7 +109,7 @@ class MLAImageSourceControlExample {
109
  $_REQUEST['custom_updates']['isc_image_source_own'] = '';
110
  }
111
  }
112
-
113
  return $item_content;
114
  } // mla_list_table_inline_action
115
 
@@ -138,7 +138,7 @@ class MLAImageSourceControlExample {
138
  $request[ $slug ] = '';
139
  }
140
  }
141
-
142
  return $request;
143
  } // mla_list_table_bulk_action_initial_request
144
 
@@ -204,10 +204,10 @@ class MLAImageSourceControlExample {
204
  */
205
  $item_values['custom_fields'] = str_replace( '>isc_image_source<', '>Source<', $item_values['custom_fields'] );
206
  $item_values['bulk_custom_fields'] = str_replace( '>isc_image_source<', '>Source<', $item_values['bulk_custom_fields'] );
207
-
208
  $item_values['custom_fields'] = str_replace( '>isc_image_source_own<', '>Own<', $item_values['custom_fields'] );
209
  $item_values['bulk_custom_fields'] = str_replace( '>isc_image_source_own<', '>Own<', $item_values['bulk_custom_fields'] );
210
-
211
  $item_values['custom_fields'] = str_replace( '>isc_image_source_url<', '>Source URL<', $item_values['custom_fields'] );
212
  $item_values['bulk_custom_fields'] = str_replace( '>isc_image_source_url<', '>Source URL<', $item_values['bulk_custom_fields'] );
213
 
@@ -244,16 +244,16 @@ class MLAImageSourceControlExample {
244
  self::$field_slugs['isc_image_source'] = $slug;
245
  $columns[ $slug ] = 'Source';
246
  }
247
-
248
  if ( false !== $slug = array_search( 'isc_image_source_own', $columns ) ) {
249
  self::$field_slugs['isc_image_source_own'] = $slug;
250
-
251
  /*
252
  * Change the column slug so we can provide our own friendly content.
253
  * Replace the entry for the column we're capturing, preserving its place in the list
254
  */
255
  $new_columns = array();
256
-
257
  foreach ( $columns as $key => $value ) {
258
  if ( $key == $slug ) {
259
  $new_columns['isc_image_source_own'] = 'Own';
@@ -261,10 +261,10 @@ class MLAImageSourceControlExample {
261
  $new_columns[ $key ] = $value;
262
  }
263
  } // foreach column
264
-
265
  $columns = $new_columns;
266
  }
267
-
268
  if ( false !== $slug = array_search( 'isc_image_source_url', $columns ) ) {
269
  self::$field_slugs['isc_image_source_url'] = $slug;
270
  $columns[ $slug ] = 'Source URL';
@@ -295,7 +295,7 @@ class MLAImageSourceControlExample {
295
  $hidden_columns[ $index ] = 'isc_image_source_own';
296
  }
297
  }
298
-
299
  return $hidden_columns;
300
  } // mla_list_table_get_hidden_columns_filter
301
 
@@ -323,7 +323,7 @@ class MLAImageSourceControlExample {
323
  $slug = self::$field_slugs['isc_image_source_own'];
324
  if ( isset( $sortable_columns[ $slug ] ) ) {
325
  $new_columns = array();
326
-
327
  foreach ( $sortable_columns as $key => $value ) {
328
  if ( $key == $slug ) {
329
  $new_columns['isc_image_source_own'] = $value;
@@ -331,7 +331,7 @@ class MLAImageSourceControlExample {
331
  $new_columns[ $key ] = $value;
332
  }
333
  } // foreach column
334
-
335
  $sortable_columns = $new_columns;
336
  } // slug found
337
  } // slug exists
@@ -363,7 +363,7 @@ class MLAImageSourceControlExample {
363
  return 'yes';
364
  }
365
  }
366
-
367
  return $content;
368
  } // mla_list_table_column_default_filter
369
 
@@ -387,7 +387,7 @@ class MLAImageSourceControlExample {
387
  if ( ! isset( self::$field_slugs['isc_image_source_own'] ) ) {
388
  return $inline_data;
389
  }
390
-
391
  /*
392
  * Replace the ISC internal value with a "friendly" value
393
  */
@@ -405,7 +405,7 @@ class MLAImageSourceControlExample {
405
  $head = substr( $inline_data, 0, $matches[1][0][1] );
406
  $tail = substr( $inline_data, ( $matches[1][0][1] + strlen( $matches[1][0][0] ) ) );
407
  $inline_data = $head . $value . $tail;
408
-
409
  return $inline_data;
410
  } // mla_list_table_build_inline_data_filter
411
  } // Class MLAImageSourceControlExample
109
  $_REQUEST['custom_updates']['isc_image_source_own'] = '';
110
  }
111
  }
112
+
113
  return $item_content;
114
  } // mla_list_table_inline_action
115
 
138
  $request[ $slug ] = '';
139
  }
140
  }
141
+
142
  return $request;
143
  } // mla_list_table_bulk_action_initial_request
144
 
204
  */
205
  $item_values['custom_fields'] = str_replace( '>isc_image_source<', '>Source<', $item_values['custom_fields'] );
206
  $item_values['bulk_custom_fields'] = str_replace( '>isc_image_source<', '>Source<', $item_values['bulk_custom_fields'] );
207
+
208
  $item_values['custom_fields'] = str_replace( '>isc_image_source_own<', '>Own<', $item_values['custom_fields'] );
209
  $item_values['bulk_custom_fields'] = str_replace( '>isc_image_source_own<', '>Own<', $item_values['bulk_custom_fields'] );
210
+
211
  $item_values['custom_fields'] = str_replace( '>isc_image_source_url<', '>Source URL<', $item_values['custom_fields'] );
212
  $item_values['bulk_custom_fields'] = str_replace( '>isc_image_source_url<', '>Source URL<', $item_values['bulk_custom_fields'] );
213
 
244
  self::$field_slugs['isc_image_source'] = $slug;
245
  $columns[ $slug ] = 'Source';
246
  }
247
+
248
  if ( false !== $slug = array_search( 'isc_image_source_own', $columns ) ) {
249
  self::$field_slugs['isc_image_source_own'] = $slug;
250
+
251
  /*
252
  * Change the column slug so we can provide our own friendly content.
253
  * Replace the entry for the column we're capturing, preserving its place in the list
254
  */
255
  $new_columns = array();
256
+
257
  foreach ( $columns as $key => $value ) {
258
  if ( $key == $slug ) {
259
  $new_columns['isc_image_source_own'] = 'Own';
261
  $new_columns[ $key ] = $value;
262
  }
263
  } // foreach column
264
+
265
  $columns = $new_columns;
266
  }
267
+
268
  if ( false !== $slug = array_search( 'isc_image_source_url', $columns ) ) {
269
  self::$field_slugs['isc_image_source_url'] = $slug;
270
  $columns[ $slug ] = 'Source URL';
295
  $hidden_columns[ $index ] = 'isc_image_source_own';
296
  }
297
  }
298
+
299
  return $hidden_columns;
300
  } // mla_list_table_get_hidden_columns_filter
301
 
323
  $slug = self::$field_slugs['isc_image_source_own'];
324
  if ( isset( $sortable_columns[ $slug ] ) ) {
325
  $new_columns = array();
326
+
327
  foreach ( $sortable_columns as $key => $value ) {
328
  if ( $key == $slug ) {
329
  $new_columns['isc_image_source_own'] = $value;
331
  $new_columns[ $key ] = $value;
332
  }
333
  } // foreach column
334
+
335
  $sortable_columns = $new_columns;
336
  } // slug found
337
  } // slug exists
363
  return 'yes';
364
  }
365
  }
366
+
367
  return $content;
368
  } // mla_list_table_column_default_filter
369
 
387
  if ( ! isset( self::$field_slugs['isc_image_source_own'] ) ) {
388
  return $inline_data;
389
  }
390
+
391
  /*
392
  * Replace the ISC internal value with a "friendly" value
393
  */
405
  $head = substr( $inline_data, 0, $matches[1][0][1] );
406
  $tail = substr( $inline_data, ( $matches[1][0][1] + strlen( $matches[1][0][0] ) ) );
407
  $inline_data = $head . $value . $tail;
408
+
409
  return $inline_data;
410
  } // mla_list_table_build_inline_data_filter
411
  } // Class MLAImageSourceControlExample
examples/mla-jhdean-mapping-hooks-example.php.txt CHANGED
@@ -93,7 +93,7 @@ class MLAjhdeanMappingHooksExample {
93
  if ( ! in_array( $category, array( 'iptc_exif_mapping', 'iptc_exif_standard_mapping' ) ) ) {
94
  return $updates;
95
  }
96
-
97
  /*
98
  * If $updates[ 'post_title' ] is set, some mapping rule
99
  * has been set up, so we respect the result. If not,
@@ -116,17 +116,17 @@ class MLAjhdeanMappingHooksExample {
116
  'option' => 'raw'
117
  );
118
  $object_name = trim( MLAOptions::mla_get_data_source( $post_id, 'single_attachment_mapping', $my_setting, NULL ) );
119
-
120
  if ( ! empty( $object_name ) ) {
121
  $object_link = strtolower( str_replace( array( ' ', '-', '_', '.' ), '-', $object_name ) );
122
 
123
  $new_title = sprintf( '<a id="detail-title" target="blank" href="http://www.jhdstaging.jeffreyhdean.com/portfolio/%1$s/"> %2$s </a>', $object_link, $object_name );
124
-
125
  if ( $old_value != $new_title ) {
126
  $updates[ 'post_title' ] = $new_title;
127
  }
128
  }
129
-
130
  return $updates;
131
  } // mla_mapping_updates_filter
132
  } //MLAjhdeanMappingHooksExample
93
  if ( ! in_array( $category, array( 'iptc_exif_mapping', 'iptc_exif_standard_mapping' ) ) ) {
94
  return $updates;
95
  }
96
+
97
  /*
98
  * If $updates[ 'post_title' ] is set, some mapping rule
99
  * has been set up, so we respect the result. If not,
116
  'option' => 'raw'
117
  );
118
  $object_name = trim( MLAOptions::mla_get_data_source( $post_id, 'single_attachment_mapping', $my_setting, NULL ) );
119
+
120
  if ( ! empty( $object_name ) ) {
121
  $object_link = strtolower( str_replace( array( ' ', '-', '_', '.' ), '-', $object_name ) );
122
 
123
  $new_title = sprintf( '<a id="detail-title" target="blank" href="http://www.jhdstaging.jeffreyhdean.com/portfolio/%1$s/"> %2$s </a>', $object_link, $object_name );
124
+
125
  if ( $old_value != $new_title ) {
126
  $updates[ 'post_title' ] = $new_title;
127
  }
128
  }
129
+
130
  return $updates;
131
  } // mla_mapping_updates_filter
132
  } //MLAjhdeanMappingHooksExample
examples/mla-list-table-hooks-example.php.txt CHANGED
@@ -3,7 +3,7 @@
3
  * Provides an example of hooking the filters provided by the MLA_List_Table class
4
  *
5
  * @package MLA List Table Hooks Example
6
- * @version 1.04
7
  */
8
 
9
  /*
@@ -11,7 +11,7 @@ Plugin Name: MLA List Table Hooks Example
11
  Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
12
  Description: Provides an example of hooking the filters provided by the MLA_List_Table class
13
  Author: David Lingren
14
- Version: 1.04
15
  Author URI: http://fairtradejudaica.org/our-story/staff/
16
 
17
  Copyright 2014 - 2015 David Lingren
@@ -71,6 +71,12 @@ class MLAListTableHooksExample {
71
  add_filter( 'mla_entries_per_page', 'MLAListTableHooksExample::mla_entries_per_page', 10, 1 );
72
  add_filter( 'manage_media_page_mla-menu_sortable_columns', 'MLAListTableHooksExample::manage_media_page_mla_menu_sortable_columns', 10, 1 );
73
 
 
 
 
 
 
 
74
  /*
75
  * Defined in /media-library-assistant/includes/class-mla-data.php
76
  */
@@ -79,6 +85,8 @@ class MLAListTableHooksExample {
79
  add_filter( 'mla_list_table_search_filter_fields', 'MLAListTableHooksExample::mla_list_table_search_filter_fields', 10, 2 );
80
  add_filter( 'mla_list_table_search_filter_inner_clause', 'MLAListTableHooksExample::mla_list_table_search_filter_inner_clause', 10, 4 );
81
  add_filter( 'mla_fetch_attachment_references', 'MLAListTableHooksExample::mla_fetch_attachment_references', 10, 3 );
 
 
82
 
83
  /*
84
  * Defined in /media-library-assistant/includes/class-mla-main.php
@@ -89,10 +97,10 @@ class MLAListTableHooksExample {
89
  add_filter( 'mla_list_table_inline_fields', 'MLAListTableHooksExample::mla_list_table_inline_fields', 10, 1 );
90
  add_filter( 'mla_list_table_inline_action', 'MLAListTableHooksExample::mla_list_table_inline_action', 10, 2 );
91
 
92
- add_filter( 'mla_list_table_bulk_action_initial_request', 'MLAListTableHooksExample::mla_list_table_bulk_action_initial_request', 10, 2 );
93
  add_filter( 'mla_list_table_begin_bulk_action', 'MLAListTableHooksExample::mla_list_table_begin_bulk_action', 10, 2 );
94
 
95
- add_filter( 'mla_list_table_bulk_action_item_request', 'MLAListTableHooksExample::mla_list_table_bulk_action_item_request', 10, 3 );
96
  add_filter( 'mla_list_table_bulk_action', 'MLAListTableHooksExample::mla_list_table_bulk_action', 10, 3 );
97
  add_filter( 'mla_list_table_custom_bulk_action', 'MLAListTableHooksExample::mla_list_table_custom_bulk_action', 10, 3 );
98
  add_filter( 'mla_list_table_end_bulk_action', 'MLAListTableHooksExample::mla_list_table_end_bulk_action', 10, 2 );
@@ -120,7 +128,7 @@ class MLAListTableHooksExample {
120
  add_filter( 'mla_list_table_prepare_items_total_items', 'MLAListTableHooksExample::mla_list_table_prepare_items_total_items', 10, 2 );
121
  add_filter( 'mla_list_table_prepare_items_the_items', 'MLAListTableHooksExample::mla_list_table_prepare_items_the_items', 10, 2 );
122
  add_action( 'mla_list_table_prepare_items', 'MLAListTableHooksExample::mla_list_table_prepare_items', 10, 1 );
123
-
124
  add_filter( 'mla_list_table_build_rollover_actions', 'MLAListTableHooksExample::mla_list_table_build_rollover_actions', 10, 3 );
125
  add_filter( 'mla_list_table_build_inline_data', 'MLAListTableHooksExample::mla_list_table_build_inline_data', 10, 2 );
126
 
@@ -137,8 +145,6 @@ class MLAListTableHooksExample {
137
  *
138
  * @param array $views An array of available list table views.
139
  * format: view_slug => link to the view, with count
140
- *
141
- * @return array updated list table views.
142
  */
143
  public static function views_media_page_mla_menu( $views ) {
144
  //error_log( 'MLAListTableHooksExample::views_media_page_mla_menu $views = ' . var_export( $views, true ), 0 );
@@ -154,8 +160,6 @@ class MLAListTableHooksExample {
154
  *
155
  * @param array $actions An array of the available bulk actions.
156
  * format: action_slug => Action Label
157
- *
158
- * @return array updated available bulk actions.
159
  */
160
  public static function bulk_actions_media_page_mla_menu( $actions ) {
161
  //error_log( 'MLAListTableHooksExample::bulk_actions_media_page_mla_menu $actions = ' . var_export( $actions, true ), 0 );
@@ -172,8 +176,6 @@ class MLAListTableHooksExample {
172
  * @param array $months The months drop-down query result objects.
173
  * format: index => array( 'year' => year, 'month' => month )
174
  * @param string $post_type The post type, e.g., 'attachment'.
175
- *
176
- * @return array updated months query results.
177
  */
178
  public static function months_dropdown_results( $months, $post_type ) {
179
  //error_log( "MLAListTableHooksExample::months_dropdown_results ({$post_type}) \$months = " . var_export( $months[0], true ), 0 );
@@ -189,8 +191,6 @@ class MLAListTableHooksExample {
189
  * @since 1.00
190
  *
191
  * @param integer $per_page Number of items to be displayed. Default 20.
192
- *
193
- * @return integer updated items to be displayed.
194
  */
195
  public static function mla_entries_per_page( $per_page ) {
196
  //error_log( 'MLAListTableHooksExample::mla_entries_per_page $per_page = ' . var_export( $per_page, true ), 0 );
@@ -209,8 +209,6 @@ class MLAListTableHooksExample {
209
  * or 'column_slug' => array( 'orderby', true )
210
  *
211
  * The second format will make the initial sorting order be descending.
212
- *
213
- * @return array updated array of sortable columns.
214
  */
215
  public static function manage_media_page_mla_menu_sortable_columns( $sortable_columns ) {
216
  //error_log( 'MLAListTableHooksExample::manage_media_page_mla_menu_sortable_columns $sortable_columns = ' . var_export( $sortable_columns, true ), 0 );
@@ -233,25 +231,23 @@ class MLAListTableHooksExample {
233
  *
234
  * @since 1.00
235
  *
236
- * @param array $active_fields fields that will be searched.
237
- * @param array $all_fields all of the fields that can be searched.
238
- *
239
- * @return array updated $active_fields.
240
  */
241
  public static function mla_list_table_search_filter_fields( $active_fields, $all_fields ) {
242
  //error_log( 'MLAListTableHooksExample::mla_list_table_search_filter_fields $active_fields = ' . var_export( $active_fields, true ), 0 );
243
  //error_log( 'MLAListTableHooksExample::mla_list_table_search_filter_fields $all_fields = ' . var_export( $all_fields, true ), 0 );
244
-
245
  if ( in_array( 'name', $active_fields ) ) {
246
  /* Uncomment next line to add File URL (guid) to the list of active search fields
247
  when the "Name" box below the Search Media text box is checked */
248
  //$active_fields[] = 'guid';
249
  }
250
-
251
  // Uncomment next line to ALWAYS add File URL (guid) to the list of active search fields
252
  //$active_fields[] = 'guid';
253
  self::$search_fields = $active_fields;
254
-
255
  return $active_fields;
256
  } // mla_list_table_search_filter_fields
257
 
@@ -262,19 +258,17 @@ class MLAListTableHooksExample {
262
  *
263
  * @since 1.00
264
  *
265
- * @param string $inner_clause current SQL inner WHERE clause.
266
  * @param string $inner_connector AND/OR connector between the search field clauses.
267
- * @param string $wpdb_posts name of the POSTS database table.
268
- * @param string $sql_term keyword value for the search.
269
- *
270
- * @return string updated $inner_clause.
271
  */
272
  public static function mla_list_table_search_filter_inner_clause( $inner_clause, $inner_connector, $wpdb_posts, $sql_term ) {
273
  //error_log( 'MLAListTableHooksExample::mla_list_table_search_filter_fields $inner_clause = ' . var_export( $inner_clause, true ), 0 );
274
  //error_log( 'MLAListTableHooksExample::mla_list_table_search_filter_fields $inner_connector = ' . var_export( $inner_connector, true ), 0 );
275
  //error_log( 'MLAListTableHooksExample::mla_list_table_search_filter_fields $wpdb_posts = ' . var_export( $wpdb_posts, true ), 0 );
276
  //error_log( 'MLAListTableHooksExample::mla_list_table_search_filter_fields $sql_term = ' . var_export( $sql_term, true ), 0 );
277
-
278
  if ( in_array( 'guid', self::$search_fields ) ) {
279
  $inner_clause .= "{$inner_connector}({$wpdb_posts}.guid LIKE {$sql_term})";
280
  }
@@ -282,6 +276,46 @@ class MLAListTableHooksExample {
282
  return $inner_clause;
283
  } // mla_list_table_search_filter_inner_clause
284
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
285
  /**
286
  * Process the "where-used" reference reporting results
287
  *
@@ -289,17 +323,15 @@ class MLAListTableHooksExample {
289
  *
290
  * @since 1.00
291
  *
292
- * @param array $references current attachment reference information.
293
- * @param integer $post_id attachment ID.
294
- * @param integer $parent_id attachment's parent ID (or zero).
295
- *
296
- * @return array updated $references.
297
  */
298
  public static function mla_fetch_attachment_references( $references, $post_id, $parent_id ) {
299
  //error_log( 'MLAListTableHooksExample::mla_fetch_attachment_references $references = ' . var_export( $references, true ), 0 );
300
  //error_log( 'MLAListTableHooksExample::mla_fetch_attachment_references $post_id = ' . var_export( $post_id, true ), 0 );
301
  //error_log( 'MLAListTableHooksExample::mla_fetch_attachment_references $parent_id = ' . var_export( $parent_id, true ), 0 );
302
-
303
  /*
304
  * $references contains:
305
  *
@@ -329,6 +361,44 @@ class MLAListTableHooksExample {
329
  return $references;
330
  } // mla_fetch_attachment_references
331
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
332
  /**
333
  * Pre-process an MLA_List_Table admin action
334
  *
@@ -338,9 +408,9 @@ class MLAListTableHooksExample {
338
  *
339
  * @since 1.03
340
  *
341
- * @param boolean $process_action true, to let MLA process the requested action.
342
- * @param string $mla_admin_action the requested action.
343
- * @param integer $mla_item_ID zero (0), or the affected attachment.
344
  */
345
  public static function mla_list_table_admin_action( $process_action, $mla_admin_action, $mla_item_ID ) {
346
  //error_log( 'MLAListTableHooksExample::mla_list_table_admin_action $mla_admin_action = ' . var_export( $mla_admin_action, true ), 0 );
@@ -356,13 +426,13 @@ class MLAListTableHooksExample {
356
  *
357
  * @since 1.04
358
  *
359
- * @param array $template_array NULL, to indicate no replacement template.
360
- * @param string $file_name the complete name of the default template file.
361
- * @param string $file_suffix the $screen->id or hook suffix part of the template file name.
362
  */
363
  public static function mla_list_table_help_template( $template_array, $file_name, $file_suffix ) {
364
  //error_log( "MLAListTableHooksExample::mla_list_table_custom_admin_action( {$file_name}, {$file_suffix} )", 0 );
365
-
366
  // To augment the default template, first load the MLA standard value
367
  // $template_array = MLAData::mla_load_template( $file_name );
368
 
@@ -378,8 +448,8 @@ class MLAListTableHooksExample {
378
  *
379
  * @since 1.03
380
  *
381
- * @param string $mla_admin_action the requested action.
382
- * @param integer $mla_item_ID zero (0), or the affected attachment.
383
  */
384
  public static function mla_list_table_custom_admin_action( $mla_admin_action, $mla_item_ID ) {
385
  //error_log( 'MLAListTableHooksExample::mla_list_table_custom_admin_action $mla_admin_action = ' . var_export( $mla_admin_action, true ), 0 );
@@ -394,16 +464,17 @@ class MLAListTableHooksExample {
394
  *
395
  * @since 1.00
396
  *
397
- * @param array $item_content NULL, to indicate no handler.
398
- * @param integer $post_id the affected attachment.
399
- *
400
- * @return object updated $item_content. NULL if no handler, otherwise
401
- * ( 'message' => error or status message(s), 'body' => '',
402
- * 'prevent_default' => true to bypass the MLA handler )
403
  */
404
  public static function mla_list_table_inline_action( $item_content, $post_id ) {
405
- //error_log( 'MLAListTableHooksExample::mla_list_table_inline_action $item_content = ' . var_export( $item_content, true ), 0 );
406
  //error_log( 'MLAListTableHooksExample::mla_list_table_inline_action $post_id = ' . var_export( $post_id, true ), 0 );
 
 
 
 
 
 
407
  return $item_content;
408
  } // mla_list_table_inline_action
409
 
@@ -415,11 +486,9 @@ class MLAListTableHooksExample {
415
  *
416
  * @since 1.02
417
  *
418
- * @param array $request bulk action request parameters, including ['mla_bulk_action_do_cleanup'].
419
- * @param string $bulk_action the requested action.
420
  * @param array $custom_field_map [ slug => field_name ]
421
- *
422
- * @return array updated bulk action request parameters
423
  */
424
  public static function mla_list_table_bulk_action_initial_request( $request, $bulk_action, $custom_field_map ) {
425
  //error_log( 'MLAListTableHooksExample::mla_list_table_bulk_action_initial_request $request = ' . var_export( $request, true ), 0 );
@@ -441,16 +510,17 @@ class MLAListTableHooksExample {
441
  *
442
  * @since 1.01
443
  *
444
- * @param array $item_content NULL, to indicate no handler.
445
- * @param string $bulk_action the requested action.
446
- *
447
- * @return object updated $item_content. NULL if no handler, otherwise
448
- * ( 'message' => error or status message(s), 'body' => '',
449
- * 'prevent_default' => true to bypass the MLA handler )
450
  */
451
  public static function mla_list_table_begin_bulk_action( $item_content, $bulk_action ) {
452
- //error_log( 'MLAListTableHooksExample::mla_list_table_begin_bulk_action $item_content = ' . var_export( $item_content, true ), 0 );
453
  //error_log( 'MLAListTableHooksExample::mla_list_table_begin_bulk_action $bulk_action = ' . var_export( $bulk_action, true ), 0 );
 
 
 
 
 
 
454
  return $item_content;
455
  } // mla_list_table_begin_bulk_action
456
 
@@ -462,14 +532,10 @@ class MLAListTableHooksExample {
462
  *
463
  * @since 1.02
464
  *
465
- * @param array $request bulk action request parameters, including ['mla_bulk_action_do_cleanup'].
466
- * @param string $bulk_action the requested action.
467
- * @param integer $post_id the affected attachment.
468
  * @param array $custom_field_map [ slug => field_name ]
469
- *
470
- * @return object updated $item_content. NULL if no handler, otherwise
471
- * ( 'message' => error or status message(s), 'body' => '',
472
- * 'prevent_default' => true to bypass the MLA handler )
473
  */
474
  public static function mla_list_table_bulk_action_item_request( $request, $bulk_action, $post_id, $custom_field_map ) {
475
  //error_log( 'MLAListTableHooksExample::mla_list_table_bulk_action_item_request $request = ' . var_export( $request, true ), 0 );
@@ -488,18 +554,19 @@ class MLAListTableHooksExample {
488
  *
489
  * @since 1.00
490
  *
491
- * @param array $item_content NULL, to indicate no handler.
492
- * @param string $bulk_action the requested action.
493
- * @param integer $post_id the affected attachment.
494
- *
495
- * @return object updated $item_content. NULL if no handler, otherwise
496
- * ( 'message' => error or status message(s), 'body' => '',
497
- * 'prevent_default' => true to bypass the MLA handler )
498
  */
499
  public static function mla_list_table_bulk_action( $item_content, $bulk_action, $post_id ) {
500
- //error_log( 'MLAListTableHooksExample::mla_list_table_bulk_action $item_content = ' . var_export( $item_content, true ), 0 );
501
  //error_log( 'MLAListTableHooksExample::mla_list_table_bulk_action $bulk_action = ' . var_export( $bulk_action, true ), 0 );
502
  //error_log( 'MLAListTableHooksExample::mla_list_table_bulk_action $post_id = ' . var_export( $post_id, true ), 0 );
 
 
 
 
 
 
503
  return $item_content;
504
  } // mla_list_table_bulk_action
505
 
@@ -512,18 +579,19 @@ class MLAListTableHooksExample {
512
  *
513
  * @since 1.00
514
  *
515
- * @param array $item_content NULL, to indicate no handler.
516
- * @param string $bulk_action the requested action.
517
- * @param integer $post_id the affected attachment.
518
- *
519
- * @return object updated $item_content. NULL if no handler, otherwise
520
- * ( 'message' => error or status message(s), 'body' => '',
521
- * 'prevent_default' => true to bypass the MLA handler )
522
  */
523
  public static function mla_list_table_custom_bulk_action( $item_content, $bulk_action, $post_id ) {
524
- //error_log( 'MLAListTableHooksExample::mla_list_table_custom_bulk_action $item_content = ' . var_export( $item_content, true ), 0 );
525
  //error_log( 'MLAListTableHooksExample::mla_list_table_custom_bulk_action $bulk_action = ' . var_export( $bulk_action, true ), 0 );
526
  //error_log( 'MLAListTableHooksExample::mla_list_table_custom_bulk_action $post_id = ' . var_export( $post_id, true ), 0 );
 
 
 
 
 
 
527
  return $item_content;
528
  } // mla_list_table_custom_bulk_action
529
 
@@ -536,16 +604,17 @@ class MLAListTableHooksExample {
536
  *
537
  * @since 1.01
538
  *
539
- * @param array $item_content NULL, to indicate no handler.
540
- * @param string $bulk_action the requested action.
541
- *
542
- * @return object updated $item_content. NULL if no handler, otherwise
543
- * ( 'message' => error or status message(s),
544
- * 'body' => '' or page content in place of the submenu table )
545
  */
546
  public static function mla_list_table_end_bulk_action( $item_content, $bulk_action ) {
547
- //error_log( 'MLAListTableHooksExample::mla_list_table_end_bulk_action $item_content = ' . var_export( $item_content, true ), 0 );
548
  //error_log( 'MLAListTableHooksExample::mla_list_table_end_bulk_action $bulk_action = ' . var_export( $bulk_action, true ), 0 );
 
 
 
 
 
 
549
  return $item_content;
550
  } // mla_list_table_end_bulk_action
551
 
@@ -557,19 +626,19 @@ class MLAListTableHooksExample {
557
  *
558
  * @since 1.00
559
  *
560
- * @param array $page_content NULL, to indicate no handler.
561
- * @param string $mla_admin_action the requested action.
562
- * @param integer $mla_item_ID zero (0), or the affected attachment.
563
- *
564
- * @return object updated $page_content. NULL if no handler, otherwise
565
- * ( 'message' => error or status message(s),
566
- * 'body' => '' or page content in place of the submenu table,
567
- * 'prevent_default' => true to bypass the MLA handler )
568
  */
569
  public static function mla_list_table_single_action( $page_content, $mla_admin_action, $mla_item_ID ) {
570
- //error_log( 'MLAListTableHooksExample::mla_list_table_single_action $page_content = ' . var_export( $page_content, true ), 0 );
571
  //error_log( 'MLAListTableHooksExample::mla_list_table_single_action $mla_admin_action = ' . var_export( $mla_admin_action, true ), 0 );
572
  //error_log( 'MLAListTableHooksExample::mla_list_table_single_action $mla_item_ID = ' . var_export( $mla_item_ID, true ), 0 );
 
 
 
 
 
 
573
  return $page_content;
574
  } // mla_list_table_single_action
575
 
@@ -581,18 +650,19 @@ class MLAListTableHooksExample {
581
  *
582
  * @since 1.00
583
  *
584
- * @param array $page_content NULL, to indicate no handler.
585
- * @param string $mla_admin_action the requested action.
586
- * @param integer $mla_item_ID zero (0), or the affected attachment.
587
- *
588
- * @return object updated $page_content. NULL if no handler, otherwise
589
- * ( 'message' => error or status message(s),
590
- * 'body' => '' or page content in place of the submenu table )
591
  */
592
  public static function mla_list_table_custom_single_action( $page_content, $mla_admin_action, $mla_item_ID ) {
593
- //error_log( 'MLAListTableHooksExample::mla_list_table_custom_single_action $page_content = ' . var_export( $page_content, true ), 0 );
594
  //error_log( 'MLAListTableHooksExample::mla_list_table_custom_single_action $mla_admin_action = ' . var_export( $mla_admin_action, true ), 0 );
595
  //error_log( 'MLAListTableHooksExample::mla_list_table_custom_single_action $mla_item_ID = ' . var_export( $mla_item_ID, true ), 0 );
 
 
 
 
 
 
596
  return $page_content;
597
  } // mla_list_table_custom_single_action
598
 
@@ -602,8 +672,6 @@ class MLAListTableHooksExample {
602
  * This action gives you an opportunity to clear any custom submenu "Filter-by" parameters.
603
  *
604
  * @since 1.00
605
- *
606
- * @return void
607
  */
608
  public static function mla_list_table_clear_filter_by() {
609
  //error_log( 'MLAListTableHooksExample::mla_list_table_clear_filter_by $_REQUEST = ' . var_export( $_REQUEST, true ), 0 );
@@ -616,12 +684,13 @@ class MLAListTableHooksExample {
616
  *
617
  * @since 1.00
618
  *
619
- * @param object $mla_list_table NULL, to indicate no extension/use the base class.
620
- *
621
- * @return object updated mla_list_table object.
622
  */
623
  public static function mla_list_table_new_instance( $mla_list_table ) {
624
- //error_log( 'MLAListTableHooksExample::mla_list_table_new_instance $mla_list_table = ' . var_export( $mla_list_table, true ), 0 );
 
 
 
625
  return $mla_list_table;
626
  } // mla_list_table_new_instance
627
 
@@ -633,9 +702,7 @@ class MLAListTableHooksExample {
633
  *
634
  * @since 1.00
635
  *
636
- * @param array $item_values parameter_name => parameter_value pairs
637
- *
638
- * @return array updated substitution parameter name => value pairs
639
  */
640
  public static function mla_list_table_inline_values( $item_values ) {
641
  //error_log( 'MLAListTableHooksExample::mla_list_table_inline_values $item_values = ' . var_export( $item_values, true ), 0 );
@@ -650,9 +717,7 @@ class MLAListTableHooksExample {
650
  *
651
  * @since 1.00
652
  *
653
- * @param string template used to generate the HTML markup
654
- *
655
- * @return string updated template
656
  */
657
  public static function mla_list_table_inline_template( $item_template ) {
658
  //error_log( 'MLAListTableHooksExample::mla_list_table_inline_template $item_template = ' . var_export( $item_template, true ), 0 );
@@ -667,11 +732,9 @@ class MLAListTableHooksExample {
667
  * This filter gives you a final chance to modify and extend the HTML
668
  * markup used for the Quick and Bulk Edit forms.
669
  *
670
- * @param string HTML markup returned by the template parser
671
- * @param string template used to generate the HTML markup
672
- * @param array parameter_name => parameter_value pairs
673
- *
674
- * @return array updated HTML markup for the Quick and Bulk Edit forms
675
  */
676
  public static function mla_list_table_inline_parse( $html_markup, $item_template, $item_values ) {
677
  //error_log( 'MLAListTableHooksExample::mla_list_table_inline_parse $html_markup = ' . var_export( $html_markup, true ), 0 );
@@ -689,8 +752,6 @@ class MLAListTableHooksExample {
689
  *
690
  * @param array $columns An array of columns.
691
  * format: column_slug => Column Label
692
- *
693
- * @return array updated array of columns.
694
  */
695
  public static function mla_list_table_get_columns( $columns ) {
696
  //error_log( 'MLAListTableHooksExample::mla_list_table_get_columns $columns = ' . var_export( $columns, true ), 0 );
@@ -706,8 +767,6 @@ class MLAListTableHooksExample {
706
  *
707
  * @param array $hidden_columns An array of columns.
708
  * format: index => column_slug
709
- *
710
- * @return array updated array of columns.
711
  */
712
  public static function mla_list_table_get_hidden_columns( $hidden_columns ) {
713
  //error_log( 'MLAListTableHooksExample::mla_list_table_get_hidden_columns $hidden_columns = ' . var_export( $hidden_columns, true ), 0 );
@@ -727,8 +786,6 @@ class MLAListTableHooksExample {
727
  * or 'column_slug' => array( 'orderby', true )
728
  *
729
  * The second format will make the initial sorting order be descending.
730
- *
731
- * @return array updated array of columns.
732
  */
733
  public static function mla_list_table_get_sortable_columns( $sortable_columns ) {
734
  //error_log( 'MLAListTableHooksExample::mla_list_table_get_sortable_columns $sortable_columns = ' . var_export( $sortable_columns, true ), 0 );
@@ -745,8 +802,6 @@ class MLAListTableHooksExample {
745
  *
746
  * @param array $actions An array of bulk actions.
747
  * Format: 'slug' => 'Label'
748
- *
749
- * @return array updated array of actions.
750
  */
751
  public static function mla_list_table_get_bulk_actions( $actions ) {
752
  //error_log( 'MLAListTableHooksExample::mla_list_table_get_bulk_actions $actions = ' . var_export( $actions, true ), 0 );
@@ -760,13 +815,17 @@ class MLAListTableHooksExample {
760
  *
761
  * @since 1.00
762
  *
763
- * @param string NULL, indicating no default content
764
- * @param array A singular item (one full row's worth of data)
765
- * @param array The name/slug of the column to be processed
766
- * @return string Text or HTML to be placed inside the column
767
  */
768
  public static function mla_list_table_column_default( $content, $item, $column_name ) {
769
  //error_log( "MLAListTableHooksExample::mla_list_table_column_default ({$column_name}) \$item = " . var_export( $item, true ), 0 );
 
 
 
 
 
770
  return $content;
771
  } // mla_list_table_column_default
772
 
@@ -780,8 +839,6 @@ class MLAListTableHooksExample {
780
  *
781
  * @param array $submenu_arguments Current view, pagination and sort parameters.
782
  * @param object $include_filters True to include "filter-by" parameters, e.g., year/month dropdown.
783
- *
784
- * @return array updated submenu_arguments.
785
  */
786
  public static function mla_list_table_submenu_arguments( $submenu_arguments, $include_filters ) {
787
  //error_log( 'MLAListTableHooksExample::mla_list_table_submenu_arguments $submenu_arguments = ' . var_export( $submenu_arguments, true ), 0 );
@@ -799,8 +856,6 @@ class MLAListTableHooksExample {
799
  *
800
  * @param array $pagination Contains 'per_page', 'current_page'.
801
  * @param object $mla_list_table The MLA_List_Table object, passed by reference.
802
- *
803
- * @return array updated pagination array.
804
  */
805
  public static function mla_list_table_prepare_items_pagination( $pagination, $mla_list_table ) {
806
  //error_log( 'MLAListTableHooksExample::mla_list_table_prepare_items_pagination $pagination = ' . var_export( $pagination, true ), 0 );
@@ -816,14 +871,16 @@ class MLAListTableHooksExample {
816
  *
817
  * @since 1.00
818
  *
819
- * @param integer $total_items NULL, indicating no substitution.
820
  * @param object $mla_list_table The MLA_List_Table object, passed by reference.
821
- *
822
- * @return integer updated total_items.
823
  */
824
  public static function mla_list_table_prepare_items_total_items( $total_items, $mla_list_table ) {
825
- //error_log( 'MLAListTableHooksExample::mla_list_table_prepare_items_total_items $total_items = ' . var_export( $total_items, true ), 0 );
826
  //error_log( 'MLAListTableHooksExample::mla_list_table_prepare_items_total_items $mla_list_table->get_pagenum() = ' . var_export( $mla_list_table->get_pagenum(), true ), 0 );
 
 
 
 
 
827
  return $total_items;
828
  } // mla_list_table_prepare_items_total_items
829
 
@@ -835,14 +892,16 @@ class MLAListTableHooksExample {
835
  *
836
  * @since 1.00
837
  *
838
- * @param array $items NULL, indicating no substitution.
839
  * @param object $mla_list_table The MLA_List_Table object, passed by reference.
840
- *
841
- * @return object NULL or replacement $items array
842
  */
843
  public static function mla_list_table_prepare_items_the_items( $items, $mla_list_table ) {
844
- //error_log( 'MLAListTableHooksExample::mla_list_table_prepare_items_the_items $items = ' . var_export( $items, true ), 0 );
845
  //error_log( 'MLAListTableHooksExample::mla_list_table_prepare_items_the_items $mla_list_table->get_pagenum() = ' . var_export( $mla_list_table->get_pagenum(), true ), 0 );
 
 
 
 
 
846
  return $items;
847
  } // mla_list_table_prepare_items_the_items
848
 
@@ -854,9 +913,7 @@ class MLAListTableHooksExample {
854
  *
855
  * @since 1.03
856
  *
857
- * @param array WP_Query request prepared by "Prepare List Table Query"
858
- *
859
- * @return array updated WP_Query request
860
  */
861
  public static function mla_list_table_query_final_terms( $request ) {
862
  //error_log( 'MLAListTableHooksExample::mla_list_table_query_final_terms $request = ' . var_export( $request, true ), 0 );
@@ -872,8 +929,8 @@ class MLAListTableHooksExample {
872
  *
873
  * @since 1.03
874
  *
875
- * @param object NULL, indicating no results substitution
876
- * @param array WP_Query request prepared by "Prepare List Table Query"
877
  */
878
  public static function mla_list_table_query_custom_items( $wp_query_object, $request ) {
879
  //error_log( 'MLAListTableHooksExample::mla_media_modal_query_custom_items $request = ' . var_export( $request, true ), 0 );
@@ -894,8 +951,6 @@ class MLAListTableHooksExample {
894
  * @since 1.00
895
  *
896
  * @param object $mla_list_table The MLA_List_Table object, passed by reference.
897
- *
898
- * @return void actions do not return anything.
899
  */
900
  public static function mla_list_table_prepare_items( $mla_list_table ) {
901
  //error_log( 'MLAListTableHooksExample::mla_list_table_prepare_items $mla_list_table->get_pagenum() = ' . var_export( $mla_list_table->get_pagenum(), true ), 0 );
@@ -916,8 +971,6 @@ class MLAListTableHooksExample {
916
  * @param array $actions The list of item "Rollover" actions.
917
  * @param object $item The current Media Library item.
918
  * @param string $column The List Table column slug.
919
- *
920
- * @return array updated "Rollover" actions.
921
  */
922
  public static function mla_list_table_build_rollover_actions( $actions, $item, $column ) {
923
  //error_log( "MLAListTableHooksExample::mla_list_table_build_rollover_actions ({$column}) \$actions = " . var_export( $actions, true ), 0 );
@@ -934,8 +987,6 @@ class MLAListTableHooksExample {
934
  * @since 1.00
935
  *
936
  * @param array $fields The field names for inline data.
937
- *
938
- * @return string updated fields for inline data.
939
  */
940
  public static function mla_list_table_inline_fields( $fields ) {
941
  //error_log( 'MLAListTableHooksExample::mla_list_table_inline_fields $fields = ' . var_export( $fields, true ), 0 );
@@ -952,8 +1003,6 @@ class MLAListTableHooksExample {
952
  *
953
  * @param string $inline_data The HTML markup for inline data.
954
  * @param object $item The current Media Library item.
955
- *
956
- * @return string updated HTML markup for inline data.
957
  */
958
  public static function mla_list_table_build_inline_data( $inline_data, $item ) {
959
  //error_log( 'MLAListTableHooksExample::mla_list_table_build_inline_data $inline_data = ' . var_export( $inline_data, true ), 0 );
@@ -970,8 +1019,6 @@ class MLAListTableHooksExample {
970
  * @since 1.00
971
  *
972
  * @param array $views An array of available list table views.
973
- *
974
- * @return array updated list table views.
975
  */
976
  public static function views_upload( $views ) {
977
  //error_log( 'MLAListTableHooksExample::views_upload $views = ' . var_export( $views, true ), 0 );
3
  * Provides an example of hooking the filters provided by the MLA_List_Table class
4
  *
5
  * @package MLA List Table Hooks Example
6
+ * @version 1.06
7
  */
8
 
9
  /*
11
  Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
12
  Description: Provides an example of hooking the filters provided by the MLA_List_Table class
13
  Author: David Lingren
14
+ Version: 1.06
15
  Author URI: http://fairtradejudaica.org/our-story/staff/
16
 
17
  Copyright 2014 - 2015 David Lingren
71
  add_filter( 'mla_entries_per_page', 'MLAListTableHooksExample::mla_entries_per_page', 10, 1 );
72
  add_filter( 'manage_media_page_mla-menu_sortable_columns', 'MLAListTableHooksExample::manage_media_page_mla_menu_sortable_columns', 10, 1 );
73
 
74
+ /*
75
+ * Defined in /media-library-assistant/includes/class-mla-objects.php
76
+ */
77
+ add_filter( 'mla_taxonomy_get_columns', 'MLAListTableHooksExample::mla_taxonomy_get_columns', 10, 3 );
78
+ add_filter( 'mla_taxonomy_column', 'MLAListTableHooksExample::mla_taxonomy_column', 10, 5 );
79
+
80
  /*
81
  * Defined in /media-library-assistant/includes/class-mla-data.php
82
  */
85
  add_filter( 'mla_list_table_search_filter_fields', 'MLAListTableHooksExample::mla_list_table_search_filter_fields', 10, 2 );
86
  add_filter( 'mla_list_table_search_filter_inner_clause', 'MLAListTableHooksExample::mla_list_table_search_filter_inner_clause', 10, 4 );
87
  add_filter( 'mla_fetch_attachment_references', 'MLAListTableHooksExample::mla_fetch_attachment_references', 10, 3 );
88
+ add_filter( 'mla_update_single_item', 'MLAListTableHooksExample::mla_update_single_item', 10, 3 );
89
+ add_action( 'mla_updated_single_item', 'MLAListTableHooksExample::mla_updated_single_item', 10, 2 );
90
 
91
  /*
92
  * Defined in /media-library-assistant/includes/class-mla-main.php
97
  add_filter( 'mla_list_table_inline_fields', 'MLAListTableHooksExample::mla_list_table_inline_fields', 10, 1 );
98
  add_filter( 'mla_list_table_inline_action', 'MLAListTableHooksExample::mla_list_table_inline_action', 10, 2 );
99
 
100
+ add_filter( 'mla_list_table_bulk_action_initial_request', 'MLAListTableHooksExample::mla_list_table_bulk_action_initial_request', 10, 3 );
101
  add_filter( 'mla_list_table_begin_bulk_action', 'MLAListTableHooksExample::mla_list_table_begin_bulk_action', 10, 2 );
102
 
103
+ add_filter( 'mla_list_table_bulk_action_item_request', 'MLAListTableHooksExample::mla_list_table_bulk_action_item_request', 10, 4 );
104
  add_filter( 'mla_list_table_bulk_action', 'MLAListTableHooksExample::mla_list_table_bulk_action', 10, 3 );
105
  add_filter( 'mla_list_table_custom_bulk_action', 'MLAListTableHooksExample::mla_list_table_custom_bulk_action', 10, 3 );
106
  add_filter( 'mla_list_table_end_bulk_action', 'MLAListTableHooksExample::mla_list_table_end_bulk_action', 10, 2 );
128
  add_filter( 'mla_list_table_prepare_items_total_items', 'MLAListTableHooksExample::mla_list_table_prepare_items_total_items', 10, 2 );
129
  add_filter( 'mla_list_table_prepare_items_the_items', 'MLAListTableHooksExample::mla_list_table_prepare_items_the_items', 10, 2 );
130
  add_action( 'mla_list_table_prepare_items', 'MLAListTableHooksExample::mla_list_table_prepare_items', 10, 1 );
131
+
132
  add_filter( 'mla_list_table_build_rollover_actions', 'MLAListTableHooksExample::mla_list_table_build_rollover_actions', 10, 3 );
133
  add_filter( 'mla_list_table_build_inline_data', 'MLAListTableHooksExample::mla_list_table_build_inline_data', 10, 2 );
134
 
145
  *
146
  * @param array $views An array of available list table views.
147
  * format: view_slug => link to the view, with count
 
 
148
  */
149
  public static function views_media_page_mla_menu( $views ) {
150
  //error_log( 'MLAListTableHooksExample::views_media_page_mla_menu $views = ' . var_export( $views, true ), 0 );
160
  *
161
  * @param array $actions An array of the available bulk actions.
162
  * format: action_slug => Action Label
 
 
163
  */
164
  public static function bulk_actions_media_page_mla_menu( $actions ) {
165
  //error_log( 'MLAListTableHooksExample::bulk_actions_media_page_mla_menu $actions = ' . var_export( $actions, true ), 0 );
176
  * @param array $months The months drop-down query result objects.
177
  * format: index => array( 'year' => year, 'month' => month )
178
  * @param string $post_type The post type, e.g., 'attachment'.
 
 
179
  */
180
  public static function months_dropdown_results( $months, $post_type ) {
181
  //error_log( "MLAListTableHooksExample::months_dropdown_results ({$post_type}) \$months = " . var_export( $months[0], true ), 0 );
191
  * @since 1.00
192
  *
193
  * @param integer $per_page Number of items to be displayed. Default 20.
 
 
194
  */
195
  public static function mla_entries_per_page( $per_page ) {
196
  //error_log( 'MLAListTableHooksExample::mla_entries_per_page $per_page = ' . var_export( $per_page, true ), 0 );
209
  * or 'column_slug' => array( 'orderby', true )
210
  *
211
  * The second format will make the initial sorting order be descending.
 
 
212
  */
213
  public static function manage_media_page_mla_menu_sortable_columns( $sortable_columns ) {
214
  //error_log( 'MLAListTableHooksExample::manage_media_page_mla_menu_sortable_columns $sortable_columns = ' . var_export( $sortable_columns, true ), 0 );
231
  *
232
  * @since 1.00
233
  *
234
+ * @param array $active_fields Fields that will be searched.
235
+ * @param array $all_fields All of the fields that can be searched.
 
 
236
  */
237
  public static function mla_list_table_search_filter_fields( $active_fields, $all_fields ) {
238
  //error_log( 'MLAListTableHooksExample::mla_list_table_search_filter_fields $active_fields = ' . var_export( $active_fields, true ), 0 );
239
  //error_log( 'MLAListTableHooksExample::mla_list_table_search_filter_fields $all_fields = ' . var_export( $all_fields, true ), 0 );
240
+
241
  if ( in_array( 'name', $active_fields ) ) {
242
  /* Uncomment next line to add File URL (guid) to the list of active search fields
243
  when the "Name" box below the Search Media text box is checked */
244
  //$active_fields[] = 'guid';
245
  }
246
+
247
  // Uncomment next line to ALWAYS add File URL (guid) to the list of active search fields
248
  //$active_fields[] = 'guid';
249
  self::$search_fields = $active_fields;
250
+
251
  return $active_fields;
252
  } // mla_list_table_search_filter_fields
253
 
258
  *
259
  * @since 1.00
260
  *
261
+ * @param string $inner_clause Current SQL inner WHERE clause.
262
  * @param string $inner_connector AND/OR connector between the search field clauses.
263
+ * @param string $wpdb_posts Name of the POSTS database table.
264
+ * @param string $sql_term Keyword value for the search.
 
 
265
  */
266
  public static function mla_list_table_search_filter_inner_clause( $inner_clause, $inner_connector, $wpdb_posts, $sql_term ) {
267
  //error_log( 'MLAListTableHooksExample::mla_list_table_search_filter_fields $inner_clause = ' . var_export( $inner_clause, true ), 0 );
268
  //error_log( 'MLAListTableHooksExample::mla_list_table_search_filter_fields $inner_connector = ' . var_export( $inner_connector, true ), 0 );
269
  //error_log( 'MLAListTableHooksExample::mla_list_table_search_filter_fields $wpdb_posts = ' . var_export( $wpdb_posts, true ), 0 );
270
  //error_log( 'MLAListTableHooksExample::mla_list_table_search_filter_fields $sql_term = ' . var_export( $sql_term, true ), 0 );
271
+
272
  if ( in_array( 'guid', self::$search_fields ) ) {
273
  $inner_clause .= "{$inner_connector}({$wpdb_posts}.guid LIKE {$sql_term})";
274
  }
276
  return $inner_clause;
277
  } // mla_list_table_search_filter_inner_clause
278
 
279
+ /**
280
+ * Pre-process the Edit Taxonomy submenu table columns
281
+ *
282
+ * This filter gives you an opportunity to change the columns defined
283
+ * for the Edit Taxonomy submenu table(s).
284
+ *
285
+ * @since 1.06
286
+ *
287
+ * @param NULL $filter_columns NULL, indicating no changes to the default processing.
288
+ * @param array $columns Column definitions for the edit taxonomy list table.
289
+ * @param string $taxonomy Slug of the taxonomy for this submenu.
290
+ */
291
+ public static function mla_taxonomy_get_columns( $filter_columns, $columns, $taxonomy ) {
292
+ //error_log( 'MLAListTableHooksExample::mla_taxonomy_get_columns $columns = ' . var_export( $columns, true ), 0 );
293
+ //error_log( 'MLAListTableHooksExample::mla_taxonomy_get_columns $taxonomy = ' . var_export( $taxonomy, true ), 0 );
294
+ return $filter_columns;
295
+ } // mla_taxonomy_get_columns
296
+
297
+ /**
298
+ * Pre-process Edit Taxonomy submenu table column content
299
+ *
300
+ * This filter gives you an opportunity to change column content in
301
+ * for the Edit Taxonomy submenu table(s).
302
+ *
303
+ * @since 1.06
304
+ *
305
+ * @param NULL $filter_content NULL, indicating no changes to the current content.
306
+ * @param string $current_value Current column content.
307
+ * @param string $column_name Slug of the column definition.
308
+ * @param integer $term_id ID of the current term.
309
+ * @param string $taxonomy Slug of the taxonomy for this submenu.
310
+ */
311
+ public static function mla_taxonomy_column( $filter_content, $current_value, $column_name, $term_id, $taxonomy ) {
312
+ //error_log( 'MLAListTableHooksExample::mla_taxonomy_column $current_value = ' . var_export( $current_value, true ), 0 );
313
+ //error_log( 'MLAListTableHooksExample::mla_taxonomy_column $column_name = ' . var_export( $column_name, true ), 0 );
314
+ //error_log( 'MLAListTableHooksExample::mla_taxonomy_column $term_id = ' . var_export( $term_id, true ), 0 );
315
+ //error_log( 'MLAListTableHooksExample::mla_taxonomy_column $taxonomy = ' . var_export( $taxonomy, true ), 0 );
316
+ return $filter_content;
317
+ } // mla_taxonomy_column
318
+
319
  /**
320
  * Process the "where-used" reference reporting results
321
  *
323
  *
324
  * @since 1.00
325
  *
326
+ * @param array $references Current attachment reference information.
327
+ * @param integer $post_id Attachment ID.
328
+ * @param integer $parent_id Attachment's parent ID (or zero).
 
 
329
  */
330
  public static function mla_fetch_attachment_references( $references, $post_id, $parent_id ) {
331
  //error_log( 'MLAListTableHooksExample::mla_fetch_attachment_references $references = ' . var_export( $references, true ), 0 );
332
  //error_log( 'MLAListTableHooksExample::mla_fetch_attachment_references $post_id = ' . var_export( $post_id, true ), 0 );
333
  //error_log( 'MLAListTableHooksExample::mla_fetch_attachment_references $parent_id = ' . var_export( $parent_id, true ), 0 );
334
+
335
  /*
336
  * $references contains:
337
  *
361
  return $references;
362
  } // mla_fetch_attachment_references
363
 
364
+ /**
365
+ * Pre-process a Media Library item update action
366
+ *
367
+ * This filter gives you an opportunity to modify, delete or add to updates before they are applied.
368
+ *
369
+ * @since 1.06
370
+ *
371
+ * @param array $updates ( 'new_data' => array, 'tax_input' => array, 'tax_actions' => array ).
372
+ * @param integer $post_id ID of the item being updated.
373
+ * @param array $post_data Current item content.
374
+ */
375
+ public static function mla_update_single_item( $updates, $post_id, $post_data ) {
376
+ //error_log( 'MLAListTableHooksExample::mla_update_single_item $updates = ' . var_export( $updates, true ), 0 );
377
+ //error_log( 'MLAListTableHooksExample::mla_update_single_item $post_id = ' . var_export( $post_id, true ), 0 );
378
+ //error_log( 'MLAListTableHooksExample::mla_update_single_item $post_data = ' . var_export( $post_data, true ), 0 );
379
+
380
+ /*
381
+ * You can modify the content of any $updates element ot remove it to prevent updates
382
+ */
383
+
384
+ return $updates;
385
+ } // mla_update_single_item
386
+
387
+ /**
388
+ * POST-process a Media Library item update action
389
+ *
390
+ * This action gives you an opportunity to work with the item after updates have been applied.
391
+ *
392
+ * @since 1.06
393
+ *
394
+ * @param integer $post_id ID of the item that was updated.
395
+ * @param integer $result Zero if the update failed else ID of the item that was updated.
396
+ */
397
+ public static function mla_updated_single_item( $post_id, $result ) {
398
+ //error_log( 'MLAListTableHooksExample::mla_updated_single_item $post_id = ' . var_export( $post_id, true ), 0 );
399
+ //error_log( 'MLAListTableHooksExample::mla_updated_single_item $result = ' . var_export( $result, true ), 0 );
400
+ } // mla_updated_single_item
401
+
402
  /**
403
  * Pre-process an MLA_List_Table admin action
404
  *
408
  *
409
  * @since 1.03
410
  *
411
+ * @param boolean $process_action true, to let MLA process the requested action.
412
+ * @param string $mla_admin_action The requested action.
413
+ * @param integer $mla_item_ID Zero (0), or the affected attachment.
414
  */
415
  public static function mla_list_table_admin_action( $process_action, $mla_admin_action, $mla_item_ID ) {
416
  //error_log( 'MLAListTableHooksExample::mla_list_table_admin_action $mla_admin_action = ' . var_export( $mla_admin_action, true ), 0 );
426
  *
427
  * @since 1.04
428
  *
429
+ * @param NULL $template_array NULL, indicating no replacement template.
430
+ * @param string $file_name The complete name of the default template file.
431
+ * @param string $file_suffix The $screen->id or hook suffix part of the template file name.
432
  */
433
  public static function mla_list_table_help_template( $template_array, $file_name, $file_suffix ) {
434
  //error_log( "MLAListTableHooksExample::mla_list_table_custom_admin_action( {$file_name}, {$file_suffix} )", 0 );
435
+
436
  // To augment the default template, first load the MLA standard value
437
  // $template_array = MLAData::mla_load_template( $file_name );
438
 
448
  *
449
  * @since 1.03
450
  *
451
+ * @param string $mla_admin_action The requested action.
452
+ * @param integer $mla_item_ID Zero (0), or the affected attachment.
453
  */
454
  public static function mla_list_table_custom_admin_action( $mla_admin_action, $mla_item_ID ) {
455
  //error_log( 'MLAListTableHooksExample::mla_list_table_custom_admin_action $mla_admin_action = ' . var_export( $mla_admin_action, true ), 0 );
464
  *
465
  * @since 1.00
466
  *
467
+ * @param NULL $item_content NULL, indicating no handler.
468
+ * @param integer $post_id The affected attachment.
 
 
 
 
469
  */
470
  public static function mla_list_table_inline_action( $item_content, $post_id ) {
 
471
  //error_log( 'MLAListTableHooksExample::mla_list_table_inline_action $post_id = ' . var_export( $post_id, true ), 0 );
472
+
473
+ /*
474
+ * Return NULL if not handled here, otherwise
475
+ * array( 'message' => error or status message(s), 'body' => '',
476
+ * 'prevent_default' => true to bypass the MLA handler )
477
+ */
478
  return $item_content;
479
  } // mla_list_table_inline_action
480
 
486
  *
487
  * @since 1.02
488
  *
489
+ * @param array $request Bulk action request parameters, including ['mla_bulk_action_do_cleanup'].
490
+ * @param string $bulk_action The requested action.
491
  * @param array $custom_field_map [ slug => field_name ]
 
 
492
  */
493
  public static function mla_list_table_bulk_action_initial_request( $request, $bulk_action, $custom_field_map ) {
494
  //error_log( 'MLAListTableHooksExample::mla_list_table_bulk_action_initial_request $request = ' . var_export( $request, true ), 0 );
510
  *
511
  * @since 1.01
512
  *
513
+ * @param NULL $item_content NULL, indicating no handler.
514
+ * @param string $bulk_action The requested action.
 
 
 
 
515
  */
516
  public static function mla_list_table_begin_bulk_action( $item_content, $bulk_action ) {
 
517
  //error_log( 'MLAListTableHooksExample::mla_list_table_begin_bulk_action $bulk_action = ' . var_export( $bulk_action, true ), 0 );
518
+
519
+ /*
520
+ * Return NULL if not handled here, otherwise
521
+ * array( 'message' => error or status message(s), 'body' => '',
522
+ * 'prevent_default' => true to bypass the MLA handler )
523
+ */
524
  return $item_content;
525
  } // mla_list_table_begin_bulk_action
526
 
532
  *
533
  * @since 1.02
534
  *
535
+ * @param array $request Bulk action request parameters, including ['mla_bulk_action_do_cleanup'].
536
+ * @param string $bulk_action The requested action.
537
+ * @param integer $post_id The affected attachment.
538
  * @param array $custom_field_map [ slug => field_name ]
 
 
 
 
539
  */
540
  public static function mla_list_table_bulk_action_item_request( $request, $bulk_action, $post_id, $custom_field_map ) {
541
  //error_log( 'MLAListTableHooksExample::mla_list_table_bulk_action_item_request $request = ' . var_export( $request, true ), 0 );
554
  *
555
  * @since 1.00
556
  *
557
+ * @param NULL $item_content NULL, indicating no handler.
558
+ * @param string $bulk_action The requested action.
559
+ * @param integer $post_id The affected attachment.
 
 
 
 
560
  */
561
  public static function mla_list_table_bulk_action( $item_content, $bulk_action, $post_id ) {
 
562
  //error_log( 'MLAListTableHooksExample::mla_list_table_bulk_action $bulk_action = ' . var_export( $bulk_action, true ), 0 );
563
  //error_log( 'MLAListTableHooksExample::mla_list_table_bulk_action $post_id = ' . var_export( $post_id, true ), 0 );
564
+
565
+ /*
566
+ * Return NULL if not handled here, otherwise
567
+ * array( 'message' => error or status message(s), 'body' => '',
568
+ * 'prevent_default' => true to bypass the MLA handler )
569
+ */
570
  return $item_content;
571
  } // mla_list_table_bulk_action
572
 
579
  *
580
  * @since 1.00
581
  *
582
+ * @param NULL $item_content NULL, indicating no handler.
583
+ * @param string $bulk_action The requested action.
584
+ * @param integer $post_id The affected attachment.
 
 
 
 
585
  */
586
  public static function mla_list_table_custom_bulk_action( $item_content, $bulk_action, $post_id ) {
 
587
  //error_log( 'MLAListTableHooksExample::mla_list_table_custom_bulk_action $bulk_action = ' . var_export( $bulk_action, true ), 0 );
588
  //error_log( 'MLAListTableHooksExample::mla_list_table_custom_bulk_action $post_id = ' . var_export( $post_id, true ), 0 );
589
+
590
+ /*
591
+ * Return NULL if not handled here, otherwise
592
+ * array( 'message' => error or status message(s), 'body' => '',
593
+ * 'prevent_default' => true to bypass the MLA handler )
594
+ */
595
  return $item_content;
596
  } // mla_list_table_custom_bulk_action
597
 
604
  *
605
  * @since 1.01
606
  *
607
+ * @param NULL $item_content NULL, indicating no handler.
608
+ * @param string $bulk_action The requested action.
 
 
 
 
609
  */
610
  public static function mla_list_table_end_bulk_action( $item_content, $bulk_action ) {
 
611
  //error_log( 'MLAListTableHooksExample::mla_list_table_end_bulk_action $bulk_action = ' . var_export( $bulk_action, true ), 0 );
612
+
613
+ /*
614
+ * Return NULL if not handled here, otherwise
615
+ * array( 'message' => error or status message(s), 'body' => '',
616
+ * 'prevent_default' => true to bypass the MLA handler )
617
+ */
618
  return $item_content;
619
  } // mla_list_table_end_bulk_action
620
 
626
  *
627
  * @since 1.00
628
  *
629
+ * @param NULL $page_content NULL, indicating no handler.
630
+ * @param string $mla_admin_action The requested action.
631
+ * @param integer $mla_item_ID Zero (0), or the affected attachment.
 
 
 
 
 
632
  */
633
  public static function mla_list_table_single_action( $page_content, $mla_admin_action, $mla_item_ID ) {
 
634
  //error_log( 'MLAListTableHooksExample::mla_list_table_single_action $mla_admin_action = ' . var_export( $mla_admin_action, true ), 0 );
635
  //error_log( 'MLAListTableHooksExample::mla_list_table_single_action $mla_item_ID = ' . var_export( $mla_item_ID, true ), 0 );
636
+
637
+ /*
638
+ * Return NULL if not handled here, otherwise
639
+ * array( 'message' => error or status message(s), 'body' => '',
640
+ * 'prevent_default' => true to bypass the MLA handler )
641
+ */
642
  return $page_content;
643
  } // mla_list_table_single_action
644
 
650
  *
651
  * @since 1.00
652
  *
653
+ * @param NULL $page_content NULL, indicating no handler.
654
+ * @param string $mla_admin_action The requested action.
655
+ * @param integer $mla_item_ID Zero (0), or the affected attachment.
 
 
 
 
656
  */
657
  public static function mla_list_table_custom_single_action( $page_content, $mla_admin_action, $mla_item_ID ) {
 
658
  //error_log( 'MLAListTableHooksExample::mla_list_table_custom_single_action $mla_admin_action = ' . var_export( $mla_admin_action, true ), 0 );
659
  //error_log( 'MLAListTableHooksExample::mla_list_table_custom_single_action $mla_item_ID = ' . var_export( $mla_item_ID, true ), 0 );
660
+
661
+ /*
662
+ * Return NULL if not handled here, otherwise
663
+ * array( 'message' => error or status message(s), 'body' => '',
664
+ * 'prevent_default' => true to bypass the MLA handler )
665
+ */
666
  return $page_content;
667
  } // mla_list_table_custom_single_action
668
 
672
  * This action gives you an opportunity to clear any custom submenu "Filter-by" parameters.
673
  *
674
  * @since 1.00
 
 
675
  */
676
  public static function mla_list_table_clear_filter_by() {
677
  //error_log( 'MLAListTableHooksExample::mla_list_table_clear_filter_by $_REQUEST = ' . var_export( $_REQUEST, true ), 0 );
684
  *
685
  * @since 1.00
686
  *
687
+ * @param NULL $mla_list_table NULL, indicating no extension/use the base class.
 
 
688
  */
689
  public static function mla_list_table_new_instance( $mla_list_table ) {
690
+ /*
691
+ * Return NULL to use the base class, otherwise create an instance of
692
+ * the extended class and return the class object.
693
+ */
694
  return $mla_list_table;
695
  } // mla_list_table_new_instance
696
 
702
  *
703
  * @since 1.00
704
  *
705
+ * @param array $item_values [ parameter_name => parameter_value ] pairs
 
 
706
  */
707
  public static function mla_list_table_inline_values( $item_values ) {
708
  //error_log( 'MLAListTableHooksExample::mla_list_table_inline_values $item_values = ' . var_export( $item_values, true ), 0 );
717
  *
718
  * @since 1.00
719
  *
720
+ * @param string $item_template Template used to generate the HTML markup
 
 
721
  */
722
  public static function mla_list_table_inline_template( $item_template ) {
723
  //error_log( 'MLAListTableHooksExample::mla_list_table_inline_template $item_template = ' . var_export( $item_template, true ), 0 );
732
  * This filter gives you a final chance to modify and extend the HTML
733
  * markup used for the Quick and Bulk Edit forms.
734
  *
735
+ * @param string $html_markup HTML markup returned by the template parser
736
+ * @param string $item_template Template used to generate the HTML markup
737
+ * @param array $item_values [ parameter_name => parameter_value ] pairs
 
 
738
  */
739
  public static function mla_list_table_inline_parse( $html_markup, $item_template, $item_values ) {
740
  //error_log( 'MLAListTableHooksExample::mla_list_table_inline_parse $html_markup = ' . var_export( $html_markup, true ), 0 );
752
  *
753
  * @param array $columns An array of columns.
754
  * format: column_slug => Column Label
 
 
755
  */
756
  public static function mla_list_table_get_columns( $columns ) {
757
  //error_log( 'MLAListTableHooksExample::mla_list_table_get_columns $columns = ' . var_export( $columns, true ), 0 );
767
  *
768
  * @param array $hidden_columns An array of columns.
769
  * format: index => column_slug
 
 
770
  */
771
  public static function mla_list_table_get_hidden_columns( $hidden_columns ) {
772
  //error_log( 'MLAListTableHooksExample::mla_list_table_get_hidden_columns $hidden_columns = ' . var_export( $hidden_columns, true ), 0 );
786
  * or 'column_slug' => array( 'orderby', true )
787
  *
788
  * The second format will make the initial sorting order be descending.
 
 
789
  */
790
  public static function mla_list_table_get_sortable_columns( $sortable_columns ) {
791
  //error_log( 'MLAListTableHooksExample::mla_list_table_get_sortable_columns $sortable_columns = ' . var_export( $sortable_columns, true ), 0 );
802
  *
803
  * @param array $actions An array of bulk actions.
804
  * Format: 'slug' => 'Label'
 
 
805
  */
806
  public static function mla_list_table_get_bulk_actions( $actions ) {
807
  //error_log( 'MLAListTableHooksExample::mla_list_table_get_bulk_actions $actions = ' . var_export( $actions, true ), 0 );
815
  *
816
  * @since 1.00
817
  *
818
+ * @param NULL $content NULL, indicating no default content
819
+ * @param array $item A singular item (one full row's worth of data)
820
+ * @param array $column_name The name/slug of the column to be processed
 
821
  */
822
  public static function mla_list_table_column_default( $content, $item, $column_name ) {
823
  //error_log( "MLAListTableHooksExample::mla_list_table_column_default ({$column_name}) \$item = " . var_export( $item, true ), 0 );
824
+
825
+ /*
826
+ * Return NULL if the column is not handled, otherwise return a string
827
+ * with the column content.
828
+ */
829
  return $content;
830
  } // mla_list_table_column_default
831
 
839
  *
840
  * @param array $submenu_arguments Current view, pagination and sort parameters.
841
  * @param object $include_filters True to include "filter-by" parameters, e.g., year/month dropdown.
 
 
842
  */
843
  public static function mla_list_table_submenu_arguments( $submenu_arguments, $include_filters ) {
844
  //error_log( 'MLAListTableHooksExample::mla_list_table_submenu_arguments $submenu_arguments = ' . var_export( $submenu_arguments, true ), 0 );
856
  *
857
  * @param array $pagination Contains 'per_page', 'current_page'.
858
  * @param object $mla_list_table The MLA_List_Table object, passed by reference.
 
 
859
  */
860
  public static function mla_list_table_prepare_items_pagination( $pagination, $mla_list_table ) {
861
  //error_log( 'MLAListTableHooksExample::mla_list_table_prepare_items_pagination $pagination = ' . var_export( $pagination, true ), 0 );
871
  *
872
  * @since 1.00
873
  *
874
+ * @param NULL $total_items NULL, indicating no substitution.
875
  * @param object $mla_list_table The MLA_List_Table object, passed by reference.
 
 
876
  */
877
  public static function mla_list_table_prepare_items_total_items( $total_items, $mla_list_table ) {
 
878
  //error_log( 'MLAListTableHooksExample::mla_list_table_prepare_items_total_items $mla_list_table->get_pagenum() = ' . var_export( $mla_list_table->get_pagenum(), true ), 0 );
879
+
880
+ /*
881
+ * Return NULL to let MLA calculate the total, otherwise return an integer
882
+ * with the updated total.
883
+ */
884
  return $total_items;
885
  } // mla_list_table_prepare_items_total_items
886
 
892
  *
893
  * @since 1.00
894
  *
895
+ * @param NULL $items NULL, indicating no substitution.
896
  * @param object $mla_list_table The MLA_List_Table object, passed by reference.
 
 
897
  */
898
  public static function mla_list_table_prepare_items_the_items( $items, $mla_list_table ) {
 
899
  //error_log( 'MLAListTableHooksExample::mla_list_table_prepare_items_the_items $mla_list_table->get_pagenum() = ' . var_export( $mla_list_table->get_pagenum(), true ), 0 );
900
+
901
+ /*
902
+ * Return NULL to use the default $items array, otherwise return an array
903
+ * with the updated items array.
904
+ */
905
  return $items;
906
  } // mla_list_table_prepare_items_the_items
907
 
913
  *
914
  * @since 1.03
915
  *
916
+ * @param array $request WP_Query request prepared by "Prepare List Table Query"
 
 
917
  */
918
  public static function mla_list_table_query_final_terms( $request ) {
919
  //error_log( 'MLAListTableHooksExample::mla_list_table_query_final_terms $request = ' . var_export( $request, true ), 0 );
929
  *
930
  * @since 1.03
931
  *
932
+ * @param object $wp_query_object NULL, indicating no results substitution
933
+ * @param array $request WP_Query request prepared by "Prepare List Table Query"
934
  */
935
  public static function mla_list_table_query_custom_items( $wp_query_object, $request ) {
936
  //error_log( 'MLAListTableHooksExample::mla_media_modal_query_custom_items $request = ' . var_export( $request, true ), 0 );
951
  * @since 1.00
952
  *
953
  * @param object $mla_list_table The MLA_List_Table object, passed by reference.
 
 
954
  */
955
  public static function mla_list_table_prepare_items( $mla_list_table ) {
956
  //error_log( 'MLAListTableHooksExample::mla_list_table_prepare_items $mla_list_table->get_pagenum() = ' . var_export( $mla_list_table->get_pagenum(), true ), 0 );
971
  * @param array $actions The list of item "Rollover" actions.
972
  * @param object $item The current Media Library item.
973
  * @param string $column The List Table column slug.
 
 
974
  */
975
  public static function mla_list_table_build_rollover_actions( $actions, $item, $column ) {
976
  //error_log( "MLAListTableHooksExample::mla_list_table_build_rollover_actions ({$column}) \$actions = " . var_export( $actions, true ), 0 );
987
  * @since 1.00
988
  *
989
  * @param array $fields The field names for inline data.
 
 
990
  */
991
  public static function mla_list_table_inline_fields( $fields ) {
992
  //error_log( 'MLAListTableHooksExample::mla_list_table_inline_fields $fields = ' . var_export( $fields, true ), 0 );
1003
  *
1004
  * @param string $inline_data The HTML markup for inline data.
1005
  * @param object $item The current Media Library item.
 
 
1006
  */
1007
  public static function mla_list_table_build_inline_data( $inline_data, $item ) {
1008
  //error_log( 'MLAListTableHooksExample::mla_list_table_build_inline_data $inline_data = ' . var_export( $inline_data, true ), 0 );
1019
  * @since 1.00
1020
  *
1021
  * @param array $views An array of available list table views.
 
 
1022
  */
1023
  public static function views_upload( $views ) {
1024
  //error_log( 'MLAListTableHooksExample::views_upload $views = ' . var_export( $views, true ), 0 );
examples/mla-mapping-parent-data-example.php.txt CHANGED
@@ -60,7 +60,7 @@ class MLAMappingParentDataExample {
60
  return;
61
 
62
  add_filter( 'mla_mapping_updates', 'MLAMappingParentDataExample::mla_mapping_updates', 10, 5 );
63
-
64
  /*
65
  * Triggered by wp_insert_post and wp_publish_post in wp-includes/post.php
66
  */
@@ -99,7 +99,7 @@ class MLAMappingParentDataExample {
99
  break;
100
  }
101
  }
102
-
103
  if ( ! $found_it ) {
104
  return $updates;
105
  }
@@ -115,12 +115,12 @@ class MLAMappingParentDataExample {
115
  } else {
116
  $parent_value = '';
117
  }
118
-
119
  // Add/replace the value if it has changed
120
  if ( $old_value != $parent_value ) {
121
  $updates['custom_updates'][ 'ref_offer' ] = $parent_value;
122
  }
123
-
124
  return $updates;
125
  } // mla_mapping_updates
126
 
60
  return;
61
 
62
  add_filter( 'mla_mapping_updates', 'MLAMappingParentDataExample::mla_mapping_updates', 10, 5 );
63
+
64
  /*
65
  * Triggered by wp_insert_post and wp_publish_post in wp-includes/post.php
66
  */
99
  break;
100
  }
101
  }
102
+
103
  if ( ! $found_it ) {
104
  return $updates;
105
  }
115
  } else {
116
  $parent_value = '';
117
  }
118
+
119
  // Add/replace the value if it has changed
120
  if ( $old_value != $parent_value ) {
121
  $updates['custom_updates'][ 'ref_offer' ] = $parent_value;
122
  }
123
+
124
  return $updates;
125
  } // mla_mapping_updates
126
 
examples/mla-media-modal-hooks-example.php.txt CHANGED
@@ -195,7 +195,7 @@ class MLAMediaModalExample {
195
  //$initial_values['filterTerm'] = 175; // term ID in attachment_tags
196
  //$initial_values['searchConnector'] = 'OR';
197
  //$initial_values['searchValue'] = 'de la';
198
-
199
  return $initial_values;
200
  } // mla_media_modal_initial_filters
201
 
@@ -430,10 +430,10 @@ class MLAMediaModalExample {
430
  } else {
431
  $tax_query = array();
432
  }
433
-
434
  $tax_query[] = array( 'taxonomy' => 'attachment_category', 'operator' => 'NOT IN', 'field' => 'slug', 'terms' => 'admin' );
435
  $request['tax_query'] = $tax_query;
436
-
437
  //error_log( 'MLAMediaModalExample::mla_media_modal_query_final_terms altered $request = ' . var_export( $request, true ), 0 );
438
  return $request;
439
  } // mla_media_modal_query_final_terms
195
  //$initial_values['filterTerm'] = 175; // term ID in attachment_tags
196
  //$initial_values['searchConnector'] = 'OR';
197
  //$initial_values['searchValue'] = 'de la';
198
+
199
  return $initial_values;
200
  } // mla_media_modal_initial_filters
201
 
430
  } else {
431
  $tax_query = array();
432
  }
433
+
434
  $tax_query[] = array( 'taxonomy' => 'attachment_category', 'operator' => 'NOT IN', 'field' => 'slug', 'terms' => 'admin' );
435
  $request['tax_query'] = $tax_query;
436
+
437
  //error_log( 'MLAMediaModalExample::mla_media_modal_query_final_terms altered $request = ' . var_export( $request, true ), 0 );
438
  return $request;
439
  } // mla_media_modal_query_final_terms
examples/mla-metabox-hooks-example.php.txt CHANGED
@@ -73,13 +73,13 @@ class MLAMetaboxHooksExample {
73
 
74
  add_filter( 'mla_parent_info_meta_box', 'MLAMetaboxHooksExample::mla_parent_info_meta_box_filter', 10, 3 );
75
  add_filter( 'mla_menu_order_meta_box', 'MLAMetaboxHooksExample::mla_menu_order_meta_box_filter', 10, 2 );
76
-
77
  add_filter( 'mla_image_metadata_meta_box', 'MLAMetaboxHooksExample::mla_image_metadata_meta_box_filter', 10, 3 );
78
  add_filter( 'mla_image_metadata_meta_box_html', 'MLAMetaboxHooksExample::mla_image_metadata_meta_box_html_filter', 10, 4 );
79
 
80
  add_filter( 'mla_featured_in_meta_box', 'MLAMetaboxHooksExample::mla_featured_in_meta_box_filter', 10, 3 );
81
  add_filter( 'mla_featured_in_meta_box_html', 'MLAMetaboxHooksExample::mla_featured_in_meta_box_html_filter', 10, 4 );
82
-
83
  add_filter( 'mla_inserted_in_meta_box', 'MLAMetaboxHooksExample::mla_inserted_in_meta_box_filter', 10, 3 );
84
  add_filter( 'mla_inserted_in_meta_box_html', 'MLAMetaboxHooksExample::mla_inserted_in_meta_box_html_filter', 10, 4 );
85
 
@@ -104,7 +104,7 @@ class MLAMetaboxHooksExample {
104
  */
105
  private static $default_meta_boxes = array();
106
  private static $active_meta_boxes = array();
107
-
108
  /**
109
  * MLA Edit Media Add Support Filter
110
  *
@@ -121,7 +121,7 @@ class MLAMetaboxHooksExample {
121
  * Uncomment the error_log statements in any of the filters to see what's passed in
122
  */
123
  //error_log( 'MLAMetaboxHooksExample::mla_edit_media_support_filter $add_support = ' . var_export( $add_support, true ), 0 );
124
-
125
  // to suppress Custom Fields, return an empty array, i.e., return array();
126
  return $add_support;
127
  } // mla_edit_media_support_filter
@@ -144,17 +144,17 @@ class MLAMetaboxHooksExample {
144
  * Uncomment the error_log statements in any of the filters to see what's passed in
145
  */
146
  //error_log( 'MLAMetaboxHooksExample::mla_edit_media_meta_boxes_filter $active_boxes = ' . var_export( $active_boxes, true ), 0 );
147
-
148
  /*
149
  * Save the information for use in the later filters
150
  */
151
  self::$default_meta_boxes = $active_boxes;
152
  // to suppress a box, remove it from the array, e.g., unset( $active_boxes['mla-menu-order'] );
153
  self::$active_meta_boxes = $active_boxes;
154
-
155
  return $active_boxes;
156
  } // mla_edit_media_meta_boxes_filter
157
-
158
  /**
159
  * MLA Parent Info Meta Box Filter
160
  *
@@ -172,7 +172,7 @@ class MLAMetaboxHooksExample {
172
  //error_log( 'MLAMetaboxHooksExample::mla_parent_info_meta_box_filter $parent_info = ' . var_export( $parent_info, true ), 0 );
173
  //error_log( 'MLAMetaboxHooksExample::mla_parent_info_meta_box_filter $references = ' . var_export( $references, true ), 0 );
174
  //error_log( 'MLAMetaboxHooksExample::mla_parent_info_meta_box_filter $post = ' . var_export( $post, true ), 0 );
175
-
176
  return $parent_info;
177
  } // mla_parent_info_meta_box_filter
178
 
@@ -191,10 +191,10 @@ class MLAMetaboxHooksExample {
191
  public static function mla_menu_order_meta_box_filter( $menu_order, $post ) {
192
  //error_log( 'MLAMetaboxHooksExample::mla_menu_order_meta_box_filter $menu_order = ' . var_export( $menu_order, true ), 0 );
193
  //error_log( 'MLAMetaboxHooksExample::mla_menu_order_meta_box_filter $post = ' . var_export( $post, true ), 0 );
194
-
195
  return $menu_order;
196
  } // mla_menu_order_meta_box_filter
197
-
198
  /**
199
  * MLA Attachment Metadata Meta Box Filter
200
  *
@@ -213,10 +213,10 @@ class MLAMetaboxHooksExample {
213
  //error_log( 'MLAMetaboxHooksExample::mla_image_metadata_meta_box_filter $value = ' . var_export( $value, true ), 0 );
214
  //error_log( 'MLAMetaboxHooksExample::mla_image_metadata_meta_box_filter $metadata = ' . var_export( $metadata, true ), 0 );
215
  //error_log( 'MLAMetaboxHooksExample::mla_image_metadata_meta_box_filter $post = ' . var_export( $post, true ), 0 );
216
-
217
  return $value;
218
  } // mla_image_metadata_meta_box_filter
219
-
220
  /**
221
  * MLA Attachment Metadata Meta Box HTML Filter
222
  *
@@ -237,10 +237,10 @@ class MLAMetaboxHooksExample {
237
  //error_log( 'MLAMetaboxHooksExample::mla_image_metadata_meta_box_html_filter $value = ' . var_export( $value, true ), 0 );
238
  //error_log( 'MLAMetaboxHooksExample::mla_image_metadata_meta_box_html_filter $metadata = ' . var_export( $metadata, true ), 0 );
239
  //error_log( 'MLAMetaboxHooksExample::mla_image_metadata_meta_box_html_filter $post = ' . var_export( $post, true ), 0 );
240
-
241
  return $html;
242
  } // mla_image_metadata_meta_box_html_filter
243
-
244
  /**
245
  * MLA Featured in Meta Box Filter
246
  *
@@ -258,10 +258,10 @@ class MLAMetaboxHooksExample {
258
  //error_log( 'MLAMetaboxHooksExample::mla_featured_in_meta_box_filter $features = ' . var_export( $features, true ), 0 );
259
  //error_log( 'MLAMetaboxHooksExample::mla_featured_in_meta_box_filter $references = ' . var_export( $references, true ), 0 );
260
  //error_log( 'MLAMetaboxHooksExample::mla_featured_in_meta_box_filter $post = ' . var_export( $post, true ), 0 );
261
-
262
  return $features;
263
  } // mla_featured_in_meta_box_filter
264
-
265
  /**
266
  * MLA Featured in Meta Box HTML Filter
267
  *
@@ -281,10 +281,10 @@ class MLAMetaboxHooksExample {
281
  //error_log( 'MLAMetaboxHooksExample::mla_featured_in_meta_box_html_filter $features = ' . var_export( $features, true ), 0 );
282
  //error_log( 'MLAMetaboxHooksExample::mla_featured_in_meta_box_html_filter $references = ' . var_export( $references, true ), 0 );
283
  //error_log( 'MLAMetaboxHooksExample::mla_featured_in_meta_box_html_filter $post = ' . var_export( $post, true ), 0 );
284
-
285
  return $html;
286
  } // mla_featured_in_meta_box_html_filter
287
-
288
  /**
289
  * MLA Inserted in Meta Box Filter
290
  *
@@ -302,7 +302,7 @@ class MLAMetaboxHooksExample {
302
  //error_log( 'MLAMetaboxHooksExample::mla_inserted_in_meta_box_filter $inserts = ' . var_export( $inserts, true ), 0 );
303
  //error_log( 'MLAMetaboxHooksExample::mla_inserted_in_meta_box_filter $references = ' . var_export( $references, true ), 0 );
304
  //error_log( 'MLAMetaboxHooksExample::mla_inserted_in_meta_box_filter $post = ' . var_export( $post, true ), 0 );
305
-
306
  // Comment out this return statement to fall through to the example code that simplifies the display
307
  return $inserts;
308
 
@@ -319,22 +319,22 @@ class MLAMetaboxHooksExample {
319
  $base_references[ $reference->ID ] = $reference;
320
  }
321
  }
322
-
323
  foreach ( $base_references as $reference ) {
324
  $new_inserts[] = $reference->post_title;
325
  $new_inserts[] = '(' . get_permalink( $reference->ID, false ) . ')';
326
  }
327
-
328
  // Uncomment these lines to display the arguments in the meta box
329
  //$new_inserts[] = '----- debug information -----';
330
  //$new_inserts[] = '$inserts = ' . var_export( $inserts, true );
331
  //$new_inserts[] = '$references = ' . var_export( $references, true );
332
  //$new_inserts[] = '$post = ' . var_export( $post, true );
333
-
334
  $inserts['inserts'] = implode( "\n", $new_inserts );
335
  return $inserts;
336
  } // mla_inserted_in_meta_box_filter
337
-
338
  /**
339
  * MLA Inserted in Meta Box HTML Filter
340
  *
@@ -357,7 +357,7 @@ class MLAMetaboxHooksExample {
357
 
358
  return $html;
359
  } // mla_inserted_in_meta_box_html_filter
360
-
361
  /**
362
  * MLA Gallery in Meta Box Filter
363
  *
@@ -375,10 +375,10 @@ class MLAMetaboxHooksExample {
375
  //error_log( 'MLAMetaboxHooksExample::mla_gallery_in_meta_box_filter $galleries = ' . var_export( $galleries, true ), 0 );
376
  //error_log( 'MLAMetaboxHooksExample::mla_gallery_in_meta_box_filter $references = ' . var_export( $references, true ), 0 );
377
  //error_log( 'MLAMetaboxHooksExample::mla_gallery_in_meta_box_filter $post = ' . var_export( $post, true ), 0 );
378
-
379
  return $galleries;
380
  } // mla_gallery_in_meta_box_filter
381
-
382
  /**
383
  * MLA Gallery in Meta Box HTML Filter
384
  *
@@ -398,10 +398,10 @@ class MLAMetaboxHooksExample {
398
  //error_log( 'MLAMetaboxHooksExample::mla_gallery_in_meta_box_html_filter $galleries = ' . var_export( $galleries, true ), 0 );
399
  //error_log( 'MLAMetaboxHooksExample::mla_gallery_in_meta_box_html_filter $references = ' . var_export( $references, true ), 0 );
400
  //error_log( 'MLAMetaboxHooksExample::mla_gallery_in_meta_box_html_filter $post = ' . var_export( $post, true ), 0 );
401
-
402
  return $html;
403
  } // mla_gallery_in_meta_box_html_filter
404
-
405
  /**
406
  * MLA MLA Gallery in Meta Box Filter
407
  *
@@ -419,10 +419,10 @@ class MLAMetaboxHooksExample {
419
  //error_log( 'MLAMetaboxHooksExample::mla_mla_gallery_in_meta_box_filter $galleries = ' . var_export( $galleries, true ), 0 );
420
  //error_log( 'MLAMetaboxHooksExample::mla_mla_gallery_in_meta_box_filter $references = ' . var_export( $references, true ), 0 );
421
  //error_log( 'MLAMetaboxHooksExample::mla_mla_gallery_in_meta_box_filter $post = ' . var_export( $post, true ), 0 );
422
-
423
  return $galleries;
424
  } // mla_mla_gallery_in_meta_box_filter
425
-
426
  /**
427
  * MLA MLA Gallery in Meta Box HTML Filter
428
  *
@@ -442,7 +442,7 @@ class MLAMetaboxHooksExample {
442
  //error_log( 'MLAMetaboxHooksExample::mla_mla_gallery_in_meta_box_html_filter $galleries = ' . var_export( $galleries, true ), 0 );
443
  //error_log( 'MLAMetaboxHooksExample::mla_mla_gallery_in_meta_box_html_filter $references = ' . var_export( $references, true ), 0 );
444
  //error_log( 'MLAMetaboxHooksExample::mla_mla_gallery_in_meta_box_html_filter $post = ' . var_export( $post, true ), 0 );
445
-
446
  return $html;
447
  } // mla_mla_gallery_in_meta_box_html_filter
448
  } //MLAMetaboxHooksExample
73
 
74
  add_filter( 'mla_parent_info_meta_box', 'MLAMetaboxHooksExample::mla_parent_info_meta_box_filter', 10, 3 );
75
  add_filter( 'mla_menu_order_meta_box', 'MLAMetaboxHooksExample::mla_menu_order_meta_box_filter', 10, 2 );
76
+
77
  add_filter( 'mla_image_metadata_meta_box', 'MLAMetaboxHooksExample::mla_image_metadata_meta_box_filter', 10, 3 );
78
  add_filter( 'mla_image_metadata_meta_box_html', 'MLAMetaboxHooksExample::mla_image_metadata_meta_box_html_filter', 10, 4 );
79
 
80
  add_filter( 'mla_featured_in_meta_box', 'MLAMetaboxHooksExample::mla_featured_in_meta_box_filter', 10, 3 );
81
  add_filter( 'mla_featured_in_meta_box_html', 'MLAMetaboxHooksExample::mla_featured_in_meta_box_html_filter', 10, 4 );
82
+
83
  add_filter( 'mla_inserted_in_meta_box', 'MLAMetaboxHooksExample::mla_inserted_in_meta_box_filter', 10, 3 );
84
  add_filter( 'mla_inserted_in_meta_box_html', 'MLAMetaboxHooksExample::mla_inserted_in_meta_box_html_filter', 10, 4 );
85
 
104
  */
105
  private static $default_meta_boxes = array();
106
  private static $active_meta_boxes = array();
107
+
108
  /**
109
  * MLA Edit Media Add Support Filter
110
  *
121
  * Uncomment the error_log statements in any of the filters to see what's passed in
122
  */
123
  //error_log( 'MLAMetaboxHooksExample::mla_edit_media_support_filter $add_support = ' . var_export( $add_support, true ), 0 );
124
+
125
  // to suppress Custom Fields, return an empty array, i.e., return array();
126
  return $add_support;
127
  } // mla_edit_media_support_filter
144
  * Uncomment the error_log statements in any of the filters to see what's passed in
145
  */
146
  //error_log( 'MLAMetaboxHooksExample::mla_edit_media_meta_boxes_filter $active_boxes = ' . var_export( $active_boxes, true ), 0 );
147
+
148
  /*
149
  * Save the information for use in the later filters
150
  */
151
  self::$default_meta_boxes = $active_boxes;
152
  // to suppress a box, remove it from the array, e.g., unset( $active_boxes['mla-menu-order'] );
153
  self::$active_meta_boxes = $active_boxes;
154
+
155
  return $active_boxes;
156
  } // mla_edit_media_meta_boxes_filter
157
+
158
  /**
159
  * MLA Parent Info Meta Box Filter
160
  *
172
  //error_log( 'MLAMetaboxHooksExample::mla_parent_info_meta_box_filter $parent_info = ' . var_export( $parent_info, true ), 0 );
173
  //error_log( 'MLAMetaboxHooksExample::mla_parent_info_meta_box_filter $references = ' . var_export( $references, true ), 0 );
174
  //error_log( 'MLAMetaboxHooksExample::mla_parent_info_meta_box_filter $post = ' . var_export( $post, true ), 0 );
175
+
176
  return $parent_info;
177
  } // mla_parent_info_meta_box_filter
178
 
191
  public static function mla_menu_order_meta_box_filter( $menu_order, $post ) {
192
  //error_log( 'MLAMetaboxHooksExample::mla_menu_order_meta_box_filter $menu_order = ' . var_export( $menu_order, true ), 0 );
193
  //error_log( 'MLAMetaboxHooksExample::mla_menu_order_meta_box_filter $post = ' . var_export( $post, true ), 0 );
194
+
195
  return $menu_order;
196
  } // mla_menu_order_meta_box_filter
197
+
198
  /**
199
  * MLA Attachment Metadata Meta Box Filter
200
  *
213
  //error_log( 'MLAMetaboxHooksExample::mla_image_metadata_meta_box_filter $value = ' . var_export( $value, true ), 0 );
214
  //error_log( 'MLAMetaboxHooksExample::mla_image_metadata_meta_box_filter $metadata = ' . var_export( $metadata, true ), 0 );
215
  //error_log( 'MLAMetaboxHooksExample::mla_image_metadata_meta_box_filter $post = ' . var_export( $post, true ), 0 );
216
+
217
  return $value;
218
  } // mla_image_metadata_meta_box_filter
219
+
220
  /**
221
  * MLA Attachment Metadata Meta Box HTML Filter
222
  *
237
  //error_log( 'MLAMetaboxHooksExample::mla_image_metadata_meta_box_html_filter $value = ' . var_export( $value, true ), 0 );
238
  //error_log( 'MLAMetaboxHooksExample::mla_image_metadata_meta_box_html_filter $metadata = ' . var_export( $metadata, true ), 0 );
239
  //error_log( 'MLAMetaboxHooksExample::mla_image_metadata_meta_box_html_filter $post = ' . var_export( $post, true ), 0 );
240
+
241
  return $html;
242
  } // mla_image_metadata_meta_box_html_filter
243
+
244
  /**
245
  * MLA Featured in Meta Box Filter
246
  *
258
  //error_log( 'MLAMetaboxHooksExample::mla_featured_in_meta_box_filter $features = ' . var_export( $features, true ), 0 );
259
  //error_log( 'MLAMetaboxHooksExample::mla_featured_in_meta_box_filter $references = ' . var_export( $references, true ), 0 );
260
  //error_log( 'MLAMetaboxHooksExample::mla_featured_in_meta_box_filter $post = ' . var_export( $post, true ), 0 );
261
+
262
  return $features;
263
  } // mla_featured_in_meta_box_filter
264
+
265
  /**
266
  * MLA Featured in Meta Box HTML Filter
267
  *
281
  //error_log( 'MLAMetaboxHooksExample::mla_featured_in_meta_box_html_filter $features = ' . var_export( $features, true ), 0 );
282
  //error_log( 'MLAMetaboxHooksExample::mla_featured_in_meta_box_html_filter $references = ' . var_export( $references, true ), 0 );
283
  //error_log( 'MLAMetaboxHooksExample::mla_featured_in_meta_box_html_filter $post = ' . var_export( $post, true ), 0 );
284
+
285
  return $html;
286
  } // mla_featured_in_meta_box_html_filter
287
+
288
  /**
289
  * MLA Inserted in Meta Box Filter
290
  *
302
  //error_log( 'MLAMetaboxHooksExample::mla_inserted_in_meta_box_filter $inserts = ' . var_export( $inserts, true ), 0 );
303
  //error_log( 'MLAMetaboxHooksExample::mla_inserted_in_meta_box_filter $references = ' . var_export( $references, true ), 0 );
304
  //error_log( 'MLAMetaboxHooksExample::mla_inserted_in_meta_box_filter $post = ' . var_export( $post, true ), 0 );
305
+
306
  // Comment out this return statement to fall through to the example code that simplifies the display
307
  return $inserts;
308
 
319
  $base_references[ $reference->ID ] = $reference;
320
  }
321
  }
322
+
323
  foreach ( $base_references as $reference ) {
324
  $new_inserts[] = $reference->post_title;
325
  $new_inserts[] = '(' . get_permalink( $reference->ID, false ) . ')';
326
  }
327
+
328
  // Uncomment these lines to display the arguments in the meta box
329
  //$new_inserts[] = '----- debug information -----';
330
  //$new_inserts[] = '$inserts = ' . var_export( $inserts, true );
331
  //$new_inserts[] = '$references = ' . var_export( $references, true );
332
  //$new_inserts[] = '$post = ' . var_export( $post, true );
333
+
334
  $inserts['inserts'] = implode( "\n", $new_inserts );
335
  return $inserts;
336
  } // mla_inserted_in_meta_box_filter
337
+
338
  /**
339
  * MLA Inserted in Meta Box HTML Filter
340
  *
357
 
358
  return $html;
359
  } // mla_inserted_in_meta_box_html_filter
360
+
361
  /**
362
  * MLA Gallery in Meta Box Filter
363
  *
375
  //error_log( 'MLAMetaboxHooksExample::mla_gallery_in_meta_box_filter $galleries = ' . var_export( $galleries, true ), 0 );
376
  //error_log( 'MLAMetaboxHooksExample::mla_gallery_in_meta_box_filter $references = ' . var_export( $references, true ), 0 );
377
  //error_log( 'MLAMetaboxHooksExample::mla_gallery_in_meta_box_filter $post = ' . var_export( $post, true ), 0 );
378
+
379
  return $galleries;
380
  } // mla_gallery_in_meta_box_filter
381
+
382
  /**
383
  * MLA Gallery in Meta Box HTML Filter
384
  *
398
  //error_log( 'MLAMetaboxHooksExample::mla_gallery_in_meta_box_html_filter $galleries = ' . var_export( $galleries, true ), 0 );
399
  //error_log( 'MLAMetaboxHooksExample::mla_gallery_in_meta_box_html_filter $references = ' . var_export( $references, true ), 0 );
400
  //error_log( 'MLAMetaboxHooksExample::mla_gallery_in_meta_box_html_filter $post = ' . var_export( $post, true ), 0 );
401
+
402
  return $html;
403
  } // mla_gallery_in_meta_box_html_filter
404
+
405
  /**
406
  * MLA MLA Gallery in Meta Box Filter
407
  *
419
  //error_log( 'MLAMetaboxHooksExample::mla_mla_gallery_in_meta_box_filter $galleries = ' . var_export( $galleries, true ), 0 );
420
  //error_log( 'MLAMetaboxHooksExample::mla_mla_gallery_in_meta_box_filter $references = ' . var_export( $references, true ), 0 );
421
  //error_log( 'MLAMetaboxHooksExample::mla_mla_gallery_in_meta_box_filter $post = ' . var_export( $post, true ), 0 );
422
+
423
  return $galleries;
424
  } // mla_mla_gallery_in_meta_box_filter
425
+
426
  /**
427
  * MLA MLA Gallery in Meta Box HTML Filter
428
  *
442
  //error_log( 'MLAMetaboxHooksExample::mla_mla_gallery_in_meta_box_html_filter $galleries = ' . var_export( $galleries, true ), 0 );
443
  //error_log( 'MLAMetaboxHooksExample::mla_mla_gallery_in_meta_box_html_filter $references = ' . var_export( $references, true ), 0 );
444
  //error_log( 'MLAMetaboxHooksExample::mla_mla_gallery_in_meta_box_html_filter $post = ' . var_export( $post, true ), 0 );
445
+
446
  return $html;
447
  } // mla_mla_gallery_in_meta_box_html_filter
448
  } //MLAMetaboxHooksExample
examples/mla-metadata-mapping-hooks-example.php.txt CHANGED
@@ -72,13 +72,13 @@ class MLAMetadataHooksExample {
72
  */
73
  add_filter( 'mla_upload_prefilter', 'MLAMetadataHooksExample::mla_upload_prefilter_filter', 10, 2 );
74
  add_filter( 'mla_upload_filter', 'MLAMetadataHooksExample::mla_upload_filter_filter', 10, 2 );
75
-
76
  add_action( 'mla_add_attachment', 'MLAMetadataHooksExample::mla_add_attachment_action', 10, 1 );
77
-
78
  add_filter( 'mla_update_attachment_metadata_options', 'MLAMetadataHooksExample::mla_update_attachment_metadata_options_filter', 10, 3 );
79
  add_filter( 'mla_update_attachment_metadata_prefilter', 'MLAMetadataHooksExample::mla_update_attachment_metadata_prefilter_filter', 10, 3 );
80
  add_filter( 'mla_update_attachment_metadata_postfilter', 'MLAMetadataHooksExample::mla_update_attachment_metadata_postfilter_filter', 10, 3 );
81
-
82
  add_filter( 'mla_mapping_settings', 'MLAMetadataHooksExample::mla_mapping_settings_filter', 10, 4 );
83
  add_filter( 'mla_mapping_rule', 'MLAMetadataHooksExample::mla_mapping_rule_filter', 10, 4 );
84
  add_filter( 'mla_mapping_custom_value', 'MLAMetadataHooksExample::mla_mapping_custom_value_filter', 10, 5 );
@@ -104,7 +104,7 @@ class MLAMetadataHooksExample {
104
  */
105
  private static $image_metadata = array();
106
  private static $raw_metadata = array();
107
-
108
  /**
109
  * MLA Mapping Upload Prefilter
110
  *
@@ -128,13 +128,13 @@ class MLAMetadataHooksExample {
128
  */
129
  //error_log( 'MLAMetadataHooksExample::mla_upload_prefilter_filter $file = ' . var_export( $file, true ), 0 );
130
  //error_log( 'MLAMetadataHooksExample::mla_upload_prefilter_filter $image_metadata = ' . var_export( $image_metadata, true ), 0 );
131
-
132
  /*
133
  * Save the information for use in the later filters
134
  */
135
  self::$image_metadata = $image_metadata;
136
  self::$image_metadata['preload_file'] = $file;
137
-
138
  /*
139
  * Save the EXIF, XMP, IPTC and COM data from JPEG files
140
  */
@@ -147,7 +147,7 @@ class MLAMetadataHooksExample {
147
 
148
  return $file;
149
  } // mla_upload_prefilter_filter
150
-
151
  /**
152
  * MLA Mapping Upload Filter
153
  *
@@ -167,7 +167,7 @@ class MLAMetadataHooksExample {
167
  public static function mla_upload_filter_filter( $file, $id3_data ) {
168
  //error_log( 'MLAMetadataHooksExample::mla_upload_filter_filter $file = ' . var_export( $file, true ), 0 );
169
  //error_log( 'MLAMetadataHooksExample::mla_upload_filter_filter $id3_data = ' . var_export( $id3_data, true ), 0 );
170
-
171
  /*
172
  * Save the information for use in the later filters
173
  */
@@ -176,7 +176,7 @@ class MLAMetadataHooksExample {
176
 
177
  return $file;
178
  } // mla_upload_filter_filter
179
-
180
  /**
181
  * MLA Add Attachment Action
182
  *
@@ -194,13 +194,13 @@ class MLAMetadataHooksExample {
194
  */
195
  public static function mla_add_attachment_action( $post_id ) {
196
  //error_log( 'MLAMetadataHooksExample::mla_add_attachment_action $post_id = ' . var_export( $post_id, true ), 0 );
197
-
198
  /*
199
  * Save the information for use in the later filters
200
  */
201
  self::$image_metadata['post_id'] = $post_id;
202
  } // mla_add_attachment_action
203
-
204
  /**
205
  * MLA Update Attachment Metadata Options
206
  *
@@ -226,10 +226,10 @@ class MLAMetadataHooksExample {
226
  //error_log( 'MLAMetadataHooksExample::mla_update_attachment_metadata_options_filter $options = ' . var_export( $options, true ), 0 );
227
  //error_log( 'MLAMetadataHooksExample::mla_update_attachment_metadata_options_filter $data = ' . var_export( $data, true ), 0 );
228
  //error_log( 'MLAMetadataHooksExample::mla_update_attachment_metadata_options_filter $post_id = ' . var_export( $post_id, true ), 0 );
229
-
230
  return $options;
231
  } // mla_update_attachment_metadata_prefilter_filter
232
-
233
  /**
234
  * MLA Update Attachment Metadata Prefilter
235
  *
@@ -253,7 +253,7 @@ class MLAMetadataHooksExample {
253
  //error_log( 'MLAMetadataHooksExample::mla_update_attachment_metadata_prefilter_filter $data = ' . var_export( $data, true ), 0 );
254
  //error_log( 'MLAMetadataHooksExample::mla_update_attachment_metadata_prefilter_filter $post_id = ' . var_export( $post_id, true ), 0 );
255
  //error_log( 'MLAMetadataHooksExample::mla_update_attachment_metadata_prefilter_filter $options = ' . var_export( $options, true ), 0 );
256
-
257
  /*
258
  * If the metadata has been stripped, try to replace it
259
  * NOTE: Uncomment/comment the "self::" and "$data = " lines to activate/deactivate
@@ -265,10 +265,10 @@ class MLAMetadataHooksExample {
265
  error_log( 'regenerated data = ' . var_export( $data, true ), 0 );
266
 
267
  }
268
-
269
  return $data;
270
  } // mla_update_attachment_metadata_prefilter_filter
271
-
272
  /**
273
  * MLA Update Attachment Metadata Postfilter
274
  *
@@ -291,7 +291,7 @@ class MLAMetadataHooksExample {
291
 
292
  return $data;
293
  } // mla_update_attachment_metadata_postfilter_filter
294
-
295
  /**
296
  * MLA Mapping Settings Filter
297
  *
@@ -312,7 +312,7 @@ class MLAMetadataHooksExample {
312
  //error_log( 'MLAMetadataHooksExample::mla_mapping_settings_filter $post_id = ' . var_export( $post_id, true ), 0 );
313
  //error_log( 'MLAMetadataHooksExample::mla_mapping_settings_filter $category = ' . var_export( $category, true ), 0 );
314
  //error_log( 'MLAMetadataHooksExample::mla_mapping_settings_filter $attachment_metadata = ' . var_export( $attachment_metadata, true ), 0 );
315
-
316
  /*
317
  * $category gives the context in which the rule is applied:
318
  * 'custom_field_mapping' - mapping custom fields for ALL attachments
@@ -372,7 +372,7 @@ class MLAMetadataHooksExample {
372
  */
373
  return $settings;
374
  } // mla_mapping_settings_filter
375
-
376
  /**
377
  * MLA Mapping Rule Filter
378
  *
@@ -401,7 +401,7 @@ class MLAMetadataHooksExample {
401
  */
402
  return $setting_value;
403
  } // mla_mapping_rule_filter
404
-
405
  /**
406
  * MLA Mapping Custom Field Value Filter
407
  *
@@ -526,7 +526,7 @@ class MLAMetadataHooksExample {
526
  */
527
  return $exif_value;
528
  } // mla_mapping_exif_value_filter
529
-
530
  /**
531
  * MLA Mapping Updates Filter
532
  *
@@ -581,7 +581,7 @@ class MLAMetadataHooksExample {
581
  * Return an updated $mla_tablist ( $tab = NULL ), an updated single element or false
582
  */
583
  return $results;
584
-
585
  /*
586
  * Comment out the above return statement to fall through to this example,
587
  * which removes the "Uploads" tab from the Settings/Media Library Assistant submenu
@@ -591,7 +591,7 @@ class MLAMetadataHooksExample {
591
  } elseif ( 'upload' == $tab ) {
592
  $results = false;
593
  }
594
-
595
  return $results;
596
  } // mla_get_options_tablist_filter
597
 
@@ -628,22 +628,22 @@ class MLAMetadataHooksExample {
628
  $file_length = strlen( $file_contents );
629
  $file_offset = 0;
630
  $section_array = array();
631
-
632
  while ( $file_offset < $file_length ) {
633
  $section_value = array();
634
-
635
  // Find a marker
636
  for ( $i = 0; $i < 7; $i++ ) {
637
  if ( 0xFF != ord( $file_contents[ $file_offset + $i ] ) ) {
638
  break;
639
  }
640
  }
641
-
642
  $section_value['marker'] = $marker = ord( $file_contents[ $file_offset + $i ] );
643
-
644
  if ( $marker >= self::SOF0 && $marker <= self::COM ) {
645
  $section_value['offset'] = $file_offset + ( $i - 1);
646
-
647
  if ( ( self::SOI == $marker ) || ( self::EOI == $marker ) ) {
648
  $file_offset = $file_offset + ( $i + 1 );
649
  } elseif ( self::SOS == $marker ) {
@@ -674,7 +674,7 @@ class MLAMetadataHooksExample {
674
  $section_value['offset'] = $file_offset + $i;
675
  }
676
  $file_offset = $file_offset + ( $i + 1 );
677
-
678
  while ( $file_offset < $file_length ) {
679
  if ( 0xFF == ord( $file_contents[ $file_offset ] ) ) {
680
  break;
@@ -688,7 +688,7 @@ class MLAMetadataHooksExample {
688
  $section_array[] = $section_value;
689
  error_log( 'MLAMetadataHooksExample::_enumerate_jpeg_sections $section_value = ' . var_export( $section_value, true ), 0 );
690
  } // while offset < length
691
-
692
  return $section_array;
693
  } // _enumerate_jpeg_sections
694
 
@@ -780,25 +780,25 @@ class MLAMetadataHooksExample {
780
  error_log( 'MLAMetadataHooksExample::_replace_jpeg_metadata $APP0_section = ' . var_export( $APP0_section, true ), 0 );
781
  error_log( 'MLAMetadataHooksExample::_replace_jpeg_metadata $COM_section = ' . var_export( $COM_section, true ), 0 );
782
  error_log( 'MLAMetadataHooksExample::_replace_jpeg_metadata $destination_sections = ' . var_export( $destination_sections, true ), 0 );
783
-
784
  if ( ( NULL == $SOI_section ) || ( NULL == $APP0_section ) ) {
785
  return;
786
  }
787
-
788
  @unlink( $temp_path );
789
  $temp_handle = @fopen( $temp_path, 'wb' );
790
  if ( false === $temp_handle ) {
791
  error_log( 'MLAMetadataHooksExample::_replace_jpeg_metadata fopen error = ' . var_export( error_get_last(), true ), 0 );
792
  return;
793
  }
794
-
795
  if ( false === @fwrite( $temp_handle, $SOI_section ) ) {
796
  error_log( 'MLAMetadataHooksExample::_replace_jpeg_metadata fwrite SOI error = ' . var_export( error_get_last(), true ), 0 );
797
  @fclose( $temp_handle );
798
  @unlink( $temp_path );
799
  return;
800
  }
801
-
802
  if ( false === @fwrite( $temp_handle, $APP0_section ) ) {
803
  error_log( 'MLAMetadataHooksExample::_replace_jpeg_metadata fwrite APP0 error = ' . var_export( error_get_last(), true ), 0 );
804
  @fclose( $temp_handle );
@@ -814,7 +814,7 @@ class MLAMetadataHooksExample {
814
  return;
815
  }
816
  }
817
-
818
  foreach ( $metadata as $section ) {
819
  if ( false === @fwrite( $temp_handle, $section['content'] ) ) {
820
  error_log( 'MLAMetadataHooksExample::_replace_jpeg_metadata fwrite metadata marker = ' . var_export( $section['marker'], true ), 0 );
@@ -824,7 +824,7 @@ class MLAMetadataHooksExample {
824
  return;
825
  }
826
  }
827
-
828
  foreach ( $destination_sections as $section ) {
829
  if ( false === @fwrite( $temp_handle, substr( $file_contents, $section['offset'], $section['length'] ) ) ) {
830
  error_log( 'MLAMetadataHooksExample::_replace_jpeg_metadata fwrite destination_sections marker = ' . var_export( $section['marker'], true ), 0 );
@@ -834,12 +834,12 @@ class MLAMetadataHooksExample {
834
  return;
835
  }
836
  }
837
-
838
  if ( false === @fclose( $temp_handle ) ) {
839
  error_log( 'ERROR: MLAMetadataHooksExample::_replace_jpeg_metadata fclose = ' . var_export( error_get_last(), true ), 0 );
840
  return;
841
  }
842
-
843
  if ( false === @unlink( $path ) ) {
844
  error_log( 'ERROR: MLAMetadataHooksExample::_replace_jpeg_metadata unlink = ' . var_export( error_get_last(), true ), 0 );
845
  return;
72
  */
73
  add_filter( 'mla_upload_prefilter', 'MLAMetadataHooksExample::mla_upload_prefilter_filter', 10, 2 );
74
  add_filter( 'mla_upload_filter', 'MLAMetadataHooksExample::mla_upload_filter_filter', 10, 2 );
75
+
76
  add_action( 'mla_add_attachment', 'MLAMetadataHooksExample::mla_add_attachment_action', 10, 1 );
77
+
78
  add_filter( 'mla_update_attachment_metadata_options', 'MLAMetadataHooksExample::mla_update_attachment_metadata_options_filter', 10, 3 );
79
  add_filter( 'mla_update_attachment_metadata_prefilter', 'MLAMetadataHooksExample::mla_update_attachment_metadata_prefilter_filter', 10, 3 );
80
  add_filter( 'mla_update_attachment_metadata_postfilter', 'MLAMetadataHooksExample::mla_update_attachment_metadata_postfilter_filter', 10, 3 );
81
+
82
  add_filter( 'mla_mapping_settings', 'MLAMetadataHooksExample::mla_mapping_settings_filter', 10, 4 );
83
  add_filter( 'mla_mapping_rule', 'MLAMetadataHooksExample::mla_mapping_rule_filter', 10, 4 );
84
  add_filter( 'mla_mapping_custom_value', 'MLAMetadataHooksExample::mla_mapping_custom_value_filter', 10, 5 );
104
  */
105
  private static $image_metadata = array();
106
  private static $raw_metadata = array();
107
+
108
  /**
109
  * MLA Mapping Upload Prefilter
110
  *
128
  */
129
  //error_log( 'MLAMetadataHooksExample::mla_upload_prefilter_filter $file = ' . var_export( $file, true ), 0 );
130
  //error_log( 'MLAMetadataHooksExample::mla_upload_prefilter_filter $image_metadata = ' . var_export( $image_metadata, true ), 0 );
131
+
132
  /*
133
  * Save the information for use in the later filters
134
  */
135
  self::$image_metadata = $image_metadata;
136
  self::$image_metadata['preload_file'] = $file;
137
+
138
  /*
139
  * Save the EXIF, XMP, IPTC and COM data from JPEG files
140
  */
147
 
148
  return $file;
149
  } // mla_upload_prefilter_filter
150
+
151
  /**
152
  * MLA Mapping Upload Filter
153
  *
167
  public static function mla_upload_filter_filter( $file, $id3_data ) {
168
  //error_log( 'MLAMetadataHooksExample::mla_upload_filter_filter $file = ' . var_export( $file, true ), 0 );
169
  //error_log( 'MLAMetadataHooksExample::mla_upload_filter_filter $id3_data = ' . var_export( $id3_data, true ), 0 );
170
+
171
  /*
172
  * Save the information for use in the later filters
173
  */
176
 
177
  return $file;
178
  } // mla_upload_filter_filter
179
+
180
  /**
181
  * MLA Add Attachment Action
182
  *
194
  */
195
  public static function mla_add_attachment_action( $post_id ) {
196
  //error_log( 'MLAMetadataHooksExample::mla_add_attachment_action $post_id = ' . var_export( $post_id, true ), 0 );
197
+
198
  /*
199
  * Save the information for use in the later filters
200
  */
201
  self::$image_metadata['post_id'] = $post_id;
202
  } // mla_add_attachment_action
203
+
204
  /**
205
  * MLA Update Attachment Metadata Options
206
  *
226
  //error_log( 'MLAMetadataHooksExample::mla_update_attachment_metadata_options_filter $options = ' . var_export( $options, true ), 0 );
227
  //error_log( 'MLAMetadataHooksExample::mla_update_attachment_metadata_options_filter $data = ' . var_export( $data, true ), 0 );
228
  //error_log( 'MLAMetadataHooksExample::mla_update_attachment_metadata_options_filter $post_id = ' . var_export( $post_id, true ), 0 );
229
+
230
  return $options;
231
  } // mla_update_attachment_metadata_prefilter_filter
232
+
233
  /**
234
  * MLA Update Attachment Metadata Prefilter
235
  *
253
  //error_log( 'MLAMetadataHooksExample::mla_update_attachment_metadata_prefilter_filter $data = ' . var_export( $data, true ), 0 );
254
  //error_log( 'MLAMetadataHooksExample::mla_update_attachment_metadata_prefilter_filter $post_id = ' . var_export( $post_id, true ), 0 );
255
  //error_log( 'MLAMetadataHooksExample::mla_update_attachment_metadata_prefilter_filter $options = ' . var_export( $options, true ), 0 );
256
+
257
  /*
258
  * If the metadata has been stripped, try to replace it
259
  * NOTE: Uncomment/comment the "self::" and "$data = " lines to activate/deactivate
265
  error_log( 'regenerated data = ' . var_export( $data, true ), 0 );
266
 
267
  }
268
+
269
  return $data;
270
  } // mla_update_attachment_metadata_prefilter_filter
271
+
272
  /**
273
  * MLA Update Attachment Metadata Postfilter
274
  *
291
 
292
  return $data;
293
  } // mla_update_attachment_metadata_postfilter_filter
294
+
295
  /**
296
  * MLA Mapping Settings Filter
297
  *
312
  //error_log( 'MLAMetadataHooksExample::mla_mapping_settings_filter $post_id = ' . var_export( $post_id, true ), 0 );
313
  //error_log( 'MLAMetadataHooksExample::mla_mapping_settings_filter $category = ' . var_export( $category, true ), 0 );
314
  //error_log( 'MLAMetadataHooksExample::mla_mapping_settings_filter $attachment_metadata = ' . var_export( $attachment_metadata, true ), 0 );
315
+
316
  /*
317
  * $category gives the context in which the rule is applied:
318
  * 'custom_field_mapping' - mapping custom fields for ALL attachments
372
  */
373
  return $settings;
374
  } // mla_mapping_settings_filter
375
+
376
  /**
377
  * MLA Mapping Rule Filter
378
  *
401
  */
402
  return $setting_value;
403
  } // mla_mapping_rule_filter
404
+
405
  /**
406
  * MLA Mapping Custom Field Value Filter
407
  *
526
  */
527
  return $exif_value;
528
  } // mla_mapping_exif_value_filter
529
+
530
  /**
531
  * MLA Mapping Updates Filter
532
  *
581
  * Return an updated $mla_tablist ( $tab = NULL ), an updated single element or false
582
  */
583
  return $results;
584
+
585
  /*
586
  * Comment out the above return statement to fall through to this example,
587
  * which removes the "Uploads" tab from the Settings/Media Library Assistant submenu
591
  } elseif ( 'upload' == $tab ) {
592
  $results = false;
593
  }
594
+
595
  return $results;
596
  } // mla_get_options_tablist_filter
597
 
628
  $file_length = strlen( $file_contents );
629
  $file_offset = 0;
630
  $section_array = array();
631
+
632
  while ( $file_offset < $file_length ) {
633
  $section_value = array();
634
+
635
  // Find a marker
636
  for ( $i = 0; $i < 7; $i++ ) {
637
  if ( 0xFF != ord( $file_contents[ $file_offset + $i ] ) ) {
638
  break;
639
  }
640
  }
641
+
642
  $section_value['marker'] = $marker = ord( $file_contents[ $file_offset + $i ] );
643
+
644
  if ( $marker >= self::SOF0 && $marker <= self::COM ) {
645
  $section_value['offset'] = $file_offset + ( $i - 1);
646
+
647
  if ( ( self::SOI == $marker ) || ( self::EOI == $marker ) ) {
648
  $file_offset = $file_offset + ( $i + 1 );
649
  } elseif ( self::SOS == $marker ) {
674
  $section_value['offset'] = $file_offset + $i;
675
  }
676
  $file_offset = $file_offset + ( $i + 1 );
677
+
678
  while ( $file_offset < $file_length ) {
679
  if ( 0xFF == ord( $file_contents[ $file_offset ] ) ) {
680
  break;
688
  $section_array[] = $section_value;
689
  error_log( 'MLAMetadataHooksExample::_enumerate_jpeg_sections $section_value = ' . var_export( $section_value, true ), 0 );
690
  } // while offset < length
691
+
692
  return $section_array;
693
  } // _enumerate_jpeg_sections
694
 
780
  error_log( 'MLAMetadataHooksExample::_replace_jpeg_metadata $APP0_section = ' . var_export( $APP0_section, true ), 0 );
781
  error_log( 'MLAMetadataHooksExample::_replace_jpeg_metadata $COM_section = ' . var_export( $COM_section, true ), 0 );
782
  error_log( 'MLAMetadataHooksExample::_replace_jpeg_metadata $destination_sections = ' . var_export( $destination_sections, true ), 0 );
783
+
784
  if ( ( NULL == $SOI_section ) || ( NULL == $APP0_section ) ) {
785
  return;
786
  }
787
+
788
  @unlink( $temp_path );
789
  $temp_handle = @fopen( $temp_path, 'wb' );
790
  if ( false === $temp_handle ) {
791
  error_log( 'MLAMetadataHooksExample::_replace_jpeg_metadata fopen error = ' . var_export( error_get_last(), true ), 0 );
792
  return;
793
  }
794
+
795
  if ( false === @fwrite( $temp_handle, $SOI_section ) ) {
796
  error_log( 'MLAMetadataHooksExample::_replace_jpeg_metadata fwrite SOI error = ' . var_export( error_get_last(), true ), 0 );
797
  @fclose( $temp_handle );
798
  @unlink( $temp_path );
799
  return;
800
  }
801
+
802
  if ( false === @fwrite( $temp_handle, $APP0_section ) ) {
803
  error_log( 'MLAMetadataHooksExample::_replace_jpeg_metadata fwrite APP0 error = ' . var_export( error_get_last(), true ), 0 );
804
  @fclose( $temp_handle );
814
  return;
815
  }
816
  }
817
+
818
  foreach ( $metadata as $section ) {
819
  if ( false === @fwrite( $temp_handle, $section['content'] ) ) {
820
  error_log( 'MLAMetadataHooksExample::_replace_jpeg_metadata fwrite metadata marker = ' . var_export( $section['marker'], true ), 0 );
824
  return;
825
  }
826
  }
827
+
828
  foreach ( $destination_sections as $section ) {
829
  if ( false === @fwrite( $temp_handle, substr( $file_contents, $section['offset'], $section['length'] ) ) ) {
830
  error_log( 'MLAMetadataHooksExample::_replace_jpeg_metadata fwrite destination_sections marker = ' . var_export( $section['marker'], true ), 0 );
834
  return;
835
  }
836
  }
837
+
838
  if ( false === @fclose( $temp_handle ) ) {
839
  error_log( 'ERROR: MLAMetadataHooksExample::_replace_jpeg_metadata fclose = ' . var_export( error_get_last(), true ), 0 );
840
  return;
841
  }
842
+
843
  if ( false === @unlink( $path ) ) {
844
  error_log( 'ERROR: MLAMetadataHooksExample::_replace_jpeg_metadata unlink = ' . var_export( error_get_last(), true ), 0 );
845
  return;
examples/mla-project-slug-example.php.txt CHANGED
@@ -82,7 +82,7 @@ class MLAProjectSlugExample {
82
  public static function mla_gallery_attributes_filter( $shortcode_attributes ) {
83
  if ( isset( $shortcode_attributes['parent_meta'] ) ) {
84
  global $post;
85
-
86
  $values = explode( ',', $shortcode_attributes['parent_meta'] );
87
  $meta_key = $values[0];
88
  $taxonomy = ( isset( $values[1] ) ) ? $values[1] : 'attachment_category';
82
  public static function mla_gallery_attributes_filter( $shortcode_attributes ) {
83
  if ( isset( $shortcode_attributes['parent_meta'] ) ) {
84
  global $post;
85
+
86
  $values = explode( ',', $shortcode_attributes['parent_meta'] );
87
  $meta_key = $values[0];
88
  $taxonomy = ( isset( $values[1] ) ) ? $values[1] : 'attachment_category';
examples/mla-simple-mapping-hooks-example.php.txt CHANGED
@@ -2,21 +2,21 @@
2
  /**
3
  * Provides an example of the filters provided by the IPTC/EXIF and Custom Field mapping features
4
  *
5
- * In this example the Title and ALT Text values are cleaned up, replacing dashes and underscores with spaces.
6
  *
7
  * @package MLA Simple Mapping Hooks Example
8
- * @version 1.00
9
  */
10
 
11
  /*
12
  Plugin Name: MLA Simple Mapping Hooks Example
13
  Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
14
- Description: Provides an example of the filters provided by the IPTC/EXIF and Custom Field mapping features.
15
  Author: David Lingren
16
- Version: 1.00
17
  Author URI: http://fairtradejudaica.org/our-story/staff/
18
 
19
- Copyright 2014 David Lingren
20
 
21
  This program is free software; you can redistribute it and/or modify
22
  it under the terms of the GNU General Public License as published by
@@ -35,7 +35,7 @@ Copyright 2014 David Lingren
35
  /**
36
  * Class MLA Simple Mapping Hooks Example hooks all of the filters provided by the IPTC/EXIF and Custom Field mapping features
37
  *
38
- * Call it anything you want, but give it an unlikely and hopefully unique name. Hiding everything
39
  * else inside a class means this is the only name you have to worry about.
40
  *
41
  * @package MLA Simple Mapping Hooks Example
@@ -59,448 +59,12 @@ class MLASimpleMappingHooksExample {
59
  return;
60
 
61
  /*
62
- * add_filter parameters:
63
- * $tag - name of the hook you're filtering; defined by [mla_gallery]
64
- * $function_to_add - function to be called when [mla_gallery] applies the filter
65
- * $priority - default 10; lower runs earlier, higher runs later
66
- * $accepted_args - number of arguments your function accepts
67
- *
68
- * Comment out the filters you don't need; save them for future use
69
  */
70
- //add_filter( 'mla_upload_prefilter', 'MLASimpleMappingHooksExample::mla_upload_prefilter_filter', 10, 2 );
71
- //add_filter( 'mla_upload_filter', 'MLASimpleMappingHooksExample::mla_upload_filter_filter', 10, 2 );
72
-
73
- //add_action( 'mla_add_attachment', 'MLASimpleMappingHooksExample::mla_add_attachment_action', 10, 1 );
74
-
75
- //add_filter( 'mla_update_attachment_metadata_options', 'MLASimpleMappingHooksExample::mla_update_attachment_metadata_options_filter', 10, 3 );
76
- //add_filter( 'mla_update_attachment_metadata_prefilter', 'MLASimpleMappingHooksExample::mla_update_attachment_metadata_prefilter_filter', 10, 3 );
77
- //add_filter( 'mla_update_attachment_metadata_postfilter', 'MLASimpleMappingHooksExample::mla_update_attachment_metadata_postfilter_filter', 10, 3 );
78
-
79
- //add_filter( 'mla_mapping_settings', 'MLASimpleMappingHooksExample::mla_mapping_settings_filter', 10, 4 );
80
- //add_filter( 'mla_mapping_rule', 'MLASimpleMappingHooksExample::mla_mapping_rule_filter', 10, 4 );
81
- //add_filter( 'mla_mapping_custom_value', 'MLASimpleMappingHooksExample::mla_mapping_custom_value_filter', 10, 5 );
82
- //add_filter( 'mla_mapping_iptc_value', 'MLASimpleMappingHooksExample::mla_mapping_iptc_value_filter', 10, 5 );
83
- //add_filter( 'mla_mapping_exif_value', 'MLASimpleMappingHooksExample::mla_mapping_exif_value_filter', 10, 5 );
84
  add_filter( 'mla_mapping_updates', 'MLASimpleMappingHooksExample::mla_mapping_updates_filter', 10, 5 );
85
-
86
- //add_filter( 'mla_get_options_tablist', 'MLASimpleMappingHooksExample::mla_get_options_tablist_filter', 10, 3 );
87
  }
88
 
89
- /**
90
- * Save the original image metadata when a file is first uploaded
91
- *
92
- * Array elements are:
93
- * 'post_id' => 0,
94
- * 'mla_iptc_metadata' => array(),
95
- * 'mla_exif_metadata' => array(),
96
- * 'wp_image_metadata' => array(),
97
- *
98
- * @since 1.00
99
- *
100
- * @var array
101
- */
102
- private static $image_metadata = array();
103
-
104
- /**
105
- * MLA Mapping Upload Prefilter
106
- *
107
- * This filter gives you an opportunity to record the original IPTC, EXIF and
108
- * WordPress image_metadata before the file is stored in the Media Library.
109
- * You can also modify the file name that will be used in the Media Library.
110
- *
111
- * Many plugins and image editing functions alter or destroy this information,
112
- * so this may be your last change to preserve it.
113
- *
114
- * @since 1.00
115
- *
116
- * @param array the file name, type and location
117
- * @param array the IPTC, EXIF and WordPress image_metadata
118
- *
119
- * @return array updated file name and other information
120
- */
121
- public static function mla_upload_prefilter_filter( $file, $image_metadata ) {
122
- /*
123
- * Uncomment the error_log statements in any of the filters to see what's passed in
124
- */
125
- //error_log( 'MLASimpleMappingHooksExample::mla_upload_prefilter_filter $file = ' . var_export( $file, true ), 0 );
126
- //error_log( 'MLASimpleMappingHooksExample::mla_upload_prefilter_filter $image_metadata = ' . var_export( $image_metadata, true ), 0 );
127
-
128
- /*
129
- * Save the information for use in the later filters
130
- */
131
- self::$image_metadata = $image_metadata;
132
- self::$image_metadata['preload_file'] = $file;
133
-
134
- return $file;
135
- } // mla_upload_prefilter_filter
136
-
137
- /**
138
- * MLA Mapping Upload Filter
139
- *
140
- * This filter gives you an opportunity to record some additional metadata
141
- * for audio and video media after the file is stored in the Media Library.
142
- *
143
- * Many plugins and other functions alter or destroy this information,
144
- * so this may be your last change to preserve it.
145
- *
146
- * @since 1.00
147
- *
148
- * @param array the file name, type and location
149
- * @param array the ID3 metadata for audio and video files
150
- *
151
- * @return array updated file name, type and location
152
- */
153
- public static function mla_upload_filter_filter( $file, $id3_data ) {
154
- //error_log( 'MLASimpleMappingHooksExample::mla_upload_filter_filter $file = ' . var_export( $file, true ), 0 );
155
- //error_log( 'MLASimpleMappingHooksExample::mla_upload_filter_filter $id3_data = ' . var_export( $id3_data, true ), 0 );
156
-
157
- /*
158
- * Save the information for use in the later filters
159
- */
160
- self::$image_metadata['postload_file'] = $file;
161
- self::$image_metadata['id3_metadata'] = $id3_data;
162
-
163
- return $file;
164
- } // mla_upload_filter_filter
165
-
166
- /**
167
- * MLA Add Attachment Action
168
- *
169
- * This filter is called at the end of the wp_insert_attachment() function,
170
- * after the file is in place and the post object has been created in the database.
171
- *
172
- * By this time, other plugins have probably run their own 'add_attachment' filters
173
- * and done their work/damage to metadata, etc.
174
- *
175
- * @since 1.00
176
- *
177
- * @param integer The Post ID of the new attachment
178
- *
179
- * @return void
180
- */
181
- public static function mla_add_attachment_action( $post_id ) {
182
- //error_log( 'MLASimpleMappingHooksExample::mla_add_attachment_action $post_id = ' . var_export( $post_id, true ), 0 );
183
-
184
- /*
185
- * Save the information for use in the later filters
186
- */
187
- self::$image_metadata['post_id'] = $post_id;
188
- } // mla_add_attachment_action
189
-
190
- /**
191
- * MLA Update Attachment Metadata Options
192
- *
193
- * This filter lets you inspect or change the processing options that will
194
- * control the MLA mapping rules in the update_attachment_metadata filter.
195
- *
196
- * The options are:
197
- * is_upload - true if this is part of the original file upload process
198
- * enable_iptc_exif_mapping - true to apply IPTC/EXIF mapping to file uploads
199
- * enable_custom_field_mapping - true to apply custom field mapping to file uploads
200
- * enable_iptc_exif_update - true to apply IPTC/EXIF mapping to updates
201
- * enable_custom_field_update - true to apply custom field mapping to updates
202
- *
203
- * @since 1.00
204
- *
205
- * @param array Processing options, e.g., 'is_upload'
206
- * @param array attachment metadata
207
- * @param integer The Post ID of the new/updated attachment
208
- *
209
- * @return array updated processing options
210
- */
211
- public static function mla_update_attachment_metadata_options_filter( $options, $data, $post_id ) {
212
- //error_log( 'MLASimpleMappingHooksExample::mla_update_attachment_metadata_options_filter $options = ' . var_export( $options, true ), 0 );
213
- //error_log( 'MLASimpleMappingHooksExample::mla_update_attachment_metadata_options_filter $data = ' . var_export( $data, true ), 0 );
214
- //error_log( 'MLASimpleMappingHooksExample::mla_update_attachment_metadata_options_filter $post_id = ' . var_export( $post_id, true ), 0 );
215
-
216
- return $options;
217
- } // mla_update_attachment_metadata_prefilter_filter
218
-
219
- /**
220
- * MLA Update Attachment Metadata Prefilter
221
- *
222
- * This filter is called at the end of the wp_update_attachment_metadata() function,
223
- * BEFORE any MLA mapping rules are applied. The prefilter gives you an
224
- * opportunity to record or update the metadata before the mapping.
225
- *
226
- * The wp_update_attachment_metadata() function is called at the end of the file upload process and at
227
- * several later points, such as when an image attachment is edited or by
228
- * plugins that alter the attachment file.
229
- *
230
- * @since 1.00
231
- *
232
- * @param array attachment metadata
233
- * @param integer The Post ID of the new/updated attachment
234
- * @param array Processing options, e.g., 'is_upload'
235
- *
236
- * @return array updated attachment metadata
237
- */
238
- public static function mla_update_attachment_metadata_prefilter_filter( $data, $post_id, $options ) {
239
- //error_log( 'MLASimpleMappingHooksExample::mla_update_attachment_metadata_prefilter_filter $data = ' . var_export( $data, true ), 0 );
240
- //error_log( 'MLASimpleMappingHooksExample::mla_update_attachment_metadata_prefilter_filter $post_id = ' . var_export( $post_id, true ), 0 );
241
- //error_log( 'MLASimpleMappingHooksExample::mla_update_attachment_metadata_prefilter_filter $options = ' . var_export( $options, true ), 0 );
242
-
243
- return $data;
244
- } // mla_update_attachment_metadata_prefilter_filter
245
-
246
- /**
247
- * MLA Update Attachment Metadata Postfilter
248
- *
249
- * This filter is called AFTER MLA mapping rules are applied during
250
- * wp_update_attachment_metadata() processing. The postfilter gives you
251
- * an opportunity to record or update the metadata after the mapping.
252
- *
253
- * @since 1.00
254
- *
255
- * @param array attachment metadata
256
- * @param integer The Post ID of the new/updated attachment
257
- * @param array Processing options, e.g., 'is_upload'
258
- *
259
- * @return array updated attachment metadata
260
- */
261
- public static function mla_update_attachment_metadata_postfilter_filter( $data, $post_id, $options ) {
262
- //error_log( 'MLASimpleMappingHooksExample::mla_update_attachment_metadata_postfilter_filter $data = ' . var_export( $data, true ), 0 );
263
- //error_log( 'MLASimpleMappingHooksExample::mla_update_attachment_metadata_postfilter_filter $post_id = ' . var_export( $post_id, true ), 0 );
264
- //error_log( 'MLASimpleMappingHooksExample::mla_update_attachment_metadata_postfilter_filter $options = ' . var_export( $options, true ), 0 );
265
-
266
- return $data;
267
- } // mla_update_attachment_metadata_postfilter_filter
268
-
269
- /**
270
- * MLA Mapping Settings Filter
271
- *
272
- * This filter is called before any mapping rules are executed.
273
- * You can add, change or delete rules from the array.
274
- *
275
- * @since 1.00
276
- *
277
- * @param array mapping rules
278
- * @param integer post ID to be evaluated
279
- * @param string category/scope to evaluate against, e.g., custom_field_mapping or single_attachment_mapping
280
- * @param array attachment_metadata, default NULL
281
- *
282
- * @return array updated mapping rules
283
- */
284
- public static function mla_mapping_settings_filter( $settings, $post_id, $category, $attachment_metadata ) {
285
- //error_log( 'MLASimpleMappingHooksExample::mla_mapping_settings_filter $settings = ' . var_export( $settings, true ), 0 );
286
- //error_log( 'MLASimpleMappingHooksExample::mla_mapping_settings_filter $post_id = ' . var_export( $post_id, true ), 0 );
287
- //error_log( 'MLASimpleMappingHooksExample::mla_mapping_settings_filter $category = ' . var_export( $category, true ), 0 );
288
- //error_log( 'MLASimpleMappingHooksExample::mla_mapping_settings_filter $attachment_metadata = ' . var_export( $attachment_metadata, true ), 0 );
289
-
290
- /*
291
- * $category gives the context in which the rule is applied:
292
- * 'custom_field_mapping' - mapping custom fields for ALL attachments
293
- * 'single_attachment_mapping' - mapping custom fields for ONE attachments
294
- *
295
- * 'iptc_exif_mapping' - mapping ALL IPTC/EXIF rules
296
- * 'iptc_exif_standard_mapping' - mapping standard field rules
297
- * 'iptc_exif_taxonomy_mapping' - mapping taxonomy term rules
298
- * 'iptc_exif_custom_mapping' - mapping IPTC/EXIF custom field rules
299
- *
300
- * NOTE: 'iptc_exif_mapping' will never be passed to the 'mla_mapping_rule' filter.
301
- * There, one of the three more specific values will be passed.
302
- */
303
-
304
- /*
305
- * For Custom Field Mapping, $settings is an array indexed by
306
- * the custom field name.
307
- * Each array element is a mapping rule; an array containing:
308
- * 'name' => custom field name
309
- * 'data_source' => 'none', 'meta', 'template' or data source name
310
- * 'keep_existing' => boolean; true to preserve existing content
311
- * 'format' => 'native', 'commas', 'raw'
312
- * 'mla_column' => boolean; not used
313
- * 'quick_edit' => boolean; not used
314
- * 'bulk_edit' => boolean; not used
315
- * 'meta_name' => attachment metadata element name or content template
316
- * 'option' => 'text', 'single', 'export', 'array', 'multi'
317
- * 'no_null' => boolean; true to delete empty custom field values
318
- *
319
- * For IPTC/EXIF Mapping, $settings is an array indexed by
320
- * the mapping category; 'standard', 'taxonomy' and 'custom'.
321
- * Each category is an array of rules, with slightly different formats.
322
- *
323
- * Each 'standard' category array element is a rule (array) containing:
324
- * 'name' => field slug; 'post_title', 'post_name', 'image_alt', 'post_excerpt', 'post_content'
325
- * 'iptc_value' => IPTC Identifier or friendly name
326
- * 'exif_value' => EXIF element name
327
- * 'iptc_first' => boolean; true to prefer IPTC value over EXIF value
328
- * 'keep_existing' => boolean; true to preserve existing content
329
- *
330
- * Each 'taxonomy' category array element is a rule (array) containing:
331
- * 'name' => taxonomy slug, e.g., 'post_tag', 'attachment_category'
332
- * 'hierarchical' => boolean; true for hierarchical taxonomies
333
- * 'iptc_value' => IPTC Identifier or friendly name
334
- * 'exif_value' => EXIF element name
335
- * 'iptc_first' => boolean; true to prefer IPTC value over EXIF value
336
- * 'keep_existing' => boolean; true to preserve existing content
337
- * 'parent' => zero for none or the term_id of the parent
338
- * 'delimiters' => term separator(s), e.g., ',;'
339
- *
340
- * Each 'custom' category array element is a rule (array) containing:
341
- * 'name' => custom field name
342
- * 'iptc_value' => IPTC Identifier or friendly name
343
- * 'exif_value' => EXIF element name
344
- * 'iptc_first' => boolean; true to prefer IPTC value over EXIF value
345
- * 'keep_existing' => boolean; true to preserve existing content
346
- */
347
- return $settings;
348
- } // mla_mapping_settings_filter
349
-
350
- /**
351
- * MLA Mapping Rule Filter
352
- *
353
- * This filter is called once for each mapping rule, before the rule
354
- * is evaluated. You can change the rule parameters, or prevent rule
355
- * evaluation by returning $setting_value['data_source'] = 'none';
356
- *
357
- * @since 1.00
358
- *
359
- * @param array custom_field_mapping rule
360
- * @param integer post ID to be evaluated
361
- * @param string category/scope to evaluate against: custom_field_mapping or single_attachment_mapping
362
- * @param array attachment_metadata, default NULL
363
- *
364
- * @return array updated custom_field_mapping rule
365
- */
366
- public static function mla_mapping_rule_filter( $setting_value, $post_id, $category, $attachment_metadata ) {
367
- //error_log( 'MLASimpleMappingHooksExample::mla_mapping_rule_filter $setting_value = ' . var_export( $setting_value, true ), 0 );
368
- //error_log( 'MLASimpleMappingHooksExample::mla_mapping_rule_filter $post_id = ' . var_export( $post_id, true ), 0 );
369
- //error_log( 'MLASimpleMappingHooksExample::mla_mapping_rule_filter $category = ' . var_export( $category, true ), 0 );
370
- //error_log( 'MLASimpleMappingHooksExample::mla_mapping_rule_filter $attachment_metadata = ' . var_export( $attachment_metadata, true ), 0 );
371
-
372
- /*
373
- * $setting_value is an array containing a mapping rule; see above
374
- * To stop this rule's evaluation and mapping, return NULL
375
- */
376
- return $setting_value;
377
- } // mla_mapping_rule_filter
378
-
379
- /**
380
- * MLA Mapping Custom Field Value Filter
381
- *
382
- * This filter is called once for each custom field mapping rule, after the rule
383
- * is evaluated. You can change the new value produced by the rule.
384
- *
385
- * @since 1.00
386
- *
387
- * @param mixed value returned by the rule
388
- * @param array custom_field_mapping rule
389
- * @param integer post ID to be evaluated
390
- * @param string category/scope to evaluate against: custom_field_mapping or single_attachment_mapping
391
- * @param array attachment_metadata, default NULL
392
- *
393
- * @return array updated rule value
394
- */
395
- public static function mla_mapping_custom_value_filter( $new_text, $setting_value, $post_id, $category, $attachment_metadata ) {
396
- //error_log( 'MLASimpleMappingHooksExample::mla_mapping_custom_value_filter $new_text = ' . var_export( $new_text, true ), 0 );
397
- //error_log( 'MLASimpleMappingHooksExample::mla_mapping_custom_value_filter $setting_value = ' . var_export( $setting_value, true ), 0 );
398
- //error_log( 'MLASimpleMappingHooksExample::mla_mapping_custom_value_filter $post_id = ' . var_export( $post_id, true ), 0 );
399
- //error_log( 'MLASimpleMappingHooksExample::mla_mapping_custom_value_filter $category = ' . var_export( $category, true ), 0 );
400
- //error_log( 'MLASimpleMappingHooksExample::mla_mapping_custom_value_filter $attachment_metadata = ' . var_export( $attachment_metadata, true ), 0 );
401
-
402
- /*
403
- * You can use MLAOptions::mla_get_data_source() to get anything available;
404
- * for example:
405
- */
406
- $my_setting = array(
407
- 'data_source' => 'size_names',
408
- 'option' => 'array'
409
- );
410
- //$size_names = MLAOptions::mla_get_data_source($post_id, $category, $my_setting, $attachment_metadata);
411
- //error_log( 'MLASimpleMappingHooksExample::mla_mapping_custom_value_filter $size_names = ' . var_export( $size_names, true ), 0 );
412
-
413
- /*
414
- * For "empty" values, return ' '.
415
- */
416
- return $new_text;
417
- } // mla_mapping_custom_value_filter
418
-
419
- /**
420
- * MLA Mapping IPTC Value Filter
421
- *
422
- * This filter is called once for each IPTC/EXIF mapping rule, after the IPTC
423
- * portion of the rule is evaluated. You can change the new value produced by
424
- * the rule.
425
- *
426
- * @since 1.00
427
- *
428
- * @param mixed IPTC value returned by the rule
429
- * @param array custom_field_mapping rule
430
- * @param integer post ID to be evaluated
431
- * @param string category/scope to evaluate against: custom_field_mapping or single_attachment_mapping
432
- * @param array attachment_metadata, default NULL
433
- *
434
- * @return array updated rule IPTC value
435
- */
436
- public static function mla_mapping_iptc_value_filter( $iptc_value, $setting_value, $post_id, $category, $attachment_metadata ) {
437
- //error_log( 'MLASimpleMappingHooksExample::mla_mapping_iptc_value_filter $iptc_value = ' . var_export( $iptc_value, true ), 0 );
438
- //error_log( 'MLASimpleMappingHooksExample::mla_mapping_iptc_value_filter $setting_value = ' . var_export( $setting_value, true ), 0 );
439
- //error_log( 'MLASimpleMappingHooksExample::mla_mapping_iptc_value_filter $post_id = ' . var_export( $post_id, true ), 0 );
440
- //error_log( 'MLASimpleMappingHooksExample::mla_mapping_iptc_value_filter $category = ' . var_export( $category, true ), 0 );
441
- //error_log( 'MLASimpleMappingHooksExample::mla_mapping_iptc_value_filter $attachment_metadata = ' . var_export( $attachment_metadata, true ), 0 );
442
-
443
- /*
444
- * You can use MLAOptions::mla_get_data_source() to get anything available;
445
- * for example:
446
- */
447
- $my_setting = array(
448
- 'data_source' => 'template',
449
- 'meta_name' => '([+iptc:keywords+])',
450
- 'option' => 'array'
451
- );
452
- //$keywords = MLAOptions::mla_get_data_source($post_id, $category, $my_setting, $attachment_metadata);
453
- //error_log( 'MLASimpleMappingHooksExample::mla_mapping_iptc_value_filter $keywords = ' . var_export( $keywords, true ), 0 );
454
-
455
- /*
456
- * For "empty" values, return ''.
457
- */
458
- return $iptc_value;
459
- } // mla_mapping_iptc_value_filter
460
-
461
- /**
462
- * MLA Mapping EXIF Value Filter
463
- *
464
- * This filter is called once for each IPTC/EXIF mapping rule, after the EXIF
465
- * portion of the rule is evaluated. You can change the new value produced by
466
- * the rule.
467
- *
468
- * @since 1.00
469
- *
470
- * @param mixed EXIF/Template value returned by the rule
471
- * @param array custom_field_mapping rule
472
- * @param integer post ID to be evaluated
473
- * @param string category/scope to evaluate against: custom_field_mapping or single_attachment_mapping
474
- * @param array attachment_metadata, default NULL
475
- *
476
- * @return array updated rule EXIF/Template value
477
- */
478
- public static function mla_mapping_exif_value_filter( $exif_value, $setting_value, $post_id, $category, $attachment_metadata ) {
479
- //error_log( 'MLASimpleMappingHooksExample::mla_mapping_exif_value_filter $exif_value = ' . var_export( $exif_value, true ), 0 );
480
- //error_log( 'MLASimpleMappingHooksExample::mla_mapping_exif_value_filter $setting_value = ' . var_export( $setting_value, true ), 0 );
481
- //error_log( 'MLASimpleMappingHooksExample::mla_mapping_exif_value_filter $post_id = ' . var_export( $post_id, true ), 0 );
482
- //error_log( 'MLASimpleMappingHooksExample::mla_mapping_exif_value_filter $category = ' . var_export( $category, true ), 0 );
483
- //error_log( 'MLASimpleMappingHooksExample::mla_mapping_exif_value_filter $attachment_metadata = ' . var_export( $attachment_metadata, true ), 0 );
484
-
485
- /*
486
- * You can use MLAOptions::mla_get_data_source() to get anything available;
487
- * for example:
488
- */
489
- $my_setting = array(
490
- 'data_source' => 'template',
491
- 'meta_name' => '([+exif:Copyright+])',
492
- 'option' => 'array'
493
- );
494
- //$copyright = MLAOptions::mla_get_data_source($post_id, $category, $my_setting, $attachment_metadata);
495
- //error_log( 'MLASimpleMappingHooksExample::mla_mapping_exif_value_filter $copyright = ' . var_export( $copyright, true ), 0 );
496
-
497
- /*
498
- * For "empty" 'text' values, return ''.
499
- * For "empty" 'array' values, return NULL.
500
- */
501
- return $exif_value;
502
- } // mla_mapping_exif_value_filter
503
-
504
  /**
505
  * MLA Mapping Updates Filter
506
  *
@@ -519,11 +83,54 @@ class MLASimpleMappingHooksExample {
519
  * @return array updated attachment's updates
520
  */
521
  public static function mla_mapping_updates_filter( $updates, $post_id, $category, $settings, $attachment_metadata ) {
522
- //error_log( 'MLASimpleMappingHooksExample::mla_mapping_updates_filter $updates = ' . var_export( $updates, true ), 0 );
523
- //error_log( 'MLASimpleMappingHooksExample::mla_mapping_updates_filter $post_id = ' . var_export( $post_id, true ), 0 );
524
- //error_log( 'MLASimpleMappingHooksExample::mla_mapping_updates_filter $category = ' . var_export( $category, true ), 0 );
525
- //error_log( 'MLASimpleMappingHooksExample::mla_mapping_updates_filter $settings = ' . var_export( $settings, true ), 0 );
526
- //error_log( 'MLASimpleMappingHooksExample::mla_mapping_updates_filter $attachment_metadata = ' . var_export( $attachment_metadata, true ), 0 );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
527
 
528
  /*
529
  * If $updates[ 'post_title' ] is set, some mapping rule
@@ -537,6 +144,17 @@ class MLASimpleMappingHooksExample {
537
  $old_value = $post->post_title;
538
  }
539
 
 
 
 
 
 
 
 
 
 
 
 
540
  /*
541
  * Clean up the Title value. If the cleanup has changed the value,
542
  * put the new value in the $updates array.
@@ -545,7 +163,7 @@ class MLASimpleMappingHooksExample {
545
  if ( $old_value != $new_title ) {
546
  $updates[ 'post_title' ] = $new_title;
547
  }
548
-
549
  // Find the current ALT Text value
550
  if ( isset( $updates[ 'image_alt' ] ) ) {
551
  $old_value = $updates[ 'image_alt' ];
@@ -557,38 +175,12 @@ class MLASimpleMappingHooksExample {
557
  if ( $old_value != $new_title ) {
558
  $updates[ 'image_alt' ] = $new_title;
559
  }
560
-
561
  /*
562
  * To stop this rule's updates, return an empty array, i.e., return array();
563
  */
564
  return $updates;
565
  } // mla_mapping_updates_filter
566
-
567
- /**
568
- * MLA Mapping Updates Filter
569
- *
570
- * This filter is called AFTER all mapping rules are applied.
571
- * You can add, change or remove updates for the attachment's
572
- * standard fields, taxonomies and/or custom fields.
573
- *
574
- * @since 1.02
575
- *
576
- * @param array|false The entire tablist ( $tab = NULL ), a single tab entry or false if not found/not allowed.
577
- * @param array The entire tablist
578
- * @param string|NULL tab slug for single-element return or NULL to return entire tablist
579
- *
580
- * @return array updated attachment's updates
581
- */
582
- public static function mla_get_options_tablist_filter( $results, $mla_tablist, $tab ) {
583
- //error_log( 'MLASimpleMappingHooksExample::mla_get_options_tablist_filter $results = ' . var_export( $results, true ), 0 );
584
- //error_log( 'MLASimpleMappingHooksExample::mla_get_options_tablist_filter $mla_tablist = ' . var_export( $mla_tablist, true ), 0 );
585
- //error_log( 'MLASimpleMappingHooksExample::mla_get_options_tablist_filter $tab = ' . var_export( $tab, true ), 0 );
586
-
587
- /*
588
- * Return an updated $mla_tablist ( $tab = NULL ), an updated single element or false
589
- */
590
- return $results;
591
- } // mla_get_options_tablist_filter
592
  } //MLASimpleMappingHooksExample
593
 
594
  /*
2
  /**
3
  * Provides an example of the filters provided by the IPTC/EXIF and Custom Field mapping features
4
  *
5
+ * Cleans up Title and ALT Text; populates custom fields based on a regular expression.
6
  *
7
  * @package MLA Simple Mapping Hooks Example
8
+ * @version 1.01
9
  */
10
 
11
  /*
12
  Plugin Name: MLA Simple Mapping Hooks Example
13
  Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
14
+ Description: Cleans up Title and ALT Text; populates custom fields based on a regular expression
15
  Author: David Lingren
16
+ Version: 1.01
17
  Author URI: http://fairtradejudaica.org/our-story/staff/
18
 
19
+ Copyright 2014 - 2015 David Lingren
20
 
21
  This program is free software; you can redistribute it and/or modify
22
  it under the terms of the GNU General Public License as published by
35
  /**
36
  * Class MLA Simple Mapping Hooks Example hooks all of the filters provided by the IPTC/EXIF and Custom Field mapping features
37
  *
38
+ * Call it anything you want, but give it an unlikely and hopefully unique name. Hiding enerything
39
  * else inside a class means this is the only name you have to worry about.
40
  *
41
  * @package MLA Simple Mapping Hooks Example
59
  return;
60
 
61
  /*
62
+ * This filter is applied in class-mla-options.php functions
63
+ * mla_evaluate_iptc_exif_mapping and mla_evaluate_custom_field_mapping
 
 
 
 
 
64
  */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
65
  add_filter( 'mla_mapping_updates', 'MLASimpleMappingHooksExample::mla_mapping_updates_filter', 10, 5 );
 
 
66
  }
67
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
68
  /**
69
  * MLA Mapping Updates Filter
70
  *
83
  * @return array updated attachment's updates
84
  */
85
  public static function mla_mapping_updates_filter( $updates, $post_id, $category, $settings, $attachment_metadata ) {
86
+ /*
87
+ * The first part of the example splits the IPTC "2#105 headline" field, if present, and
88
+ * updates two custom fields with the resulting values. You must define an IPTC/EXIF
89
+ * custom field mapping rule for "regex_split_headline" to activate this logic.
90
+ */
91
+ if ( isset( $updates['custom_updates'] ) && isset( $updates['custom_updates']['regex_split_headline'] ) ) {
92
+ $headline = $updates['custom_updates']['regex_split_headline'];
93
+ $headline = is_string( $headline ) ? trim( $headline ) : '';
94
+
95
+ if ( preg_match( '/(.*)\|\|(.*)/', $headline, $matches ) ) {
96
+ $artist = trim( $matches[1] );
97
+ $event = trim( $matches[2] );
98
+
99
+ /*
100
+ * You can update the field(s) directly or (preferred) let MLA do the updates
101
+ */
102
+ if ( ! empty( $artist ) ) {
103
+ //update_metadata( 'post', $post_id, 'damArtist', $artist );
104
+ $updates['custom_updates']['damArtist'] = $artist;
105
+ } else {
106
+ //delete_metadata( 'post', $post_id, 'damArtist' );
107
+ $updates['custom_updates']['damArtist'] = NULL;
108
+ }
109
+
110
+ if ( ! empty( $event ) ) {
111
+ //update_metadata( 'post', $post_id, 'damEvent', $event );
112
+ $updates['custom_updates']['damArtist'] = $event;
113
+ } else {
114
+ //delete_metadata( 'post', $post_id, 'damEvent' );
115
+ $updates['custom_updates']['damEvent'] = NULL;
116
+ }
117
+ }
118
+
119
+ // We don't actually store regex_split_headline as a custom field
120
+ unset( $updates['custom_updates']['regex_split_headline'] );
121
+ }
122
+
123
+ /*
124
+ * Remove or comment out the next line to apply the Title and ALT Text cleanup logic
125
+ */
126
+ return $updates;
127
+
128
+ /*
129
+ * For the Title and ALT Text cleanup, we are only concerned with Standard Field mapping
130
+ */
131
+ if ( ! in_array( $category, array( 'iptc_exif_mapping', 'iptc_exif_standard_mapping' ) ) ) {
132
+ return $updates;
133
+ }
134
 
135
  /*
136
  * If $updates[ 'post_title' ] is set, some mapping rule
144
  $old_value = $post->post_title;
145
  }
146
 
147
+ /*
148
+ * Derive the new Title from the IPTC Object Name, if present.
149
+ * You can use MLAOptions::mla_get_data_source() to get anything available.
150
+ */
151
+ $my_setting = array(
152
+ 'data_source' => 'template',
153
+ 'meta_name' => '([+iptc:2#005+])',
154
+ 'option' => 'raw'
155
+ );
156
+ $object_name = trim( MLAOptions::mla_get_data_source( $post_id, 'single_attachment_mapping', $my_setting, NULL ) );
157
+
158
  /*
159
  * Clean up the Title value. If the cleanup has changed the value,
160
  * put the new value in the $updates array.
163
  if ( $old_value != $new_title ) {
164
  $updates[ 'post_title' ] = $new_title;
165
  }
166
+
167
  // Find the current ALT Text value
168
  if ( isset( $updates[ 'image_alt' ] ) ) {
169
  $old_value = $updates[ 'image_alt' ];
175
  if ( $old_value != $new_title ) {
176
  $updates[ 'image_alt' ] = $new_title;
177
  }
178
+
179
  /*
180
  * To stop this rule's updates, return an empty array, i.e., return array();
181
  */
182
  return $updates;
183
  } // mla_mapping_updates_filter
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
184
  } //MLASimpleMappingHooksExample
185
 
186
  /*
examples/mla-tax-query-example.php.txt CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Provides a custom example of hooking the filters provided by the [mla_gallery] shortcode:
4
- *
5
  * - In the "mla_gallery_arguments" filter is an example of detecting MLA pagination, e.g.,
6
  * mla_output="paginate_links,prev_next and supplying the count required to accomodate it.
7
  *
@@ -11,19 +11,22 @@
11
  * - The "single_query()" and "double_query()" functions provide simplified, higher-performance
12
  * alternatives to the standard WordPress tax_query.
13
  *
 
 
 
14
  * @package MLA tax query Example
15
- * @version 1.01
16
  */
17
 
18
  /*
19
  Plugin Name: MLA tax query Example
20
  Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
21
- Description: Provides an example of hooking the filters provided by the [mla_gallery] shortcode
22
  Author: David Lingren
23
- Version: 1.01
24
  Author URI: http://fairtradejudaica.org/our-story/staff/
25
 
26
- Copyright 2013, 2014 David Lingren
27
 
28
  This program is free software; you can redistribute it and/or modify
29
  it under the terms of the GNU General Public License as published by
@@ -42,7 +45,7 @@ Copyright 2013, 2014 David Lingren
42
  /**
43
  * Class MLA tax query Example hooks three of the filters provided by the [mla_gallery] shortcode
44
  *
45
- * Call it anything you want, but give it an unlikely and hopefully unique name. Hiding everything
46
  * else inside a class means this is the only name you have to worry about.
47
  *
48
  * @package MLA tax query Example
@@ -70,9 +73,9 @@ class MLATaxQueryExample {
70
  * $priority - default 10; lower runs earlier, higher runs later
71
  * $accepted_args - number of arguments your function accepts
72
  */
73
- add_filter( 'mla_gallery_attributes', 'MLATaxQueryExample::mla_gallery_attributes_filter', 10, 1 );
74
- add_filter( 'mla_gallery_arguments', 'MLATaxQueryExample::mla_gallery_arguments_filter', 10, 1 );
75
- add_filter( 'mla_gallery_query_arguments', 'MLATaxQueryExample::mla_gallery_query_arguments_filter', 10, 1 );
76
  }
77
 
78
  /**
@@ -83,7 +86,16 @@ class MLATaxQueryExample {
83
  * @var array
84
  */
85
  private static $shortcode_attributes = array();
86
-
 
 
 
 
 
 
 
 
 
87
  /**
88
  * MLA Gallery (Display) Attributes
89
  *
@@ -99,19 +111,104 @@ class MLATaxQueryExample {
99
  *
100
  * @return array updated shortcode attributes
101
  */
102
- public static function mla_gallery_attributes_filter( $shortcode_attributes ) {
103
  /*
104
  * Uncomment the error_log statements in any of the filters to see what's passed in
105
  */
106
- //error_log( 'MLATaxQueryExample::mla_gallery_attributes_filter $shortcode_attributes = ' . var_export( $shortcode_attributes, true ), 0 );
107
-
108
  /*
109
  * Save the attributes for use in the later filters
110
  */
111
  self::$shortcode_attributes = $shortcode_attributes;
112
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
113
  return $shortcode_attributes;
114
- } // mla_gallery_attributes_filter
115
 
116
  /**
117
  * Save the shortcode arguments
@@ -121,7 +218,7 @@ class MLATaxQueryExample {
121
  * @var array
122
  */
123
  private static $all_display_parameters = array();
124
-
125
  /**
126
  * MLA Gallery (Display) Arguments
127
  *
@@ -137,47 +234,26 @@ class MLATaxQueryExample {
137
  *
138
  * @return array updated gallery display arguments
139
  */
140
- public static function mla_gallery_arguments_filter( $all_display_parameters ) {
141
  if ( isset( self::$shortcode_attributes['my_custom_sql'] ) ) {
142
  /*
143
  * Determine output type; if it's pagination, count the rows and add the result
144
  * to the parameters. See the "single_query()" and "double_query()" functions.
145
  */
146
- $output_parameters = array_map( 'strtolower', array_map( 'trim', explode( ',', $all_display_parameters['mla_output'] ) ) );
147
- $is_pagination = in_array( $output_parameters[0], array( 'previous_page', 'next_page', 'paginate_links' ) );
148
-
149
- if ( $is_pagination ) {
150
- // Determine query type
151
- if ( isset( self::$shortcode_attributes['post_mime_type'] ) ) {
152
- $is_double = true;
153
- } else {
154
- $my_query_vars = self::$shortcode_attributes['my_custom_sql'];
155
- if ( empty( $my_query_vars ) ) {
156
- $my_query_vars = array();
157
- } elseif ( is_string( $my_query_vars ) ) {
158
- $my_query_vars = shortcode_parse_atts( $my_query_vars );
159
- }
160
-
161
- if ( isset( $my_query_vars['order'] ) || isset( $my_query_vars['orderby'] ) ) {
162
- $is_double = true;
163
- } else {
164
- $is_double = false;
165
- }
166
- }
167
-
168
- if ( $is_double ) {
169
  $all_display_parameters['mla_paginate_rows'] = self::double_query( NULL, true );
170
  } else {
171
  $all_display_parameters['mla_paginate_rows'] = self::single_query( NULL, true );
172
  }
173
  }
174
  } // my_custom_sql present
175
-
176
- //error_log( 'MLATaxQueryExample::mla_gallery_arguments_filter $all_display_parameters = ' . var_export( $all_display_parameters, true ), 0 );
177
 
178
  self::$all_display_parameters = $all_display_parameters;
179
  return $all_display_parameters;
180
- } // mla_gallery_arguments_filter
181
 
182
  /**
183
  * MLA Gallery Query Arguments
@@ -191,7 +267,7 @@ class MLATaxQueryExample {
191
  *
192
  * @return array updated attachment query arguments
193
  */
194
- public static function mla_gallery_query_arguments_filter( $all_query_parameters ) {
195
  /*
196
  * This example executes a custom SQL query that is much simpler than the usual WordPress
197
  * WP_Query arguments. See the "single_query()" and "double_query()" functions.
@@ -207,30 +283,12 @@ class MLATaxQueryExample {
207
  * - include_children=true
208
  * - order and/or orderby
209
  *
210
- * The shortcode can also contain the post_mime_type parameter to further filter
211
- * the results. The double_query() function is called when the request contains
212
- * either post_mime_type or orderby/order parameters.
213
  */
214
  if ( isset( self::$shortcode_attributes['my_custom_sql'] ) ) {
215
- // Determine query type
216
- if ( isset( self::$shortcode_attributes['post_mime_type'] ) ) {
217
- $is_double = true;
218
- } else {
219
- $my_query_vars = self::$shortcode_attributes['my_custom_sql'];
220
- if ( empty( $my_query_vars ) ) {
221
- $my_query_vars = array();
222
- } elseif ( is_string( $my_query_vars ) ) {
223
- $my_query_vars = shortcode_parse_atts( $my_query_vars );
224
- }
225
-
226
- if ( isset( $my_query_vars['order'] ) || isset( $my_query_vars['orderby'] ) ) {
227
- $is_double = true;
228
- } else {
229
- $is_double = false;
230
- }
231
- }
232
-
233
- if ( $is_double ) {
234
  $all_query_parameters = self::double_query( $all_query_parameters );
235
  } else {
236
  $all_query_parameters = self::single_query( $all_query_parameters );
@@ -238,8 +296,8 @@ class MLATaxQueryExample {
238
  }
239
 
240
  return $all_query_parameters;
241
- } // mla_gallery_query_arguments_filter
242
-
243
  /**
244
  * Custom query support function, taxonomy terms only
245
  *
@@ -258,8 +316,8 @@ class MLATaxQueryExample {
258
  */
259
  private static function single_query( $all_query_parameters, $is_pagination = false ) {
260
  global $wpdb;
261
- //error_log( 'MLATaxQueryExample::single_query $all_query_parameters = ' . var_export( $all_query_parameters, true ), 0 );
262
- //error_log( 'MLATaxQueryExample::single_query $is_pagination = ' . var_export( $is_pagination, true ), 0 );
263
 
264
  /*
265
  * This example executes a custom SQL query that is much simpler than the usual
@@ -273,7 +331,7 @@ class MLATaxQueryExample {
273
  * are ONLY used for Media Library image items, so we can omit the term_relationships/posts
274
  * JOIN clause for tests on post_mime_type, post_type and post_status.
275
  */
276
-
277
  // Make sure $my_query_vars is an array, even if it's empty
278
  $my_query_vars = self::$shortcode_attributes['my_custom_sql'];
279
  if ( empty( $my_query_vars ) ) {
@@ -284,14 +342,14 @@ class MLATaxQueryExample {
284
 
285
  // Start with empty parameter values
286
  $ttids = array();
287
-
288
  // Find taxonomy argument, if present, and collect terms
289
  $taxonomies = get_taxonomies( array( 'object_type' => array( 'attachment' ) ), 'names' );
290
  foreach( $taxonomies as $taxonomy ) {
291
  if ( empty( $my_query_vars[ $taxonomy ] ) ) {
292
  continue;
293
  }
294
-
295
  // Found the taxonomy; collect the terms
296
  $include_children = isset( $my_query_vars['include_children'] ) && 'true' == strtolower( trim( $my_query_vars['include_children'] ) );
297
 
@@ -309,16 +367,16 @@ class MLATaxQueryExample {
309
 
310
  if ( $include_children ) {
311
  $args = array( 'child_of' => $term->term_id, 'hide_empty' => false );
312
- $children = get_terms( $taxonomy, $args );
313
  foreach( $children as $child ) {
314
  $ttids[] = $child->term_taxonomy_id;
315
  }
316
  } // include_children
317
  } // $term
318
-
319
  break;
320
  }
321
-
322
  // Build an array of SQL clauses
323
  $query = array();
324
  $query_parameters = array();
@@ -339,9 +397,9 @@ class MLATaxQueryExample {
339
  $placeholders[] = '%s';
340
  $query_parameters[] = '0';
341
  }
342
-
343
  $query[] = 'WHERE ( tr.term_taxonomy_id IN (' . join( ',', $placeholders ) . ') )';
344
-
345
  // ORDER BY clause would go here, if needed
346
 
347
  if ( ! $is_pagination ) {
@@ -360,7 +418,7 @@ class MLATaxQueryExample {
360
  } else {
361
  $paged = $all_query_parameters['paged'];
362
  }
363
-
364
  if ( empty( $paged ) ) {
365
  $paged = 1;
366
  } elseif ( 'current' == strtolower( $paged ) ) {
@@ -393,7 +451,7 @@ class MLATaxQueryExample {
393
  $query_parameters[] = $offset;
394
  $query_parameters[] = 0x7FFFFFFF; // big number!
395
  }
396
-
397
  $all_query_parameters['nopaging'] = true;
398
  $all_query_parameters['numberposts'] = 0;
399
  $all_query_parameters['posts_per_page'] = 0;
@@ -406,10 +464,10 @@ class MLATaxQueryExample {
406
  $query = join(' ', $query);
407
  if ( $is_pagination ) {
408
  $count = $wpdb->get_var( $wpdb->prepare( $query, $query_parameters ) );
409
- //error_log( 'MLATaxQueryExample::single_query $count = ' . var_export( $count, true ), 0 );
410
  return $count;
411
  }
412
-
413
  $ids = $wpdb->get_results( $wpdb->prepare( $query, $query_parameters ) );
414
  if ( is_array( $ids ) ) {
415
  $includes = array();
@@ -421,7 +479,7 @@ class MLATaxQueryExample {
421
  $all_query_parameters['include'] = '1'; // return no images
422
  }
423
 
424
- //error_log( 'MLATaxQueryExample::single_query $all_query_parameters = ' . var_export( $all_query_parameters, true ), 0 );
425
  return $all_query_parameters;
426
  } // single_query
427
 
@@ -447,17 +505,19 @@ class MLATaxQueryExample {
447
  */
448
  private static function double_query( $all_query_parameters, $is_pagination = false ) {
449
  global $wpdb;
450
- //error_log( 'MLATaxQueryExample::double_query $all_query_parameters = ' . var_export( $all_query_parameters, true ), 0 );
451
- //error_log( 'MLATaxQueryExample::double_query $is_pagination = ' . var_export( $is_pagination, true ), 0 );
452
 
453
  /*
454
  * This example executes two custom SQL queries that are more efficient than the usual
455
  * WordPress WP_Query arguments.
456
  *
457
- * The first query is on taxonomy and term(s) only, yielding a list of object_id (post ID) values.
458
- * The second query filters the list by post_mime_type, orders it and paginates it.
 
 
459
  */
460
-
461
  // Make sure $my_query_vars is an array, even if it's empty
462
  $my_query_vars = self::$shortcode_attributes['my_custom_sql'];
463
  if ( empty( $my_query_vars ) ) {
@@ -468,14 +528,14 @@ class MLATaxQueryExample {
468
 
469
  // Start with empty parameter values
470
  $ttids = array();
471
-
472
  // Find taxonomy argument, if present, and collect terms
473
  $taxonomies = get_taxonomies( array( 'object_type' => array( 'attachment' ) ), 'names' );
474
  foreach( $taxonomies as $taxonomy ) {
475
  if ( empty( $my_query_vars[ $taxonomy ] ) ) {
476
  continue;
477
  }
478
-
479
  // Found the taxonomy; collect the terms
480
  $include_children = isset( $my_query_vars['include_children'] ) && 'true' == strtolower( trim( $my_query_vars['include_children'] ) );
481
 
@@ -499,10 +559,10 @@ class MLATaxQueryExample {
499
  }
500
  } // include_children
501
  } // $term
502
-
503
  break;
504
  }
505
-
506
  // Build an array of SQL clauses for the term_relationships query
507
  $query = array();
508
  $query_parameters = array();
@@ -519,7 +579,7 @@ class MLATaxQueryExample {
519
  $placeholders[] = '%s';
520
  $query_parameters[] = '0';
521
  }
522
-
523
  $query[] = 'WHERE ( tr.term_taxonomy_id IN (' . join( ',', $placeholders ) . ') )';
524
  $query = join(' ', $query);
525
  $ids = $wpdb->get_results( $wpdb->prepare( $query, $query_parameters ) );
@@ -553,7 +613,7 @@ class MLATaxQueryExample {
553
  $placeholders[] = '%s';
554
  $query_parameters[] = '0';
555
  }
556
-
557
  $query[] = 'WHERE ( ( p.ID IN (' . join( ',', $placeholders ) . ') )';
558
 
559
  if ( ! empty( self::$shortcode_attributes['post_mime_type'] ) ) {
@@ -563,7 +623,24 @@ class MLATaxQueryExample {
563
  } else {
564
  $query[] = "AND (p.post_mime_type LIKE 'image/%%')";
565
  }
566
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
567
  // Close the WHERE clause
568
  $query[] = ')';
569
 
@@ -576,7 +653,7 @@ class MLATaxQueryExample {
576
  $orderby = 'none';
577
  }
578
  $all_query_parameters['orderby'] = 'post__in';
579
-
580
  if ( ! empty( $my_query_vars['order'] ) ) {
581
  $order = strtoupper( $my_query_vars['order'] );
582
  if ( 'DESC' != $order ) {
@@ -586,7 +663,7 @@ class MLATaxQueryExample {
586
  $order = 'ASC';
587
  }
588
  $all_query_parameters['order'] = 'ASC';
589
-
590
  switch ( $orderby ) {
591
  case 'id':
592
  $query[] = 'ORDER BY p.ID ' . $order;
@@ -652,7 +729,7 @@ class MLATaxQueryExample {
652
  } else {
653
  $paged = $all_query_parameters['paged'];
654
  }
655
-
656
  if ( empty( $paged ) ) {
657
  $paged = 1;
658
  } elseif ( 'current' == strtolower( $paged ) ) {
@@ -685,7 +762,7 @@ class MLATaxQueryExample {
685
  $query_parameters[] = $offset;
686
  $query_parameters[] = 0x7FFFFFFF; // big number!
687
  }
688
-
689
  $all_query_parameters['nopaging'] = true;
690
  $all_query_parameters['numberposts'] = 0;
691
  $all_query_parameters['posts_per_page'] = 0;
@@ -696,12 +773,16 @@ class MLATaxQueryExample {
696
  } // ! is_pagination
697
 
698
  $query = join(' ', $query);
 
 
699
  if ( $is_pagination ) {
700
  $count = $wpdb->get_var( $wpdb->prepare( $query, $query_parameters ) );
 
701
  return $count;
702
  }
703
-
704
  $ids = $wpdb->get_results( $wpdb->prepare( $query, $query_parameters ) );
 
705
  if ( is_array( $ids ) ) {
706
  $includes = array();
707
  foreach ( $ids as $id ) {
@@ -712,7 +793,7 @@ class MLATaxQueryExample {
712
  $all_query_parameters['include'] = '1'; // return no items
713
  }
714
 
715
- //error_log( 'MLATaxQueryExample::double_query $all_query_parameters = ' . var_export( $all_query_parameters, true ), 0 );
716
  return $all_query_parameters;
717
  } // double_query
718
  } // Class MLATaxQueryExample
1
  <?php
2
  /**
3
  * Provides a custom example of hooking the filters provided by the [mla_gallery] shortcode:
4
+ *
5
  * - In the "mla_gallery_arguments" filter is an example of detecting MLA pagination, e.g.,
6
  * mla_output="paginate_links,prev_next and supplying the count required to accomodate it.
7
  *
11
  * - The "single_query()" and "double_query()" functions provide simplified, higher-performance
12
  * alternatives to the standard WordPress tax_query.
13
  *
14
+ * A custom shortcode parameter, "my_custom_sql", activates the logic in this plugin. See the
15
+ * "mla_gallery_query_arguments" function for documentation on the parameter.
16
+ *
17
  * @package MLA tax query Example
18
+ * @version 1.02
19
  */
20
 
21
  /*
22
  Plugin Name: MLA tax query Example
23
  Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
24
+ Description: Replaces the WP_Query tax_query with a more efficient, direct SQL query
25
  Author: David Lingren
26
+ Version: 1.02
27
  Author URI: http://fairtradejudaica.org/our-story/staff/
28
 
29
+ Copyright 2013 - 2015 David Lingren
30
 
31
  This program is free software; you can redistribute it and/or modify
32
  it under the terms of the GNU General Public License as published by
45
  /**
46
  * Class MLA tax query Example hooks three of the filters provided by the [mla_gallery] shortcode
47
  *
48
+ * Call it anything you want, but give it an unlikely and hopefully unique name. Hiding enerything
49
  * else inside a class means this is the only name you have to worry about.
50
  *
51
  * @package MLA tax query Example
73
  * $priority - default 10; lower runs earlier, higher runs later
74
  * $accepted_args - number of arguments your function accepts
75
  */
76
+ add_filter( 'mla_gallery_attributes', 'MLATaxQueryExample::mla_gallery_attributes', 10, 1 );
77
+ add_filter( 'mla_gallery_arguments', 'MLATaxQueryExample::mla_gallery_arguments', 10, 1 );
78
+ add_filter( 'mla_gallery_query_arguments', 'MLATaxQueryExample::mla_gallery_query_arguments', 10, 1 );
79
  }
80
 
81
  /**
86
  * @var array
87
  */
88
  private static $shortcode_attributes = array();
89
+
90
+ /**
91
+ * Save the keyword search attributes, if present
92
+ *
93
+ * @since 1.02
94
+ *
95
+ * @var array
96
+ */
97
+ private static $search_attributes = array();
98
+
99
  /**
100
  * MLA Gallery (Display) Attributes
101
  *
111
  *
112
  * @return array updated shortcode attributes
113
  */
114
+ public static function mla_gallery_attributes( $shortcode_attributes ) {
115
  /*
116
  * Uncomment the error_log statements in any of the filters to see what's passed in
117
  */
118
+ //error_log( __LINE__ . ' MLATaxQueryExample::mla_gallery_attributes $shortcode_attributes = ' . var_export( $shortcode_attributes, true ), 0 );
119
+
120
  /*
121
  * Save the attributes for use in the later filters
122
  */
123
  self::$shortcode_attributes = $shortcode_attributes;
124
 
125
+ /*
126
+ * See if we are involved in processing this shortcode
127
+ */
128
+ if ( isset( self::$shortcode_attributes['my_custom_sql'] ) ) {
129
+ unset( $shortcode_attributes['my_custom_sql'] );
130
+
131
+ // Determine output type; pagination or gallery display
132
+ if ( isset( self::$shortcode_attributes['mla_output'] ) ) {
133
+ $output_parameters = array_map( 'strtolower', array_map( 'trim', explode( ',', self::$shortcode_attributes['mla_output'] ) ) );
134
+ self::$shortcode_attributes['is_pagination'] = in_array( $output_parameters[0], array( 'previous_page', 'next_page', 'paginate_links' ) );
135
+ } else {
136
+ self::$shortcode_attributes['is_pagination'] = false;
137
+ }
138
+
139
+ // Parameters passed to the posts_search filter function in MLAData
140
+ self::$search_attributes = array( 'debug' => 'none', 'sentence' => false, 'exact' => false, 'mla_search_connector' => 'AND' );
141
+ if ( ! empty( self::$shortcode_attributes['s'] ) ) {
142
+
143
+ foreach ( self::$shortcode_attributes as $key => $value ) {
144
+ switch ( $key ) {
145
+ case 'sentence':
146
+ case 'exact':
147
+ if ( ! empty( $value ) && ( 'true' == strtolower( $value ) ) ) {
148
+ self::$search_attributes[ $key ] = true;
149
+ } else {
150
+ self::$search_attributes[ $key ] = false;
151
+ }
152
+
153
+ unset( $shortcode_attributes[ $key ] );
154
+ break;
155
+ case 'mla_search_connector':
156
+ if ( ! empty( $value ) && ( 'OR' == strtoupper( $value ) ) ) {
157
+ self::$search_attributes[ $key ] = 'OR';
158
+ } else {
159
+ self::$search_attributes[ $key ] = 'AND';
160
+ }
161
+
162
+ unset( $shortcode_attributes[ $key ] );
163
+ break;
164
+ case 'mla_search_fields':
165
+ if ( ! empty( $value ) ) {
166
+ self::$search_attributes[ $key ] = $value;
167
+ }
168
+
169
+ unset( $shortcode_attributes[ $key ] );
170
+ break;
171
+ case 's':
172
+ self::$search_attributes[ $key ] = $value;
173
+ unset( $shortcode_attributes[ $key ] );
174
+ break;
175
+ default:
176
+ // ignore anything else
177
+ } // switch $key
178
+ } // foreach $shortcode_attributes
179
+
180
+ // mla_terms_taxonomies is shared with keyword search.
181
+ self::$search_attributes['mla_terms_search']['taxonomies'] = MLAOptions::mla_supported_taxonomies( 'term-search' );
182
+
183
+ if ( empty( self::$search_attributes['mla_search_fields'] ) ) {
184
+ self::$search_attributes['mla_search_fields'] = array( 'title', 'content' );
185
+ } else {
186
+ self::$search_attributes['mla_search_fields'] = array_filter( array_map( 'trim', explode( ',', self::$search_attributes['mla_search_fields'] ) ) );
187
+ self::$search_attributes['mla_search_fields'] = array_intersect( array( 'title', 'content', 'excerpt', 'name' ), self::$search_attributes['mla_search_fields'] );
188
+ }
189
+ }
190
+
191
+ // Determine query type
192
+ if ( isset( self::$shortcode_attributes['post_mime_type'] ) || isset( self::$search_attributes['s'] ) ) {
193
+ self::$shortcode_attributes['is_double'] = true;
194
+ } else {
195
+ $my_query_vars = self::$shortcode_attributes['my_custom_sql'];
196
+ if ( empty( $my_query_vars ) ) {
197
+ $my_query_vars = array();
198
+ } elseif ( is_string( $my_query_vars ) ) {
199
+ $my_query_vars = shortcode_parse_atts( $my_query_vars );
200
+ }
201
+
202
+ if ( isset( $my_query_vars['order'] ) || isset( $my_query_vars['orderby'] ) ) {
203
+ self::$shortcode_attributes['is_double'] = true;
204
+ } else {
205
+ self::$shortcode_attributes['is_double'] = false;
206
+ }
207
+ }
208
+ } // my_custom_sql
209
+
210
  return $shortcode_attributes;
211
+ } // mla_gallery_attributes
212
 
213
  /**
214
  * Save the shortcode arguments
218
  * @var array
219
  */
220
  private static $all_display_parameters = array();
221
+
222
  /**
223
  * MLA Gallery (Display) Arguments
224
  *
234
  *
235
  * @return array updated gallery display arguments
236
  */
237
+ public static function mla_gallery_arguments( $all_display_parameters ) {
238
  if ( isset( self::$shortcode_attributes['my_custom_sql'] ) ) {
239
  /*
240
  * Determine output type; if it's pagination, count the rows and add the result
241
  * to the parameters. See the "single_query()" and "double_query()" functions.
242
  */
243
+ if ( self::$shortcode_attributes['is_pagination'] ) {
244
+ if ( self::$shortcode_attributes['is_double'] ) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
245
  $all_display_parameters['mla_paginate_rows'] = self::double_query( NULL, true );
246
  } else {
247
  $all_display_parameters['mla_paginate_rows'] = self::single_query( NULL, true );
248
  }
249
  }
250
  } // my_custom_sql present
251
+
252
+ //error_log( __LINE__ . ' MLATaxQueryExample::mla_gallery_arguments $all_display_parameters = ' . var_export( $all_display_parameters, true ), 0 );
253
 
254
  self::$all_display_parameters = $all_display_parameters;
255
  return $all_display_parameters;
256
+ } // mla_gallery_arguments
257
 
258
  /**
259
  * MLA Gallery Query Arguments
267
  *
268
  * @return array updated attachment query arguments
269
  */
270
+ public static function mla_gallery_query_arguments( $all_query_parameters ) {
271
  /*
272
  * This example executes a custom SQL query that is much simpler than the usual WordPress
273
  * WP_Query arguments. See the "single_query()" and "double_query()" functions.
283
  * - include_children=true
284
  * - order and/or orderby
285
  *
286
+ * The shortcode can also contain the post_mime_type and/or keyword search parameters
287
+ * to further filter the results. The double_query() function is called when the request
288
+ * contains post_mime_type, keyword search or orderby/order parameters.
289
  */
290
  if ( isset( self::$shortcode_attributes['my_custom_sql'] ) ) {
291
+ if ( self::$shortcode_attributes['is_double'] ) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
292
  $all_query_parameters = self::double_query( $all_query_parameters );
293
  } else {
294
  $all_query_parameters = self::single_query( $all_query_parameters );
296
  }
297
 
298
  return $all_query_parameters;
299
+ } // mla_gallery_query_arguments
300
+
301
  /**
302
  * Custom query support function, taxonomy terms only
303
  *
316
  */
317
  private static function single_query( $all_query_parameters, $is_pagination = false ) {
318
  global $wpdb;
319
+ //error_log( __LINE__ . ' MLATaxQueryExample::single_query $all_query_parameters = ' . var_export( $all_query_parameters, true ), 0 );
320
+ //error_log( __LINE__ . ' MLATaxQueryExample::single_query $is_pagination = ' . var_export( $is_pagination, true ), 0 );
321
 
322
  /*
323
  * This example executes a custom SQL query that is much simpler than the usual
331
  * are ONLY used for Media Library image items, so we can omit the term_relationships/posts
332
  * JOIN clause for tests on post_mime_type, post_type and post_status.
333
  */
334
+
335
  // Make sure $my_query_vars is an array, even if it's empty
336
  $my_query_vars = self::$shortcode_attributes['my_custom_sql'];
337
  if ( empty( $my_query_vars ) ) {
342
 
343
  // Start with empty parameter values
344
  $ttids = array();
345
+
346
  // Find taxonomy argument, if present, and collect terms
347
  $taxonomies = get_taxonomies( array( 'object_type' => array( 'attachment' ) ), 'names' );
348
  foreach( $taxonomies as $taxonomy ) {
349
  if ( empty( $my_query_vars[ $taxonomy ] ) ) {
350
  continue;
351
  }
352
+
353
  // Found the taxonomy; collect the terms
354
  $include_children = isset( $my_query_vars['include_children'] ) && 'true' == strtolower( trim( $my_query_vars['include_children'] ) );
355
 
367
 
368
  if ( $include_children ) {
369
  $args = array( 'child_of' => $term->term_id, 'hide_empty' => false );
370
+ $children = get_terms( 'attachment_category', $args );
371
  foreach( $children as $child ) {
372
  $ttids[] = $child->term_taxonomy_id;
373
  }
374
  } // include_children
375
  } // $term
376
+
377
  break;
378
  }
379
+
380
  // Build an array of SQL clauses
381
  $query = array();
382
  $query_parameters = array();
397
  $placeholders[] = '%s';
398
  $query_parameters[] = '0';
399
  }
400
+
401
  $query[] = 'WHERE ( tr.term_taxonomy_id IN (' . join( ',', $placeholders ) . ') )';
402
+
403
  // ORDER BY clause would go here, if needed
404
 
405
  if ( ! $is_pagination ) {
418
  } else {
419
  $paged = $all_query_parameters['paged'];
420
  }
421
+
422
  if ( empty( $paged ) ) {
423
  $paged = 1;
424
  } elseif ( 'current' == strtolower( $paged ) ) {
451
  $query_parameters[] = $offset;
452
  $query_parameters[] = 0x7FFFFFFF; // big number!
453
  }
454
+
455
  $all_query_parameters['nopaging'] = true;
456
  $all_query_parameters['numberposts'] = 0;
457
  $all_query_parameters['posts_per_page'] = 0;
464
  $query = join(' ', $query);
465
  if ( $is_pagination ) {
466
  $count = $wpdb->get_var( $wpdb->prepare( $query, $query_parameters ) );
467
+ //error_log( __LINE__ . ' MLATaxQueryExample::single_query $count = ' . var_export( $count, true ), 0 );
468
  return $count;
469
  }
470
+
471
  $ids = $wpdb->get_results( $wpdb->prepare( $query, $query_parameters ) );
472
  if ( is_array( $ids ) ) {
473
  $includes = array();
479
  $all_query_parameters['include'] = '1'; // return no images
480
  }
481
 
482
+ //error_log( __LINE__ . ' MLATaxQueryExample::single_query $all_query_parameters = ' . var_export( $all_query_parameters, true ), 0 );
483
  return $all_query_parameters;
484
  } // single_query
485
 
505
  */
506
  private static function double_query( $all_query_parameters, $is_pagination = false ) {
507
  global $wpdb;
508
+ //error_log( __LINE__ . ' MLATaxQueryExample::double_query $all_query_parameters = ' . var_export( $all_query_parameters, true ), 0 );
509
+ //error_log( __LINE__ . ' MLATaxQueryExample::double_query $is_pagination = ' . var_export( $is_pagination, true ), 0 );
510
 
511
  /*
512
  * This example executes two custom SQL queries that are more efficient than the usual
513
  * WordPress WP_Query arguments.
514
  *
515
+ * The first query is on taxonomy and term(s) only, yielding a list of object_id
516
+ * (post ID) values.
517
+ * The second query filters the list by post_mime_type and/or keyword search, orders
518
+ * it and paginates it.
519
  */
520
+
521
  // Make sure $my_query_vars is an array, even if it's empty
522
  $my_query_vars = self::$shortcode_attributes['my_custom_sql'];
523
  if ( empty( $my_query_vars ) ) {
528
 
529
  // Start with empty parameter values
530
  $ttids = array();
531
+
532
  // Find taxonomy argument, if present, and collect terms
533
  $taxonomies = get_taxonomies( array( 'object_type' => array( 'attachment' ) ), 'names' );
534
  foreach( $taxonomies as $taxonomy ) {
535
  if ( empty( $my_query_vars[ $taxonomy ] ) ) {
536
  continue;
537
  }
538
+
539
  // Found the taxonomy; collect the terms
540
  $include_children = isset( $my_query_vars['include_children'] ) && 'true' == strtolower( trim( $my_query_vars['include_children'] ) );
541
 
559
  }
560
  } // include_children
561
  } // $term
562
+
563
  break;
564
  }
565
+
566
  // Build an array of SQL clauses for the term_relationships query
567
  $query = array();
568
  $query_parameters = array();
579
  $placeholders[] = '%s';
580
  $query_parameters[] = '0';
581
  }
582
+
583
  $query[] = 'WHERE ( tr.term_taxonomy_id IN (' . join( ',', $placeholders ) . ') )';
584
  $query = join(' ', $query);
585
  $ids = $wpdb->get_results( $wpdb->prepare( $query, $query_parameters ) );
613
  $placeholders[] = '%s';
614
  $query_parameters[] = '0';
615
  }
616
+
617
  $query[] = 'WHERE ( ( p.ID IN (' . join( ',', $placeholders ) . ') )';
618
 
619
  if ( ! empty( self::$shortcode_attributes['post_mime_type'] ) ) {
623
  } else {
624
  $query[] = "AND (p.post_mime_type LIKE 'image/%%')";
625
  }
626
+
627
+ if ( isset( self::$search_attributes['s'] ) ) {
628
+ global $wpdb;
629
+ $prefix = $wpdb->posts . '.';
630
+
631
+ //error_log( __LINE__ . ' MLATaxQueryExample::double_query self::$search_attributes = ' . var_export( self::$search_attributes, true ), 0 );
632
+
633
+ MLAData::$search_parameters = self::$search_attributes;
634
+
635
+ $query_object = (object) array();
636
+ $search_clause = MLAData::mla_query_posts_search_filter( '', $query_object );
637
+ $search_clause = str_replace( array( $prefix, '%' ), array( 'p.', '%%' ), $search_clause );
638
+ //error_log( __LINE__ . ' MLATaxQueryExample::double_query $search_clause = ' . var_export( $search_clause, true ), 0 );
639
+ $query[] = $search_clause;
640
+
641
+ MLAData::$search_parameters = array( 'debug' => 'none' );
642
+ }
643
+
644
  // Close the WHERE clause
645
  $query[] = ')';
646
 
653
  $orderby = 'none';
654
  }
655
  $all_query_parameters['orderby'] = 'post__in';
656
+
657
  if ( ! empty( $my_query_vars['order'] ) ) {
658
  $order = strtoupper( $my_query_vars['order'] );
659
  if ( 'DESC' != $order ) {
663
  $order = 'ASC';
664
  }
665
  $all_query_parameters['order'] = 'ASC';
666
+
667
  switch ( $orderby ) {
668
  case 'id':
669
  $query[] = 'ORDER BY p.ID ' . $order;
729
  } else {
730
  $paged = $all_query_parameters['paged'];
731
  }
732
+
733
  if ( empty( $paged ) ) {
734
  $paged = 1;
735
  } elseif ( 'current' == strtolower( $paged ) ) {
762
  $query_parameters[] = $offset;
763
  $query_parameters[] = 0x7FFFFFFF; // big number!
764
  }
765
+
766
  $all_query_parameters['nopaging'] = true;
767
  $all_query_parameters['numberposts'] = 0;
768
  $all_query_parameters['posts_per_page'] = 0;
773
  } // ! is_pagination
774
 
775
  $query = join(' ', $query);
776
+ //error_log( __LINE__ . ' MLATaxQueryExample::double_query $query = ' . var_export( $query, true ), 0 );
777
+ //error_log( __LINE__ . ' MLATaxQueryExample::double_query $query_parameters = ' . var_export( $query_parameters, true ), 0 );
778
  if ( $is_pagination ) {
779
  $count = $wpdb->get_var( $wpdb->prepare( $query, $query_parameters ) );
780
+ //error_log( __LINE__ . ' MLATaxQueryExample::double_query $count = ' . var_export( $count, true ), 0 );
781
  return $count;
782
  }
783
+
784
  $ids = $wpdb->get_results( $wpdb->prepare( $query, $query_parameters ) );
785
+ //error_log( __LINE__ . ' MLATaxQueryExample::double_query $ids = ' . var_export( $ids, true ), 0 );
786
  if ( is_array( $ids ) ) {
787
  $includes = array();
788
  foreach ( $ids as $id ) {
793
  $all_query_parameters['include'] = '1'; // return no items
794
  }
795
 
796
+ //error_log( __LINE__ . ' MLATaxQueryExample::double_query $all_query_parameters = ' . var_export( $all_query_parameters, true ), 0 );
797
  return $all_query_parameters;
798
  } // double_query
799
  } // Class MLATaxQueryExample
examples/mla-upload-bulk-edit-example.php.txt ADDED
@@ -0,0 +1,121 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Updates the Title/post_title value entered in the bulk edit area
4
+ *
5
+ * @package MLA Upload Bulk Edit Example
6
+ * @version 1.00
7
+ */
8
+
9
+ /*
10
+ Plugin Name: MLA Upload Bulk Edit Example
11
+ Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
12
+ Description: Updates the Title/post_title value entered in the bulk edit area
13
+ Author: David Lingren
14
+ Version: 1.00
15
+ Author URI: http://fairtradejudaica.org/our-story/staff/
16
+
17
+ Copyright 2014 - 2015 David Lingren
18
+
19
+ This program is free software; you can redistribute it and/or modify
20
+ it under the terms of the GNU General Public License as published by
21
+ the Free Software Foundation; either version 2 of the License, or
22
+ (at your option) any later version.
23
+
24
+ This program is distributed in the hope that it will be useful,
25
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
26
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27
+ GNU General Public License for more details.
28
+
29
+ You can get a copy of the GNU General Public License by writing to the
30
+ Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA
31
+ */
32
+
33
+ /**
34
+ * Class MLA Upload Bulk Edit Example hooks some of the filters provided by the MLA_List_Table class
35
+ *
36
+ * Call it anything you want, but give it an unlikely and hopefully unique name. Hiding everything
37
+ * else inside a class means this is the only name you have to worry about.
38
+ *
39
+ * @package MLA Upload Bulk Edit Example
40
+ * @since 1.00
41
+ */
42
+ class MLAUploadBulkEditExample {
43
+ /**
44
+ * Initialization function, similar to __construct()
45
+ *
46
+ * @since 1.00
47
+ *
48
+ * @return void
49
+ */
50
+ public static function initialize() {
51
+ /*
52
+ * The filters are only useful for the admin section; exit in the front-end posts/pages
53
+ */
54
+ if ( ! is_admin() )
55
+ return;
56
+
57
+ /*
58
+ * Defined in /media-library-assistant/includes/class-mla-main.php
59
+ */
60
+ add_filter( 'mla_list_table_bulk_action_item_request', 'MLAUploadBulkEditExample::mla_list_table_bulk_action_item_request', 10, 4 );
61
+ }
62
+
63
+ /**
64
+ * Filter MLA_List_Table bulk action request parameters for each item
65
+ *
66
+ * This filter gives you an opportunity to pre-process the request parameters for each item
67
+ * During a bulk action. DO NOT assume parameters come from the $_REQUEST super array!
68
+ *
69
+ * @since 1.00
70
+ *
71
+ * @param array $request bulk action request parameters, including ['mla_bulk_action_do_cleanup'].
72
+ * @param string $bulk_action the requested action.
73
+ * @param integer $post_id the affected attachment.
74
+ * @param array $custom_field_map [ slug => field_name ]
75
+ *
76
+ * @return object updated $item_content. NULL if no handler, otherwise
77
+ * ( 'message' => error or status message(s), 'body' => '',
78
+ * 'prevent_default' => true to bypass the MLA handler )
79
+ */
80
+ public static function mla_list_table_bulk_action_item_request( $request, $bulk_action, $post_id, $custom_field_map ) {
81
+ //error_log( __LINE__ . ' MLAUploadBulkEditExample::mla_list_table_bulk_action_item_request $request = ' . var_export( $request, true ), 0 );
82
+ //error_log( __LINE__ . ' MLAUploadBulkEditExample::mla_list_table_bulk_action_item_request $bulk_action = ' . var_export( $bulk_action, true ), 0 );
83
+ //error_log( __LINE__ . ' MLAUploadBulkEditExample::mla_list_table_bulk_action_item_request $post_id = ' . var_export( $post_id, true ), 0 );
84
+ //error_log( __LINE__ . ' MLAUploadBulkEditExample::mla_list_table_bulk_action_item_request $custom_field_map = ' . var_export( $custom_field_map, true ), 0 );
85
+
86
+ // If it's not Upload New Media or there's no Title, we're done
87
+ if ( ! ( isset( $request['screen'] ) && 'async-upload' == $request['screen'] && ! empty( $request['post_title'] ) ) ) {
88
+ return $request;
89
+ }
90
+
91
+ // Retrieve the transient and continue the batch or start a new batch
92
+ $batch = get_transient( 'mla-upload-bulk-edit-example-batch' );
93
+ //error_log( __LINE__ . ' MLAUploadBulkEditExample::mla_list_table_bulk_action_item_request $batch = ' . var_export( $batch, true ), 0 );
94
+
95
+ // Title must match to continue a batch
96
+ if ( is_array( $batch ) && isset( $batch['post_title'] ) && ( $batch['post_title'] != $request['post_title'] )) {
97
+ $batch = false;
98
+ }
99
+
100
+ // Increment or set the counter and modify the Title
101
+ if ( is_array( $batch ) && isset( $batch['post_title'] ) ) {
102
+ $batch['instance'] += 1;
103
+ } else {
104
+ $batch = array( 'post_title' => $request['post_title'], 'instance' => 1 );
105
+ }
106
+
107
+ $request['post_title'] .= ' ' . $batch['instance'];
108
+
109
+ // Save the transient for more batch items
110
+ set_transient( 'mla-upload-bulk-edit-example-batch', $batch, 300 ); // five minutes
111
+
112
+ //error_log( __LINE__ . ' MLAUploadBulkEditExample::mla_list_table_bulk_action_item_request $request[post_title] = ' . var_export( $request['post_title'], true ), 0 );
113
+ return $request;
114
+ } // mla_list_table_bulk_action_item_request
115
+ } // Class MLAUploadBulkEditExample
116
+
117
+ /*
118
+ * Install the filters at an early opportunity
119
+ */
120
+ add_action('init', 'MLAUploadBulkEditExample::initialize');
121
+ ?>
examples/mla-viewer-replacement-example.php.txt CHANGED
@@ -75,7 +75,7 @@ class MLAViewerReplacement {
75
  * Save the shortcode arguments
76
  */
77
  private static $all_display_parameters = array();
78
-
79
  /**
80
  * MLA Gallery (Display) Arguments
81
  *
@@ -93,7 +93,7 @@ class MLAViewerReplacement {
93
  * @return array updated gallery display arguments
94
  */
95
  public static function mla_gallery_arguments_filter( $all_display_parameters ) {
96
-
97
  self::$all_display_parameters = $all_display_parameters;
98
  return $all_display_parameters;
99
  } // mla_gallery_arguments_filter
@@ -129,7 +129,7 @@ class MLAViewerReplacement {
129
  if ( false === strpos( self::$all_display_parameters['mla_viewer_extensions'], $extension ) ) {
130
  return $item_values;
131
  }
132
-
133
  // You can use MLAOptions::mla_get_data_source() to get anything available.
134
  $mla_viewer_caption = str_replace( '{+', '[+', str_replace( '+}', '+]', self::$shortcode_attributes['mla_viewer_caption'] ) );
135
  $data_source = array(
75
  * Save the shortcode arguments
76
  */
77
  private static $all_display_parameters = array();
78
+
79
  /**
80
  * MLA Gallery (Display) Arguments
81
  *
93
  * @return array updated gallery display arguments
94
  */
95
  public static function mla_gallery_arguments_filter( $all_display_parameters ) {
96
+
97
  self::$all_display_parameters = $all_display_parameters;
98
  return $all_display_parameters;
99
  } // mla_gallery_arguments_filter
129
  if ( false === strpos( self::$all_display_parameters['mla_viewer_extensions'], $extension ) ) {
130
  return $item_values;
131
  }
132
+
133
  // You can use MLAOptions::mla_get_data_source() to get anything available.
134
  $mla_viewer_caption = str_replace( '{+', '[+', str_replace( '+}', '+]', self::$shortcode_attributes['mla_viewer_caption'] ) );
135
  $data_source = array(
examples/mla-zip-archive-example.php.txt CHANGED
@@ -61,7 +61,7 @@ class MLADownloadZIPExample {
61
  */
62
  if ( ! class_exists( 'ZipArchive' ) )
63
  return;
64
-
65
  /*
66
  * add_filter parameters:
67
  * $tag - name of the hook you're filtering; defined by [mla_gallery]
@@ -87,7 +87,7 @@ class MLADownloadZIPExample {
87
  */
88
  public static function admin_init_action() {
89
  //error_log( 'MLADownloadZIPExample::admin_init_action $_REQUEST = ' . var_export( $_REQUEST, true ), 0 );
90
-
91
  $bulk_action = '';
92
  if ( isset( $_REQUEST['action'] ) && 'download-zip' == $_REQUEST['action']) {
93
  $bulk_action = 'download-zip';
@@ -102,7 +102,7 @@ class MLADownloadZIPExample {
102
  if ( empty( $_REQUEST['cb_attachment'] ) ) {
103
  return;
104
  }
105
-
106
  /*
107
  * Create unique local names to handle the case where the same file name
108
  * appears in multiple year/month/ directories.
@@ -117,10 +117,10 @@ class MLADownloadZIPExample {
117
  $suffix++;
118
  $local_name = $path_info['filename'] . $suffix . '.' . $path_info['extension'];
119
  }
120
-
121
  $file_names[ $local_name ] = $file_name;
122
  }
123
-
124
  /*
125
  * Create the ZIP archive
126
  */
@@ -128,11 +128,11 @@ class MLADownloadZIPExample {
128
  $prefix = ( defined( MLA_OPTION_PREFIX ) ) ? MLA_OPTION_PREFIX : 'mla_';
129
  $date = date("Ymd_B");
130
  $archive_name = $upload_dir['basedir'] . '/' . "{$prefix}_options_{$date}.zip";
131
-
132
  if ( file_exists( $archive_name ) ) {
133
  @unlink( $archive_name );
134
  }
135
-
136
  $zip = new ZipArchive();
137
  if ( true !== $zip->open( $archive_name, ZIPARCHIVE::CREATE ) ) {
138
  /* translators: 1: ZIP archive file name */
@@ -147,7 +147,7 @@ class MLADownloadZIPExample {
147
  return;
148
  }
149
  }
150
-
151
  if ( true !== $zip->close() ) {
152
  /* translators: 1: ZIP archive file name */
153
  $_REQUEST['mla_admin_message'] = sprintf( __( 'ERROR: The ZIP archive ( %1$s ) could not be closed.', 'mla-zip-archive-example' ), $archive_name );
@@ -175,7 +175,7 @@ class MLADownloadZIPExample {
175
  */
176
  public static function mla_list_table_get_bulk_actions( $actions ) {
177
  //error_log( 'MLADownloadZIPExample::mla_list_table_get_bulk_actions $actions = ' . var_export( $actions, true ), 0 );
178
-
179
  $actions[ 'download-zip' ] = __( 'Download', 'mla-zip-archive-example' );
180
  return $actions;
181
  } // mla_list_table_get_bulk_actions
61
  */
62
  if ( ! class_exists( 'ZipArchive' ) )
63
  return;
64
+
65
  /*
66
  * add_filter parameters:
67
  * $tag - name of the hook you're filtering; defined by [mla_gallery]
87
  */
88
  public static function admin_init_action() {
89
  //error_log( 'MLADownloadZIPExample::admin_init_action $_REQUEST = ' . var_export( $_REQUEST, true ), 0 );
90
+
91
  $bulk_action = '';
92
  if ( isset( $_REQUEST['action'] ) && 'download-zip' == $_REQUEST['action']) {
93
  $bulk_action = 'download-zip';
102
  if ( empty( $_REQUEST['cb_attachment'] ) ) {
103
  return;
104
  }
105
+
106
  /*
107
  * Create unique local names to handle the case where the same file name
108
  * appears in multiple year/month/ directories.
117
  $suffix++;
118
  $local_name = $path_info['filename'] . $suffix . '.' . $path_info['extension'];
119
  }
120
+
121
  $file_names[ $local_name ] = $file_name;
122
  }
123
+
124
  /*
125
  * Create the ZIP archive
126
  */
128
  $prefix = ( defined( MLA_OPTION_PREFIX ) ) ? MLA_OPTION_PREFIX : 'mla_';
129
  $date = date("Ymd_B");
130
  $archive_name = $upload_dir['basedir'] . '/' . "{$prefix}_options_{$date}.zip";
131
+
132
  if ( file_exists( $archive_name ) ) {
133
  @unlink( $archive_name );
134
  }
135
+
136
  $zip = new ZipArchive();
137
  if ( true !== $zip->open( $archive_name, ZIPARCHIVE::CREATE ) ) {
138
  /* translators: 1: ZIP archive file name */
147
  return;
148
  }
149
  }
150
+
151
  if ( true !== $zip->close() ) {
152
  /* translators: 1: ZIP archive file name */
153
  $_REQUEST['mla_admin_message'] = sprintf( __( 'ERROR: The ZIP archive ( %1$s ) could not be closed.', 'mla-zip-archive-example' ), $archive_name );
175
  */
176
  public static function mla_list_table_get_bulk_actions( $actions ) {
177
  //error_log( 'MLADownloadZIPExample::mla_list_table_get_bulk_actions $actions = ' . var_export( $actions, true ), 0 );
178
+
179
  $actions[ 'download-zip' ] = __( 'Download', 'mla-zip-archive-example' );
180
  return $actions;
181
  } // mla_list_table_get_bulk_actions
examples/mqtranslate-example.php.txt CHANGED
@@ -75,7 +75,7 @@ class MLAmqTranslateExample {
75
  */
76
  public static function mla_get_terms_query_results_filter( $tag_objects ) {
77
  $tag_objects = qtrans_useTermLib( $tag_objects );
78
-
79
  return $tag_objects;
80
  } // mla_get_terms_query_results_filter
81
 
@@ -90,11 +90,11 @@ class MLAmqTranslateExample {
90
  */
91
  public static function mla_gallery_open_values_filter( $item_values ) {
92
  global $q_config;
93
-
94
  if ( $q_config['language'] != $q_config['default_language'] ) {
95
  $item_values['site_url'] = $item_values['site_url'] . '/' . $q_config['language'];
96
  }
97
-
98
  return $item_values;
99
  } // mla_gallery_open_values_filter
100
  } // Class MLAmqTranslateExample
75
  */
76
  public static function mla_get_terms_query_results_filter( $tag_objects ) {
77
  $tag_objects = qtrans_useTermLib( $tag_objects );
78
+
79
  return $tag_objects;
80
  } // mla_get_terms_query_results_filter
81
 
90
  */
91
  public static function mla_gallery_open_values_filter( $item_values ) {
92
  global $q_config;
93
+
94
  if ( $q_config['language'] != $q_config['default_language'] ) {
95
  $item_values['site_url'] = $item_values['site_url'] . '/' . $q_config['language'];
96
  }
97
+
98
  return $item_values;
99
  } // mla_gallery_open_values_filter
100
  } // Class MLAmqTranslateExample
examples/random-feature.php.txt CHANGED
@@ -7,7 +7,7 @@
7
  * for the post.
8
  *
9
  * @package Random Featured Image
10
- * @version 1.00
11
  */
12
 
13
  /*
@@ -15,8 +15,23 @@ Plugin Name: Random Featured Image
15
  Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
16
  Description: Assigns a random image as the "post thumbnail"/"featured image".
17
  Author: David Lingren
18
- Version: 1.00
19
  Author URI: http://fairtradejudaica.org/our-story/staff/
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
  */
21
 
22
  /**
@@ -36,9 +51,10 @@ class RandomFeaturedImage {
36
  const USE_SHORTCODE = false; //true;
37
 
38
  /**
39
- * Select the taxonomy, e.g., 'category', 'post_tag', 'attachment_category', 'attachment_tag'
40
  */
41
- const TAXONOMY = 'category';
 
42
 
43
  /**
44
  * Initialization function, similar to __construct()
@@ -77,7 +93,7 @@ class RandomFeaturedImage {
77
  return;
78
  }
79
 
80
- $the_terms = get_the_terms( $post_ID, self::TAXONOMY );
81
  if ( empty( $the_terms ) ) {
82
  return;
83
  }
@@ -85,7 +101,7 @@ class RandomFeaturedImage {
85
  /*
86
  * Optional - filter out the default category
87
  */
88
- if ( 'category' == self::TAXONOMY ) {
89
  $default_category_id= get_option('default_category');
90
 
91
  foreach( $the_terms as $index => $term ) {
@@ -111,7 +127,7 @@ class RandomFeaturedImage {
111
  /*
112
  * Find the right [mla_gallery] parameter name for the taxonomy
113
  */
114
- switch ( self::TAXONOMY ) {
115
  case 'category':
116
  $taxonomy = 'category_name';
117
  break;
@@ -119,7 +135,7 @@ class RandomFeaturedImage {
119
  $taxonomy = 'tag';
120
  break;
121
  default:
122
- $taxonomy = self::TAXONOMY;
123
  }
124
 
125
  /*
7
  * for the post.
8
  *
9
  * @package Random Featured Image
10
+ * @version 1.01
11
  */
12
 
13
  /*
15
  Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
16
  Description: Assigns a random image as the "post thumbnail"/"featured image".
17
  Author: David Lingren
18
+ Version: 1.01
19
  Author URI: http://fairtradejudaica.org/our-story/staff/
20
+
21
+ Copyright 2015 David Lingren
22
+
23
+ This program is free software; you can redistribute it and/or modify
24
+ it under the terms of the GNU General Public License as published by
25
+ the Free Software Foundation; either version 2 of the License, or
26
+ (at your option) any later version.
27
+
28
+ This program is distributed in the hope that it will be useful,
29
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
30
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
31
+ GNU General Public License for more details.
32
+
33
+ You can get a copy of the GNU General Public License by writing to the
34
+ Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA
35
  */
36
 
37
  /**
51
  const USE_SHORTCODE = false; //true;
52
 
53
  /**
54
+ * Select the taxonomies, e.g., 'category', 'post_tag', 'attachment_category', 'attachment_tag'
55
  */
56
+ const POST_TAXONOMY = 'category';
57
+ const ITEM_TAXONOMY = 'attachment_category';
58
 
59
  /**
60
  * Initialization function, similar to __construct()
93
  return;
94
  }
95
 
96
+ $the_terms = get_the_terms( $post_ID, self::POST_TAXONOMY );
97
  if ( empty( $the_terms ) ) {
98
  return;
99
  }
101
  /*
102
  * Optional - filter out the default category
103
  */
104
+ if ( 'category' == self::POST_TAXONOMY ) {
105
  $default_category_id= get_option('default_category');
106
 
107
  foreach( $the_terms as $index => $term ) {
127
  /*
128
  * Find the right [mla_gallery] parameter name for the taxonomy
129
  */
130
+ switch ( self::ITEM_TAXONOMY ) {
131
  case 'category':
132
  $taxonomy = 'category_name';
133
  break;
135
  $taxonomy = 'tag';
136
  break;
137
  default:
138
+ $taxonomy = self::ITEM_TAXONOMY;
139
  }
140
 
141
  /*
examples/twentytwelve-mla/content-category-listing.php CHANGED
@@ -36,7 +36,7 @@ global $post;
36
  } else {
37
  $attr = array( 'taxonomy' => 'attachment_tag' );
38
  }
39
-
40
  echo mla_taxonomy_terms_list( $attr );
41
  ?>
42
  <?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'twentytwelve' ), 'after' => '</div>' ) ); ?>
36
  } else {
37
  $attr = array( 'taxonomy' => 'attachment_tag' );
38
  }
39
+
40
  echo mla_taxonomy_terms_list( $attr );
41
  ?>
42
  <?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'twentytwelve' ), 'after' => '</div>' ) ); ?>
examples/twentytwelve-mla/content-single-image.php CHANGED
@@ -110,7 +110,7 @@ if ( $query->have_posts() ) {
110
  if ( ! empty( $_REQUEST['taxonomy'] ) ) {
111
  $attr['taxonomy'] = $_REQUEST['taxonomy'];
112
  }
113
-
114
  /*
115
  * You can change the default destination page by adding a query variable, e.g.,
116
  * "?page_path=some-other-page"
@@ -118,7 +118,7 @@ if ( $query->have_posts() ) {
118
  if ( ! empty( $_REQUEST['page_path'] ) ) {
119
  $attr['page_path'] = $_REQUEST['page_path'];
120
  }
121
-
122
  mla_custom_terms_list( get_the_ID(), $attr ); // Child theme function
123
  ?>
124
  </div><!-- .entry-terms -->
110
  if ( ! empty( $_REQUEST['taxonomy'] ) ) {
111
  $attr['taxonomy'] = $_REQUEST['taxonomy'];
112
  }
113
+
114
  /*
115
  * You can change the default destination page by adding a query variable, e.g.,
116
  * "?page_path=some-other-page"
118
  if ( ! empty( $_REQUEST['page_path'] ) ) {
119
  $attr['page_path'] = $_REQUEST['page_path'];
120
  }
121
+
122
  mla_custom_terms_list( get_the_ID(), $attr ); // Child theme function
123
  ?>
124
  </div><!-- .entry-terms -->
examples/twentytwelve-mla/content-tag-gallery.php CHANGED
@@ -47,7 +47,7 @@ global $post;
47
  if ( ! empty( $_REQUEST['my_taxonomy'] ) ) {
48
  $attr['taxonomy'] = $_REQUEST['my_taxonomy'];
49
  }
50
-
51
  if ( ! empty( $_REQUEST['my_term'] ) ) {
52
  $attr['term'] = $_REQUEST['my_term'];
53
  }
@@ -59,7 +59,7 @@ global $post;
59
  if ( ! empty( $_REQUEST['posts_per_page'] ) ) {
60
  $attr['posts_per_page'] = $_REQUEST['posts_per_page'];
61
  }
62
-
63
  if ( ! empty( $_REQUEST['mla_paginate_current'] ) ) {
64
  $attr['current_page'] = $_REQUEST['mla_paginate_current'];
65
  }
47
  if ( ! empty( $_REQUEST['my_taxonomy'] ) ) {
48
  $attr['taxonomy'] = $_REQUEST['my_taxonomy'];
49
  }
50
+
51
  if ( ! empty( $_REQUEST['my_term'] ) ) {
52
  $attr['term'] = $_REQUEST['my_term'];
53
  }
59
  if ( ! empty( $_REQUEST['posts_per_page'] ) ) {
60
  $attr['posts_per_page'] = $_REQUEST['posts_per_page'];
61
  }
62
+
63
  if ( ! empty( $_REQUEST['mla_paginate_current'] ) ) {
64
  $attr['current_page'] = $_REQUEST['mla_paginate_current'];
65
  }
examples/twentytwelve-mla/content-tosca30-dropdown.php CHANGED
@@ -42,7 +42,7 @@ class MNA_Pad_Counts_Walker extends Walker_Category {
42
  * @var array
43
  */
44
  private $mla_terms = array();
45
-
46
  /**
47
  * Constructor - set the MLA Terms.
48
  *
@@ -60,7 +60,7 @@ class MNA_Pad_Counts_Walker extends Walker_Category {
60
  $this->mla_terms[ $term->term_taxonomy_id ] = $term->count;
61
  }
62
  }
63
-
64
  /**
65
  * Start the element output.
66
  *
@@ -77,7 +77,7 @@ class MNA_Pad_Counts_Walker extends Walker_Category {
77
  if ( isset( $this->mla_terms[ $taxonomy_object->term_taxonomy_id ] ) ) {
78
  $taxonomy_object->count = $this->mla_terms[ $taxonomy_object->term_taxonomy_id ];
79
  }
80
-
81
  parent::start_el( $output, $taxonomy_object, $depth, $args, $id );
82
  }
83
  }// Class MNA_Pad_Counts_Walker
@@ -86,7 +86,7 @@ $taxonomies = get_object_taxonomies( 'attachment', 'objects' );
86
 
87
  foreach ( $taxonomies as $taxonomy ) {
88
  echo '<h3>' . $taxonomy->labels->name . '</h3>';
89
-
90
  unset( $checklist_walker );
91
  $checklist_walker = new MNA_Pad_Counts_Walker( $taxonomy->name );
92
  $args = array(
@@ -101,7 +101,7 @@ foreach ( $taxonomies as $taxonomy ) {
101
 
102
  echo '<h4>wp_list_categories</h4>';
103
  wp_list_categories( $args );
104
-
105
  echo '<h4>mla_tag_cloud</h4>';
106
  echo '<table><tr><td>pad_counts=false<br>';
107
  echo do_shortcode( "[mla_tag_cloud taxonomy={$taxonomy->name} mla_output=list pad_counts=false]" );
42
  * @var array
43
  */
44
  private $mla_terms = array();
45
+
46
  /**
47
  * Constructor - set the MLA Terms.
48
  *
60
  $this->mla_terms[ $term->term_taxonomy_id ] = $term->count;
61
  }
62
  }
63
+
64
  /**
65
  * Start the element output.
66
  *
77
  if ( isset( $this->mla_terms[ $taxonomy_object->term_taxonomy_id ] ) ) {
78
  $taxonomy_object->count = $this->mla_terms[ $taxonomy_object->term_taxonomy_id ];
79
  }
80
+
81
  parent::start_el( $output, $taxonomy_object, $depth, $args, $id );
82
  }
83
  }// Class MNA_Pad_Counts_Walker
86
 
87
  foreach ( $taxonomies as $taxonomy ) {
88
  echo '<h3>' . $taxonomy->labels->name . '</h3>';
89
+
90
  unset( $checklist_walker );
91
  $checklist_walker = new MNA_Pad_Counts_Walker( $taxonomy->name );
92
  $args = array(
101
 
102
  echo '<h4>wp_list_categories</h4>';
103
  wp_list_categories( $args );
104
+
105
  echo '<h4>mla_tag_cloud</h4>';
106
  echo '<table><tr><td>pad_counts=false<br>';
107
  echo do_shortcode( "[mla_tag_cloud taxonomy={$taxonomy->name} mla_output=list pad_counts=false]" );
examples/twentytwelve-mla/functions.php CHANGED
@@ -36,7 +36,7 @@ if ( ! is_admin() ) {
36
  */
37
  function mla_after_setup_theme_action() {
38
  $domain = 'mla-child-theme';
39
-
40
  load_theme_textdomain( $domain, trailingslashit( WP_LANG_DIR ) . $domain );
41
  load_theme_textdomain( $domain, get_stylesheet_directory() . '/languages' );
42
 
@@ -56,10 +56,10 @@ add_action( 'after_setup_theme', 'mla_after_setup_theme_action' );
56
  */
57
  function mla_wp_title_filter( $title, $sep, $seplocation ) {
58
  $sep = " {$sep} ";
59
-
60
  if ( is_page() ) {
61
  $page = single_post_title( '', false );
62
-
63
  /*
64
  * Match specific page titles and replace the default, page title,
65
  * with more interesting term or file information.
@@ -80,7 +80,7 @@ function mla_wp_title_filter( $title, $sep, $seplocation ) {
80
  }
81
  }
82
  } // is_page
83
-
84
  return $title;
85
  }
86
  add_filter( 'wp_title', 'mla_wp_title_filter', 10, 3 );
@@ -115,7 +115,7 @@ function mla_tag_gallery( $attr = NULL ) {
115
  */
116
  $taxonomy = get_taxonomy( $taxonomy );
117
  $term = get_term_by( 'slug', $term, $taxonomy->name );
118
-
119
  if ( empty( $taxonomy ) ) {
120
  $output = __( 'Taxonomy does not exist.', 'mla-child-theme' );
121
  }
@@ -142,7 +142,7 @@ function mla_tag_gallery( $attr = NULL ) {
142
  */
143
  function mla_paginated_term_gallery( $attr = NULL ) {
144
  global $wpdb;
145
-
146
  /*
147
  * Make sure $attr is an array, even if it's empty
148
  */
@@ -169,7 +169,7 @@ function mla_paginated_term_gallery( $attr = NULL ) {
169
  */
170
  $taxonomy = get_taxonomy( $taxonomy );
171
  $term = get_term_by( 'slug', $term, $taxonomy->name );
172
-
173
  if ( empty( $taxonomy ) ) {
174
  echo __( 'Taxonomy does not exist.', 'mla-child-theme' );
175
  return;
@@ -241,7 +241,7 @@ function mla_custom_terms_list( $ID, $attr = NULL ) {
241
  if ( empty( $terms ) ) {
242
  return '';
243
  }
244
-
245
  /* translators: 1: taxonomy slug */
246
  $output = '<h3>' . sprintf( __( 'Terms list for taxonomy: %1$s', 'mla-child-theme' ), $taxonomy ) . '</h3>';
247
  /* translators: 1: term name */
@@ -283,7 +283,7 @@ function mla_taxonomy_terms_list( $attr = NULL ) {
283
  if ( empty( $terms ) ) {
284
  return __( 'There are no non-empty taxonomy values', 'mla-child-theme' );
285
  }
286
-
287
  /* translators: 1: taxonomy slug */
288
  $output = '<h3>' . sprintf( __( 'Terms list for taxonomy: %1$s', 'mla-child-theme' ), $taxonomy ) . '</h3>';
289
  foreach ( $terms as $term ) {
@@ -304,7 +304,7 @@ function mla_insert_social_tags() {
304
  if ( empty( $post->post_content ) ) {
305
  return;
306
  }
307
-
308
  $count = preg_match( '/\[mla_gallery.*attachment_category="([^\"]*)\"/', $post->post_content, $mla_matches );
309
  if ( $count ) {
310
  $matched_category = $mla_matches[1]; // for preg_match
@@ -314,13 +314,13 @@ function mla_insert_social_tags() {
314
  foreach ( $mla_matches[1] as $match ) {
315
  echo sprintf( '<meta property="og:image" content="%1$s" />', $match ) . "\n";
316
  }
317
-
318
  echo sprintf( '<meta name="twitter:image:src" content="%1$s" />', $mla_matches[1][0] ) . "\n";
319
  }
320
-
321
  return;
322
  } // found mla_gallery
323
-
324
  $count = preg_match( '/\[gallery.*ids="([^\"]*)\"/', $post->post_content, $mla_matches );
325
  if ( $count ) {
326
  $matched_posts = $mla_matches[1]; // for preg_match
@@ -330,10 +330,10 @@ function mla_insert_social_tags() {
330
  foreach ( $mla_matches[1] as $match ) {
331
  echo sprintf( '<meta property="og:image" content="%1$s" />', $match ) . "\n";
332
  }
333
-
334
  echo sprintf( '<meta name="twitter:image:src" content="%1$s" />', $mla_matches[1][0] ) . "\n";
335
  }
336
-
337
  }
338
  } // found gallery
339
  }
36
  */
37
  function mla_after_setup_theme_action() {
38
  $domain = 'mla-child-theme';
39
+
40
  load_theme_textdomain( $domain, trailingslashit( WP_LANG_DIR ) . $domain );
41
  load_theme_textdomain( $domain, get_stylesheet_directory() . '/languages' );
42
 
56
  */
57
  function mla_wp_title_filter( $title, $sep, $seplocation ) {
58
  $sep = " {$sep} ";
59
+
60
  if ( is_page() ) {
61
  $page = single_post_title( '', false );
62
+
63
  /*
64
  * Match specific page titles and replace the default, page title,
65
  * with more interesting term or file information.
80
  }
81
  }
82
  } // is_page
83
+
84
  return $title;
85
  }
86
  add_filter( 'wp_title', 'mla_wp_title_filter', 10, 3 );
115
  */
116
  $taxonomy = get_taxonomy( $taxonomy );
117
  $term = get_term_by( 'slug', $term, $taxonomy->name );
118
+
119
  if ( empty( $taxonomy ) ) {
120
  $output = __( 'Taxonomy does not exist.', 'mla-child-theme' );
121
  }
142
  */
143
  function mla_paginated_term_gallery( $attr = NULL ) {
144
  global $wpdb;
145
+
146
  /*
147
  * Make sure $attr is an array, even if it's empty
148
  */
169
  */
170
  $taxonomy = get_taxonomy( $taxonomy );
171
  $term = get_term_by( 'slug', $term, $taxonomy->name );
172
+
173
  if ( empty( $taxonomy ) ) {
174
  echo __( 'Taxonomy does not exist.', 'mla-child-theme' );
175
  return;
241
  if ( empty( $terms ) ) {
242
  return '';
243
  }
244
+
245
  /* translators: 1: taxonomy slug */
246
  $output = '<h3>' . sprintf( __( 'Terms list for taxonomy: %1$s', 'mla-child-theme' ), $taxonomy ) . '</h3>';
247
  /* translators: 1: term name */
283
  if ( empty( $terms ) ) {
284
  return __( 'There are no non-empty taxonomy values', 'mla-child-theme' );
285
  }
286
+
287
  /* translators: 1: taxonomy slug */
288
  $output = '<h3>' . sprintf( __( 'Terms list for taxonomy: %1$s', 'mla-child-theme' ), $taxonomy ) . '</h3>';
289
  foreach ( $terms as $term ) {
304
  if ( empty( $post->post_content ) ) {
305
  return;
306
  }
307
+
308
  $count = preg_match( '/\[mla_gallery.*attachment_category="([^\"]*)\"/', $post->post_content, $mla_matches );
309
  if ( $count ) {
310
  $matched_category = $mla_matches[1]; // for preg_match
314
  foreach ( $mla_matches[1] as $match ) {
315
  echo sprintf( '<meta property="og:image" content="%1$s" />', $match ) . "\n";
316
  }
317
+
318
  echo sprintf( '<meta name="twitter:image:src" content="%1$s" />', $mla_matches[1][0] ) . "\n";
319
  }
320
+
321
  return;
322
  } // found mla_gallery
323
+
324
  $count = preg_match( '/\[gallery.*ids="([^\"]*)\"/', $post->post_content, $mla_matches );
325
  if ( $count ) {
326
  $matched_posts = $mla_matches[1]; // for preg_match
330
  foreach ( $mla_matches[1] as $match ) {
331
  echo sprintf( '<meta property="og:image" content="%1$s" />', $match ) . "\n";
332
  }
333
+
334
  echo sprintf( '<meta name="twitter:image:src" content="%1$s" />', $mla_matches[1][0] ) . "\n";
335
  }
336
+
337
  }
338
  } // found gallery
339
  }
examples/twentytwelve-mla/image.php CHANGED
@@ -111,7 +111,7 @@ endif;
111
  </div><!-- .entry-description -->
112
 
113
  </div><!-- .entry-content -->
114
-
115
  <div class="entry-terms">
116
  <?php
117
  $attr = array();
@@ -122,7 +122,7 @@ endif;
122
  if ( ! empty( $_REQUEST['taxonomy'] ) ) {
123
  $attr['taxonomy'] = $_REQUEST['taxonomy'];
124
  }
125
-
126
  /*
127
  * You can change the default destination page by adding a query variable, e.g.,
128
  * "?page_path=some-other-page"
@@ -130,7 +130,7 @@ endif;
130
  if ( ! empty( $_REQUEST['page_path'] ) ) {
131
  $attr['page_path'] = $_REQUEST['page_path'];
132
  }
133
-
134
  mla_custom_terms_list( get_the_ID(), $attr ); // Child theme function
135
  ?>
136
  </div><!-- .entry-terms -->
111
  </div><!-- .entry-description -->
112
 
113
  </div><!-- .entry-content -->
114
+
115
  <div class="entry-terms">
116
  <?php
117
  $attr = array();
122
  if ( ! empty( $_REQUEST['taxonomy'] ) ) {
123
  $attr['taxonomy'] = $_REQUEST['taxonomy'];
124
  }
125
+
126
  /*
127
  * You can change the default destination page by adding a query variable, e.g.,
128
  * "?page_path=some-other-page"
130
  if ( ! empty( $_REQUEST['page_path'] ) ) {
131
  $attr['page_path'] = $_REQUEST['page_path'];
132
  }
133
+
134
  mla_custom_terms_list( get_the_ID(), $attr ); // Child theme function
135
  ?>
136
  </div><!-- .entry-terms -->
examples/woofixit.php.txt CHANGED
@@ -123,7 +123,7 @@ class Woo_Fixit {
123
  echo "WooCommerce Fixit - Error</h2>\n";
124
  wp_die( 'You do not have permission to manage plugin settings.' );
125
  }
126
-
127
  $setting_actions = array(
128
  'help' => array( 'handler' => '', 'comment' => 'Enter first/last Product ID values above to restrict tool application range. You can find ID values by hovering over the "Name" column in the WooCommerce/Products submenu table.' ),
129
  'warning' => array( 'handler' => '', 'comment' => '<strong>These tools make permanent updates to your database.</strong> Make a backup before you use the tools so you can restore your old values if you don&rsquo;t like the results.' ),
@@ -184,7 +184,7 @@ class Woo_Fixit {
184
  'Replace Att. Cats' => array( 'handler' => '_replace_attachment_categories',
185
  'comment' => '<strong>Replace ALL</strong> Att. Categories assignments from Att. Tags, where the Att. Tag matches an existing Att. Category.' ),
186
  );
187
-
188
  echo '<div class="wrap">' . "\n";
189
  echo "\t\t" . '<div id="icon-tools" class="icon32"><br/></div>' . "\n";
190
  echo "\t\t" . '<h2>WooCommerce Fixit Tools v' . self::CURRENT_VERSION . '</h2>' . "\n";
@@ -211,11 +211,11 @@ class Woo_Fixit {
211
  echo "\t\t" . ' <tr valign="top"><th style="text-align: right;" scope="row">First Product</th><td style="text-align: left;">' . "\n";
212
  echo "\t\t" . ' <input name="' . self::SLUG_PREFIX . 'lower" type="text" size="5" value="">' . "\n";
213
  echo "\t\t" . ' </td></tr>' . "\n";
214
-
215
  echo "\t\t" . ' <tr valign="top"><th style="text-align: right;" scope="row">Last Product</th><td style="text-align: left;">' . "\n";
216
  echo "\t\t" . ' <input name="' . self::SLUG_PREFIX . 'upper" type="text" size="5" value="">' . "\n";
217
  echo "\t\t" . ' </td></tr>' . "\n";
218
-
219
  foreach ( $setting_actions as $label => $action ) {
220
  if ( empty( $action['handler'] ) ) {
221
  echo "\t\t" . ' <tr><td colspan=2 style="padding: 2px 0px;">' . $action['comment'] . "</td></tr>\n";
@@ -227,7 +227,7 @@ class Woo_Fixit {
227
  echo "\t\t" . ' </td></tr>' . "\n";
228
  }
229
  }
230
-
231
  echo "\t\t" . ' </table>' . "\n";
232
  echo "\t\t" . ' </p>' . "\n";
233
  echo "\t\t" . '</form>' . "\n";
@@ -264,7 +264,7 @@ class Woo_Fixit {
264
  */
265
  private static function _build_product_attachments() {
266
  global $wpdb;
267
-
268
  $query = sprintf( 'SELECT m.* FROM %1$s as m INNER JOIN %2$s as p ON m.post_id = p.ID WHERE ( p.post_type = \'product\' ) AND ( m.meta_key IN ( \'_product_image_gallery\', \'_thumbnail_id\' ) ) GROUP BY m.post_id, m.meta_id ORDER BY m.post_id', $wpdb->postmeta, $wpdb->posts );
269
  $results = $wpdb->get_results( $query );
270
  //error_log( 'Woo_Fixit::_build_product_attachments() $results = ' . var_export( $results, true ), 0 );
@@ -290,9 +290,9 @@ class Woo_Fixit {
290
  if ( ( $lower_bound > $result->post_id ) || ( $upper_bound < $result->post_id ) ) {
291
  continue;
292
  }
293
-
294
  self::$product_attachments[ $result->post_id ][ $result->meta_key ] = trim( $result->meta_value );
295
-
296
  if ( '_thumbnail_id' == $result->meta_key ) {
297
  $key = (integer) $result->meta_value;
298
  if ( isset( self::$attachment_products[ $key ] ) ) {
@@ -324,7 +324,7 @@ class Woo_Fixit {
324
  */
325
  private static function _clear_title() {
326
  global $wpdb;
327
-
328
  $results = $wpdb->query( "UPDATE {$wpdb->posts} SET post_title = '' WHERE post_type = 'attachment'" );
329
  return "<br>_clear_title() performed {$results} update(s).\n";
330
  } // _clear_title
@@ -338,10 +338,10 @@ class Woo_Fixit {
338
  */
339
  private static function _fill_title() {
340
  global $wpdb;
341
-
342
  $query = sprintf( 'SELECT m.post_id, m.meta_value FROM %1$s as m INNER JOIN %2$s as p ON m.post_id = p.ID WHERE ( p.post_title = \'\' ) AND ( p.post_type = \'attachment\' ) AND ( m.meta_key IN ( \'_wp_attached_file\' ) )', $wpdb->postmeta, $wpdb->posts );
343
  $results = $wpdb->get_results( $query );
344
-
345
  $update_count = 0;
346
  $select_bits = '';
347
  $where_bits = array();
@@ -351,7 +351,7 @@ class Woo_Fixit {
351
  $new_title = str_replace( array( '-', '_', '.' ), ' ', $path_info['filename'] );
352
  $select_bits .= " WHEN ID = {$result->post_id} THEN '{$new_title}'";
353
  $where_bits[] = $result->post_id;
354
-
355
  /*
356
  * Run an update when the chunk is full
357
  */
@@ -365,7 +365,7 @@ class Woo_Fixit {
365
  $chunk_count = 0;
366
  }
367
  }
368
-
369
  /*
370
  * Run a final update if the chunk is partially filled
371
  */
@@ -388,10 +388,10 @@ class Woo_Fixit {
388
  */
389
  private static function _replace_title() {
390
  global $wpdb;
391
-
392
  $query = sprintf( 'SELECT m.post_id, m.meta_value FROM %1$s as m INNER JOIN %2$s as p ON m.post_id = p.ID WHERE ( p.post_mime_type LIKE \'%3$s\' ) AND ( p.post_type = \'attachment\' ) AND ( m.meta_key IN ( \'_wp_attached_file\' ) )', $wpdb->postmeta, $wpdb->posts, 'image/%' );
393
  $results = $wpdb->get_results( $query );
394
-
395
  $update_count = 0;
396
  $select_bits = '';
397
  $where_bits = array();
@@ -401,7 +401,7 @@ class Woo_Fixit {
401
  $new_title = str_replace( array( '-', '_', '.' ), ' ', $path_info['filename'] );
402
  $select_bits .= " WHEN ID = {$result->post_id} THEN '{$new_title}'";
403
  $where_bits[] = $result->post_id;
404
-
405
  /*
406
  * Run an update when the chunk is full
407
  */
@@ -415,7 +415,7 @@ class Woo_Fixit {
415
  $chunk_count = 0;
416
  }
417
  }
418
-
419
  /*
420
  * Run a final update if the chunk is partially filled
421
  */
@@ -438,7 +438,7 @@ class Woo_Fixit {
438
  */
439
  private static function _clear_alt_text() {
440
  global $wpdb;
441
-
442
  self::_build_product_attachments();
443
  ksort( self::$attachment_products );
444
  $update_count = 0;
@@ -448,7 +448,7 @@ class Woo_Fixit {
448
  $query_result = $wpdb->query( $delete_query );
449
  $update_count += $query_result;
450
  }
451
-
452
  return "<br>_clear_alt_text() performed {$update_count} delete(s).\n";
453
  } // _clear_alt_text
454
 
@@ -461,7 +461,7 @@ class Woo_Fixit {
461
  */
462
  private static function _fill_alt_text() {
463
  global $wpdb;
464
-
465
  self::_build_product_attachments();
466
  $delete_count = 0;
467
  $insert_count = 0;
@@ -499,7 +499,7 @@ class Woo_Fixit {
499
  if ( ! empty( $value['_thumbnail_id'] ) ) {
500
  $attachment_values[ $value['_thumbnail_id'] ] = $product_terms[ $key ]['name'];
501
  }
502
-
503
  if ( ! empty( $value['_product_image_gallery'] ) ) {
504
  $ids = explode( ',', $value['_product_image_gallery'] );
505
  foreach( $ids as $id ) {
@@ -522,7 +522,7 @@ class Woo_Fixit {
522
  }
523
  unset( $attachment_values[ (integer) $existing_value->post_id ] );
524
  }
525
-
526
  /*
527
  * Delete empty ALT Text values
528
  */
@@ -532,7 +532,7 @@ class Woo_Fixit {
532
  $query_result = $wpdb->query( $delete_query );
533
  $delete_count += $query_result;
534
  }
535
-
536
  /*
537
  * Insert the new values
538
  */
@@ -543,7 +543,7 @@ VALUES ( {$attachment},'_wp_attachment_image_alt','{$text}' )";
543
  $insert_count += $query_result;
544
  }
545
  }
546
-
547
  return "<br>_fill_alt_text() performed {$delete_count} delete(s), {$insert_count} inserts(s).\n";
548
  } // _fill_alt_text
549
 
@@ -556,7 +556,7 @@ VALUES ( {$attachment},'_wp_attachment_image_alt','{$text}' )";
556
  */
557
  private static function _replace_alt_text() {
558
  global $wpdb;
559
-
560
  self::_build_product_attachments();
561
  $delete_count = 0;
562
  $insert_count = 0;
@@ -590,7 +590,7 @@ VALUES ( {$attachment},'_wp_attachment_image_alt','{$text}' )";
590
  if ( isset( $value['_thumbnail_id'] ) ) {
591
  $attachment_values[ $value['_thumbnail_id'] ] = $product_terms[ $key ]['name'];
592
  }
593
-
594
  if ( ! empty( $value['_product_image_gallery'] ) ) {
595
  $ids = explode( ',', $value['_product_image_gallery'] );
596
  foreach( $ids as $id ) {
@@ -606,7 +606,7 @@ VALUES ( {$attachment},'_wp_attachment_image_alt','{$text}' )";
606
  $delete_query = "DELETE FROM {$wpdb->postmeta} WHERE ( post_id IN ( {$keys} ) ) AND ( meta_key = '_wp_attachment_image_alt' )";
607
  $query_result = $wpdb->query( $delete_query );
608
  $delete_count += $query_result;
609
-
610
  /*
611
  * Insert the new values
612
  */
@@ -617,7 +617,7 @@ VALUES ( {$attachment},'_wp_attachment_image_alt','{$text}' )";
617
  $insert_count += $query_result;
618
  }
619
  }
620
-
621
  return "<br>_replace_alt_text() performed {$delete_count} delete(s), {$insert_count} inserts(s).\n";
622
  } // _replace_alt_text
623
 
@@ -630,7 +630,7 @@ VALUES ( {$attachment},'_wp_attachment_image_alt','{$text}' )";
630
  */
631
  private static function _remove_feature() {
632
  global $wpdb;
633
-
634
  self::_build_product_attachments();
635
 
636
  $update_count = 0;
@@ -641,11 +641,11 @@ VALUES ( {$attachment},'_wp_attachment_image_alt','{$text}' )";
641
  if ( empty( $result['_thumbnail_id'] ) ) {
642
  continue;
643
  }
644
-
645
  $feature = (integer) $result['_thumbnail_id'];
646
  $gallery = array();
647
  $feature_found = false;
648
-
649
  if ( ! empty( $result['_product_image_gallery'] ) ) {
650
  foreach ( explode( ',', $result['_product_image_gallery'] ) as $item ) {
651
  if ( $feature == (integer) $item ) {
@@ -655,12 +655,12 @@ VALUES ( {$attachment},'_wp_attachment_image_alt','{$text}' )";
655
  }
656
  } // foreach gallery item
657
  }
658
-
659
  if ( $feature_found ) {
660
  $new_gallery = implode( ',', $gallery );
661
  $select_bits .= " WHEN post_id = {$post_id} THEN '{$new_gallery}'";
662
  $where_bits[] = $post_id;
663
-
664
  /*
665
  * Run an update when the chunk is full
666
  */
@@ -675,7 +675,7 @@ VALUES ( {$attachment},'_wp_attachment_image_alt','{$text}' )";
675
  }
676
  } // feature removed
677
  } // foreach product
678
-
679
  /*
680
  * Run a final update if the chunk is partially filled
681
  */
@@ -698,7 +698,7 @@ VALUES ( {$attachment},'_wp_attachment_image_alt','{$text}' )";
698
  */
699
  private static function _restore_feature() {
700
  global $wpdb;
701
-
702
  self::_build_product_attachments();
703
 
704
  $update_count = 0;
@@ -709,7 +709,7 @@ VALUES ( {$attachment},'_wp_attachment_image_alt','{$text}' )";
709
  if ( empty( $result['_thumbnail_id'] ) ) {
710
  continue;
711
  }
712
-
713
  $feature = (integer) $result['_thumbnail_id'];
714
  $gallery = array();
715
  $feature_found = false;
@@ -722,17 +722,17 @@ VALUES ( {$attachment},'_wp_attachment_image_alt','{$text}' )";
722
  }
723
  } // foreach gallery item
724
  }
725
-
726
  if ( ! $feature_found ) {
727
  if ( count( $gallery ) ) {
728
  $new_gallery = implode( ',', $gallery ) . ',' . $feature;
729
  } else {
730
  $new_gallery = (string) $feature;
731
  }
732
-
733
  $select_bits .= " WHEN post_id = {$post_id} THEN '{$new_gallery}'";
734
  $where_bits[] = $post_id;
735
-
736
  /*
737
  * Run an update when the chunk is full
738
  */
@@ -747,7 +747,7 @@ VALUES ( {$attachment},'_wp_attachment_image_alt','{$text}' )";
747
  }
748
  } // feature restored
749
  } // foreach product
750
-
751
  /*
752
  * Run a final update if the chunk is partially filled
753
  */
@@ -770,7 +770,7 @@ VALUES ( {$attachment},'_wp_attachment_image_alt','{$text}' )";
770
  */
771
  private static function _reverse_gallery() {
772
  global $wpdb;
773
-
774
  self::_build_product_attachments();
775
 
776
  $update_count = 0;
@@ -783,12 +783,12 @@ VALUES ( {$attachment},'_wp_attachment_image_alt','{$text}' )";
783
  } else {
784
  $gallery = explode( ',', $result['_product_image_gallery'] );
785
  }
786
-
787
  if ( 1 < count( $gallery ) ) {
788
  $new_gallery = implode( ',', array_reverse( $gallery ) );
789
  $select_bits .= " WHEN post_id = {$post_id} THEN '{$new_gallery}'";
790
  $where_bits[] = $post_id;
791
-
792
  /*
793
  * Run an update when the chunk is full
794
  */
@@ -803,7 +803,7 @@ VALUES ( {$attachment},'_wp_attachment_image_alt','{$text}' )";
803
  }
804
  } // gallery reversed
805
  } // foreach product
806
-
807
  /*
808
  * Run a final update if the chunk is partially filled
809
  */
@@ -875,7 +875,7 @@ VALUES ( {$attachment},'_wp_attachment_image_alt','{$text}' )";
875
  */
876
  private static function _update_product_tags( $action ) {
877
  global $wpdb;
878
-
879
  self::_build_product_attachments();
880
 
881
  $update_count = 0;
@@ -896,7 +896,7 @@ VALUES ( {$attachment},'_wp_attachment_image_alt','{$text}' )";
896
  if ( count( $products ) == 0 ) {
897
  continue;
898
  }
899
-
900
  switch ( $action ) {
901
  case 'clear':
902
  case 'fill':
@@ -904,7 +904,7 @@ VALUES ( {$attachment},'_wp_attachment_image_alt','{$text}' )";
904
  $ids = implode( ',', array_keys( $products ) );
905
  $query = sprintf( 'SELECT DISTINCT tr.object_id FROM %1$s as tr INNER JOIN %2$s as tt ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE ( tr.object_id IN ( %3$s ) AND tt.taxonomy = \'product_tag\' ) ', $wpdb->term_relationships, $wpdb->term_taxonomy, $ids );
906
  $assignments = $wpdb->get_col( $query );
907
-
908
  if ( 'clear' == $action ) {
909
  foreach ( $assignments as $assignment ) {
910
  wp_delete_object_term_relationships( $assignment, 'product_tag' );
@@ -913,10 +913,10 @@ VALUES ( {$attachment},'_wp_attachment_image_alt','{$text}' )";
913
  } else {
914
  // Find the products that have no assignments
915
  $assignments = array_diff_key( $products, array_flip( $assignments ) );
916
-
917
  foreach ( $assignments as $product_id => $assignment ) {
918
  $attachment_tags = wp_get_object_terms( $assignment, 'attachment_tag', array( 'orderby' => 'none', 'fields' => 'names' ) );
919
-
920
  if ( ! empty( $attachment_tags ) ) {
921
  $term_taxonomy_ids = wp_set_object_terms( $product_id, $attachment_tags, 'product_tag' );
922
  $terms_added += count( $term_taxonomy_ids );
@@ -929,7 +929,7 @@ VALUES ( {$attachment},'_wp_attachment_image_alt','{$text}' )";
929
  case 'replace':
930
  foreach ( $products as $product_id => $assignment ) {
931
  $attachment_tags = wp_get_object_terms( $assignment, 'attachment_tag', array( 'orderby' => 'none', 'fields' => 'names' ) );
932
-
933
  if ( 'append' == $action ) {
934
  if ( ! empty( $attachment_tags ) ) {
935
  $old_term_taxonomy_ids = wp_get_object_terms( $product_id, 'product_tag', array( 'orderby' => 'none', 'fields' => 'tt_ids' ) );
@@ -950,7 +950,7 @@ VALUES ( {$attachment},'_wp_attachment_image_alt','{$text}' )";
950
  }
951
  } else {
952
  $term_taxonomy_ids = wp_get_object_terms( $product_id, 'product_tag', array( 'orderby' => 'none', 'fields' => 'tt_ids' ) );
953
-
954
  $old_terms = count( $term_taxonomy_ids );
955
  if ( 0 < $old_terms ) {
956
  $terms_removed += $old_terms;
@@ -962,7 +962,7 @@ VALUES ( {$attachment},'_wp_attachment_image_alt','{$text}' )";
962
  } // each assignment
963
  } // action
964
  } // each chunk
965
-
966
  switch ( $action ) {
967
  case 'clear':
968
  return "<br>_clear_product_categories() cleared {$update_count} Product(s).\n";
@@ -976,7 +976,7 @@ VALUES ( {$attachment},'_wp_attachment_image_alt','{$text}' )";
976
  case 'replace':
977
  return "<br>_replace_product_categories() replaced {$terms_added} term(s) in {$update_count} Product(s), and deleted {$terms_removed} term(s) from {$delete_count} Product(s).\n";
978
  }
979
-
980
  return "<br>Unknown _update_product_categories action: {$action}";
981
  } // _update_product_categories
982
 
@@ -1038,7 +1038,7 @@ VALUES ( {$attachment},'_wp_attachment_image_alt','{$text}' )";
1038
  */
1039
  private static function _update_product_categories( $action ) {
1040
  global $wpdb;
1041
-
1042
  self::_build_product_attachments();
1043
 
1044
  if ( 'clear' != $action ) {
@@ -1066,7 +1066,7 @@ VALUES ( {$attachment},'_wp_attachment_image_alt','{$text}' )";
1066
  if ( count( $products ) == 0 ) {
1067
  continue;
1068
  }
1069
-
1070
  switch ( $action ) {
1071
  case 'clear':
1072
  case 'fill':
@@ -1074,7 +1074,7 @@ VALUES ( {$attachment},'_wp_attachment_image_alt','{$text}' )";
1074
  $ids = implode( ',', array_keys( $products ) );
1075
  $query = sprintf( 'SELECT DISTINCT tr.object_id FROM %1$s as tr INNER JOIN %2$s as tt ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE ( tr.object_id IN ( %3$s ) AND tt.taxonomy = \'product_cat\' ) ', $wpdb->term_relationships, $wpdb->term_taxonomy, $ids );
1076
  $assignments = $wpdb->get_col( $query );
1077
-
1078
  if ( 'clear' == $action ) {
1079
  foreach ( $assignments as $assignment ) {
1080
  wp_delete_object_term_relationships( $assignment, 'product_cat' );
@@ -1083,11 +1083,11 @@ VALUES ( {$attachment},'_wp_attachment_image_alt','{$text}' )";
1083
  } else {
1084
  // Find the products that have no assignments
1085
  $assignments = array_diff_key( $products, array_flip( $assignments ) );
1086
-
1087
  foreach ( $assignments as $product_id => $assignment ) {
1088
  $attachment_tags = wp_get_object_terms( $assignment, 'attachment_tag', array( 'orderby' => 'none', 'fields' => 'names' ) );
1089
  $common_terms = array_keys( array_intersect( $product_categories, $attachment_tags ) );
1090
-
1091
  if ( ! empty( $common_terms ) ) {
1092
  $term_taxonomy_ids = wp_set_object_terms( $product_id, $common_terms, 'product_cat' );
1093
  $terms_added += count( $term_taxonomy_ids );
@@ -1101,7 +1101,7 @@ VALUES ( {$attachment},'_wp_attachment_image_alt','{$text}' )";
1101
  foreach ( $products as $product_id => $assignment ) {
1102
  $attachment_tags = wp_get_object_terms( $assignment, 'attachment_tag', array( 'orderby' => 'none', 'fields' => 'names' ) );
1103
  $common_terms = array_keys( array_intersect( $product_categories, $attachment_tags ) );
1104
-
1105
  if ( 'append' == $action ) {
1106
  if ( ! empty( $common_terms ) ) {
1107
  $old_term_taxonomy_ids = wp_get_object_terms( $product_id, 'product_cat', array( 'orderby' => 'none', 'fields' => 'tt_ids' ) );
@@ -1122,7 +1122,7 @@ VALUES ( {$attachment},'_wp_attachment_image_alt','{$text}' )";
1122
  }
1123
  } else {
1124
  $term_taxonomy_ids = wp_get_object_terms( $product_id, 'product_cat', array( 'orderby' => 'none', 'fields' => 'tt_ids' ) );
1125
-
1126
  $old_terms = count( $term_taxonomy_ids );
1127
  if ( 0 < $old_terms ) {
1128
  $terms_removed += $old_terms;
@@ -1134,7 +1134,7 @@ VALUES ( {$attachment},'_wp_attachment_image_alt','{$text}' )";
1134
  } // each assignment
1135
  } // action
1136
  } // each chunk
1137
-
1138
  switch ( $action ) {
1139
  case 'clear':
1140
  return "<br>_clear_product_categories() cleared {$update_count} Product(s).\n";
@@ -1148,7 +1148,7 @@ VALUES ( {$attachment},'_wp_attachment_image_alt','{$text}' )";
1148
  case 'replace':
1149
  return "<br>_replace_product_categories() replaced {$terms_added} term(s) in {$update_count} Product(s), and deleted {$terms_removed} term(s) from {$delete_count} Product(s).\n";
1150
  }
1151
-
1152
  return "<br>Unknown _update_product_categories action: {$action}";
1153
  } // _update_product_categories
1154
 
@@ -1161,11 +1161,11 @@ VALUES ( {$attachment},'_wp_attachment_image_alt','{$text}' )";
1161
  */
1162
  private static function _clear_attachment_categories() {
1163
  global $wpdb;
1164
-
1165
  $update_count = 0;
1166
  $offset = 0;
1167
  $limit = 25;
1168
-
1169
  do {
1170
  // Select a chunk of attachment IDs
1171
  $query = sprintf( 'SELECT p.ID FROM %1$s as p WHERE ( p.post_type = \'attachment\' ) ORDER BY p.ID LIMIT %2$d, %3$d', $wpdb->posts, $offset, $limit );
@@ -1184,10 +1184,10 @@ VALUES ( {$attachment},'_wp_attachment_image_alt','{$text}' )";
1184
  } else {
1185
  $results = array();
1186
  }
1187
-
1188
  $offset += $limit;
1189
  } while ( count( $results ) == $limit );
1190
-
1191
  return "<br>_clear_attachment_categories() cleared {$update_count} items(s).\n";
1192
  } // _clear_attachment_categories
1193
 
@@ -1201,7 +1201,7 @@ VALUES ( {$attachment},'_wp_attachment_image_alt','{$text}' )";
1201
  */
1202
  private static function _fill_attachment_categories() {
1203
  global $wpdb;
1204
-
1205
  // Get the array of the Att. Category term objects for comparison
1206
  $attachment_categories = get_terms( 'attachment_category', array( 'orderby' => 'none', 'hide_empty' => 0, 'fields' => 'id=>name' ) );
1207
 
@@ -1209,7 +1209,7 @@ VALUES ( {$attachment},'_wp_attachment_image_alt','{$text}' )";
1209
  $terms_added = 0;
1210
  $offset = 0;
1211
  $limit = 25;
1212
-
1213
  do {
1214
  // Select a chunk of attachment IDs
1215
  $query = sprintf( 'SELECT p.ID FROM %1$s as p WHERE ( p.post_type = \'attachment\' ) ORDER BY p.ID LIMIT %2$d, %3$d', $wpdb->posts, $offset, $limit );
@@ -1220,7 +1220,7 @@ VALUES ( {$attachment},'_wp_attachment_image_alt','{$text}' )";
1220
  $ids = implode( ',', $results );
1221
  $query = sprintf( 'SELECT DISTINCT tr.object_id FROM %1$s as tr INNER JOIN %2$s as tt ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE ( tr.object_id IN ( %3$s ) AND tt.taxonomy = \'attachment_category\' ) ', $wpdb->term_relationships, $wpdb->term_taxonomy, $ids );
1222
  $assignments = $wpdb->get_col( $query );
1223
-
1224
  // find the attachments that have no assignments
1225
  $assignments = array_diff( $results, $assignments );
1226
 
@@ -1236,7 +1236,7 @@ VALUES ( {$attachment},'_wp_attachment_image_alt','{$text}' )";
1236
  } else {
1237
  $results = array();
1238
  }
1239
-
1240
  $offset += $limit;
1241
  } while ( count( $results ) == $limit );
1242
 
@@ -1253,7 +1253,7 @@ VALUES ( {$attachment},'_wp_attachment_image_alt','{$text}' )";
1253
  */
1254
  private static function _append_attachment_categories() {
1255
  global $wpdb;
1256
-
1257
  // Get the array of the Att. Category term objects for comparison
1258
  $attachment_categories = get_terms( 'attachment_category', array( 'orderby' => 'none', 'hide_empty' => 0, 'fields' => 'id=>name' ) );
1259
 
@@ -1261,7 +1261,7 @@ VALUES ( {$attachment},'_wp_attachment_image_alt','{$text}' )";
1261
  $terms_added = 0;
1262
  $offset = 0;
1263
  $limit = 25;
1264
-
1265
  do {
1266
  // Select a chunk of attachment IDs
1267
  $query = sprintf( 'SELECT p.ID FROM %1$s as p WHERE ( p.post_type = \'attachment\' ) ORDER BY p.ID LIMIT %2$d, %3$d', $wpdb->posts, $offset, $limit );
@@ -1272,7 +1272,7 @@ VALUES ( {$attachment},'_wp_attachment_image_alt','{$text}' )";
1272
  $ids = implode( ',', $results );
1273
  $query = sprintf( 'SELECT DISTINCT tr.object_id FROM %1$s as tr INNER JOIN %2$s as tt ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE ( tr.object_id IN ( %3$s ) AND tt.taxonomy = \'attachment_tag\' ) ', $wpdb->term_relationships, $wpdb->term_taxonomy, $ids );
1274
  $assignments = $wpdb->get_col( $query );
1275
-
1276
  foreach ( $assignments as $assignment ) {
1277
  $attachment_tags = wp_get_object_terms( $assignment, 'attachment_tag', array( 'orderby' => 'none', 'fields' => 'names' ) );
1278
  $common_terms = array_keys( array_intersect( $attachment_categories, $attachment_tags ) );
@@ -1290,7 +1290,7 @@ VALUES ( {$attachment},'_wp_attachment_image_alt','{$text}' )";
1290
  } else {
1291
  $results = array();
1292
  }
1293
-
1294
  $offset += $limit;
1295
  } while ( count( $results ) == $limit );
1296
 
@@ -1307,7 +1307,7 @@ VALUES ( {$attachment},'_wp_attachment_image_alt','{$text}' )";
1307
  */
1308
  private static function _replace_attachment_categories() {
1309
  global $wpdb;
1310
-
1311
  // Get the array of the Att. Category term objects for comparison
1312
  $attachment_categories = get_terms( 'attachment_category', array( 'orderby' => 'none', 'hide_empty' => 0, 'fields' => 'id=>name' ) );
1313
 
@@ -1318,7 +1318,7 @@ VALUES ( {$attachment},'_wp_attachment_image_alt','{$text}' )";
1318
 
1319
  $offset = 0;
1320
  $limit = 25;
1321
-
1322
  do {
1323
  // Select a chunk of attachment IDs
1324
  $query = sprintf( 'SELECT p.ID FROM %1$s as p WHERE ( p.post_type = \'attachment\' ) ORDER BY p.ID LIMIT %2$d, %3$d', $wpdb->posts, $offset, $limit );
@@ -1349,7 +1349,7 @@ VALUES ( {$attachment},'_wp_attachment_image_alt','{$text}' )";
1349
  } else {
1350
  $results = array();
1351
  }
1352
-
1353
  $offset += $limit;
1354
  } while ( count( $results ) == $limit );
1355
 
123
  echo "WooCommerce Fixit - Error</h2>\n";
124
  wp_die( 'You do not have permission to manage plugin settings.' );
125
  }
126
+
127
  $setting_actions = array(
128
  'help' => array( 'handler' => '', 'comment' => 'Enter first/last Product ID values above to restrict tool application range. You can find ID values by hovering over the "Name" column in the WooCommerce/Products submenu table.' ),
129
  'warning' => array( 'handler' => '', 'comment' => '<strong>These tools make permanent updates to your database.</strong> Make a backup before you use the tools so you can restore your old values if you don&rsquo;t like the results.' ),
184
  'Replace Att. Cats' => array( 'handler' => '_replace_attachment_categories',
185
  'comment' => '<strong>Replace ALL</strong> Att. Categories assignments from Att. Tags, where the Att. Tag matches an existing Att. Category.' ),
186
  );
187
+
188
  echo '<div class="wrap">' . "\n";
189
  echo "\t\t" . '<div id="icon-tools" class="icon32"><br/></div>' . "\n";
190
  echo "\t\t" . '<h2>WooCommerce Fixit Tools v' . self::CURRENT_VERSION . '</h2>' . "\n";
211
  echo "\t\t" . ' <tr valign="top"><th style="text-align: right;" scope="row">First Product</th><td style="text-align: left;">' . "\n";
212
  echo "\t\t" . ' <input name="' . self::SLUG_PREFIX . 'lower" type="text" size="5" value="">' . "\n";
213
  echo "\t\t" . ' </td></tr>' . "\n";
214
+
215
  echo "\t\t" . ' <tr valign="top"><th style="text-align: right;" scope="row">Last Product</th><td style="text-align: left;">' . "\n";
216
  echo "\t\t" . ' <input name="' . self::SLUG_PREFIX . 'upper" type="text" size="5" value="">' . "\n";
217
  echo "\t\t" . ' </td></tr>' . "\n";
218
+
219
  foreach ( $setting_actions as $label => $action ) {
220
  if ( empty( $action['handler'] ) ) {
221
  echo "\t\t" . ' <tr><td colspan=2 style="padding: 2px 0px;">' . $action['comment'] . "</td></tr>\n";
227
  echo "\t\t" . ' </td></tr>' . "\n";
228
  }
229
  }
230
+
231
  echo "\t\t" . ' </table>' . "\n";
232
  echo "\t\t" . ' </p>' . "\n";
233
  echo "\t\t" . '</form>' . "\n";
264
  */
265
  private static function _build_product_attachments() {
266
  global $wpdb;
267
+
268
  $query = sprintf( 'SELECT m.* FROM %1$s as m INNER JOIN %2$s as p ON m.post_id = p.ID WHERE ( p.post_type = \'product\' ) AND ( m.meta_key IN ( \'_product_image_gallery\', \'_thumbnail_id\' ) ) GROUP BY m.post_id, m.meta_id ORDER BY m.post_id', $wpdb->postmeta, $wpdb->posts );
269
  $results = $wpdb->get_results( $query );
270
  //error_log( 'Woo_Fixit::_build_product_attachments() $results = ' . var_export( $results, true ), 0 );
290
  if ( ( $lower_bound > $result->post_id ) || ( $upper_bound < $result->post_id ) ) {
291
  continue;
292
  }
293
+
294
  self::$product_attachments[ $result->post_id ][ $result->meta_key ] = trim( $result->meta_value );
295
+
296
  if ( '_thumbnail_id' == $result->meta_key ) {
297
  $key = (integer) $result->meta_value;
298
  if ( isset( self::$attachment_products[ $key ] ) ) {
324
  */
325
  private static function _clear_title() {
326
  global $wpdb;
327
+
328
  $results = $wpdb->query( "UPDATE {$wpdb->posts} SET post_title = '' WHERE post_type = 'attachment'" );
329
  return "<br>_clear_title() performed {$results} update(s).\n";
330
  } // _clear_title
338
  */
339
  private static function _fill_title() {
340
  global $wpdb;
341
+
342
  $query = sprintf( 'SELECT m.post_id, m.meta_value FROM %1$s as m INNER JOIN %2$s as p ON m.post_id = p.ID WHERE ( p.post_title = \'\' ) AND ( p.post_type = \'attachment\' ) AND ( m.meta_key IN ( \'_wp_attached_file\' ) )', $wpdb->postmeta, $wpdb->posts );
343
  $results = $wpdb->get_results( $query );
344
+
345
  $update_count = 0;
346
  $select_bits = '';
347
  $where_bits = array();
351
  $new_title = str_replace( array( '-', '_', '.' ), ' ', $path_info['filename'] );
352
  $select_bits .= " WHEN ID = {$result->post_id} THEN '{$new_title}'";
353
  $where_bits[] = $result->post_id;
354
+
355
  /*
356
  * Run an update when the chunk is full
357
  */
365
  $chunk_count = 0;
366
  }
367
  }
368
+
369
  /*
370
  * Run a final update if the chunk is partially filled
371
  */
388
  */
389
  private static function _replace_title() {
390
  global $wpdb;
391
+
392
  $query = sprintf( 'SELECT m.post_id, m.meta_value FROM %1$s as m INNER JOIN %2$s as p ON m.post_id = p.ID WHERE ( p.post_mime_type LIKE \'%3$s\' ) AND ( p.post_type = \'attachment\' ) AND ( m.meta_key IN ( \'_wp_attached_file\' ) )', $wpdb->postmeta, $wpdb->posts, 'image/%' );
393
  $results = $wpdb->get_results( $query );
394
+
395
  $update_count = 0;
396
  $select_bits = '';
397
  $where_bits = array();
401
  $new_title = str_replace( array( '-', '_', '.' ), ' ', $path_info['filename'] );
402
  $select_bits .= " WHEN ID = {$result->post_id} THEN '{$new_title}'";
403
  $where_bits[] = $result->post_id;
404
+
405
  /*
406
  * Run an update when the chunk is full
407
  */
415
  $chunk_count = 0;
416
  }
417
  }
418
+
419
  /*
420
  * Run a final update if the chunk is partially filled
421
  */
438
  */
439
  private static function _clear_alt_text() {
440
  global $wpdb;
441
+
442
  self::_build_product_attachments();
443
  ksort( self::$attachment_products );
444
  $update_count = 0;
448
  $query_result = $wpdb->query( $delete_query );
449
  $update_count += $query_result;
450
  }
451
+
452
  return "<br>_clear_alt_text() performed {$update_count} delete(s).\n";
453
  } // _clear_alt_text
454
 
461
  */
462
  private static function _fill_alt_text() {
463
  global $wpdb;
464
+
465
  self::_build_product_attachments();
466
  $delete_count = 0;
467
  $insert_count = 0;
499
  if ( ! empty( $value['_thumbnail_id'] ) ) {
500
  $attachment_values[ $value['_thumbnail_id'] ] = $product_terms[ $key ]['name'];
501
  }
502
+
503
  if ( ! empty( $value['_product_image_gallery'] ) ) {
504
  $ids = explode( ',', $value['_product_image_gallery'] );
505
  foreach( $ids as $id ) {
522
  }
523
  unset( $attachment_values[ (integer) $existing_value->post_id ] );
524
  }
525
+
526
  /*
527
  * Delete empty ALT Text values
528
  */
532
  $query_result = $wpdb->query( $delete_query );
533
  $delete_count += $query_result;
534
  }
535
+
536
  /*
537
  * Insert the new values
538
  */
543
  $insert_count += $query_result;
544
  }
545
  }
546
+
547
  return "<br>_fill_alt_text() performed {$delete_count} delete(s), {$insert_count} inserts(s).\n";
548
  } // _fill_alt_text
549
 
556
  */
557
  private static function _replace_alt_text() {
558
  global $wpdb;
559
+
560
  self::_build_product_attachments();
561
  $delete_count = 0;
562
  $insert_count = 0;
590
  if ( isset( $value['_thumbnail_id'] ) ) {
591
  $attachment_values[ $value['_thumbnail_id'] ] = $product_terms[ $key ]['name'];
592
  }
593
+
594
  if ( ! empty( $value['_product_image_gallery'] ) ) {
595
  $ids = explode( ',', $value['_product_image_gallery'] );
596
  foreach( $ids as $id ) {
606
  $delete_query = "DELETE FROM {$wpdb->postmeta} WHERE ( post_id IN ( {$keys} ) ) AND ( meta_key = '_wp_attachment_image_alt' )";
607
  $query_result = $wpdb->query( $delete_query );
608
  $delete_count += $query_result;
609
+
610
  /*
611
  * Insert the new values
612
  */
617
  $insert_count += $query_result;
618
  }
619
  }
620
+
621
  return "<br>_replace_alt_text() performed {$delete_count} delete(s), {$insert_count} inserts(s).\n";
622
  } // _replace_alt_text
623
 
630
  */
631
  private static function _remove_feature() {
632
  global $wpdb;
633
+
634
  self::_build_product_attachments();
635
 
636
  $update_count = 0;
641
  if ( empty( $result['_thumbnail_id'] ) ) {
642
  continue;
643
  }
644
+
645
  $feature = (integer) $result['_thumbnail_id'];
646
  $gallery = array();
647
  $feature_found = false;
648
+
649
  if ( ! empty( $result['_product_image_gallery'] ) ) {
650
  foreach ( explode( ',', $result['_product_image_gallery'] ) as $item ) {
651
  if ( $feature == (integer) $item ) {
655
  }
656
  } // foreach gallery item
657
  }
658
+
659
  if ( $feature_found ) {
660
  $new_gallery = implode( ',', $gallery );
661
  $select_bits .= " WHEN post_id = {$post_id} THEN '{$new_gallery}'";
662
  $where_bits[] = $post_id;
663
+
664
  /*
665
  * Run an update when the chunk is full
666
  */
675
  }
676
  } // feature removed
677
  } // foreach product
678
+
679
  /*
680
  * Run a final update if the chunk is partially filled
681
  */
698
  */
699
  private static function _restore_feature() {
700
  global $wpdb;
701
+
702
  self::_build_product_attachments();
703
 
704
  $update_count = 0;
709
  if ( empty( $result['_thumbnail_id'] ) ) {
710
  continue;
711
  }
712
+
713
  $feature = (integer) $result['_thumbnail_id'];
714
  $gallery = array();
715
  $feature_found = false;
722
  }
723
  } // foreach gallery item
724
  }
725
+
726
  if ( ! $feature_found ) {
727
  if ( count( $gallery ) ) {
728
  $new_gallery = implode( ',', $gallery ) . ',' . $feature;
729
  } else {
730
  $new_gallery = (string) $feature;
731
  }
732
+
733
  $select_bits .= " WHEN post_id = {$post_id} THEN '{$new_gallery}'";
734
  $where_bits[] = $post_id;
735
+
736
  /*
737
  * Run an update when the chunk is full
738
  */
747
  }
748
  } // feature restored
749
  } // foreach product
750
+
751
  /*
752
  * Run a final update if the chunk is partially filled
753
  */
770
  */
771
  private static function _reverse_gallery() {
772
  global $wpdb;
773
+
774
  self::_build_product_attachments();
775
 
776
  $update_count = 0;
783
  } else {
784
  $gallery = explode( ',', $result['_product_image_gallery'] );
785
  }
786
+
787
  if ( 1 < count( $gallery ) ) {
788
  $new_gallery = implode( ',', array_reverse( $gallery ) );
789
  $select_bits .= " WHEN post_id = {$post_id} THEN '{$new_gallery}'";
790
  $where_bits[] = $post_id;
791
+
792
  /*
793
  * Run an update when the chunk is full
794
  */
803
  }
804
  } // gallery reversed
805
  } // foreach product
806
+
807
  /*
808
  * Run a final update if the chunk is partially filled
809
  */
875
  */
876
  private static function _update_product_tags( $action ) {
877
  global $wpdb;
878
+
879
  self::_build_product_attachments();
880
 
881
  $update_count = 0;
896
  if ( count( $products ) == 0 ) {
897
  continue;
898
  }
899
+
900
  switch ( $action ) {
901
  case 'clear':
902
  case 'fill':
904
  $ids = implode( ',', array_keys( $products ) );
905
  $query = sprintf( 'SELECT DISTINCT tr.object_id FROM %1$s as tr INNER JOIN %2$s as tt ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE ( tr.object_id IN ( %3$s ) AND tt.taxonomy = \'product_tag\' ) ', $wpdb->term_relationships, $wpdb->term_taxonomy, $ids );
906
  $assignments = $wpdb->get_col( $query );
907
+
908
  if ( 'clear' == $action ) {
909
  foreach ( $assignments as $assignment ) {
910
  wp_delete_object_term_relationships( $assignment, 'product_tag' );
913
  } else {
914
  // Find the products that have no assignments
915
  $assignments = array_diff_key( $products, array_flip( $assignments ) );
916
+
917
  foreach ( $assignments as $product_id => $assignment ) {
918
  $attachment_tags = wp_get_object_terms( $assignment, 'attachment_tag', array( 'orderby' => 'none', 'fields' => 'names' ) );
919
+
920
  if ( ! empty( $attachment_tags ) ) {
921
  $term_taxonomy_ids = wp_set_object_terms( $product_id, $attachment_tags, 'product_tag' );
922
  $terms_added += count( $term_taxonomy_ids );
929
  case 'replace':
930
  foreach ( $products as $product_id => $assignment ) {
931
  $attachment_tags = wp_get_object_terms( $assignment, 'attachment_tag', array( 'orderby' => 'none', 'fields' => 'names' ) );
932
+
933
  if ( 'append' == $action ) {
934
  if ( ! empty( $attachment_tags ) ) {
935
  $old_term_taxonomy_ids = wp_get_object_terms( $product_id, 'product_tag', array( 'orderby' => 'none', 'fields' => 'tt_ids' ) );
950
  }
951
  } else {
952
  $term_taxonomy_ids = wp_get_object_terms( $product_id, 'product_tag', array( 'orderby' => 'none', 'fields' => 'tt_ids' ) );
953
+
954
  $old_terms = count( $term_taxonomy_ids );
955
  if ( 0 < $old_terms ) {
956
  $terms_removed += $old_terms;
962
  } // each assignment
963
  } // action
964
  } // each chunk
965
+
966
  switch ( $action ) {
967
  case 'clear':
968
  return "<br>_clear_product_categories() cleared {$update_count} Product(s).\n";
976
  case 'replace':
977
  return "<br>_replace_product_categories() replaced {$terms_added} term(s) in {$update_count} Product(s), and deleted {$terms_removed} term(s) from {$delete_count} Product(s).\n";
978
  }
979
+
980
  return "<br>Unknown _update_product_categories action: {$action}";
981
  } // _update_product_categories
982
 
1038
  */
1039
  private static function _update_product_categories( $action ) {
1040
  global $wpdb;
1041
+
1042
  self::_build_product_attachments();
1043
 
1044
  if ( 'clear' != $action ) {
1066
  if ( count( $products ) == 0 ) {
1067
  continue;
1068
  }
1069
+
1070
  switch ( $action ) {
1071
  case 'clear':
1072
  case 'fill':
1074
  $ids = implode( ',', array_keys( $products ) );
1075
  $query = sprintf( 'SELECT DISTINCT tr.object_id FROM %1$s as tr INNER JOIN %2$s as tt ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE ( tr.object_id IN ( %3$s ) AND tt.taxonomy = \'product_cat\' ) ', $wpdb->term_relationships, $wpdb->term_taxonomy, $ids );
1076
  $assignments = $wpdb->get_col( $query );
1077
+
1078
  if ( 'clear' == $action ) {
1079
  foreach ( $assignments as $assignment ) {
1080
  wp_delete_object_term_relationships( $assignment, 'product_cat' );
1083
  } else {
1084
  // Find the products that have no assignments
1085
  $assignments = array_diff_key( $products, array_flip( $assignments ) );
1086
+
1087
  foreach ( $assignments as $product_id => $assignment ) {
1088
  $attachment_tags = wp_get_object_terms( $assignment, 'attachment_tag', array( 'orderby' => 'none', 'fields' => 'names' ) );
1089
  $common_terms = array_keys( array_intersect( $product_categories, $attachment_tags ) );
1090
+
1091
  if ( ! empty( $common_terms ) ) {
1092
  $term_taxonomy_ids = wp_set_object_terms( $product_id, $common_terms, 'product_cat' );
1093
  $terms_added += count( $term_taxonomy_ids );
1101
  foreach ( $products as $product_id => $assignment ) {
1102
  $attachment_tags = wp_get_object_terms( $assignment, 'attachment_tag', array( 'orderby' => 'none', 'fields' => 'names' ) );
1103
  $common_terms = array_keys( array_intersect( $product_categories, $attachment_tags ) );
1104
+
1105
  if ( 'append' == $action ) {
1106
  if ( ! empty( $common_terms ) ) {
1107
  $old_term_taxonomy_ids = wp_get_object_terms( $product_id, 'product_cat', array( 'orderby' => 'none', 'fields' => 'tt_ids' ) );
1122
  }
1123
  } else {
1124
  $term_taxonomy_ids = wp_get_object_terms( $product_id, 'product_cat', array( 'orderby' => 'none', 'fields' => 'tt_ids' ) );
1125
+
1126
  $old_terms = count( $term_taxonomy_ids );
1127
  if ( 0 < $old_terms ) {
1128
  $terms_removed += $old_terms;
1134
  } // each assignment
1135
  } // action
1136
  } // each chunk
1137
+
1138
  switch ( $action ) {
1139
  case 'clear':
1140
  return "<br>_clear_product_categories() cleared {$update_count} Product(s).\n";
1148
  case 'replace':
1149
  return "<br>_replace_product_categories() replaced {$terms_added} term(s) in {$update_count} Product(s), and deleted {$terms_removed} term(s) from {$delete_count} Product(s).\n";
1150
  }
1151
+
1152
  return "<br>Unknown _update_product_categories action: {$action}";
1153
  } // _update_product_categories
1154
 
1161
  */
1162
  private static function _clear_attachment_categories() {
1163
  global $wpdb;
1164
+
1165
  $update_count = 0;
1166
  $offset = 0;
1167
  $limit = 25;
1168
+
1169
  do {
1170
  // Select a chunk of attachment IDs
1171
  $query = sprintf( 'SELECT p.ID FROM %1$s as p WHERE ( p.post_type = \'attachment\' ) ORDER BY p.ID LIMIT %2$d, %3$d', $wpdb->posts, $offset, $limit );
1184
  } else {
1185
  $results = array();
1186
  }
1187
+
1188
  $offset += $limit;
1189
  } while ( count( $results ) == $limit );
1190
+
1191
  return "<br>_clear_attachment_categories() cleared {$update_count} items(s).\n";
1192
  } // _clear_attachment_categories
1193
 
1201
  */
1202
  private static function _fill_attachment_categories() {
1203
  global $wpdb;
1204
+
1205
  // Get the array of the Att. Category term objects for comparison
1206
  $attachment_categories = get_terms( 'attachment_category', array( 'orderby' => 'none', 'hide_empty' => 0, 'fields' => 'id=>name' ) );
1207
 
1209
  $terms_added = 0;
1210
  $offset = 0;
1211
  $limit = 25;
1212
+
1213
  do {
1214
  // Select a chunk of attachment IDs
1215
  $query = sprintf( 'SELECT p.ID FROM %1$s as p WHERE ( p.post_type = \'attachment\' ) ORDER BY p.ID LIMIT %2$d, %3$d', $wpdb->posts, $offset, $limit );
1220
  $ids = implode( ',', $results );
1221
  $query = sprintf( 'SELECT DISTINCT tr.object_id FROM %1$s as tr INNER JOIN %2$s as tt ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE ( tr.object_id IN ( %3$s ) AND tt.taxonomy = \'attachment_category\' ) ', $wpdb->term_relationships, $wpdb->term_taxonomy, $ids );
1222
  $assignments = $wpdb->get_col( $query );
1223
+
1224
  // find the attachments that have no assignments
1225
  $assignments = array_diff( $results, $assignments );
1226
 
1236
  } else {
1237
  $results = array();
1238
  }
1239
+
1240
  $offset += $limit;
1241
  } while ( count( $results ) == $limit );
1242
 
1253
  */
1254
  private static function _append_attachment_categories() {
1255
  global $wpdb;
1256
+
1257
  // Get the array of the Att. Category term objects for comparison
1258
  $attachment_categories = get_terms( 'attachment_category', array( 'orderby' => 'none', 'hide_empty' => 0, 'fields' => 'id=>name' ) );
1259
 
1261
  $terms_added = 0;
1262
  $offset = 0;
1263
  $limit = 25;
1264
+
1265
  do {
1266
  // Select a chunk of attachment IDs
1267
  $query = sprintf( 'SELECT p.ID FROM %1$s as p WHERE ( p.post_type = \'attachment\' ) ORDER BY p.ID LIMIT %2$d, %3$d', $wpdb->posts, $offset, $limit );
1272
  $ids = implode( ',', $results );
1273
  $query = sprintf( 'SELECT DISTINCT tr.object_id FROM %1$s as tr INNER JOIN %2$s as tt ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE ( tr.object_id IN ( %3$s ) AND tt.taxonomy = \'attachment_tag\' ) ', $wpdb->term_relationships, $wpdb->term_taxonomy, $ids );
1274
  $assignments = $wpdb->get_col( $query );
1275
+
1276
  foreach ( $assignments as $assignment ) {
1277
  $attachment_tags = wp_get_object_terms( $assignment, 'attachment_tag', array( 'orderby' => 'none', 'fields' => 'names' ) );
1278
  $common_terms = array_keys( array_intersect( $attachment_categories, $attachment_tags ) );
1290
  } else {
1291
  $results = array();
1292
  }
1293
+
1294
  $offset += $limit;
1295
  } while ( count( $results ) == $limit );
1296
 
1307
  */
1308
  private static function _replace_attachment_categories() {
1309
  global $wpdb;
1310
+
1311
  // Get the array of the Att. Category term objects for comparison
1312
  $attachment_categories = get_terms( 'attachment_category', array( 'orderby' => 'none', 'hide_empty' => 0, 'fields' => 'id=>name' ) );
1313
 
1318
 
1319
  $offset = 0;
1320
  $limit = 25;
1321
+
1322
  do {
1323
  // Select a chunk of attachment IDs
1324
  $query = sprintf( 'SELECT p.ID FROM %1$s as p WHERE ( p.post_type = \'attachment\' ) ORDER BY p.ID LIMIT %2$d, %3$d', $wpdb->posts, $offset, $limit );
1349
  } else {
1350
  $results = array();
1351
  }
1352
+
1353
  $offset += $limit;
1354
  } while ( count( $results ) == $limit );
1355
 
images/DonateButton.jpg DELETED
Binary file
includes/class-mla-data.php CHANGED
@@ -17,17 +17,17 @@
17
  */
18
  class MLAData {
19
  /**
20
- * Provides a unique suffix for the ALT Text/custom field SQL View
21
  *
22
- * The SQL View is used to sort the Media/Assistant submenu table on
23
- * ALT Text and custom field columns.
24
  *
25
  * @since 0.40
26
  */
27
  const MLA_ALT_TEXT_VIEW_SUFFIX = 'alt_text_view';
28
 
29
  /**
30
- * Provides a unique name for the ALT Text/custom field SQL View
31
  *
32
  * @since 0.40
33
  *
@@ -35,6 +35,44 @@ class MLAData {
35
  */
36
  private static $mla_alt_text_view = NULL;
37
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
  /**
39
  * WordPress version test for $wpdb->esc_like() Vs esc_sql()
40
  *
@@ -51,7 +89,10 @@ class MLAData {
51
  */
52
  public static function initialize() {
53
  global $table_prefix;
 
54
  self::$mla_alt_text_view = $table_prefix . MLA_OPTION_PREFIX . self::MLA_ALT_TEXT_VIEW_SUFFIX;
 
 
55
  self::$wp_4dot0_plus = version_compare( get_bloginfo('version'), '4.0', '>=' );
56
 
57
  add_action( 'save_post', 'MLAData::mla_save_post_action', 10, 1);
@@ -889,7 +930,7 @@ class MLAData {
889
 
890
  $index++;
891
  } else { // backslash
892
- if ( $delimiter == $byte || ',' == $byte ) {
893
  break;
894
  }
895
 
@@ -926,6 +967,10 @@ class MLAData {
926
  * date "Returns a string formatted according to the given format string using the given integer"
927
  */
928
  $format = empty( $args['args'] ) ? 'd/m/Y H:i:s' : $args['args'];
 
 
 
 
929
  $value = date( $format , (integer) $value );
930
  } elseif ( 'date' == $args['format'] ) {
931
  /*
@@ -935,6 +980,10 @@ class MLAData {
935
  $format = empty( $args['args'] ) ? 'd/m/Y H:i:s' : $args['args'];
936
  $timestamp = strtotime( $value );
937
  if( false !== $timestamp ) {
 
 
 
 
938
  $value = date( $format, $timestamp );
939
  }
940
  } elseif ( 'fraction' == $args['format'] ) {
@@ -1521,8 +1570,9 @@ class MLAData {
1521
  * The parameters are set up in the _prepare_list_table_query function, and
1522
  * any further logic required to translate those values is contained in the filters.
1523
  *
1524
- * Array index values are: use_postmeta_view, postmeta_key, postmeta_value, patterns,
1525
- * detached, orderby, order, mla-metavalue, debug (also in search_parameters)
 
1526
  *
1527
  * @since 0.30
1528
  *
@@ -1785,7 +1835,7 @@ class MLAData {
1785
  /*
1786
  * Pass query and search parameters to the filters for _execute_list_table_query
1787
  */
1788
- self::$query_parameters = array( 'use_postmeta_view' => false, 'orderby' => $clean_request['orderby'], 'order' => $clean_request['order'] );
1789
  self::$query_parameters['detached'] = isset( $clean_request['detached'] ) ? $clean_request['detached'] : NULL;
1790
  self::$search_parameters = array( 'debug' => 'none' );
1791
 
@@ -1846,8 +1896,7 @@ class MLAData {
1846
  self::$search_parameters['exact'] = isset( $clean_request['exact'] );
1847
 
1848
  if ( in_array( 'alt-text', self::$search_parameters['mla_search_fields'] ) ) {
1849
- self::$query_parameters['use_postmeta_view'] = true;
1850
- self::$query_parameters['postmeta_key'] = '_wp_attachment_image_alt';
1851
  }
1852
 
1853
  if ( in_array( 'terms', self::$search_parameters['mla_search_fields'] ) ) {
@@ -1868,7 +1917,7 @@ class MLAData {
1868
  if ( 'c_' == substr( $clean_request['orderby'], 0, 2 ) ) {
1869
  $option_value = MLAOptions::mla_custom_field_option_value( $clean_request['orderby'] );
1870
  if ( isset( $option_value['name'] ) ) {
1871
- self::$query_parameters['use_postmeta_view'] = true;
1872
  self::$query_parameters['postmeta_key'] = $option_value['name'];
1873
 
1874
  if ( isset($clean_request['orderby']) ) {
@@ -1885,8 +1934,7 @@ class MLAData {
1885
  * '_wp_attachment_image_alt' is special; we'll handle it in the JOIN and ORDERBY filters
1886
  */
1887
  case '_wp_attachment_image_alt':
1888
- self::$query_parameters['use_postmeta_view'] = true;
1889
- self::$query_parameters['postmeta_key'] = '_wp_attachment_image_alt';
1890
  if ( isset($clean_request['orderby']) ) {
1891
  unset($clean_request['orderby']);
1892
  }
@@ -1991,18 +2039,48 @@ class MLAData {
1991
  global $wpdb;
1992
 
1993
  /*
1994
- * Custom fields are special; we have to use an SQL VIEW to build
1995
- * an intermediate table and modify the JOIN to include posts
1996
- * with no value for the metadata field.
1997
  */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1998
  if ( self::$query_parameters['use_postmeta_view'] ) {
1999
- $view_name = self::$mla_alt_text_view;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2000
  $key_name = self::$query_parameters['postmeta_key'];
2001
  $table_name = $wpdb->postmeta;
2002
 
2003
  $result = $wpdb->query(
2004
  "
2005
- CREATE OR REPLACE VIEW {$view_name} AS
2006
  SELECT post_id, meta_value
2007
  FROM {$table_name}
2008
  WHERE {$table_name}.meta_key = '{$key_name}'
@@ -2060,8 +2138,16 @@ class MLAData {
2060
  remove_filter( 'posts_where', 'MLAData::mla_query_posts_where_filter' );
2061
  remove_filter( 'posts_search', 'MLAData::mla_query_posts_search_filter' );
2062
 
 
 
 
 
2063
  if ( self::$query_parameters['use_postmeta_view'] ) {
2064
- $result = $wpdb->query( "DROP VIEW {$view_name}" );
 
 
 
 
2065
  }
2066
 
2067
  return $results;
@@ -2295,24 +2381,26 @@ class MLAData {
2295
  if ( isset( self::$search_parameters['s'] ) ) {
2296
 
2297
  // WordPress v3.7 says: there are no line breaks in <input /> fields
2298
- $keyword_string = str_replace( array( "\r", "\n" ), '', self::$search_parameters['s'] );
2299
  $is_wildcard_search = self::_wildcard_search_string( $keyword_string );
2300
 
2301
- /*
2302
- * Interpret a numeric value as the ID of a specific attachment or the ID of
2303
- * a parent post/page; add it to the regular text-based search.
2304
- */
2305
- if ( is_numeric( $keyword_string ) ) {
2306
- $id = absint( $keyword_string );
2307
- $numeric_clause = '( ( ' . $wpdb->posts . '.ID = ' . $id . ' ) OR ( ' . $wpdb->posts . '.post_parent = ' . $id . ' ) ) OR ';
2308
- }
2309
-
2310
  if ( $is_wildcard_search || self::$search_parameters['sentence'] || self::$search_parameters['exact'] ) {
2311
  $keyword_array = array( $keyword_string );
2312
  } else {
2313
  // v3.6.1 was '/".*?("|$)|((?<=[\r\n\t ",+])|^)[^\r\n\t ",+]+/'
2314
  preg_match_all('/".*?("|$)|((?<=[\t ",+])|^)[^\t ",+]+/', $keyword_string, $matches);
2315
  $keyword_array = array_map( 'MLAData::mla_search_terms_tidy', $matches[0]);
 
 
 
 
 
 
 
 
 
 
 
2316
  }
2317
 
2318
  $fields = self::$search_parameters['mla_search_fields'];
@@ -2435,7 +2523,7 @@ class MLAData {
2435
  * If "Terms" is the only field and no terms are present,
2436
  * the search must fail.
2437
  */
2438
- if ( array( 'terms' ) == $fields ) {
2439
  $tax_clause = '1=0';
2440
  }
2441
  } else {
@@ -2519,7 +2607,7 @@ class MLAData {
2519
  * Matching a NULL meta value
2520
  */
2521
  if ( array_key_exists( 'postmeta_value', self::$query_parameters ) && NULL == self::$query_parameters['postmeta_value'] ) {
2522
- $where_clause .= ' AND ' . self::$mla_alt_text_view . '.meta_value IS NULL';
2523
  }
2524
 
2525
  /*
@@ -2573,12 +2661,31 @@ class MLAData {
2573
  }
2574
 
2575
  /*
2576
- * '_wp_attachment_image_alt' is special; we have to use an SQL VIEW to
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2577
  * build an intermediate table and modify the JOIN to include posts with
2578
  * no value for this metadata field.
2579
  */
2580
- if ( self::$query_parameters['use_postmeta_view'] ) {
2581
- $join_clause .= sprintf( ' LEFT JOIN %1$s ON (%2$s.ID = %1$s.post_id)', self::$mla_alt_text_view, $wpdb->posts );
 
 
2582
  }
2583
 
2584
  if ( isset( self::$search_parameters['tax_terms_count'] ) ) {
@@ -2618,7 +2725,8 @@ class MLAData {
2618
  public static function mla_query_posts_groupby_filter( $groupby_clause ) {
2619
  global $wpdb;
2620
 
2621
- if ( ( isset( self::$query_parameters['use_postmeta_view'] ) && self::$query_parameters['use_postmeta_view'] ) || isset( self::$search_parameters['tax_terms_count'] ) ) {
 
2622
  $groupby_clause = "{$wpdb->posts}.ID";
2623
  }
2624
 
@@ -2646,7 +2754,7 @@ class MLAData {
2646
 
2647
  if ( isset( self::$query_parameters['orderby'] ) ) {
2648
  if ( 'c_' == substr( self::$query_parameters['orderby'], 0, 2 ) ) {
2649
- $orderby = self::$mla_alt_text_view . '.meta_value';
2650
  } /* custom field sort */ else {
2651
  switch ( self::$query_parameters['orderby'] ) {
2652
  case 'none':
@@ -2678,7 +2786,7 @@ class MLAData {
2678
  * use the view we prepared to get attachments with no meta data value
2679
  */
2680
  case '_wp_attachment_image_alt':
2681
- $orderby = self::$mla_alt_text_view . '.meta_value';
2682
  break;
2683
  default:
2684
  $orderby = $wpdb->posts . '.' . self::$query_parameters['orderby'];
@@ -3071,7 +3179,6 @@ class MLAData {
3071
  } // $option
3072
  } // is_array
3073
 
3074
- // return sanitize_text_field( self::_bin_to_utf8( $haystack ) ); changed in MLA v2.14
3075
  return self::_bin_to_utf8( $haystack );
3076
  } // mla_find_array_element
3077
 
@@ -4336,19 +4443,31 @@ class MLAData {
4336
  */
4337
  if ( ! isset( $results['Title'] ) ) {
4338
  if ( isset( $namespace_arrays['dc'] ) && isset( $namespace_arrays['dc']['title'] ) ) {
4339
- $results['Title'] = implode( ',', $namespace_arrays['dc']['title'] );
 
 
 
 
4340
  }
4341
  }
4342
 
4343
  if ( ! isset( $results['Author'] ) ) {
4344
  if ( isset( $namespace_arrays['dc'] ) && isset( $namespace_arrays['dc']['creator'] ) ) {
4345
- $results['Author'] = implode( ',', $namespace_arrays['dc']['creator'] );
 
 
 
 
4346
  }
4347
  }
4348
 
4349
  if ( ! isset( $results['Subject'] ) ) {
4350
  if ( isset( $namespace_arrays['dc'] ) && isset( $namespace_arrays['dc']['description'] ) ) {
4351
- $results['Subject'] = implode( ',', $namespace_arrays['dc']['description'] );
 
 
 
 
4352
  }
4353
  }
4354
 
@@ -4808,16 +4927,16 @@ class MLAData {
4808
  * @var array
4809
  */
4810
  private static $mla_iptc_formats = array(
4811
- 00 => "No ObjectData",
4812
- 01 => "IPTC-NAA Digital Newsphoto Parameter Record",
4813
- 02 => "IPTC7901 Recommended Message Format",
4814
- 03 => "Tagged Image File Format (Adobe/Aldus Image data)",
4815
- 04 => "Illustrator (Adobe Graphics data)",
4816
- 05 => "AppleSingle (Apple Computer Inc)",
4817
- 06 => "NAA 89-3 (ANPA 1312)",
4818
- 07 => "MacBinary II",
4819
- 08 => "IPTC Unstructured Character Oriented File Format (UCOFF)",
4820
- 09 => "United Press International ANPA 1312 variant",
4821
  10 => "United Press International Down-Load Message",
4822
  11 => "JPEG File Interchange (JFIF)",
4823
  12 => "Photo-CD Image-Pac (Eastman Kodak)",
@@ -5885,6 +6004,11 @@ class MLAData {
5885
  );
5886
  }
5887
 
 
 
 
 
 
5888
  $message = '';
5889
  $updates = array( 'ID' => $post_id );
5890
  $new_data = stripslashes_deep( $new_data );
@@ -6134,7 +6258,16 @@ class MLAData {
6134
  self::mla_fetch_attachment_metadata( -1 );
6135
  self::mla_fetch_attachment_references( -1, 0 );
6136
 
6137
- if ( wp_update_post( $updates ) ) {
 
 
 
 
 
 
 
 
 
6138
  /* translators: 1: post ID */
6139
  $final_message = sprintf( __( 'Item %1$d updated.', 'media-library-assistant' ), $post_id );
6140
  /*
17
  */
18
  class MLAData {
19
  /**
20
+ * Provides a unique suffix for the ALT Text "Search Media" SQL View
21
  *
22
+ * The SQL View is used to filter the Media/Assistant submenu table by
23
+ * ALT Text with the Search Media text box.
24
  *
25
  * @since 0.40
26
  */
27
  const MLA_ALT_TEXT_VIEW_SUFFIX = 'alt_text_view';
28
 
29
  /**
30
+ * Provides a unique name for the ALT Text "Search Media" SQL View
31
  *
32
  * @since 0.40
33
  *
35
  */
36
  private static $mla_alt_text_view = NULL;
37
 
38
+ /**
39
+ * Provides a unique suffix for the custom field "orderby" SQL View
40
+ *
41
+ * The SQL View is used to sort the Media/Assistant submenu table on
42
+ * ALT Text and custom field columns.
43
+ *
44
+ * @since 2.15
45
+ */
46
+ const MLA_ORDERBY_VIEW_SUFFIX = 'orderby_view';
47
+
48
+ /**
49
+ * Provides a unique name for the custom field "orderby" SQL View
50
+ *
51
+ * @since 2.15
52
+ *
53
+ * @var array
54
+ */
55
+ private static $mla_orderby_view = NULL;
56
+
57
+ /**
58
+ * Provides a unique suffix for the "Table View custom:" SQL View
59
+ *
60
+ * The SQL View is used to filter the Media/Assistant submenu table on
61
+ * custom field Table Views.
62
+ *
63
+ * @since 2.15
64
+ */
65
+ const MLA_TABLE_VIEW_CUSTOM_SUFFIX = 'table_view_custom';
66
+
67
+ /**
68
+ * Provides a unique name for the "Table View custom:" SQL View
69
+ *
70
+ * @since 2.15
71
+ *
72
+ * @var array
73
+ */
74
+ private static $mla_table_view_custom = NULL;
75
+
76
  /**
77
  * WordPress version test for $wpdb->esc_like() Vs esc_sql()
78
  *
89
  */
90
  public static function initialize() {
91
  global $table_prefix;
92
+
93
  self::$mla_alt_text_view = $table_prefix . MLA_OPTION_PREFIX . self::MLA_ALT_TEXT_VIEW_SUFFIX;
94
+ self::$mla_orderby_view = $table_prefix . MLA_OPTION_PREFIX . self::MLA_ORDERBY_VIEW_SUFFIX;
95
+ self::$mla_table_view_custom = $table_prefix . MLA_OPTION_PREFIX . self::MLA_TABLE_VIEW_CUSTOM_SUFFIX;
96
  self::$wp_4dot0_plus = version_compare( get_bloginfo('version'), '4.0', '>=' );
97
 
98
  add_action( 'save_post', 'MLAData::mla_save_post_action', 10, 1);
930
 
931
  $index++;
932
  } else { // backslash
933
+ if ( $delimiter == $byte || ( empty( $delimiter ) && ',' == $byte ) ) {
934
  break;
935
  }
936
 
967
  * date "Returns a string formatted according to the given format string using the given integer"
968
  */
969
  $format = empty( $args['args'] ) ? 'd/m/Y H:i:s' : $args['args'];
970
+ if ( is_array( $format ) ) {
971
+ $format = $format[0];
972
+ }
973
+
974
  $value = date( $format , (integer) $value );
975
  } elseif ( 'date' == $args['format'] ) {
976
  /*
980
  $format = empty( $args['args'] ) ? 'd/m/Y H:i:s' : $args['args'];
981
  $timestamp = strtotime( $value );
982
  if( false !== $timestamp ) {
983
+ if ( is_array( $format ) ) {
984
+ $format = $format[0];
985
+ }
986
+
987
  $value = date( $format, $timestamp );
988
  }
989
  } elseif ( 'fraction' == $args['format'] ) {
1570
  * The parameters are set up in the _prepare_list_table_query function, and
1571
  * any further logic required to translate those values is contained in the filters.
1572
  *
1573
+ * Array index values are: use_alt_text_view, use_postmeta_view, use_orderby_view,
1574
+ * alt_text_value, postmeta_key, postmeta_value, patterns, detached,
1575
+ * orderby, order, mla-metavalue, debug (also in search_parameters)
1576
  *
1577
  * @since 0.30
1578
  *
1835
  /*
1836
  * Pass query and search parameters to the filters for _execute_list_table_query
1837
  */
1838
+ self::$query_parameters = array( 'use_alt_text_view' => false, 'use_postmeta_view' => false, 'use_orderby_view' => false, 'orderby' => $clean_request['orderby'], 'order' => $clean_request['order'] );
1839
  self::$query_parameters['detached'] = isset( $clean_request['detached'] ) ? $clean_request['detached'] : NULL;
1840
  self::$search_parameters = array( 'debug' => 'none' );
1841
 
1896
  self::$search_parameters['exact'] = isset( $clean_request['exact'] );
1897
 
1898
  if ( in_array( 'alt-text', self::$search_parameters['mla_search_fields'] ) ) {
1899
+ self::$query_parameters['use_alt_text_view'] = true;
 
1900
  }
1901
 
1902
  if ( in_array( 'terms', self::$search_parameters['mla_search_fields'] ) ) {
1917
  if ( 'c_' == substr( $clean_request['orderby'], 0, 2 ) ) {
1918
  $option_value = MLAOptions::mla_custom_field_option_value( $clean_request['orderby'] );
1919
  if ( isset( $option_value['name'] ) ) {
1920
+ self::$query_parameters['use_orderby_view'] = true;
1921
  self::$query_parameters['postmeta_key'] = $option_value['name'];
1922
 
1923
  if ( isset($clean_request['orderby']) ) {
1934
  * '_wp_attachment_image_alt' is special; we'll handle it in the JOIN and ORDERBY filters
1935
  */
1936
  case '_wp_attachment_image_alt':
1937
+ self::$query_parameters['use_orderby_view'] = true;
 
1938
  if ( isset($clean_request['orderby']) ) {
1939
  unset($clean_request['orderby']);
1940
  }
2039
  global $wpdb;
2040
 
2041
  /*
2042
+ * ALT Text searches, custom field Table Views and custom field sorts are
2043
+ * special; we have to use an SQL VIEW to build an intermediate table and
2044
+ * modify the JOIN to include posts with no value for the metadata field.
2045
  */
2046
+ if ( self::$query_parameters['use_alt_text_view'] ) {
2047
+ $alt_text_view_name = self::$mla_alt_text_view;
2048
+ $key_name = '_wp_attachment_image_alt';
2049
+ $table_name = $wpdb->postmeta;
2050
+
2051
+ $result = $wpdb->query(
2052
+ "
2053
+ CREATE OR REPLACE VIEW {$alt_text_view_name} AS
2054
+ SELECT post_id, meta_value
2055
+ FROM {$table_name}
2056
+ WHERE {$table_name}.meta_key = '{$key_name}'
2057
+ "
2058
+ );
2059
+ }
2060
+
2061
  if ( self::$query_parameters['use_postmeta_view'] ) {
2062
+ $postmeta_view_name = self::$mla_table_view_custom;
2063
+ $key_name = self::$query_parameters['postmeta_key'];
2064
+ $table_name = $wpdb->postmeta;
2065
+
2066
+ $result = $wpdb->query(
2067
+ "
2068
+ CREATE OR REPLACE VIEW {$postmeta_view_name} AS
2069
+ SELECT post_id, meta_value
2070
+ FROM {$table_name}
2071
+ WHERE {$table_name}.meta_key = '{$key_name}'
2072
+ "
2073
+ );
2074
+ }
2075
+
2076
+ if ( self::$query_parameters['use_orderby_view'] ) {
2077
+ $orderby_view_name = self::$mla_orderby_view;
2078
  $key_name = self::$query_parameters['postmeta_key'];
2079
  $table_name = $wpdb->postmeta;
2080
 
2081
  $result = $wpdb->query(
2082
  "
2083
+ CREATE OR REPLACE VIEW {$orderby_view_name} AS
2084
  SELECT post_id, meta_value
2085
  FROM {$table_name}
2086
  WHERE {$table_name}.meta_key = '{$key_name}'
2138
  remove_filter( 'posts_where', 'MLAData::mla_query_posts_where_filter' );
2139
  remove_filter( 'posts_search', 'MLAData::mla_query_posts_search_filter' );
2140
 
2141
+ if ( self::$query_parameters['use_alt_text_view'] ) {
2142
+ $result = $wpdb->query( "DROP VIEW {$alt_text_view_name}" );
2143
+ }
2144
+
2145
  if ( self::$query_parameters['use_postmeta_view'] ) {
2146
+ $result = $wpdb->query( "DROP VIEW {$postmeta_view_name}" );
2147
+ }
2148
+
2149
+ if ( self::$query_parameters['use_orderby_view'] ) {
2150
+ $result = $wpdb->query( "DROP VIEW {$orderby_view_name}" );
2151
  }
2152
 
2153
  return $results;
2381
  if ( isset( self::$search_parameters['s'] ) ) {
2382
 
2383
  // WordPress v3.7 says: there are no line breaks in <input /> fields
2384
+ $keyword_string = stripslashes( str_replace( array( "\r", "\n" ), '', self::$search_parameters['s'] ) );
2385
  $is_wildcard_search = self::_wildcard_search_string( $keyword_string );
2386
 
 
 
 
 
 
 
 
 
 
2387
  if ( $is_wildcard_search || self::$search_parameters['sentence'] || self::$search_parameters['exact'] ) {
2388
  $keyword_array = array( $keyword_string );
2389
  } else {
2390
  // v3.6.1 was '/".*?("|$)|((?<=[\r\n\t ",+])|^)[^\r\n\t ",+]+/'
2391
  preg_match_all('/".*?("|$)|((?<=[\t ",+])|^)[^\t ",+]+/', $keyword_string, $matches);
2392
  $keyword_array = array_map( 'MLAData::mla_search_terms_tidy', $matches[0]);
2393
+ $numeric_array = array_filter( $keyword_array, 'is_numeric' );
2394
+
2395
+ /*
2396
+ * If all the "keywords" are numeric, interpret it/them as the ID(s) of a specific attachment
2397
+ * or the ID(s) of a parent post/page; add it/them to the regular text-based search.
2398
+ */
2399
+ if ( count( $keyword_array ) == count( $numeric_array ) ) {
2400
+ $numeric_array = implode( ',', $numeric_array );
2401
+ $numeric_clause = '( ( ' . $wpdb->posts . '.ID IN (' . $numeric_array . ') ) OR ( ' . $wpdb->posts . '.post_parent IN (' . $numeric_array . ') ) ) OR ';
2402
+
2403
+ }
2404
  }
2405
 
2406
  $fields = self::$search_parameters['mla_search_fields'];
2523
  * If "Terms" is the only field and no terms are present,
2524
  * the search must fail.
2525
  */
2526
+ if ( ( 1 == count( $fields ) ) && ( 'terms' == array_shift( $fields ) ) ) {
2527
  $tax_clause = '1=0';
2528
  }
2529
  } else {
2607
  * Matching a NULL meta value
2608
  */
2609
  if ( array_key_exists( 'postmeta_value', self::$query_parameters ) && NULL == self::$query_parameters['postmeta_value'] ) {
2610
+ $where_clause .= ' AND ' . self::$mla_table_view_custom . '.meta_value IS NULL';
2611
  }
2612
 
2613
  /*
2661
  }
2662
 
2663
  /*
2664
+ * ALT Text searches, custom field Table Views and custom field sorts are
2665
+ * special; we have to use an SQL VIEW to build an intermediate table and
2666
+ * modify the JOIN to include posts with no value for this metadata field.
2667
+ */
2668
+ if ( self::$query_parameters['use_alt_text_view'] ) {
2669
+ $join_clause .= sprintf( ' LEFT JOIN %1$s ON (%2$s.ID = %1$s.post_id)', self::$mla_alt_text_view, $wpdb->posts );
2670
+ }
2671
+
2672
+ if ( self::$query_parameters['use_postmeta_view'] ) {
2673
+ $join_clause .= sprintf( ' LEFT JOIN %1$s ON (%2$s.ID = %1$s.post_id)', self::$mla_table_view_custom, $wpdb->posts );
2674
+ }
2675
+
2676
+ if ( self::$query_parameters['use_orderby_view'] ) {
2677
+ $join_clause .= sprintf( ' LEFT JOIN %1$s ON (%2$s.ID = %1$s.post_id)', self::$mla_orderby_view, $wpdb->posts );
2678
+ }
2679
+
2680
+ /*
2681
+ * custom field sorts are special; we have to use an SQL VIEW to
2682
  * build an intermediate table and modify the JOIN to include posts with
2683
  * no value for this metadata field.
2684
  */
2685
+ if ( isset( self::$query_parameters['orderby'] ) ) {
2686
+ if ( ( 'c_' == substr( self::$query_parameters['orderby'], 0, 2 ) ) || ( '_wp_attachment_image_alt' == self::$query_parameters['orderby'] ) ) {
2687
+ $orderby = self::$mla_orderby_view . '.meta_value';
2688
+ }
2689
  }
2690
 
2691
  if ( isset( self::$search_parameters['tax_terms_count'] ) ) {
2725
  public static function mla_query_posts_groupby_filter( $groupby_clause ) {
2726
  global $wpdb;
2727
 
2728
+ // if ( ( isset( self::$query_parameters['use_postmeta_view'] ) && self::$query_parameters['use_postmeta_view'] ) || ( isset( self::$query_parameters['use_alt_text_view'] ) && self::$query_parameters['use_alt_text_view'] ) || isset( self::$search_parameters['tax_terms_count'] ) ) {
2729
+ if ( ( ! empty( self::$query_parameters['use_postmeta_view'] ) ) || ( ! empty( self::$query_parameters['use_alt_text_view'] ) ) || ( ! empty( self::$query_parameters['use_orderby_view'] ) ) || isset( self::$search_parameters['tax_terms_count'] ) ) {
2730
  $groupby_clause = "{$wpdb->posts}.ID";
2731
  }
2732
 
2754
 
2755
  if ( isset( self::$query_parameters['orderby'] ) ) {
2756
  if ( 'c_' == substr( self::$query_parameters['orderby'], 0, 2 ) ) {
2757
+ $orderby = self::$mla_orderby_view . '.meta_value';
2758
  } /* custom field sort */ else {
2759
  switch ( self::$query_parameters['orderby'] ) {
2760
  case 'none':
2786
  * use the view we prepared to get attachments with no meta data value
2787
  */
2788
  case '_wp_attachment_image_alt':
2789
+ $orderby = self::$mla_orderby_view . '.meta_value';
2790
  break;
2791
  default:
2792
  $orderby = $wpdb->posts . '.' . self::$query_parameters['orderby'];
3179
  } // $option
3180
  } // is_array
3181
 
 
3182
  return self::_bin_to_utf8( $haystack );
3183
  } // mla_find_array_element
3184
 
4443
  */
4444
  if ( ! isset( $results['Title'] ) ) {
4445
  if ( isset( $namespace_arrays['dc'] ) && isset( $namespace_arrays['dc']['title'] ) ) {
4446
+ if ( is_array( $namespace_arrays['dc']['title'] ) ) {
4447
+ $results['Title'] = @implode( ',', $namespace_arrays['dc']['title'] );
4448
+ } else {
4449
+ $results['Title'] = (string) $namespace_arrays['dc']['title'];
4450
+ }
4451
  }
4452
  }
4453
 
4454
  if ( ! isset( $results['Author'] ) ) {
4455
  if ( isset( $namespace_arrays['dc'] ) && isset( $namespace_arrays['dc']['creator'] ) ) {
4456
+ if ( is_array( $namespace_arrays['dc']['creator'] ) ) {
4457
+ $results['Author'] = @implode( ',', $namespace_arrays['dc']['creator'] );
4458
+ } else {
4459
+ $results['Author'] = (string) $namespace_arrays['dc']['creator'];
4460
+ }
4461
  }
4462
  }
4463
 
4464
  if ( ! isset( $results['Subject'] ) ) {
4465
  if ( isset( $namespace_arrays['dc'] ) && isset( $namespace_arrays['dc']['description'] ) ) {
4466
+ if ( is_array( $namespace_arrays['dc']['description'] ) ) {
4467
+ $results['Subject'] = @implode( ',', $namespace_arrays['dc']['description'] );
4468
+ } else {
4469
+ $results['Subject'] = (string) $namespace_arrays['dc']['description'];
4470
+ }
4471
  }
4472
  }
4473
 
4927
  * @var array
4928
  */
4929
  private static $mla_iptc_formats = array(
4930
+ 0 => "No ObjectData",
4931
+ 1 => "IPTC-NAA Digital Newsphoto Parameter Record",
4932
+ 2 => "IPTC7901 Recommended Message Format",
4933
+ 3 => "Tagged Image File Format (Adobe/Aldus Image data)",
4934
+ 4 => "Illustrator (Adobe Graphics data)",
4935
+ 5 => "AppleSingle (Apple Computer Inc)",
4936
+ 6 => "NAA 89-3 (ANPA 1312)",
4937
+ 7 => "MacBinary II",
4938
+ 8 => "IPTC Unstructured Character Oriented File Format (UCOFF)",
4939
+ 9 => "United Press International ANPA 1312 variant",
4940
  10 => "United Press International Down-Load Message",
4941
  11 => "JPEG File Interchange (JFIF)",
4942
  12 => "Photo-CD Image-Pac (Eastman Kodak)",
6004
  );
6005
  }
6006
 
6007
+ $updates = apply_filters( 'mla_update_single_item', compact( array( 'new_data', 'tax_input', 'tax_actions' ) ), $post_id, $post_data );
6008
+ $new_data = isset( $updates['new_data'] ) ? $updates['new_data'] : array();
6009
+ $tax_input = isset( $updates['tax_input'] ) ? $updates['tax_input'] : NULL;
6010
+ $tax_actions = isset( $updates['tax_actions'] ) ? $updates['tax_actions'] : NULL;
6011
+
6012
  $message = '';
6013
  $updates = array( 'ID' => $post_id );
6014
  $new_data = stripslashes_deep( $new_data );
6258
  self::mla_fetch_attachment_metadata( -1 );
6259
  self::mla_fetch_attachment_references( -1, 0 );
6260
 
6261
+ // See if anything else has changed
6262
+ if ( 1 < count( $updates ) ) {
6263
+ $result = wp_update_post( $updates );
6264
+ } else {
6265
+ $result = $post_id;
6266
+ }
6267
+
6268
+ do_action( 'mla_updated_single_item', $post_id, $result );
6269
+
6270
+ if ( $result ) {
6271
  /* translators: 1: post ID */
6272
  $final_message = sprintf( __( 'Item %1$d updated.', 'media-library-assistant' ), $post_id );
6273
  /*
includes/class-mla-edit-media.php CHANGED
@@ -91,7 +91,7 @@ class MLAEdit {
91
  /*
92
  * Check for Media/Add New bulk edit area updates
93
  */
94
- if ( ! empty( $_REQUEST['mlaAddNewBulkEdit']['formString'] ) && ( 'checked' == MLAOptions::mla_get_option( MLAOptions::MLA_ADD_NEW_BULK_EDIT ) ) ) {
95
  /*
96
  * If any of the mapping rule options is enabled, use the MLA filter so this
97
  * filter is called after mapping rules have run. If none are enabled,
@@ -163,16 +163,23 @@ class MLAEdit {
163
  * @return void
164
  */
165
  public static function mla_admin_enqueue_scripts_action( $page_hook ) {
 
 
166
  $suffix = defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ? '' : '.min';
167
-
168
  /*
169
  * Add New Bulk Edit Area
170
  */
171
  if ( 'media-new.php' == $page_hook && ( 'checked' == MLAOptions::mla_get_option( MLAOptions::MLA_ADD_NEW_BULK_EDIT ) ) ) {
172
- wp_register_style( 'mla-add-new-bulk-edit', MLA_PLUGIN_URL . 'css/mla-add-new-bulk-edit.css', false, MLA::CURRENT_MLA_VERSION );
173
- wp_enqueue_style( 'mla-add-new-bulk-edit' );
 
 
 
 
 
174
 
175
- wp_register_style( 'mla-add-new-bulk-edit' . '-set-parent', MLA_PLUGIN_URL . 'css/mla-style-set-parent.css', false, MLA::CURRENT_MLA_VERSION );
176
  wp_enqueue_style( 'mla-add-new-bulk-edit' . '-set-parent' );
177
 
178
  // 'suggest' loads the script for flat taxonomy auto-complete/suggested matches
@@ -184,13 +191,14 @@ class MLAEdit {
184
 
185
  $script_variables = array(
186
  'uploadTitle' => __( 'Upload New Media items', 'media-library-assistant' ),
 
 
 
187
  'comma' => _x( ',', 'tag_delimiter', 'media-library-assistant' ),
188
  'ajaxFailError' => __( 'An ajax.fail error has occurred. Please reload the page and try again.', 'media-library-assistant' ),
189
  'ajaxDoneError' => __( 'An ajax.done error has occurred. Please reload the page and try again.', 'media-library-assistant' ),
190
  'useDashicons' => false,
191
  'useSpinnerClass' => false,
192
- 'toggleOpen' => __( 'Open Bulk Edit area', 'media-library-assistant' ),
193
- 'toggleClose' => __( 'Close Bulk Edit area', 'media-library-assistant' ),
194
  );
195
 
196
  if ( version_compare( get_bloginfo( 'version' ), '3.8', '>=' ) ) {
@@ -274,7 +282,7 @@ class MLAEdit {
274
  * The elements of this array come back as $_REQUEST elements when the
275
  * upload is submitted.
276
  */
277
- $post_parms['mlaAddNewBulkEdit'] = array ( 'formData' => array() );
278
  return $post_parms;
279
  }
280
 
@@ -418,6 +426,7 @@ class MLAEdit {
418
  $page_values = array(
419
  'NOTE' => __( 'IMPORTANT: Make your entries BEFORE uploading new items. Pull down the Help menu for more information.', 'media-library-assistant' ),
420
  'Toggle' => __( 'Open Bulk Edit area', 'media-library-assistant' ),
 
421
  'category_fieldset' => $category_fieldset,
422
  'tag_fieldset' => $tag_fieldset,
423
  'authors' => $authors_dropdown,
@@ -457,11 +466,11 @@ class MLAEdit {
457
  * @return array updated attachment metadata
458
  */
459
  public static function mla_update_attachment_metadata_postfilter( $data, $post_id, $options = array( 'is_upload' => true ) ) {
460
- if ( ( true == $options['is_upload'] ) && ! empty( $_REQUEST['mlaAddNewBulkEdit']['formString'] ) ) {
461
  /*
462
  * Clean up the inputs, which have everythng from the enclosing <form>
463
  */
464
- $args = wp_parse_args( stripslashes( urldecode( $_REQUEST['mlaAddNewBulkEdit']['formString'] ) ) );
465
  unset( $args['parent'] );
466
  unset( $args['children'] );
467
  unset( $args['mla-set-parent-ajax-nonce'] );
@@ -668,7 +677,7 @@ class MLAEdit {
668
  if ( empty( $template_array ) ) {
669
  return $admin_title;
670
  }
671
-
672
  /*
673
  * Replace sidebar content
674
  */
@@ -678,15 +687,15 @@ class MLAEdit {
678
  $screen->set_help_sidebar( $content );
679
  }
680
  unset( $template_array['sidebar'] );
681
-
682
  /*
683
  * Provide explicit control over tab order
684
  */
685
  $tab_array = array();
686
-
687
  foreach ( $template_array as $id => $content ) {
688
  $match_count = preg_match( '#\<!-- title="(.+)" order="(.+)" --\>#', $content, $matches, PREG_OFFSET_CAPTURE );
689
-
690
  if ( $match_count > 0 ) {
691
  $tab_array[ $matches[ 2 ][ 0 ] ] = array(
692
  'id' => $id,
@@ -698,12 +707,12 @@ class MLAEdit {
698
  error_log( sprintf( _x( '%1$s: %2$s discarding "%3$s"; no title/order', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), 'mla_edit_add_help_tab', $id ), 0 );
699
  }
700
  }
701
-
702
  ksort( $tab_array, SORT_NUMERIC );
703
  foreach ( $tab_array as $indx => $value ) {
704
  $screen->add_help_tab( $value );
705
  }
706
-
707
  return $admin_title;
708
  }
709
 
91
  /*
92
  * Check for Media/Add New bulk edit area updates
93
  */
94
+ if ( ! empty( $_REQUEST['mlaAddNewBulkEditFormString'] ) && ( 'checked' == MLAOptions::mla_get_option( MLAOptions::MLA_ADD_NEW_BULK_EDIT ) ) ) {
95
  /*
96
  * If any of the mapping rule options is enabled, use the MLA filter so this
97
  * filter is called after mapping rules have run. If none are enabled,
163
  * @return void
164
  */
165
  public static function mla_admin_enqueue_scripts_action( $page_hook ) {
166
+ global $wp_locale;
167
+
168
  $suffix = defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ? '' : '.min';
169
+
170
  /*
171
  * Add New Bulk Edit Area
172
  */
173
  if ( 'media-new.php' == $page_hook && ( 'checked' == MLAOptions::mla_get_option( MLAOptions::MLA_ADD_NEW_BULK_EDIT ) ) ) {
174
+ if ( $wp_locale->is_rtl() ) {
175
+ wp_register_style( 'mla-add-new-bulk-edit', MLA_PLUGIN_URL . 'css/mla-add-new-bulk-edit-rtl.css', false, MLA::CURRENT_MLA_VERSION );
176
+ wp_register_style( 'mla-add-new-bulk-edit' . '-set-parent', MLA_PLUGIN_URL . 'css/mla-style-set-parent-rtl.css', false, MLA::CURRENT_MLA_VERSION );
177
+ } else {
178
+ wp_register_style( 'mla-add-new-bulk-edit', MLA_PLUGIN_URL . 'css/mla-add-new-bulk-edit.css', false, MLA::CURRENT_MLA_VERSION );
179
+ wp_register_style( 'mla-add-new-bulk-edit' . '-set-parent', MLA_PLUGIN_URL . 'css/mla-style-set-parent.css', false, MLA::CURRENT_MLA_VERSION );
180
+ }
181
 
182
+ wp_enqueue_style( 'mla-add-new-bulk-edit' );
183
  wp_enqueue_style( 'mla-add-new-bulk-edit' . '-set-parent' );
184
 
185
  // 'suggest' loads the script for flat taxonomy auto-complete/suggested matches
191
 
192
  $script_variables = array(
193
  'uploadTitle' => __( 'Upload New Media items', 'media-library-assistant' ),
194
+ 'toggleOpen' => __( 'Open Bulk Edit area', 'media-library-assistant' ),
195
+ 'toggleClose' => __( 'Close Bulk Edit area', 'media-library-assistant' ),
196
+ 'areaOnTop' => ( 'checked' == MLAOptions::mla_get_option( MLAOptions::MLA_ADD_NEW_BULK_EDIT_ON_TOP ) ),
197
  'comma' => _x( ',', 'tag_delimiter', 'media-library-assistant' ),
198
  'ajaxFailError' => __( 'An ajax.fail error has occurred. Please reload the page and try again.', 'media-library-assistant' ),
199
  'ajaxDoneError' => __( 'An ajax.done error has occurred. Please reload the page and try again.', 'media-library-assistant' ),
200
  'useDashicons' => false,
201
  'useSpinnerClass' => false,
 
 
202
  );
203
 
204
  if ( version_compare( get_bloginfo( 'version' ), '3.8', '>=' ) ) {
282
  * The elements of this array come back as $_REQUEST elements when the
283
  * upload is submitted.
284
  */
285
+ //$post_parms['mlaAddNewBulkEdit'] = array ( 'formData' => array() );
286
  return $post_parms;
287
  }
288
 
426
  $page_values = array(
427
  'NOTE' => __( 'IMPORTANT: Make your entries BEFORE uploading new items. Pull down the Help menu for more information.', 'media-library-assistant' ),
428
  'Toggle' => __( 'Open Bulk Edit area', 'media-library-assistant' ),
429
+ 'Reset' => __( 'Reset', 'media-library-assistant' ),
430
  'category_fieldset' => $category_fieldset,
431
  'tag_fieldset' => $tag_fieldset,
432
  'authors' => $authors_dropdown,
466
  * @return array updated attachment metadata
467
  */
468
  public static function mla_update_attachment_metadata_postfilter( $data, $post_id, $options = array( 'is_upload' => true ) ) {
469
+ if ( ( true == $options['is_upload'] ) && ! empty( $_REQUEST['mlaAddNewBulkEditFormString'] ) ) {
470
  /*
471
  * Clean up the inputs, which have everythng from the enclosing <form>
472
  */
473
+ $args = wp_parse_args( stripslashes( urldecode( $_REQUEST['mlaAddNewBulkEditFormString'] ) ) );
474
  unset( $args['parent'] );
475
  unset( $args['children'] );
476
  unset( $args['mla-set-parent-ajax-nonce'] );
677
  if ( empty( $template_array ) ) {
678
  return $admin_title;
679
  }
680
+
681
  /*
682
  * Replace sidebar content
683
  */
687
  $screen->set_help_sidebar( $content );
688
  }
689
  unset( $template_array['sidebar'] );
690
+
691
  /*
692
  * Provide explicit control over tab order
693
  */
694
  $tab_array = array();
695
+
696
  foreach ( $template_array as $id => $content ) {
697
  $match_count = preg_match( '#\<!-- title="(.+)" order="(.+)" --\>#', $content, $matches, PREG_OFFSET_CAPTURE );
698
+
699
  if ( $match_count > 0 ) {
700
  $tab_array[ $matches[ 2 ][ 0 ] ] = array(
701
  'id' => $id,
707
  error_log( sprintf( _x( '%1$s: %2$s discarding "%3$s"; no title/order', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), 'mla_edit_add_help_tab', $id ), 0 );
708
  }
709
  }
710
+
711
  ksort( $tab_array, SORT_NUMERIC );
712
  foreach ( $tab_array as $indx => $value ) {
713
  $screen->add_help_tab( $value );
714
  }
715
+
716
  return $admin_title;
717
  }
718
 
includes/class-mla-list-table.php CHANGED
@@ -223,7 +223,7 @@ class MLA_List_Table extends WP_List_Table {
223
  /**
224
  * Builds the $default_columns array with translated source texts.
225
  *
226
- * Called from MLA:mla_plugins_loaded_action because the $default_columns information
227
  * might be accessed from "front end" posts/pages.
228
  *
229
  * @since 1.71
@@ -360,7 +360,7 @@ class MLA_List_Table extends WP_List_Table {
360
  }
361
 
362
  if ( isset( $_REQUEST['meta_query'] ) ) {
363
- $submenu_arguments['meta_query'] = $_REQUEST['meta_query'];
364
  }
365
 
366
  /*
@@ -477,7 +477,7 @@ class MLA_List_Table extends WP_List_Table {
477
  if ( MLATest::$wp_4dot3_plus ) {
478
  unset( self::$default_columns['icon'] );
479
  }
480
-
481
  return apply_filters( 'mla_list_table_get_columns', self::$default_columns );
482
  }
483
 
@@ -671,38 +671,7 @@ class MLA_List_Table extends WP_List_Table {
671
  * @return string HTML markup to be placed inside the column
672
  */
673
  function column_icon( $item ) {
674
- $icon_width = MLAOptions::mla_get_option( MLAOptions::MLA_TABLE_ICON_SIZE );
675
- if ( 'checked' == MLAOptions::mla_get_option( MLAOptions::MLA_ENABLE_MLA_ICONS ) ) {
676
- if ( empty( $icon_width ) ) {
677
- $icon_width = $icon_height = 64;
678
- } else {
679
- $icon_width = $icon_height = absint( $icon_width );
680
- }
681
- } else {
682
- if ( empty( $icon_width ) ) {
683
- if ( MLATest::$wp_4dot3_plus ) {
684
- $icon_width = 60;
685
- } else {
686
- $icon_width = 80;
687
- }
688
- } else {
689
- $icon_width = absint( $icon_width );
690
- }
691
-
692
- if ( MLATest::$wp_4dot3_plus ) {
693
- $icon_height = $icon_width;
694
- } else {
695
- $icon_height = absint( .75 * (float) $icon_width );
696
- }
697
- }
698
-
699
- $dimensions = array( $icon_width, $icon_height );
700
- $thumb = wp_get_attachment_image( $item->ID, $dimensions, true, array( 'class' => 'mla_media_thumbnail' ) );
701
-
702
- if ( in_array( $item->post_mime_type, array( 'image/svg+xml' ) ) ) {
703
- $thumb = preg_replace( '/width=\"[^\"]*\"/', sprintf( 'width="%1$d"', $dimensions[0] ), $thumb );
704
- $thumb = preg_replace( '/height=\"[^\"]*\"/', sprintf( 'height="%1$d"', $dimensions[1] ), $thumb );
705
- }
706
 
707
  if ( $this->is_trash || ! current_user_can( 'edit_post', $item->ID ) ) {
708
  return $thumb;
@@ -762,7 +731,7 @@ class MLA_List_Table extends WP_List_Table {
762
  */
763
  protected function get_default_primary_column_name() {
764
  $hidden_columns = $this->get_hidden_columns();
765
-
766
  $primary_column = '';
767
  foreach ( array( 'ID_parent', 'title_name', 'post_title', 'post_name' ) as $column_name ) {
768
  if ( ! in_array( $column_name, $hidden_columns ) ) {
@@ -770,7 +739,7 @@ class MLA_List_Table extends WP_List_Table {
770
  break;
771
  }
772
  }
773
-
774
  // Fallback to the first visible column
775
  if ( empty( $primary_column ) ) {
776
  foreach ( $this->get_columns() as $column_name => $column_title ) {
@@ -870,7 +839,7 @@ class MLA_List_Table extends WP_List_Table {
870
  if ( ! $this->is_trash ) {
871
  $actions['view'] = '<a href="' . site_url( ) . '?attachment_id=' . $item->ID . '" rel="permalink" title="' . __( 'View', 'media-library-assistant' ) . ' &#8220;' . $att_title . '&#8221;">' . __( 'View', 'media-library-assistant' ) . '</a>';
872
  }
873
-
874
  $actions = apply_filters( 'mla_list_table_build_rollover_actions', $actions, $item, $column );
875
 
876
  $this->rollover_id = $item->ID;
@@ -879,6 +848,60 @@ class MLA_List_Table extends WP_List_Table {
879
  return $actions;
880
  }
881
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
882
  /**
883
  * Add hidden fields with the data for use in the inline editor
884
  *
@@ -890,6 +913,7 @@ class MLA_List_Table extends WP_List_Table {
890
  */
891
  protected function _build_inline_data( $item ) {
892
  $inline_data = "\r\n" . '<div class="hidden" id="inline_' . $item->ID . "\">\r\n";
 
893
  $inline_data .= ' <div class="post_title">' . esc_attr( $item->post_title ) . "</div>\r\n";
894
  $inline_data .= ' <div class="post_name">' . esc_attr( $item->post_name ) . "</div>\r\n";
895
  $inline_data .= ' <div class="post_excerpt">' . esc_attr( $item->post_excerpt ) . "</div>\r\n";
@@ -991,25 +1015,25 @@ class MLA_List_Table extends WP_List_Table {
991
  protected function _handle_primary_column( $item, $column_name, $column_content ) {
992
  if ( MLATest::$wp_4dot3_plus ) {
993
  static $primary_column = NULL;
994
-
995
  if ( NULL == $primary_column ) {
996
  $primary_column = $this->get_default_primary_column_name();
997
  }
998
-
999
  if ( $primary_column != $column_name ) {
1000
  return $column_content;
1001
  }
1002
-
1003
  list( $mime ) = explode( '/', $item->post_mime_type );
1004
  $final_content = "<div class=\"attachment-icon {$mime}-icon\">\n" . $this->column_icon( $item ) . "\n</div>\n";
1005
  return $final_content . "<div class=\"attachment-info\">\n" . $column_content . "\n</div>\n";
1006
  }
1007
-
1008
  $actions = $this->row_actions( $this->_build_rollover_actions( $item, $column_name ) );
1009
  if ( ! empty( $actions ) ) {
1010
  $column_content .= $actions . $this->_build_inline_data( $item );
1011
  }
1012
-
1013
  return $column_content;
1014
  }
1015
 
@@ -1940,7 +1964,11 @@ class MLA_List_Table extends WP_List_Table {
1940
  */
1941
  function single_row( $item ) {
1942
  static $row_class = '';
1943
- $row_class = ( $row_class == '' ? ' class="alternate"' : '' );
 
 
 
 
1944
 
1945
  echo '<tr id="attachment-' . $item->ID . '"' . $row_class . '>';
1946
  echo parent::single_row_columns( $item );
223
  /**
224
  * Builds the $default_columns array with translated source texts.
225
  *
226
+ * Called from MLATest::initialize because the $default_columns information
227
  * might be accessed from "front end" posts/pages.
228
  *
229
  * @since 1.71
360
  }
361
 
362
  if ( isset( $_REQUEST['meta_query'] ) ) {
363
+ $submenu_arguments['meta_query'] = urlencode( stripslashes( $_REQUEST['meta_query'] ) );
364
  }
365
 
366
  /*
477
  if ( MLATest::$wp_4dot3_plus ) {
478
  unset( self::$default_columns['icon'] );
479
  }
480
+
481
  return apply_filters( 'mla_list_table_get_columns', self::$default_columns );
482
  }
483
 
671
  * @return string HTML markup to be placed inside the column
672
  */
673
  function column_icon( $item ) {
674
+ $thumb = self::_build_item_thumbnail( $item );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
675
 
676
  if ( $this->is_trash || ! current_user_can( 'edit_post', $item->ID ) ) {
677
  return $thumb;
731
  */
732
  protected function get_default_primary_column_name() {
733
  $hidden_columns = $this->get_hidden_columns();
734
+
735
  $primary_column = '';
736
  foreach ( array( 'ID_parent', 'title_name', 'post_title', 'post_name' ) as $column_name ) {
737
  if ( ! in_array( $column_name, $hidden_columns ) ) {
739
  break;
740
  }
741
  }
742
+
743
  // Fallback to the first visible column
744
  if ( empty( $primary_column ) ) {
745
  foreach ( $this->get_columns() as $column_name => $column_title ) {
839
  if ( ! $this->is_trash ) {
840
  $actions['view'] = '<a href="' . site_url( ) . '?attachment_id=' . $item->ID . '" rel="permalink" title="' . __( 'View', 'media-library-assistant' ) . ' &#8220;' . $att_title . '&#8221;">' . __( 'View', 'media-library-assistant' ) . '</a>';
841
  }
842
+
843
  $actions = apply_filters( 'mla_list_table_build_rollover_actions', $actions, $item, $column );
844
 
845
  $this->rollover_id = $item->ID;
848
  return $actions;
849
  }
850
 
851
+ /**
852
+ * Generate item thumbnail image tag
853
+ *
854
+ * @since 2.15
855
+ *
856
+ * @param object A singular attachment (post) object
857
+ *
858
+ * @return string HTML <img> for thumbnail
859
+ */
860
+ protected function _build_item_thumbnail( $item ) {
861
+ static $thumb = NULL, $item_id = 0;
862
+
863
+ if ( $item->ID == $item_id ) {
864
+ return $thumb;
865
+ } else {
866
+ $item_id = $item->ID;
867
+ }
868
+
869
+ $icon_width = MLAOptions::mla_get_option( MLAOptions::MLA_TABLE_ICON_SIZE );
870
+ if ( 'checked' == MLAOptions::mla_get_option( MLAOptions::MLA_ENABLE_MLA_ICONS ) ) {
871
+ if ( empty( $icon_width ) ) {
872
+ $icon_width = $icon_height = 64;
873
+ } else {
874
+ $icon_width = $icon_height = absint( $icon_width );
875
+ }
876
+ } else {
877
+ if ( empty( $icon_width ) ) {
878
+ if ( MLATest::$wp_4dot3_plus ) {
879
+ $icon_width = 60;
880
+ } else {
881
+ $icon_width = 80;
882
+ }
883
+ } else {
884
+ $icon_width = absint( $icon_width );
885
+ }
886
+
887
+ if ( MLATest::$wp_4dot3_plus ) {
888
+ $icon_height = $icon_width;
889
+ } else {
890
+ $icon_height = absint( .75 * (float) $icon_width );
891
+ }
892
+ }
893
+
894
+ $dimensions = array( $icon_width, $icon_height );
895
+ $thumb = wp_get_attachment_image( $item->ID, $dimensions, true, array( 'class' => 'mla_media_thumbnail' ) );
896
+
897
+ if ( in_array( $item->post_mime_type, array( 'image/svg+xml' ) ) ) {
898
+ $thumb = preg_replace( '/width=\"[^\"]*\"/', sprintf( 'width="%1$d"', $dimensions[0] ), $thumb );
899
+ $thumb = preg_replace( '/height=\"[^\"]*\"/', sprintf( 'height="%1$d"', $dimensions[1] ), $thumb );
900
+ }
901
+
902
+ return $thumb;
903
+ }
904
+
905
  /**
906
  * Add hidden fields with the data for use in the inline editor
907
  *
913
  */
914
  protected function _build_inline_data( $item ) {
915
  $inline_data = "\r\n" . '<div class="hidden" id="inline_' . $item->ID . "\">\r\n";
916
+ $inline_data .= ' <div class="item_thumbnail">' . self::_build_item_thumbnail( $item ) . "</div>\r\n";
917
  $inline_data .= ' <div class="post_title">' . esc_attr( $item->post_title ) . "</div>\r\n";
918
  $inline_data .= ' <div class="post_name">' . esc_attr( $item->post_name ) . "</div>\r\n";
919
  $inline_data .= ' <div class="post_excerpt">' . esc_attr( $item->post_excerpt ) . "</div>\r\n";
1015
  protected function _handle_primary_column( $item, $column_name, $column_content ) {
1016
  if ( MLATest::$wp_4dot3_plus ) {
1017
  static $primary_column = NULL;
1018
+
1019
  if ( NULL == $primary_column ) {
1020
  $primary_column = $this->get_default_primary_column_name();
1021
  }
1022
+
1023
  if ( $primary_column != $column_name ) {
1024
  return $column_content;
1025
  }
1026
+
1027
  list( $mime ) = explode( '/', $item->post_mime_type );
1028
  $final_content = "<div class=\"attachment-icon {$mime}-icon\">\n" . $this->column_icon( $item ) . "\n</div>\n";
1029
  return $final_content . "<div class=\"attachment-info\">\n" . $column_content . "\n</div>\n";
1030
  }
1031
+
1032
  $actions = $this->row_actions( $this->_build_rollover_actions( $item, $column_name ) );
1033
  if ( ! empty( $actions ) ) {
1034
  $column_content .= $actions . $this->_build_inline_data( $item );
1035
  }
1036
+
1037
  return $column_content;
1038
  }
1039
 
1964
  */
1965
  function single_row( $item ) {
1966
  static $row_class = '';
1967
+
1968
+ // WP 4.2+ uses "striped" CSS styles to implement "alternate"
1969
+ if ( version_compare( get_bloginfo( 'version' ), '4.2', '<' ) ) {
1970
+ $row_class = ( $row_class == '' ? ' class="alternate"' : '' );
1971
+ }
1972
 
1973
  echo '<tr id="attachment-' . $item->ID . '"' . $row_class . '>';
1974
  echo parent::single_row_columns( $item );
includes/class-mla-main.php CHANGED
@@ -29,7 +29,7 @@ class MLA {
29
  *
30
  * @var string
31
  */
32
- const CURRENT_MLA_VERSION = '2.14';
33
 
34
  /**
35
  * Current date for Development Version, empty for production versions
@@ -278,6 +278,33 @@ class MLA {
278
  add_filter( 'screen_options_show_screen', 'MLA::mla_screen_options_show_screen_filter', 10, 2 ); // $show_screen, $this
279
  }
280
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
281
  /**
282
  * Load a plugin text domain and alternate debug file
283
  *
@@ -302,22 +329,40 @@ class MLA {
302
  load_plugin_textdomain( $text_domain, false, MLA_PLUGIN_BASENAME . '/languages/' );
303
 
304
  /*
305
- * Now we can localize values in other plugin components
306
  */
307
  MLAOptions::mla_localize_option_definitions_array();
308
- MLASettings::mla_localize_tablist();
309
- MLA_List_Table::mla_localize_default_columns_array();
310
- MLA_Upload_List_Table::mla_localize_default_columns_array();
311
- MLA_Upload_Optional_List_Table::mla_localize_default_columns_array();
312
- MLA_View_List_Table::mla_localize_default_columns_array();
313
-
314
  /*
315
- * Set up alternate MLA debug log file
316
  */
317
- $error_log_name = MLAOptions::mla_get_option( MLAOptions::MLA_DEBUG_FILE );
318
- if ( ! empty( $error_log_name ) ) {
319
- self::mla_debug_file( $error_log_name );
320
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
321
  }
322
 
323
  /**
@@ -425,7 +470,7 @@ class MLA {
425
  $icon_value = absint( $icon_value );
426
  }
427
  }
428
-
429
  $icon_width = $icon_height = $icon_value . 'px';
430
 
431
  echo " width: auto;\n";
@@ -440,7 +485,7 @@ class MLA {
440
  $icon_value = 80;
441
  }
442
  }
443
-
444
  $icon_width = absint( $icon_value ) . 'px';
445
  echo " max-width: {$icon_width};\n";
446
 
@@ -479,7 +524,7 @@ class MLA {
479
  echo " .fixed td.column-icon, .fixed th.column-icon {\n";
480
  echo " width: {$icon_width};\n";
481
  echo " }\n";
482
-
483
  /*
484
  * Separate ID_parent column
485
  */
@@ -502,6 +547,8 @@ class MLA {
502
  * @return void
503
  */
504
  public static function mla_admin_enqueue_scripts_action( $page_hook ) {
 
 
505
  $suffix = defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ? '' : '.min';
506
 
507
  if ( 'checked' != MLAOptions::mla_get_option( MLAOptions::MLA_SCREEN_DISPLAY_LIBRARY ) ) {
@@ -518,13 +565,18 @@ class MLA {
518
  if ( 'media_page_' . self::ADMIN_PAGE_SLUG != $page_hook ) {
519
  return;
520
  }
521
-
522
  /*
523
  * Add the styles for variable-size icon and WP 4.3 primary column display
524
  */
525
  add_action( 'admin_print_styles', 'MLA::mla_admin_print_styles_action' );
526
 
527
- wp_register_style( self::STYLESHEET_SLUG, MLA_PLUGIN_URL . 'css/mla-style.css', false, self::CURRENT_MLA_VERSION );
 
 
 
 
 
528
  wp_enqueue_style( self::STYLESHEET_SLUG );
529
 
530
  wp_register_style( self::STYLESHEET_SLUG . '-set-parent', MLA_PLUGIN_URL . 'css/mla-style-set-parent.css', false, self::CURRENT_MLA_VERSION );
@@ -1887,7 +1939,7 @@ class MLA {
1887
  check_ajax_referer( self::MLA_ADMIN_NONCE_ACTION, MLA::MLA_ADMIN_NONCE_NAME );
1888
 
1889
  if ( ! empty( $_REQUEST['bulk_action'] ) ) {
1890
- self::_bulk_edit_ajax_handler();
1891
  }
1892
 
1893
  if ( empty( $_REQUEST['post_ID'] ) ) {
@@ -2265,6 +2317,7 @@ class MLA {
2265
  'quick_middle_column' => $quick_middle_column,
2266
  'quick_right_column' => $quick_right_column,
2267
  'Cancel' => __( 'Cancel', 'media-library-assistant' ),
 
2268
  'Update' => __( 'Update', 'media-library-assistant' ),
2269
  'Bulk Edit' => __( 'Bulk Edit', 'media-library-assistant' ),
2270
  'bulk_middle_column' => $bulk_middle_column,
@@ -2493,11 +2546,11 @@ class MLA {
2493
  */
2494
  public static function mla_debug_mode( $mode = false ) {
2495
  $old_mode = self::$mla_debug_mode;
2496
-
2497
  if ( $mode && in_array( $mode, array( 'none', 'buffer', 'console', 'log' ) ) ) {
2498
  self::$mla_debug_mode = $mode;
2499
  }
2500
-
2501
  return $old_mode;
2502
  }
2503
 
@@ -2529,7 +2582,7 @@ class MLA {
2529
  }
2530
 
2531
  $old_file = self::$mla_debug_file;
2532
-
2533
  if ( empty( $file ) ) {
2534
  self::$mla_debug_file = NULL;
2535
  } else {
@@ -2540,7 +2593,7 @@ class MLA {
2540
 
2541
  self::$mla_debug_file = $file;
2542
  }
2543
-
2544
  return $old_file;
2545
  }
2546
 
@@ -2623,7 +2676,7 @@ class MLA {
2623
  return;
2624
  }
2625
  }
2626
-
2627
  error_log( $message, 0 );
2628
  }
2629
 
@@ -2636,6 +2689,15 @@ class MLA {
2636
  */
2637
  CONST MLA_DEBUG_CATEGORY_AJAX = 0x00000002;
2638
 
 
 
 
 
 
 
 
 
 
2639
  /**
2640
  * Add a debug message to the collection
2641
  *
@@ -2648,7 +2710,7 @@ class MLA {
2648
  $mode = self::$mla_debug_mode;
2649
 
2650
  if ( NULL != $debug_level ) {
2651
- if ( ( 0 == ( MLA_DEBUG_LEVEL & 1 ) ) || ( 0 == ( MLA_DEBUG_LEVEL & $debug_level ) ) ) {
2652
  return;
2653
  }
2654
 
29
  *
30
  * @var string
31
  */
32
+ const CURRENT_MLA_VERSION = '2.15';
33
 
34
  /**
35
  * Current date for Development Version, empty for production versions
278
  add_filter( 'screen_options_show_screen', 'MLA::mla_screen_options_show_screen_filter', 10, 2 ); // $show_screen, $this
279
  }
280
 
281
+ /**
282
+ * Original PHP error_log path and file
283
+ *
284
+ * @since 2.15
285
+ *
286
+ * @var string
287
+ */
288
+ public static $original_php_log = '?';
289
+
290
+ /**
291
+ * Original PHP error_reporting value
292
+ *
293
+ * @since 2.15
294
+ *
295
+ * @var string
296
+ */
297
+ public static $original_php_reporting = '?';
298
+
299
+ /**
300
+ * Effective MLA Debug Level, from MLA_DEBUG_LEVEL or override option
301
+ *
302
+ * @since 2.15
303
+ *
304
+ * @var integer
305
+ */
306
+ public static $mla_debug_level = 0;
307
+
308
  /**
309
  * Load a plugin text domain and alternate debug file
310
  *
329
  load_plugin_textdomain( $text_domain, false, MLA_PLUGIN_BASENAME . '/languages/' );
330
 
331
  /*
332
+ * This must/will be repeated in class-mla-tests.php to reflect translations
333
  */
334
  MLAOptions::mla_localize_option_definitions_array();
335
+
 
 
 
 
 
336
  /*
337
+ * Do not process debug options unless MLA_DEBUG_LEVEL is set in wp-config.php
338
  */
339
+ if ( MLA_DEBUG_LEVEL & 1 ) {
340
+ /*
341
+ * Set up alternate MLA debug log file
342
+ */
343
+ self::$original_php_log = ini_get( 'error_log' );
344
+ $error_log_name = MLAOptions::mla_get_option( MLAOptions::MLA_DEBUG_FILE );
345
+ if ( ! empty( $error_log_name ) ) {
346
+ self::mla_debug_file( $error_log_name );
347
+
348
+ /*
349
+ * Override PHP error_log file
350
+ */
351
+ if ( 'checked' === MLAOptions::mla_get_option( MLAOptions::MLA_DEBUG_REPLACE_PHP_LOG ) ) {
352
+ $result = ini_set('error_log', WP_CONTENT_DIR . self::$mla_debug_file );
353
+ }
354
+ }
355
+
356
+ /*
357
+ * PHP error_reporting must be done later in class-mla-tests.php
358
+ * Override MLA debug levels
359
+ */
360
+ self::$mla_debug_level = MLA_DEBUG_LEVEL;
361
+ $mla_reporting = trim( MLAOptions::mla_get_option( MLAOptions::MLA_DEBUG_REPLACE_LEVEL ) );
362
+ if ( ! empty( $mla_reporting ) ) {
363
+ self::$mla_debug_level = ( 0 + $mla_reporting ) | 1;
364
+ }
365
+ } // MLA_DEBUG_LEVEL & 1
366
  }
367
 
368
  /**
470
  $icon_value = absint( $icon_value );
471
  }
472
  }
473
+
474
  $icon_width = $icon_height = $icon_value . 'px';
475
 
476
  echo " width: auto;\n";
485
  $icon_value = 80;
486
  }
487
  }
488
+
489
  $icon_width = absint( $icon_value ) . 'px';
490
  echo " max-width: {$icon_width};\n";
491
 
524
  echo " .fixed td.column-icon, .fixed th.column-icon {\n";
525
  echo " width: {$icon_width};\n";
526
  echo " }\n";
527
+
528
  /*
529
  * Separate ID_parent column
530
  */
547
  * @return void
548
  */
549
  public static function mla_admin_enqueue_scripts_action( $page_hook ) {
550
+ global $wp_locale;
551
+
552
  $suffix = defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ? '' : '.min';
553
 
554
  if ( 'checked' != MLAOptions::mla_get_option( MLAOptions::MLA_SCREEN_DISPLAY_LIBRARY ) ) {
565
  if ( 'media_page_' . self::ADMIN_PAGE_SLUG != $page_hook ) {
566
  return;
567
  }
568
+
569
  /*
570
  * Add the styles for variable-size icon and WP 4.3 primary column display
571
  */
572
  add_action( 'admin_print_styles', 'MLA::mla_admin_print_styles_action' );
573
 
574
+ if ( $wp_locale->is_rtl() ) {
575
+ wp_register_style( self::STYLESHEET_SLUG, MLA_PLUGIN_URL . 'css/mla-style-rtl.css', false, self::CURRENT_MLA_VERSION );
576
+ } else {
577
+ wp_register_style( self::STYLESHEET_SLUG, MLA_PLUGIN_URL . 'css/mla-style.css', false, self::CURRENT_MLA_VERSION );
578
+ }
579
+
580
  wp_enqueue_style( self::STYLESHEET_SLUG );
581
 
582
  wp_register_style( self::STYLESHEET_SLUG . '-set-parent', MLA_PLUGIN_URL . 'css/mla-style-set-parent.css', false, self::CURRENT_MLA_VERSION );
1939
  check_ajax_referer( self::MLA_ADMIN_NONCE_ACTION, MLA::MLA_ADMIN_NONCE_NAME );
1940
 
1941
  if ( ! empty( $_REQUEST['bulk_action'] ) ) {
1942
+ self::_bulk_edit_ajax_handler(); // calls wp_send_json_success and die()
1943
  }
1944
 
1945
  if ( empty( $_REQUEST['post_ID'] ) ) {
2317
  'quick_middle_column' => $quick_middle_column,
2318
  'quick_right_column' => $quick_right_column,
2319
  'Cancel' => __( 'Cancel', 'media-library-assistant' ),
2320
+ 'Reset' => __( 'Reset', 'media-library-assistant' ),
2321
  'Update' => __( 'Update', 'media-library-assistant' ),
2322
  'Bulk Edit' => __( 'Bulk Edit', 'media-library-assistant' ),
2323
  'bulk_middle_column' => $bulk_middle_column,
2546
  */
2547
  public static function mla_debug_mode( $mode = false ) {
2548
  $old_mode = self::$mla_debug_mode;
2549
+
2550
  if ( $mode && in_array( $mode, array( 'none', 'buffer', 'console', 'log' ) ) ) {
2551
  self::$mla_debug_mode = $mode;
2552
  }
2553
+
2554
  return $old_mode;
2555
  }
2556
 
2582
  }
2583
 
2584
  $old_file = self::$mla_debug_file;
2585
+
2586
  if ( empty( $file ) ) {
2587
  self::$mla_debug_file = NULL;
2588
  } else {
2593
 
2594
  self::$mla_debug_file = $file;
2595
  }
2596
+
2597
  return $old_file;
2598
  }
2599
 
2676
  return;
2677
  }
2678
  }
2679
+
2680
  error_log( $message, 0 );
2681
  }
2682
 
2689
  */
2690
  CONST MLA_DEBUG_CATEGORY_AJAX = 0x00000002;
2691
 
2692
+ /**
2693
+ * Constant to log WPML/Polylang action/filter activity
2694
+ *
2695
+ * @since 2.15
2696
+ *
2697
+ * @var integer
2698
+ */
2699
+ CONST MLA_DEBUG_CATEGORY_LANGUAGE = 0x00000004;
2700
+
2701
  /**
2702
  * Add a debug message to the collection
2703
  *
2710
  $mode = self::$mla_debug_mode;
2711
 
2712
  if ( NULL != $debug_level ) {
2713
+ if ( ( 0 == ( self::$mla_debug_level & 1 ) ) || ( 0 == ( self::$mla_debug_level & $debug_level ) ) ) {
2714
  return;
2715
  }
2716
 
includes/class-mla-media-modal.php CHANGED
@@ -379,7 +379,8 @@ class MLAModal {
379
  //'termsSearch' => NULL,
380
  'searchClicks' => 0,
381
  ) ),
382
- 'mimeTypes' => '',
 
383
  'months' => '',
384
  'termsClass' => array(),
385
  'termsIndent' => '&nbsp;',
@@ -414,12 +415,15 @@ class MLAModal {
414
 
415
  self::$mla_media_modal_settings['comma'] = _x( ',', 'tag_delimiter', 'media-library-assistant' );
416
  self::$mla_media_modal_settings['ajaxNonce'] = wp_create_nonce( MLA::MLA_ADMIN_NONCE_ACTION, MLA::MLA_ADMIN_NONCE_NAME );
417
- self::$mla_media_modal_settings['mimeTypes'] = MLAMime::mla_pluck_table_views();
418
- self::$mla_media_modal_settings['mimeTypes']['detached'] = MLAOptions::$mla_option_definitions[ MLAOptions::MLA_POST_MIME_TYPES ]['std']['detached']['plural'];
419
- self::$mla_media_modal_settings['mimeTypes']['attached'] = MLAOptions::$mla_option_definitions[ MLAOptions::MLA_POST_MIME_TYPES ]['std']['attached']['plural'];
420
 
 
 
 
421
  if ( EMPTY_TRASH_DAYS && MEDIA_TRASH ) {
422
- self::$mla_media_modal_settings['mimeTypes']['trash'] = MLAOptions::$mla_option_definitions[ MLAOptions::MLA_POST_MIME_TYPES ]['std']['trash']['plural'];
423
  }
424
 
425
  self::$mla_media_modal_settings['months'] = self::_months_dropdown('attachment');
@@ -482,6 +486,7 @@ class MLAModal {
482
  $search_defaults = MLAOptions::mla_get_option( MLAOptions::MLA_SEARCH_MEDIA_FILTER_DEFAULTS );
483
  $initial_values = array(
484
  'filterMime' => 'all',
 
485
  'filterMonth' => 0,
486
  'filterTerm' => 0,
487
  'searchConnector' => $search_defaults['search_connector'],
@@ -506,6 +511,7 @@ class MLAModal {
506
  * back to the server in the query['s'] field.
507
  */
508
  self::$mla_media_modal_settings['query']['initial']['filterMime'] = $initial_values['filterMime']; // post_mime_type 'image'; //
 
509
  self::$mla_media_modal_settings['query']['initial']['filterMonth'] = $initial_values['filterMonth']; // mla_filter_month '201404'; //
510
  self::$mla_media_modal_settings['query']['initial']['filterTerm'] = $initial_values['filterTerm']; // mla_filter_term '175'; //
511
  self::$mla_media_modal_settings['query']['initial']['searchConnector'] = $initial_values['searchConnector']; // mla_search_connector 'OR'; //
@@ -549,6 +555,8 @@ class MLAModal {
549
  * @return void
550
  */
551
  public static function mla_wp_enqueue_media_action( ) {
 
 
552
  /*
553
  * If we know what screen we're on we can test our enabling options
554
  */
@@ -568,7 +576,12 @@ class MLAModal {
568
 
569
  $suffix = defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ? '' : '.min';
570
 
571
- wp_register_style( self::JAVASCRIPT_MEDIA_MODAL_STYLES, MLA_PLUGIN_URL . 'css/mla-media-modal-style.css', false, MLA::CURRENT_MLA_VERSION );
 
 
 
 
 
572
  wp_enqueue_style( self::JAVASCRIPT_MEDIA_MODAL_STYLES );
573
 
574
  wp_enqueue_script( self::JAVASCRIPT_MEDIA_MODAL_SLUG, MLA_PLUGIN_URL . "js/mla-media-modal-scripts{$suffix}.js", array( 'media-views', 'wp-lists', 'suggest' ), MLA::CURRENT_MLA_VERSION, false );
@@ -1155,12 +1168,18 @@ class MLAModal {
1155
  * @return void
1156
  */
1157
  public static function mla_add_terms_search_scripts() {
 
1158
  static $add_the_scripts = true;
1159
 
1160
  $suffix = defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ? '' : '.min';
1161
 
1162
  if ( $add_the_scripts ) {
1163
- wp_register_style( MLA::STYLESHEET_SLUG . '-terms-search', MLA_PLUGIN_URL . 'css/mla-style-terms-search.css', false, MLA::CURRENT_MLA_VERSION );
 
 
 
 
 
1164
  wp_enqueue_style( MLA::STYLESHEET_SLUG . '-terms-search' );
1165
 
1166
  wp_enqueue_script( MLA::JAVASCRIPT_INLINE_EDIT_SLUG . '-terms-search', MLA_PLUGIN_URL . "js/mla-terms-search-scripts{$suffix}.js",
379
  //'termsSearch' => NULL,
380
  'searchClicks' => 0,
381
  ) ),
382
+ 'allMimeTypes' => array(),
383
+ 'uploadMimeTypes' => array(),
384
  'months' => '',
385
  'termsClass' => array(),
386
  'termsIndent' => '&nbsp;',
415
 
416
  self::$mla_media_modal_settings['comma'] = _x( ',', 'tag_delimiter', 'media-library-assistant' );
417
  self::$mla_media_modal_settings['ajaxNonce'] = wp_create_nonce( MLA::MLA_ADMIN_NONCE_ACTION, MLA::MLA_ADMIN_NONCE_NAME );
418
+ self::$mla_media_modal_settings['allMimeTypes'] = MLAMime::mla_pluck_table_views();
419
+ self::$mla_media_modal_settings['allMimeTypes']['detached'] = MLAOptions::$mla_option_definitions[ MLAOptions::MLA_POST_MIME_TYPES ]['std']['detached']['plural'];
420
+ self::$mla_media_modal_settings['allMimeTypes']['attached'] = MLAOptions::$mla_option_definitions[ MLAOptions::MLA_POST_MIME_TYPES ]['std']['attached']['plural'];
421
 
422
+ /*
423
+ * Trash items are allowed in the Media/Library Grid view
424
+ */
425
  if ( EMPTY_TRASH_DAYS && MEDIA_TRASH ) {
426
+ self::$mla_media_modal_settings['allMimeTypes']['trash'] = MLAOptions::$mla_option_definitions[ MLAOptions::MLA_POST_MIME_TYPES ]['std']['trash']['plural'];
427
  }
428
 
429
  self::$mla_media_modal_settings['months'] = self::_months_dropdown('attachment');
486
  $search_defaults = MLAOptions::mla_get_option( MLAOptions::MLA_SEARCH_MEDIA_FILTER_DEFAULTS );
487
  $initial_values = array(
488
  'filterMime' => 'all',
489
+ 'filterUploaded' => 'all',
490
  'filterMonth' => 0,
491
  'filterTerm' => 0,
492
  'searchConnector' => $search_defaults['search_connector'],
511
  * back to the server in the query['s'] field.
512
  */
513
  self::$mla_media_modal_settings['query']['initial']['filterMime'] = $initial_values['filterMime']; // post_mime_type 'image'; //
514
+ self::$mla_media_modal_settings['query']['initial']['filterUploaded'] = $initial_values['filterUploaded']; // post_mime_type 'image'; //
515
  self::$mla_media_modal_settings['query']['initial']['filterMonth'] = $initial_values['filterMonth']; // mla_filter_month '201404'; //
516
  self::$mla_media_modal_settings['query']['initial']['filterTerm'] = $initial_values['filterTerm']; // mla_filter_term '175'; //
517
  self::$mla_media_modal_settings['query']['initial']['searchConnector'] = $initial_values['searchConnector']; // mla_search_connector 'OR'; //
555
  * @return void
556
  */
557
  public static function mla_wp_enqueue_media_action( ) {
558
+ global $wp_locale;
559
+
560
  /*
561
  * If we know what screen we're on we can test our enabling options
562
  */
576
 
577
  $suffix = defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ? '' : '.min';
578
 
579
+ if ( $wp_locale->is_rtl() ) {
580
+ wp_register_style( self::JAVASCRIPT_MEDIA_MODAL_STYLES, MLA_PLUGIN_URL . 'css/mla-media-modal-style-rtl.css', false, MLA::CURRENT_MLA_VERSION );
581
+ } else {
582
+ wp_register_style( self::JAVASCRIPT_MEDIA_MODAL_STYLES, MLA_PLUGIN_URL . 'css/mla-media-modal-style.css', false, MLA::CURRENT_MLA_VERSION );
583
+ }
584
+
585
  wp_enqueue_style( self::JAVASCRIPT_MEDIA_MODAL_STYLES );
586
 
587
  wp_enqueue_script( self::JAVASCRIPT_MEDIA_MODAL_SLUG, MLA_PLUGIN_URL . "js/mla-media-modal-scripts{$suffix}.js", array( 'media-views', 'wp-lists', 'suggest' ), MLA::CURRENT_MLA_VERSION, false );
1168
  * @return void
1169
  */
1170
  public static function mla_add_terms_search_scripts() {
1171
+ global $wp_locale;
1172
  static $add_the_scripts = true;
1173
 
1174
  $suffix = defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ? '' : '.min';
1175
 
1176
  if ( $add_the_scripts ) {
1177
+ if ( $wp_locale->is_rtl() ) {
1178
+ wp_register_style( MLA::STYLESHEET_SLUG . '-terms-search', MLA_PLUGIN_URL . 'css/mla-style-terms-search-rtl.css', false, MLA::CURRENT_MLA_VERSION );
1179
+ } else {
1180
+ wp_register_style( MLA::STYLESHEET_SLUG . '-terms-search', MLA_PLUGIN_URL . 'css/mla-style-terms-search.css', false, MLA::CURRENT_MLA_VERSION );
1181
+ }
1182
+
1183
  wp_enqueue_style( MLA::STYLESHEET_SLUG . '-terms-search' );
1184
 
1185
  wp_enqueue_script( MLA::JAVASCRIPT_INLINE_EDIT_SLUG . '-terms-search', MLA_PLUGIN_URL . "js/mla-terms-search-scripts{$suffix}.js",
includes/class-mla-mime-types.php CHANGED
@@ -1667,7 +1667,7 @@ class MLAMime {
1667
  } else {
1668
  $image_info['width'] = 0;
1669
  }
1670
-
1671
  if ( isset( $image_info[1] ) ) {
1672
  $image_info['height'] = $image_info[1];
1673
  } else {
1667
  } else {
1668
  $image_info['width'] = 0;
1669
  }
1670
+
1671
  if ( isset( $image_info[1] ) ) {
1672
  $image_info['height'] = $image_info[1];
1673
  } else {
includes/class-mla-objects.php CHANGED
@@ -98,8 +98,8 @@ class MLAObjects {
98
  foreach ( $taxonomies as $tax_name ) {
99
  if ( MLAOptions::mla_taxonomy_support( $tax_name ) ) {
100
  register_taxonomy_for_object_type( $tax_name, 'attachment');
101
- add_filter( "manage_edit-{$tax_name}_columns", 'MLAObjects::mla_taxonomy_get_columns_filter', 10, 1 ); // $columns
102
- add_filter( "manage_{$tax_name}_custom_column", 'MLAObjects::mla_taxonomy_column_filter', 10, 3 ); // $place_holder, $column_name, $tag->term_id
103
  } // taxonomy support
104
  } // foreach
105
  } // _build_taxonomies
@@ -120,12 +120,19 @@ class MLAObjects {
120
  */
121
  if ( isset( $_POST['action'] ) && in_array( $_POST['action'], array( 'add-tag', 'inline-save-tax' ) ) ) {
122
  $post_type = !empty($_POST['post_type']) ? $_POST['post_type'] : 'post';
 
123
  } else {
124
  $screen = get_current_screen();
125
  $post_type = !empty( $screen->post_type ) ? $screen->post_type : 'post';
 
126
  }
127
 
128
  if ( 'attachment' == $post_type ) {
 
 
 
 
 
129
  if ( isset ( $columns[ 'posts' ] ) ) {
130
  unset( $columns[ 'posts' ] );
131
  }
@@ -142,18 +149,18 @@ class MLAObjects {
142
  *
143
  * @since 0.30
144
  *
145
- * @param string current column value; always ''
146
- * @param array name of the column
147
- * @param array ID of the term for which the count is desired
148
  *
149
  * @return array HTML markup for the column content; number of attachments in the category
150
  * and alink to retrieve a list of them
151
  */
152
- public static function mla_taxonomy_column_filter( $place_holder, $column_name, $term_id ) {
153
  static $taxonomy = NULL, $tax_object = NULL, $count_terms = false, $terms = array();
154
 
155
  /*
156
- * Do these setup tasks once per page load
157
  */
158
  if ( NULL == $taxonomy ) {
159
  /*
@@ -165,6 +172,30 @@ class MLAObjects {
165
  $screen = get_current_screen();
166
  $taxonomy = !empty( $screen->taxonomy ) ? $screen->taxonomy : 'post_tag';
167
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
168
 
169
  $tax_object = get_taxonomy( $taxonomy );
170
 
98
  foreach ( $taxonomies as $tax_name ) {
99
  if ( MLAOptions::mla_taxonomy_support( $tax_name ) ) {
100
  register_taxonomy_for_object_type( $tax_name, 'attachment');
101
+ add_filter( "manage_edit-{$tax_name}_columns", 'MLAObjects::mla_taxonomy_get_columns_filter', 0x7FFFFFFF, 1 ); // $columns
102
+ add_filter( "manage_{$tax_name}_custom_column", 'MLAObjects::mla_taxonomy_column_filter', 0x7FFFFFFF, 3 ); // $place_holder, $column_name, $tag->term_id
103
  } // taxonomy support
104
  } // foreach
105
  } // _build_taxonomies
120
  */
121
  if ( isset( $_POST['action'] ) && in_array( $_POST['action'], array( 'add-tag', 'inline-save-tax' ) ) ) {
122
  $post_type = !empty($_POST['post_type']) ? $_POST['post_type'] : 'post';
123
+ $taxonomy = !empty($_POST['taxonomy']) ? $_POST['taxonomy'] : 'post_tag';
124
  } else {
125
  $screen = get_current_screen();
126
  $post_type = !empty( $screen->post_type ) ? $screen->post_type : 'post';
127
+ $taxonomy = !empty( $screen->taxonomy ) ? $screen->taxonomy : 'post_tag';
128
  }
129
 
130
  if ( 'attachment' == $post_type ) {
131
+ $filter_columns = apply_filters( 'mla_taxonomy_get_columns', NULL, $columns, $taxonomy );
132
+ if ( ! empty( $filter_columns ) ) {
133
+ return $filter_columns;
134
+ }
135
+
136
  if ( isset ( $columns[ 'posts' ] ) ) {
137
  unset( $columns[ 'posts' ] );
138
  }
149
  *
150
  * @since 0.30
151
  *
152
+ * @param string current column value; filled in by earlier filter handlers
153
+ * @param string name of the column
154
+ * @param integer ID of the term for which the count is desired
155
  *
156
  * @return array HTML markup for the column content; number of attachments in the category
157
  * and alink to retrieve a list of them
158
  */
159
+ public static function mla_taxonomy_column_filter( $current_value, $column_name, $term_id ) {
160
  static $taxonomy = NULL, $tax_object = NULL, $count_terms = false, $terms = array();
161
 
162
  /*
163
+ * Do setup tasks once per page load
164
  */
165
  if ( NULL == $taxonomy ) {
166
  /*
172
  $screen = get_current_screen();
173
  $taxonomy = !empty( $screen->taxonomy ) ? $screen->taxonomy : 'post_tag';
174
  }
175
+ }
176
+
177
+ $filter_content = apply_filters( 'mla_taxonomy_column', NULL, $current_value, $column_name, $term_id, $taxonomy );
178
+ if ( ! empty( $filter_content ) ) {
179
+ return $filter_content;
180
+ }
181
+
182
+ if ( 'attachments' !== $column_name ) {
183
+ return $current_value;
184
+ }
185
+
186
+ /*
187
+ * Do setup tasks once per page load
188
+ */
189
+ if ( NULL == $tax_object ) {
190
+ /*
191
+ * Adding or inline-editing a tag is done with AJAX, and there's no current screen object
192
+ */
193
+ if ( defined('DOING_AJAX') && DOING_AJAX ) {
194
+ $taxonomy = !empty($_POST['taxonomy']) ? $_POST['taxonomy'] : 'post_tag';
195
+ } else {
196
+ $screen = get_current_screen();
197
+ $taxonomy = !empty( $screen->taxonomy ) ? $screen->taxonomy : 'post_tag';
198
+ }
199
 
200
  $tax_object = get_taxonomy( $taxonomy );
201
 
includes/class-mla-options.php CHANGED
@@ -151,6 +151,11 @@ class MLAOptions {
151
  */
152
  const MLA_ADD_NEW_BULK_EDIT = 'add_new_bulk_edit';
153
 
 
 
 
 
 
154
  /**
155
  * Provides a unique name for the Media Grid toolbar option, which
156
  * also controls the ATTACHMENT DETAILS enhancements
@@ -255,6 +260,21 @@ class MLAOptions {
255
  */
256
  const MLA_DEBUG_FILE = 'debug_file';
257
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
258
  /**
259
  * Option setting for "Featured in" reporting
260
  *
@@ -302,8 +322,8 @@ class MLAOptions {
302
  /**
303
  * $mla_option_definitions defines the database options and admin page areas for setting/updating them
304
  *
305
- * The array must be populated at runtime in MLAOptions::mla_localize_option_definitions_array(),
306
- * because Localization calls cannot be placed in the "public static" array definition itself.
307
  *
308
  * Each option is defined by an array with the following elements:
309
  *
@@ -425,8 +445,8 @@ class MLAOptions {
425
  /**
426
  * Localize $mla_option_definitions array
427
  *
428
- * Localization must be done at runtime, and these calls cannot be placed
429
- * in the "public static" array definition itself.
430
  *
431
  * @since 1.70
432
  *
@@ -725,6 +745,13 @@ class MLAOptions {
725
  'std' => 'checked',
726
  'help' => __( 'Check this option to enable the "Bulk Edit area" feature on the Media/Add New screen.', 'media-library-assistant' )),
727
 
 
 
 
 
 
 
 
728
  'media_modal_header' =>
729
  array('tab' => 'general',
730
  'name' => __( 'Media Manager/Media Grid Enhancements', 'media-library-assistant' ),
@@ -1281,6 +1308,29 @@ class MLAOptions {
1281
  'size' => 60,
1282
  'help' => __( 'Enter the name of an alternate, MLA-specific debug log file; leave blank to use the PHP error_log.', 'media-library-assistant' )),
1283
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1284
  /* Here are examples of the other option types
1285
  'textarea' =>
1286
  array('tab' => '',
151
  */
152
  const MLA_ADD_NEW_BULK_EDIT = 'add_new_bulk_edit';
153
 
154
+ /**
155
+ * Provides a unique name for the Media/Add New bulk edit "on top" option
156
+ */
157
+ const MLA_ADD_NEW_BULK_EDIT_ON_TOP = 'add_new_bulk_edit_on_top';
158
+
159
  /**
160
  * Provides a unique name for the Media Grid toolbar option, which
161
  * also controls the ATTACHMENT DETAILS enhancements
260
  */
261
  const MLA_DEBUG_FILE = 'debug_file';
262
 
263
+ /**
264
+ * Provides a unique name for the Debug replace PHP log file option
265
+ */
266
+ const MLA_DEBUG_REPLACE_PHP_LOG = 'debug_replace_php_log';
267
+
268
+ /**
269
+ * Provides a unique name for the Debug replace PHP error_reporting option
270
+ */
271
+ const MLA_DEBUG_REPLACE_PHP_REPORTING = 'debug_replace_php_reporting';
272
+
273
+ /**
274
+ * Provides a unique name for the Debug replace MLA_DEBUG_LEVEL option
275
+ */
276
+ const MLA_DEBUG_REPLACE_LEVEL = 'debug_replace_level';
277
+
278
  /**
279
  * Option setting for "Featured in" reporting
280
  *
322
  /**
323
  * $mla_option_definitions defines the database options and admin page areas for setting/updating them
324
  *
325
+ * The array must be populated at runtime in MLAOptions::mla_localize_option_definitions_array();
326
+ * localization calls cannot be placed in the "public static" array definition itself.
327
  *
328
  * Each option is defined by an array with the following elements:
329
  *
445
  /**
446
  * Localize $mla_option_definitions array
447
  *
448
+ * Localization must be done at runtime; these calls cannot be placed in the
449
+ * "public static" array definition itself. Called from MLATest::initialize.
450
  *
451
  * @since 1.70
452
  *
745
  'std' => 'checked',
746
  'help' => __( 'Check this option to enable the "Bulk Edit area" feature on the Media/Add New screen.', 'media-library-assistant' )),
747
 
748
+ self::MLA_ADD_NEW_BULK_EDIT_ON_TOP =>
749
+ array('tab' => 'general',
750
+ 'name' => __( '&quot;bulk edit&quot; area on top', 'media-library-assistant' ),
751
+ 'type' => 'checkbox',
752
+ 'std' => '',
753
+ 'help' => __( 'Check this option to move the "Bulk Edit area" to the top of the Media/Add New screen.', 'media-library-assistant' )),
754
+
755
  'media_modal_header' =>
756
  array('tab' => 'general',
757
  'name' => __( 'Media Manager/Media Grid Enhancements', 'media-library-assistant' ),
1308
  'size' => 60,
1309
  'help' => __( 'Enter the name of an alternate, MLA-specific debug log file; leave blank to use the PHP error_log.', 'media-library-assistant' )),
1310
 
1311
+ self::MLA_DEBUG_REPLACE_PHP_LOG =>
1312
+ array('tab' => 'debug',
1313
+ 'name' => __( 'Replace PHP error_log file', 'media-library-assistant' ),
1314
+ 'type' => 'checkbox',
1315
+ 'std' => '',
1316
+ 'help' => __( 'Check this option to replace the PHP error_log file with the MLA Debug File.<br>&nbsp;&nbsp;allows capture of PHP messages in the MLA Debug File.', 'media-library-assistant' )),
1317
+
1318
+ self::MLA_DEBUG_REPLACE_PHP_REPORTING =>
1319
+ array('tab' => 'debug',
1320
+ 'name' => __( 'PHP Reporting', 'media-library-assistant' ),
1321
+ 'type' => 'text',
1322
+ 'std' => '',
1323
+ 'size' => 10,
1324
+ 'help' => __( 'Enter a numeric error_reporting value, e.g., 0x7FFF or 32767; leave blank to use the existing PHP error_reporting value.', 'media-library-assistant' )),
1325
+
1326
+ self::MLA_DEBUG_REPLACE_LEVEL =>
1327
+ array('tab' => 'debug',
1328
+ 'name' => __( 'MLA Reporting', 'media-library-assistant' ),
1329
+ 'type' => 'text',
1330
+ 'std' => '',
1331
+ 'size' => 10,
1332
+ 'help' => __( 'Enter a numeric MLA_DEBUG_LEVEL value, e.g., 0x0003 or 3; leave blank to use the existing MLA_DEBUG_LEVEL value.', 'media-library-assistant' )),
1333
+
1334
  /* Here are examples of the other option types
1335
  'textarea' =>
1336
  array('tab' => '',
includes/class-mla-polylang-support.php CHANGED
@@ -67,6 +67,11 @@ class MLA_Polylang {
67
  */
68
  add_filter( 'attachment_fields_to_save', 'MLA_Polylang::attachment_fields_to_save', 10, 2 );
69
 
 
 
 
 
 
70
  /*
71
  * Defined in /media-library-assistant/includes/class-mla-media-modal.php
72
  */
@@ -101,6 +106,11 @@ class MLA_Polylang {
101
  add_filter( 'mla_list_table_build_rollover_actions', 'MLA_Polylang::mla_list_table_build_rollover_actions', 10, 3 );
102
  add_filter( 'mla_list_table_build_inline_data', 'MLA_Polylang::mla_list_table_build_inline_data', 10, 2 );
103
 
 
 
 
 
 
104
  /*
105
  * Defined in /media-library-assistant/includes/class-mla-settings.php
106
  */
@@ -318,7 +328,6 @@ class MLA_Polylang {
318
  }
319
  } // change language
320
  }
321
-
322
  }
323
 
324
  // Create an instance of our package class and echo the new HTML for all translations
@@ -405,10 +414,12 @@ class MLA_Polylang {
405
  * @param object post object of the new item
406
  * @param array an associative array of translations with language code as key and translation id as value
407
  */
408
- public static function pll_translate_media( $duplicated_attachment_id, $duplicated_attachment_object, $translations ) { //$attachment_id, $duplicated_attachment_id ) {
409
  global $polylang;
410
  static $already_adding = 0;
411
 
 
 
412
  if ( $already_adding == $duplicated_attachment_id ) {
413
  return;
414
  } else {
@@ -782,18 +793,10 @@ class MLA_Polylang {
782
  $taxonomy = get_taxonomy( $taxonomy_name );
783
  $input_terms = array();
784
  foreach ( $terms as $term ) {
785
- if ( $taxonomy->hierarchical ) {
786
- $input_terms[] = $term->term_id;
787
- } else {
788
- $input_terms[] = $term->name;
789
- }
790
- } // term
791
-
792
- if ( $taxonomy->hierarchical ) {
793
- $tax_inputs[ $taxonomy_name ] = $input_terms;
794
- } else {
795
- $tax_inputs[ $taxonomy_name ] = implode( ',', $input_terms );
796
  }
 
 
797
  } else {
798
  $tax_inputs[ $taxonomy_name ] = array();
799
  }
@@ -871,18 +874,10 @@ class MLA_Polylang {
871
  */
872
  $term_changes = array();
873
  foreach( $terms_after as $input_term ) {
874
- if ( $hierarchical ) {
875
- $term_changes[] = $input_term->term_id;
876
- } else {
877
- $term_changes[] = $input_term->name;
878
- }
879
- } // input_term
880
-
881
- if ( $hierarchical ) {
882
- self::$tax_input[ $language ][ $taxonomy ] = $term_changes;
883
- } else {
884
- self::$tax_input[ $language ][ $taxonomy ] = implode( ',', $term_changes );
885
  }
 
 
886
  } // language
887
 
888
  } // foreach taxonomy
@@ -935,12 +930,12 @@ class MLA_Polylang {
935
  */
936
  private static function _apply_synch_input( $language ) {
937
  global $polylang;
938
-
939
  // Make sure there IS a target translation
940
  if ( empty( self::$existing_terms[ $language ] ) ) {
941
  return false;
942
  }
943
-
944
  $source_language = self::$existing_terms['slug'];
945
  $taxonomies = $polylang->model->get_translated_taxonomies();
946
 
@@ -958,7 +953,7 @@ class MLA_Polylang {
958
  }
959
  }
960
  }
961
-
962
  /*
963
  * Find all destination terms with a source equivalent, record destination equivalent
964
  */
@@ -973,7 +968,7 @@ class MLA_Polylang {
973
  }
974
  }
975
  }
976
-
977
  /*
978
  * Remove terms in common, leaving new_terms => add, old_terms => remove
979
  */
@@ -1033,23 +1028,73 @@ class MLA_Polylang {
1033
  $taxonomy = get_taxonomy( $taxonomy_name );
1034
  $input_terms = array();
1035
  foreach ( $terms as $term ) {
1036
- if ( $taxonomy->hierarchical ) {
1037
- $input_terms[] = $term->term_id;
1038
- } else {
1039
- $input_terms[] = $term->name;
1040
- }
1041
- } // term
1042
-
1043
- if ( $taxonomy->hierarchical ) {
1044
- $tax_inputs[ $taxonomy_name ] = $input_terms;
1045
- } else {
1046
- $tax_inputs[ $taxonomy_name ] = implode( ',', $input_terms );
1047
  }
 
 
1048
  } // synch_inputs
1049
 
 
 
 
1050
  return $tax_inputs;
1051
  } // _apply_synch_input
1052
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1053
  /**
1054
  * Captures "before update" term assignments from the Media/Edit Media screen
1055
  *
@@ -1059,6 +1104,8 @@ class MLA_Polylang {
1059
  * @param array $attachment An array of attachment metadata.
1060
  */
1061
  public static function attachment_fields_to_save( $post, $attachment ) {
 
 
1062
  if ( 'editpost' == $post['action'] && 'attachment' == $post['post_type'] ) {
1063
  self::_build_existing_terms( $post['post_ID'] );
1064
  }
@@ -1077,8 +1124,10 @@ class MLA_Polylang {
1077
  public static function edit_attachment( $post_id ) {
1078
  static $already_updating = 0;
1079
 
 
 
1080
  /*
1081
- * mla_update_single_item eventually calls this action again
1082
  */
1083
  if ( $already_updating == $post_id ) {
1084
  return;
@@ -1089,44 +1138,23 @@ class MLA_Polylang {
1089
  /*
1090
  * Check for Bulk Edit during Add New Media
1091
  */
1092
- if ( is_array( self::$upload_bulk_edit_args ) ) {
1093
- if ( ! empty( self::$upload_bulk_edit_args['tax_input'] ) ) {
1094
- $tax_inputs = self::$upload_bulk_edit_args['tax_input'];
1095
  if ( 'checked' == MLAOptions::mla_get_option( 'term_assignment', false, false, MLA_Polylang::$mla_language_option_definitions ) ) {
1096
- self::_build_tax_input( $post_id, $tax_inputs, self::$upload_bulk_edit_args['tax_action'] );
1097
  $tax_inputs = self::_apply_tax_input( $post_id );
1098
  }
1099
  } else {
1100
  $tax_inputs = NULL;
1101
  }
1102
 
1103
- $updates = MLA::mla_prepare_bulk_edits( $post_id, self::$upload_bulk_edit_args, self::$upload_bulk_edit_map );
1104
  unset( $updates['tax_input'] );
1105
  unset( $updates['tax_action'] );
1106
 
1107
  MLAData::mla_update_single_item( $post_id, $updates, $tax_inputs );
1108
 
1109
- /*
1110
- * Synchronize the changes to all other translations - NOT NEEDED
1111
- */
1112
- if ( false && 'checked' == MLAOptions::mla_get_option( 'term_synchronization', false, false, MLA_Polylang::$mla_language_option_definitions ) ) {
1113
- foreach( self::$tax_input as $language => $tax_inputs ) {
1114
- /*
1115
- * Skip 'tax_input_post_id' and the language we've already updated
1116
- */
1117
- if ( ( ! isset( self::$existing_terms[ $language ] ) ) || ( self::$existing_terms[ 'slug' ] == $language ) ) {
1118
- continue;
1119
- }
1120
-
1121
- // Other translations have no existing terms, so we don't need _apply_synch_input()
1122
- $translation = self::$existing_terms[ $language ];
1123
- $tax_inputs = self::_apply_tax_input( $translation['element_id'], $language );
1124
- $already_updating = $translation['element_id']; // prevent recursion
1125
- MLAData::mla_update_single_item( $translation['element_id'], $updates, $tax_inputs );
1126
- $already_updating = $post_id;
1127
- } // translation
1128
- } // do synchronization
1129
-
1130
  return;
1131
  } // Upload New Media Bulk Edit
1132
 
@@ -1135,6 +1163,7 @@ class MLA_Polylang {
1135
  */
1136
  if ( ! ( isset( $_REQUEST['bulk_action'] ) && 'bulk_edit' == $_REQUEST['bulk_action'] ) ) {
1137
  /*
 
1138
  * The category taxonomy (edit screens) is a special case because
1139
  * post_categories_meta_box() changes the input name
1140
  */
@@ -1143,55 +1172,26 @@ class MLA_Polylang {
1143
  } else {
1144
  $tax_inputs = array();
1145
  }
1146
-
1147
  if ( isset( $_REQUEST['post_category'] ) ) {
1148
  $tax_inputs['category'] = $_REQUEST['post_category'];
1149
  }
1150
-
1151
  if ( isset( $_REQUEST['tax_action'] ) ) {
1152
  $tax_actions = $_REQUEST['tax_action'];
1153
  } else {
1154
  $tax_actions = NULL;
1155
  }
1156
-
1157
  if ( ( ! empty( $tax_inputs ) ) && ( 'checked' == MLAOptions::mla_get_option( 'term_assignment', false, false, MLA_Polylang::$mla_language_option_definitions ) ) ) {
1158
  self::_build_tax_input( $post_id, $tax_inputs, $tax_actions );
1159
  $tax_inputs = self::_apply_tax_input( $post_id );
1160
  }
1161
-
1162
  if ( ! empty( $tax_inputs ) ) {
1163
  MLAData::mla_update_single_item( $post_id, array(), $tax_inputs );
1164
  }
1165
- } // NOT Bulk Edit
1166
-
1167
- /*
1168
- * Synchronize the changes to all other translations
1169
- */
1170
- if ( 'checked' == MLAOptions::mla_get_option( 'term_synchronization', false, false, MLA_Polylang::$mla_language_option_definitions ) ) {
1171
-
1172
- /*
1173
- * Update terms because they have changed
1174
- */
1175
- $terms_before = self::_update_existing_terms( $post_id );
1176
-
1177
- // $tax_input is a convenient source of language codes; ignore $tax_inputs
1178
- foreach( self::$tax_input as $language => $tax_inputs ) {
1179
- /*
1180
- * Skip 'tax_input_post_id' and the language we've already updated
1181
- */
1182
- if ( ( ! isset( self::$existing_terms[ $language ] ) ) || ( self::$existing_terms[ 'slug' ] == $language ) ) {
1183
- continue;
1184
- }
1185
-
1186
- $tax_inputs = self::_apply_synch_input( $language );
1187
- if ( ! empty( $tax_inputs ) ) {
1188
- $translation = self::$existing_terms[ $language ]['element_id'];
1189
- $already_updating = $translation; // prevent recursion
1190
- MLAData::mla_update_single_item( $translation, array(), $tax_inputs );
1191
- $already_updating = $post_id;
1192
- }
1193
- } // translation
1194
- } // do synchronization
1195
  } // edit_attachment
1196
 
1197
  /**
@@ -1205,6 +1205,8 @@ class MLA_Polylang {
1205
  public static function mla_media_modal_begin_update_compat_fields( $post ) {
1206
  $post_id = $post->ID;
1207
 
 
 
1208
  // Accumulate for possible term_assignment or term_synchronization
1209
  self::_build_existing_terms( $post_id );
1210
  } // mla_media_modal_begin_update_compat_fields
@@ -1221,6 +1223,8 @@ class MLA_Polylang {
1221
  * @param integer current post ID
1222
  */
1223
  public static function mla_media_modal_update_compat_fields_terms( $terms, $key, $value, $post_id ) {
 
 
1224
  // Accumulate for possible term_assignment or term_synchronization
1225
  if ( $value->hierarchical ) {
1226
  $tax_inputs = array( $key => $terms );
@@ -1231,12 +1235,7 @@ class MLA_Polylang {
1231
  if ( 'checked' == MLAOptions::mla_get_option( 'term_assignment', false, false, MLA_Polylang::$mla_language_option_definitions ) ) {
1232
  self::_build_tax_input( $post_id, $tax_inputs );
1233
  $tax_inputs = self::_apply_tax_input( $post_id );
1234
-
1235
- if ( $value->hierarchical ) {
1236
- $terms = $tax_inputs[ $key ];
1237
- } else {
1238
- $terms = explode( ',', $tax_inputs[ $key ] );
1239
- }
1240
  } // term_assignment
1241
 
1242
  return $terms;
@@ -1253,32 +1252,12 @@ class MLA_Polylang {
1253
  * @param object current post object
1254
  */
1255
  public static function mla_media_modal_end_update_compat_fields( $results, $taxonomies, $post ) {
 
 
1256
  /*
1257
  * Synchronize the changes to all other translations
1258
  */
1259
- if ( 'checked' == MLAOptions::mla_get_option( 'term_synchronization', false, false, MLA_Polylang::$mla_language_option_definitions ) ) {
1260
-
1261
- /*
1262
- * Update terms because they have changed
1263
- */
1264
- $post_id = $post->ID;
1265
- $terms_before = self::_update_existing_terms( $post_id );
1266
-
1267
- // $tax_input is a convenient source of language codes; ignore $tax_inputs
1268
- foreach( self::$tax_input as $language => $tax_inputs ) {
1269
- /*
1270
- * Skip 'tax_input_post_id' and the language we've already updated
1271
- */
1272
- if ( ( ! isset( self::$existing_terms[ $language ] ) ) || ( self::$existing_terms[ 'slug' ] == $language ) ) {
1273
- continue;
1274
- }
1275
-
1276
- $tax_inputs = self::_apply_synch_input( $language );
1277
- if ( ! empty( $tax_inputs ) ) {
1278
- MLAData::mla_update_single_item( self::$existing_terms[ $language ]['element_id'], array(), $tax_inputs );
1279
- }
1280
- } // translation
1281
- } // do synchronization
1282
 
1283
  return $results;
1284
  } // mla_media_modal_end_update_compat_fields
@@ -1299,7 +1278,16 @@ class MLA_Polylang {
1299
  public static function mla_list_table_inline_action( $item_content, $post_id ) {
1300
  global $polylang;
1301
 
 
 
1302
  self::_build_existing_terms( $post_id );
 
 
 
 
 
 
 
1303
 
1304
  // Language dropdown in Quick Edit area
1305
  if ( isset( $_REQUEST['inline_lang_choice'] ) ) {
@@ -1324,7 +1312,7 @@ class MLA_Polylang {
1324
  } // mla_list_table_inline_action
1325
 
1326
  /**
1327
- * Captures the Bulk Edit parameters during "Upload New Media"
1328
  *
1329
  * @since 2.11
1330
  *
@@ -1335,34 +1323,31 @@ class MLA_Polylang {
1335
  * @return array updated bulk action request parameters
1336
  */
1337
  public static function mla_list_table_bulk_action_initial_request( $request, $bulk_action, $custom_field_map ) {
1338
- if ( 'edit' == $bulk_action ) {
1339
- // Check for Bulk Edit processing during Upload New Media
1340
- if ( ( NULL == self::$upload_bulk_edit_args ) && ! empty( $_REQUEST['mlaAddNewBulkEdit']['formString'] ) ) {
1341
- self::$upload_bulk_edit_args = $request;
1342
- self::$upload_bulk_edit_map = $custom_field_map;
1343
- }
1344
- }
1345
 
1346
  return $request;
1347
  } // mla_list_table_bulk_action_initial_request
1348
 
1349
  /**
1350
- * Custom Field Map during "Upload New Media"
1351
  *
1352
  * @since 2.11
1353
  *
1354
  * @var array [ id ] => field name
1355
  */
1356
- private static $upload_bulk_edit_map = NULL;
1357
 
1358
  /**
1359
- * Bulk Edit parameters during "Upload New Media"
1360
  *
1361
  * @since 2.11
1362
  *
1363
  * @var array [ field ] => new value
1364
  */
1365
- private static $upload_bulk_edit_args = NULL;
1366
 
1367
  /**
1368
  * Converts Bulk Edit taxonomy inputs to language-specific values
@@ -1377,11 +1362,16 @@ class MLA_Polylang {
1377
  * @return array updated bulk action request parameters
1378
  */
1379
  public static function mla_list_table_bulk_action_item_request( $request, $bulk_action, $post_id, $custom_field_map ) {
1380
- if ( 'edit' == $bulk_action && ( ! empty( $request['tax_input'] ) ) && ( 'checked' == MLAOptions::mla_get_option( 'term_assignment', false, false, MLA_Polylang::$mla_language_option_definitions ) ) ) {
 
 
 
 
 
1381
  self::_build_existing_terms( $post_id );
1382
- self::_build_tax_input( $post_id, $request['tax_input'], $request['tax_action'] );
1383
  $request['tax_input'] = self::_apply_tax_input( $post_id );
1384
- foreach( $request['tax_action'] as $taxonomy => $action ) {
1385
  // _apply_tax_input changes a remove to a replace
1386
  if ( 'remove' == $action ) {
1387
  $request['tax_action'][ $taxonomy ] = 'replace';
@@ -1389,14 +1379,22 @@ class MLA_Polylang {
1389
  }
1390
  }
1391
 
1392
- MLA::mla_debug_add( "MLA_Polylang::bulk_action_item_request( {$post_id} ) \$request['tax_input'] = " . var_export( $request['tax_input'], true ), MLA::MLA_DEBUG_CATEGORY_AJAX );
1393
- MLA::mla_debug_add( "MLA_Polylang::bulk_action_item_request( {$post_id} ) \$request['tax_action'] = " . var_export( $request['tax_action'], true ), MLA::MLA_DEBUG_CATEGORY_AJAX );
 
 
 
 
 
 
 
 
 
 
1394
  return $request;
1395
  } // mla_list_table_bulk_action_item_request
1396
 
1397
  /**
1398
- * Process an MLA_List_Table bulk action
1399
- *
1400
  * Sets the new item language from the Language dropdown selection.
1401
  *
1402
  * @since 2.11
@@ -1412,6 +1410,8 @@ class MLA_Polylang {
1412
  public static function mla_list_table_bulk_action( $item_content, $bulk_action, $post_id ) {
1413
  global $polylang;
1414
 
 
 
1415
  // Language dropdown in Bulk Edit area
1416
  if ( isset( $_POST['inline_lang_choice'] ) && ( '-1' != $_POST['inline_lang_choice'] ) ) {
1417
  $post = get_post( $post_id );
@@ -1438,8 +1438,6 @@ class MLA_Polylang {
1438
  private static $bulk_action_includes = array();
1439
 
1440
  /**
1441
- * Process an MLA_List_Table custom bulk action
1442
- *
1443
  * Creates new items from the "Bulk Translate" list.
1444
  *
1445
  * @since 2.11
@@ -1454,6 +1452,8 @@ class MLA_Polylang {
1454
  public static function mla_list_table_custom_bulk_action( $item_content, $bulk_action, $post_id ) {
1455
  global $polylang;
1456
 
 
 
1457
  if ( 'pll-translate' == $bulk_action ) {
1458
  $translations = array();
1459
  if ( isset( $_REQUEST['bulk_tr_languages'] ) ) {
@@ -1515,8 +1515,9 @@ class MLA_Polylang {
1515
  /**
1516
  * MLA_List_Table inline edit item values
1517
  *
1518
- * Builds the Language dropdown and edit translation links
1519
- * for the Quick and Bulk Edit forms.
 
1520
  *
1521
  * @since 2.11
1522
  *
@@ -1550,6 +1551,7 @@ class MLA_Polylang {
1550
  $actions = "<input name=\"inline_translations\" type=\"hidden\" value=\"\">\n";
1551
  $actions .= "<input name=\"pll_quick_language\" type=\"hidden\" value=\"\">\n";
1552
  $actions .= "<input name=\"pll_quick_id\" type=\"hidden\" value=\"\">\n";
 
1553
  $actions .= "<label class=\"alignleft\" style=\"clear: both;\">\n<span class=\"title\">Translate</span>\n";
1554
  $actions .= "<table class=\"pll-media-action-table\">\n";
1555
  foreach ($polylang->model->get_languages_list() as $language) {
@@ -1905,6 +1907,7 @@ class MLA_Polylang {
1905
  * @return string updated fields for inline data.
1906
  */
1907
  public static function mla_list_table_inline_fields( $fields ) {
 
1908
  $fields[] = 'old_lang';
1909
  $fields[] = 'inline_lang_choice';
1910
  $fields[] = 'inline_translations';
@@ -1929,22 +1932,39 @@ class MLA_Polylang {
1929
 
1930
  $item_id = $item->ID;
1931
  $old_lang = $polylang->model->get_post_language( $item_id );
 
 
1932
  if ( isset( $old_lang->slug ) ) {
1933
  $old_lang = $old_lang->slug;
 
1934
  } else {
1935
  $old_lang = '';
1936
  }
1937
 
1938
- $translations = $polylang->model->get_translations( 'post', $item_id );
1939
- $translations[ $old_lang ] = $item_id;
1940
  $translations = json_encode( $translations );
1941
 
 
1942
  $inline_data .= "\n\t<div class=\"old_lang\">{$old_lang}</div>";
1943
  $inline_data .= "\n\t<div class=\"inline_lang_choice\">{$old_lang}</div>";
1944
  $inline_data .= "\n\t<div class=\"inline_translations\">{$translations}</div>";
1945
 
1946
  return $inline_data;
1947
- } // mla_list_table_build_inline_data_filter
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1948
 
1949
  /**
1950
  * Adds the "Language" tab to the Settings/Media Library Assistant list
@@ -2056,7 +2076,7 @@ class MLA_Polylang {
2056
  public static function mla_render_language_tab() {
2057
  $page_content = array(
2058
  'message' => '',
2059
- 'body' => '<h3>Language</h3>'
2060
  );
2061
 
2062
  /*
67
  */
68
  add_filter( 'attachment_fields_to_save', 'MLA_Polylang::attachment_fields_to_save', 10, 2 );
69
 
70
+ /*
71
+ * Defined in /media-library-assistant/includes/class-mla-data.php
72
+ */
73
+ add_action( 'mla_updated_single_item', 'MLA_Polylang::mla_updated_single_item', 10, 2 );
74
+
75
  /*
76
  * Defined in /media-library-assistant/includes/class-mla-media-modal.php
77
  */
106
  add_filter( 'mla_list_table_build_rollover_actions', 'MLA_Polylang::mla_list_table_build_rollover_actions', 10, 3 );
107
  add_filter( 'mla_list_table_build_inline_data', 'MLA_Polylang::mla_list_table_build_inline_data', 10, 2 );
108
 
109
+ /*
110
+ * Defined in /media-library-assistant/includes/class-mla-objects.php
111
+ */
112
+ //add_filter( 'mla_taxonomy_get_columns', 'MLA_Polylang::mla_taxonomy_get_columns', 10, 3 );
113
+
114
  /*
115
  * Defined in /media-library-assistant/includes/class-mla-settings.php
116
  */
328
  }
329
  } // change language
330
  }
 
331
  }
332
 
333
  // Create an instance of our package class and echo the new HTML for all translations
414
  * @param object post object of the new item
415
  * @param array an associative array of translations with language code as key and translation id as value
416
  */
417
+ public static function pll_translate_media( $duplicated_attachment_id, $duplicated_attachment_object, $translations ) {
418
  global $polylang;
419
  static $already_adding = 0;
420
 
421
+ MLA::mla_debug_add( __LINE__ . " MLA_Polylang::pll_translate_media( {$duplicated_attachment_id} ) translations = " . var_export( $translations, true ), MLA::MLA_DEBUG_CATEGORY_LANGUAGE );
422
+
423
  if ( $already_adding == $duplicated_attachment_id ) {
424
  return;
425
  } else {
793
  $taxonomy = get_taxonomy( $taxonomy_name );
794
  $input_terms = array();
795
  foreach ( $terms as $term ) {
796
+ $input_terms[] = $term->term_id;
 
 
 
 
 
 
 
 
 
 
797
  }
798
+
799
+ $tax_inputs[ $taxonomy_name ] = $input_terms;
800
  } else {
801
  $tax_inputs[ $taxonomy_name ] = array();
802
  }
874
  */
875
  $term_changes = array();
876
  foreach( $terms_after as $input_term ) {
877
+ $term_changes[] = $input_term->term_id;
 
 
 
 
 
 
 
 
 
 
878
  }
879
+
880
+ self::$tax_input[ $language ][ $taxonomy ] = $term_changes;
881
  } // language
882
 
883
  } // foreach taxonomy
930
  */
931
  private static function _apply_synch_input( $language ) {
932
  global $polylang;
933
+
934
  // Make sure there IS a target translation
935
  if ( empty( self::$existing_terms[ $language ] ) ) {
936
  return false;
937
  }
938
+
939
  $source_language = self::$existing_terms['slug'];
940
  $taxonomies = $polylang->model->get_translated_taxonomies();
941
 
953
  }
954
  }
955
  }
956
+
957
  /*
958
  * Find all destination terms with a source equivalent, record destination equivalent
959
  */
968
  }
969
  }
970
  }
971
+
972
  /*
973
  * Remove terms in common, leaving new_terms => add, old_terms => remove
974
  */
1028
  $taxonomy = get_taxonomy( $taxonomy_name );
1029
  $input_terms = array();
1030
  foreach ( $terms as $term ) {
1031
+ $input_terms[] = $term->term_id;
 
 
 
 
 
 
 
 
 
 
1032
  }
1033
+
1034
+ $tax_inputs[ $taxonomy_name ] = $input_terms;
1035
  } // synch_inputs
1036
 
1037
+ $post_id = self::$existing_terms[ $language ]['element_id'];
1038
+ MLA::mla_debug_add( "MLA_Polylang::_apply_synch_input( {$post_id} ) \$language = " . var_export( $language, true ), MLA::MLA_DEBUG_CATEGORY_AJAX );
1039
+ MLA::mla_debug_add( "MLA_Polylang::_apply_synch_input( {$post_id} ) \$tax_inputs = " . var_export( $tax_inputs, true ), MLA::MLA_DEBUG_CATEGORY_AJAX );
1040
  return $tax_inputs;
1041
  } // _apply_synch_input
1042
 
1043
+ /**
1044
+ * Apply Term Synchronization
1045
+ *
1046
+ * @since 2.15
1047
+ * @uses MLA_Polylang::$existing_terms
1048
+ *
1049
+ * @param integer $post_id the item we're synchronizing to
1050
+ *
1051
+ * @return array $tax_inputs for Term Synchronization
1052
+ */
1053
+ private static function _apply_term_synchronization( $post_id ) {
1054
+ if ( 'checked' == MLAOptions::mla_get_option( 'term_synchronization', false, false, MLA_Polylang::$mla_language_option_definitions ) ) {
1055
+
1056
+ /*
1057
+ * Update terms because they have changed
1058
+ */
1059
+ $terms_before = self::_update_existing_terms( $post_id );
1060
+
1061
+ // $tax_input is a convenient source of language codes; ignore $tax_inputs
1062
+ foreach( self::$tax_input as $language => $tax_inputs ) {
1063
+ /*
1064
+ * Skip the language we've already updated
1065
+ */
1066
+ if ( ( ! isset( self::$existing_terms[ $language ] ) ) || ( self::$existing_terms[ 'slug' ] == $language ) ) {
1067
+ continue;
1068
+ }
1069
+
1070
+ $tax_inputs = self::_apply_synch_input( $language );
1071
+ if ( ! empty( $tax_inputs ) ) {
1072
+ $translation = self::$existing_terms[ $language ]['element_id'];
1073
+ MLAData::mla_update_single_item( $translation, array(), $tax_inputs );
1074
+ }
1075
+ } // translation
1076
+ } // do synchronization
1077
+ }
1078
+
1079
+ /**
1080
+ * Applies Term Synchronization after item updates
1081
+ *
1082
+ * @since 2.15
1083
+ *
1084
+ * @param integer $post_id ID of the item that was updated.
1085
+ * @param integer $result Zero if the update failed else ID of the item that was updated.
1086
+ */
1087
+ public static function mla_updated_single_item( $post_id, $result ) {
1088
+ MLA::mla_debug_add( __LINE__ . " MLA_Polylang::mla_updated_single_item( {$post_id}, {$result} )", MLA::MLA_DEBUG_CATEGORY_LANGUAGE );
1089
+
1090
+ if ( self::$existing_terms['element_id'] == $post_id ) {
1091
+ /*
1092
+ * Synchronize the changes to all other translations
1093
+ */
1094
+ self::_apply_term_synchronization( $post_id );
1095
+ }
1096
+ }
1097
+
1098
  /**
1099
  * Captures "before update" term assignments from the Media/Edit Media screen
1100
  *
1104
  * @param array $attachment An array of attachment metadata.
1105
  */
1106
  public static function attachment_fields_to_save( $post, $attachment ) {
1107
+ MLA::mla_debug_add( __LINE__ . " MLA_Polylang::attachment_fields_to_save post = " . var_export( $post, true ), MLA::MLA_DEBUG_CATEGORY_LANGUAGE );
1108
+
1109
  if ( 'editpost' == $post['action'] && 'attachment' == $post['post_type'] ) {
1110
  self::_build_existing_terms( $post['post_ID'] );
1111
  }
1124
  public static function edit_attachment( $post_id ) {
1125
  static $already_updating = 0;
1126
 
1127
+ MLA::mla_debug_add( __LINE__ . " MLA_Polylang::edit_attachment( {$post_id} ) _REQUEST = " . var_export( $_REQUEST, true ), MLA::MLA_DEBUG_CATEGORY_LANGUAGE );
1128
+
1129
  /*
1130
+ * mla_update_single_item may call this action again
1131
  */
1132
  if ( $already_updating == $post_id ) {
1133
  return;
1138
  /*
1139
  * Check for Bulk Edit during Add New Media
1140
  */
1141
+ if ( ! empty( $_REQUEST['mlaAddNewBulkEditFormString'] ) ) {
1142
+ if ( ! empty( self::$bulk_edit_request['tax_input'] ) ) {
1143
+ $tax_inputs = self::$bulk_edit_request['tax_input'];
1144
  if ( 'checked' == MLAOptions::mla_get_option( 'term_assignment', false, false, MLA_Polylang::$mla_language_option_definitions ) ) {
1145
+ self::_build_tax_input( $post_id, $tax_inputs, self::$bulk_edit_request['tax_action'] );
1146
  $tax_inputs = self::_apply_tax_input( $post_id );
1147
  }
1148
  } else {
1149
  $tax_inputs = NULL;
1150
  }
1151
 
1152
+ $updates = MLA::mla_prepare_bulk_edits( $post_id, self::$bulk_edit_request, self::$bulk_edit_map );
1153
  unset( $updates['tax_input'] );
1154
  unset( $updates['tax_action'] );
1155
 
1156
  MLAData::mla_update_single_item( $post_id, $updates, $tax_inputs );
1157
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1158
  return;
1159
  } // Upload New Media Bulk Edit
1160
 
1163
  */
1164
  if ( ! ( isset( $_REQUEST['bulk_action'] ) && 'bulk_edit' == $_REQUEST['bulk_action'] ) ) {
1165
  /*
1166
+ * This is the Media/Edit Media screen.
1167
  * The category taxonomy (edit screens) is a special case because
1168
  * post_categories_meta_box() changes the input name
1169
  */
1172
  } else {
1173
  $tax_inputs = array();
1174
  }
1175
+
1176
  if ( isset( $_REQUEST['post_category'] ) ) {
1177
  $tax_inputs['category'] = $_REQUEST['post_category'];
1178
  }
1179
+
1180
  if ( isset( $_REQUEST['tax_action'] ) ) {
1181
  $tax_actions = $_REQUEST['tax_action'];
1182
  } else {
1183
  $tax_actions = NULL;
1184
  }
1185
+
1186
  if ( ( ! empty( $tax_inputs ) ) && ( 'checked' == MLAOptions::mla_get_option( 'term_assignment', false, false, MLA_Polylang::$mla_language_option_definitions ) ) ) {
1187
  self::_build_tax_input( $post_id, $tax_inputs, $tax_actions );
1188
  $tax_inputs = self::_apply_tax_input( $post_id );
1189
  }
1190
+
1191
  if ( ! empty( $tax_inputs ) ) {
1192
  MLAData::mla_update_single_item( $post_id, array(), $tax_inputs );
1193
  }
1194
+ } // Media/Edit Media screen, NOT Bulk Edit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1195
  } // edit_attachment
1196
 
1197
  /**
1205
  public static function mla_media_modal_begin_update_compat_fields( $post ) {
1206
  $post_id = $post->ID;
1207
 
1208
+ MLA::mla_debug_add( __LINE__ . " MLA_Polylang::mla_media_modal_begin_update_compat_fields( {$post_id} ) post = " . var_export( $post, true ), MLA::MLA_DEBUG_CATEGORY_LANGUAGE );
1209
+
1210
  // Accumulate for possible term_assignment or term_synchronization
1211
  self::_build_existing_terms( $post_id );
1212
  } // mla_media_modal_begin_update_compat_fields
1223
  * @param integer current post ID
1224
  */
1225
  public static function mla_media_modal_update_compat_fields_terms( $terms, $key, $value, $post_id ) {
1226
+ MLA::mla_debug_add( __LINE__ . " MLA_Polylang::mla_media_modal_update_compat_fields_terms( {$key}, {$post_id} ) terms = " . var_export( $terms, true ), MLA::MLA_DEBUG_CATEGORY_LANGUAGE );
1227
+
1228
  // Accumulate for possible term_assignment or term_synchronization
1229
  if ( $value->hierarchical ) {
1230
  $tax_inputs = array( $key => $terms );
1235
  if ( 'checked' == MLAOptions::mla_get_option( 'term_assignment', false, false, MLA_Polylang::$mla_language_option_definitions ) ) {
1236
  self::_build_tax_input( $post_id, $tax_inputs );
1237
  $tax_inputs = self::_apply_tax_input( $post_id );
1238
+ $terms = $tax_inputs[ $key ];
 
 
 
 
 
1239
  } // term_assignment
1240
 
1241
  return $terms;
1252
  * @param object current post object
1253
  */
1254
  public static function mla_media_modal_end_update_compat_fields( $results, $taxonomies, $post ) {
1255
+ MLA::mla_debug_add( __LINE__ . " MLA_Polylang::mla_media_modal_end_update_compat_fields( {$post->ID} ) taxonomies = " . var_export( $taxonomies, true ), MLA::MLA_DEBUG_CATEGORY_LANGUAGE );
1256
+
1257
  /*
1258
  * Synchronize the changes to all other translations
1259
  */
1260
+ self::_apply_term_synchronization( $post->ID );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1261
 
1262
  return $results;
1263
  } // mla_media_modal_end_update_compat_fields
1278
  public static function mla_list_table_inline_action( $item_content, $post_id ) {
1279
  global $polylang;
1280
 
1281
+ MLA::mla_debug_add( __LINE__ . " MLA_Polylang::mla_list_table_inline_action( {$post_id} )", MLA::MLA_DEBUG_CATEGORY_LANGUAGE );
1282
+
1283
  self::_build_existing_terms( $post_id );
1284
+ if ( isset( $_REQUEST['action'] ) && 'mla-inline-edit-scripts' === $_REQUEST['action'] && isset( $_REQUEST['tax_input'] ) ) {
1285
+ MLA::mla_debug_add( "MLA_Polylang::mla_list_table_inline_action( {$post_id} ) Quick Edit initial \$_REQUEST['tax_input'] = " . var_export( $_REQUEST['tax_input'], true ), MLA::MLA_DEBUG_CATEGORY_AJAX );
1286
+ // Quick Edit calls update_single_item right after this filter
1287
+ self::_build_tax_input( $post_id, $_REQUEST['tax_input'] );
1288
+ $_REQUEST['tax_input'] = self::_apply_tax_input( $post_id );
1289
+ MLA::mla_debug_add( "MLA_Polylang::mla_list_table_inline_action( {$post_id} ) Quick Edit final \$_REQUEST['tax_input'] = " . var_export( $_REQUEST['tax_input'], true ), MLA::MLA_DEBUG_CATEGORY_AJAX );
1290
+ }
1291
 
1292
  // Language dropdown in Quick Edit area
1293
  if ( isset( $_REQUEST['inline_lang_choice'] ) ) {
1312
  } // mla_list_table_inline_action
1313
 
1314
  /**
1315
+ * Captures the Bulk Edit, "Upload New Media" parameters
1316
  *
1317
  * @since 2.11
1318
  *
1323
  * @return array updated bulk action request parameters
1324
  */
1325
  public static function mla_list_table_bulk_action_initial_request( $request, $bulk_action, $custom_field_map ) {
1326
+ MLA::mla_debug_add( __LINE__ . " MLA_Polylang::mla_list_table_bulk_action_initial_request( {$bulk_action} ) request = " . var_export( $request, true ), MLA::MLA_DEBUG_CATEGORY_LANGUAGE );
1327
+
1328
+ self::$bulk_edit_request = $request;
1329
+ self::$bulk_edit_map = $custom_field_map;
 
 
 
1330
 
1331
  return $request;
1332
  } // mla_list_table_bulk_action_initial_request
1333
 
1334
  /**
1335
+ * Custom Field Map during Bulk Edit, "Upload New Media"
1336
  *
1337
  * @since 2.11
1338
  *
1339
  * @var array [ id ] => field name
1340
  */
1341
+ private static $bulk_edit_map = NULL;
1342
 
1343
  /**
1344
+ * Bulk Edit parameters during Bulk Edit, "Upload New Media"
1345
  *
1346
  * @since 2.11
1347
  *
1348
  * @var array [ field ] => new value
1349
  */
1350
+ private static $bulk_edit_request = NULL;
1351
 
1352
  /**
1353
  * Converts Bulk Edit taxonomy inputs to language-specific values
1362
  * @return array updated bulk action request parameters
1363
  */
1364
  public static function mla_list_table_bulk_action_item_request( $request, $bulk_action, $post_id, $custom_field_map ) {
1365
+ MLA::mla_debug_add( __LINE__ . " MLA_Polylang::mla_list_table_bulk_action_item_request( {$post_id} ) request = " . var_export( $request, true ), MLA::MLA_DEBUG_CATEGORY_LANGUAGE );
1366
+
1367
+ /*
1368
+ * Note that $request may be modified by previous items, so we must return to the initial vlues
1369
+ */
1370
+ if ( 'edit' == $bulk_action && ( ! empty( self::$bulk_edit_request['tax_input'] ) ) && ( 'checked' == MLAOptions::mla_get_option( 'term_assignment', false, false, MLA_Polylang::$mla_language_option_definitions ) ) ) {
1371
  self::_build_existing_terms( $post_id );
1372
+ self::_build_tax_input( $post_id, self::$bulk_edit_request['tax_input'], $request['tax_action'] );
1373
  $request['tax_input'] = self::_apply_tax_input( $post_id );
1374
+ foreach( self::$bulk_edit_request['tax_action'] as $taxonomy => $action ) {
1375
  // _apply_tax_input changes a remove to a replace
1376
  if ( 'remove' == $action ) {
1377
  $request['tax_action'][ $taxonomy ] = 'replace';
1379
  }
1380
  }
1381
 
1382
+ if ( isset( $request['tax_input'] ) ) {
1383
+ MLA::mla_debug_add( "MLA_Polylang::bulk_action_item_request( {$bulk_action}, {$post_id} ) \$request['tax_input'] = " . var_export( $request['tax_input'], true ), MLA::MLA_DEBUG_CATEGORY_AJAX );
1384
+ } else {
1385
+ MLA::mla_debug_add( "MLA_Polylang::bulk_action_item_request( {$bulk_action}, {$post_id} ) \$request['tax_input'] NOT SET", MLA::MLA_DEBUG_CATEGORY_AJAX );
1386
+ }
1387
+
1388
+ if ( isset( $request['tax_action'] ) ) {
1389
+ MLA::mla_debug_add( "MLA_Polylang::bulk_action_item_request( {$bulk_action}, {$post_id} ) \$request['tax_action'] = " . var_export( $request['tax_action'], true ), MLA::MLA_DEBUG_CATEGORY_AJAX );
1390
+ } else {
1391
+ MLA::mla_debug_add( "MLA_Polylang::bulk_action_item_request( {$bulk_action}, {$post_id} ) \$request['tax_action'] NOT SET", MLA::MLA_DEBUG_CATEGORY_AJAX );
1392
+ }
1393
+
1394
  return $request;
1395
  } // mla_list_table_bulk_action_item_request
1396
 
1397
  /**
 
 
1398
  * Sets the new item language from the Language dropdown selection.
1399
  *
1400
  * @since 2.11
1410
  public static function mla_list_table_bulk_action( $item_content, $bulk_action, $post_id ) {
1411
  global $polylang;
1412
 
1413
+ MLA::mla_debug_add( __LINE__ . " MLA_Polylang::mla_list_table_bulk_action( {$bulk_action}, {$post_id} )", MLA::MLA_DEBUG_CATEGORY_LANGUAGE );
1414
+
1415
  // Language dropdown in Bulk Edit area
1416
  if ( isset( $_POST['inline_lang_choice'] ) && ( '-1' != $_POST['inline_lang_choice'] ) ) {
1417
  $post = get_post( $post_id );
1438
  private static $bulk_action_includes = array();
1439
 
1440
  /**
 
 
1441
  * Creates new items from the "Bulk Translate" list.
1442
  *
1443
  * @since 2.11
1452
  public static function mla_list_table_custom_bulk_action( $item_content, $bulk_action, $post_id ) {
1453
  global $polylang;
1454
 
1455
+ MLA::mla_debug_add( __LINE__ . " MLA_Polylang::mla_list_table_bulk_action_item_request( {$bulk_action}, {$post_id} )", MLA::MLA_DEBUG_CATEGORY_LANGUAGE );
1456
+
1457
  if ( 'pll-translate' == $bulk_action ) {
1458
  $translations = array();
1459
  if ( isset( $_REQUEST['bulk_tr_languages'] ) ) {
1515
  /**
1516
  * MLA_List_Table inline edit item values
1517
  *
1518
+ * Builds the Language dropdown and edit translation links for the
1519
+ * Quick and Bulk Edit forms, adding them to the 'custom_fields'
1520
+ * and 'bulk_custom_fields' substitution parameters.
1521
  *
1522
  * @since 2.11
1523
  *
1551
  $actions = "<input name=\"inline_translations\" type=\"hidden\" value=\"\">\n";
1552
  $actions .= "<input name=\"pll_quick_language\" type=\"hidden\" value=\"\">\n";
1553
  $actions .= "<input name=\"pll_quick_id\" type=\"hidden\" value=\"\">\n";
1554
+ $actions .= "<input name=\"lang\" type=\"hidden\" value=\"\">\n";
1555
  $actions .= "<label class=\"alignleft\" style=\"clear: both;\">\n<span class=\"title\">Translate</span>\n";
1556
  $actions .= "<table class=\"pll-media-action-table\">\n";
1557
  foreach ($polylang->model->get_languages_list() as $language) {
1907
  * @return string updated fields for inline data.
1908
  */
1909
  public static function mla_list_table_inline_fields( $fields ) {
1910
+ $fields[] = 'lang';
1911
  $fields[] = 'old_lang';
1912
  $fields[] = 'inline_lang_choice';
1913
  $fields[] = 'inline_translations';
1932
 
1933
  $item_id = $item->ID;
1934
  $old_lang = $polylang->model->get_post_language( $item_id );
1935
+ $translations = $polylang->model->get_translations( 'post', $item_id );
1936
+
1937
  if ( isset( $old_lang->slug ) ) {
1938
  $old_lang = $old_lang->slug;
1939
+ $translations[ $old_lang ] = $item_id;
1940
  } else {
1941
  $old_lang = '';
1942
  }
1943
 
 
 
1944
  $translations = json_encode( $translations );
1945
 
1946
+ $inline_data .= "\n\t<div class=\"lang\">{$old_lang}</div>";
1947
  $inline_data .= "\n\t<div class=\"old_lang\">{$old_lang}</div>";
1948
  $inline_data .= "\n\t<div class=\"inline_lang_choice\">{$old_lang}</div>";
1949
  $inline_data .= "\n\t<div class=\"inline_translations\">{$translations}</div>";
1950
 
1951
  return $inline_data;
1952
+ } // mla_list_table_build_inline_data
1953
+
1954
+ /**
1955
+ * Not used in this version of the plugin
1956
+ *
1957
+ * @since 2.15
1958
+ *
1959
+ * @param NULL NULL to indicate no changes to the default processing.
1960
+ * @param array Column definitions for the edit taxonomy list table.
1961
+ * @param string Slug of the taxonomy for this submenu.
1962
+ *
1963
+ * @return array NULL or replacement columns array.
1964
+ */
1965
+ public static function mla_taxonomy_get_columns( $filter_columns, $columns, $taxonomy ) {
1966
+ return $filter_columns;
1967
+ }
1968
 
1969
  /**
1970
  * Adds the "Language" tab to the Settings/Media Library Assistant list
2076
  public static function mla_render_language_tab() {
2077
  $page_content = array(
2078
  'message' => '',
2079
+ 'body' => '<h2>' . __( 'Language', 'media-library-assistant' ) . '</h2>'
2080
  );
2081
 
2082
  /*
includes/class-mla-settings.php CHANGED
@@ -337,7 +337,7 @@ class MLASettings {
337
  * @return void
338
  */
339
  public static function mla_admin_enqueue_scripts_action( $page_hook ) {
340
- global $wpdb;
341
 
342
  /*
343
  * Without a tab value, there's nothing to do
@@ -346,7 +346,12 @@ class MLASettings {
346
  return;
347
  }
348
 
349
- wp_register_style( MLA::STYLESHEET_SLUG, MLA_PLUGIN_URL . 'css/mla-style.css', false, MLA::CURRENT_MLA_VERSION );
 
 
 
 
 
350
  wp_enqueue_style( MLA::STYLESHEET_SLUG );
351
 
352
  /*
@@ -1225,8 +1230,8 @@ class MLASettings {
1225
  * render => rendering function for tab messages and content. Usage:
1226
  * $tab_content = ['render']( );
1227
  *
1228
- * The array must be populated at runtime in MLASettings::mla_localize_tablist(),
1229
- * because Localization calls cannot be placed in the "public static" array definition itself.
1230
  *
1231
  * @since 0.80
1232
  *
@@ -1237,8 +1242,8 @@ class MLASettings {
1237
  /**
1238
  * Localize $mla_tablist array
1239
  *
1240
- * Localization must be done at runtime, and these calls cannot be placed
1241
- * in the "public static" array definition itself.
1242
  *
1243
  * @since 1.70
1244
  *
@@ -1371,7 +1376,6 @@ class MLASettings {
1371
  'form_url' => admin_url( 'options-general.php' ) . '?page=mla-settings-menu-general&mla_tab=general',
1372
  'options_list' => '',
1373
  'import_settings' => '',
1374
- 'donateURL' => MLA_PLUGIN_URL . 'images/DonateButton.jpg',
1375
  );
1376
 
1377
  /*
@@ -1763,7 +1767,7 @@ class MLASettings {
1763
  'settingsURL' => admin_url('options-general.php'),
1764
  'form_url' => admin_url( 'options-general.php' ) . '?page=mla-settings-menu-view&mla_tab=view',
1765
  '_wpnonce' => wp_nonce_field( MLA::MLA_ADMIN_NONCE_ACTION, MLA::MLA_ADMIN_NONCE_NAME, true, false ),
1766
- 'results' => ! empty( $_REQUEST['s'] ) ? '<h3 style="float:left">' . __( 'Displaying search results for', 'media-library-assistant' ) . ': "' . $_REQUEST['s'] . '"</h3>' : '',
1767
  'Search Views' => __( 'Search Views', 'media-library-assistant' ),
1768
  's' => isset( $_REQUEST['s'] ) ? $_REQUEST['s'] : '',
1769
  'options_list' => $options_list,
@@ -1952,7 +1956,7 @@ class MLASettings {
1952
  'form_url' => admin_url( 'options-general.php' ) . '?page=mla-settings-menu-upload&mla_tab=upload',
1953
  '_wpnonce' => wp_nonce_field( MLA::MLA_ADMIN_NONCE_ACTION, MLA::MLA_ADMIN_NONCE_NAME, true, false ),
1954
  'Known File Extension' => __( 'Known File Extension/MIME Type Associations', 'media-library-assistant' ),
1955
- 'results' => ! empty( $_REQUEST['s'] ) ? '<br>&nbsp;<br>' . __( 'Displaying search results for', 'media-library-assistant' ) . ': "' . $_REQUEST['s'] . '"' : '',
1956
  'Search Known MIME' => __( 'Search Known MIME Types', 'media-library-assistant' ),
1957
  's' => isset( $_REQUEST['s'] ) ? $_REQUEST['s'] : '',
1958
  'To search by' => __( 'To search by extension, use ".", e.g., ".doc"', 'media-library-assistant' ),
@@ -2258,7 +2262,7 @@ class MLASettings {
2258
  'Status' => __( 'Status', 'media-library-assistant' ),
2259
  'No Change' => __( 'No Change', 'media-library-assistant' ),
2260
  'Active' => __( 'Active', 'media-library-assistant' ),
2261
- 'results' => ! empty( $_REQUEST['s'] ) ? '<h3 style="float:left">' . __( 'Displaying search results for', 'media-library-assistant' ) . ': "' . $_REQUEST['s'] . '"</h3>' : '',
2262
  's' => isset( $_REQUEST['s'] ) ? $_REQUEST['s'] : '',
2263
  'icon_types' => self::mla_get_icon_type_dropdown( $page_template_array, 'mla_upload_item[icon_type]' ),
2264
  'inline_icon_types' => self::mla_get_icon_type_dropdown( $page_template_array, 'icon_type' ),
@@ -3025,7 +3029,7 @@ class MLASettings {
3025
  );
3026
 
3027
  $page_values = array();
3028
-
3029
  /*
3030
  * Saving the options can change the log file name, so do it first
3031
  */
@@ -3033,7 +3037,7 @@ class MLASettings {
3033
  check_admin_referer( MLA::MLA_ADMIN_NONCE_ACTION, MLA::MLA_ADMIN_NONCE_NAME );
3034
  $page_content = self::_save_debug_settings();
3035
  }
3036
-
3037
  /*
3038
  * Find the appropriate error log file
3039
  */
@@ -3045,10 +3049,10 @@ class MLASettings {
3045
  if ( ( '/' != $first ) && ( '\\' != $first ) ) {
3046
  $error_log_name = '/' . $error_log_name;
3047
  }
3048
-
3049
  $error_log_name = WP_CONTENT_DIR . $error_log_name;
3050
  }
3051
-
3052
  $error_log_exists = file_exists ( $error_log_name );
3053
 
3054
  /*
@@ -3090,13 +3094,23 @@ class MLASettings {
3090
  }
3091
  }
3092
 
 
 
 
 
 
 
 
 
 
3093
  if ( $error_log_exists ) {
3094
  /*
3095
  * Add debug content
3096
  */
3097
  $display_limit = absint( MLAOptions::mla_get_option( MLAOptions::MLA_DEBUG_DISPLAY_LIMIT ) );
 
 
3098
  if ( 0 < $display_limit ) {
3099
- $error_log_size = filesize( $error_log_name );
3100
  if ( $display_limit < $error_log_size ) {
3101
  $error_log_contents = @file_get_contents( $error_log_name, false, NULL, ( $error_log_size - $display_limit ), $display_limit );
3102
  } else {
@@ -3127,7 +3141,8 @@ class MLASettings {
3127
  /* translators: 1: file name */
3128
  $page_content['message'] = sprintf( __( 'Error log file (%1$s) not found; click Reset to create it.', 'media-library-assistant' ), $error_log_name );
3129
  }
3130
-
 
3131
  $error_log_contents = '';
3132
  } // file_exists
3133
 
@@ -3151,16 +3166,19 @@ class MLASettings {
3151
  $reset_link = '<a class="button-secondary" href="' . add_query_arg( $args, wp_nonce_url( 'options-general.php', MLA::MLA_ADMIN_NONCE_ACTION, MLA::MLA_ADMIN_NONCE_NAME ) ) . '" title="' . __( 'Reset', 'media-library-assistant' ) . ' &#8220;' . __( 'Error Log', 'media-library-assistant' ) . '&#8221;">' . __( 'Reset', 'media-library-assistant' ) . '</a>';
3152
  }
3153
 
3154
- /*
3155
- * Gather the Debug Settings
3156
- */
3157
- $settings_list = self::_compose_settings_row( 'MLA_DEBUG_LEVEL', sprintf( '0x%1$04X', MLA_DEBUG_LEVEL ) );
3158
- $settings_list .= self::_compose_settings_row( 'PHP error_reporting', sprintf( '0x%1$04X', ini_get( 'error_reporting' ) ) );
3159
- $settings_list .= self::_compose_settings_row( 'PHP error_log', ini_get( 'error_log' ) );
3160
- $settings_list .= self::_compose_settings_row( 'WP_DEBUG', WP_DEBUG ? 'true' : 'false' );
3161
- $settings_list .= self::_compose_settings_row( 'WP_DEBUG_LOG', WP_DEBUG_LOG ? 'true' : 'false' );
3162
- $settings_list .= self::_compose_settings_row( 'WP_DEBUG_DISPLAY', WP_DEBUG_DISPLAY ? 'true' : 'false' );
3163
- $settings_list .= self::_compose_settings_row( 'WP_CONTENT_DIR', WP_CONTENT_DIR );
 
 
 
3164
 
3165
  /*
3166
  * Compose tab content
@@ -3173,6 +3191,7 @@ class MLASettings {
3173
  'settings_list' => $settings_list,
3174
  'Error Log' => __( 'Error Log', 'media-library-assistant' ),
3175
  'Error Log Name' => $error_log_name,
 
3176
  'error_log_text' => $error_log_contents,
3177
  'download_link' => $download_link,
3178
  'reset_link' => $reset_link,
@@ -3209,7 +3228,7 @@ class MLASettings {
3209
  $current_tab_slug = isset( $_REQUEST['mla_tab'] ) ? $_REQUEST['mla_tab']: 'general';
3210
  $current_tab = self::mla_get_options_tablist( $current_tab_slug );
3211
  $page_values = array(
3212
- 'donateURL' => MLA_PLUGIN_URL . 'images/DonateButton.jpg',
3213
  'Donate' => __( 'Donate', 'media-library-assistant' ),
3214
  'version' => 'v' . MLA::CURRENT_MLA_VERSION,
3215
  'development' => $development_version,
@@ -3226,7 +3245,6 @@ class MLASettings {
3226
  if ( $current_tab ) {
3227
  if ( isset( $current_tab['render'] ) ) {
3228
  $handler = $current_tab['render'];
3229
- // $page_content = self::$handler( );
3230
  $page_content = call_user_func( $handler );
3231
  } else {
3232
  $page_content = array( 'message' => __( 'ERROR', 'media-library-assistant' ) . ': ' . __( 'Cannot render content tab', 'media-library-assistant' ), 'body' => '' );
337
  * @return void
338
  */
339
  public static function mla_admin_enqueue_scripts_action( $page_hook ) {
340
+ global $wpdb, $wp_locale;
341
 
342
  /*
343
  * Without a tab value, there's nothing to do
346
  return;
347
  }
348
 
349
+ if ( $wp_locale->is_rtl() ) {
350
+ wp_register_style( MLA::STYLESHEET_SLUG, MLA_PLUGIN_URL . 'css/mla-style-rtl.css', false, MLA::CURRENT_MLA_VERSION );
351
+ } else {
352
+ wp_register_style( MLA::STYLESHEET_SLUG, MLA_PLUGIN_URL . 'css/mla-style.css', false, MLA::CURRENT_MLA_VERSION );
353
+ }
354
+
355
  wp_enqueue_style( MLA::STYLESHEET_SLUG );
356
 
357
  /*
1230
  * render => rendering function for tab messages and content. Usage:
1231
  * $tab_content = ['render']( );
1232
  *
1233
+ * The array must be populated at runtime in MLASettings::mla_localize_tablist();
1234
+ * localization calls cannot be placed in the "public static" array definition itself.
1235
  *
1236
  * @since 0.80
1237
  *
1242
  /**
1243
  * Localize $mla_tablist array
1244
  *
1245
+ * Localization must be done at runtime; these calls cannot be placed in the
1246
+ * "public static" array definition itself. Called from MLATest::initialize.
1247
  *
1248
  * @since 1.70
1249
  *
1376
  'form_url' => admin_url( 'options-general.php' ) . '?page=mla-settings-menu-general&mla_tab=general',
1377
  'options_list' => '',
1378
  'import_settings' => '',
 
1379
  );
1380
 
1381
  /*
1767
  'settingsURL' => admin_url('options-general.php'),
1768
  'form_url' => admin_url( 'options-general.php' ) . '?page=mla-settings-menu-view&mla_tab=view',
1769
  '_wpnonce' => wp_nonce_field( MLA::MLA_ADMIN_NONCE_ACTION, MLA::MLA_ADMIN_NONCE_NAME, true, false ),
1770
+ 'results' => ! empty( $_REQUEST['s'] ) ? '<h2 class="alignleft">' . __( 'Displaying search results for', 'media-library-assistant' ) . ': "' . $_REQUEST['s'] . '"</h2>' : '',
1771
  'Search Views' => __( 'Search Views', 'media-library-assistant' ),
1772
  's' => isset( $_REQUEST['s'] ) ? $_REQUEST['s'] : '',
1773
  'options_list' => $options_list,
1956
  'form_url' => admin_url( 'options-general.php' ) . '?page=mla-settings-menu-upload&mla_tab=upload',
1957
  '_wpnonce' => wp_nonce_field( MLA::MLA_ADMIN_NONCE_ACTION, MLA::MLA_ADMIN_NONCE_NAME, true, false ),
1958
  'Known File Extension' => __( 'Known File Extension/MIME Type Associations', 'media-library-assistant' ),
1959
+ 'results' => ! empty( $_REQUEST['s'] ) ? '<h2 class="alignleft">' . __( 'Displaying search results for', 'media-library-assistant' ) . ': "' . $_REQUEST['s'] . '"</h2>' : '',
1960
  'Search Known MIME' => __( 'Search Known MIME Types', 'media-library-assistant' ),
1961
  's' => isset( $_REQUEST['s'] ) ? $_REQUEST['s'] : '',
1962
  'To search by' => __( 'To search by extension, use ".", e.g., ".doc"', 'media-library-assistant' ),
2262
  'Status' => __( 'Status', 'media-library-assistant' ),
2263
  'No Change' => __( 'No Change', 'media-library-assistant' ),
2264
  'Active' => __( 'Active', 'media-library-assistant' ),
2265
+ 'results' => ! empty( $_REQUEST['s'] ) ? '<h2 class="alignleft">' . __( 'Displaying search results for', 'media-library-assistant' ) . ': "' . $_REQUEST['s'] . '"</h2>' : '',
2266
  's' => isset( $_REQUEST['s'] ) ? $_REQUEST['s'] : '',
2267
  'icon_types' => self::mla_get_icon_type_dropdown( $page_template_array, 'mla_upload_item[icon_type]' ),
2268
  'inline_icon_types' => self::mla_get_icon_type_dropdown( $page_template_array, 'icon_type' ),
3029
  );
3030
 
3031
  $page_values = array();
3032
+
3033
  /*
3034
  * Saving the options can change the log file name, so do it first
3035
  */
3037
  check_admin_referer( MLA::MLA_ADMIN_NONCE_ACTION, MLA::MLA_ADMIN_NONCE_NAME );
3038
  $page_content = self::_save_debug_settings();
3039
  }
3040
+
3041
  /*
3042
  * Find the appropriate error log file
3043
  */
3049
  if ( ( '/' != $first ) && ( '\\' != $first ) ) {
3050
  $error_log_name = '/' . $error_log_name;
3051
  }
3052
+
3053
  $error_log_name = WP_CONTENT_DIR . $error_log_name;
3054
  }
3055
+
3056
  $error_log_exists = file_exists ( $error_log_name );
3057
 
3058
  /*
3094
  }
3095
  }
3096
 
3097
+ /*
3098
+ * Gather Debug Settings
3099
+ */
3100
+ $display_limit = MLAOptions::mla_get_option( MLAOptions::MLA_DEBUG_DISPLAY_LIMIT );
3101
+ $debug_file = MLAOptions::mla_get_option( MLAOptions::MLA_DEBUG_FILE );
3102
+ $replace_php = MLAOptions::mla_get_option( MLAOptions::MLA_DEBUG_REPLACE_PHP_LOG );
3103
+ $php_reporting = MLAOptions::mla_get_option( MLAOptions::MLA_DEBUG_REPLACE_PHP_REPORTING );
3104
+ $mla_reporting = MLAOptions::mla_get_option( MLAOptions::MLA_DEBUG_REPLACE_LEVEL );
3105
+
3106
  if ( $error_log_exists ) {
3107
  /*
3108
  * Add debug content
3109
  */
3110
  $display_limit = absint( MLAOptions::mla_get_option( MLAOptions::MLA_DEBUG_DISPLAY_LIMIT ) );
3111
+ $error_log_size = filesize( $error_log_name );
3112
+
3113
  if ( 0 < $display_limit ) {
 
3114
  if ( $display_limit < $error_log_size ) {
3115
  $error_log_contents = @file_get_contents( $error_log_name, false, NULL, ( $error_log_size - $display_limit ), $display_limit );
3116
  } else {
3141
  /* translators: 1: file name */
3142
  $page_content['message'] = sprintf( __( 'Error log file (%1$s) not found; click Reset to create it.', 'media-library-assistant' ), $error_log_name );
3143
  }
3144
+
3145
+ $error_log_size = 0;
3146
  $error_log_contents = '';
3147
  } // file_exists
3148
 
3166
  $reset_link = '<a class="button-secondary" href="' . add_query_arg( $args, wp_nonce_url( 'options-general.php', MLA::MLA_ADMIN_NONCE_ACTION, MLA::MLA_ADMIN_NONCE_NAME ) ) . '" title="' . __( 'Reset', 'media-library-assistant' ) . ' &#8220;' . __( 'Error Log', 'media-library-assistant' ) . '&#8221;">' . __( 'Reset', 'media-library-assistant' ) . '</a>';
3167
  }
3168
 
3169
+ $settings_list = self::_compose_settings_row( 'Display Limit', $display_limit );
3170
+ $settings_list .= self::_compose_settings_row( 'Debug File', $debug_file );
3171
+ $settings_list .= self::_compose_settings_row( 'Replace PHP log', $replace_php );
3172
+ $settings_list .= self::_compose_settings_row( 'PHP Reporting', $php_reporting );
3173
+ $settings_list .= self::_compose_settings_row( 'MLA Reporting', $mla_reporting );
3174
+ $settings_list .= self::_compose_settings_row( 'MLA_DEBUG_LEVEL', sprintf( '0x%1$04X', MLA_DEBUG_LEVEL ) );
3175
+ $settings_list .= self::_compose_settings_row( 'PHP error_reporting', MLA::$original_php_reporting );
3176
+ $settings_list .= self::_compose_settings_row( 'Old PHP error_log', MLA::$original_php_log );
3177
+ $settings_list .= self::_compose_settings_row( 'New PHP error_log', ini_get( 'error_log' ) );
3178
+ $settings_list .= self::_compose_settings_row( 'WP_DEBUG', WP_DEBUG ? 'true' : 'false' );
3179
+ $settings_list .= self::_compose_settings_row( 'WP_DEBUG_LOG', WP_DEBUG_LOG ? 'true' : 'false' );
3180
+ $settings_list .= self::_compose_settings_row( 'WP_DEBUG_DISPLAY', WP_DEBUG_DISPLAY ? 'true' : 'false' );
3181
+ $settings_list .= self::_compose_settings_row( 'WP_CONTENT_DIR', WP_CONTENT_DIR );
3182
 
3183
  /*
3184
  * Compose tab content
3191
  'settings_list' => $settings_list,
3192
  'Error Log' => __( 'Error Log', 'media-library-assistant' ),
3193
  'Error Log Name' => $error_log_name,
3194
+ 'Error Log Size' => number_format( (float) $error_log_size ),
3195
  'error_log_text' => $error_log_contents,
3196
  'download_link' => $download_link,
3197
  'reset_link' => $reset_link,
3228
  $current_tab_slug = isset( $_REQUEST['mla_tab'] ) ? $_REQUEST['mla_tab']: 'general';
3229
  $current_tab = self::mla_get_options_tablist( $current_tab_slug );
3230
  $page_values = array(
3231
+ 'Support Our Work' => __( 'Support Our Work', 'media-library-assistant' ),
3232
  'Donate' => __( 'Donate', 'media-library-assistant' ),
3233
  'version' => 'v' . MLA::CURRENT_MLA_VERSION,
3234
  'development' => $development_version,
3245
  if ( $current_tab ) {
3246
  if ( isset( $current_tab['render'] ) ) {
3247
  $handler = $current_tab['render'];
 
3248
  $page_content = call_user_func( $handler );
3249
  } else {
3250
  $page_content = array( 'message' => __( 'ERROR', 'media-library-assistant' ) . ': ' . __( 'Cannot render content tab', 'media-library-assistant' ), 'body' => '' );
includes/class-mla-thumbnail-generation.php CHANGED
@@ -72,13 +72,20 @@ class MLA_Thumbnail {
72
  * @return void
73
  */
74
  public static function admin_enqueue_scripts( $page_hook ) {
 
 
75
  $suffix = defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ? '' : '.min';
76
 
77
  if ( 'media_page_mla-menu' != $page_hook ) {
78
  return;
79
  }
80
 
81
- wp_register_style( 'mla-thumbnail-generation', MLA_PLUGIN_URL . 'css/mla-thumbnail-generation.css', false, MLA::CURRENT_MLA_VERSION );
 
 
 
 
 
82
  wp_enqueue_style( 'mla-thumbnail-generation' );
83
 
84
  wp_enqueue_script( 'mla-thumbnail-generation-scripts', MLA_PLUGIN_URL . "js/mla-thumbnail-generation-scripts{$suffix}.js",
72
  * @return void
73
  */
74
  public static function admin_enqueue_scripts( $page_hook ) {
75
+ global $wp_locale;
76
+
77
  $suffix = defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ? '' : '.min';
78
 
79
  if ( 'media_page_mla-menu' != $page_hook ) {
80
  return;
81
  }
82
 
83
+ if ( $wp_locale->is_rtl() ) {
84
+ wp_register_style( 'mla-thumbnail-generation', MLA_PLUGIN_URL . 'css/mla-thumbnail-generation-rtl.css', false, MLA::CURRENT_MLA_VERSION );
85
+ } else {
86
+ wp_register_style( 'mla-thumbnail-generation', MLA_PLUGIN_URL . 'css/mla-thumbnail-generation.css', false, MLA::CURRENT_MLA_VERSION );
87
+ }
88
+
89
  wp_enqueue_style( 'mla-thumbnail-generation' );
90
 
91
  wp_enqueue_script( 'mla-thumbnail-generation-scripts', MLA_PLUGIN_URL . "js/mla-thumbnail-generation-scripts{$suffix}.js",
includes/class-mla-upload-list-table.php CHANGED
@@ -160,14 +160,14 @@ class MLA_Upload_List_Table extends WP_List_Table {
160
  if ( MLATest::$wp_4dot3_plus ) {
161
  unset( self::$default_columns['icon'] );
162
  }
163
-
164
  return self::$default_columns;
165
  }
166
 
167
  /**
168
  * Builds the $default_columns array with translated source texts.
169
  *
170
- * Called from MLA:mla_plugins_loaded_action because the $default_columns information might be
171
  * accessed from "front end" posts/pages.
172
  *
173
  * @since 1.71
@@ -202,7 +202,7 @@ class MLA_Upload_List_Table extends WP_List_Table {
202
  public static function mla_admin_print_styles_action() {
203
  if ( MLATest::$wp_4dot3_plus ) {
204
  echo "<style type='text/css'>\n";
205
-
206
  // Any icon_type will do
207
  $image_info = MLAMime::mla_get_icon_type_size( 'image' );
208
 
160
  if ( MLATest::$wp_4dot3_plus ) {
161
  unset( self::$default_columns['icon'] );
162
  }
163
+
164
  return self::$default_columns;
165
  }
166
 
167
  /**
168
  * Builds the $default_columns array with translated source texts.
169
  *
170
+ * Called from MLATest::initialize because the $default_columns information might be
171
  * accessed from "front end" posts/pages.
172
  *
173
  * @since 1.71
202
  public static function mla_admin_print_styles_action() {
203
  if ( MLATest::$wp_4dot3_plus ) {
204
  echo "<style type='text/css'>\n";
205
+
206
  // Any icon_type will do
207
  $image_info = MLAMime::mla_get_icon_type_size( 'image' );
208
 
includes/class-mla-upload-optional-list-table.php CHANGED
@@ -151,7 +151,7 @@ class MLA_Upload_Optional_List_Table extends WP_List_Table {
151
  /**
152
  * Builds the $default_columns array with translated source texts.
153
  *
154
- * Called from MLA:mla_plugins_loaded_action because the $default_columns information might be
155
  * accessed from "front end" posts/pages.
156
  *
157
  * @since 1.71
151
  /**
152
  * Builds the $default_columns array with translated source texts.
153
  *
154
+ * Called from MLATest::initialize because the $default_columns information might be
155
  * accessed from "front end" posts/pages.
156
  *
157
  * @since 1.71
includes/class-mla-view-list-table.php CHANGED
@@ -156,7 +156,7 @@ class MLA_View_List_Table extends WP_List_Table {
156
  /**
157
  * Builds the $default_columns array with translated source texts.
158
  *
159
- * Called from MLA:mla_plugins_loaded_action because the $default_columns information might be
160
  * accessed from "front end" posts/pages.
161
  *
162
  * @since 1.71
156
  /**
157
  * Builds the $default_columns array with translated source texts.
158
  *
159
+ * Called from MLATest::initialize because the $default_columns information might be
160
  * accessed from "front end" posts/pages.
161
  *
162
  * @since 1.71
includes/class-mla-wpml-support.php CHANGED
@@ -59,6 +59,11 @@ class MLA_WPML {
59
  */
60
  add_filter( 'attachment_fields_to_save', 'MLA_WPML::attachment_fields_to_save', 10, 2 );
61
 
 
 
 
 
 
62
  /*
63
  * Defined in /media-library-assistant/includes/class-mla-media-modal.php
64
  */
@@ -162,6 +167,37 @@ class MLA_WPML {
162
  add_action( 'admin_print_styles', 'MLA_WPML_Table::mla_list_table_add_icl_styles' );
163
  }
164
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
165
  /*
166
  * Localize $mla_language_option_definitions array
167
  */
@@ -179,6 +215,8 @@ class MLA_WPML {
179
  public static function mla_media_modal_begin_update_compat_fields( $post ) {
180
  $post_id = $post->ID;
181
 
 
 
182
  // Accumulate for possible term_assignment or term_synchronization
183
  self::_build_existing_terms( $post_id );
184
  } // mla_media_modal_begin_update_compat_fields
@@ -195,6 +233,8 @@ class MLA_WPML {
195
  * @param integer current post ID
196
  */
197
  public static function mla_media_modal_update_compat_fields_terms( $terms, $key, $value, $post_id ) {
 
 
198
  // Accumulate for possible term_assignment or term_synchronization
199
  if ( $value->hierarchical ) {
200
  $tax_inputs = array( $key => $terms );
@@ -205,12 +245,7 @@ class MLA_WPML {
205
  if ( 'checked' == MLAOptions::mla_get_option( 'term_assignment', false, false, MLA_WPML::$mla_language_option_definitions ) ) {
206
  self::_build_tax_input( $post_id, $tax_inputs );
207
  $tax_inputs = self::_apply_tax_input( $post_id );
208
-
209
- if ( $value->hierarchical ) {
210
- $terms = $tax_inputs[ $key ];
211
- } else {
212
- $terms = explode( ',', $tax_inputs[ $key ] );
213
- }
214
  } // term_assignment
215
 
216
  return $terms;
@@ -227,32 +262,12 @@ class MLA_WPML {
227
  * @param object current post object
228
  */
229
  public static function mla_media_modal_end_update_compat_fields( $results, $taxonomies, $post ) {
 
 
230
  /*
231
  * Synchronize the changes to all other translations
232
  */
233
- if ( 'checked' == MLAOptions::mla_get_option( 'term_synchronization', false, false, MLA_WPML::$mla_language_option_definitions ) ) {
234
-
235
- /*
236
- * Update terms because they have changed
237
- */
238
- $post_id = $post->ID;
239
- $terms_before = self::_update_existing_terms( $post_id );
240
-
241
- // $tax_input is a convenient source of language codes; ignore $tax_inputs
242
- foreach( self::$tax_input as $language => $tax_inputs ) {
243
- /*
244
- * Skip ['tax_input_post_id'] and the language we've already updated
245
- */
246
- if ( ( ! isset( self::$existing_terms[ $language ] ) ) || ( self::$existing_terms['language_code'] == $language ) ) {
247
- continue;
248
- }
249
-
250
- $tax_inputs = self::_apply_synch_input( $language );
251
- if ( ! empty( $tax_inputs ) ) {
252
- MLAData::mla_update_single_item( self::$existing_terms[ $language ]['element_id'], array(), $tax_inputs );
253
- }
254
- } // translation
255
- } // do synchronization
256
 
257
  return $results;
258
  } // mla_media_modal_end_update_compat_fields
@@ -272,6 +287,8 @@ class MLA_WPML {
272
  public static function mla_list_table_inline_action( $item_content, $post_id ) {
273
  global $sitepress;
274
 
 
 
275
  // WPML does not preserve the current language for the Quick Edit Ajax action
276
  $referer = wp_get_referer();
277
  if ( $referer ) {
@@ -282,12 +299,19 @@ class MLA_WPML {
282
  }
283
 
284
  self::_build_existing_terms( $post_id );
 
 
 
 
 
 
 
285
 
286
  return $item_content;
287
  } // mla_list_table_inline_action
288
 
289
  /**
290
- * Captures the Bulk Edit parameters during "Upload New Media"
291
  *
292
  * @since 2.11
293
  *
@@ -298,32 +322,34 @@ class MLA_WPML {
298
  * @return array updated bulk action request parameters
299
  */
300
  public static function mla_list_table_bulk_action_initial_request( $request, $bulk_action, $custom_field_map ) {
 
 
301
  /*
302
  * Check for Bulk Edit processing during Upload New Media
303
  */
304
- if ( ( NULL == self::$upload_bulk_edit_args ) && ( 'edit' == $bulk_action ) && ! empty( $_REQUEST['mlaAddNewBulkEdit']['formString'] ) ) {
305
  /*
306
  * Suppress WPML processing in wpml-media.class.php function save_attachment_actions,
307
  * which wipes out attachment meta data.
308
  */
309
  global $action;
310
  $action = 'upload-plugin';
311
-
312
- self::$upload_bulk_edit_args = $request;
313
- self::$upload_bulk_edit_map = $custom_field_map;
314
  }
315
 
 
 
 
316
  return $request;
317
  } // mla_list_table_bulk_action_initial_request
318
 
319
  /**
320
- * Custom Field Map during "Upload New Media"
321
  *
322
  * @since 2.11
323
  *
324
  * @var array [ id ] => field name
325
  */
326
- private static $upload_bulk_edit_map = NULL;
327
 
328
  /**
329
  * Bulk Edit parameters during "Upload New Media"
@@ -332,7 +358,7 @@ class MLA_WPML {
332
  *
333
  * @var array [ field ] => new value
334
  */
335
- private static $upload_bulk_edit_args = NULL;
336
 
337
  /**
338
  * Converts Bulk Edit taxonomy inputs to language-specific values
@@ -347,11 +373,16 @@ class MLA_WPML {
347
  * @return array updated bulk action request parameters
348
  */
349
  public static function mla_list_table_bulk_action_item_request( $request, $bulk_action, $post_id, $custom_field_map ) {
350
- if ( 'edit' == $bulk_action && ( ! empty( $request['tax_input'] ) ) && ( 'checked' == MLAOptions::mla_get_option( 'term_assignment', false, false, MLA_WPML::$mla_language_option_definitions ) ) ) {
 
 
 
 
 
351
  self::_build_existing_terms( $post_id );
352
- self::_build_tax_input( $post_id, $request['tax_input'], $request['tax_action'] );
353
  $request['tax_input'] = self::_apply_tax_input( $post_id );
354
- foreach( $request['tax_action'] as $taxonomy => $action ) {
355
  // _apply_tax_input changes a remove to a replace
356
  if ( 'remove' == $action ) {
357
  $request['tax_action'][ $taxonomy ] = 'replace';
@@ -359,8 +390,18 @@ class MLA_WPML {
359
  }
360
  }
361
 
362
- MLA::mla_debug_add( "MLA_WPML::bulk_action_item_request( {$post_id} ) \$request['tax_input'] = " . var_export( $request['tax_input'], true ), MLA::MLA_DEBUG_CATEGORY_AJAX );
363
- MLA::mla_debug_add( "MLA_WPML::bulk_action_item_request( {$post_id} ) \$request['tax_action'] = " . var_export( $request['tax_action'], true ), MLA::MLA_DEBUG_CATEGORY_AJAX );
 
 
 
 
 
 
 
 
 
 
364
  return $request;
365
  } // mla_list_table_bulk_action_item_request
366
 
@@ -738,18 +779,10 @@ class MLA_WPML {
738
  $taxonomy = get_taxonomy( $taxonomy_name );
739
  $input_terms = array();
740
  foreach ( $terms as $term ) {
741
- if ( $taxonomy->hierarchical ) {
742
- $input_terms[] = $term->term_id;
743
- } else {
744
- $input_terms[] = $term->name;
745
- }
746
- } // term
747
-
748
- if ( $taxonomy->hierarchical ) {
749
- $tax_inputs[ $taxonomy_name ] = $input_terms;
750
- } else {
751
- $tax_inputs[ $taxonomy_name ] = implode( ',', $input_terms );
752
  }
 
 
753
  } else {
754
  $tax_inputs[ $taxonomy_name ] = array();
755
  }
@@ -826,18 +859,10 @@ class MLA_WPML {
826
  */
827
  $term_changes = array();
828
  foreach( $terms_after as $input_term ) {
829
- if ( $hierarchical ) {
830
- $term_changes[] = $input_term->term_id;
831
- } else {
832
- $term_changes[] = $input_term->name;
833
- }
834
- } // input_term
835
-
836
- if ( $hierarchical ) {
837
- self::$tax_input[ $language ][ $taxonomy ] = $term_changes;
838
- } else {
839
- self::$tax_input[ $language ][ $taxonomy ] = implode( ',', $term_changes );
840
  }
 
 
841
  } // language
842
  } // foreach taxonomy
843
 
@@ -912,7 +937,7 @@ class MLA_WPML {
912
  }
913
  }
914
  }
915
-
916
  /*
917
  * Find all destination terms with a source equivalent, record destination equivalent
918
  */
@@ -927,7 +952,7 @@ class MLA_WPML {
927
  }
928
  }
929
  }
930
-
931
  /*
932
  * Remove terms in common, leaving new_terms => add, old_terms => remove
933
  */
@@ -986,23 +1011,73 @@ class MLA_WPML {
986
  $taxonomy = get_taxonomy( $taxonomy_name );
987
  $input_terms = array();
988
  foreach ( $terms as $term ) {
989
- if ( $taxonomy->hierarchical ) {
990
- $input_terms[] = $term->term_id;
991
- } else {
992
- $input_terms[] = $term->name;
993
- }
994
- } // term
995
-
996
- if ( $taxonomy->hierarchical ) {
997
- $tax_inputs[ $taxonomy_name ] = $input_terms;
998
- } else {
999
- $tax_inputs[ $taxonomy_name ] = implode( ',', $input_terms );
1000
  }
 
 
1001
  } // synch_inputs
1002
 
 
 
 
1003
  return $tax_inputs;
1004
  } // _apply_synch_input
1005
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1006
  /**
1007
  * Duplicates created during media upload
1008
  *
@@ -1061,6 +1136,8 @@ class MLA_WPML {
1061
  * @param array $attachment An array of attachment metadata.
1062
  */
1063
  public static function attachment_fields_to_save( $post, $attachment ) {
 
 
1064
  if ( 'editpost' == $post['action'] && 'attachment' == $post['post_type'] ) {
1065
  self::_build_existing_terms( $post['post_ID'] );
1066
  }
@@ -1079,8 +1156,10 @@ class MLA_WPML {
1079
  public static function edit_attachment( $post_id ) {
1080
  static $already_updating = 0;
1081
 
 
 
1082
  /*
1083
- * mla_update_single_item eventually calls this action again
1084
  */
1085
  if ( $already_updating == $post_id ) {
1086
  return;
@@ -1091,44 +1170,23 @@ class MLA_WPML {
1091
  /*
1092
  * Check for Bulk Edit during Add New Media
1093
  */
1094
- if ( is_array( self::$upload_bulk_edit_args ) ) {
1095
- if ( ! empty( self::$upload_bulk_edit_args['tax_input'] ) ) {
1096
- $tax_inputs = self::$upload_bulk_edit_args['tax_input'];
1097
  if ( 'checked' == MLAOptions::mla_get_option( 'term_assignment', false, false, MLA_WPML::$mla_language_option_definitions ) ) {
1098
- self::_build_tax_input( $post_id, $tax_inputs, self::$upload_bulk_edit_args['tax_action'] );
1099
  $tax_inputs = self::_apply_tax_input( $post_id );
1100
  }
1101
  } else {
1102
  $tax_inputs = NULL;
1103
  }
1104
 
1105
- $updates = MLA::mla_prepare_bulk_edits( $post_id, self::$upload_bulk_edit_args, self::$upload_bulk_edit_map );
1106
  unset( $updates['tax_input'] );
1107
  unset( $updates['tax_action'] );
1108
 
1109
  MLAData::mla_update_single_item( $post_id, $updates, $tax_inputs );
1110
 
1111
- /*
1112
- * Synchronize the changes to all other translations - NOT NEEDED
1113
- */
1114
- if ( false && 'checked' == MLAOptions::mla_get_option( 'term_synchronization', false, false, MLA_WPML::$mla_language_option_definitions ) ) {
1115
- foreach( self::$tax_input as $language => $tax_inputs ) {
1116
- /*
1117
- * Skip 'tax_input_post_id' and the language we've already updated
1118
- */
1119
- if ( ( ! isset( self::$existing_terms[ $language ] ) ) || ( self::$existing_terms['language_code'] == $language ) ) {
1120
- continue;
1121
- }
1122
-
1123
- // Other translations have no existing terms, so we don't need _apply_synch_input()
1124
- $translation = self::$existing_terms[ $language ];
1125
- $tax_inputs = self::_apply_tax_input( $translation['element_id'], $language );
1126
- $already_updating = $translation['element_id']; // prevent recursion
1127
- MLAData::mla_update_single_item( $translation['element_id'], $updates, $tax_inputs );
1128
- $already_updating = $post_id;
1129
- } // translation
1130
- } // do synchronization
1131
-
1132
  return;
1133
  } // Upload New Media Bulk Edit
1134
 
@@ -1137,6 +1195,7 @@ class MLA_WPML {
1137
  */
1138
  if ( ! ( isset( $_REQUEST['bulk_action'] ) && 'bulk_edit' == $_REQUEST['bulk_action'] ) ) {
1139
  /*
 
1140
  * The category taxonomy (edit screens) is a special case because
1141
  * post_categories_meta_box() changes the input name
1142
  */
@@ -1145,55 +1204,26 @@ class MLA_WPML {
1145
  } else {
1146
  $tax_inputs = array();
1147
  }
1148
-
1149
  if ( isset( $_REQUEST['post_category'] ) ) {
1150
  $tax_inputs['category'] = $_REQUEST['post_category'];
1151
  }
1152
-
1153
  if ( isset( $_REQUEST['tax_action'] ) ) {
1154
  $tax_actions = $_REQUEST['tax_action'];
1155
  } else {
1156
  $tax_actions = NULL;
1157
  }
1158
-
1159
  if ( ( ! empty( $tax_inputs ) ) && ( 'checked' == MLAOptions::mla_get_option( 'term_assignment', false, false, MLA_WPML::$mla_language_option_definitions ) ) ) {
1160
  self::_build_tax_input( $post_id, $tax_inputs, $tax_actions );
1161
  $tax_inputs = self::_apply_tax_input( $post_id );
1162
  }
1163
-
1164
  if ( ! empty( $tax_inputs ) ) {
1165
  MLAData::mla_update_single_item( $post_id, array(), $tax_inputs );
1166
  }
1167
- } // NOT Bulk Edit
1168
-
1169
- /*
1170
- * Synchronize the changes to all other translations
1171
- */
1172
- if ( 'checked' == MLAOptions::mla_get_option( 'term_synchronization', false, false, MLA_WPML::$mla_language_option_definitions ) ) {
1173
-
1174
- /*
1175
- * Update terms because they have changed
1176
- */
1177
- $terms_before = self::_update_existing_terms( $post_id );
1178
-
1179
- // $tax_input is a convenient source of language codes; ignore $tax_inputs
1180
- foreach( self::$tax_input as $language => $tax_inputs ) {
1181
- /*
1182
- * Skip 'tax_input_post_id' and the language we've already updated
1183
- */
1184
- if ( ( ! isset( self::$existing_terms[ $language ] ) ) || ( self::$existing_terms['language_code'] == $language ) ) {
1185
- continue;
1186
- }
1187
-
1188
- $tax_inputs = self::_apply_synch_input( $language );
1189
- if ( ! empty( $tax_inputs ) ) {
1190
- $translation = self::$existing_terms[ $language ]['element_id'];
1191
- $already_updating = $translation; // prevent recursion
1192
- MLAData::mla_update_single_item( $translation, array(), $tax_inputs );
1193
- $already_updating = $post_id;
1194
- }
1195
- } // translation
1196
- } // do synchronization
1197
  } // edit_attachment
1198
 
1199
  /**
@@ -1292,7 +1322,7 @@ class MLA_WPML {
1292
  public static function mla_render_language_tab() {
1293
  $page_content = array(
1294
  'message' => '',
1295
- 'body' => '<h3>Language</h3>'
1296
  );
1297
 
1298
  /*
@@ -1481,6 +1511,7 @@ class MLA_WPML_Table {
1481
  add_filter( 'mla_list_table_submenu_arguments', array( $this, 'mla_list_table_submenu_arguments' ), 10, 2 );
1482
  add_filter( 'mla_list_table_get_columns', array( $this, 'mla_list_table_get_columns' ), 10, 1 );
1483
  add_filter( 'mla_list_table_column_default', array( $this, 'mla_list_table_column_default' ), 10, 3 );
 
1484
 
1485
  /*
1486
  * Defined in /plugins/wpml-media/inc/wpml-media.class.php
@@ -1854,11 +1885,38 @@ class MLA_WPML_Table {
1854
  $content .= '<img style="padding:1px;margin:2px;" border="0" src="' . ICL_PLUGIN_URL . '/res/img/' . $img . '" alt="' . $alt . '" width="16" height="16" />';
1855
  $content .= '</a>';
1856
  } // foreach language
 
 
 
 
 
1857
  }
1858
 
1859
  return $content;
1860
  } // mla_list_table_column_default_filter
1861
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1862
  } // Class MLA_WPML_Table
1863
  /*
1864
  * Some actions and filters are added here, when the source file is loaded, because the
59
  */
60
  add_filter( 'attachment_fields_to_save', 'MLA_WPML::attachment_fields_to_save', 10, 2 );
61
 
62
+ /*
63
+ * Defined in /media-library-assistant/includes/class-mla-data.php
64
+ */
65
+ add_action( 'mla_updated_single_item', 'MLA_WPML::mla_updated_single_item', 10, 2 );
66
+
67
  /*
68
  * Defined in /media-library-assistant/includes/class-mla-media-modal.php
69
  */
167
  add_action( 'admin_print_styles', 'MLA_WPML_Table::mla_list_table_add_icl_styles' );
168
  }
169
 
170
+ if ( ( defined('WP_ADMIN') && WP_ADMIN ) && ( defined('DOING_AJAX') && DOING_AJAX ) ) {
171
+ global $sitepress;
172
+
173
+ //Look for flat taxonomy autocomplete
174
+ if ( isset( $_GET['action'] ) && ( 'ajax-tag-search' == $_GET['action'] ) ) {
175
+ $current_language = $sitepress->get_current_language();
176
+
177
+ // WPML will set the "Preview Language" from preview_id for Quick Edit
178
+ if ( ( 'all' === $current_language ) && ( ! isset( $_GET['preview_id'] ) ) ) {
179
+ if ( ! empty( $_SERVER[ 'HTTP_REFERER' ] ) ) {
180
+ $default_language = $sitepress->get_default_language();
181
+
182
+ // Look for an ID from the Media/Edit Media screen
183
+ $query_string = parse_url( $_SERVER[ 'HTTP_REFERER' ], PHP_URL_QUERY );
184
+ $query = array();
185
+ parse_str( strval( $query_string ), $query );
186
+
187
+ if ( isset( $query['post'] ) ) {
188
+ $language_details = $sitepress->get_element_language_details( absint( $query['post'] ), 'post_attachment' );
189
+ $default_language = $language_details->language_code;
190
+
191
+ }
192
+
193
+ // WPML overides switch_lang() from the HTTP_REFERER
194
+ $referer = remove_query_arg( 'lang', $_SERVER[ 'HTTP_REFERER' ] );
195
+ $_SERVER[ 'HTTP_REFERER' ] = add_query_arg( 'lang', $default_language, $referer );
196
+ } // HTTP_REFERER
197
+ } // no ID
198
+ } // ajax-tag-search
199
+ }
200
+
201
  /*
202
  * Localize $mla_language_option_definitions array
203
  */
215
  public static function mla_media_modal_begin_update_compat_fields( $post ) {
216
  $post_id = $post->ID;
217
 
218
+ MLA::mla_debug_add( __LINE__ . " MLA_Polylang::mla_media_modal_begin_update_compat_fields( {$post_id} ) post = " . var_export( $post, true ), MLA::MLA_DEBUG_CATEGORY_LANGUAGE );
219
+
220
  // Accumulate for possible term_assignment or term_synchronization
221
  self::_build_existing_terms( $post_id );
222
  } // mla_media_modal_begin_update_compat_fields
233
  * @param integer current post ID
234
  */
235
  public static function mla_media_modal_update_compat_fields_terms( $terms, $key, $value, $post_id ) {
236
+ MLA::mla_debug_add( __LINE__ . " MLA_Polylang::mla_media_modal_update_compat_fields_terms( {$key}, {$post_id} ) terms = " . var_export( $terms, true ), MLA::MLA_DEBUG_CATEGORY_LANGUAGE );
237
+
238
  // Accumulate for possible term_assignment or term_synchronization
239
  if ( $value->hierarchical ) {
240
  $tax_inputs = array( $key => $terms );
245
  if ( 'checked' == MLAOptions::mla_get_option( 'term_assignment', false, false, MLA_WPML::$mla_language_option_definitions ) ) {
246
  self::_build_tax_input( $post_id, $tax_inputs );
247
  $tax_inputs = self::_apply_tax_input( $post_id );
248
+ $terms = $tax_inputs[ $key ];
 
 
 
 
 
249
  } // term_assignment
250
 
251
  return $terms;
262
  * @param object current post object
263
  */
264
  public static function mla_media_modal_end_update_compat_fields( $results, $taxonomies, $post ) {
265
+ MLA::mla_debug_add( __LINE__ . " MLA_Polylang::mla_media_modal_end_update_compat_fields( {$post->ID} ) taxonomies = " . var_export( $taxonomies, true ), MLA::MLA_DEBUG_CATEGORY_LANGUAGE );
266
+
267
  /*
268
  * Synchronize the changes to all other translations
269
  */
270
+ self::_apply_term_synchronization( $post->ID );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
271
 
272
  return $results;
273
  } // mla_media_modal_end_update_compat_fields
287
  public static function mla_list_table_inline_action( $item_content, $post_id ) {
288
  global $sitepress;
289
 
290
+ MLA::mla_debug_add( __LINE__ . " MLA_Polylang::mla_list_table_inline_action( {$post_id} )", MLA::MLA_DEBUG_CATEGORY_LANGUAGE );
291
+
292
  // WPML does not preserve the current language for the Quick Edit Ajax action
293
  $referer = wp_get_referer();
294
  if ( $referer ) {
299
  }
300
 
301
  self::_build_existing_terms( $post_id );
302
+ if ( isset( $_REQUEST['action'] ) && 'mla-inline-edit-scripts' === $_REQUEST['action'] && isset( $_REQUEST['tax_input'] ) ) {
303
+ MLA::mla_debug_add( "MLA_WPML::mla_list_table_inline_action( {$post_id} ) Quick Edit initial \$_REQUEST['tax_input'] = " . var_export( $_REQUEST['tax_input'], true ), MLA::MLA_DEBUG_CATEGORY_AJAX );
304
+ // Quick Edit calls update_single_item right after this filter
305
+ self::_build_tax_input( $post_id, $_REQUEST['tax_input'] );
306
+ $_REQUEST['tax_input'] = self::_apply_tax_input( $post_id );
307
+ MLA::mla_debug_add( "MLA_WPML::mla_list_table_inline_action( {$post_id} ) Quick Edit final \$_REQUEST['tax_input'] = " . var_export( $_REQUEST['tax_input'], true ), MLA::MLA_DEBUG_CATEGORY_AJAX );
308
+ }
309
 
310
  return $item_content;
311
  } // mla_list_table_inline_action
312
 
313
  /**
314
+ * Captures the Bulk Edit, "Upload New Media" parameters
315
  *
316
  * @since 2.11
317
  *
322
  * @return array updated bulk action request parameters
323
  */
324
  public static function mla_list_table_bulk_action_initial_request( $request, $bulk_action, $custom_field_map ) {
325
+ MLA::mla_debug_add( __LINE__ . " MLA_Polylang::mla_list_table_bulk_action_initial_request( {$bulk_action} ) request = " . var_export( $request, true ), MLA::MLA_DEBUG_CATEGORY_LANGUAGE );
326
+
327
  /*
328
  * Check for Bulk Edit processing during Upload New Media
329
  */
330
+ if ( ! empty( $_REQUEST['mlaAddNewBulkEditFormString'] ) ) {
331
  /*
332
  * Suppress WPML processing in wpml-media.class.php function save_attachment_actions,
333
  * which wipes out attachment meta data.
334
  */
335
  global $action;
336
  $action = 'upload-plugin';
 
 
 
337
  }
338
 
339
+ self::$bulk_edit_request = $request;
340
+ self::$bulk_edit_map = $custom_field_map;
341
+
342
  return $request;
343
  } // mla_list_table_bulk_action_initial_request
344
 
345
  /**
346
+ * Custom Field Map during Bulk Edit, "Upload New Media"
347
  *
348
  * @since 2.11
349
  *
350
  * @var array [ id ] => field name
351
  */
352
+ private static $bulk_edit_map = NULL;
353
 
354
  /**
355
  * Bulk Edit parameters during "Upload New Media"
358
  *
359
  * @var array [ field ] => new value
360
  */
361
+ private static $bulk_edit_request = NULL;
362
 
363
  /**
364
  * Converts Bulk Edit taxonomy inputs to language-specific values
373
  * @return array updated bulk action request parameters
374
  */
375
  public static function mla_list_table_bulk_action_item_request( $request, $bulk_action, $post_id, $custom_field_map ) {
376
+ MLA::mla_debug_add( __LINE__ . " MLA_Polylang::mla_list_table_bulk_action_item_request( {$post_id} ) request = " . var_export( $request, true ), MLA::MLA_DEBUG_CATEGORY_LANGUAGE );
377
+
378
+ /*
379
+ * Note that $request may be modified by previous items, so we must return to the initial vlues
380
+ */
381
+ if ( 'edit' == $bulk_action && ( ! empty( self::$bulk_edit_request['tax_input'] ) ) && ( 'checked' == MLAOptions::mla_get_option( 'term_assignment', false, false, MLA_WPML::$mla_language_option_definitions ) ) ) {
382
  self::_build_existing_terms( $post_id );
383
+ self::_build_tax_input( $post_id, self::$bulk_edit_request['tax_input'], self::$bulk_edit_request['tax_action'] );
384
  $request['tax_input'] = self::_apply_tax_input( $post_id );
385
+ foreach( self::$bulk_edit_request['tax_action'] as $taxonomy => $action ) {
386
  // _apply_tax_input changes a remove to a replace
387
  if ( 'remove' == $action ) {
388
  $request['tax_action'][ $taxonomy ] = 'replace';
390
  }
391
  }
392
 
393
+ if ( isset( $request['tax_input'] ) ) {
394
+ MLA::mla_debug_add( "MLA_WPML::bulk_action_item_request( {$bulk_action}, {$post_id} ) \$request['tax_input'] = " . var_export( $request['tax_input'], true ), MLA::MLA_DEBUG_CATEGORY_AJAX );
395
+ } else {
396
+ MLA::mla_debug_add( "MLA_WPML::bulk_action_item_request( {$bulk_action}, {$post_id} ) \$request['tax_input'] NOT SET", MLA::MLA_DEBUG_CATEGORY_AJAX );
397
+ }
398
+
399
+ if ( isset( $request['tax_action'] ) ) {
400
+ MLA::mla_debug_add( "MLA_WPML::bulk_action_item_request( {$bulk_action}, {$post_id} ) \$request['tax_action'] = " . var_export( $request['tax_action'], true ), MLA::MLA_DEBUG_CATEGORY_AJAX );
401
+ } else {
402
+ MLA::mla_debug_add( "MLA_WPML::bulk_action_item_request( {$bulk_action}, {$post_id} ) \$request['tax_action'] NOT SET", MLA::MLA_DEBUG_CATEGORY_AJAX );
403
+ }
404
+
405
  return $request;
406
  } // mla_list_table_bulk_action_item_request
407
 
779
  $taxonomy = get_taxonomy( $taxonomy_name );
780
  $input_terms = array();
781
  foreach ( $terms as $term ) {
782
+ $input_terms[] = $term->term_id;
 
 
 
 
 
 
 
 
 
 
783
  }
784
+
785
+ $tax_inputs[ $taxonomy_name ] = $input_terms;
786
  } else {
787
  $tax_inputs[ $taxonomy_name ] = array();
788
  }
859
  */
860
  $term_changes = array();
861
  foreach( $terms_after as $input_term ) {
862
+ $term_changes[] = $input_term->term_id;
 
 
 
 
 
 
 
 
 
 
863
  }
864
+
865
+ self::$tax_input[ $language ][ $taxonomy ] = $term_changes;
866
  } // language
867
  } // foreach taxonomy
868
 
937
  }
938
  }
939
  }
940
+
941
  /*
942
  * Find all destination terms with a source equivalent, record destination equivalent
943
  */
952
  }
953
  }
954
  }
955
+
956
  /*
957
  * Remove terms in common, leaving new_terms => add, old_terms => remove
958
  */
1011
  $taxonomy = get_taxonomy( $taxonomy_name );
1012
  $input_terms = array();
1013
  foreach ( $terms as $term ) {
1014
+ $input_terms[] = $term->term_id;
 
 
 
 
 
 
 
 
 
 
1015
  }
1016
+
1017
+ $tax_inputs[ $taxonomy_name ] = $input_terms;
1018
  } // synch_inputs
1019
 
1020
+ $post_id = self::$existing_terms[ $language ]['element_id'];
1021
+ MLA::mla_debug_add( "MLA_WPML::_apply_synch_input( {$post_id} ) \$language = " . var_export( $language, true ), MLA::MLA_DEBUG_CATEGORY_AJAX );
1022
+ MLA::mla_debug_add( "MLA_WPML::_apply_synch_input( {$post_id} ) \$tax_inputs = " . var_export( $tax_inputs, true ), MLA::MLA_DEBUG_CATEGORY_AJAX );
1023
  return $tax_inputs;
1024
  } // _apply_synch_input
1025
 
1026
+ /**
1027
+ * Apply Term Synchronization
1028
+ *
1029
+ * @since 2.15
1030
+ * @uses MLA_Polylang::$existing_terms
1031
+ *
1032
+ * @param integer $post_id the item we're synchronizing to
1033
+ *
1034
+ * @return array $tax_inputs for Term Synchronization
1035
+ */
1036
+ private static function _apply_term_synchronization( $post_id ) {
1037
+ if ( 'checked' == MLAOptions::mla_get_option( 'term_synchronization', false, false, MLA_WPML::$mla_language_option_definitions ) ) {
1038
+
1039
+ /*
1040
+ * Update terms because they have changed
1041
+ */
1042
+ $terms_before = self::_update_existing_terms( $post_id );
1043
+
1044
+ // $tax_input is a convenient source of language codes; ignore $tax_inputs
1045
+ foreach( self::$tax_input as $language => $tax_inputs ) {
1046
+ /*
1047
+ * Skip the language we've already updated
1048
+ */
1049
+ if ( ( ! isset( self::$existing_terms[ $language ] ) ) || ( self::$existing_terms[ 'language_code' ] == $language ) ) {
1050
+ continue;
1051
+ }
1052
+
1053
+ $tax_inputs = self::_apply_synch_input( $language );
1054
+ if ( ! empty( $tax_inputs ) ) {
1055
+ $translation = self::$existing_terms[ $language ]['element_id'];
1056
+ MLAData::mla_update_single_item( $translation, array(), $tax_inputs );
1057
+ }
1058
+ } // translation
1059
+ } // do synchronization
1060
+ }
1061
+
1062
+ /**
1063
+ * Applies Term Synchronization after item updates
1064
+ *
1065
+ * @since 2.15
1066
+ *
1067
+ * @param integer $post_id ID of the item that was updated.
1068
+ * @param integer $result Zero if the update failed else ID of the item that was updated.
1069
+ */
1070
+ public static function mla_updated_single_item( $post_id, $result ) {
1071
+ MLA::mla_debug_add( __LINE__ . " MLA_WPML::mla_updated_single_item( {$post_id}, {$result} )", MLA::MLA_DEBUG_CATEGORY_LANGUAGE );
1072
+
1073
+ if ( self::$existing_terms['element_id'] == $post_id ) {
1074
+ /*
1075
+ * Synchronize the changes to all other translations
1076
+ */
1077
+ self::_apply_term_synchronization( $post_id );
1078
+ }
1079
+ }
1080
+
1081
  /**
1082
  * Duplicates created during media upload
1083
  *
1136
  * @param array $attachment An array of attachment metadata.
1137
  */
1138
  public static function attachment_fields_to_save( $post, $attachment ) {
1139
+ MLA::mla_debug_add( __LINE__ . " MLA_Polylang::attachment_fields_to_save post = " . var_export( $post, true ), MLA::MLA_DEBUG_CATEGORY_LANGUAGE );
1140
+
1141
  if ( 'editpost' == $post['action'] && 'attachment' == $post['post_type'] ) {
1142
  self::_build_existing_terms( $post['post_ID'] );
1143
  }
1156
  public static function edit_attachment( $post_id ) {
1157
  static $already_updating = 0;
1158
 
1159
+ MLA::mla_debug_add( __LINE__ . " MLA_Polylang::edit_attachment( {$post_id} ) _REQUEST = " . var_export( $_REQUEST, true ), MLA::MLA_DEBUG_CATEGORY_LANGUAGE );
1160
+
1161
  /*
1162
+ * mla_update_single_item may call this action again
1163
  */
1164
  if ( $already_updating == $post_id ) {
1165
  return;
1170
  /*
1171
  * Check for Bulk Edit during Add New Media
1172
  */
1173
+ if ( ! empty( $_REQUEST['mlaAddNewBulkEditFormString'] ) ) {
1174
+ if ( ! empty( self::$bulk_edit_request['tax_input'] ) ) {
1175
+ $tax_inputs = self::$bulk_edit_request['tax_input'];
1176
  if ( 'checked' == MLAOptions::mla_get_option( 'term_assignment', false, false, MLA_WPML::$mla_language_option_definitions ) ) {
1177
+ self::_build_tax_input( $post_id, $tax_inputs, self::$bulk_edit_request['tax_action'] );
1178
  $tax_inputs = self::_apply_tax_input( $post_id );
1179
  }
1180
  } else {
1181
  $tax_inputs = NULL;
1182
  }
1183
 
1184
+ $updates = MLA::mla_prepare_bulk_edits( $post_id, self::$bulk_edit_request, self::$bulk_edit_map );
1185
  unset( $updates['tax_input'] );
1186
  unset( $updates['tax_action'] );
1187
 
1188
  MLAData::mla_update_single_item( $post_id, $updates, $tax_inputs );
1189
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1190
  return;
1191
  } // Upload New Media Bulk Edit
1192
 
1195
  */
1196
  if ( ! ( isset( $_REQUEST['bulk_action'] ) && 'bulk_edit' == $_REQUEST['bulk_action'] ) ) {
1197
  /*
1198
+ * This is the Media/Edit Media screen.
1199
  * The category taxonomy (edit screens) is a special case because
1200
  * post_categories_meta_box() changes the input name
1201
  */
1204
  } else {
1205
  $tax_inputs = array();
1206
  }
1207
+
1208
  if ( isset( $_REQUEST['post_category'] ) ) {
1209
  $tax_inputs['category'] = $_REQUEST['post_category'];
1210
  }
1211
+
1212
  if ( isset( $_REQUEST['tax_action'] ) ) {
1213
  $tax_actions = $_REQUEST['tax_action'];
1214
  } else {
1215
  $tax_actions = NULL;
1216
  }
1217
+
1218
  if ( ( ! empty( $tax_inputs ) ) && ( 'checked' == MLAOptions::mla_get_option( 'term_assignment', false, false, MLA_WPML::$mla_language_option_definitions ) ) ) {
1219
  self::_build_tax_input( $post_id, $tax_inputs, $tax_actions );
1220
  $tax_inputs = self::_apply_tax_input( $post_id );
1221
  }
1222
+
1223
  if ( ! empty( $tax_inputs ) ) {
1224
  MLAData::mla_update_single_item( $post_id, array(), $tax_inputs );
1225
  }
1226
+ } // Media/Edit Media screen, NOT Bulk Edit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1227
  } // edit_attachment
1228
 
1229
  /**
1322
  public static function mla_render_language_tab() {
1323
  $page_content = array(
1324
  'message' => '',
1325
+ 'body' => '<h2>' . __( 'Language', 'media-library-assistant' ) . '</h2>'
1326
  );
1327
 
1328
  /*
1511
  add_filter( 'mla_list_table_submenu_arguments', array( $this, 'mla_list_table_submenu_arguments' ), 10, 2 );
1512
  add_filter( 'mla_list_table_get_columns', array( $this, 'mla_list_table_get_columns' ), 10, 1 );
1513
  add_filter( 'mla_list_table_column_default', array( $this, 'mla_list_table_column_default' ), 10, 3 );
1514
+ //add_filter( 'mla_list_table_build_inline_data', array( $this, 'mla_list_table_build_inline_data' ), 10, 2 );
1515
 
1516
  /*
1517
  * Defined in /plugins/wpml-media/inc/wpml-media.class.php
1885
  $content .= '<img style="padding:1px;margin:2px;" border="0" src="' . ICL_PLUGIN_URL . '/res/img/' . $img . '" alt="' . $alt . '" width="16" height="16" />';
1886
  $content .= '</a>';
1887
  } // foreach language
1888
+
1889
+ // Is this the original item or a translation?
1890
+ if ( false && isset( $item->mla_item_wpml_media_processed ) && ( '1' == $item->mla_item_wpml_media_processed ) ) {
1891
+ $content .= 'T';
1892
+ }
1893
  }
1894
 
1895
  return $content;
1896
  } // mla_list_table_column_default_filter
1897
 
1898
+ /**
1899
+ * Filter the data for inline (Quick and Bulk) editing
1900
+ *
1901
+ * Adds a 'lang' value for the JS Quick Edit function.
1902
+ *
1903
+ * @since 2.15
1904
+ *
1905
+ * @param string $inline_data The HTML markup for inline data.
1906
+ * @param object $item The current Media Library item.
1907
+ *
1908
+ * @return string updated HTML markup for inline data.
1909
+ */
1910
+ public static function mla_list_table_build_inline_data( $inline_data, $item ) {
1911
+ global $sitepress;
1912
+
1913
+ $language_details = $sitepress->get_element_language_details( $item->ID, 'post_attachment' );
1914
+ if ( isset( $language_details->language_code ) ) {
1915
+ $inline_data .= "\n\t<div class=\"lang\">{$language_details->language_code}</div>";
1916
+ }
1917
+
1918
+ return $inline_data;
1919
+ } // mla_list_table_build_inline_data
1920
  } // Class MLA_WPML_Table
1921
  /*
1922
  * Some actions and filters are added here, when the source file is loaded, because the
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.14
10
  */
11
 
12
  /*
@@ -16,10 +16,10 @@ Description: Enhances the Media Library; powerful [mla_gallery], taxonomy suppor
16
  Author: David Lingren, Fair Trade Judaica
17
  Text Domain: media-library-assistant
18
  Domain Path: /languages
19
- Version: 2.14
20
  Author URI: http://fairtradejudaica.org/our-story/staff/
21
 
22
- Copyright 2011-2014 David Lingren
23
 
24
  This program is free software; you can redistribute it and/or modify
25
  it under the terms of the GNU General Public License as published by
@@ -37,6 +37,16 @@ Copyright 2011-2014 David Lingren
37
 
38
  defined( 'ABSPATH' ) or die();
39
 
 
 
 
 
 
 
 
 
 
 
40
  /**
41
  * Accumulates error messages from name conflict tests
42
  *
@@ -147,7 +157,7 @@ foreach ( $mla_name_conflict_candidates as $value => $type ) {
147
  */
148
  function mla_name_conflict_reporting_action () {
149
  global $mla_name_conflict_error_messages;
150
-
151
  echo '<div class="error"><p><strong>The Media Library Assistant cannot load.</strong> Another plugin or theme has declared conflicting class, function or constant names:</p>'."\r\n";
152
  echo "<ul>{$mla_name_conflict_error_messages}</ul>\r\n";
153
  echo '<p>You must resolve these conflicts before this plugin can safely load.</p></div>'."\r\n";
6
  * will the rest of the plugin be loaded and run.
7
  *
8
  * @package Media Library Assistant
9
+ * @version 2.15
10
  */
11
 
12
  /*
16
  Author: David Lingren, Fair Trade Judaica
17
  Text Domain: media-library-assistant
18
  Domain Path: /languages
19
+ Version: 2.15
20
  Author URI: http://fairtradejudaica.org/our-story/staff/
21
 
22
+ Copyright 2011-2015 David Lingren
23
 
24
  This program is free software; you can redistribute it and/or modify
25
  it under the terms of the GNU General Public License as published by
37
 
38
  defined( 'ABSPATH' ) or die();
39
 
40
+ /*
41
+ * Translation strings for the plugin data in the comment block above; MUST MATCH
42
+ */
43
+ if ( false ) {
44
+ /* translators: Description of the plugin/theme */
45
+ __ ( 'Enhances the Media Library; powerful [mla_gallery], taxonomy support, IPTC/EXIF processing, bulk & quick edit actions and where-used reporting.', 'media-library-assistant' );
46
+ /* translators: Name of the plugin/theme */
47
+ __ ( 'Media Library Assistant', 'media-library-assistant' );
48
+ }
49
+
50
  /**
51
  * Accumulates error messages from name conflict tests
52
  *
157
  */
158
  function mla_name_conflict_reporting_action () {
159
  global $mla_name_conflict_error_messages;
160
+
161
  echo '<div class="error"><p><strong>The Media Library Assistant cannot load.</strong> Another plugin or theme has declared conflicting class, function or constant names:</p>'."\r\n";
162
  echo "<ul>{$mla_name_conflict_error_messages}</ul>\r\n";
163
  echo '<p>You must resolve these conflicts before this plugin can safely load.</p></div>'."\r\n";
js/mla-add-new-bulk-edit-scripts.js CHANGED
@@ -3,15 +3,18 @@
3
  var jQuery,
4
  mla_add_new_bulk_edit_vars,
5
  mla = {
6
- // Properties (for mla-set-parent-scripts)
7
  // mla.settings.uploadTitle
 
 
 
8
  // mla.settings.comma for flat taxonomy suggest
9
  // mla.settings.ajaxFailError for setParent
10
  // mla.settings.ajaxDoneError for setParent
11
  // mla.settings.useDashicons for setParent
12
  // mla.settings.useSpinnerClass for setParent
13
  settings: {},
14
-
15
  // Utility functions
16
  utility: {
17
  getId : function( o ) {
@@ -20,7 +23,7 @@ var jQuery,
20
  return parts[ parts.length - 1 ];
21
  }
22
  },
23
-
24
  // Components
25
  addNewBulkEdit: null,
26
  setParent: null
@@ -33,30 +36,50 @@ var jQuery,
33
  mla.settings = typeof mla_add_new_bulk_edit_vars === 'undefined' ? {} : mla_add_new_bulk_edit_vars;
34
  mla_add_new_bulk_edit_vars = void 0; // delete won't work on Globals
35
 
 
 
 
 
36
  mla.addNewBulkEdit = {
37
  init: function() {
38
- var button, bypass = $( '.upload-flash-bypass' ),
39
- uploadDiv = $( '#mla-add-new-bulk-edit-div' ).hide(); // Start with area closed up
 
40
 
41
  $( '#bulk-edit-set-parent', uploadDiv ).on( 'click', function(){
42
  return mla.addNewBulkEdit.parentOpen();
43
  });
44
 
45
- // Move the Open/Close Bulk Edit area button to save space on the page
46
- button = $( '#bulk-edit-toggle', uploadDiv ).detach();
47
- button.appendTo( bypass );
 
 
 
 
 
 
 
 
 
 
48
 
49
  // Hook the "browser uploader" link to close the Bulk Edit area when it is in use
50
- button.siblings( 'a' ).on( 'click', function(){
51
- button.attr( 'title', mla.settings.toggleOpen );
52
- button.attr( 'value', mla.settings.toggleOpen );
 
53
  uploadDiv.hide();
54
  });
55
 
56
- button.on( 'click', function(){
57
  return mla.addNewBulkEdit.formToggle();
58
  });
59
-
 
 
 
 
60
  //auto-complete/suggested matches for flat taxonomies
61
  $( 'textarea.mla_tags', uploadDiv ).each(function(){
62
  var taxname = $(this).attr('name').replace(']', '').replace('tax_input[', '');
@@ -66,23 +89,44 @@ var jQuery,
66
 
67
  uploader.bind( 'BeforeUpload', function( up, file ) {
68
  var formString = $( '#file-form' ).serialize();
69
-
70
- up.settings.multipart_params.mlaAddNewBulkEdit['formString'] = formString;
71
  });
72
  },
73
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
74
  formToggle : function() {
75
- var button = $( '#bulk-edit-toggle' ), area = $( '#mla-add-new-bulk-edit-div' );
76
-
 
77
  // Expand/collapse the Bulk Edit area
78
  if ( 'none' === area.css( 'display' ) ) {
79
- button.attr( 'title', mla.settings.toggleClose );
80
- button.attr( 'value', mla.settings.toggleClose );
 
81
  } else {
82
- button.attr( 'title', mla.settings.toggleOpen );
83
- button.attr( 'value', mla.settings.toggleOpen );
 
84
  }
85
-
86
  area.slideToggle( 'slow' );
87
  },
88
 
3
  var jQuery,
4
  mla_add_new_bulk_edit_vars,
5
  mla = {
6
+ // Properties (for mla-set-parent-scripts, too)
7
  // mla.settings.uploadTitle
8
+ // mla.settings.toggleClose
9
+ // mla.settings.toggleOpen
10
+ // mla.settings.areaOnTop
11
  // mla.settings.comma for flat taxonomy suggest
12
  // mla.settings.ajaxFailError for setParent
13
  // mla.settings.ajaxDoneError for setParent
14
  // mla.settings.useDashicons for setParent
15
  // mla.settings.useSpinnerClass for setParent
16
  settings: {},
17
+
18
  // Utility functions
19
  utility: {
20
  getId : function( o ) {
23
  return parts[ parts.length - 1 ];
24
  }
25
  },
26
+
27
  // Components
28
  addNewBulkEdit: null,
29
  setParent: null
36
  mla.settings = typeof mla_add_new_bulk_edit_vars === 'undefined' ? {} : mla_add_new_bulk_edit_vars;
37
  mla_add_new_bulk_edit_vars = void 0; // delete won't work on Globals
38
 
39
+ if ( typeof mla.settings.areaOnTop === 'undefined' ) {
40
+ mla.settings.areaOnTop = false;
41
+ };
42
+
43
  mla.addNewBulkEdit = {
44
  init: function() {
45
+ var toggleButton, resetButton,
46
+ bypass = $( '.upload-flash-bypass' ), title = $( '#wpbody .wrap' ).children ( 'h2' ),
47
+ uploadContent, uploadDiv = $( '#mla-add-new-bulk-edit-div' ).hide(); // Start with area closed up
48
 
49
  $( '#bulk-edit-set-parent', uploadDiv ).on( 'click', function(){
50
  return mla.addNewBulkEdit.parentOpen();
51
  });
52
 
53
+ // Move the Open/Close Bulk Edit area toggleButton to save space on the page
54
+ toggleButton = $( '#bulk-edit-toggle', uploadDiv ).detach();
55
+ resetButton = $( '#bulk-edit-reset', uploadDiv ).detach();
56
+
57
+ if ( mla.settings.areaOnTop ) {
58
+ toggleButton.appendTo( title );
59
+ resetButton.appendTo( title );
60
+ uploadContent = uploadDiv.detach();
61
+ $( '#file-form' ).before( uploadContent );
62
+ } else {
63
+ toggleButton.appendTo( bypass );
64
+ resetButton.appendTo( bypass );
65
+ };
66
 
67
  // Hook the "browser uploader" link to close the Bulk Edit area when it is in use
68
+ toggleButton.siblings( 'a' ).on( 'click', function(){
69
+ toggleButton.attr( 'title', mla.settings.toggleOpen );
70
+ toggleButton.attr( 'value', mla.settings.toggleOpen );
71
+ resetButton.hide();
72
  uploadDiv.hide();
73
  });
74
 
75
+ toggleButton.on( 'click', function(){
76
  return mla.addNewBulkEdit.formToggle();
77
  });
78
+
79
+ resetButton.on( 'click', function(){
80
+ return mla.addNewBulkEdit.doReset();
81
+ });
82
+
83
  //auto-complete/suggested matches for flat taxonomies
84
  $( 'textarea.mla_tags', uploadDiv ).each(function(){
85
  var taxname = $(this).attr('name').replace(']', '').replace('tax_input[', '');
89
 
90
  uploader.bind( 'BeforeUpload', function( up, file ) {
91
  var formString = $( '#file-form' ).serialize();
92
+
93
+ up.settings.multipart_params.mlaAddNewBulkEditFormString = formString;
94
  });
95
  },
96
 
97
+ doReset : function(){
98
+ var bulkRow = $('#mla-add-new-bulk-edit-div'),
99
+ blankRow = $('#mla-blank-add-new-bulk-edit-div'),
100
+ blankCategories = $('.inline-edit-categories', blankRow ).html(),
101
+ blankTags = $('.inline-edit-tags', blankRow ).html(),
102
+ blankFields = $('.inline-edit-fields', blankRow ).html();
103
+
104
+ $('.inline-edit-categories', bulkRow ).html( blankCategories ),
105
+ $('.inline-edit-tags', bulkRow ).html( blankTags ),
106
+ $('.inline-edit-fields', bulkRow ).html( blankFields );
107
+
108
+ $('#bulk-edit-set-parent', bulkRow).on( 'click', function(){
109
+ return mla.addNewBulkEdit.parentOpen();
110
+ });
111
+
112
+ return false;
113
+ },
114
+
115
  formToggle : function() {
116
+ var toggleButton = $( '#bulk-edit-toggle' ), resetButton = $( '#bulk-edit-reset' ),
117
+ area = $( '#mla-add-new-bulk-edit-div' );
118
+
119
  // Expand/collapse the Bulk Edit area
120
  if ( 'none' === area.css( 'display' ) ) {
121
+ toggleButton.attr( 'title', mla.settings.toggleClose );
122
+ toggleButton.attr( 'value', mla.settings.toggleClose );
123
+ resetButton.show();
124
  } else {
125
+ toggleButton.attr( 'title', mla.settings.toggleOpen );
126
+ toggleButton.attr( 'value', mla.settings.toggleOpen );
127
+ resetButton.hide();
128
  }
129
+
130
  area.slideToggle( 'slow' );
131
  },
132
 
js/mla-add-new-bulk-edit-scripts.min.js CHANGED
@@ -1 +1 @@
1
- var jQuery,mla_add_new_bulk_edit_vars,mla={settings:{},utility:{getId:function(b){var c=jQuery(b).closest("tr").attr("id"),a=c.split("-");return a[a.length-1]}},addNewBulkEdit:null,setParent:null};(function(a){mla.settings=typeof mla_add_new_bulk_edit_vars==="undefined"?{}:mla_add_new_bulk_edit_vars;mla_add_new_bulk_edit_vars=void 0;mla.addNewBulkEdit={init:function(){var b,c=a(".upload-flash-bypass"),d=a("#mla-add-new-bulk-edit-div").hide();a("#bulk-edit-set-parent",d).on("click",function(){return mla.addNewBulkEdit.parentOpen()});b=a("#bulk-edit-toggle",d).detach();b.appendTo(c);b.siblings("a").on("click",function(){b.attr("title",mla.settings.toggleOpen);b.attr("value",mla.settings.toggleOpen);d.hide()});b.on("click",function(){return mla.addNewBulkEdit.formToggle()});a("textarea.mla_tags",d).each(function(){var e=a(this).attr("name").replace("]","").replace("tax_input[","");a(this).suggest(ajaxurl+"?action=ajax-tag-search&tax="+e,{delay:500,minchars:2,multiple:true,multipleSep:mla.settings.comma+" "})});uploader.bind("BeforeUpload",function(e,f){var g=a("#file-form").serialize();e.settings.multipart_params.mlaAddNewBulkEdit.formString=g})},formToggle:function(){var b=a("#bulk-edit-toggle"),c=a("#mla-add-new-bulk-edit-div");if("none"===c.css("display")){b.attr("title",mla.settings.toggleClose);b.attr("value",mla.settings.toggleClose)}else{b.attr("title",mla.settings.toggleOpen);b.attr("value",mla.settings.toggleOpen)}c.slideToggle("slow")},parentOpen:function(){var d,b,c;b=-1;c=mla.settings.uploadTitle;d=a('#mla-add-new-bulk-edit-div :input[name="post_parent"]').val()||-1;mla.setParent.open(d,b,c);a("#mla-set-parent-submit").on("click",function(e){e.preventDefault();mla.addNewBulkEdit.parentSave();return false})},parentSave:function(){var c=a("#mla-set-parent-response-div input:checked").closest("tr"),d,b;if(c.length){d=a(":radio",c).val()||"";b=a('#mla-add-new-bulk-edit-div :input[name="post_parent"]').clone(true).val(d);a('#mla-add-new-bulk-edit-div :input[name="post_parent"]').replaceWith(b)}mla.setParent.close();a("#mla-set-parent-submit").off("click")},};a(document).ready(function(){mla.addNewBulkEdit.init()})})(jQuery);
1
+ var jQuery,mla_add_new_bulk_edit_vars,mla={settings:{},utility:{getId:function(b){var c=jQuery(b).closest("tr").attr("id"),a=c.split("-");return a[a.length-1]}},addNewBulkEdit:null,setParent:null};(function(a){mla.settings=typeof mla_add_new_bulk_edit_vars==="undefined"?{}:mla_add_new_bulk_edit_vars;mla_add_new_bulk_edit_vars=void 0;if(typeof mla.settings.areaOnTop==="undefined"){mla.settings.areaOnTop=false}mla.addNewBulkEdit={init:function(){var d,c,f=a(".upload-flash-bypass"),e=a("#wpbody .wrap").children("h2"),b,g=a("#mla-add-new-bulk-edit-div").hide();a("#bulk-edit-set-parent",g).on("click",function(){return mla.addNewBulkEdit.parentOpen()});d=a("#bulk-edit-toggle",g).detach();c=a("#bulk-edit-reset",g).detach();if(mla.settings.areaOnTop){d.appendTo(e);c.appendTo(e);b=g.detach();a("#file-form").before(b)}else{d.appendTo(f);c.appendTo(f)}d.siblings("a").on("click",function(){d.attr("title",mla.settings.toggleOpen);d.attr("value",mla.settings.toggleOpen);c.hide();g.hide()});d.on("click",function(){return mla.addNewBulkEdit.formToggle()});c.on("click",function(){return mla.addNewBulkEdit.doReset()});a("textarea.mla_tags",g).each(function(){var h=a(this).attr("name").replace("]","").replace("tax_input[","");a(this).suggest(ajaxurl+"?action=ajax-tag-search&tax="+h,{delay:500,minchars:2,multiple:true,multipleSep:mla.settings.comma+" "})});uploader.bind("BeforeUpload",function(h,i){var j=a("#file-form").serialize();h.settings.multipart_params.mlaAddNewBulkEditFormString=j})},doReset:function(){var d=a("#mla-add-new-bulk-edit-div"),c=a("#mla-blank-add-new-bulk-edit-div"),b=a(".inline-edit-categories",c).html(),f=a(".inline-edit-tags",c).html(),e=a(".inline-edit-fields",c).html();a(".inline-edit-categories",d).html(b),a(".inline-edit-tags",d).html(f),a(".inline-edit-fields",d).html(e);a("#bulk-edit-set-parent",d).on("click",function(){return mla.addNewBulkEdit.parentOpen()});return false},formToggle:function(){var d=a("#bulk-edit-toggle"),b=a("#bulk-edit-reset"),c=a("#mla-add-new-bulk-edit-div");if("none"===c.css("display")){d.attr("title",mla.settings.toggleClose);d.attr("value",mla.settings.toggleClose);b.show()}else{d.attr("title",mla.settings.toggleOpen);d.attr("value",mla.settings.toggleOpen);b.hide()}c.slideToggle("slow")},parentOpen:function(){var d,b,c;b=-1;c=mla.settings.uploadTitle;d=a('#mla-add-new-bulk-edit-div :input[name="post_parent"]').val()||-1;mla.setParent.open(d,b,c);a("#mla-set-parent-submit").on("click",function(e){e.preventDefault();mla.addNewBulkEdit.parentSave();return false})},parentSave:function(){var c=a("#mla-set-parent-response-div input:checked").closest("tr"),d,b;if(c.length){d=a(":radio",c).val()||"";b=a('#mla-add-new-bulk-edit-div :input[name="post_parent"]').clone(true).val(d);a('#mla-add-new-bulk-edit-div :input[name="post_parent"]').replaceWith(b)}mla.setParent.close();a("#mla-set-parent-submit").off("click")},};a(document).ready(function(){mla.addNewBulkEdit.init()})})(jQuery);
js/mla-edit-media-scripts.js CHANGED
@@ -3,11 +3,11 @@ var jQuery,
3
  mla = {
4
  // Properties
5
  settings: {},
6
-
7
  // Utility functions
8
  utility: {
9
  },
10
-
11
  // Components
12
  setParent: null,
13
  mlaEditAttachment: null
3
  mla = {
4
  // Properties
5
  settings: {},
6
+
7
  // Utility functions
8
  utility: {
9
  },
10
+
11
  // Components
12
  setParent: null,
13
  mlaEditAttachment: null
js/mla-inline-edit-scripts.js CHANGED
@@ -9,7 +9,7 @@ var jQuery,
9
  inProcess: false,
10
  doCancel: false
11
  },
12
-
13
  // Utility functions
14
  utility: {
15
  getId : function( o ) {
@@ -18,7 +18,7 @@ var jQuery,
18
  return parts[ parts.length - 1 ];
19
  }
20
  },
21
-
22
  // Components
23
  setParent: null,
24
  inlineEditAttachment: null
@@ -73,6 +73,9 @@ var jQuery,
73
  $('a.cancel', bulkRow).click(function(){
74
  return mla.inlineEditAttachment.revert();
75
  });
 
 
 
76
  $('input[type="submit"]', bulkRow).click(function(e){
77
  e.preventDefault();
78
  return mla.inlineEditAttachment.bulkSave(e);
@@ -132,7 +135,16 @@ var jQuery,
132
  this.revert();
133
 
134
  $('#bulk-edit td').attr('colspan', $( 'th:visible, td:visible', '.widefat:first thead' ).length);
135
- $('table.widefat tbody').prepend( $('#bulk-edit') );
 
 
 
 
 
 
 
 
 
136
  $('#bulk-edit').addClass('inline-editor').show();
137
 
138
  $('tbody th.check-column input[type="checkbox"]').each(function(){
@@ -184,7 +196,7 @@ var jQuery,
184
  success: 0,
185
  failure: 0
186
  };
187
-
188
  //mla.bulkEdit.ids = []; // clone doesn't do this.
189
  mla.bulkEdit.chunkSize = +mla.settings.bulkChunkSize;
190
  mla.bulkEdit.targetName = e.target.name;
@@ -210,7 +222,7 @@ var jQuery,
210
  $('#bulk-progress').addClass('inline-editor').show();
211
  $('#cb-select-all-1' ).removeAttr( 'checked' );
212
  $('#cb-select-all-2' ).removeAttr( 'checked' );
213
-
214
  $('tbody th.check-column input[type="checkbox"]').each(function(){
215
  if ( $(this).prop('checked') ) {
216
  c = false;
@@ -268,50 +280,50 @@ var jQuery,
268
 
269
  params = $.param( params ) + '&' + mla.bulkEdit.fields;
270
  //console.log( params );
271
-
272
  // make ajax request
273
  mla.bulkEdit.inProcess = true;
274
-
275
  if ( mla.settings.useSpinnerClass ) {
276
  spinner.addClass("is-active");
277
  } else {
278
  spinner.show();
279
  }
280
-
281
  statusMessage = mla.settings.bulkWaiting + ': ' + mla.bulkEdit.waiting
282
  + ', ' + mla.settings.bulkComplete + ': ' + mla.bulkEdit.complete
283
  + ', ' + mla.settings.bulkUnchanged + ': ' + mla.bulkEdit.unchanged
284
  + ', ' + mla.settings.bulkSuccess + ': ' + mla.bulkEdit.success
285
  + ', ' + mla.settings.bulkFailure + ': ' + mla.bulkEdit.failure;
286
  results.html( statusMessage ).show();
287
-
288
  $.ajax( ajaxurl, {
289
  type: 'POST',
290
  data: params,
291
  dataType: 'json'
292
  }).always( function() {
293
-
294
  if ( mla.settings.useSpinnerClass ) {
295
  spinner.removeClass("is-active");
296
  } else {
297
  spinner.hide();
298
  }
299
-
300
  }).done( function( response, status ) {
301
  var responseData = 'no response.data', responseMessage, items;
302
-
303
  if ( mla.settings.useSpinnerClass ) {
304
  spinner.removeClass("is-active");
305
  } else {
306
  spinner.hide();
307
  }
308
-
309
  if ( response ) {
310
  if ( ! response.success ) {
311
  if ( response.responseData ) {
312
  responseData = response.data;
313
  }
314
-
315
  results.html( JSON.stringify( response ) ).show();
316
  mla.bulkEdit.offset = mla.bulkEdit.idsCount; // Stop
317
  } else {
@@ -325,17 +337,17 @@ var jQuery,
325
  result = response.data.item_results[ id ]['result'];
326
  $( this ).html( title + ' (' + id + ') - ' + result );
327
  }
328
-
329
  $( '#attachment-' + id ).remove();
330
  });
331
-
332
  $( '#bulk-progress-complete' ).append( items );
333
  mla.bulkEdit.complete += mla.bulkEdit.running;
334
  mla.bulkEdit.running = 0;
335
  mla.bulkEdit.unchanged += response.data.unchanged;
336
  mla.bulkEdit.success += response.data.success;
337
  mla.bulkEdit.failure += response.data.failure;
338
-
339
  responseMessage = mla.settings.bulkWaiting + ': ' + mla.bulkEdit.waiting
340
  + ', ' + mla.settings.bulkComplete + ': ' + mla.bulkEdit.complete
341
  + ', ' + mla.settings.bulkUnchanged + ': ' + mla.bulkEdit.unchanged
@@ -347,7 +359,7 @@ var jQuery,
347
  results.html( mla.settings.error ).show();
348
  mla.bulkEdit.offset = mla.bulkEdit.idsCount; // Stop
349
  }
350
-
351
  if ( mla.bulkEdit.doCancel ) {
352
  results.html( mla.settings.bulkCanceled + '. ' + responseMessage ).show();
353
  } else {
@@ -369,7 +381,7 @@ var jQuery,
369
  },
370
 
371
  quickEdit : function(id) {
372
- var t = this, fields, editRow, rowData, fIndex;
373
  t.revert();
374
 
375
  if ( typeof(id) == 'object' )
@@ -377,16 +389,31 @@ var jQuery,
377
 
378
  fields = mla.settings.fields;
379
 
380
- // add the new blank row
 
 
 
381
  editRow = $('#inline-edit').clone(true);
382
  $('td', editRow).attr('colspan', $( 'th:visible, td:visible', '.widefat:first thead' ).length);
383
 
384
- if ( $(t.what+id).hasClass('alternate') )
385
- $(editRow).addClass('alternate');
386
- $(t.what+id).hide().after(editRow);
 
 
 
 
 
 
387
 
388
  // populate the data
389
  rowData = $('#inline_'+id);
 
 
 
 
 
 
390
  if ( !$(':input[name="post_author"] option[value="' + $('.post_author', rowData).text() + '"]', editRow).val() ) {
391
  // author no longer has edit caps, so we need to add them to the list of authors
392
  $(':input[name="post_author"]', editRow).prepend('<option value="' + $('.post_author', rowData).text() + '">' + $('#' + t.type + '-' + id + ' .author').text() + '</option>');
@@ -419,7 +446,7 @@ var jQuery,
419
  var terms = $(this).text(),
420
  taxname = $(this).attr('id').replace('_' + id, ''),
421
  textarea = $('textarea.tax_input_' + taxname, editRow),
422
- comma = mla.settings.comma;
423
 
424
  if ( terms ) {
425
  if ( ',' !== comma )
@@ -427,7 +454,14 @@ var jQuery,
427
  textarea.val(terms);
428
  }
429
 
430
- textarea.suggest( ajaxurl + '?action=ajax-tag-search&tax=' + taxname, { delay: 500, minchars: 2, multiple: true, multipleSep: mla.settings.comma + ' ' } );
 
 
 
 
 
 
 
431
  });
432
 
433
  rowData = $(editRow).attr('id', 'edit-'+id).addClass('inline-editor').show().position().top;
@@ -440,15 +474,16 @@ var jQuery,
440
  quickSave : function( id ) {
441
  var params, fields, page = $('.post_status_page').val() || '';
442
 
443
- if ( typeof(id) == 'object' )
444
  id = mla.utility.getId(id);
 
445
 
446
  if ( mla.settings.useSpinnerClass ) {
447
  $('table.widefat .inline-edit-save .spinner').addClass("is-active");
448
  } else {
449
  $('table.widefat .inline-edit-save .spinner').show();
450
  }
451
-
452
  params = {
453
  action: mla.settings.ajax_action,
454
  mla_admin_nonce: mla.settings.ajax_nonce,
@@ -472,7 +507,12 @@ var jQuery,
472
 
473
  if ( response ) {
474
  if ( -1 != response.indexOf( '<tr' ) ) {
475
- $( mla.inlineEditAttachment.what + id ).remove();
 
 
 
 
 
476
  $( '#edit-' + id ).before( response ).remove();
477
  $( mla.inlineEditAttachment.what + id ).hide().fadeIn();
478
  } else {
@@ -483,7 +523,7 @@ var jQuery,
483
  $( '#edit-' + id + ' .inline-edit-save .error' ).html( mla.settings.error ).show();
484
  }
485
  }, 'html');
486
-
487
  return false;
488
  },
489
 
@@ -574,7 +614,7 @@ var jQuery,
574
  tableCell = $( '#attachment-' + postId + " td.attached_to" ).clone( true );
575
  tableCell.html( '<span class="spinner"></span>' );
576
  $( '#attachment-' + postId + " td.attached_to" ).replaceWith( tableCell );
577
-
578
  if ( mla.settings.useSpinnerClass ) {
579
  $( '#attachment-' + postId + " td.attached_to .spinner" ).addClass("is-active");
580
  } else {
@@ -610,6 +650,35 @@ var jQuery,
610
  mla.setParent.close();
611
  },
612
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
613
  revert : function(){
614
  var id = $('table.widefat tr.inline-editor').attr('id');
615
 
@@ -621,7 +690,12 @@ var jQuery,
621
  }
622
 
623
  if ( 'bulk-edit' == id ) {
624
- $('table.widefat #bulk-edit').removeClass('inline-editor').hide();
 
 
 
 
 
625
  $('#bulk-titles').html('');
626
  $('#inlineedit').append( $('#bulk-edit') );
627
  } else {
@@ -630,7 +704,12 @@ var jQuery,
630
  $('#bulk-progress-waiting').html('');
631
  $('#inlineedit').append( $('#bulk-progress') );
632
  } else {
633
- $('#'+id).remove();
 
 
 
 
 
634
  id = id.substr( id.lastIndexOf('-') + 1 );
635
  $(this.what+id).show();
636
  }
9
  inProcess: false,
10
  doCancel: false
11
  },
12
+
13
  // Utility functions
14
  utility: {
15
  getId : function( o ) {
18
  return parts[ parts.length - 1 ];
19
  }
20
  },
21
+
22
  // Components
23
  setParent: null,
24
  inlineEditAttachment: null
73
  $('a.cancel', bulkRow).click(function(){
74
  return mla.inlineEditAttachment.revert();
75
  });
76
+ $('a.reset', bulkRow).click(function(){
77
+ return mla.inlineEditAttachment.doReset();
78
+ });
79
  $('input[type="submit"]', bulkRow).click(function(e){
80
  e.preventDefault();
81
  return mla.inlineEditAttachment.bulkSave(e);
135
  this.revert();
136
 
137
  $('#bulk-edit td').attr('colspan', $( 'th:visible, td:visible', '.widefat:first thead' ).length);
138
+ /*
139
+ * Insert the editor at the top of the table with an empty row above
140
+ * in WP 4.2+ to maintain zebra striping.
141
+ */
142
+ if ( mla.settings.useSpinnerClass ) {
143
+ $('table.widefat tbody').prepend( $('#bulk-edit') ).prepend('<tr class="hidden"></tr>');
144
+ } else {
145
+ $('table.widefat tbody').prepend( $('#bulk-edit') );
146
+ }
147
+
148
  $('#bulk-edit').addClass('inline-editor').show();
149
 
150
  $('tbody th.check-column input[type="checkbox"]').each(function(){
196
  success: 0,
197
  failure: 0
198
  };
199
+
200
  //mla.bulkEdit.ids = []; // clone doesn't do this.
201
  mla.bulkEdit.chunkSize = +mla.settings.bulkChunkSize;
202
  mla.bulkEdit.targetName = e.target.name;
222
  $('#bulk-progress').addClass('inline-editor').show();
223
  $('#cb-select-all-1' ).removeAttr( 'checked' );
224
  $('#cb-select-all-2' ).removeAttr( 'checked' );
225
+
226
  $('tbody th.check-column input[type="checkbox"]').each(function(){
227
  if ( $(this).prop('checked') ) {
228
  c = false;
280
 
281
  params = $.param( params ) + '&' + mla.bulkEdit.fields;
282
  //console.log( params );
283
+
284
  // make ajax request
285
  mla.bulkEdit.inProcess = true;
286
+
287
  if ( mla.settings.useSpinnerClass ) {
288
  spinner.addClass("is-active");
289
  } else {
290
  spinner.show();
291
  }
292
+
293
  statusMessage = mla.settings.bulkWaiting + ': ' + mla.bulkEdit.waiting
294
  + ', ' + mla.settings.bulkComplete + ': ' + mla.bulkEdit.complete
295
  + ', ' + mla.settings.bulkUnchanged + ': ' + mla.bulkEdit.unchanged
296
  + ', ' + mla.settings.bulkSuccess + ': ' + mla.bulkEdit.success
297
  + ', ' + mla.settings.bulkFailure + ': ' + mla.bulkEdit.failure;
298
  results.html( statusMessage ).show();
299
+
300
  $.ajax( ajaxurl, {
301
  type: 'POST',
302
  data: params,
303
  dataType: 'json'
304
  }).always( function() {
305
+
306
  if ( mla.settings.useSpinnerClass ) {
307
  spinner.removeClass("is-active");
308
  } else {
309
  spinner.hide();
310
  }
311
+
312
  }).done( function( response, status ) {
313
  var responseData = 'no response.data', responseMessage, items;
314
+
315
  if ( mla.settings.useSpinnerClass ) {
316
  spinner.removeClass("is-active");
317
  } else {
318
  spinner.hide();
319
  }
320
+
321
  if ( response ) {
322
  if ( ! response.success ) {
323
  if ( response.responseData ) {
324
  responseData = response.data;
325
  }
326
+
327
  results.html( JSON.stringify( response ) ).show();
328
  mla.bulkEdit.offset = mla.bulkEdit.idsCount; // Stop
329
  } else {
337
  result = response.data.item_results[ id ]['result'];
338
  $( this ).html( title + ' (' + id + ') - ' + result );
339
  }
340
+
341
  $( '#attachment-' + id ).remove();
342
  });
343
+
344
  $( '#bulk-progress-complete' ).append( items );
345
  mla.bulkEdit.complete += mla.bulkEdit.running;
346
  mla.bulkEdit.running = 0;
347
  mla.bulkEdit.unchanged += response.data.unchanged;
348
  mla.bulkEdit.success += response.data.success;
349
  mla.bulkEdit.failure += response.data.failure;
350
+
351
  responseMessage = mla.settings.bulkWaiting + ': ' + mla.bulkEdit.waiting
352
  + ', ' + mla.settings.bulkComplete + ': ' + mla.bulkEdit.complete
353
  + ', ' + mla.settings.bulkUnchanged + ': ' + mla.bulkEdit.unchanged
359
  results.html( mla.settings.error ).show();
360
  mla.bulkEdit.offset = mla.bulkEdit.idsCount; // Stop
361
  }
362
+
363
  if ( mla.bulkEdit.doCancel ) {
364
  results.html( mla.settings.bulkCanceled + '. ' + responseMessage ).show();
365
  } else {
381
  },
382
 
383
  quickEdit : function(id) {
384
+ var t = this, fields, editRow, rowData, icon, fIndex;
385
  t.revert();
386
 
387
  if ( typeof(id) == 'object' )
389
 
390
  fields = mla.settings.fields;
391
 
392
+ /*
393
+ * add the new edit row with an extra blank row underneath
394
+ * in WP 4.2+ to maintain zebra striping
395
+ */
396
  editRow = $('#inline-edit').clone(true);
397
  $('td', editRow).attr('colspan', $( 'th:visible, td:visible', '.widefat:first thead' ).length);
398
 
399
+ if ( mla.settings.useSpinnerClass ) {
400
+ $(t.what+id).hide().after(editRow).after('<tr class="hidden"></tr>');
401
+ } else {
402
+ if ( $(t.what+id).hasClass('alternate') ) {
403
+ $(editRow).addClass('alternate');
404
+ }
405
+
406
+ $(t.what+id).hide().after(editRow);
407
+ }
408
 
409
  // populate the data
410
  rowData = $('#inline_'+id);
411
+
412
+ icon = $('.item_thumbnail', rowData).html();
413
+ if ( icon.length ) {
414
+ $( '#item_thumbnail', editRow ).html( icon );
415
+ }
416
+
417
  if ( !$(':input[name="post_author"] option[value="' + $('.post_author', rowData).text() + '"]', editRow).val() ) {
418
  // author no longer has edit caps, so we need to add them to the list of authors
419
  $(':input[name="post_author"]', editRow).prepend('<option value="' + $('.post_author', rowData).text() + '">' + $('#' + t.type + '-' + id + ' .author').text() + '</option>');
446
  var terms = $(this).text(),
447
  taxname = $(this).attr('id').replace('_' + id, ''),
448
  textarea = $('textarea.tax_input_' + taxname, editRow),
449
+ comma = mla.settings.comma, langArgument;
450
 
451
  if ( terms ) {
452
  if ( ',' !== comma )
454
  textarea.val(terms);
455
  }
456
 
457
+ langArgument = $('.lang', rowData).text();
458
+ if ( 0 < langArgument.length ) {
459
+ langArgument = '&lang=' + langArgument;
460
+ } else {
461
+ langArgument = '';
462
+ }
463
+
464
+ textarea.suggest( ajaxurl + '?action=ajax-tag-search&tax=' + taxname + '&preview_id=' + id + langArgument, { delay: 500, minchars: 2, multiple: true, multipleSep: mla.settings.comma + ' ' } );
465
  });
466
 
467
  rowData = $(editRow).attr('id', 'edit-'+id).addClass('inline-editor').show().position().top;
474
  quickSave : function( id ) {
475
  var params, fields, page = $('.post_status_page').val() || '';
476
 
477
+ if ( typeof(id) == 'object' ) {
478
  id = mla.utility.getId(id);
479
+ }
480
 
481
  if ( mla.settings.useSpinnerClass ) {
482
  $('table.widefat .inline-edit-save .spinner').addClass("is-active");
483
  } else {
484
  $('table.widefat .inline-edit-save .spinner').show();
485
  }
486
+
487
  params = {
488
  action: mla.settings.ajax_action,
489
  mla_admin_nonce: mla.settings.ajax_nonce,
507
 
508
  if ( response ) {
509
  if ( -1 != response.indexOf( '<tr' ) ) {
510
+ if ( mla.settings.useSpinnerClass ) {
511
+ $( mla.inlineEditAttachment.what + id ).siblings('tr.hidden').addBack().remove();
512
+ } else {
513
+ $( mla.inlineEditAttachment.what + id ).remove();
514
+ }
515
+
516
  $( '#edit-' + id ).before( response ).remove();
517
  $( mla.inlineEditAttachment.what + id ).hide().fadeIn();
518
  } else {
523
  $( '#edit-' + id + ' .inline-edit-save .error' ).html( mla.settings.error ).show();
524
  }
525
  }, 'html');
526
+
527
  return false;
528
  },
529
 
614
  tableCell = $( '#attachment-' + postId + " td.attached_to" ).clone( true );
615
  tableCell.html( '<span class="spinner"></span>' );
616
  $( '#attachment-' + postId + " td.attached_to" ).replaceWith( tableCell );
617
+
618
  if ( mla.settings.useSpinnerClass ) {
619
  $( '#attachment-' + postId + " td.attached_to .spinner" ).addClass("is-active");
620
  } else {
650
  mla.setParent.close();
651
  },
652
 
653
+ doReset : function(){
654
+ var id = $('table.widefat tr.inline-editor').attr('id'),
655
+ bulkRow = $('table.widefat #bulk-edit'),
656
+ blankRow = $('#inlineedit #blank-bulk-edit'),
657
+ blankCategories = $('.inline-edit-categories', blankRow ).html(),
658
+ blankTags = $('.inline-edit-tags', blankRow ).html(),
659
+ blankFields = $('.inline-edit-fields', blankRow ).html();
660
+
661
+ if ( id ) {
662
+ if ( mla.settings.useSpinnerClass ) {
663
+ $('table.widefat .inline-edit-save .spinner').removeClass("is-active");
664
+ } else {
665
+ $('table.widefat .inline-edit-save .spinner').hide();
666
+ }
667
+
668
+ if ( 'bulk-edit' == id ) {
669
+ $('.inline-edit-categories', bulkRow ).html( blankCategories ),
670
+ $('.inline-edit-tags', bulkRow ).html( blankTags ),
671
+ $('.inline-edit-fields', bulkRow ).html( blankFields );
672
+
673
+ $('#bulk-edit-set-parent', bulkRow).on( 'click', function(){
674
+ return mla.inlineEditAttachment.bulkParentOpen();
675
+ });
676
+ }
677
+ }
678
+
679
+ return false;
680
+ },
681
+
682
  revert : function(){
683
  var id = $('table.widefat tr.inline-editor').attr('id');
684
 
690
  }
691
 
692
  if ( 'bulk-edit' == id ) {
693
+ if ( mla.settings.useSpinnerClass ) {
694
+ $('table.widefat #bulk-edit').removeClass('inline-editor').hide().siblings('tr.hidden').remove();
695
+ } else {
696
+ $('table.widefat #bulk-edit').removeClass('inline-editor').hide();
697
+ }
698
+
699
  $('#bulk-titles').html('');
700
  $('#inlineedit').append( $('#bulk-edit') );
701
  } else {
704
  $('#bulk-progress-waiting').html('');
705
  $('#inlineedit').append( $('#bulk-progress') );
706
  } else {
707
+ if ( mla.settings.useSpinnerClass ) {
708
+ $('#'+id).siblings('tr.hidden').addBack().remove();
709
+ } else {
710
+ $('#'+id).remove();
711
+ }
712
+
713
  id = id.substr( id.lastIndexOf('-') + 1 );
714
  $(this.what+id).show();
715
  }
js/mla-inline-edit-scripts.min.js CHANGED
@@ -1 +1 @@
1
- var jQuery,mla_inline_edit_vars,mla={settings:{},bulkEdit:{inProcess:false,doCancel:false},utility:{getId:function(b){var c=jQuery(b).closest("tr").attr("id"),a=c.split("-");return a[a.length-1]}},setParent:null,inlineEditAttachment:null};(function(a){mla.settings=typeof mla_inline_edit_vars==="undefined"?{}:mla_inline_edit_vars;mla_inline_edit_vars=void 0;mla.inlineEditAttachment={init:function(){var d=this,e=a("#inline-edit"),c=a("#bulk-edit"),b=a("#bulk-progress");d.type="attachment";d.what="#attachment-";e.keyup(function(f){if(f.which==27){return mla.inlineEditAttachment.revert()}});c.keyup(function(f){if(f.which==27){return mla.inlineEditAttachment.revert()}});b.keyup(function(f){if(f.which==27){return mla.inlineEditAttachment.revert()}});a("#inline-edit-post-set-parent",e).on("click",function(){return mla.inlineEditAttachment.inlineParentOpen(this)});a("a.cancel",e).click(function(){return mla.inlineEditAttachment.revert()});a("a.save",e).click(function(){return mla.inlineEditAttachment.quickSave(this)});a("td",e).keydown(function(f){if(f.which==13){return mla.inlineEditAttachment.quickSave(this)}});a("#bulk-edit-set-parent",c).on("click",function(){return mla.inlineEditAttachment.bulkParentOpen()});a("a.cancel",c).click(function(){return mla.inlineEditAttachment.revert()});a('input[type="submit"]',c).click(function(f){f.preventDefault();return mla.inlineEditAttachment.bulkSave(f)});a("a.cancel",b).click(function(){if(mla.bulkEdit.inProcess){mla.bulkEdit.doCancel=true;return false}else{return mla.inlineEditAttachment.revert()}});a("#bulk_refresh",b).click(function(){a("#bulk-progress a").prop("disabled",true);a("#bulk-progress").css("opacity","0.5")});a("#the-list").on("click","a.editinline",function(){mla.inlineEditAttachment.quickEdit(this);return false});a("span.catshow").click(function(){a(this).hide().next().show().parent().next().addClass("cat-hover")});a("span.cathide").click(function(){a(this).hide().prev().show().parent().next().removeClass("cat-hover")});a('select[name="_status"] option[value="future"]',c).remove();a("#doaction, #doaction2").click(function(f){var g=a(this).attr("id").substr(2);if(a('select[name="'+g+'"]').val()=="edit"){f.preventDefault();d.bulkEdit()}else{if(a("form#posts-filter tr.inline-editor").length>0){d.revert()}}});a("#post-query-submit").mousedown(function(){d.revert();a('select[name^="action"]').val("-1")})},bulkEdit:function(){var b="",d=true;this.revert();a("#bulk-edit td").attr("colspan",a("th:visible, td:visible",".widefat:first thead").length);a("table.widefat tbody").prepend(a("#bulk-edit"));a("#bulk-edit").addClass("inline-editor").show();a('tbody th.check-column input[type="checkbox"]').each(function(){if(a(this).prop("checked")){d=false;var e=a(this).val(),c;c=a("#inline_"+e+" .post_title").text()||mla.settings.noTitle;b+='<div id="ttle'+e+'"><a id="_'+e+'" class="ntdelbutton" title="'+mla.settings.ntdelTitle+'">X</a>'+c+"</div>"}});if(d){return this.revert()}a("#bulk-titles").html(b);a("#bulk-titles a").click(function(){var c=a(this).attr("id").substr(1);a('table.widefat input[value="'+c+'"]').prop("checked",false);a("#ttle"+c).remove()});a("textarea.mla_tags").each(function(){var c=a(this).attr("name").replace("]","").replace("tax_input[","");a(this).suggest(ajaxurl+"?action=ajax-tag-search&tax="+c,{delay:500,minchars:2,multiple:true,multipleSep:mla.settings.comma+" "})});a("html, body").animate({scrollTop:0},"fast")},bulkSave:function(c){var b;mla.bulkEdit={inProcess:false,doCancel:false,chunkSize:0,targetName:"",fields:"",ids:[],idsCount:0,offset:0,waiting:0,running:0,complete:0,unchanged:0,success:0,failure:0};mla.bulkEdit.chunkSize=+mla.settings.bulkChunkSize;mla.bulkEdit.targetName=c.target.name;mla.bulkEdit.fields=a("#bulk-edit :input").serialize();b=a('tbody th.check-column input[type="checkbox"]').serializeArray();a.each(b,function(d,e){mla.bulkEdit.ids[d]=+e.value});mla.bulkEdit.idsCount=mla.bulkEdit.waiting=mla.bulkEdit.ids.length;mla.inlineEditAttachment.bulkProgressOpen();mla.inlineEditAttachment.bulkPost();return false},bulkProgressOpen:function(){var b="",d=true;this.revert();a("#bulk-progress td").attr("colspan",a("th:visible, td:visible",".widefat:first thead").length);a("table.widefat tbody").prepend(a("#bulk-progress"));a("#bulk-progress").addClass("inline-editor").show();a("#cb-select-all-1").removeAttr("checked");a("#cb-select-all-2").removeAttr("checked");a('tbody th.check-column input[type="checkbox"]').each(function(){if(a(this).prop("checked")){d=false;var e=a(this).val(),c;c=a("#inline_"+e+" .post_title").text()||mla.settings.noTitle;b+='<div id="ttle'+e+'"><a id="_'+e+'" class="ntdelbutton" title="'+mla.settings.ntdelTitle+'">X</a>'+c+"</div>"}});if(d){return this.revert()}a("#bulk-progress-running").html("");a("#bulk-progress-complete").html("");a("#bulk-progress-waiting").html(b);a("#bulk-progress-waiting a").click(function(){var c=a(this).attr("id").substr(1);a('table.widefat input[value="'+c+'"]').prop("checked",false);a("#ttle"+c).remove()});a("#bulk-progress .inline-edit-save .error").html("");a("#bulk_refresh").prop("disabled",true).css("opacity","0.5");a("html, body").animate({scrollTop:0},"fast")},bulkPost:function(){var b,g,f,i,c,h=a("table.widefat .inline-edit-save .spinner"),d=a("#bulk-progress .inline-edit-save .error"),j=a("#bulk-progress-waiting"),e=a("#bulk-progress-running");g=mla.bulkEdit.ids.slice(mla.bulkEdit.offset,mla.bulkEdit.offset+mla.bulkEdit.chunkSize);mla.bulkEdit.offset+=mla.bulkEdit.chunkSize;for(f=0;f<g.length;f++){i=a("#ttle"+g[f],j).remove();a("a",i).hide();e.append(i)}mla.bulkEdit.waiting-=g.length;mla.bulkEdit.running=g.length;b={action:mla.settings.ajax_action,mla_admin_nonce:mla.settings.ajax_nonce,bulk_action:mla.bulkEdit.targetName,cb_attachment:g};b=a.param(b)+"&"+mla.bulkEdit.fields;mla.bulkEdit.inProcess=true;if(mla.settings.useSpinnerClass){h.addClass("is-active")}else{h.show()}c=mla.settings.bulkWaiting+": "+mla.bulkEdit.waiting+", "+mla.settings.bulkComplete+": "+mla.bulkEdit.complete+", "+mla.settings.bulkUnchanged+": "+mla.bulkEdit.unchanged+", "+mla.settings.bulkSuccess+": "+mla.bulkEdit.success+", "+mla.settings.bulkFailure+": "+mla.bulkEdit.failure;d.html(c).show();a.ajax(ajaxurl,{type:"POST",data:b,dataType:"json"}).always(function(){if(mla.settings.useSpinnerClass){h.removeClass("is-active")}else{h.hide()}}).done(function(n,l){var o="no response.data",k,m;if(mla.settings.useSpinnerClass){h.removeClass("is-active")}else{h.hide()}if(n){if(!n.success){if(n.responseData){o=n.data}d.html(JSON.stringify(n)).show();mla.bulkEdit.offset=mla.bulkEdit.idsCount}else{m=a("#bulk-progress-running div").remove();a.each(m,function(){var p,q=a(this).html(),r=a(this).attr("id").substr(4);if("string"===typeof(n.data.item_results[r]["result"])){p=n.data.item_results[r]["result"];a(this).html(q+" ("+r+") - "+p)}a("#attachment-"+r).remove()});a("#bulk-progress-complete").append(m);mla.bulkEdit.complete+=mla.bulkEdit.running;mla.bulkEdit.running=0;mla.bulkEdit.unchanged+=n.data.unchanged;mla.bulkEdit.success+=n.data.success;mla.bulkEdit.failure+=n.data.failure;k=mla.settings.bulkWaiting+": "+mla.bulkEdit.waiting+", "+mla.settings.bulkComplete+": "+mla.bulkEdit.complete+", "+mla.settings.bulkUnchanged+": "+mla.bulkEdit.unchanged+", "+mla.settings.bulkSuccess+": "+mla.bulkEdit.success+", "+mla.settings.bulkFailure+": "+mla.bulkEdit.failure;d.html(k).show()}}else{d.html(mla.settings.error).show();mla.bulkEdit.offset=mla.bulkEdit.idsCount}if(mla.bulkEdit.doCancel){d.html(mla.settings.bulkCanceled+". "+k).show()}else{if(mla.bulkEdit.offset<mla.bulkEdit.idsCount){mla.inlineEditAttachment.bulkPost();return}}a("#bulk_refresh").prop("disabled",false).css("opacity","1.0");mla.bulkEdit.inProcess=false}).fail(function(l,k){if(200==l.status){d.text("("+k+") "+l.responseText)}else{d.text(mla.settings.ajaxFailError+" ("+k+"), jqXHR( "+l.status+", "+l.statusText+", "+l.responseText+")")}})},quickEdit:function(g){var d=this,b,c,e,f;d.revert();if(typeof(g)=="object"){g=mla.utility.getId(g)}b=mla.settings.fields;c=a("#inline-edit").clone(true);a("td",c).attr("colspan",a("th:visible, td:visible",".widefat:first thead").length);if(a(d.what+g).hasClass("alternate")){a(c).addClass("alternate")}a(d.what+g).hide().after(c);e=a("#inline_"+g);if(!a(':input[name="post_author"] option[value="'+a(".post_author",e).text()+'"]',c).val()){a(':input[name="post_author"]',c).prepend('<option value="'+a(".post_author",e).text()+'">'+a("#"+d.type+"-"+g+" .author").text()+"</option>")}if(a(':input[name="post_author"] option',c).length==1){a("label.inline-edit-author",c).hide()}for(f=0;f<b.length;f++){a(':input[name="'+b[f]+'"]',c).val(a("."+b[f],e).text())}if(a(".image_alt",e).length===0){a("label.inline-edit-image-alt",c).hide()}a(".mla_category",e).each(function(){var h=a(this).text(),i;if(h){i=a(this).attr("id").replace("_"+g,"");a("ul."+i+"-checklist :checkbox",c).val(h.split(","))}});a(".mla_tags",e).each(function(){var j=a(this).text(),k=a(this).attr("id").replace("_"+g,""),i=a("textarea.tax_input_"+k,c),h=mla.settings.comma;if(j){if(","!==h){j=j.replace(/,/g,h)}i.val(j)}i.suggest(ajaxurl+"?action=ajax-tag-search&tax="+k,{delay:500,minchars:2,multiple:true,multipleSep:mla.settings.comma+" "})});e=a(c).attr("id","edit-"+g).addClass("inline-editor").show().position().top;a(".ptitle",c).focus();a("html, body").animate({scrollTop:e},"fast");return false},quickSave:function(e){var d,b,c=a(".post_status_page").val()||"";if(typeof(e)=="object"){e=mla.utility.getId(e)}if(mla.settings.useSpinnerClass){a("table.widefat .inline-edit-save .spinner").addClass("is-active")}else{a("table.widefat .inline-edit-save .spinner").show()}d={action:mla.settings.ajax_action,mla_admin_nonce:mla.settings.ajax_nonce,post_type:"attachment",post_ID:e,edit_date:"true",post_status:c};b=a("#edit-"+e+" :input").serialize();d=b+"&"+a.param(d);a.post(ajaxurl,d,function(f){if(mla.settings.useSpinnerClass){a("table.widefat .inline-edit-save .spinner").removeClass("is-active")}else{a("table.widefat .inline-edit-save .spinner").hide()}if(f){if(-1!=f.indexOf("<tr")){a(mla.inlineEditAttachment.what+e).remove();a("#edit-"+e).before(f).remove();a(mla.inlineEditAttachment.what+e).hide().fadeIn()}else{f=f.replace(/<.[^<>]*?>/g,"");a("#edit-"+e+" .inline-edit-save .error").html(f).show()}}else{a("#edit-"+e+" .inline-edit-save .error").html(mla.settings.error).show()}},"html");return false},inlineParentOpen:function(e){var d,b,c;if(typeof(e)=="object"){b=mla.utility.getId(e);d=a("#edit-"+b+' :input[name="post_parent"]').val()||"";c=a("#edit-"+b+' :input[name="post_title"]').val()||"";mla.setParent.open(d,b,c);a("#mla-set-parent-submit").on("click",function(f){f.preventDefault();mla.inlineEditAttachment.inlineParentSave(b);return false})}},inlineParentSave:function(b){var f=a("#mla-set-parent-response-div input:checked").closest("tr"),h,e,c=a("#edit-"+b),d,g;if(f.length){h=a(":radio",f).val()||"";e=a("label",f).html()||"";d=a(':input[name="post_parent"]',c).clone(true).val(h);g=a(':input[name="post_parent_title"]',c).clone(true).val(e);a(':input[name="post_parent"]',c).replaceWith(d);a(':input[name="post_parent_title"]',c).replaceWith(g)}mla.setParent.close();a("#mla-set-parent-submit").off("click")},bulkParentOpen:function(){var d,b,c;b=-1;c=mla.settings.bulkTitle;d=a('#bulk-edit :input[name="post_parent"]').val()||-1;mla.setParent.open(d,b,c);a("#mla-set-parent-submit").on("click",function(e){e.preventDefault();mla.inlineEditAttachment.bulkParentSave();return false})},bulkParentSave:function(){var c=a("#mla-set-parent-response-div input:checked").closest("tr"),d,b;if(c.length){d=a(":radio",c).val()||"";b=a('#bulk-edit :input[name="post_parent"]').clone(true).val(d);a('#bulk-edit :input[name="post_parent"]').replaceWith(b)}mla.setParent.close();a("#mla-set-parent-submit").off("click")},tableParentOpen:function(d,b,c){mla.setParent.open(d,b,c);a("#mla-set-parent-submit").on("click",function(e){e.preventDefault();mla.inlineEditAttachment.tableParentSave(b);return false})},tableParentSave:function(b){var d=a("#mla-set-parent-response-div input:checked").closest("tr"),f=a(":radio",d).val()||"-1",c,e=a("#attachment-"+b+" td.attached_to").clone(true);if(d.length&&(f>=0)){e=a("#attachment-"+b+" td.attached_to").clone(true);e.html('<span class="spinner"></span>');a("#attachment-"+b+" td.attached_to").replaceWith(e);if(mla.settings.useSpinnerClass){a("#attachment-"+b+" td.attached_to .spinner").addClass("is-active")}else{a("#attachment-"+b+" td.attached_to .spinner").show()}c=a.param({action:mla.settings.ajax_action+"-set-parent",mla_admin_nonce:mla.settings.ajax_nonce,post_ID:b,post_parent:f,});a.post(ajaxurl,c,function(g){if(g){if(-1==g.indexOf("tableParentOpen(")){g=g.replace(/<.[^<>]*?>/g,"")}}else{g=mla.settings.ajaxFailError}a("#attachment-"+b).before(g).remove();a("#attachment-"+b).hide().fadeIn()},"html")}else{e.html(mla.settings.error);a("#attachment-"+b+" td.attached_to").replaceWith(e)}a("#mla-set-parent-submit").off("click");mla.setParent.close()},revert:function(){var b=a("table.widefat tr.inline-editor").attr("id");if(b){if(mla.settings.useSpinnerClass){a("table.widefat .inline-edit-save .spinner").removeClass("is-active")}else{a("table.widefat .inline-edit-save .spinner").hide()}if("bulk-edit"==b){a("table.widefat #bulk-edit").removeClass("inline-editor").hide();a("#bulk-titles").html("");a("#inlineedit").append(a("#bulk-edit"))}else{if("bulk-progress"==b){a("table.widefat #bulk-progress").removeClass("inline-editor").hide();a("#bulk-progress-waiting").html("");a("#inlineedit").append(a("#bulk-progress"))}else{a("#"+b).remove();b=b.substr(b.lastIndexOf("-")+1);a(this.what+b).show()}}}return false}};a(document).ready(function(){mla.inlineEditAttachment.init()})})(jQuery);
1
+ var jQuery,mla_inline_edit_vars,mla={settings:{},bulkEdit:{inProcess:false,doCancel:false},utility:{getId:function(b){var c=jQuery(b).closest("tr").attr("id"),a=c.split("-");return a[a.length-1]}},setParent:null,inlineEditAttachment:null};(function(a){mla.settings=typeof mla_inline_edit_vars==="undefined"?{}:mla_inline_edit_vars;mla_inline_edit_vars=void 0;mla.inlineEditAttachment={init:function(){var d=this,e=a("#inline-edit"),c=a("#bulk-edit"),b=a("#bulk-progress");d.type="attachment";d.what="#attachment-";e.keyup(function(f){if(f.which==27){return mla.inlineEditAttachment.revert()}});c.keyup(function(f){if(f.which==27){return mla.inlineEditAttachment.revert()}});b.keyup(function(f){if(f.which==27){return mla.inlineEditAttachment.revert()}});a("#inline-edit-post-set-parent",e).on("click",function(){return mla.inlineEditAttachment.inlineParentOpen(this)});a("a.cancel",e).click(function(){return mla.inlineEditAttachment.revert()});a("a.save",e).click(function(){return mla.inlineEditAttachment.quickSave(this)});a("td",e).keydown(function(f){if(f.which==13){return mla.inlineEditAttachment.quickSave(this)}});a("#bulk-edit-set-parent",c).on("click",function(){return mla.inlineEditAttachment.bulkParentOpen()});a("a.cancel",c).click(function(){return mla.inlineEditAttachment.revert()});a("a.reset",c).click(function(){return mla.inlineEditAttachment.doReset()});a('input[type="submit"]',c).click(function(f){f.preventDefault();return mla.inlineEditAttachment.bulkSave(f)});a("a.cancel",b).click(function(){if(mla.bulkEdit.inProcess){mla.bulkEdit.doCancel=true;return false}else{return mla.inlineEditAttachment.revert()}});a("#bulk_refresh",b).click(function(){a("#bulk-progress a").prop("disabled",true);a("#bulk-progress").css("opacity","0.5")});a("#the-list").on("click","a.editinline",function(){mla.inlineEditAttachment.quickEdit(this);return false});a("span.catshow").click(function(){a(this).hide().next().show().parent().next().addClass("cat-hover")});a("span.cathide").click(function(){a(this).hide().prev().show().parent().next().removeClass("cat-hover")});a('select[name="_status"] option[value="future"]',c).remove();a("#doaction, #doaction2").click(function(f){var g=a(this).attr("id").substr(2);if(a('select[name="'+g+'"]').val()=="edit"){f.preventDefault();d.bulkEdit()}else{if(a("form#posts-filter tr.inline-editor").length>0){d.revert()}}});a("#post-query-submit").mousedown(function(){d.revert();a('select[name^="action"]').val("-1")})},bulkEdit:function(){var b="",d=true;this.revert();a("#bulk-edit td").attr("colspan",a("th:visible, td:visible",".widefat:first thead").length);if(mla.settings.useSpinnerClass){a("table.widefat tbody").prepend(a("#bulk-edit")).prepend('<tr class="hidden"></tr>')}else{a("table.widefat tbody").prepend(a("#bulk-edit"))}a("#bulk-edit").addClass("inline-editor").show();a('tbody th.check-column input[type="checkbox"]').each(function(){if(a(this).prop("checked")){d=false;var e=a(this).val(),c;c=a("#inline_"+e+" .post_title").text()||mla.settings.noTitle;b+='<div id="ttle'+e+'"><a id="_'+e+'" class="ntdelbutton" title="'+mla.settings.ntdelTitle+'">X</a>'+c+"</div>"}});if(d){return this.revert()}a("#bulk-titles").html(b);a("#bulk-titles a").click(function(){var c=a(this).attr("id").substr(1);a('table.widefat input[value="'+c+'"]').prop("checked",false);a("#ttle"+c).remove()});a("textarea.mla_tags").each(function(){var c=a(this).attr("name").replace("]","").replace("tax_input[","");a(this).suggest(ajaxurl+"?action=ajax-tag-search&tax="+c,{delay:500,minchars:2,multiple:true,multipleSep:mla.settings.comma+" "})});a("html, body").animate({scrollTop:0},"fast")},bulkSave:function(c){var b;mla.bulkEdit={inProcess:false,doCancel:false,chunkSize:0,targetName:"",fields:"",ids:[],idsCount:0,offset:0,waiting:0,running:0,complete:0,unchanged:0,success:0,failure:0};mla.bulkEdit.chunkSize=+mla.settings.bulkChunkSize;mla.bulkEdit.targetName=c.target.name;mla.bulkEdit.fields=a("#bulk-edit :input").serialize();b=a('tbody th.check-column input[type="checkbox"]').serializeArray();a.each(b,function(d,e){mla.bulkEdit.ids[d]=+e.value});mla.bulkEdit.idsCount=mla.bulkEdit.waiting=mla.bulkEdit.ids.length;mla.inlineEditAttachment.bulkProgressOpen();mla.inlineEditAttachment.bulkPost();return false},bulkProgressOpen:function(){var b="",d=true;this.revert();a("#bulk-progress td").attr("colspan",a("th:visible, td:visible",".widefat:first thead").length);a("table.widefat tbody").prepend(a("#bulk-progress"));a("#bulk-progress").addClass("inline-editor").show();a("#cb-select-all-1").removeAttr("checked");a("#cb-select-all-2").removeAttr("checked");a('tbody th.check-column input[type="checkbox"]').each(function(){if(a(this).prop("checked")){d=false;var e=a(this).val(),c;c=a("#inline_"+e+" .post_title").text()||mla.settings.noTitle;b+='<div id="ttle'+e+'"><a id="_'+e+'" class="ntdelbutton" title="'+mla.settings.ntdelTitle+'">X</a>'+c+"</div>"}});if(d){return this.revert()}a("#bulk-progress-running").html("");a("#bulk-progress-complete").html("");a("#bulk-progress-waiting").html(b);a("#bulk-progress-waiting a").click(function(){var c=a(this).attr("id").substr(1);a('table.widefat input[value="'+c+'"]').prop("checked",false);a("#ttle"+c).remove()});a("#bulk-progress .inline-edit-save .error").html("");a("#bulk_refresh").prop("disabled",true).css("opacity","0.5");a("html, body").animate({scrollTop:0},"fast")},bulkPost:function(){var b,g,f,i,c,h=a("table.widefat .inline-edit-save .spinner"),d=a("#bulk-progress .inline-edit-save .error"),j=a("#bulk-progress-waiting"),e=a("#bulk-progress-running");g=mla.bulkEdit.ids.slice(mla.bulkEdit.offset,mla.bulkEdit.offset+mla.bulkEdit.chunkSize);mla.bulkEdit.offset+=mla.bulkEdit.chunkSize;for(f=0;f<g.length;f++){i=a("#ttle"+g[f],j).remove();a("a",i).hide();e.append(i)}mla.bulkEdit.waiting-=g.length;mla.bulkEdit.running=g.length;b={action:mla.settings.ajax_action,mla_admin_nonce:mla.settings.ajax_nonce,bulk_action:mla.bulkEdit.targetName,cb_attachment:g};b=a.param(b)+"&"+mla.bulkEdit.fields;mla.bulkEdit.inProcess=true;if(mla.settings.useSpinnerClass){h.addClass("is-active")}else{h.show()}c=mla.settings.bulkWaiting+": "+mla.bulkEdit.waiting+", "+mla.settings.bulkComplete+": "+mla.bulkEdit.complete+", "+mla.settings.bulkUnchanged+": "+mla.bulkEdit.unchanged+", "+mla.settings.bulkSuccess+": "+mla.bulkEdit.success+", "+mla.settings.bulkFailure+": "+mla.bulkEdit.failure;d.html(c).show();a.ajax(ajaxurl,{type:"POST",data:b,dataType:"json"}).always(function(){if(mla.settings.useSpinnerClass){h.removeClass("is-active")}else{h.hide()}}).done(function(n,l){var o="no response.data",k,m;if(mla.settings.useSpinnerClass){h.removeClass("is-active")}else{h.hide()}if(n){if(!n.success){if(n.responseData){o=n.data}d.html(JSON.stringify(n)).show();mla.bulkEdit.offset=mla.bulkEdit.idsCount}else{m=a("#bulk-progress-running div").remove();a.each(m,function(){var p,q=a(this).html(),r=a(this).attr("id").substr(4);if("string"===typeof(n.data.item_results[r]["result"])){p=n.data.item_results[r]["result"];a(this).html(q+" ("+r+") - "+p)}a("#attachment-"+r).remove()});a("#bulk-progress-complete").append(m);mla.bulkEdit.complete+=mla.bulkEdit.running;mla.bulkEdit.running=0;mla.bulkEdit.unchanged+=n.data.unchanged;mla.bulkEdit.success+=n.data.success;mla.bulkEdit.failure+=n.data.failure;k=mla.settings.bulkWaiting+": "+mla.bulkEdit.waiting+", "+mla.settings.bulkComplete+": "+mla.bulkEdit.complete+", "+mla.settings.bulkUnchanged+": "+mla.bulkEdit.unchanged+", "+mla.settings.bulkSuccess+": "+mla.bulkEdit.success+", "+mla.settings.bulkFailure+": "+mla.bulkEdit.failure;d.html(k).show()}}else{d.html(mla.settings.error).show();mla.bulkEdit.offset=mla.bulkEdit.idsCount}if(mla.bulkEdit.doCancel){d.html(mla.settings.bulkCanceled+". "+k).show()}else{if(mla.bulkEdit.offset<mla.bulkEdit.idsCount){mla.inlineEditAttachment.bulkPost();return}}a("#bulk_refresh").prop("disabled",false).css("opacity","1.0");mla.bulkEdit.inProcess=false}).fail(function(l,k){if(200==l.status){d.text("("+k+") "+l.responseText)}else{d.text(mla.settings.ajaxFailError+" ("+k+"), jqXHR( "+l.status+", "+l.statusText+", "+l.responseText+")")}})},quickEdit:function(h){var d=this,b,c,f,e,g;d.revert();if(typeof(h)=="object"){h=mla.utility.getId(h)}b=mla.settings.fields;c=a("#inline-edit").clone(true);a("td",c).attr("colspan",a("th:visible, td:visible",".widefat:first thead").length);if(mla.settings.useSpinnerClass){a(d.what+h).hide().after(c).after('<tr class="hidden"></tr>')}else{if(a(d.what+h).hasClass("alternate")){a(c).addClass("alternate")}a(d.what+h).hide().after(c)}f=a("#inline_"+h);e=a(".item_thumbnail",f).html();if(e.length){a("#item_thumbnail",c).html(e)}if(!a(':input[name="post_author"] option[value="'+a(".post_author",f).text()+'"]',c).val()){a(':input[name="post_author"]',c).prepend('<option value="'+a(".post_author",f).text()+'">'+a("#"+d.type+"-"+h+" .author").text()+"</option>")}if(a(':input[name="post_author"] option',c).length==1){a("label.inline-edit-author",c).hide()}for(g=0;g<b.length;g++){a(':input[name="'+b[g]+'"]',c).val(a("."+b[g],f).text())}if(a(".image_alt",f).length===0){a("label.inline-edit-image-alt",c).hide()}a(".mla_category",f).each(function(){var i=a(this).text(),j;if(i){j=a(this).attr("id").replace("_"+h,"");a("ul."+j+"-checklist :checkbox",c).val(i.split(","))}});a(".mla_tags",f).each(function(){var l=a(this).text(),m=a(this).attr("id").replace("_"+h,""),k=a("textarea.tax_input_"+m,c),i=mla.settings.comma,j;if(l){if(","!==i){l=l.replace(/,/g,i)}k.val(l)}j=a(".lang",f).text();if(0<j.length){j="&lang="+j}else{j=""}k.suggest(ajaxurl+"?action=ajax-tag-search&tax="+m+"&preview_id="+h+j,{delay:500,minchars:2,multiple:true,multipleSep:mla.settings.comma+" "})});f=a(c).attr("id","edit-"+h).addClass("inline-editor").show().position().top;a(".ptitle",c).focus();a("html, body").animate({scrollTop:f},"fast");return false},quickSave:function(e){var d,b,c=a(".post_status_page").val()||"";if(typeof(e)=="object"){e=mla.utility.getId(e)}if(mla.settings.useSpinnerClass){a("table.widefat .inline-edit-save .spinner").addClass("is-active")}else{a("table.widefat .inline-edit-save .spinner").show()}d={action:mla.settings.ajax_action,mla_admin_nonce:mla.settings.ajax_nonce,post_type:"attachment",post_ID:e,edit_date:"true",post_status:c};b=a("#edit-"+e+" :input").serialize();d=b+"&"+a.param(d);a.post(ajaxurl,d,function(f){if(mla.settings.useSpinnerClass){a("table.widefat .inline-edit-save .spinner").removeClass("is-active")}else{a("table.widefat .inline-edit-save .spinner").hide()}if(f){if(-1!=f.indexOf("<tr")){if(mla.settings.useSpinnerClass){a(mla.inlineEditAttachment.what+e).siblings("tr.hidden").addBack().remove()}else{a(mla.inlineEditAttachment.what+e).remove()}a("#edit-"+e).before(f).remove();a(mla.inlineEditAttachment.what+e).hide().fadeIn()}else{f=f.replace(/<.[^<>]*?>/g,"");a("#edit-"+e+" .inline-edit-save .error").html(f).show()}}else{a("#edit-"+e+" .inline-edit-save .error").html(mla.settings.error).show()}},"html");return false},inlineParentOpen:function(e){var d,b,c;if(typeof(e)=="object"){b=mla.utility.getId(e);d=a("#edit-"+b+' :input[name="post_parent"]').val()||"";c=a("#edit-"+b+' :input[name="post_title"]').val()||"";mla.setParent.open(d,b,c);a("#mla-set-parent-submit").on("click",function(f){f.preventDefault();mla.inlineEditAttachment.inlineParentSave(b);return false})}},inlineParentSave:function(b){var f=a("#mla-set-parent-response-div input:checked").closest("tr"),h,e,c=a("#edit-"+b),d,g;if(f.length){h=a(":radio",f).val()||"";e=a("label",f).html()||"";d=a(':input[name="post_parent"]',c).clone(true).val(h);g=a(':input[name="post_parent_title"]',c).clone(true).val(e);a(':input[name="post_parent"]',c).replaceWith(d);a(':input[name="post_parent_title"]',c).replaceWith(g)}mla.setParent.close();a("#mla-set-parent-submit").off("click")},bulkParentOpen:function(){var d,b,c;b=-1;c=mla.settings.bulkTitle;d=a('#bulk-edit :input[name="post_parent"]').val()||-1;mla.setParent.open(d,b,c);a("#mla-set-parent-submit").on("click",function(e){e.preventDefault();mla.inlineEditAttachment.bulkParentSave();return false})},bulkParentSave:function(){var c=a("#mla-set-parent-response-div input:checked").closest("tr"),d,b;if(c.length){d=a(":radio",c).val()||"";b=a('#bulk-edit :input[name="post_parent"]').clone(true).val(d);a('#bulk-edit :input[name="post_parent"]').replaceWith(b)}mla.setParent.close();a("#mla-set-parent-submit").off("click")},tableParentOpen:function(d,b,c){mla.setParent.open(d,b,c);a("#mla-set-parent-submit").on("click",function(e){e.preventDefault();mla.inlineEditAttachment.tableParentSave(b);return false})},tableParentSave:function(b){var d=a("#mla-set-parent-response-div input:checked").closest("tr"),f=a(":radio",d).val()||"-1",c,e=a("#attachment-"+b+" td.attached_to").clone(true);if(d.length&&(f>=0)){e=a("#attachment-"+b+" td.attached_to").clone(true);e.html('<span class="spinner"></span>');a("#attachment-"+b+" td.attached_to").replaceWith(e);if(mla.settings.useSpinnerClass){a("#attachment-"+b+" td.attached_to .spinner").addClass("is-active")}else{a("#attachment-"+b+" td.attached_to .spinner").show()}c=a.param({action:mla.settings.ajax_action+"-set-parent",mla_admin_nonce:mla.settings.ajax_nonce,post_ID:b,post_parent:f,});a.post(ajaxurl,c,function(g){if(g){if(-1==g.indexOf("tableParentOpen(")){g=g.replace(/<.[^<>]*?>/g,"")}}else{g=mla.settings.ajaxFailError}a("#attachment-"+b).before(g).remove();a("#attachment-"+b).hide().fadeIn()},"html")}else{e.html(mla.settings.error);a("#attachment-"+b+" td.attached_to").replaceWith(e)}a("#mla-set-parent-submit").off("click");mla.setParent.close()},doReset:function(){var g=a("table.widefat tr.inline-editor").attr("id"),d=a("table.widefat #bulk-edit"),c=a("#inlineedit #blank-bulk-edit"),b=a(".inline-edit-categories",c).html(),f=a(".inline-edit-tags",c).html(),e=a(".inline-edit-fields",c).html();if(g){if(mla.settings.useSpinnerClass){a("table.widefat .inline-edit-save .spinner").removeClass("is-active")}else{a("table.widefat .inline-edit-save .spinner").hide()}if("bulk-edit"==g){a(".inline-edit-categories",d).html(b),a(".inline-edit-tags",d).html(f),a(".inline-edit-fields",d).html(e);a("#bulk-edit-set-parent",d).on("click",function(){return mla.inlineEditAttachment.bulkParentOpen()})}}return false},revert:function(){var b=a("table.widefat tr.inline-editor").attr("id");if(b){if(mla.settings.useSpinnerClass){a("table.widefat .inline-edit-save .spinner").removeClass("is-active")}else{a("table.widefat .inline-edit-save .spinner").hide()}if("bulk-edit"==b){if(mla.settings.useSpinnerClass){a("table.widefat #bulk-edit").removeClass("inline-editor").hide().siblings("tr.hidden").remove()}else{a("table.widefat #bulk-edit").removeClass("inline-editor").hide()}a("#bulk-titles").html("");a("#inlineedit").append(a("#bulk-edit"))}else{if("bulk-progress"==b){a("table.widefat #bulk-progress").removeClass("inline-editor").hide();a("#bulk-progress-waiting").html("");a("#inlineedit").append(a("#bulk-progress"))}else{if(mla.settings.useSpinnerClass){a("#"+b).siblings("tr.hidden").addBack().remove()}else{a("#"+b).remove()}b=b.substr(b.lastIndexOf("-")+1);a(this.what+b).show()}}}return false}};a(document).ready(function(){mla.inlineEditAttachment.init()})})(jQuery);
js/mla-inline-mapping-scripts.js CHANGED
@@ -9,11 +9,11 @@ var jQuery,
9
  inProcess: false,
10
  doCancel: false
11
  },
12
-
13
  // Utility functions
14
  utility: {
15
  },
16
-
17
  // Components
18
  inlineMapAttachment: null
19
  };
@@ -42,7 +42,7 @@ var jQuery,
42
  $('#mla-progress-resume', progressDiv).off( 'click' );
43
  $('#mla-progress-resume', progressDiv).click( function(){
44
  var totalItems = +mla.settings.totalItems, newOffset = + $( '#mla-progress-offset' ).val();
45
-
46
  if ( totalItems < newOffset ) {
47
  newOffset = totalItems;
48
  } else {
@@ -50,7 +50,7 @@ var jQuery,
50
  newOffset = 0;
51
  }
52
  }
53
-
54
  if ( mla.bulkMap.inProcess ) {
55
  mla.bulkMap.doCancel = true;
56
  return false;
@@ -84,9 +84,9 @@ var jQuery,
84
 
85
  bulkMap : function( action, initialOffset ) {
86
  var oldComplete = 0, oldUnchanged = 0, oldSuccess = 0, oldSkip = 0, oldRedone = 0;
87
-
88
  initialOffset = +initialOffset;
89
-
90
  if ( 0 < initialOffset ) {
91
  oldComplete = typeof mla.bulkMap.complete === 'undefined' ? 0 : mla.bulkMap.complete;
92
  oldUnchanged = typeof mla.bulkMap.unchanged === 'undefined' ? 0 : mla.bulkMap.unchanged;
@@ -94,7 +94,7 @@ var jQuery,
94
  oldSkip = typeof mla.bulkMap.skip === 'undefined' ? 0 : mla.bulkMap.skip;
95
  oldRedone = typeof mla.bulkMap.redone === 'undefined' ? 0 : mla.bulkMap.redone;
96
  }
97
-
98
  // See if we're skipping or re-processing any items
99
  if ( oldComplete < initialOffset ) {
100
  oldSkip += initialOffset - oldComplete;
@@ -103,7 +103,7 @@ var jQuery,
103
  oldRedone += oldComplete - initialOffset;
104
  }
105
  }
106
-
107
  mla.bulkMap = {
108
  inProcess: false,
109
  doCancel: false,
@@ -156,7 +156,7 @@ var jQuery,
156
  } else {
157
  chunk = mla.bulkMap.chunkSize;
158
  }
159
-
160
  mla.bulkMap.waiting -= chunk;
161
  mla.bulkMap.running = chunk;
162
 
@@ -172,10 +172,10 @@ var jQuery,
172
  };
173
 
174
  params = $.param( params ) + '&' + mla.bulkMap.fields;
175
-
176
  // make ajax request
177
  mla.bulkMap.inProcess = true;
178
-
179
  percentComplete = Math.floor( ( 100 * mla.bulkMap.complete ) / mla.settings.totalItems ) + '%';
180
  $( '#mla-progress-meter' ).css( 'width', percentComplete );
181
  $( '#mla-progress-meter' ).html( percentComplete );
@@ -183,11 +183,11 @@ var jQuery,
183
  if ( 0 < mla.bulkMap.skip ) {
184
  statusMessage += ', ' + mla.settings.bulkSkip + ': ' + mla.bulkMap.skip;
185
  }
186
-
187
  if ( 0 < mla.bulkMap.redone ) {
188
  statusMessage += ', ' + mla.settings.bulkRedone + ': ' + mla.bulkMap.redone;
189
  }
190
-
191
  if ( mla.settings.useSpinnerClass ) {
192
  spinner.addClass("is-active");
193
  } else {
@@ -201,7 +201,7 @@ var jQuery,
201
  + ', ' + mla.settings.bulkUnchanged + ': ' + mla.bulkMap.unchanged
202
  + ', ' + mla.settings.bulkSuccess + ': ' + mla.bulkMap.success;
203
  message.html( statusMessage ).show();
204
-
205
  $.ajax( ajaxurl, {
206
  type: 'POST',
207
  data: params,
@@ -214,13 +214,13 @@ var jQuery,
214
  }
215
  }).done( function( response, status ) {
216
  var responseData = 'no response.data', responseMessage = '';
217
-
218
  if ( response ) {
219
  if ( ! response.success ) {
220
  if ( response.responseData ) {
221
  responseData = response.data;
222
  }
223
-
224
  error.html( JSON.stringify( response ) );
225
  mla.bulkMap.waiting = 0; // Stop
226
  } else {
@@ -234,23 +234,23 @@ var jQuery,
234
  mla.bulkMap.running = 0;
235
  mla.bulkMap.unchanged += response.data.unchanged;
236
  mla.bulkMap.success += response.data.success;
237
-
238
  if ( 'undefined' !== typeof response.data.refresh ) {
239
  mla.bulkMap.refresh = response.data.refresh;
240
  }
241
-
242
  percentComplete = Math.floor( ( 100 * mla.bulkMap.complete ) / mla.settings.totalItems ) + '%';
243
  $( '#mla-progress-meter' ).css( 'width', percentComplete );
244
  $( '#mla-progress-meter' ).html( percentComplete );
245
-
246
  if ( 0 < mla.bulkMap.skip ) {
247
  responseMessage += ', ' + mla.settings.bulkSkip + ': ' + mla.bulkMap.skip;
248
  }
249
-
250
  if ( 0 < mla.bulkMap.redone ) {
251
  responseMessage += ', ' + mla.settings.bulkRedone + ': ' + mla.bulkMap.redone;
252
  }
253
-
254
  responseMessage = mla.settings.bulkWaiting + ': ' + mla.bulkMap.waiting
255
  + ', ' + mla.settings.bulkComplete + ': ' + mla.bulkMap.complete
256
  + responseMessage // skip and redone
@@ -263,7 +263,7 @@ var jQuery,
263
  error.html( mla.settings.error );
264
  mla.bulkMap.waiting = 0; // Stop
265
  }
266
-
267
  if ( mla.bulkMap.doCancel ) {
268
  message.html( mla.settings.bulkCanceled + '. ' + responseMessage ).show();
269
  $( '#mla-progress-resume' ).show();
@@ -281,7 +281,7 @@ var jQuery,
281
  } else {
282
  $( '#mla-progress-close' ).prop( 'disabled', false ).css( 'opacity', '1.0' );
283
  }
284
-
285
  $( '#mla-progress-cancel' ).prop( 'disabled', true ).css( 'opacity', '0.5' );
286
  mla.bulkMap.inProcess = false;
287
  }).fail( function( jqXHR, status ) {
9
  inProcess: false,
10
  doCancel: false
11
  },
12
+
13
  // Utility functions
14
  utility: {
15
  },
16
+
17
  // Components
18
  inlineMapAttachment: null
19
  };
42
  $('#mla-progress-resume', progressDiv).off( 'click' );
43
  $('#mla-progress-resume', progressDiv).click( function(){
44
  var totalItems = +mla.settings.totalItems, newOffset = + $( '#mla-progress-offset' ).val();
45
+
46
  if ( totalItems < newOffset ) {
47
  newOffset = totalItems;
48
  } else {
50
  newOffset = 0;
51
  }
52
  }
53
+
54
  if ( mla.bulkMap.inProcess ) {
55
  mla.bulkMap.doCancel = true;
56
  return false;
84
 
85
  bulkMap : function( action, initialOffset ) {
86
  var oldComplete = 0, oldUnchanged = 0, oldSuccess = 0, oldSkip = 0, oldRedone = 0;
87
+
88
  initialOffset = +initialOffset;
89
+
90
  if ( 0 < initialOffset ) {
91
  oldComplete = typeof mla.bulkMap.complete === 'undefined' ? 0 : mla.bulkMap.complete;
92
  oldUnchanged = typeof mla.bulkMap.unchanged === 'undefined' ? 0 : mla.bulkMap.unchanged;
94
  oldSkip = typeof mla.bulkMap.skip === 'undefined' ? 0 : mla.bulkMap.skip;
95
  oldRedone = typeof mla.bulkMap.redone === 'undefined' ? 0 : mla.bulkMap.redone;
96
  }
97
+
98
  // See if we're skipping or re-processing any items
99
  if ( oldComplete < initialOffset ) {
100
  oldSkip += initialOffset - oldComplete;
103
  oldRedone += oldComplete - initialOffset;
104
  }
105
  }
106
+
107
  mla.bulkMap = {
108
  inProcess: false,
109
  doCancel: false,
156
  } else {
157
  chunk = mla.bulkMap.chunkSize;
158
  }
159
+
160
  mla.bulkMap.waiting -= chunk;
161
  mla.bulkMap.running = chunk;
162
 
172
  };
173
 
174
  params = $.param( params ) + '&' + mla.bulkMap.fields;
175
+
176
  // make ajax request
177
  mla.bulkMap.inProcess = true;
178
+
179
  percentComplete = Math.floor( ( 100 * mla.bulkMap.complete ) / mla.settings.totalItems ) + '%';
180
  $( '#mla-progress-meter' ).css( 'width', percentComplete );
181
  $( '#mla-progress-meter' ).html( percentComplete );
183
  if ( 0 < mla.bulkMap.skip ) {
184
  statusMessage += ', ' + mla.settings.bulkSkip + ': ' + mla.bulkMap.skip;
185
  }
186
+
187
  if ( 0 < mla.bulkMap.redone ) {
188
  statusMessage += ', ' + mla.settings.bulkRedone + ': ' + mla.bulkMap.redone;
189
  }
190
+
191
  if ( mla.settings.useSpinnerClass ) {
192
  spinner.addClass("is-active");
193
  } else {
201
  + ', ' + mla.settings.bulkUnchanged + ': ' + mla.bulkMap.unchanged
202
  + ', ' + mla.settings.bulkSuccess + ': ' + mla.bulkMap.success;
203
  message.html( statusMessage ).show();
204
+
205
  $.ajax( ajaxurl, {
206
  type: 'POST',
207
  data: params,
214
  }
215
  }).done( function( response, status ) {
216
  var responseData = 'no response.data', responseMessage = '';
217
+
218
  if ( response ) {
219
  if ( ! response.success ) {
220
  if ( response.responseData ) {
221
  responseData = response.data;
222
  }
223
+
224
  error.html( JSON.stringify( response ) );
225
  mla.bulkMap.waiting = 0; // Stop
226
  } else {
234
  mla.bulkMap.running = 0;
235
  mla.bulkMap.unchanged += response.data.unchanged;
236
  mla.bulkMap.success += response.data.success;
237
+
238
  if ( 'undefined' !== typeof response.data.refresh ) {
239
  mla.bulkMap.refresh = response.data.refresh;
240
  }
241
+
242
  percentComplete = Math.floor( ( 100 * mla.bulkMap.complete ) / mla.settings.totalItems ) + '%';
243
  $( '#mla-progress-meter' ).css( 'width', percentComplete );
244
  $( '#mla-progress-meter' ).html( percentComplete );
245
+
246
  if ( 0 < mla.bulkMap.skip ) {
247
  responseMessage += ', ' + mla.settings.bulkSkip + ': ' + mla.bulkMap.skip;
248
  }
249
+
250
  if ( 0 < mla.bulkMap.redone ) {
251
  responseMessage += ', ' + mla.settings.bulkRedone + ': ' + mla.bulkMap.redone;
252
  }
253
+
254
  responseMessage = mla.settings.bulkWaiting + ': ' + mla.bulkMap.waiting
255
  + ', ' + mla.settings.bulkComplete + ': ' + mla.bulkMap.complete
256
  + responseMessage // skip and redone
263
  error.html( mla.settings.error );
264
  mla.bulkMap.waiting = 0; // Stop
265
  }
266
+
267
  if ( mla.bulkMap.doCancel ) {
268
  message.html( mla.settings.bulkCanceled + '. ' + responseMessage ).show();
269
  $( '#mla-progress-resume' ).show();
281
  } else {
282
  $( '#mla-progress-close' ).prop( 'disabled', false ).css( 'opacity', '1.0' );
283
  }
284
+
285
  $( '#mla-progress-cancel' ).prop( 'disabled', true ).css( 'opacity', '0.5' );
286
  mla.bulkMap.inProcess = false;
287
  }).fail( function( jqXHR, status ) {
js/mla-media-modal-scripts.js CHANGED
@@ -10,7 +10,7 @@ var wp, wpAjax, ajaxurl, jQuery, _,
10
  initialHTML: {},
11
  uploading: false,
12
  cid: null,
13
-
14
  // Utility functions
15
  utility: {
16
  originalMediaAjax: null,
@@ -22,7 +22,7 @@ var wp, wpAjax, ajaxurl, jQuery, _,
22
  fillCompatTaxonomies: null,
23
  supportCompatTaxonomies: null
24
  },
25
-
26
  // Components
27
  tagBox: null
28
  };
@@ -31,28 +31,28 @@ var wp, wpAjax, ajaxurl, jQuery, _,
31
  /* for debug : trace every event triggered in the MediaFrame controller * /
32
  var originalMediaFrameTrigger = wp.media.view.MediaFrame.prototype.trigger;
33
  wp.media.view.MediaFrame.prototype.trigger = function(){
34
- //console.log('MediaFrame Event: ', arguments[0]);
35
  originalMediaFrameTrigger.apply(this, Array.prototype.slice.call(arguments));
36
  } // */
37
 
38
  /* for debug : trace every event triggered in the view.Attachment controller * /
39
  var originalAttachmentTrigger = wp.media.view.Attachment.prototype.trigger;
40
  wp.media.view.Attachment.prototype.trigger = function(){
41
- //console.log('view.Attachment Event: ', arguments[0]);
42
  originalAttachmentTrigger.apply(this, Array.prototype.slice.call(arguments));
43
  } // */
44
 
45
  /* for debug : trace every event triggered in the model.Attachment controller * /
46
  var originalModelAttachmentTrigger = wp.media.model.Attachment.prototype.trigger;
47
  wp.media.model.Attachment.prototype.trigger = function(){
48
- //console.log('model.Attachment Event: ', arguments[0]);
49
  originalModelAttachmentTrigger.apply(this, Array.prototype.slice.call(arguments));
50
  } // */
51
 
52
  /* for debug : trace every event triggered in the view.AttachmentCompat controller * /
53
  var originalAttachmentCompatTrigger = wp.media.view.AttachmentCompat.prototype.trigger;
54
  wp.media.view.AttachmentCompat.prototype.trigger = function(){
55
- //console.log('view.AttachmentCompat Event: ', arguments[0]);
56
 
57
  originalAttachmentCompatTrigger.apply(this, Array.prototype.slice.call(arguments));
58
  } // */
@@ -60,7 +60,7 @@ var wp, wpAjax, ajaxurl, jQuery, _,
60
  /* for debug : trace every event triggered in the model.Selection controller * /
61
  var originalModelSelectionTrigger = wp.media.model.Selection.prototype.trigger;
62
  wp.media.model.Selection.prototype.trigger = function(){
63
- //console.log('model.Selection Event: ', arguments[0]);
64
 
65
  originalModelSelectionTrigger.apply(this, Array.prototype.slice.call(arguments));
66
  } // */
@@ -99,15 +99,15 @@ var wp, wpAjax, ajaxurl, jQuery, _,
99
  if ( ! ( mlaModal.settings.enableMediaGrid || mlaModal.settings.enableMediaModal ) ) {
100
  return;
101
  }
102
-
103
  if ( ( 'grid' === mlaModal.settings.screen ) && false === mlaModal.settings.enableMediaGrid ) {
104
  return;
105
  }
106
-
107
  if ( ( 'modal' === mlaModal.settings.screen ) && false === mlaModal.settings.enableMediaModal ) {
108
  return;
109
  }
110
-
111
  /*
112
  * Parse outgoing Ajax requests, look for the 'query-attachments' action and stuff
113
  * our arguments into the "s" field because MMMW only monitors that one field.
@@ -115,7 +115,7 @@ var wp, wpAjax, ajaxurl, jQuery, _,
115
  mlaModal.utility.originalMediaAjax = wp.media.ajax;
116
  wp.media.ajax = function( action, options ) {
117
  var state = mlaModal.settings.state, query, stype, s, searchValues;
118
-
119
  if ( _.isObject( action ) ) {
120
  options = action;
121
  } else {
@@ -175,7 +175,7 @@ var wp, wpAjax, ajaxurl, jQuery, _,
175
  }; // wp.media.ajax
176
 
177
  /**
178
- * Extended Filters dropdown with more mimeTypes
179
  */
180
  if ( mlaModal.settings.enableMimeTypes ) {
181
  wp.media.view.AttachmentFilters.Mla = wp.media.view.AttachmentFilters.extend({
@@ -183,7 +183,7 @@ var wp, wpAjax, ajaxurl, jQuery, _,
183
  var state = this.controller._state,
184
  filters = {};
185
 
186
- _.each( mlaModal.settings.mimeTypes || {}, function( text, key ) {
187
  if ( ( 'grid' === mlaModal.settings.screen ) || ( 'trash' !== key ) ) {
188
  filters[ key ] = {
189
  text: text,
@@ -220,12 +220,12 @@ var wp, wpAjax, ajaxurl, jQuery, _,
220
  priority: 20
221
  };
222
  }
223
-
224
  this.filters = filters;
225
  if ( 'undefined' === typeof filters[ mlaModal.settings.query[state].filterMime ] ) {
226
  mlaModal.settings.query[state].filterMime = 'all';
227
  }
228
-
229
  if ( mlaModal.settings.query[state].filterMime != 'all' ) {
230
  this.model.set( filters[ mlaModal.settings.query[state].filterMime ].props, { silent: false } );
231
  }
@@ -236,7 +236,113 @@ var wp, wpAjax, ajaxurl, jQuery, _,
236
  model = this.model,
237
  value = mlaModal.settings.query[state].filterMime,
238
  props = model.toJSON();
239
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
240
  if ( false === mlaModal.settings.enableSearchBox ) {
241
  if ( 'string' == typeof props.search ) {
242
  mlaModal.settings.query[state].searchValue = props.search;
@@ -249,12 +355,12 @@ var wp, wpAjax, ajaxurl, jQuery, _,
249
  var equal = _.all( filter.props, function( prop, key ) {
250
  return prop === ( _.isUndefined( props[ key ] ) ? null : props[ key ] );
251
  });
252
-
253
  if ( equal ) {
254
  return value = id;
255
  }
256
  });
257
-
258
  this.$el.val( value );
259
  },
260
 
@@ -294,7 +400,7 @@ var wp, wpAjax, ajaxurl, jQuery, _,
294
  if ( 'undefined' === typeof filters[ mlaModal.settings.query[state].filterMonth ] ) {
295
  mlaModal.settings.query[state].filterMonth = 0;
296
  }
297
-
298
  if ( mlaModal.settings.query[state].filterMonth > 0 )
299
  this.model.set( filters[ mlaModal.settings.query[state].filterMonth ].props, { silent: false } );
300
  },
@@ -536,7 +642,7 @@ wp.media.view.MlaSearch.on( 'all', MlaSearchOn );
536
  mlaModal.settings.query[ state ].searchValue = event.target.value;
537
  return;
538
  }
539
-
540
  if ( ( 'click' == event.type ) && ( 'mla_search_submit' != event.target.name ) ) {
541
  return;
542
  }
@@ -680,6 +786,15 @@ this.listenTo( this.controller, 'all', this.toolbarEvent );
680
  }).render() );
681
  }
682
 
 
 
 
 
 
 
 
 
 
683
  if ( this.options.search && mlaModal.settings.enableMonthsDropdown ) {
684
  this.toolbar.unset( 'dateFilter', { silent: true } );
685
  this.toolbar.set( 'dateFilter', new wp.media.view.AttachmentFilters.MlaMonths({
@@ -707,8 +822,9 @@ this.listenTo( this.controller, 'all', this.toolbarEvent );
707
 
708
  if ( this.options.search ) {
709
  if ( mlaModal.settings.enableSearchBox ) {
 
 
710
  this.listenTo( this.controller, 'uploader:ready', this.hideDefaultSearch );
711
- //this.toolbar.unset( 'search', { silent: true } );
712
  this.toolbar.set( 'MlaSearch', new wp.media.view.MlaSearch({
713
  controller: this.controller,
714
  model: this.collection.props,
@@ -1074,7 +1190,7 @@ this.listenTo( this.controller, 'all', this.toolbarEvent );
1074
  if ( null !== mlaModal.utility.mlaAttachmentsBrowser ) {
1075
  mlaModal.utility.mlaAttachmentsBrowser.updateFilters( taxonomy, results[ taxonomy][ 'object-terms' ] );
1076
  }
1077
-
1078
  delete results[ taxonomy][ 'object-terms' ];
1079
  }
1080
 
@@ -1130,7 +1246,7 @@ this.listenTo( this.controller, 'all', this.toolbarEvent );
1130
  /* for debug : trace every event triggered in the wp.media.model.Selection * /
1131
  selectionEvent: function( eventName, eventModel, eventContext, eventFlags ) {
1132
  var attributes = null, id = 0, cid = 'none';
1133
-
1134
  if ( 'undefined' != typeof eventModel.cid ) {
1135
  cid = eventModel.cid;
1136
  }
@@ -1193,7 +1309,7 @@ this.listenTo( this, 'all', this.selectionEvent );
1193
  delete changed.caption;
1194
  delete changed.alt;
1195
  delete changed.description;
1196
-
1197
  if ( ! _.isEmpty( changed ) ) {
1198
  hookCompat = true;
1199
  }
@@ -1222,7 +1338,7 @@ this.listenTo( this, 'all', this.selectionEvent );
1222
  $( '.compat-field-' + taxonomy + ' th', context ).click( { id: attachmentId, currentTaxonomy: taxonomy, el: context }, function( event ) {
1223
  mlaModal.utility.fillCompatTaxonomies( event.data );
1224
  });
1225
-
1226
  // Delete the default row, show the enhanced row
1227
  $( 'tr.compat-field-' + taxonomy, context ).each( function(){
1228
  if ( $(this).hasClass('mla-taxonomy-row') ) {
@@ -1253,7 +1369,7 @@ this.listenTo( this, 'all', this.selectionEvent );
1253
  $( '.compat-field-' + taxonomy + ' th', context ).click( { id: attachmentId, currentTaxonomy: taxonomy, el: context }, function( event ) {
1254
  mlaModal.utility.fillCompatTaxonomies( event.data );
1255
  });
1256
-
1257
  // Delete the default row, show the enhanced row
1258
  $( 'tr.compat-field-' + taxonomy, context ).each( function(){
1259
  if ( $(this).hasClass('mla-taxonomy-row') ) {
10
  initialHTML: {},
11
  uploading: false,
12
  cid: null,
13
+
14
  // Utility functions
15
  utility: {
16
  originalMediaAjax: null,
22
  fillCompatTaxonomies: null,
23
  supportCompatTaxonomies: null
24
  },
25
+
26
  // Components
27
  tagBox: null
28
  };
31
  /* for debug : trace every event triggered in the MediaFrame controller * /
32
  var originalMediaFrameTrigger = wp.media.view.MediaFrame.prototype.trigger;
33
  wp.media.view.MediaFrame.prototype.trigger = function(){
34
+ console.log('MediaFrame Event: ', arguments[0]);
35
  originalMediaFrameTrigger.apply(this, Array.prototype.slice.call(arguments));
36
  } // */
37
 
38
  /* for debug : trace every event triggered in the view.Attachment controller * /
39
  var originalAttachmentTrigger = wp.media.view.Attachment.prototype.trigger;
40
  wp.media.view.Attachment.prototype.trigger = function(){
41
+ console.log('view.Attachment Event: ', arguments[0]);
42
  originalAttachmentTrigger.apply(this, Array.prototype.slice.call(arguments));
43
  } // */
44
 
45
  /* for debug : trace every event triggered in the model.Attachment controller * /
46
  var originalModelAttachmentTrigger = wp.media.model.Attachment.prototype.trigger;
47
  wp.media.model.Attachment.prototype.trigger = function(){
48
+ console.log('model.Attachment Event: ', arguments[0]);
49
  originalModelAttachmentTrigger.apply(this, Array.prototype.slice.call(arguments));
50
  } // */
51
 
52
  /* for debug : trace every event triggered in the view.AttachmentCompat controller * /
53
  var originalAttachmentCompatTrigger = wp.media.view.AttachmentCompat.prototype.trigger;
54
  wp.media.view.AttachmentCompat.prototype.trigger = function(){
55
+ console.log('view.AttachmentCompat Event: ', arguments[0]);
56
 
57
  originalAttachmentCompatTrigger.apply(this, Array.prototype.slice.call(arguments));
58
  } // */
60
  /* for debug : trace every event triggered in the model.Selection controller * /
61
  var originalModelSelectionTrigger = wp.media.model.Selection.prototype.trigger;
62
  wp.media.model.Selection.prototype.trigger = function(){
63
+ console.log('model.Selection Event: ', arguments[0]);
64
 
65
  originalModelSelectionTrigger.apply(this, Array.prototype.slice.call(arguments));
66
  } // */
99
  if ( ! ( mlaModal.settings.enableMediaGrid || mlaModal.settings.enableMediaModal ) ) {
100
  return;
101
  }
102
+
103
  if ( ( 'grid' === mlaModal.settings.screen ) && false === mlaModal.settings.enableMediaGrid ) {
104
  return;
105
  }
106
+
107
  if ( ( 'modal' === mlaModal.settings.screen ) && false === mlaModal.settings.enableMediaModal ) {
108
  return;
109
  }
110
+
111
  /*
112
  * Parse outgoing Ajax requests, look for the 'query-attachments' action and stuff
113
  * our arguments into the "s" field because MMMW only monitors that one field.
115
  mlaModal.utility.originalMediaAjax = wp.media.ajax;
116
  wp.media.ajax = function( action, options ) {
117
  var state = mlaModal.settings.state, query, stype, s, searchValues;
118
+
119
  if ( _.isObject( action ) ) {
120
  options = action;
121
  } else {
175
  }; // wp.media.ajax
176
 
177
  /**
178
+ * Extended Filters dropdown with more Mime Types
179
  */
180
  if ( mlaModal.settings.enableMimeTypes ) {
181
  wp.media.view.AttachmentFilters.Mla = wp.media.view.AttachmentFilters.extend({
183
  var state = this.controller._state,
184
  filters = {};
185
 
186
+ _.each( mlaModal.settings.allMimeTypes || {}, function( text, key ) {
187
  if ( ( 'grid' === mlaModal.settings.screen ) || ( 'trash' !== key ) ) {
188
  filters[ key ] = {
189
  text: text,
220
  priority: 20
221
  };
222
  }
223
+
224
  this.filters = filters;
225
  if ( 'undefined' === typeof filters[ mlaModal.settings.query[state].filterMime ] ) {
226
  mlaModal.settings.query[state].filterMime = 'all';
227
  }
228
+
229
  if ( mlaModal.settings.query[state].filterMime != 'all' ) {
230
  this.model.set( filters[ mlaModal.settings.query[state].filterMime ].props, { silent: false } );
231
  }
236
  model = this.model,
237
  value = mlaModal.settings.query[state].filterMime,
238
  props = model.toJSON();
239
+
240
+ if ( false === mlaModal.settings.enableSearchBox ) {
241
+ if ( 'string' == typeof props.search ) {
242
+ mlaModal.settings.query[state].searchValue = props.search;
243
+ } else {
244
+ mlaModal.settings.query[state].searchValue = '';
245
+ }
246
+ }
247
+
248
+ _.find( this.filters, function( filter, id ) {
249
+ var equal = _.all( filter.props, function( prop, key ) {
250
+ return prop === ( _.isUndefined( props[ key ] ) ? null : props[ key ] );
251
+ });
252
+
253
+ if ( equal ) {
254
+ return value = id;
255
+ }
256
+ });
257
+
258
+ this.$el.val( value );
259
+ },
260
+
261
+ change: function() {
262
+ var toolbar = $( this.el ).closest( 'div.media-toolbar' ),
263
+ filter = this.filters[ this.el.value ];
264
+
265
+ if ( filter ) {
266
+ // silent because we must change the "s" prop before triggering an update
267
+ this.model.set( filter.props, { silent: true } );
268
+ $( '#mla-search-submit', toolbar ).click();
269
+ }
270
+ }
271
+ });
272
+
273
+ wp.media.view.AttachmentFilters.MlaUploaded = wp.media.view.AttachmentFilters.extend({
274
+ createFilters: function() {
275
+ var type = this.model.get('type'),
276
+ types = wp.media.view.settings.mimeTypes,
277
+ text,
278
+ state = this.controller._state,
279
+ filters = {};
280
+
281
+ if ( types && type ) {
282
+ text = types[ type ];
283
+ }
284
+
285
+ _.each( mlaModal.settings.uploadMimeTypes || {}, function( text, key ) {
286
+ if ( ( 'grid' === mlaModal.settings.screen ) || ( 'trash' !== key ) ) {
287
+ filters[ key ] = {
288
+ text: text,
289
+ props: {
290
+ type: key,
291
+ uploadedTo: null,
292
+ orderby: 'date',
293
+ order: 'DESC'
294
+ }
295
+ };
296
+ }
297
+ });
298
+
299
+ filters.all = {
300
+ text: text || wp.media.view.l10n.allMediaItems,
301
+ props: {
302
+ uploadedTo: null,
303
+ orderby: 'date',
304
+ order: 'DESC'
305
+ },
306
+ priority: 10
307
+ };
308
+
309
+ filters.uploaded = {
310
+ text: wp.media.view.l10n.uploadedToThisPost,
311
+ props: {
312
+ type: null,
313
+ uploadedTo: wp.media.view.settings.post.id,
314
+ orderby: 'menuOrder',
315
+ order: 'ASC'
316
+ },
317
+ priority: 20
318
+ };
319
+
320
+ filters.unattached = {
321
+ text: wp.media.view.l10n.unattached,
322
+ props: {
323
+ uploadedTo: 0,
324
+ orderby: 'menuOrder',
325
+ order: 'ASC'
326
+ },
327
+ priority: 50
328
+ };
329
+
330
+ this.filters = filters;
331
+ if ( 'undefined' === typeof filters[ mlaModal.settings.query[state].filterUploaded ] ) {
332
+ mlaModal.settings.query[state].filterUploaded = 'all';
333
+ }
334
+
335
+ if ( mlaModal.settings.query[state].filterUploaded != 'all' ) {
336
+ this.model.set( filters[ mlaModal.settings.query[state].filterUploaded ].props, { silent: false } );
337
+ }
338
+ },
339
+
340
+ select: function() {
341
+ var state = this.controller._state,
342
+ model = this.model,
343
+ value = mlaModal.settings.query[state].filterMime,
344
+ props = model.toJSON();
345
+
346
  if ( false === mlaModal.settings.enableSearchBox ) {
347
  if ( 'string' == typeof props.search ) {
348
  mlaModal.settings.query[state].searchValue = props.search;
355
  var equal = _.all( filter.props, function( prop, key ) {
356
  return prop === ( _.isUndefined( props[ key ] ) ? null : props[ key ] );
357
  });
358
+
359
  if ( equal ) {
360
  return value = id;
361
  }
362
  });
363
+
364
  this.$el.val( value );
365
  },
366
 
400
  if ( 'undefined' === typeof filters[ mlaModal.settings.query[state].filterMonth ] ) {
401
  mlaModal.settings.query[state].filterMonth = 0;
402
  }
403
+
404
  if ( mlaModal.settings.query[state].filterMonth > 0 )
405
  this.model.set( filters[ mlaModal.settings.query[state].filterMonth ].props, { silent: false } );
406
  },
642
  mlaModal.settings.query[ state ].searchValue = event.target.value;
643
  return;
644
  }
645
+
646
  if ( ( 'click' == event.type ) && ( 'mla_search_submit' != event.target.name ) ) {
647
  return;
648
  }
786
  }).render() );
787
  }
788
 
789
+ if ( ( 'uploaded' === filters ) && mlaModal.settings.enableMimeTypes ) {
790
+ this.toolbar.unset( 'filters', { silent: true } );
791
+ this.toolbar.set( 'filters', new wp.media.view.AttachmentFilters.MlaUploaded({
792
+ controller: this.controller,
793
+ model: this.collection.props,
794
+ priority: -80
795
+ }).render() );
796
+ }
797
+
798
  if ( this.options.search && mlaModal.settings.enableMonthsDropdown ) {
799
  this.toolbar.unset( 'dateFilter', { silent: true } );
800
  this.toolbar.set( 'dateFilter', new wp.media.view.AttachmentFilters.MlaMonths({
822
 
823
  if ( this.options.search ) {
824
  if ( mlaModal.settings.enableSearchBox ) {
825
+ this.listenTo( this.controller, 'content:activate', this.hideDefaultSearch );
826
+ this.listenTo( this.controller, 'router:render', this.hideDefaultSearch );
827
  this.listenTo( this.controller, 'uploader:ready', this.hideDefaultSearch );
 
828
  this.toolbar.set( 'MlaSearch', new wp.media.view.MlaSearch({
829
  controller: this.controller,
830
  model: this.collection.props,
1190
  if ( null !== mlaModal.utility.mlaAttachmentsBrowser ) {
1191
  mlaModal.utility.mlaAttachmentsBrowser.updateFilters( taxonomy, results[ taxonomy][ 'object-terms' ] );
1192
  }
1193
+
1194
  delete results[ taxonomy][ 'object-terms' ];
1195
  }
1196
 
1246
  /* for debug : trace every event triggered in the wp.media.model.Selection * /
1247
  selectionEvent: function( eventName, eventModel, eventContext, eventFlags ) {
1248
  var attributes = null, id = 0, cid = 'none';
1249
+
1250
  if ( 'undefined' != typeof eventModel.cid ) {
1251
  cid = eventModel.cid;
1252
  }
1309
  delete changed.caption;
1310
  delete changed.alt;
1311
  delete changed.description;
1312
+
1313
  if ( ! _.isEmpty( changed ) ) {
1314
  hookCompat = true;
1315
  }
1338
  $( '.compat-field-' + taxonomy + ' th', context ).click( { id: attachmentId, currentTaxonomy: taxonomy, el: context }, function( event ) {
1339
  mlaModal.utility.fillCompatTaxonomies( event.data );
1340
  });
1341
+
1342
  // Delete the default row, show the enhanced row
1343
  $( 'tr.compat-field-' + taxonomy, context ).each( function(){
1344
  if ( $(this).hasClass('mla-taxonomy-row') ) {
1369
  $( '.compat-field-' + taxonomy + ' th', context ).click( { id: attachmentId, currentTaxonomy: taxonomy, el: context }, function( event ) {
1370
  mlaModal.utility.fillCompatTaxonomies( event.data );
1371
  });
1372
+
1373
  // Delete the default row, show the enhanced row
1374
  $( 'tr.compat-field-' + taxonomy, context ).each( function(){
1375
  if ( $(this).hasClass('mla-taxonomy-row') ) {
js/mla-media-modal-scripts.min.js CHANGED
@@ -1 +1 @@
1
- var wp,wpAjax,ajaxurl,jQuery,_,getUserSetting,setUserSetting,deleteUserSetting,mlaTaxonomy,mlaModal={strings:{},settings:{},initialHTML:{},uploading:false,cid:null,utility:{originalMediaAjax:null,mlaAttachmentsBrowser:null,parseTermsOptions:null,arrayCleanup:null,parseTaxonomyId:null,hookCompatTaxonomies:null,fillCompatTaxonomies:null,supportCompatTaxonomies:null},tagBox:null};(function(a){mlaModal.strings=typeof wp.media.view.l10n.mla_strings==="undefined"?{}:wp.media.view.l10n.mla_strings;delete wp.media.view.l10n.mla_strings;mlaModal.settings=typeof wp.media.view.settings.mla_settings==="undefined"?{screen:"unknown",enableMediaGrid:false,enableMediaModal:false}:wp.media.view.settings.mla_settings;delete wp.media.view.settings.mla_settings;if(!(mlaModal.settings.enableMediaGrid||mlaModal.settings.enableMediaModal)){return}if(("grid"===mlaModal.settings.screen)&&false===mlaModal.settings.enableMediaGrid){return}if(("modal"===mlaModal.settings.screen)&&false===mlaModal.settings.enableMediaModal){return}mlaModal.utility.originalMediaAjax=wp.media.ajax;wp.media.ajax=function(h,d){var g=mlaModal.settings.state,f,c,e,b;if(_.isObject(h)){d=h}else{d=d||{};d.data=_.extend(d.data||{},{action:h})}if("query-attachments"==d.data.action){f=d.data.query;c=typeof f.s;if("object"==c){e=f.s}else{if("string"==c){e={mla_search_value:f.s}}else{e={mla_search_value:""}}}if("undefined"!=typeof f.post_mime_type){mlaModal.settings.query[g].filterMime=f.post_mime_type}else{mlaModal.settings.query[g].filterMime="all"}if("undefined"!=typeof e.mla_filter_month){mlaModal.settings.query[g].filterMonth=e.mla_filter_month}else{if("undefined"!=typeof f.year){mlaModal.settings.query[g].filterMonth=(100*f.year)+(1*f.monthnum)}else{}}if("undefined"!=typeof e.mla_filter_term){mlaModal.settings.query[g].filterTerm=e.mla_filter_term}if("undefined"!=typeof e.mla_search_value){mlaModal.settings.query[g].searchValue=e.mla_search_value}b={mla_filter_month:mlaModal.settings.query[g].filterMonth,mla_filter_term:mlaModal.settings.query[g].filterTerm,mla_terms_search:mlaModal.settings.query[g].termsSearch,mla_search_clicks:mlaModal.settings.query[g].searchClicks,mla_search_value:mlaModal.settings.query[g].searchValue,mla_search_fields:mlaModal.settings.query[g].searchFields,mla_search_connector:mlaModal.settings.query[g].searchConnector};mlaModal.settings.query[g].termsSearch="";a("#mla-terms-search-input").html("").val("");d.data.query.s=b}return mlaModal.utility.originalMediaAjax.call(this,d)};if(mlaModal.settings.enableMimeTypes){wp.media.view.AttachmentFilters.Mla=wp.media.view.AttachmentFilters.extend({createFilters:function(){var c=this.controller._state,b={};_.each(mlaModal.settings.mimeTypes||{},function(e,d){if(("grid"===mlaModal.settings.screen)||("trash"!==d)){b[d]={text:e,props:{type:d,uploadedTo:null,orderby:"date",order:"DESC"}}}});b.all={text:wp.media.view.l10n.allMediaItems,props:{type:null,uploadedTo:null,orderby:"date",order:"DESC"},priority:10};if(wp.media.view.settings.post.id){b.uploaded={text:wp.media.view.l10n.uploadedToThisPost,props:{type:null,uploadedTo:wp.media.view.settings.post.id,orderby:"menuOrder",order:"ASC"},priority:20}}this.filters=b;if("undefined"===typeof b[mlaModal.settings.query[c].filterMime]){mlaModal.settings.query[c].filterMime="all"}if(mlaModal.settings.query[c].filterMime!="all"){this.model.set(b[mlaModal.settings.query[c].filterMime].props,{silent:false})}},select:function(){var e=this.controller._state,b=this.model,d=mlaModal.settings.query[e].filterMime,c=b.toJSON();if(false===mlaModal.settings.enableSearchBox){if("string"==typeof c.search){mlaModal.settings.query[e].searchValue=c.search}else{mlaModal.settings.query[e].searchValue=""}}_.find(this.filters,function(g,h){var f=_.all(g.props,function(j,i){return j===(_.isUndefined(c[i])?null:c[i])});if(f){return d=h}});this.$el.val(d)},change:function(){var c=a(this.el).closest("div.media-toolbar"),b=this.filters[this.el.value];if(b){this.model.set(b.props,{silent:true});a("#mla-search-submit",c).click()}}})}if(mlaModal.settings.enableMonthsDropdown){wp.media.view.AttachmentFilters.MlaMonths=wp.media.view.AttachmentFilters.extend({className:"attachment-filters",id:"media-attachment-date-filters",createFilters:function(){var c=this.controller._state,b={};_.each(mlaModal.settings.months||{},function(e,d){b[d]={text:e,props:{s:{mla_filter_month:d}}}});this.filters=b;if("undefined"===typeof b[mlaModal.settings.query[c].filterMonth]){mlaModal.settings.query[c].filterMonth=0}if(mlaModal.settings.query[c].filterMonth>0){this.model.set(b[mlaModal.settings.query[c].filterMonth].props,{silent:false})}},select:function(){var e=this.controller._state,b=this.model,d=mlaModal.settings.query[e].filterMonth,c=b.toJSON();if(_.isUndefined(c.s)){c.s={}}if(false===mlaModal.settings.enableSearchBox){if("string"==typeof c.search){mlaModal.settings.query[e].searchValue=c.search}else{mlaModal.settings.query[e].searchValue=""}}if(_.isUndefined(c.s.mla_filter_month)){c.s.mla_filter_month=mlaModal.settings.query[e].filterMonth}else{mlaModal.settings.query[e].filterMonth=c.s.mla_filter_month}_.find(this.filters,function(g,h){var f=_.all(g.props,function(i){return i.mla_filter_month==mlaModal.settings.query[e].filterMonth});if(f){return d=h}});this.$el.val(d)},change:function(){var b=this.filters[this.el.value],c;if(b){c={s:{mla_filter_month:b.props.s.mla_filter_month}};this.model.set(c)}}})}if(mlaModal.settings.enableTermsDropdown){wp.media.view.AttachmentFilters.MlaTerms=wp.media.view.AttachmentFilters.extend({className:"attachment-filters",id:"media-attachment-term-filters",createFilters:function(){var d=this.controller._state,b,c={};_.each(mlaModal.settings.termsText||{},function(f,e){c[e]={text:f,props:{s:{mla_filter_term:parseInt(mlaModal.settings.termsValue[e])}}}});this.filters=c;b=_.indexOf(mlaModal.settings.termsValue,mlaModal.settings.query[d].filterTerm);if(b>0){this.model.set(c[b].props,{silent:false})}},select:function(){var e=this.controller._state,b=this.model,d=mlaModal.settings.query[e].filterTerm,c=b.toJSON();if(_.isUndefined(c.s)){c.s={}}if(false===mlaModal.settings.enableSearchBox){if("string"==typeof c.search){mlaModal.settings.query[e].searchValue=c.search}else{mlaModal.settings.query[e].searchValue=""}}if(_.isUndefined(c.s.mla_filter_term)){c.s.mla_filter_term=mlaModal.settings.query[e].filterTerm}else{mlaModal.settings.query[e].filterTerm=c.s.mla_filter_term}_.find(this.filters,function(g,h){var f=_.all(g.props,function(i){return i.mla_filter_term==mlaModal.settings.query[e].filterTerm});if(f){return d=h}});this.$el.val(d)},change:function(){var b=this.filters[this.el.value],c;if(b){c={s:{mla_filter_term:b.props.s.mla_filter_term}};this.model.set(c)}}})}if(mlaModal.settings.enableTermsSearch){wp.media.view.MlaTermsSearch=wp.media.View.extend({tagName:"span",className:"mla-terms-search",template:wp.media.template("mla-terms-search-button"),attributes:{type:"mla-terms-search-button"},events:{change:"termsSearchOpen",click:"termsSearchOpen",},render:function(){this.$el.html(this.template(mlaModal.strings));return this},termsSearchOpen:function(c){var b=a(this.el).closest("div.media-toolbar");if(("click"==c.type)&&("mla_terms_search"===c.target.name)){mlaTaxonomy.termsSearch.open();a("#mla-terms-search-form").off("submit");a("#mla-terms-search-form").submit(function(h){var d,g,f={phrases:"",taxonomies:[]};h.preventDefault();d=a("#mla-terms-search-form").serializeArray();for(g=0;g<d.length;g++){switch(d[g].name){case"mla_terms_search[phrases]":f.phrases=d[g].value;break;case"mla_terms_search[radio_phrases]":f.radio_phrases=d[g].value;break;case"mla_terms_search[radio_terms]":f.radio_terms=d[g].value;break;case"mla_terms_search[taxonomies][]":f.taxonomies[f.taxonomies.length]=d[g].value;break}}mlaModal.settings.query[mlaModal.settings.state].termsSearch=f;a("#mla-search-submit",b).click();return false});a("#mla-terms-search-input").keypress(function(d){if(13==d.which){d.preventDefault();a("#mla-terms-search-submit").click()}})}}})}if(mlaModal.settings.enableSearchBox){wp.media.view.MlaSearch=wp.media.View.extend({tagName:"div",className:"mla-search-box",template:wp.media.template("mla-search-box"),attributes:{type:"mla-search-box"},events:{input:"search",change:"search",click:"search",search:"search",MlaSearch:"search"},initialize:function(){var b=this.controller._state;if("undefined"===typeof mlaModal.settings.query[b]){mlaModal.settings.query[b]=_.clone(mlaModal.settings.query.initial);mlaModal.settings.query[b].searchFields=_.clone(mlaModal.settings.query.initial.searchFields)}},render:function(){var c=this.controller._state,b=_.extend(mlaModal.strings,mlaModal.settings.query[c]);this.$el.html(this.template(b));return this},search:function(d){var e=this.controller._state,b,f,c;if(("input"==d.type)&&("s[mla_search_value]"==d.target.name)){mlaModal.settings.query[e].searchValue=d.target.value;return}if(("click"==d.type)&&("mla_search_submit"!=d.target.name)){return}switch(d.target.name){case"s[mla_search_value]":mlaModal.settings.query[e].searchValue=d.target.value;break;case"mla_search_submit":b={mla_filter_month:mlaModal.settings.query[e].filterMonth,mla_filter_term:mlaModal.settings.query[e].filterTerm,mla_terms_search:mlaModal.settings.query[e].termsSearch,mla_search_clicks:mlaModal.settings.query[e].searchClicks++,mla_search_value:mlaModal.settings.query[e].searchValue,mla_search_fields:mlaModal.settings.query[e].searchFields,mla_search_connector:mlaModal.settings.query[e].searchConnector};this.model.set({s:b});break;case"s[mla_search_connector]":mlaModal.settings.query[e].searchConnector=d.target.value;break;case"s[mla_search_title]":f=mlaModal.settings.query[e].searchFields;c=f.indexOf("title");if(-1==c){f.push("title")}else{f.splice(c,1)}mlaModal.settings.query[e].searchFields=f;break;case"s[mla_search_name]":c=mlaModal.settings.query[e].searchFields.indexOf("name");if(-1==c){mlaModal.settings.query[e].searchFields.push("name")}else{mlaModal.settings.query[e].searchFields.splice(c,1)}break;case"s[mla_search_alt_text]":c=mlaModal.settings.query[e].searchFields.indexOf("alt-text");if(-1==c){mlaModal.settings.query[e].searchFields.push("alt-text")}else{mlaModal.settings.query[e].searchFields.splice(c,1)}break;case"s[mla_search_excerpt]":c=mlaModal.settings.query[e].searchFields.indexOf("excerpt");if(-1==c){mlaModal.settings.query[e].searchFields.push("excerpt")}else{mlaModal.settings.query[e].searchFields.splice(c,1)}break;case"s[mla_search_content]":c=mlaModal.settings.query[e].searchFields.indexOf("content");if(-1==c){mlaModal.settings.query[e].searchFields.push("content")}else{mlaModal.settings.query[e].searchFields.splice(c,1)}break;case"s[mla_search_terms]":c=mlaModal.settings.query[e].searchFields.indexOf("terms");if(-1==c){mlaModal.settings.query[e].searchFields.push("terms")}else{mlaModal.settings.query[e].searchFields.splice(c,1)}break}}})}else{wp.media.view.MlaSearch=wp.media.View.extend({tagName:"span",className:"mla-simulate-search-button",template:wp.media.template("mla-simulate-search-button"),attributes:{type:"mla-simulate-search-button"},events:{click:"simulateSearch",},render:function(){this.$el.html(this.template(mlaModal.strings));return this},simulateSearch:function(){var c=this.controller._state,b={mla_filter_month:mlaModal.settings.query[c].filterMonth,mla_filter_term:mlaModal.settings.query[c].filterTerm,mla_terms_search:mlaModal.settings.query[c].termsSearch,mla_search_clicks:mlaModal.settings.query[c].searchClicks++,mla_search_value:mlaModal.settings.query[c].searchValue,mla_search_fields:mlaModal.settings.query[c].searchFields,mla_search_connector:mlaModal.settings.query[c].searchConnector};this.model.set({s:b})}})}if(mlaModal.settings.enableMimeTypes||mlaModal.settings.enableMonthsDropdown||mlaModal.settings.enableTermsDropdown||mlaModal.settings.enableTermsSearch||mlaModal.settings.enableSearchBox){wp.media.view.AttachmentsBrowser=wp.media.view.AttachmentsBrowser.extend({createToolbar:function(){var b,c=this.controller._state;mlaModal.settings.state=c;if("undefined"===typeof mlaModal.settings.query[c]){mlaModal.settings.query[c]=_.clone(mlaModal.settings.query.initial);mlaModal.settings.query[c].searchFields=_.clone(mlaModal.settings.query.initial.searchFields)}wp.media.view.AttachmentsBrowser.__super__.createToolbar.apply(this,arguments);mlaModal.utility.mlaAttachmentsBrowser=this;b=this.options.filters;if(("all"===b)&&mlaModal.settings.enableMimeTypes){this.toolbar.unset("filters",{silent:true});this.toolbar.set("filters",new wp.media.view.AttachmentFilters.Mla({controller:this.controller,model:this.collection.props,priority:-80}).render())}if(this.options.search&&mlaModal.settings.enableMonthsDropdown){this.toolbar.unset("dateFilter",{silent:true});this.toolbar.set("dateFilter",new wp.media.view.AttachmentFilters.MlaMonths({controller:this.controller,model:this.collection.props,priority:-75}).render())}if(this.options.search&&mlaModal.settings.enableTermsDropdown){this.toolbar.set("terms",new wp.media.view.AttachmentFilters.MlaTerms({controller:this.controller,model:this.collection.props,priority:-50}).render())}if(this.options.search&&mlaModal.settings.enableTermsSearch){this.toolbar.set("termsSearch",new wp.media.view.MlaTermsSearch({controller:this.controller,model:this.collection.props,priority:-50}).render())}if(this.options.search){if(mlaModal.settings.enableSearchBox){this.listenTo(this.controller,"uploader:ready",this.hideDefaultSearch);this.toolbar.set("MlaSearch",new wp.media.view.MlaSearch({controller:this.controller,model:this.collection.props,priority:60}).render())}else{this.toolbar.set("MlaSearch",new wp.media.view.MlaSearch({controller:this.controller,model:this.collection.props,priority:70}).render())}}},hideDefaultSearch:function(){a("#media-search-input",this.el).hide()},updateFilters:function(b,c){var d={};if(this.options.search&&mlaModal.settings.enableTermsDropdown&&mlaModal.settings.termsTaxonomy==b){d=mlaModal.utility.parseTermsOptions(c);mlaModal.settings.termsClass=d.termsClass;mlaModal.settings.termsText=d.termsText;mlaModal.settings.termsValue=d.termsValue;this.toolbar.unset("terms",{silent:true});this.toolbar.set("terms",new wp.media.view.AttachmentFilters.MlaTerms({controller:this.controller,model:this.collection.props,priority:-80}).render())}}})}mlaModal.utility.parseTermsOptions=function(h){var g={termsClass:[mlaModal.settings.termsClass[0],mlaModal.settings.termsClass[1]],termsText:[mlaModal.settings.termsText[0],mlaModal.settings.termsText[1]],termsValue:[mlaModal.settings.termsValue[0],mlaModal.settings.termsValue[1]]},d=2,b,c,f=/\<option(( class=\"([^\"]+)\" )|( ))value=((\'([^\']+)\')|(\"([^\"]+)\"))([^\>]*)\>([^\<]*)\<.*/g,e=[];if("object"===typeof h){d=mlaModal.settings.termsValue.length;for(b=2;b<d;b++){e[b]={termsClass:mlaModal.settings.termsClass[b],termsText:mlaModal.settings.termsText[b],termsValue:mlaModal.settings.termsValue[b]};if("undefined"!==typeof h[mlaModal.settings.termsValue[b]]){delete h[mlaModal.settings.termsValue[b]]}}for(c in h){e[b++]={termsClass:"level-0",termsText:h[c],termsValue:c.toString()}}if(d===b){return{termsClass:mlaModal.settings.termsClass,termsText:mlaModal.settings.termsText,termsValue:mlaModal.settings.termsValue}}e.sort(function(j,i){if(j.termsText>i.termsText){return 1}else{if(j.termsText<i.termsText){return -1}else{return 0}}});b=2;for(c in e){g.termsClass[b]=e[c].termsClass;g.termsText[b]=e[c].termsText;g.termsValue[b++]=e[c].termsValue}return g}e=f.exec(h);while(null!==(e=f.exec(h))){g.termsClass[d]=e[3];g.termsValue[d]=("undefined"===typeof e[6])?e[9]:e[7];g.termsText[d++]=e[11].replace("&nbsp;",mlaModal.settings.termsIndent)}return g};mlaModal.utility.arrayCleanup=function(d){var c=[],b=("string"===typeof d);if(b){d=d.split(mlaModal.settings.comma)}jQuery.each(d,function(e,f){f=jQuery.trim(f);if(f&&jQuery.inArray(f,c)==-1){c.push(f)}});c.sort();if(b){c=c.join(mlaModal.settings.comma)}return c};mlaModal.utility.parseTaxonomyId=function(c){var b=c.split("-");b.shift();b.shift();return b.join("-")};mlaModal.tagBox={cleanTags:function(c){var b=mlaModal.settings.comma;if(","!==b){c=c.replace(new RegExp(b,"g"),",")}c=c.replace(/\s*,\s*/g,",").replace(/,+/g,",").replace(/[,\s]+$/,"").replace(/^[,\s]+/,"");if(","!==b){c=c.replace(/,/g,b)}return c},parseTags:function(e){var i=e.id,c=i.split("-check-num-")[1],f=a(e).closest(".tagsdiv"),h=f.find(".the-tags"),b=mlaModal.settings.comma,d=h.val().split(b),g=[];delete d[c];a.each(d,function(j,k){k=a.trim(k);if(k){g.push(k)}});h.val(this.cleanTags(g.join(b)));this.quickClicks(f);return false},quickClicks:function(d){var g=a(".the-tags",d),e=a(".tagchecklist",d),f=a(d).attr("id"),b,c;if(!g.length){return}c=g.prop("disabled");b=g.val().split(mlaModal.settings.comma);e.empty();a.each(b,function(i,k){var j,h;k=a.trim(k);if(!k){return}j=a("<span />").text(k);if(!c){h=a('<a id="'+f+"-check-num-"+i+'" class="ntdelbutton">X</a>');h.click(function(){mlaModal.tagBox.parseTags(this)});j.prepend("&nbsp;").prepend(h)}e.append(j)})},flushTags:function(h,d,c){var j,b,e,k=a(".the-tags",h),g=a("input.newtag",h),i=mlaModal.settings.comma;d=d||false;e=d?a(d).text():g.val();j=k.val();b=j?j+i+e:e;b=mlaModal.utility.arrayCleanup(this.cleanTags(b));k.val(b);this.quickClicks(h);if(!d){g.val("")}if("undefined"==typeof(c)){g.focus()}return false},getCloud:function(c,b){a.post(ajaxurl,{action:"get-tagcloud",tax:b},function(e,d){if(0===e||"success"!=d){e=wpAjax.broken}e=a('<p id="tagcloud-'+b+'" class="the-tagcloud">'+e+"</p>");a("a",e).click(function(){mlaModal.tagBox.flushTags(a(this).closest(".mla-taxonomy-field").children(".tagsdiv"),this);return false});a("#"+c).after(e)})},init:function(f,b,d){var e,c;e=a("#mla-taxonomy-"+b,d);c=a("div.ajaxtag",e);mlaModal.tagBox.quickClicks(e);a("input.tagadd",c).click(function(){mlaModal.tagBox.flushTags(a(this).closest(".tagsdiv"))});a("input.newtag",c).keyup(function(g){if(13==g.which){mlaModal.tagBox.flushTags(e);return false}}).keypress(function(g){if(13==g.which){g.preventDefault();return false}}).each(function(){a(this).suggest(ajaxurl+"?action=ajax-tag-search&tax="+b,{delay:500,resultsClass:"mla_ac_results",selectClass:"mla_ac_over",matchClass:"mla_ac_match",minchars:2,multiple:true,multipleSep:mlaModal.settings.comma+" "})});e.siblings(":first").click(function(){mlaModal.tagBox.getCloud(a("a",this).attr("id"),b);a("a",this).unbind().click(function(){a(this).siblings(".the-tagcloud").toggle();return false});return false});a(".compat-field-"+b+" td",d).on("mouseleave",function(){var j,h=this,g=mlaModal.utility.arrayCleanup(a(".server-tags",h).val()),i=mlaModal.utility.arrayCleanup(a(".the-tags",h).val());if(g===i){return}a(h).css("opacity","0.5");j={id:f,};j[b]=i;wp.media.post(mlaModal.settings.ajaxUpdateCompatAction,j).done(function(l){var m,k,n;for(k in l){if("object"===typeof(l[k]["object-terms"])){if(null!==mlaModal.utility.mlaAttachmentsBrowser){mlaModal.utility.mlaAttachmentsBrowser.updateFilters(k,l[k]["object-terms"])}delete l[k]["object-terms"]}for(n in l[k]){a("#"+n,h).replaceWith(l[k][n])}m=a("#mla-taxonomy-"+k,h);mlaModal.tagBox.quickClicks(m)}a(h).css("opacity","1.0")})});e.on("change",function(g){g.stopPropagation();return false});a(".the-tags, .server-tags .newtag",e).on("change",function(g){g.stopPropagation();return false})}};if(mlaModal.settings.enableDetailsCategory||mlaModal.settings.enableDetailsTag){wp.media.view.AttachmentCompat=wp.media.view.AttachmentCompat.extend({initialize:function(){wp.media.view.AttachmentCompat.__super__.initialize.apply(this,arguments);this.on("ready",function(){mlaModal.utility.hookCompatTaxonomies(this.model.get("id"),this.el)})}})}if(mlaModal.settings.enableDetailsCategory||mlaModal.settings.enableDetailsTag){wp.media.model.Selection=wp.media.model.Selection.extend({initialize:function(){wp.media.model.Selection.__super__.initialize.apply(this,arguments);this.on("selection:reset",function(){mlaModal.cid=null});this.on("selection:unsingle",function(){mlaModal.cid=null});this.on("selection:single",function(b){mlaModal.cid=b.cid});this.on("change:uploading",function(){mlaModal.uploading=true});this.on("change",function(b){var c=false,d;if(mlaModal.uploading&&mlaModal.cid===b.cid){mlaModal.uploading=false;c=true}else{if(false===b.attributes.uploading){d=_.clone(b.changed);delete d.title;delete d.caption;delete d.alt;delete d.description;if(!_.isEmpty(d)){c=true}}}if(true===c){mlaModal.utility.hookCompatTaxonomies(b.get("id"),wp.media.frame.$el)}})}})}mlaModal.utility.hookCompatTaxonomies=function(e,c){var b,d=null;a(".mla-taxonomy-field .categorydiv",c).each(function(){b=mlaModal.utility.parseTaxonomyId(a(this).attr("id"));if(-1!=mlaModal.settings.enhancedTaxonomies.indexOf(b)){a(".compat-field-"+b+" th",c).click({id:e,currentTaxonomy:b,el:c},function(f){mlaModal.utility.fillCompatTaxonomies(f.data)});a("tr.compat-field-"+b,c).each(function(){if(a(this).hasClass("mla-taxonomy-row")){a(this).show()}else{a(this).remove()}});if(null===d){d=b}}else{a("tr.compat-field-"+b,c).each(function(){if(a(this).hasClass("mla-taxonomy-row")){a(this).remove()}})}});a(".mla-taxonomy-field .tagsdiv",c).each(function(){b=mlaModal.utility.parseTaxonomyId(a(this).attr("id"));if(-1!=mlaModal.settings.enhancedTaxonomies.indexOf(b)){a(".compat-field-"+b+" th",c).click({id:e,currentTaxonomy:b,el:c},function(f){mlaModal.utility.fillCompatTaxonomies(f.data)});a("tr.compat-field-"+b,c).each(function(){if(a(this).hasClass("mla-taxonomy-row")){a(this).show()}else{a(this).remove()}});if(null===d){d=b}}else{a("tr.compat-field-"+b,c).each(function(){if(a(this).hasClass("mla-taxonomy-row")){a(this).remove()}})}});if(mlaModal.settings.enableTermsAutofill&&null!==d){a(".compat-field-"+d+" th",c).click()}};mlaModal.utility.fillCompatTaxonomies=function(f){var c=f.el,e=[],b,d;a(".mla-taxonomy-field .categorydiv",c).each(function(){b=mlaModal.utility.parseTaxonomyId(a(this).attr("id"));e[e.length]=b;d=".compat-field-"+b;if("undefined"===typeof(mlaModal.initialHTML[b])){mlaModal.initialHTML[b]=a(d,c).html()}else{a(d,c).html(mlaModal.initialHTML[b])}a(d+" .categorydiv",c).html(mlaModal.strings.loadingText)});a(".mla-taxonomy-field .tagsdiv",c).each(function(){b=mlaModal.utility.parseTaxonomyId(a(this).attr("id"));e[e.length]=b;d=".compat-field-"+b;if("undefined"===typeof(mlaModal.initialHTML[b])){mlaModal.initialHTML[b]=a(d,c).html()}else{a(d,c).html(mlaModal.initialHTML[b])}a(d+" .tagsdiv",c).html(mlaModal.strings.loadingText)});if(e.length){wp.media.post(mlaModal.settings.ajaxFillCompatAction,{id:f.id,query:e,}).done(function(h){var g,i;for(g in h){i=".compat-field-"+g;a(i,c).html(h[g])}mlaModal.utility.supportCompatTaxonomies(f);a(".compat-field-"+f.currentTaxonomy+" td",c).show()})}};mlaModal.utility.supportCompatTaxonomies=function(d){var c=d.id,b=d.el;if(mlaModal.settings.enableDetailsCategory){a(".mla-taxonomy-field .categorydiv",b).each(function(){var g=a(this),e,h,f,k,i,m,l,j;f=mlaModal.utility.parseTaxonomyId(a(this).attr("id"));k=f+"_tab";i="#mla-"+f;m="#mla-new-"+f;l="#mla-search-"+f;j="#mla-attachments-"+c+"-"+f;if(f=="category"){k="cats"}g.find(".category-tabs").show();a(".compat-field-"+f+" th",b).click(function(){a(this).siblings("td").slideToggle()});g.on("mouseleave",function(){var q,n,p=[],o=g.find(i+"-checklist input:checked");o.each(function(){p[p.length]=a(this).val()});p.sort(function(s,r){return s-r});p=p.join(",");n=g.siblings(j).val();if(n===p){return}g.siblings(j).val(p);g.prop("disabled",true);q={id:c,};q[f]=p;wp.media.post(mlaModal.settings.ajaxUpdateCompatAction,q).done(function(s){var r,t;for(r in s){for(t in s[r]){g.find("#"+t).html(s[r][t])}}g.find(l).val("");g.find(i+"-searcher").addClass("mla-hidden-children");g.prop("disabled",false)})});g.on('change input[type="checkbox"]',function(n){n.stopPropagation();return false});g.find(i+"-tabs a").click(function(){var n=a(this).attr("href");a(this).parent().addClass("tabs").siblings("li").removeClass("tabs");g.find(i+"-tabs").siblings(".tabs-panel").hide();g.find(n).show();a(this).focus();if("#mla-"+f+"-all"==n){deleteUserSetting(k)}else{setUserSetting(k,"pop")}return false});if(getUserSetting(k)){g.find(i+'-tabs a[href="#mla-'+f+'-pop"]').click()}g.find(i+"-add-toggle").click(function(){g.find(i+"-searcher").addClass("mla-hidden-children");g.find(i+"-adder").toggleClass("mla-hidden-children");g.find(i+'-tabs a[href="#mla-'+f+'-all"]').click();g.find(i+"-checklist li").show();g.find(i+"-checklist-pop li").show();if(false===g.find(i+"-adder").hasClass("mla-hidden-children")){g.find(m).val("").removeClass("form-input-tip");g.find(m).focus()}return false});g.find(m).keypress(function(n){if(13===n.keyCode){n.preventDefault();g.find(i+"-add-submit").click()}});g.find(i+"-add-submit").click(function(){g.find(m).focus()});e=function(n){if(!g.find(m).val()){return false}n.data+="&"+g.find(i+"-checklist :checked").serialize();g.prop("disabled",true);return n};h=function(q,p){var o,n=g.find("#new"+f+"_parent");g.prop("disabled",false);if("undefined"!=p.parsed.responses[0]&&(o=p.parsed.responses[0].supplemental.newcat_parent)){n.before(o);n.remove();if(null!==mlaModal.utility.mlaAttachmentsBrowser){mlaModal.utility.mlaAttachmentsBrowser.updateFilters(f,o)}}};g.find(i+"-checklist").wpList({alt:"",response:"mla-"+f+"-ajax-response",addBefore:e,addAfter:h});g.find(i+"-checklist, "+i+"-checklist-pop").on("click",'li.popular-category > label input[type="checkbox"]',function(){var n=a(this),p=n.is(":checked"),o=n.val();if(o&&n.parents("#mla-taxonomy-"+f).length){a("#in-"+f+"-"+o+", #in-popular-"+f+"-"+o).prop("checked",p)}});a.extend(a.expr[":"],{matchTerms:function(p,o,n,q){return(p.textContent||p.innerText||"").toLowerCase().indexOf((n[3]||"").toLowerCase())>=0}});g.find(l).keypress(function(n){if(13===n.keyCode){n.preventDefault();g.find(l).val("");g.find(i+"-searcher").addClass("mla-hidden-children");g.find(i+"-checklist li").show();g.find(i+"-checklist-pop li").show();return}});g.find(l).keyup(function(p){var r,q,s,o,n;if(13===p.keyCode){p.preventDefault();g.find(i+"-search-toggle").focus();return}r=g.find(l).val();q=g.find(i+"-checklist li");s=g.find(i+"-checklist-pop li");if(0<r.length){q.hide();s.hide()}else{q.show();s.show()}o=g.find(i+"-checklist label:matchTerms('"+r+"')");o.closest("li").find("li").andSelf().show();o.parents(i+"-checklist li").show();n=g.find(i+"-checklist-pop label:matchTerms('"+r+"')");n.closest("li").find("li").andSelf().show();n.parents(i+"-checklist li").show()});g.find(i+"-search-toggle").click(function(){g.find(i+"-adder ").addClass("mla-hidden-children");g.find(i+"-searcher").toggleClass("mla-hidden-children");g.find(i+'-tabs a[href="#mla-'+f+'-all"]').click();g.find(i+"-checklist li").show();g.find(i+"-checklist-pop li").show();if(false===g.find(i+"-searcher").hasClass("mla-hidden-children")){g.find(l).val("").removeClass("form-input-tip");g.find(l).focus()}return false})})}if(mlaModal.settings.enableDetailsTag){a(".mla-taxonomy-field .tagsdiv",b).each(function(){var e=mlaModal.utility.parseTaxonomyId(a(this).attr("id"));a(".compat-field-"+e+" th",b).click(function(){a(this).siblings("td").slideToggle()});mlaModal.tagBox.init(c,e,b)})}}}(jQuery));
1
+ var wp,wpAjax,ajaxurl,jQuery,_,getUserSetting,setUserSetting,deleteUserSetting,mlaTaxonomy,mlaModal={strings:{},settings:{},initialHTML:{},uploading:false,cid:null,utility:{originalMediaAjax:null,mlaAttachmentsBrowser:null,parseTermsOptions:null,arrayCleanup:null,parseTaxonomyId:null,hookCompatTaxonomies:null,fillCompatTaxonomies:null,supportCompatTaxonomies:null},tagBox:null};(function(a){mlaModal.strings=typeof wp.media.view.l10n.mla_strings==="undefined"?{}:wp.media.view.l10n.mla_strings;delete wp.media.view.l10n.mla_strings;mlaModal.settings=typeof wp.media.view.settings.mla_settings==="undefined"?{screen:"unknown",enableMediaGrid:false,enableMediaModal:false}:wp.media.view.settings.mla_settings;delete wp.media.view.settings.mla_settings;if(!(mlaModal.settings.enableMediaGrid||mlaModal.settings.enableMediaModal)){return}if(("grid"===mlaModal.settings.screen)&&false===mlaModal.settings.enableMediaGrid){return}if(("modal"===mlaModal.settings.screen)&&false===mlaModal.settings.enableMediaModal){return}mlaModal.utility.originalMediaAjax=wp.media.ajax;wp.media.ajax=function(h,d){var g=mlaModal.settings.state,f,c,e,b;if(_.isObject(h)){d=h}else{d=d||{};d.data=_.extend(d.data||{},{action:h})}if("query-attachments"==d.data.action){f=d.data.query;c=typeof f.s;if("object"==c){e=f.s}else{if("string"==c){e={mla_search_value:f.s}}else{e={mla_search_value:""}}}if("undefined"!=typeof f.post_mime_type){mlaModal.settings.query[g].filterMime=f.post_mime_type}else{mlaModal.settings.query[g].filterMime="all"}if("undefined"!=typeof e.mla_filter_month){mlaModal.settings.query[g].filterMonth=e.mla_filter_month}else{if("undefined"!=typeof f.year){mlaModal.settings.query[g].filterMonth=(100*f.year)+(1*f.monthnum)}else{}}if("undefined"!=typeof e.mla_filter_term){mlaModal.settings.query[g].filterTerm=e.mla_filter_term}if("undefined"!=typeof e.mla_search_value){mlaModal.settings.query[g].searchValue=e.mla_search_value}b={mla_filter_month:mlaModal.settings.query[g].filterMonth,mla_filter_term:mlaModal.settings.query[g].filterTerm,mla_terms_search:mlaModal.settings.query[g].termsSearch,mla_search_clicks:mlaModal.settings.query[g].searchClicks,mla_search_value:mlaModal.settings.query[g].searchValue,mla_search_fields:mlaModal.settings.query[g].searchFields,mla_search_connector:mlaModal.settings.query[g].searchConnector};mlaModal.settings.query[g].termsSearch="";a("#mla-terms-search-input").html("").val("");d.data.query.s=b}return mlaModal.utility.originalMediaAjax.call(this,d)};if(mlaModal.settings.enableMimeTypes){wp.media.view.AttachmentFilters.Mla=wp.media.view.AttachmentFilters.extend({createFilters:function(){var c=this.controller._state,b={};_.each(mlaModal.settings.allMimeTypes||{},function(e,d){if(("grid"===mlaModal.settings.screen)||("trash"!==d)){b[d]={text:e,props:{type:d,uploadedTo:null,orderby:"date",order:"DESC"}}}});b.all={text:wp.media.view.l10n.allMediaItems,props:{type:null,uploadedTo:null,orderby:"date",order:"DESC"},priority:10};if(wp.media.view.settings.post.id){b.uploaded={text:wp.media.view.l10n.uploadedToThisPost,props:{type:null,uploadedTo:wp.media.view.settings.post.id,orderby:"menuOrder",order:"ASC"},priority:20}}this.filters=b;if("undefined"===typeof b[mlaModal.settings.query[c].filterMime]){mlaModal.settings.query[c].filterMime="all"}if(mlaModal.settings.query[c].filterMime!="all"){this.model.set(b[mlaModal.settings.query[c].filterMime].props,{silent:false})}},select:function(){var e=this.controller._state,b=this.model,d=mlaModal.settings.query[e].filterMime,c=b.toJSON();if(false===mlaModal.settings.enableSearchBox){if("string"==typeof c.search){mlaModal.settings.query[e].searchValue=c.search}else{mlaModal.settings.query[e].searchValue=""}}_.find(this.filters,function(g,h){var f=_.all(g.props,function(j,i){return j===(_.isUndefined(c[i])?null:c[i])});if(f){return d=h}});this.$el.val(d)},change:function(){var c=a(this.el).closest("div.media-toolbar"),b=this.filters[this.el.value];if(b){this.model.set(b.props,{silent:true});a("#mla-search-submit",c).click()}}});wp.media.view.AttachmentFilters.MlaUploaded=wp.media.view.AttachmentFilters.extend({createFilters:function(){var c=this.model.get("type"),b=wp.media.view.settings.mimeTypes,f,e=this.controller._state,d={};if(b&&c){f=b[c]}_.each(mlaModal.settings.uploadMimeTypes||{},function(h,g){if(("grid"===mlaModal.settings.screen)||("trash"!==g)){d[g]={text:h,props:{type:g,uploadedTo:null,orderby:"date",order:"DESC"}}}});d.all={text:f||wp.media.view.l10n.allMediaItems,props:{uploadedTo:null,orderby:"date",order:"DESC"},priority:10};d.uploaded={text:wp.media.view.l10n.uploadedToThisPost,props:{type:null,uploadedTo:wp.media.view.settings.post.id,orderby:"menuOrder",order:"ASC"},priority:20};d.unattached={text:wp.media.view.l10n.unattached,props:{uploadedTo:0,orderby:"menuOrder",order:"ASC"},priority:50};this.filters=d;if("undefined"===typeof d[mlaModal.settings.query[e].filterUploaded]){mlaModal.settings.query[e].filterUploaded="all"}if(mlaModal.settings.query[e].filterUploaded!="all"){this.model.set(d[mlaModal.settings.query[e].filterUploaded].props,{silent:false})}},select:function(){var e=this.controller._state,b=this.model,d=mlaModal.settings.query[e].filterMime,c=b.toJSON();if(false===mlaModal.settings.enableSearchBox){if("string"==typeof c.search){mlaModal.settings.query[e].searchValue=c.search}else{mlaModal.settings.query[e].searchValue=""}}_.find(this.filters,function(g,h){var f=_.all(g.props,function(j,i){return j===(_.isUndefined(c[i])?null:c[i])});if(f){return d=h}});this.$el.val(d)},change:function(){var c=a(this.el).closest("div.media-toolbar"),b=this.filters[this.el.value];if(b){this.model.set(b.props,{silent:true});a("#mla-search-submit",c).click()}}})}if(mlaModal.settings.enableMonthsDropdown){wp.media.view.AttachmentFilters.MlaMonths=wp.media.view.AttachmentFilters.extend({className:"attachment-filters",id:"media-attachment-date-filters",createFilters:function(){var c=this.controller._state,b={};_.each(mlaModal.settings.months||{},function(e,d){b[d]={text:e,props:{s:{mla_filter_month:d}}}});this.filters=b;if("undefined"===typeof b[mlaModal.settings.query[c].filterMonth]){mlaModal.settings.query[c].filterMonth=0}if(mlaModal.settings.query[c].filterMonth>0){this.model.set(b[mlaModal.settings.query[c].filterMonth].props,{silent:false})}},select:function(){var e=this.controller._state,b=this.model,d=mlaModal.settings.query[e].filterMonth,c=b.toJSON();if(_.isUndefined(c.s)){c.s={}}if(false===mlaModal.settings.enableSearchBox){if("string"==typeof c.search){mlaModal.settings.query[e].searchValue=c.search}else{mlaModal.settings.query[e].searchValue=""}}if(_.isUndefined(c.s.mla_filter_month)){c.s.mla_filter_month=mlaModal.settings.query[e].filterMonth}else{mlaModal.settings.query[e].filterMonth=c.s.mla_filter_month}_.find(this.filters,function(g,h){var f=_.all(g.props,function(i){return i.mla_filter_month==mlaModal.settings.query[e].filterMonth});if(f){return d=h}});this.$el.val(d)},change:function(){var b=this.filters[this.el.value],c;if(b){c={s:{mla_filter_month:b.props.s.mla_filter_month}};this.model.set(c)}}})}if(mlaModal.settings.enableTermsDropdown){wp.media.view.AttachmentFilters.MlaTerms=wp.media.view.AttachmentFilters.extend({className:"attachment-filters",id:"media-attachment-term-filters",createFilters:function(){var d=this.controller._state,b,c={};_.each(mlaModal.settings.termsText||{},function(f,e){c[e]={text:f,props:{s:{mla_filter_term:parseInt(mlaModal.settings.termsValue[e])}}}});this.filters=c;b=_.indexOf(mlaModal.settings.termsValue,mlaModal.settings.query[d].filterTerm);if(b>0){this.model.set(c[b].props,{silent:false})}},select:function(){var e=this.controller._state,b=this.model,d=mlaModal.settings.query[e].filterTerm,c=b.toJSON();if(_.isUndefined(c.s)){c.s={}}if(false===mlaModal.settings.enableSearchBox){if("string"==typeof c.search){mlaModal.settings.query[e].searchValue=c.search}else{mlaModal.settings.query[e].searchValue=""}}if(_.isUndefined(c.s.mla_filter_term)){c.s.mla_filter_term=mlaModal.settings.query[e].filterTerm}else{mlaModal.settings.query[e].filterTerm=c.s.mla_filter_term}_.find(this.filters,function(g,h){var f=_.all(g.props,function(i){return i.mla_filter_term==mlaModal.settings.query[e].filterTerm});if(f){return d=h}});this.$el.val(d)},change:function(){var b=this.filters[this.el.value],c;if(b){c={s:{mla_filter_term:b.props.s.mla_filter_term}};this.model.set(c)}}})}if(mlaModal.settings.enableTermsSearch){wp.media.view.MlaTermsSearch=wp.media.View.extend({tagName:"span",className:"mla-terms-search",template:wp.media.template("mla-terms-search-button"),attributes:{type:"mla-terms-search-button"},events:{change:"termsSearchOpen",click:"termsSearchOpen",},render:function(){this.$el.html(this.template(mlaModal.strings));return this},termsSearchOpen:function(c){var b=a(this.el).closest("div.media-toolbar");if(("click"==c.type)&&("mla_terms_search"===c.target.name)){mlaTaxonomy.termsSearch.open();a("#mla-terms-search-form").off("submit");a("#mla-terms-search-form").submit(function(h){var d,g,f={phrases:"",taxonomies:[]};h.preventDefault();d=a("#mla-terms-search-form").serializeArray();for(g=0;g<d.length;g++){switch(d[g].name){case"mla_terms_search[phrases]":f.phrases=d[g].value;break;case"mla_terms_search[radio_phrases]":f.radio_phrases=d[g].value;break;case"mla_terms_search[radio_terms]":f.radio_terms=d[g].value;break;case"mla_terms_search[taxonomies][]":f.taxonomies[f.taxonomies.length]=d[g].value;break}}mlaModal.settings.query[mlaModal.settings.state].termsSearch=f;a("#mla-search-submit",b).click();return false});a("#mla-terms-search-input").keypress(function(d){if(13==d.which){d.preventDefault();a("#mla-terms-search-submit").click()}})}}})}if(mlaModal.settings.enableSearchBox){wp.media.view.MlaSearch=wp.media.View.extend({tagName:"div",className:"mla-search-box",template:wp.media.template("mla-search-box"),attributes:{type:"mla-search-box"},events:{input:"search",change:"search",click:"search",search:"search",MlaSearch:"search"},initialize:function(){var b=this.controller._state;if("undefined"===typeof mlaModal.settings.query[b]){mlaModal.settings.query[b]=_.clone(mlaModal.settings.query.initial);mlaModal.settings.query[b].searchFields=_.clone(mlaModal.settings.query.initial.searchFields)}},render:function(){var c=this.controller._state,b=_.extend(mlaModal.strings,mlaModal.settings.query[c]);this.$el.html(this.template(b));return this},search:function(d){var e=this.controller._state,b,f,c;if(("input"==d.type)&&("s[mla_search_value]"==d.target.name)){mlaModal.settings.query[e].searchValue=d.target.value;return}if(("click"==d.type)&&("mla_search_submit"!=d.target.name)){return}switch(d.target.name){case"s[mla_search_value]":mlaModal.settings.query[e].searchValue=d.target.value;break;case"mla_search_submit":b={mla_filter_month:mlaModal.settings.query[e].filterMonth,mla_filter_term:mlaModal.settings.query[e].filterTerm,mla_terms_search:mlaModal.settings.query[e].termsSearch,mla_search_clicks:mlaModal.settings.query[e].searchClicks++,mla_search_value:mlaModal.settings.query[e].searchValue,mla_search_fields:mlaModal.settings.query[e].searchFields,mla_search_connector:mlaModal.settings.query[e].searchConnector};this.model.set({s:b});break;case"s[mla_search_connector]":mlaModal.settings.query[e].searchConnector=d.target.value;break;case"s[mla_search_title]":f=mlaModal.settings.query[e].searchFields;c=f.indexOf("title");if(-1==c){f.push("title")}else{f.splice(c,1)}mlaModal.settings.query[e].searchFields=f;break;case"s[mla_search_name]":c=mlaModal.settings.query[e].searchFields.indexOf("name");if(-1==c){mlaModal.settings.query[e].searchFields.push("name")}else{mlaModal.settings.query[e].searchFields.splice(c,1)}break;case"s[mla_search_alt_text]":c=mlaModal.settings.query[e].searchFields.indexOf("alt-text");if(-1==c){mlaModal.settings.query[e].searchFields.push("alt-text")}else{mlaModal.settings.query[e].searchFields.splice(c,1)}break;case"s[mla_search_excerpt]":c=mlaModal.settings.query[e].searchFields.indexOf("excerpt");if(-1==c){mlaModal.settings.query[e].searchFields.push("excerpt")}else{mlaModal.settings.query[e].searchFields.splice(c,1)}break;case"s[mla_search_content]":c=mlaModal.settings.query[e].searchFields.indexOf("content");if(-1==c){mlaModal.settings.query[e].searchFields.push("content")}else{mlaModal.settings.query[e].searchFields.splice(c,1)}break;case"s[mla_search_terms]":c=mlaModal.settings.query[e].searchFields.indexOf("terms");if(-1==c){mlaModal.settings.query[e].searchFields.push("terms")}else{mlaModal.settings.query[e].searchFields.splice(c,1)}break}}})}else{wp.media.view.MlaSearch=wp.media.View.extend({tagName:"span",className:"mla-simulate-search-button",template:wp.media.template("mla-simulate-search-button"),attributes:{type:"mla-simulate-search-button"},events:{click:"simulateSearch",},render:function(){this.$el.html(this.template(mlaModal.strings));return this},simulateSearch:function(){var c=this.controller._state,b={mla_filter_month:mlaModal.settings.query[c].filterMonth,mla_filter_term:mlaModal.settings.query[c].filterTerm,mla_terms_search:mlaModal.settings.query[c].termsSearch,mla_search_clicks:mlaModal.settings.query[c].searchClicks++,mla_search_value:mlaModal.settings.query[c].searchValue,mla_search_fields:mlaModal.settings.query[c].searchFields,mla_search_connector:mlaModal.settings.query[c].searchConnector};this.model.set({s:b})}})}if(mlaModal.settings.enableMimeTypes||mlaModal.settings.enableMonthsDropdown||mlaModal.settings.enableTermsDropdown||mlaModal.settings.enableTermsSearch||mlaModal.settings.enableSearchBox){wp.media.view.AttachmentsBrowser=wp.media.view.AttachmentsBrowser.extend({createToolbar:function(){var b,c=this.controller._state;mlaModal.settings.state=c;if("undefined"===typeof mlaModal.settings.query[c]){mlaModal.settings.query[c]=_.clone(mlaModal.settings.query.initial);mlaModal.settings.query[c].searchFields=_.clone(mlaModal.settings.query.initial.searchFields)}wp.media.view.AttachmentsBrowser.__super__.createToolbar.apply(this,arguments);mlaModal.utility.mlaAttachmentsBrowser=this;b=this.options.filters;if(("all"===b)&&mlaModal.settings.enableMimeTypes){this.toolbar.unset("filters",{silent:true});this.toolbar.set("filters",new wp.media.view.AttachmentFilters.Mla({controller:this.controller,model:this.collection.props,priority:-80}).render())}if(("uploaded"===b)&&mlaModal.settings.enableMimeTypes){this.toolbar.unset("filters",{silent:true});this.toolbar.set("filters",new wp.media.view.AttachmentFilters.MlaUploaded({controller:this.controller,model:this.collection.props,priority:-80}).render())}if(this.options.search&&mlaModal.settings.enableMonthsDropdown){this.toolbar.unset("dateFilter",{silent:true});this.toolbar.set("dateFilter",new wp.media.view.AttachmentFilters.MlaMonths({controller:this.controller,model:this.collection.props,priority:-75}).render())}if(this.options.search&&mlaModal.settings.enableTermsDropdown){this.toolbar.set("terms",new wp.media.view.AttachmentFilters.MlaTerms({controller:this.controller,model:this.collection.props,priority:-50}).render())}if(this.options.search&&mlaModal.settings.enableTermsSearch){this.toolbar.set("termsSearch",new wp.media.view.MlaTermsSearch({controller:this.controller,model:this.collection.props,priority:-50}).render())}if(this.options.search){if(mlaModal.settings.enableSearchBox){this.listenTo(this.controller,"content:activate",this.hideDefaultSearch);this.listenTo(this.controller,"router:render",this.hideDefaultSearch);this.listenTo(this.controller,"uploader:ready",this.hideDefaultSearch);this.toolbar.set("MlaSearch",new wp.media.view.MlaSearch({controller:this.controller,model:this.collection.props,priority:60}).render())}else{this.toolbar.set("MlaSearch",new wp.media.view.MlaSearch({controller:this.controller,model:this.collection.props,priority:70}).render())}}},hideDefaultSearch:function(){a("#media-search-input",this.el).hide()},updateFilters:function(b,c){var d={};if(this.options.search&&mlaModal.settings.enableTermsDropdown&&mlaModal.settings.termsTaxonomy==b){d=mlaModal.utility.parseTermsOptions(c);mlaModal.settings.termsClass=d.termsClass;mlaModal.settings.termsText=d.termsText;mlaModal.settings.termsValue=d.termsValue;this.toolbar.unset("terms",{silent:true});this.toolbar.set("terms",new wp.media.view.AttachmentFilters.MlaTerms({controller:this.controller,model:this.collection.props,priority:-80}).render())}}})}mlaModal.utility.parseTermsOptions=function(h){var g={termsClass:[mlaModal.settings.termsClass[0],mlaModal.settings.termsClass[1]],termsText:[mlaModal.settings.termsText[0],mlaModal.settings.termsText[1]],termsValue:[mlaModal.settings.termsValue[0],mlaModal.settings.termsValue[1]]},d=2,b,c,f=/\<option(( class=\"([^\"]+)\" )|( ))value=((\'([^\']+)\')|(\"([^\"]+)\"))([^\>]*)\>([^\<]*)\<.*/g,e=[];if("object"===typeof h){d=mlaModal.settings.termsValue.length;for(b=2;b<d;b++){e[b]={termsClass:mlaModal.settings.termsClass[b],termsText:mlaModal.settings.termsText[b],termsValue:mlaModal.settings.termsValue[b]};if("undefined"!==typeof h[mlaModal.settings.termsValue[b]]){delete h[mlaModal.settings.termsValue[b]]}}for(c in h){e[b++]={termsClass:"level-0",termsText:h[c],termsValue:c.toString()}}if(d===b){return{termsClass:mlaModal.settings.termsClass,termsText:mlaModal.settings.termsText,termsValue:mlaModal.settings.termsValue}}e.sort(function(j,i){if(j.termsText>i.termsText){return 1}else{if(j.termsText<i.termsText){return -1}else{return 0}}});b=2;for(c in e){g.termsClass[b]=e[c].termsClass;g.termsText[b]=e[c].termsText;g.termsValue[b++]=e[c].termsValue}return g}e=f.exec(h);while(null!==(e=f.exec(h))){g.termsClass[d]=e[3];g.termsValue[d]=("undefined"===typeof e[6])?e[9]:e[7];g.termsText[d++]=e[11].replace("&nbsp;",mlaModal.settings.termsIndent)}return g};mlaModal.utility.arrayCleanup=function(d){var c=[],b=("string"===typeof d);if(b){d=d.split(mlaModal.settings.comma)}jQuery.each(d,function(e,f){f=jQuery.trim(f);if(f&&jQuery.inArray(f,c)==-1){c.push(f)}});c.sort();if(b){c=c.join(mlaModal.settings.comma)}return c};mlaModal.utility.parseTaxonomyId=function(c){var b=c.split("-");b.shift();b.shift();return b.join("-")};mlaModal.tagBox={cleanTags:function(c){var b=mlaModal.settings.comma;if(","!==b){c=c.replace(new RegExp(b,"g"),",")}c=c.replace(/\s*,\s*/g,",").replace(/,+/g,",").replace(/[,\s]+$/,"").replace(/^[,\s]+/,"");if(","!==b){c=c.replace(/,/g,b)}return c},parseTags:function(e){var i=e.id,c=i.split("-check-num-")[1],f=a(e).closest(".tagsdiv"),h=f.find(".the-tags"),b=mlaModal.settings.comma,d=h.val().split(b),g=[];delete d[c];a.each(d,function(j,k){k=a.trim(k);if(k){g.push(k)}});h.val(this.cleanTags(g.join(b)));this.quickClicks(f);return false},quickClicks:function(d){var g=a(".the-tags",d),e=a(".tagchecklist",d),f=a(d).attr("id"),b,c;if(!g.length){return}c=g.prop("disabled");b=g.val().split(mlaModal.settings.comma);e.empty();a.each(b,function(i,k){var j,h;k=a.trim(k);if(!k){return}j=a("<span />").text(k);if(!c){h=a('<a id="'+f+"-check-num-"+i+'" class="ntdelbutton">X</a>');h.click(function(){mlaModal.tagBox.parseTags(this)});j.prepend("&nbsp;").prepend(h)}e.append(j)})},flushTags:function(h,d,c){var j,b,e,k=a(".the-tags",h),g=a("input.newtag",h),i=mlaModal.settings.comma;d=d||false;e=d?a(d).text():g.val();j=k.val();b=j?j+i+e:e;b=mlaModal.utility.arrayCleanup(this.cleanTags(b));k.val(b);this.quickClicks(h);if(!d){g.val("")}if("undefined"==typeof(c)){g.focus()}return false},getCloud:function(c,b){a.post(ajaxurl,{action:"get-tagcloud",tax:b},function(e,d){if(0===e||"success"!=d){e=wpAjax.broken}e=a('<p id="tagcloud-'+b+'" class="the-tagcloud">'+e+"</p>");a("a",e).click(function(){mlaModal.tagBox.flushTags(a(this).closest(".mla-taxonomy-field").children(".tagsdiv"),this);return false});a("#"+c).after(e)})},init:function(f,b,d){var e,c;e=a("#mla-taxonomy-"+b,d);c=a("div.ajaxtag",e);mlaModal.tagBox.quickClicks(e);a("input.tagadd",c).click(function(){mlaModal.tagBox.flushTags(a(this).closest(".tagsdiv"))});a("input.newtag",c).keyup(function(g){if(13==g.which){mlaModal.tagBox.flushTags(e);return false}}).keypress(function(g){if(13==g.which){g.preventDefault();return false}}).each(function(){a(this).suggest(ajaxurl+"?action=ajax-tag-search&tax="+b,{delay:500,resultsClass:"mla_ac_results",selectClass:"mla_ac_over",matchClass:"mla_ac_match",minchars:2,multiple:true,multipleSep:mlaModal.settings.comma+" "})});e.siblings(":first").click(function(){mlaModal.tagBox.getCloud(a("a",this).attr("id"),b);a("a",this).unbind().click(function(){a(this).siblings(".the-tagcloud").toggle();return false});return false});a(".compat-field-"+b+" td",d).on("mouseleave",function(){var j,h=this,g=mlaModal.utility.arrayCleanup(a(".server-tags",h).val()),i=mlaModal.utility.arrayCleanup(a(".the-tags",h).val());if(g===i){return}a(h).css("opacity","0.5");j={id:f,};j[b]=i;wp.media.post(mlaModal.settings.ajaxUpdateCompatAction,j).done(function(l){var m,k,n;for(k in l){if("object"===typeof(l[k]["object-terms"])){if(null!==mlaModal.utility.mlaAttachmentsBrowser){mlaModal.utility.mlaAttachmentsBrowser.updateFilters(k,l[k]["object-terms"])}delete l[k]["object-terms"]}for(n in l[k]){a("#"+n,h).replaceWith(l[k][n])}m=a("#mla-taxonomy-"+k,h);mlaModal.tagBox.quickClicks(m)}a(h).css("opacity","1.0")})});e.on("change",function(g){g.stopPropagation();return false});a(".the-tags, .server-tags .newtag",e).on("change",function(g){g.stopPropagation();return false})}};if(mlaModal.settings.enableDetailsCategory||mlaModal.settings.enableDetailsTag){wp.media.view.AttachmentCompat=wp.media.view.AttachmentCompat.extend({initialize:function(){wp.media.view.AttachmentCompat.__super__.initialize.apply(this,arguments);this.on("ready",function(){mlaModal.utility.hookCompatTaxonomies(this.model.get("id"),this.el)})}})}if(mlaModal.settings.enableDetailsCategory||mlaModal.settings.enableDetailsTag){wp.media.model.Selection=wp.media.model.Selection.extend({initialize:function(){wp.media.model.Selection.__super__.initialize.apply(this,arguments);this.on("selection:reset",function(){mlaModal.cid=null});this.on("selection:unsingle",function(){mlaModal.cid=null});this.on("selection:single",function(b){mlaModal.cid=b.cid});this.on("change:uploading",function(){mlaModal.uploading=true});this.on("change",function(b){var c=false,d;if(mlaModal.uploading&&mlaModal.cid===b.cid){mlaModal.uploading=false;c=true}else{if(false===b.attributes.uploading){d=_.clone(b.changed);delete d.title;delete d.caption;delete d.alt;delete d.description;if(!_.isEmpty(d)){c=true}}}if(true===c){mlaModal.utility.hookCompatTaxonomies(b.get("id"),wp.media.frame.$el)}})}})}mlaModal.utility.hookCompatTaxonomies=function(e,c){var b,d=null;a(".mla-taxonomy-field .categorydiv",c).each(function(){b=mlaModal.utility.parseTaxonomyId(a(this).attr("id"));if(-1!=mlaModal.settings.enhancedTaxonomies.indexOf(b)){a(".compat-field-"+b+" th",c).click({id:e,currentTaxonomy:b,el:c},function(f){mlaModal.utility.fillCompatTaxonomies(f.data)});a("tr.compat-field-"+b,c).each(function(){if(a(this).hasClass("mla-taxonomy-row")){a(this).show()}else{a(this).remove()}});if(null===d){d=b}}else{a("tr.compat-field-"+b,c).each(function(){if(a(this).hasClass("mla-taxonomy-row")){a(this).remove()}})}});a(".mla-taxonomy-field .tagsdiv",c).each(function(){b=mlaModal.utility.parseTaxonomyId(a(this).attr("id"));if(-1!=mlaModal.settings.enhancedTaxonomies.indexOf(b)){a(".compat-field-"+b+" th",c).click({id:e,currentTaxonomy:b,el:c},function(f){mlaModal.utility.fillCompatTaxonomies(f.data)});a("tr.compat-field-"+b,c).each(function(){if(a(this).hasClass("mla-taxonomy-row")){a(this).show()}else{a(this).remove()}});if(null===d){d=b}}else{a("tr.compat-field-"+b,c).each(function(){if(a(this).hasClass("mla-taxonomy-row")){a(this).remove()}})}});if(mlaModal.settings.enableTermsAutofill&&null!==d){a(".compat-field-"+d+" th",c).click()}};mlaModal.utility.fillCompatTaxonomies=function(f){var c=f.el,e=[],b,d;a(".mla-taxonomy-field .categorydiv",c).each(function(){b=mlaModal.utility.parseTaxonomyId(a(this).attr("id"));e[e.length]=b;d=".compat-field-"+b;if("undefined"===typeof(mlaModal.initialHTML[b])){mlaModal.initialHTML[b]=a(d,c).html()}else{a(d,c).html(mlaModal.initialHTML[b])}a(d+" .categorydiv",c).html(mlaModal.strings.loadingText)});a(".mla-taxonomy-field .tagsdiv",c).each(function(){b=mlaModal.utility.parseTaxonomyId(a(this).attr("id"));e[e.length]=b;d=".compat-field-"+b;if("undefined"===typeof(mlaModal.initialHTML[b])){mlaModal.initialHTML[b]=a(d,c).html()}else{a(d,c).html(mlaModal.initialHTML[b])}a(d+" .tagsdiv",c).html(mlaModal.strings.loadingText)});if(e.length){wp.media.post(mlaModal.settings.ajaxFillCompatAction,{id:f.id,query:e,}).done(function(h){var g,i;for(g in h){i=".compat-field-"+g;a(i,c).html(h[g])}mlaModal.utility.supportCompatTaxonomies(f);a(".compat-field-"+f.currentTaxonomy+" td",c).show()})}};mlaModal.utility.supportCompatTaxonomies=function(d){var c=d.id,b=d.el;if(mlaModal.settings.enableDetailsCategory){a(".mla-taxonomy-field .categorydiv",b).each(function(){var g=a(this),e,h,f,k,i,m,l,j;f=mlaModal.utility.parseTaxonomyId(a(this).attr("id"));k=f+"_tab";i="#mla-"+f;m="#mla-new-"+f;l="#mla-search-"+f;j="#mla-attachments-"+c+"-"+f;if(f=="category"){k="cats"}g.find(".category-tabs").show();a(".compat-field-"+f+" th",b).click(function(){a(this).siblings("td").slideToggle()});g.on("mouseleave",function(){var q,n,p=[],o=g.find(i+"-checklist input:checked");o.each(function(){p[p.length]=a(this).val()});p.sort(function(s,r){return s-r});p=p.join(",");n=g.siblings(j).val();if(n===p){return}g.siblings(j).val(p);g.prop("disabled",true);q={id:c,};q[f]=p;wp.media.post(mlaModal.settings.ajaxUpdateCompatAction,q).done(function(s){var r,t;for(r in s){for(t in s[r]){g.find("#"+t).html(s[r][t])}}g.find(l).val("");g.find(i+"-searcher").addClass("mla-hidden-children");g.prop("disabled",false)})});g.on('change input[type="checkbox"]',function(n){n.stopPropagation();return false});g.find(i+"-tabs a").click(function(){var n=a(this).attr("href");a(this).parent().addClass("tabs").siblings("li").removeClass("tabs");g.find(i+"-tabs").siblings(".tabs-panel").hide();g.find(n).show();a(this).focus();if("#mla-"+f+"-all"==n){deleteUserSetting(k)}else{setUserSetting(k,"pop")}return false});if(getUserSetting(k)){g.find(i+'-tabs a[href="#mla-'+f+'-pop"]').click()}g.find(i+"-add-toggle").click(function(){g.find(i+"-searcher").addClass("mla-hidden-children");g.find(i+"-adder").toggleClass("mla-hidden-children");g.find(i+'-tabs a[href="#mla-'+f+'-all"]').click();g.find(i+"-checklist li").show();g.find(i+"-checklist-pop li").show();if(false===g.find(i+"-adder").hasClass("mla-hidden-children")){g.find(m).val("").removeClass("form-input-tip");g.find(m).focus()}return false});g.find(m).keypress(function(n){if(13===n.keyCode){n.preventDefault();g.find(i+"-add-submit").click()}});g.find(i+"-add-submit").click(function(){g.find(m).focus()});e=function(n){if(!g.find(m).val()){return false}n.data+="&"+g.find(i+"-checklist :checked").serialize();g.prop("disabled",true);return n};h=function(q,p){var o,n=g.find("#new"+f+"_parent");g.prop("disabled",false);if("undefined"!=p.parsed.responses[0]&&(o=p.parsed.responses[0].supplemental.newcat_parent)){n.before(o);n.remove();if(null!==mlaModal.utility.mlaAttachmentsBrowser){mlaModal.utility.mlaAttachmentsBrowser.updateFilters(f,o)}}};g.find(i+"-checklist").wpList({alt:"",response:"mla-"+f+"-ajax-response",addBefore:e,addAfter:h});g.find(i+"-checklist, "+i+"-checklist-pop").on("click",'li.popular-category > label input[type="checkbox"]',function(){var n=a(this),p=n.is(":checked"),o=n.val();if(o&&n.parents("#mla-taxonomy-"+f).length){a("#in-"+f+"-"+o+", #in-popular-"+f+"-"+o).prop("checked",p)}});a.extend(a.expr[":"],{matchTerms:function(p,o,n,q){return(p.textContent||p.innerText||"").toLowerCase().indexOf((n[3]||"").toLowerCase())>=0}});g.find(l).keypress(function(n){if(13===n.keyCode){n.preventDefault();g.find(l).val("");g.find(i+"-searcher").addClass("mla-hidden-children");g.find(i+"-checklist li").show();g.find(i+"-checklist-pop li").show();return}});g.find(l).keyup(function(p){var r,q,s,o,n;if(13===p.keyCode){p.preventDefault();g.find(i+"-search-toggle").focus();return}r=g.find(l).val();q=g.find(i+"-checklist li");s=g.find(i+"-checklist-pop li");if(0<r.length){q.hide();s.hide()}else{q.show();s.show()}o=g.find(i+"-checklist label:matchTerms('"+r+"')");o.closest("li").find("li").andSelf().show();o.parents(i+"-checklist li").show();n=g.find(i+"-checklist-pop label:matchTerms('"+r+"')");n.closest("li").find("li").andSelf().show();n.parents(i+"-checklist li").show()});g.find(i+"-search-toggle").click(function(){g.find(i+"-adder ").addClass("mla-hidden-children");g.find(i+"-searcher").toggleClass("mla-hidden-children");g.find(i+'-tabs a[href="#mla-'+f+'-all"]').click();g.find(i+"-checklist li").show();g.find(i+"-checklist-pop li").show();if(false===g.find(i+"-searcher").hasClass("mla-hidden-children")){g.find(l).val("").removeClass("form-input-tip");g.find(l).focus()}return false})})}if(mlaModal.settings.enableDetailsTag){a(".mla-taxonomy-field .tagsdiv",b).each(function(){var e=mlaModal.utility.parseTaxonomyId(a(this).attr("id"));a(".compat-field-"+e+" th",b).click(function(){a(this).siblings("td").slideToggle()});mlaModal.tagBox.init(c,e,b)})}}}(jQuery));
js/mla-polylang-support-scripts.js CHANGED
@@ -12,7 +12,7 @@ var jQuery,
12
  // mlaPolylang.settings.ajax_nonce
13
  // mlaPolylang.settings.error
14
  settings: {},
15
-
16
  // Utility functions
17
  utility: {
18
  getId : function( o ) {
@@ -21,7 +21,7 @@ var jQuery,
21
  return parts[ parts.length - 1 ];
22
  }
23
  },
24
-
25
  // Components
26
  inlineTranslate: null
27
  };
@@ -148,13 +148,13 @@ var jQuery,
148
  $( 'table.widefat input[value="' + id + '"]' ).prop( 'checked', false );
149
  $( '#ttle'+id ).remove();
150
  });
151
-
152
  // Capture Language links
153
  $( '#pll-bulk-translate .pll-media-action-table tr' ).each( function ( idx ){
154
  //$( '.pll-media-action-column a', this ).off( 'click' );
155
  $( '.pll-media-action-column a', this ).click( function( e ){
156
  var bulkLanguage = $( this ).attr( 'pll_bulk_language' );
157
-
158
  $( ':input[name="pll_bulk_language"]', '#pll-bulk-translate' ).val( bulkLanguage );
159
  $( '#pll-bulk-translate .pll-media-action-table a' ).prop( 'disabled', true );
160
  $( '#pll-bulk-translate' ).css( 'opacity', '0.5' );
@@ -178,10 +178,10 @@ var jQuery,
178
  // set up the quick translate entries
179
  currentLanguage = $( ':input[name="old_lang"]', translateRow ).val();
180
  translations = JSON.parse( $( ':input[name="inline_translations"]', translateRow ).val() );
181
-
182
  $( '.pll-media-action-table tr', translateRow ).each( function ( idx ){
183
  var parts = $( this ).attr( 'class' ).split( '-' ), slug = parts[ parts.length - 1 ];
184
-
185
  if ( slug === currentLanguage ) {
186
  $( '.pll-media-action-column input', this ).val( translations[ slug ] );
187
  $( this ).hide();
@@ -198,18 +198,18 @@ var jQuery,
198
  $( '.pll-media-action-column a', this ).attr( 'pll_quick_language', slug );
199
  $( '.pll-media-action-column a', this ).attr( 'pll_quick_id', 0 );
200
  }
201
-
202
  $( '.pll-media-action-column a', this ).off( 'click' );
203
  $( '.pll-media-action-column a', this ).click( function( e ){
204
  var quickLanguage = $( this ).attr( 'pll_quick_language' ), quickId = $( this ).attr( 'pll_quick_id' );
205
-
206
  $( ':input[name="pll_quick_language"]', translateRow ).val( quickLanguage );
207
  $( ':input[name="pll_quick_id"]', translateRow ).val( quickId );
208
  e.preventDefault();
209
  return mlaPolylang.inlineTranslate.save( translateRow );
210
  });
211
  });
212
-
213
  return false;
214
  },
215
 
@@ -241,10 +241,10 @@ var jQuery,
241
  // set up the quick translate entries
242
  currentLanguage = $( ':input[name="old_lang"]', translateRow ).val();
243
  translations = JSON.parse( $( ':input[name="inline_translations"]', translateRow ).val() );
244
-
245
  $( '.pll-media-action-table tr', translateRow ).each( function ( idx ){
246
  var parts = $( this ).attr( 'class' ).split( '-' ), slug = parts[ parts.length - 1 ];
247
-
248
  if ( slug === currentLanguage ) {
249
  $( '.pll-media-action-column input', this ).val( translations[ slug ] );
250
  $( this ).hide();
@@ -261,20 +261,20 @@ var jQuery,
261
  $( '.pll-media-action-column a', this ).attr( 'pll_quick_language', slug );
262
  $( '.pll-media-action-column a', this ).attr( 'pll_quick_id', 0 );
263
  }
264
-
265
  $( '.pll-media-action-column a', this ).off( 'click' );
266
  $( '.pll-media-action-column a', this ).click( function( e ){
267
  var quickLanguage = $( this ).attr( 'pll_quick_language' ), quickId = $( this ).attr( 'pll_quick_id' );
268
-
269
  $( ':input[name="pll_quick_language"]', translateRow ).val( quickLanguage );
270
  $( ':input[name="pll_quick_id"]', translateRow ).val( quickId );
271
  return mlaPolylang.inlineTranslate.save( translateRow );
272
  });
273
  });
274
-
275
  rowData = $( translateRow ).attr( 'id', 'edit-'+id ).addClass( 'inline-translator' ).show().position().top;
276
  $( 'html, body' ).animate( { scrollTop: rowData }, 'fast' );
277
-
278
  return false;
279
  },
280
 
@@ -306,7 +306,7 @@ var jQuery,
306
  $.post( ajaxurl, params,
307
  function( response ) {
308
  var newId, oldRow, rowId, rows, rIndex;
309
-
310
  if ( mla.settings.useSpinnerClass ) {
311
  $( 'table.widefat .pll-quick-translate-save .spinner' ).removeClass("is-active");
312
  } else {
@@ -317,24 +317,24 @@ var jQuery,
317
  if ( -1 != response.indexOf( '<tr id="attachment' ) ) {
318
  // Find all the rows in the response
319
  rows = $( response ).closest( 'tr' );
320
-
321
  // Remove the selected item
322
  newId = mlaPolylang.utility.getId( rows[ 0 ] );
323
  oldRow = $( mlaPolylang.inlineTranslate.what + newId )
324
  if ( 'undefined' != typeof oldRow ) {
325
  oldRow.remove();
326
  }
327
-
328
  // Replace the Quick Translate area with the selected item
329
  $( '#edit-' + id ).before( rows[ 0 ] ).remove();
330
  $( mlaPolylang.inlineTranslate.what + newId ).hide().fadeIn();
331
-
332
  // Update any other translations in the table
333
  if ( 1 < rows.length ) {
334
  for ( rIndex = 1; rIndex < rows.length; rIndex++ ) {
335
  rowId = mlaPolylang.utility.getId( rows[ rIndex ] );
336
  oldRow = $( mlaPolylang.inlineTranslate.what + rowId )
337
-
338
  if ( 'undefined' != typeof oldRow ) {
339
  oldRow.before( rows[ rIndex ] ).remove();
340
  oldRow = $( mlaPolylang.inlineTranslate.what + rowId )
@@ -342,7 +342,7 @@ var jQuery,
342
  }
343
  }
344
  } // other translations
345
-
346
  // Quick Edit a new selected item
347
  if ( newId != id ) {
348
  $( 'a.editinline', mlaPolylang.inlineTranslate.what + newId ).click();
@@ -355,7 +355,7 @@ var jQuery,
355
  $( '#edit-' + id + ' .pll-quick-translate-save .error' ).html( mlaPolylang.settings.error ).show();
356
  }
357
  }, 'html' );
358
-
359
  return false;
360
  },
361
 
12
  // mlaPolylang.settings.ajax_nonce
13
  // mlaPolylang.settings.error
14
  settings: {},
15
+
16
  // Utility functions
17
  utility: {
18
  getId : function( o ) {
21
  return parts[ parts.length - 1 ];
22
  }
23
  },
24
+
25
  // Components
26
  inlineTranslate: null
27
  };
148
  $( 'table.widefat input[value="' + id + '"]' ).prop( 'checked', false );
149
  $( '#ttle'+id ).remove();
150
  });
151
+
152
  // Capture Language links
153
  $( '#pll-bulk-translate .pll-media-action-table tr' ).each( function ( idx ){
154
  //$( '.pll-media-action-column a', this ).off( 'click' );
155
  $( '.pll-media-action-column a', this ).click( function( e ){
156
  var bulkLanguage = $( this ).attr( 'pll_bulk_language' );
157
+
158
  $( ':input[name="pll_bulk_language"]', '#pll-bulk-translate' ).val( bulkLanguage );
159
  $( '#pll-bulk-translate .pll-media-action-table a' ).prop( 'disabled', true );
160
  $( '#pll-bulk-translate' ).css( 'opacity', '0.5' );
178
  // set up the quick translate entries
179
  currentLanguage = $( ':input[name="old_lang"]', translateRow ).val();
180
  translations = JSON.parse( $( ':input[name="inline_translations"]', translateRow ).val() );
181
+
182
  $( '.pll-media-action-table tr', translateRow ).each( function ( idx ){
183
  var parts = $( this ).attr( 'class' ).split( '-' ), slug = parts[ parts.length - 1 ];
184
+
185
  if ( slug === currentLanguage ) {
186
  $( '.pll-media-action-column input', this ).val( translations[ slug ] );
187
  $( this ).hide();
198
  $( '.pll-media-action-column a', this ).attr( 'pll_quick_language', slug );
199
  $( '.pll-media-action-column a', this ).attr( 'pll_quick_id', 0 );
200
  }
201
+
202
  $( '.pll-media-action-column a', this ).off( 'click' );
203
  $( '.pll-media-action-column a', this ).click( function( e ){
204
  var quickLanguage = $( this ).attr( 'pll_quick_language' ), quickId = $( this ).attr( 'pll_quick_id' );
205
+
206
  $( ':input[name="pll_quick_language"]', translateRow ).val( quickLanguage );
207
  $( ':input[name="pll_quick_id"]', translateRow ).val( quickId );
208
  e.preventDefault();
209
  return mlaPolylang.inlineTranslate.save( translateRow );
210
  });
211
  });
212
+
213
  return false;
214
  },
215
 
241
  // set up the quick translate entries
242
  currentLanguage = $( ':input[name="old_lang"]', translateRow ).val();
243
  translations = JSON.parse( $( ':input[name="inline_translations"]', translateRow ).val() );
244
+
245
  $( '.pll-media-action-table tr', translateRow ).each( function ( idx ){
246
  var parts = $( this ).attr( 'class' ).split( '-' ), slug = parts[ parts.length - 1 ];
247
+
248
  if ( slug === currentLanguage ) {
249
  $( '.pll-media-action-column input', this ).val( translations[ slug ] );
250
  $( this ).hide();
261
  $( '.pll-media-action-column a', this ).attr( 'pll_quick_language', slug );
262
  $( '.pll-media-action-column a', this ).attr( 'pll_quick_id', 0 );
263
  }
264
+
265
  $( '.pll-media-action-column a', this ).off( 'click' );
266
  $( '.pll-media-action-column a', this ).click( function( e ){
267
  var quickLanguage = $( this ).attr( 'pll_quick_language' ), quickId = $( this ).attr( 'pll_quick_id' );
268
+
269
  $( ':input[name="pll_quick_language"]', translateRow ).val( quickLanguage );
270
  $( ':input[name="pll_quick_id"]', translateRow ).val( quickId );
271
  return mlaPolylang.inlineTranslate.save( translateRow );
272
  });
273
  });
274
+
275
  rowData = $( translateRow ).attr( 'id', 'edit-'+id ).addClass( 'inline-translator' ).show().position().top;
276
  $( 'html, body' ).animate( { scrollTop: rowData }, 'fast' );
277
+
278
  return false;
279
  },
280
 
306
  $.post( ajaxurl, params,
307
  function( response ) {
308
  var newId, oldRow, rowId, rows, rIndex;
309
+
310
  if ( mla.settings.useSpinnerClass ) {
311
  $( 'table.widefat .pll-quick-translate-save .spinner' ).removeClass("is-active");
312
  } else {
317
  if ( -1 != response.indexOf( '<tr id="attachment' ) ) {
318
  // Find all the rows in the response
319
  rows = $( response ).closest( 'tr' );
320
+
321
  // Remove the selected item
322
  newId = mlaPolylang.utility.getId( rows[ 0 ] );
323
  oldRow = $( mlaPolylang.inlineTranslate.what + newId )
324
  if ( 'undefined' != typeof oldRow ) {
325
  oldRow.remove();
326
  }
327
+
328
  // Replace the Quick Translate area with the selected item
329
  $( '#edit-' + id ).before( rows[ 0 ] ).remove();
330
  $( mlaPolylang.inlineTranslate.what + newId ).hide().fadeIn();
331
+
332
  // Update any other translations in the table
333
  if ( 1 < rows.length ) {
334
  for ( rIndex = 1; rIndex < rows.length; rIndex++ ) {
335
  rowId = mlaPolylang.utility.getId( rows[ rIndex ] );
336
  oldRow = $( mlaPolylang.inlineTranslate.what + rowId )
337
+
338
  if ( 'undefined' != typeof oldRow ) {
339
  oldRow.before( rows[ rIndex ] ).remove();
340
  oldRow = $( mlaPolylang.inlineTranslate.what + rowId )
342
  }
343
  }
344
  } // other translations
345
+
346
  // Quick Edit a new selected item
347
  if ( newId != id ) {
348
  $( 'a.editinline', mlaPolylang.inlineTranslate.what + newId ).click();
355
  $( '#edit-' + id + ' .pll-quick-translate-save .error' ).html( mlaPolylang.settings.error ).show();
356
  }
357
  }, 'html' );
358
+
359
  return false;
360
  },
361
 
js/mla-terms-search-scripts.js CHANGED
@@ -5,11 +5,11 @@ var jQuery, wpAjax,
5
  mlaTaxonomy = {
6
  // Properties
7
  settings: {},
8
-
9
  // Utility functions
10
  utility: {
11
  },
12
-
13
  // Components
14
  termsSearch: null
15
  };
5
  mlaTaxonomy = {
6
  // Properties
7
  settings: {},
8
+
9
  // Utility functions
10
  utility: {
11
  },
12
+
13
  // Components
14
  termsSearch: null
15
  };
js/mla-thumbnail-generation-scripts.js CHANGED
@@ -12,7 +12,7 @@ var jQuery,
12
  // mlaThumbnail.settings.ajax_nonce
13
  // mlaThumbnail.settings.error
14
  settings: {},
15
-
16
  // Utility functions
17
  utility: {
18
  getId : function( o ) {
@@ -21,7 +21,7 @@ var jQuery,
21
  return parts[ parts.length - 1 ];
22
  }
23
  },
24
-
25
  // Components
26
  inlineThumbnail: null
27
  };
@@ -97,7 +97,7 @@ var jQuery,
97
  $( 'table.widefat input[value="' + id + '"]' ).prop( 'checked', false );
98
  $( '#ttle'+id ).remove();
99
  });
100
-
101
  $( 'html, body' ).animate( { scrollTop: 0 }, 'fast' );
102
  },
103
 
12
  // mlaThumbnail.settings.ajax_nonce
13
  // mlaThumbnail.settings.error
14
  settings: {},
15
+
16
  // Utility functions
17
  utility: {
18
  getId : function( o ) {
21
  return parts[ parts.length - 1 ];
22
  }
23
  },
24
+
25
  // Components
26
  inlineThumbnail: null
27
  };
97
  $( 'table.widefat input[value="' + id + '"]' ).prop( 'checked', false );
98
  $( '#ttle'+id ).remove();
99
  });
100
+
101
  $( 'html, body' ).animate( { scrollTop: 0 }, 'fast' );
102
  },
103
 
languages/media-library-assistant-en_US - References.pot ADDED
@@ -0,0 +1,4768 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #, fuzzy
2
+ msgid ""
3
+ msgstr ""
4
+ "Project-Id-Version: Media Library Assistant\n"
5
+ "POT-Creation-Date: 2015-10-09 19:34-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"
9
+ "Language: en_US\n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Generator: Poedit 1.8.4\n"
14
+ "X-Poedit-Basepath: ..\n"
15
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
17
+ "_n_noop:1,2;_c;_nc:4c,1,2;_x:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_ex:1,2c\n"
18
+ "X-Poedit-SourceCharset: UTF-8\n"
19
+ "X-Poedit-SearchPath-0: includes\n"
20
+ "X-Poedit-SearchPath-1: tests\n"
21
+ "X-Poedit-SearchPath-2: index.php\n"
22
+
23
+ #. translators: 1: ERROR tag 2: index
24
+ #: includes/class-mla-data-pdf.php:216
25
+ #, php-format
26
+ msgctxt "error_log"
27
+ msgid "%1$s: _build_pdf_indirect_objects bad value at $index = \"%2$d\"."
28
+ msgstr ""
29
+
30
+ #: includes/class-mla-data-pdf.php:216 includes/class-mla-data-pdf.php:496
31
+ #: includes/class-mla-data-pdf.php:498 includes/class-mla-data-pdf.php:544
32
+ #: includes/class-mla-data-pdf.php:726 includes/class-mla-data.php:152
33
+ #: includes/class-mla-data.php:170 includes/class-mla-data.php:249
34
+ #: includes/class-mla-data.php:308 includes/class-mla-data.php:396
35
+ #: includes/class-mla-data.php:440 includes/class-mla-data.php:543
36
+ #: includes/class-mla-data.php:699 includes/class-mla-data.php:762
37
+ #: includes/class-mla-data.php:1350 includes/class-mla-data.php:1632
38
+ #: includes/class-mla-data.php:2933 includes/class-mla-data.php:2939
39
+ #: includes/class-mla-data.php:4303 includes/class-mla-data.php:4306
40
+ #: includes/class-mla-data.php:5430 includes/class-mla-data.php:5457
41
+ #: includes/class-mla-data.php:5777 includes/class-mla-data.php:5790
42
+ #: includes/class-mla-data.php:5812 includes/class-mla-data.php:6001
43
+ #: includes/class-mla-data.php:6047 includes/class-mla-data.php:6079
44
+ #: includes/class-mla-data.php:6095 includes/class-mla-data.php:6285
45
+ #: includes/class-mla-edit-media.php:329 includes/class-mla-edit-media.php:707
46
+ #: includes/class-mla-edit-media.php:747 includes/class-mla-main.php:829
47
+ #: includes/class-mla-main.php:958 includes/class-mla-main.php:1299
48
+ #: includes/class-mla-main.php:1355 includes/class-mla-main.php:1380
49
+ #: includes/class-mla-main.php:1506 includes/class-mla-main.php:1558
50
+ #: includes/class-mla-main.php:1649 includes/class-mla-main.php:1680
51
+ #: includes/class-mla-main.php:1859 includes/class-mla-main.php:1866
52
+ #: includes/class-mla-main.php:1870 includes/class-mla-main.php:1946
53
+ #: includes/class-mla-main.php:1953 includes/class-mla-main.php:2103
54
+ #: includes/class-mla-main.php:2178 includes/class-mla-main.php:2426
55
+ #: includes/class-mla-main.php:2434 includes/class-mla-main.php:2458
56
+ #: includes/class-mla-main.php:2466 includes/class-mla-main.php:2498
57
+ #: includes/class-mla-main.php:2506 includes/class-mla-media-modal.php:1251
58
+ #: includes/class-mla-mime-types.php:483 includes/class-mla-mime-types.php:916
59
+ #: includes/class-mla-mime-types.php:922 includes/class-mla-mime-types.php:926
60
+ #: includes/class-mla-mime-types.php:971 includes/class-mla-mime-types.php:1059
61
+ #: includes/class-mla-mime-types.php:1205
62
+ #: includes/class-mla-mime-types.php:1228
63
+ #: includes/class-mla-mime-types.php:2000
64
+ #: includes/class-mla-mime-types.php:2011
65
+ #: includes/class-mla-mime-types.php:2024
66
+ #: includes/class-mla-mime-types.php:2032
67
+ #: includes/class-mla-mime-types.php:2037
68
+ #: includes/class-mla-mime-types.php:2080
69
+ #: includes/class-mla-mime-types.php:2099
70
+ #: includes/class-mla-mime-types.php:2150
71
+ #: includes/class-mla-mime-types.php:2184
72
+ #: includes/class-mla-mime-types.php:2269
73
+ #: includes/class-mla-mime-types.php:2348
74
+ #: includes/class-mla-mime-types.php:2357
75
+ #: includes/class-mla-mime-types.php:2389 includes/class-mla-objects.php:232
76
+ #: includes/class-mla-options.php:1798 includes/class-mla-options.php:1975
77
+ #: includes/class-mla-options.php:2051 includes/class-mla-options.php:3385
78
+ #: includes/class-mla-options.php:3822 includes/class-mla-options.php:3835
79
+ #: includes/class-mla-options.php:3839 includes/class-mla-options.php:4401
80
+ #: includes/class-mla-options.php:4623 includes/class-mla-options.php:5188
81
+ #: includes/class-mla-options.php:5232 includes/class-mla-options.php:5240
82
+ #: includes/class-mla-options.php:5257 includes/class-mla-options.php:5267
83
+ #: includes/class-mla-options.php:5277 includes/class-mla-options.php:5285
84
+ #: includes/class-mla-options.php:5289 includes/class-mla-settings.php:584
85
+ #: includes/class-mla-settings.php:648 includes/class-mla-settings.php:662
86
+ #: includes/class-mla-settings.php:691 includes/class-mla-settings.php:702
87
+ #: includes/class-mla-settings.php:792 includes/class-mla-settings.php:926
88
+ #: includes/class-mla-settings.php:1033 includes/class-mla-settings.php:1066
89
+ #: includes/class-mla-settings.php:1205 includes/class-mla-settings.php:1567
90
+ #: includes/class-mla-settings.php:1599 includes/class-mla-settings.php:1676
91
+ #: includes/class-mla-settings.php:2013 includes/class-mla-settings.php:2064
92
+ #: includes/class-mla-settings.php:2143 includes/class-mla-settings.php:2716
93
+ #: includes/class-mla-settings.php:2858 includes/class-mla-settings.php:3081
94
+ #: includes/class-mla-settings.php:3132 includes/class-mla-settings.php:3218
95
+ #: includes/class-mla-settings.php:3250 includes/class-mla-settings.php:3253
96
+ #: includes/class-mla-settings.php:3257 includes/class-mla-settings.php:3356
97
+ #: includes/class-mla-settings.php:3362 includes/class-mla-settings.php:3376
98
+ #: includes/class-mla-settings.php:3383 includes/class-mla-settings.php:3405
99
+ #: includes/class-mla-settings.php:3447 includes/class-mla-settings.php:3453
100
+ #: includes/class-mla-settings.php:3467 includes/class-mla-settings.php:3474
101
+ #: includes/class-mla-settings.php:3526 includes/class-mla-settings.php:3647
102
+ #: includes/class-mla-settings.php:3777 includes/class-mla-settings.php:3848
103
+ #: includes/class-mla-settings.php:3934 includes/class-mla-settings.php:4268
104
+ #: includes/class-mla-settings.php:4272 includes/class-mla-settings.php:4283
105
+ #: includes/class-mla-settings.php:4290 includes/class-mla-settings.php:4299
106
+ #: includes/class-mla-settings.php:4336 includes/class-mla-settings.php:4344
107
+ #: includes/class-mla-settings.php:4353 includes/class-mla-shortcodes.php:1709
108
+ #: includes/class-mla-shortcodes.php:1784
109
+ #: includes/class-mla-shortcodes.php:3075
110
+ #: includes/class-mla-shortcodes.php:3403
111
+ #: includes/class-mla-shortcodes.php:3434
112
+ #: includes/class-mla-thumbnail-generation.php:256
113
+ #: includes/class-mla-thumbnail-generation.php:270
114
+ #: includes/class-mla-thumbnail-generation.php:316
115
+ msgid "ERROR"
116
+ msgstr ""
117
+
118
+ #. translators: 1: ERROR tag 2: source offset 3: nest level
119
+ #: includes/class-mla-data-pdf.php:496
120
+ #, php-format
121
+ msgctxt "error_log"
122
+ msgid "%1$s: _parse_pdf_dictionary offset = %2$d, nest = %3$d."
123
+ msgstr ""
124
+
125
+ #. translators: 1: ERROR tag 2: dictionary excerpt
126
+ #: includes/class-mla-data-pdf.php:498
127
+ #, php-format
128
+ msgctxt "error_log"
129
+ msgid "%1$s: _parse_pdf_dictionary no end delimiter dump = %2$s."
130
+ msgstr ""
131
+
132
+ #. translators: 1: ERROR tag 2: entry name 3: value excerpt
133
+ #: includes/class-mla-data-pdf.php:544
134
+ #, php-format
135
+ msgctxt "error_log"
136
+ msgid "%1$s: _parse_pdf_dictionary bad value [ %2$s ] dump = %3$s"
137
+ msgstr ""
138
+
139
+ #. translators: 1: ERROR tag 2: path and file
140
+ #: includes/class-mla-data-pdf.php:726
141
+ #, php-format
142
+ msgctxt "error_log"
143
+ msgid "%1$s: File \"%2$s\", startxref not found."
144
+ msgstr ""
145
+
146
+ #. translators: 1: ERROR tag 2: path and file name
147
+ #: includes/class-mla-data.php:152
148
+ #, php-format
149
+ msgctxt "error_log"
150
+ msgid "%1$s: mla_load_template file \"%2$s\" not found."
151
+ msgstr ""
152
+
153
+ #. translators: 1: ERROR tag 2: path and file name 3: source type, e.g., file, option, string
154
+ #: includes/class-mla-data.php:170
155
+ #, php-format
156
+ msgctxt "error_log"
157
+ msgid "%1$s: mla_load_template file \"%2$s\" bad source type \"%3$s\"."
158
+ msgstr ""
159
+
160
+ #. translators: 1: ERROR tag 2: template excerpt
161
+ #: includes/class-mla-data.php:249
162
+ #, php-format
163
+ msgctxt "error_log"
164
+ msgid ""
165
+ "%1$s: _find_template_substring no template end delimiter, tail = \"%2$s\"."
166
+ msgstr ""
167
+
168
+ #. translators: 1: ERROR tag 2: template excerpt
169
+ #: includes/class-mla-data.php:308
170
+ #, php-format
171
+ msgctxt "error_log"
172
+ msgid ""
173
+ "%1$s: mla_parse_array_template no template end delimiter, tail = \"%2$s\"."
174
+ msgstr ""
175
+
176
+ #. translators: 1: ERROR tag 2: template excerpt
177
+ #: includes/class-mla-data.php:396
178
+ #, php-format
179
+ msgctxt "error_log"
180
+ msgid "%1$s: mla_parse_template no end delimiter, tail = \"%2$s\"."
181
+ msgstr ""
182
+
183
+ #. translators: 1: ERROR tag 2: template string
184
+ #: includes/class-mla-data.php:440
185
+ #, php-format
186
+ msgctxt "error_log"
187
+ msgid "%1$s: _find_test_substring no end delimiter, tail = \"%2$s\"."
188
+ msgstr ""
189
+
190
+ #: includes/class-mla-data.php:543
191
+ msgid "Test; no closing parenthesis "
192
+ msgstr ""
193
+
194
+ #. translators: 1: ERROR tag 2: node type, e.g., template
195
+ #: includes/class-mla-data.php:699
196
+ #, php-format
197
+ msgctxt "error_log"
198
+ msgid "%1$s: _evaluate_template_array_node unknown type \"%2$s\"."
199
+ msgstr ""
200
+
201
+ #. translators: 1: ERROR tag 2: node type, e.g., template
202
+ #: includes/class-mla-data.php:762
203
+ #, php-format
204
+ msgctxt "error_log"
205
+ msgid "%1$s: _evaluate_template_node unknown type \"%2$s\"."
206
+ msgstr ""
207
+
208
+ #. translators: 1: ERROR tag 2: template excerpt
209
+ #: includes/class-mla-data.php:1350
210
+ #, php-format
211
+ msgctxt "error_log"
212
+ msgid ""
213
+ "%1$s: mla_get_template_placeholders no template-end delimiter dump = \"%2$s"
214
+ "\"."
215
+ msgstr ""
216
+
217
+ #. translators: 1: ERROR tag 2: function name 3: non-array value
218
+ #: includes/class-mla-data.php:1632 includes/class-mla-edit-media.php:329
219
+ #: includes/class-mla-main.php:2103 includes/class-mla-main.php:2178
220
+ #: includes/class-mla-media-modal.php:1251
221
+ #: includes/class-mla-mime-types.php:483 includes/class-mla-mime-types.php:1228
222
+ #: includes/class-mla-mime-types.php:2389 includes/class-mla-settings.php:1567
223
+ #: includes/class-mla-settings.php:2013
224
+ #, php-format
225
+ msgctxt "error_log"
226
+ msgid "%1$s: %2$s non-array \"%3$s\""
227
+ msgstr ""
228
+
229
+ #. translators: 1: DEBUG tag 2: query filter details
230
+ #: includes/class-mla-data.php:2111
231
+ #, php-format
232
+ msgctxt "error_log"
233
+ msgid "%1$s: _execute_list_table_query $wp_filter = \"%2$s\"."
234
+ msgstr ""
235
+
236
+ #: includes/class-mla-data.php:2111 includes/class-mla-data.php:2126
237
+ #: includes/class-mla-data.php:2128 includes/class-mla-data.php:2565
238
+ #: includes/class-mla-data.php:2637 includes/class-mla-data.php:2705
239
+ #: includes/class-mla-data.php:2803 includes/class-mla-data.php:2881
240
+ #: includes/class-mla-data.php:2900
241
+ msgid "DEBUG"
242
+ msgstr ""
243
+
244
+ #. translators: 1: DEBUG tag 2: query details
245
+ #: includes/class-mla-data.php:2126
246
+ #, php-format
247
+ msgctxt "error_log"
248
+ msgid "%1$s: _execute_list_table_query WP_Query = \"%2$s\"."
249
+ msgstr ""
250
+
251
+ #. translators: 1: DEBUG tag 2: SQL statement
252
+ #: includes/class-mla-data.php:2128
253
+ #, php-format
254
+ msgctxt "error_log"
255
+ msgid "%1$s: _execute_list_table_query SQL_request = \"%2$s\"."
256
+ msgstr ""
257
+
258
+ #. translators: 1: DEBUG tag 2: search filter details
259
+ #: includes/class-mla-data.php:2565
260
+ #, php-format
261
+ msgctxt "error_log"
262
+ msgid "%1$s: mla_query_posts_search_filter = \"%2$s\"."
263
+ msgstr ""
264
+
265
+ #. translators: 1: DEBUG tag 2: where filter details
266
+ #: includes/class-mla-data.php:2637
267
+ #, php-format
268
+ msgctxt "error_log"
269
+ msgid "%1$s: mla_query_posts_where_filter = \"%2$s\"."
270
+ msgstr ""
271
+
272
+ #. translators: 1: DEBUG tag 2: join filter details
273
+ #: includes/class-mla-data.php:2705
274
+ #, php-format
275
+ msgctxt "error_log"
276
+ msgid "%1$s: mla_query_posts_join_filter = \"%2$s\"."
277
+ msgstr ""
278
+
279
+ #. translators: 1: DEBUG tag 2: orderby details details
280
+ #: includes/class-mla-data.php:2803
281
+ #, php-format
282
+ msgctxt "error_log"
283
+ msgid "%1$s: mla_query_posts_orderby_filter = \"%2$s\"."
284
+ msgstr ""
285
+
286
+ #. translators: 1: DEBUG tag 2: SQL clauses
287
+ #: includes/class-mla-data.php:2881
288
+ #, php-format
289
+ msgctxt "error_log"
290
+ msgid "%1$s: mla_query_posts_clauses_filter = \"%2$s\"."
291
+ msgstr ""
292
+
293
+ #. translators: 1: DEBUG tag 2: SQL clauses
294
+ #: includes/class-mla-data.php:2900
295
+ #, php-format
296
+ msgctxt "error_log"
297
+ msgid "%1$s: mla_query_posts_clauses_request_filter = \"%2$s\"."
298
+ msgstr ""
299
+
300
+ #. translators: 1: ERROR tag 2: post ID
301
+ #: includes/class-mla-data.php:2933
302
+ #, php-format
303
+ msgctxt "error_log"
304
+ msgid "%1$s: mla_get_attachment_by_id(%2$d) not found."
305
+ msgstr ""
306
+
307
+ #. translators: 1: ERROR tag 2: post ID 3: post_type
308
+ #: includes/class-mla-data.php:2939
309
+ #, php-format
310
+ msgctxt "error_log"
311
+ msgid "%1$s: mla_get_attachment_by_id(%2$d) wrong post_type \"%3$s\"."
312
+ msgstr ""
313
+
314
+ #: includes/class-mla-data.php:3572 includes/class-mla-data.php:3915
315
+ #: includes/class-mla-list-table.php:1055
316
+ msgid "NO REFERENCE TESTS"
317
+ msgstr ""
318
+
319
+ #: includes/class-mla-data.php:3578 includes/class-mla-data.php:3921
320
+ #: includes/class-mla-options.php:2926 includes/class-mla-options.php:2927
321
+ msgid "ORPHAN"
322
+ msgstr ""
323
+
324
+ #: includes/class-mla-data.php:3582 includes/class-mla-data.php:3925
325
+ msgid "UNUSED"
326
+ msgstr ""
327
+
328
+ #: includes/class-mla-data.php:3587 includes/class-mla-data.php:3930
329
+ msgid "UNATTACHED"
330
+ msgstr ""
331
+
332
+ #: includes/class-mla-data.php:3589 includes/class-mla-data.php:3932
333
+ msgid "INVALID PARENT"
334
+ msgstr ""
335
+
336
+ #. translators: 1: post_type, 2: post_title, 3: post ID, 4: query string, 5: error message
337
+ #: includes/class-mla-data.php:4112
338
+ #, php-format
339
+ msgid "(%1$s) %2$s (ID %3$d) query \"%4$s\" failed, returning \"%5$s\""
340
+ msgstr ""
341
+
342
+ #: includes/class-mla-data.php:4303
343
+ msgctxt "error_log"
344
+ msgid "mla_parse_xmp_metadata xml_parse_into_struct failed."
345
+ msgstr ""
346
+
347
+ #: includes/class-mla-data.php:4306
348
+ msgctxt "error_log"
349
+ msgid "mla_parse_xmp_metadata set option failed."
350
+ msgstr ""
351
+
352
+ #: includes/class-mla-data.php:5514 includes/class-mla-settings.php:1800
353
+ #: includes/class-mla-view-list-table.php:430
354
+ #: includes/class-mla-view-list-table.php:446
355
+ msgid "Yes"
356
+ msgstr ""
357
+
358
+ #: includes/class-mla-data.php:5516 includes/class-mla-list-table.php:280
359
+ #: includes/class-mla-settings.php:1799
360
+ #: includes/class-mla-view-list-table.php:432
361
+ #: includes/class-mla-view-list-table.php:448
362
+ msgid "No"
363
+ msgstr ""
364
+
365
+ #. translators: 1: meta_key
366
+ #: includes/class-mla-data.php:5774 includes/class-mla-data.php:5872
367
+ #, php-format
368
+ msgid "Deleting %1$s"
369
+ msgstr ""
370
+
371
+ #. translators: 1: ERROR tag 2: meta_key
372
+ #: includes/class-mla-data.php:5777
373
+ #, php-format
374
+ msgid "%1$s: meta:%2$s not found"
375
+ msgstr ""
376
+
377
+ #. translators: 1: meta_key 2: meta_value
378
+ #. translators: 1: meta_key 2: new_value
379
+ #. translators: 1: meta_key 2: meta_value
380
+ #: includes/class-mla-data.php:5786 includes/class-mla-data.php:5883
381
+ #: includes/class-mla-data.php:5889
382
+ #, php-format
383
+ msgid "Adding %1$s = %2$s"
384
+ msgstr ""
385
+
386
+ #. translators: 1: ERROR tag 2: meta_key
387
+ #: includes/class-mla-data.php:5790
388
+ #, php-format
389
+ msgid "%1$s: Adding meta:%2$s; not found"
390
+ msgstr ""
391
+
392
+ #. translators: 1: meta_key
393
+ #: includes/class-mla-data.php:5797
394
+ #, php-format
395
+ msgid "Deleting Null meta:%1$s"
396
+ msgstr ""
397
+
398
+ #. translators: 1: element name 2: old_value 3: new_value
399
+ #: includes/class-mla-data.php:5807 includes/class-mla-data.php:5958
400
+ #: includes/class-mla-data.php:6024 includes/class-mla-data.php:6050
401
+ #: includes/class-mla-data.php:6092 includes/class-mla-data.php:6105
402
+ #: includes/class-mla-data.php:6114 includes/class-mla-data.php:6125
403
+ #: includes/class-mla-data.php:6136 includes/class-mla-data.php:6149
404
+ #: includes/class-mla-data.php:6158 includes/class-mla-data.php:6167
405
+ #: includes/class-mla-mime-types.php:1062
406
+ #: includes/class-mla-mime-types.php:2153
407
+ #, php-format
408
+ msgid "Changing %1$s from \"%2$s\" to \"%3$s\""
409
+ msgstr ""
410
+
411
+ #. translators: 1: ERROR tag 2: meta_key
412
+ #: includes/class-mla-data.php:5812
413
+ #, php-format
414
+ msgid "%1$s: Changing meta:%2$s; not found"
415
+ msgstr ""
416
+
417
+ #. translators: 1: meta_key
418
+ #: includes/class-mla-data.php:5913
419
+ #, php-format
420
+ msgid "Deleting old %1$s values"
421
+ msgstr ""
422
+
423
+ #. translators: 1: meta_key 2: old_value 3: new_value 4: update count
424
+ #: includes/class-mla-data.php:5943
425
+ #, php-format
426
+ msgid "Changing %1$s from \"%2$s\" to \"%3$s\"; %4$d updates"
427
+ msgstr ""
428
+
429
+ #: includes/class-mla-data.php:6001
430
+ msgid "Could not retrieve Attachment."
431
+ msgstr ""
432
+
433
+ #: includes/class-mla-data.php:6024 includes/class-mla-edit-media.php:439
434
+ #: includes/class-mla-main.php:1801 includes/class-mla-main.php:2117
435
+ #: includes/class-mla-main.php:2307 includes/class-mla-objects.php:309
436
+ #: includes/class-mla-options.php:1126 includes/class-mla-options.php:2005
437
+ #: includes/mla-main-search-box-template.php:50
438
+ #: includes/mla-media-modal-js-template.php:39
439
+ msgid "Title"
440
+ msgstr ""
441
+
442
+ #. translators: 1: ERROR tag 2: old_value
443
+ #: includes/class-mla-data.php:6047
444
+ #, php-format
445
+ msgid "%1$s: Could not change Name/Slug \"%2$s\"; name already exists"
446
+ msgstr ""
447
+
448
+ #: includes/class-mla-data.php:6050 includes/class-mla-edit-media.php:440
449
+ #: includes/class-mla-main.php:2308 includes/class-mla-options.php:1133
450
+ msgid "Name/Slug"
451
+ msgstr ""
452
+
453
+ #. translators: 1: old_value
454
+ #: includes/class-mla-data.php:6076
455
+ #, php-format
456
+ msgid "Deleting ALT Text, was \"%1$s\""
457
+ msgstr ""
458
+
459
+ #. translators: 1: ERROR tag 2: old_value
460
+ #: includes/class-mla-data.php:6079
461
+ #, php-format
462
+ msgid "%1$s: Could not delete ALT Text, remains \"%2$s\""
463
+ msgstr ""
464
+
465
+ #: includes/class-mla-data.php:6092 includes/class-mla-edit-media.php:443
466
+ #: includes/class-mla-list-table.php:1330 includes/class-mla-main.php:2311
467
+ #: includes/class-mla-options.php:1140 includes/class-mla-options.php:2011
468
+ #: includes/mla-main-search-box-template.php:52
469
+ #: includes/mla-media-modal-js-template.php:47
470
+ msgid "ALT Text"
471
+ msgstr ""
472
+
473
+ #. translators: 1: ERROR tag 2: old_value 3: new_value
474
+ #: includes/class-mla-data.php:6095
475
+ #, php-format
476
+ msgid "%1$s: Could not change ALT Text from \"%2$s\" to \"%3$s\""
477
+ msgstr ""
478
+
479
+ #: includes/class-mla-data.php:6105 includes/class-mla-edit-media.php:441
480
+ #: includes/class-mla-main.php:2309 includes/class-mla-options.php:1147
481
+ #: includes/class-mla-options.php:2014
482
+ #: includes/mla-main-search-box-template.php:53
483
+ #: includes/mla-media-modal-js-template.php:52
484
+ msgid "Caption"
485
+ msgstr ""
486
+
487
+ #: includes/class-mla-data.php:6114 includes/class-mla-edit-media.php:442
488
+ #: includes/class-mla-main.php:2310 includes/class-mla-options.php:1154
489
+ #: includes/class-mla-options.php:2017 includes/class-mla-settings.php:1533
490
+ #: includes/class-mla-settings.php:1790 includes/class-mla-settings.php:1888
491
+ #: includes/class-mla-settings.php:2252
492
+ #: includes/mla-main-search-box-template.php:54
493
+ #: includes/mla-media-modal-js-template.php:56
494
+ msgid "Description"
495
+ msgstr ""
496
+
497
+ #: includes/class-mla-data.php:6125 includes/class-mla-list-table.php:1035
498
+ #: includes/class-mla-list-table.php:1106 includes/class-mla-options.php:4571
499
+ #: includes/class-mla-options.php:4949
500
+ msgid "Parent"
501
+ msgstr ""
502
+
503
+ #: includes/class-mla-data.php:6136 includes/class-mla-edit-media.php:631
504
+ #: includes/class-mla-edit-media.php:834 includes/class-mla-main.php:2314
505
+ #: includes/class-mla-settings.php:1531 includes/class-mla-settings.php:1788
506
+ msgid "Menu Order"
507
+ msgstr ""
508
+
509
+ #: includes/class-mla-data.php:6149 includes/class-mla-edit-media.php:408
510
+ #: includes/class-mla-list-table.php:1486
511
+ #: includes/class-mla-list-table.php:1489 includes/class-mla-main.php:2184
512
+ #: includes/class-mla-main.php:2286
513
+ msgid "Author"
514
+ msgstr ""
515
+
516
+ #: includes/class-mla-data.php:6158 includes/class-mla-edit-media.php:433
517
+ #: includes/class-mla-main.php:2326
518
+ msgid "Comments"
519
+ msgstr ""
520
+
521
+ #: includes/class-mla-data.php:6167 includes/class-mla-edit-media.php:434
522
+ #: includes/class-mla-main.php:2327
523
+ msgid "Pings"
524
+ msgstr ""
525
+
526
+ #: includes/class-mla-data.php:6199
527
+ msgid "Adding"
528
+ msgstr ""
529
+
530
+ #: includes/class-mla-data.php:6204
531
+ msgid "Removing"
532
+ msgstr ""
533
+
534
+ #: includes/class-mla-data.php:6213
535
+ msgid "Replacing"
536
+ msgstr ""
537
+
538
+ #: includes/class-mla-data.php:6221
539
+ msgid "Ignoring"
540
+ msgstr ""
541
+
542
+ #. translators: 1: action_name, 2: taxonomy
543
+ #: includes/class-mla-data.php:6234
544
+ #, php-format
545
+ msgid "%1$s \"%2$s\" terms"
546
+ msgstr ""
547
+
548
+ #. translators: 1: taxonomy
549
+ #: includes/class-mla-data.php:6238
550
+ #, php-format
551
+ msgid "You cannot assign \"%1$s\" terms"
552
+ msgstr ""
553
+
554
+ #. translators: 1: post ID
555
+ #: includes/class-mla-data.php:6250 includes/class-mla-main.php:1365
556
+ #, php-format
557
+ msgid "Item %1$d, no changes detected."
558
+ msgstr ""
559
+
560
+ #. translators: 1: post ID
561
+ #: includes/class-mla-data.php:6271
562
+ #, php-format
563
+ msgid "Item %1$d updated."
564
+ msgstr ""
565
+
566
+ #. translators: 1: ERROR tag 2: post ID
567
+ #: includes/class-mla-data.php:6285
568
+ #, php-format
569
+ msgid "%1$s: Item %2$d update failed."
570
+ msgstr ""
571
+
572
+ #: includes/class-mla-edit-media.php:147 includes/class-mla-edit-media.php:197
573
+ #: includes/class-mla-edit-media.php:250 includes/class-mla-main.php:617
574
+ #: includes/class-mla-main.php:1145 includes/class-mla-main.php:1996
575
+ #: includes/class-mla-media-modal.php:416 includes/class-mla-options.php:4088
576
+ #: includes/class-mla-polylang-support.php:386
577
+ #: includes/class-mla-settings.php:364
578
+ #: includes/class-mla-thumbnail-generation.php:99
579
+ msgctxt "tag_delimiter"
580
+ msgid ","
581
+ msgstr ""
582
+
583
+ #: includes/class-mla-edit-media.php:193
584
+ msgid "Upload New Media items"
585
+ msgstr ""
586
+
587
+ #: includes/class-mla-edit-media.php:194 includes/class-mla-edit-media.php:428
588
+ msgid "Open Bulk Edit area"
589
+ msgstr ""
590
+
591
+ #: includes/class-mla-edit-media.php:195
592
+ msgid "Close Bulk Edit area"
593
+ msgstr ""
594
+
595
+ #: includes/class-mla-edit-media.php:198 includes/class-mla-edit-media.php:252
596
+ #: includes/class-mla-main.php:604
597
+ msgid "An ajax.fail error has occurred. Please reload the page and try again."
598
+ msgstr ""
599
+
600
+ #: includes/class-mla-edit-media.php:199 includes/class-mla-edit-media.php:253
601
+ #: includes/class-mla-main.php:605
602
+ msgid "An ajax.done error has occurred. Please reload the page and try again."
603
+ msgstr ""
604
+
605
+ #: includes/class-mla-edit-media.php:351 includes/class-mla-main.php:2219
606
+ msgid "more"
607
+ msgstr ""
608
+
609
+ #: includes/class-mla-edit-media.php:352 includes/class-mla-main.php:2220
610
+ msgid "less"
611
+ msgstr ""
612
+
613
+ #: includes/class-mla-edit-media.php:355 includes/class-mla-edit-media.php:386
614
+ #: includes/class-mla-main.php:2223 includes/class-mla-main.php:2261
615
+ msgid "Add"
616
+ msgstr ""
617
+
618
+ #: includes/class-mla-edit-media.php:356 includes/class-mla-edit-media.php:387
619
+ #: includes/class-mla-main.php:2224 includes/class-mla-main.php:2262
620
+ msgid "Remove"
621
+ msgstr ""
622
+
623
+ #: includes/class-mla-edit-media.php:357 includes/class-mla-edit-media.php:388
624
+ #: includes/class-mla-main.php:2225 includes/class-mla-main.php:2263
625
+ #: includes/class-mla-options.php:3621 includes/class-mla-options.php:3720
626
+ #: includes/class-mla-options.php:3764 includes/class-mla-options.php:4838
627
+ #: includes/class-mla-options.php:4888 includes/class-mla-options.php:5008
628
+ #: includes/class-mla-options.php:5103 includes/class-mla-options.php:5149
629
+ msgid "Replace"
630
+ msgstr ""
631
+
632
+ #: includes/class-mla-edit-media.php:427
633
+ msgid ""
634
+ "IMPORTANT: Make your entries BEFORE uploading new items. Pull down the Help "
635
+ "menu for more information."
636
+ msgstr ""
637
+
638
+ #: includes/class-mla-edit-media.php:429 includes/class-mla-main.php:2320
639
+ #: includes/class-mla-settings.php:3166
640
+ msgid "Reset"
641
+ msgstr ""
642
+
643
+ #: includes/class-mla-edit-media.php:435 includes/class-mla-main.php:2328
644
+ #: includes/class-mla-main.php:2374 includes/class-mla-settings.php:1798
645
+ #: includes/class-mla-settings.php:1836 includes/class-mla-settings.php:2263
646
+ msgid "No Change"
647
+ msgstr ""
648
+
649
+ #: includes/class-mla-edit-media.php:436 includes/class-mla-main.php:2329
650
+ msgid "Allow"
651
+ msgstr ""
652
+
653
+ #: includes/class-mla-edit-media.php:437 includes/class-mla-main.php:2330
654
+ msgid "Do not allow"
655
+ msgstr ""
656
+
657
+ #: includes/class-mla-edit-media.php:444 includes/class-mla-list-table.php:1032
658
+ #: includes/class-mla-list-table.php:1103 includes/class-mla-main.php:2312
659
+ msgid "Parent ID"
660
+ msgstr ""
661
+
662
+ #: includes/class-mla-edit-media.php:445 includes/class-mla-edit-media.php:814
663
+ #: includes/class-mla-main.php:2313
664
+ #: includes/class-mla-upload-optional-list-table.php:281
665
+ msgid "Select"
666
+ msgstr ""
667
+
668
+ #: includes/class-mla-edit-media.php:521
669
+ msgid "Custom field mapping updated."
670
+ msgstr ""
671
+
672
+ #: includes/class-mla-edit-media.php:522
673
+ msgid "IPTC/EXIF mapping updated."
674
+ msgstr ""
675
+
676
+ #. translators: date_i18n format for last modified date and time
677
+ #: includes/class-mla-edit-media.php:540
678
+ msgid "M j, Y @ G:i"
679
+ msgstr ""
680
+
681
+ #: includes/class-mla-edit-media.php:542
682
+ msgid "Last modified"
683
+ msgstr ""
684
+
685
+ #: includes/class-mla-edit-media.php:553
686
+ msgid "Map Custom Field metadata for this item"
687
+ msgstr ""
688
+
689
+ #: includes/class-mla-edit-media.php:553 includes/class-mla-main.php:1914
690
+ #: includes/class-mla-main.php:2333
691
+ msgid "Map Custom Field metadata"
692
+ msgstr ""
693
+
694
+ #: includes/class-mla-edit-media.php:555
695
+ msgid "Map IPTC/EXIF metadata for this item"
696
+ msgstr ""
697
+
698
+ #: includes/class-mla-edit-media.php:555 includes/class-mla-main.php:1917
699
+ #: includes/class-mla-main.php:2332
700
+ msgid "Map IPTC/EXIF metadata"
701
+ msgstr ""
702
+
703
+ #: includes/class-mla-edit-media.php:627 includes/class-mla-edit-media.php:815
704
+ msgid "Parent Info"
705
+ msgstr ""
706
+
707
+ #: includes/class-mla-edit-media.php:637 includes/class-mla-edit-media.php:858
708
+ msgid "Attachment Metadata"
709
+ msgstr ""
710
+
711
+ #: includes/class-mla-edit-media.php:642 includes/class-mla-edit-media.php:892
712
+ #: includes/class-mla-options.php:502
713
+ msgid "Featured in"
714
+ msgstr ""
715
+
716
+ #: includes/class-mla-edit-media.php:646 includes/class-mla-edit-media.php:931
717
+ #: includes/class-mla-options.php:511
718
+ msgid "Inserted in"
719
+ msgstr ""
720
+
721
+ #: includes/class-mla-edit-media.php:650 includes/class-mla-edit-media.php:966
722
+ #: includes/class-mla-options.php:520 includes/class-mla-settings.php:4069
723
+ msgid "Gallery in"
724
+ msgstr ""
725
+
726
+ #: includes/class-mla-edit-media.php:654 includes/class-mla-edit-media.php:1001
727
+ #: includes/class-mla-options.php:529 includes/class-mla-settings.php:4079
728
+ msgid "MLA Gallery in"
729
+ msgstr ""
730
+
731
+ #. translators: 1: ERROR tag 2: function name 3: template key
732
+ #: includes/class-mla-edit-media.php:707 includes/class-mla-edit-media.php:747
733
+ #: includes/class-mla-main.php:829 includes/class-mla-settings.php:584
734
+ #, php-format
735
+ msgctxt "error_log"
736
+ msgid "%1$s: %2$s discarding \"%3$s\"; no title/order"
737
+ msgstr ""
738
+
739
+ #: includes/class-mla-edit-media.php:793 includes/class-mla-list-table.php:740
740
+ #: includes/class-mla-main.php:1814
741
+ msgid "Scheduled"
742
+ msgstr ""
743
+
744
+ #: includes/class-mla-edit-media.php:796 includes/class-mla-list-table.php:743
745
+ msgctxt "post state"
746
+ msgid "Pending"
747
+ msgstr ""
748
+
749
+ #: includes/class-mla-edit-media.php:799 includes/class-mla-list-table.php:737
750
+ #: includes/class-mla-main.php:1820
751
+ msgid "Draft"
752
+ msgstr ""
753
+
754
+ #: includes/class-mla-edit-media.php:813
755
+ msgid "Post Parent"
756
+ msgstr ""
757
+
758
+ #: includes/class-mla-edit-media.php:814 includes/class-mla-main.php:2108
759
+ msgid "Select Parent"
760
+ msgstr ""
761
+
762
+ #: includes/class-mla-edit-media.php:881 includes/class-mla-edit-media.php:919
763
+ #: includes/class-mla-edit-media.php:955 includes/class-mla-edit-media.php:990
764
+ #: includes/class-mla-list-table.php:1153
765
+ #: includes/class-mla-list-table.php:1202
766
+ #: includes/class-mla-list-table.php:1248
767
+ #: includes/class-mla-list-table.php:1293
768
+ msgid "PARENT"
769
+ msgstr ""
770
+
771
+ #: includes/class-mla-edit-media.php:1184
772
+ msgid "Most Used"
773
+ msgstr ""
774
+
775
+ #. translators: %s: add new taxonomy label
776
+ #: includes/class-mla-edit-media.php:1213
777
+ #, php-format
778
+ msgid "+ %s"
779
+ msgstr ""
780
+
781
+ #: includes/class-mla-edit-media.php:1219 includes/class-mla-main.php:2109
782
+ #: includes/class-mla-media-modal.php:1281
783
+ #: includes/mla-media-modal-js-template.php:27
784
+ #: includes/mla-media-modal-js-template.php:70
785
+ msgid "Search"
786
+ msgstr ""
787
+
788
+ #: includes/class-mla-list-table.php:239
789
+ msgctxt "list_table_column"
790
+ msgid "ID/Parent"
791
+ msgstr ""
792
+
793
+ #: includes/class-mla-list-table.php:240
794
+ msgctxt "list_table_column"
795
+ msgid "Title/Name"
796
+ msgstr ""
797
+
798
+ #: includes/class-mla-list-table.php:241
799
+ msgctxt "list_table_column"
800
+ msgid "Title"
801
+ msgstr ""
802
+
803
+ #: includes/class-mla-list-table.php:242
804
+ msgctxt "list_table_column"
805
+ msgid "Name"
806
+ msgstr ""
807
+
808
+ #: includes/class-mla-list-table.php:243
809
+ msgctxt "list_table_column"
810
+ msgid "Parent ID"
811
+ msgstr ""
812
+
813
+ #: includes/class-mla-list-table.php:244
814
+ msgctxt "list_table_column"
815
+ msgid "Menu Order"
816
+ msgstr ""
817
+
818
+ #: includes/class-mla-list-table.php:245
819
+ msgctxt "list_table_column"
820
+ msgid "Featured in"
821
+ msgstr ""
822
+
823
+ #: includes/class-mla-list-table.php:246
824
+ msgctxt "list_table_column"
825
+ msgid "Inserted in"
826
+ msgstr ""
827
+
828
+ #: includes/class-mla-list-table.php:247
829
+ msgctxt "list_table_column"
830
+ msgid "Gallery in"
831
+ msgstr ""
832
+
833
+ #: includes/class-mla-list-table.php:248
834
+ msgctxt "list_table_column"
835
+ msgid "MLA Gallery in"
836
+ msgstr ""
837
+
838
+ #: includes/class-mla-list-table.php:249
839
+ msgctxt "list_table_column"
840
+ msgid "ALT Text"
841
+ msgstr ""
842
+
843
+ #: includes/class-mla-list-table.php:250
844
+ msgctxt "list_table_column"
845
+ msgid "Caption"
846
+ msgstr ""
847
+
848
+ #: includes/class-mla-list-table.php:251
849
+ #: includes/class-mla-upload-list-table.php:193
850
+ #: includes/class-mla-upload-optional-list-table.php:171
851
+ #: includes/class-mla-view-list-table.php:179
852
+ msgctxt "list_table_column"
853
+ msgid "Description"
854
+ msgstr ""
855
+
856
+ #: includes/class-mla-list-table.php:252
857
+ #: includes/class-mla-upload-list-table.php:185
858
+ #: includes/class-mla-upload-optional-list-table.php:168
859
+ msgctxt "list_table_column"
860
+ msgid "MIME Type"
861
+ msgstr ""
862
+
863
+ #: includes/class-mla-list-table.php:253
864
+ msgctxt "list_table_column"
865
+ msgid "File URL"
866
+ msgstr ""
867
+
868
+ #: includes/class-mla-list-table.php:254
869
+ msgctxt "list_table_column"
870
+ msgid "Base File"
871
+ msgstr ""
872
+
873
+ #: includes/class-mla-list-table.php:255
874
+ msgctxt "list_table_column"
875
+ msgid "Date"
876
+ msgstr ""
877
+
878
+ #: includes/class-mla-list-table.php:256
879
+ msgctxt "list_table_column"
880
+ msgid "Last Modified"
881
+ msgstr ""
882
+
883
+ #: includes/class-mla-list-table.php:257
884
+ msgctxt "list_table_column"
885
+ msgid "Author"
886
+ msgstr ""
887
+
888
+ #: includes/class-mla-list-table.php:258
889
+ msgctxt "list_table_column"
890
+ msgid "Attached to"
891
+ msgstr ""
892
+
893
+ #: includes/class-mla-list-table.php:279
894
+ msgid "All"
895
+ msgstr ""
896
+
897
+ #: includes/class-mla-list-table.php:522
898
+ #: includes/class-mla-upload-list-table.php:263
899
+ #: includes/class-mla-view-list-table.php:209
900
+ msgid "List View"
901
+ msgstr ""
902
+
903
+ #: includes/class-mla-list-table.php:583 includes/class-mla-list-table.php:1388
904
+ #: includes/class-mla-options.php:634 includes/class-mla-options.php:843
905
+ #: includes/class-mla-options.php:867 includes/class-mla-options.php:881
906
+ #: includes/class-mla-settings.php:2337
907
+ msgid "None"
908
+ msgstr ""
909
+
910
+ #: includes/class-mla-list-table.php:589 includes/class-mla-list-table.php:622
911
+ #: includes/class-mla-list-table.php:1032
912
+ #: includes/class-mla-list-table.php:1103
913
+ #: includes/class-mla-list-table.php:1326
914
+ #: includes/class-mla-list-table.php:1370
915
+ #: includes/class-mla-list-table.php:1402
916
+ #: includes/class-mla-list-table.php:1486
917
+ msgid "Filter by"
918
+ msgstr ""
919
+
920
+ #: includes/class-mla-list-table.php:599 includes/class-mla-media-modal.php:936
921
+ msgid "Not Supported"
922
+ msgstr ""
923
+
924
+ #. translators: 1: column_name 2: column_values
925
+ #: includes/class-mla-list-table.php:642
926
+ #: includes/class-mla-upload-list-table.php:339
927
+ #: includes/class-mla-upload-optional-list-table.php:228
928
+ #: includes/class-mla-view-list-table.php:285
929
+ #, php-format
930
+ msgid "column_default: %1$s, %2$s"
931
+ msgstr ""
932
+
933
+ #: includes/class-mla-list-table.php:721 includes/class-mla-list-table.php:847
934
+ #: includes/class-mla-list-table.php:1158
935
+ #: includes/class-mla-list-table.php:1207
936
+ #: includes/class-mla-list-table.php:1253
937
+ #: includes/class-mla-list-table.php:1298
938
+ #: includes/class-mla-list-table.php:1506
939
+ #: includes/class-mla-list-table.php:1822
940
+ #: includes/class-mla-polylang-support.php:385
941
+ #: includes/class-mla-upload-list-table.php:404
942
+ #: includes/class-mla-upload-list-table.php:710
943
+ #: includes/class-mla-view-list-table.php:351
944
+ #: includes/class-mla-view-list-table.php:566
945
+ msgid "Edit"
946
+ msgstr ""
947
+
948
+ #: includes/class-mla-list-table.php:746
949
+ #: includes/class-mla-thumbnail-generation.php:440
950
+ msgid "Trash"
951
+ msgstr ""
952
+
953
+ #: includes/class-mla-list-table.php:836
954
+ msgid "Restore this item from the Trash"
955
+ msgstr ""
956
+
957
+ #: includes/class-mla-list-table.php:836 includes/class-mla-list-table.php:1819
958
+ msgid "Restore"
959
+ msgstr ""
960
+
961
+ #: includes/class-mla-list-table.php:847
962
+ #: includes/class-mla-upload-list-table.php:404
963
+ #: includes/class-mla-view-list-table.php:351
964
+ msgid "Edit this item"
965
+ msgstr ""
966
+
967
+ #: includes/class-mla-list-table.php:848
968
+ #: includes/class-mla-upload-list-table.php:406
969
+ #: includes/class-mla-view-list-table.php:353
970
+ msgid "Edit this item inline"
971
+ msgstr ""
972
+
973
+ #: includes/class-mla-list-table.php:848 includes/class-mla-main.php:2306
974
+ #: includes/class-mla-options.php:3496 includes/class-mla-options.php:3800
975
+ #: includes/class-mla-upload-list-table.php:406
976
+ #: includes/class-mla-view-list-table.php:353
977
+ msgid "Quick Edit"
978
+ msgstr ""
979
+
980
+ #: includes/class-mla-list-table.php:854
981
+ msgid "Move this item to the Trash"
982
+ msgstr ""
983
+
984
+ #: includes/class-mla-list-table.php:854 includes/class-mla-list-table.php:1825
985
+ msgid "Move to Trash"
986
+ msgstr ""
987
+
988
+ #: includes/class-mla-list-table.php:859
989
+ #: includes/class-mla-upload-list-table.php:410
990
+ #: includes/class-mla-view-list-table.php:359
991
+ msgid "Delete this item Permanently"
992
+ msgstr ""
993
+
994
+ #: includes/class-mla-list-table.php:859 includes/class-mla-list-table.php:1820
995
+ #: includes/class-mla-list-table.php:1827
996
+ #: includes/class-mla-upload-list-table.php:410
997
+ #: includes/class-mla-view-list-table.php:359
998
+ #: includes/class-mla-view-list-table.php:567
999
+ msgid "Delete Permanently"
1000
+ msgstr ""
1001
+
1002
+ #: includes/class-mla-list-table.php:867 includes/class-mla-settings.php:3156
1003
+ msgid "Download"
1004
+ msgstr ""
1005
+
1006
+ #: includes/class-mla-list-table.php:871 includes/class-mla-settings.php:1776
1007
+ msgid "View"
1008
+ msgstr ""
1009
+
1010
+ #: includes/class-mla-list-table.php:918 includes/class-mla-list-table.php:1029
1011
+ #: includes/class-mla-main.php:608 includes/class-mla-main.php:1805
1012
+ #: includes/class-mla-polylang-support.php:382
1013
+ #: includes/class-mla-thumbnail-generation.php:97
1014
+ msgid "(no title)"
1015
+ msgstr ""
1016
+
1017
+ #: includes/class-mla-list-table.php:1100
1018
+ msgid "(no title: bad ID)"
1019
+ msgstr ""
1020
+
1021
+ #: includes/class-mla-list-table.php:1135
1022
+ #: includes/class-mla-list-table.php:1180
1023
+ #: includes/class-mla-list-table.php:1230
1024
+ #: includes/class-mla-list-table.php:1275 includes/class-mla-options.php:506
1025
+ #: includes/class-mla-options.php:515 includes/class-mla-options.php:524
1026
+ #: includes/class-mla-options.php:533
1027
+ msgid "Disabled"
1028
+ msgstr ""
1029
+
1030
+ #: includes/class-mla-list-table.php:1373 includes/class-mla-settings.php:1881
1031
+ #: includes/class-mla-settings.php:2246
1032
+ msgid "MIME Type"
1033
+ msgstr ""
1034
+
1035
+ #: includes/class-mla-list-table.php:1406
1036
+ msgid "Base File"
1037
+ msgstr ""
1038
+
1039
+ #: includes/class-mla-list-table.php:1422
1040
+ #: includes/class-mla-list-table.php:1455
1041
+ msgid "Unpublished"
1042
+ msgstr ""
1043
+
1044
+ #. translators: 1: upload/last modified date and time
1045
+ #: includes/class-mla-list-table.php:1431
1046
+ #: includes/class-mla-list-table.php:1462
1047
+ #, php-format
1048
+ msgid "%1$s from now"
1049
+ msgstr ""
1050
+
1051
+ #. translators: 1: upload/last modified date and time
1052
+ #: includes/class-mla-list-table.php:1434
1053
+ #: includes/class-mla-list-table.php:1464
1054
+ #, php-format
1055
+ msgid "%1$s ago"
1056
+ msgstr ""
1057
+
1058
+ #. translators: format for upload/last modified date
1059
+ #. translators: date format in table columns, see http://php.net/date
1060
+ #: includes/class-mla-list-table.php:1438
1061
+ #: includes/class-mla-list-table.php:1467
1062
+ #: includes/class-mla-list-table.php:1523 includes/class-mla-main.php:1830
1063
+ msgid "Y/m/d"
1064
+ msgstr ""
1065
+
1066
+ #: includes/class-mla-list-table.php:1525 includes/class-mla-options.php:1243
1067
+ msgctxt "table_view_singular"
1068
+ msgid "Unattached"
1069
+ msgstr ""
1070
+
1071
+ #: includes/class-mla-list-table.php:1528
1072
+ msgid "Set Parent"
1073
+ msgstr ""
1074
+
1075
+ #: includes/class-mla-list-table.php:1674
1076
+ msgctxt "uploaded files"
1077
+ msgid "All"
1078
+ msgid_plural "All"
1079
+ msgstr[0] ""
1080
+ msgstr[1] ""
1081
+
1082
+ #: includes/class-mla-list-table.php:1853
1083
+ msgid "Filter"
1084
+ msgstr ""
1085
+
1086
+ #: includes/class-mla-list-table.php:1859
1087
+ #: includes/mla-media-modal-js-template.php:67
1088
+ msgid "Terms Search"
1089
+ msgstr ""
1090
+
1091
+ #: includes/class-mla-list-table.php:1866
1092
+ #: includes/class-mla-polylang-support.php:1645
1093
+ #: includes/class-mla-thumbnail-generation.php:445
1094
+ msgid "Clear Filter-by"
1095
+ msgstr ""
1096
+
1097
+ #: includes/class-mla-list-table.php:1870
1098
+ msgid "Empty Trash"
1099
+ msgstr ""
1100
+
1101
+ #: includes/class-mla-main.php:606 includes/class-mla-settings.php:361
1102
+ msgid "Error while saving the changes."
1103
+ msgstr ""
1104
+
1105
+ #: includes/class-mla-main.php:607 includes/class-mla-settings.php:362
1106
+ msgid "Remove From Bulk Edit"
1107
+ msgstr ""
1108
+
1109
+ #: includes/class-mla-main.php:609
1110
+ msgid "Bulk Edit items"
1111
+ msgstr ""
1112
+
1113
+ #: includes/class-mla-main.php:610 includes/class-mla-main.php:2334
1114
+ #: includes/class-mla-settings.php:378
1115
+ msgid "Waiting"
1116
+ msgstr ""
1117
+
1118
+ #: includes/class-mla-main.php:611 includes/class-mla-main.php:2336
1119
+ #: includes/class-mla-settings.php:380
1120
+ msgid "Complete"
1121
+ msgstr ""
1122
+
1123
+ #: includes/class-mla-main.php:612 includes/class-mla-settings.php:381
1124
+ msgid "Unchanged"
1125
+ msgstr ""
1126
+
1127
+ #: includes/class-mla-main.php:613 includes/class-mla-settings.php:382
1128
+ msgid "Succeeded"
1129
+ msgstr ""
1130
+
1131
+ #: includes/class-mla-main.php:614 includes/class-mla-settings.php:383
1132
+ msgid "Failed"
1133
+ msgstr ""
1134
+
1135
+ #: includes/class-mla-main.php:615 includes/class-mla-settings.php:386
1136
+ msgid "CANCELED"
1137
+ msgstr ""
1138
+
1139
+ #: includes/class-mla-main.php:718
1140
+ #, php-format
1141
+ msgid "Item permanently deleted."
1142
+ msgid_plural "%d items permanently deleted."
1143
+ msgstr[0] ""
1144
+ msgstr[1] ""
1145
+
1146
+ #. translators: 1: post ID
1147
+ #: includes/class-mla-main.php:723 includes/class-mla-main.php:2513
1148
+ #, php-format
1149
+ msgid "Item %1$d moved to Trash."
1150
+ msgstr ""
1151
+
1152
+ #: includes/class-mla-main.php:742
1153
+ msgid "Entries per page"
1154
+ msgstr ""
1155
+
1156
+ #: includes/class-mla-main.php:1299
1157
+ msgid "You are not allowed to edit Attachment: "
1158
+ msgstr ""
1159
+
1160
+ #. translators: 1: ERROR tag 2: bulk action
1161
+ #: includes/class-mla-main.php:1355
1162
+ #, php-format
1163
+ msgid "%1$s: Unknown bulk action %2$s"
1164
+ msgstr ""
1165
+
1166
+ #: includes/class-mla-main.php:1377
1167
+ msgid "no changes detected"
1168
+ msgstr ""
1169
+
1170
+ #. translators: 1: action name, e.g., edit
1171
+ #: includes/class-mla-main.php:1424 includes/class-mla-settings.php:1655
1172
+ #: includes/class-mla-settings.php:2122
1173
+ #, php-format
1174
+ msgid "Bulk Action %1$s - no items selected."
1175
+ msgstr ""
1176
+
1177
+ #: includes/class-mla-main.php:1507
1178
+ msgid "You do not have permission to manage attachments."
1179
+ msgstr ""
1180
+
1181
+ #. translators: 1: number of items
1182
+ #: includes/class-mla-main.php:1567
1183
+ #, php-format
1184
+ msgctxt "deleted items"
1185
+ msgid "%s item deleted."
1186
+ msgid_plural "%s items deleted."
1187
+ msgstr[0] ""
1188
+ msgstr[1] ""
1189
+
1190
+ #: includes/class-mla-main.php:1569
1191
+ msgid "No items deleted."
1192
+ msgstr ""
1193
+
1194
+ #: includes/class-mla-main.php:1623
1195
+ msgid "Empty Terms Search; ignored"
1196
+ msgstr ""
1197
+
1198
+ #. translators: 1: row-level action, e.g., single_item_delete, single_item_edit
1199
+ #. translators: 1: bulk_action, e.g., single_item_delete, single_item_edit
1200
+ #: includes/class-mla-main.php:1635 includes/class-mla-settings.php:1692
1201
+ #: includes/class-mla-settings.php:2161
1202
+ #, php-format
1203
+ msgid "Unknown mla_admin_action - \"%1$s\""
1204
+ msgstr ""
1205
+
1206
+ #: includes/class-mla-main.php:1668
1207
+ msgid "term search results for"
1208
+ msgstr ""
1209
+
1210
+ #: includes/class-mla-main.php:1671
1211
+ msgid "post/parent results for"
1212
+ msgstr ""
1213
+
1214
+ #: includes/class-mla-main.php:1673
1215
+ msgid "search results for"
1216
+ msgstr ""
1217
+
1218
+ #: includes/class-mla-main.php:1801 includes/class-mla-main.php:2118
1219
+ #: includes/class-mla-thumbnail-generation.php:436
1220
+ msgid "Type"
1221
+ msgstr ""
1222
+
1223
+ #: includes/class-mla-main.php:1801 includes/class-mla-main.php:2119
1224
+ msgid "Date"
1225
+ msgstr ""
1226
+
1227
+ #: includes/class-mla-main.php:1801 includes/class-mla-main.php:2120
1228
+ #: includes/class-mla-settings.php:2262
1229
+ msgid "Status"
1230
+ msgstr ""
1231
+
1232
+ #: includes/class-mla-main.php:1811
1233
+ msgid "Published"
1234
+ msgstr ""
1235
+
1236
+ #: includes/class-mla-main.php:1817
1237
+ msgid "Pending Review"
1238
+ msgstr ""
1239
+
1240
+ #: includes/class-mla-main.php:1859 includes/class-mla-main.php:1946
1241
+ msgid "No post ID found"
1242
+ msgstr ""
1243
+
1244
+ #: includes/class-mla-main.php:1866 includes/class-mla-main.php:1953
1245
+ #: includes/class-mla-polylang-support.php:287
1246
+ msgid "You are not allowed to edit this Attachment."
1247
+ msgstr ""
1248
+
1249
+ #: includes/class-mla-main.php:1920 includes/class-mla-main.php:2130
1250
+ #: includes/class-mla-main.php:2321 includes/class-mla-settings.php:1535
1251
+ #: includes/class-mla-settings.php:1796 includes/class-mla-settings.php:1890
1252
+ #: includes/class-mla-settings.php:2260
1253
+ msgid "Update"
1254
+ msgstr ""
1255
+
1256
+ #: includes/class-mla-main.php:2065
1257
+ msgid "All Post Types"
1258
+ msgstr ""
1259
+
1260
+ #: includes/class-mla-main.php:2111
1261
+ msgid "For"
1262
+ msgstr ""
1263
+
1264
+ #: includes/class-mla-main.php:2121 includes/class-mla-shortcodes.php:855
1265
+ msgid "Unattached"
1266
+ msgstr ""
1267
+
1268
+ #: includes/class-mla-main.php:2126 includes/class-mla-main.php:2319
1269
+ #: includes/class-mla-polylang-support.php:1638
1270
+ #: includes/class-mla-settings.php:1536 includes/class-mla-settings.php:1795
1271
+ #: includes/class-mla-settings.php:1891 includes/class-mla-settings.php:1963
1272
+ #: includes/class-mla-settings.php:2259 includes/class-mla-settings.php:2749
1273
+ #: includes/class-mla-settings.php:2885
1274
+ #: includes/class-mla-thumbnail-generation.php:446
1275
+ msgid "Cancel"
1276
+ msgstr ""
1277
+
1278
+ #: includes/class-mla-main.php:2322 includes/class-mla-options.php:3510
1279
+ #: includes/class-mla-options.php:3801 includes/class-mla-settings.php:1797
1280
+ #: includes/class-mla-settings.php:2261
1281
+ msgid "Bulk Edit"
1282
+ msgstr ""
1283
+
1284
+ #: includes/class-mla-main.php:2335
1285
+ msgid "In-process"
1286
+ msgstr ""
1287
+
1288
+ #: includes/class-mla-main.php:2337 includes/class-mla-options.php:524
1289
+ #: includes/class-mla-options.php:533 includes/class-mla-settings.php:2752
1290
+ #: includes/class-mla-settings.php:2888
1291
+ msgid "Refresh"
1292
+ msgstr ""
1293
+
1294
+ #: includes/class-mla-main.php:2426
1295
+ msgid "You are not allowed to delete this item."
1296
+ msgstr ""
1297
+
1298
+ #. translators: 1: ERROR tag 2: post ID
1299
+ #: includes/class-mla-main.php:2434
1300
+ #, php-format
1301
+ msgid "%1$s: Item %2$d could NOT be deleted."
1302
+ msgstr ""
1303
+
1304
+ #. translators: 1: post ID
1305
+ #: includes/class-mla-main.php:2441
1306
+ #, php-format
1307
+ msgid "Item %1$d permanently deleted."
1308
+ msgstr ""
1309
+
1310
+ #: includes/class-mla-main.php:2458
1311
+ msgid "You are not allowed to move this item out of the Trash."
1312
+ msgstr ""
1313
+
1314
+ #. translators: 1: ERROR tag 2: post ID
1315
+ #: includes/class-mla-main.php:2466
1316
+ #, php-format
1317
+ msgid "%1$s: Item %2$d could NOT be restored from Trash."
1318
+ msgstr ""
1319
+
1320
+ #. translators: 1: post ID
1321
+ #: includes/class-mla-main.php:2481
1322
+ #, php-format
1323
+ msgid "Item %1$d restored from Trash."
1324
+ msgstr ""
1325
+
1326
+ #: includes/class-mla-main.php:2498
1327
+ msgid "You are not allowed to move this item to the Trash."
1328
+ msgstr ""
1329
+
1330
+ #. translators: 1: ERROR tag 2: post ID
1331
+ #: includes/class-mla-main.php:2506
1332
+ #, php-format
1333
+ msgid "%1$s: Item %2$d could NOT be moved to Trash."
1334
+ msgstr ""
1335
+
1336
+ #: includes/class-mla-media-modal.php:245
1337
+ #: includes/class-mla-media-modal.php:251
1338
+ #: includes/class-mla-media-modal.php:850
1339
+ #: includes/class-mla-media-modal.php:885
1340
+ #: includes/class-mla-media-modal.php:930
1341
+ msgid "Click to toggle"
1342
+ msgstr ""
1343
+
1344
+ #: includes/class-mla-media-modal.php:290
1345
+ msgid "Show all dates"
1346
+ msgstr ""
1347
+
1348
+ #. translators: 1: month name, 2: 4-digit year
1349
+ #: includes/class-mla-media-modal.php:305
1350
+ #, php-format
1351
+ msgid "%1$s %2$d"
1352
+ msgstr ""
1353
+
1354
+ #: includes/class-mla-media-modal.php:540
1355
+ msgid "Search Box"
1356
+ msgstr ""
1357
+
1358
+ #: includes/class-mla-media-modal.php:541
1359
+ msgid "Loading..."
1360
+ msgstr ""
1361
+
1362
+ #: includes/class-mla-media-modal.php:896
1363
+ msgid "Tags"
1364
+ msgstr ""
1365
+
1366
+ #. translators: %s: add new taxonomy label
1367
+ #. translators: %s: add new View
1368
+ #. translators: %s: add new Upload MIME Type
1369
+ #: includes/class-mla-media-modal.php:898 includes/class-mla-objects.php:46
1370
+ #: includes/class-mla-objects.php:76 includes/class-mla-settings.php:1776
1371
+ #: includes/class-mla-settings.php:2242
1372
+ #, php-format
1373
+ msgid "Add New %1$s"
1374
+ msgstr ""
1375
+
1376
+ #: includes/class-mla-media-modal.php:914
1377
+ msgid "Choose from the most used tags"
1378
+ msgstr ""
1379
+
1380
+ #: includes/class-mla-media-modal.php:1264
1381
+ #: includes/class-mla-media-modal.php:1280
1382
+ msgid "Search Terms"
1383
+ msgstr ""
1384
+
1385
+ #: includes/class-mla-media-modal.php:1265
1386
+ msgid "There are no taxonomies to search"
1387
+ msgstr ""
1388
+
1389
+ #: includes/class-mla-media-modal.php:1283
1390
+ msgid "All phrases"
1391
+ msgstr ""
1392
+
1393
+ #: includes/class-mla-media-modal.php:1285
1394
+ msgid "Any phrase"
1395
+ msgstr ""
1396
+
1397
+ #: includes/class-mla-media-modal.php:1287
1398
+ msgid "All terms"
1399
+ msgstr ""
1400
+
1401
+ #: includes/class-mla-media-modal.php:1289
1402
+ msgid "Any term"
1403
+ msgstr ""
1404
+
1405
+ #: includes/class-mla-media-modal.php:1291
1406
+ msgid "Exact"
1407
+ msgstr ""
1408
+
1409
+ #: includes/class-mla-mime-types.php:364
1410
+ msgctxt "post_mime_types"
1411
+ msgid "Manage"
1412
+ msgstr ""
1413
+
1414
+ #: includes/class-mla-mime-types.php:764
1415
+ msgctxt "post_mime_types_description"
1416
+ msgid "Copied from previous filter/plugin"
1417
+ msgstr ""
1418
+
1419
+ #. translators: 1: ERROR tag 2: raw_mime_type
1420
+ #: includes/class-mla-mime-types.php:916
1421
+ #, php-format
1422
+ msgid "%1$s: Bad specification part \"%2$s\""
1423
+ msgstr ""
1424
+
1425
+ #. translators: 1: ERROR tag 2: option, e.g., any, match, null
1426
+ #: includes/class-mla-mime-types.php:922
1427
+ #, php-format
1428
+ msgid "%1$s: Bad specification option \"%2$s\""
1429
+ msgstr ""
1430
+
1431
+ #. translators: 1: ERROR tag 2: prefix, e.g., custom
1432
+ #: includes/class-mla-mime-types.php:926
1433
+ #, php-format
1434
+ msgid "%1$s: Bad specification prefix \"%2$s\""
1435
+ msgstr ""
1436
+
1437
+ #: includes/class-mla-mime-types.php:957 includes/class-mla-mime-types.php:1074
1438
+ msgid "Ignoring specification for Post MIME Type; using slug"
1439
+ msgstr ""
1440
+
1441
+ #. translators: 1: element name 2: bad_value 3: good_value
1442
+ #: includes/class-mla-mime-types.php:963 includes/class-mla-mime-types.php:2016
1443
+ #, php-format
1444
+ msgid "<br>Changing %1$s \"%2$s\" to valid value \"%3$s\""
1445
+ msgstr ""
1446
+
1447
+ #: includes/class-mla-mime-types.php:963 includes/class-mla-mime-types.php:1051
1448
+ #: includes/class-mla-mime-types.php:1062 includes/class-mla-settings.php:1520
1449
+ #: includes/class-mla-settings.php:1777
1450
+ msgid "Slug"
1451
+ msgstr ""
1452
+
1453
+ #. translators: 1: ERROR tag 2: slug
1454
+ #: includes/class-mla-mime-types.php:971 includes/class-mla-mime-types.php:1059
1455
+ #, php-format
1456
+ msgid "%1$s: Could not add Slug \"%2$s\"; value already exists"
1457
+ msgstr ""
1458
+
1459
+ #. translators: 1: slug
1460
+ #: includes/class-mla-mime-types.php:1006
1461
+ #, php-format
1462
+ msgid "Edit view \"%1$s\"; added"
1463
+ msgstr ""
1464
+
1465
+ #. translators: 1: element name 2: bad_value 3: good_value
1466
+ #: includes/class-mla-mime-types.php:1051
1467
+ #: includes/class-mla-mime-types.php:2142
1468
+ #, php-format
1469
+ msgid "<br>Changing new %1$s \"%2$s\" to valid value \"%3$s\""
1470
+ msgstr ""
1471
+
1472
+ #. translators: 1: slug
1473
+ #: includes/class-mla-mime-types.php:1104
1474
+ #, php-format
1475
+ msgid "Edit view \"%1$s\"; no changes detected"
1476
+ msgstr ""
1477
+
1478
+ #. translators: 1: slug
1479
+ #: includes/class-mla-mime-types.php:1118
1480
+ #, php-format
1481
+ msgid "Edit view \"%1$s\"; updated"
1482
+ msgstr ""
1483
+
1484
+ #. translators: 1: slug
1485
+ #: includes/class-mla-mime-types.php:1191
1486
+ #, php-format
1487
+ msgid "View \"%1$s\" reverted to standard"
1488
+ msgstr ""
1489
+
1490
+ #. translators: 1: slug
1491
+ #: includes/class-mla-mime-types.php:1197
1492
+ #, php-format
1493
+ msgid "View \"%1$s\" deleted"
1494
+ msgstr ""
1495
+
1496
+ #. translators: 1: ERROR tag 2: slug
1497
+ #: includes/class-mla-mime-types.php:1205
1498
+ #, php-format
1499
+ msgid "%1$s: Did not find view \"%2$s\""
1500
+ msgstr ""
1501
+
1502
+ #: includes/class-mla-mime-types.php:1464 includes/class-mla-options.php:1189
1503
+ msgctxt "table_view_singular"
1504
+ msgid "All"
1505
+ msgstr ""
1506
+
1507
+ #: includes/class-mla-mime-types.php:1465 includes/class-mla-options.php:1190
1508
+ msgctxt "table_view_plural"
1509
+ msgid "All"
1510
+ msgstr ""
1511
+
1512
+ #: includes/class-mla-mime-types.php:1468
1513
+ msgctxt "table_view_singular"
1514
+ msgid "Active"
1515
+ msgstr ""
1516
+
1517
+ #: includes/class-mla-mime-types.php:1469
1518
+ msgctxt "table_view_plural"
1519
+ msgid "Active"
1520
+ msgstr ""
1521
+
1522
+ #: includes/class-mla-mime-types.php:1472
1523
+ msgctxt "table_view_singular"
1524
+ msgid "Inactive"
1525
+ msgstr ""
1526
+
1527
+ #: includes/class-mla-mime-types.php:1473
1528
+ msgctxt "table_view_plural"
1529
+ msgid "Inactive"
1530
+ msgstr ""
1531
+
1532
+ #: includes/class-mla-mime-types.php:1476
1533
+ msgctxt "table_view_singular"
1534
+ msgid "WordPress"
1535
+ msgstr ""
1536
+
1537
+ #: includes/class-mla-mime-types.php:1477
1538
+ msgctxt "table_view_plural"
1539
+ msgid "WordPress"
1540
+ msgstr ""
1541
+
1542
+ #: includes/class-mla-mime-types.php:1480
1543
+ msgctxt "table_view_singular"
1544
+ msgid "MLA"
1545
+ msgstr ""
1546
+
1547
+ #: includes/class-mla-mime-types.php:1481
1548
+ msgctxt "table_view_plural"
1549
+ msgid "MLA"
1550
+ msgstr ""
1551
+
1552
+ #: includes/class-mla-mime-types.php:1484
1553
+ msgctxt "table_view_singular"
1554
+ msgid "Custom"
1555
+ msgstr ""
1556
+
1557
+ #: includes/class-mla-mime-types.php:1485
1558
+ msgctxt "table_view_plural"
1559
+ msgid "Custom"
1560
+ msgstr ""
1561
+
1562
+ #: includes/class-mla-mime-types.php:1706
1563
+ msgid "icon"
1564
+ msgstr ""
1565
+
1566
+ #: includes/class-mla-mime-types.php:2000
1567
+ #: includes/class-mla-mime-types.php:2099
1568
+ msgid "Cannot load Upload MIME Types"
1569
+ msgstr ""
1570
+
1571
+ #: includes/class-mla-mime-types.php:2011
1572
+ msgid "Extension is required"
1573
+ msgstr ""
1574
+
1575
+ #: includes/class-mla-mime-types.php:2016
1576
+ #: includes/class-mla-mime-types.php:2142
1577
+ #: includes/class-mla-mime-types.php:2153 includes/class-mla-settings.php:1879
1578
+ #: includes/class-mla-settings.php:2244
1579
+ msgid "Extension"
1580
+ msgstr ""
1581
+
1582
+ #. translators: 1: ERROR tag 2: slug
1583
+ #: includes/class-mla-mime-types.php:2024
1584
+ #, php-format
1585
+ msgid "%1$s: Could not add extension \"%2$s\"; value already exists"
1586
+ msgstr ""
1587
+
1588
+ #: includes/class-mla-mime-types.php:2032
1589
+ msgid "MIME type is required"
1590
+ msgstr ""
1591
+
1592
+ #. translators: 1: ERROR tag 2: clean_mime_type
1593
+ #: includes/class-mla-mime-types.php:2037
1594
+ #: includes/class-mla-mime-types.php:2184
1595
+ #, php-format
1596
+ msgid "%1$s: Bad MIME type; try \"%2$s\""
1597
+ msgstr ""
1598
+
1599
+ #. translators: 1: slug
1600
+ #: includes/class-mla-mime-types.php:2074
1601
+ #, php-format
1602
+ msgid "Upload MIME Type \"%1$s\"; added"
1603
+ msgstr ""
1604
+
1605
+ #: includes/class-mla-mime-types.php:2080
1606
+ #: includes/class-mla-mime-types.php:2269
1607
+ #: includes/class-mla-mime-types.php:2348
1608
+ msgid "Cannot update Upload MIME Types"
1609
+ msgstr ""
1610
+
1611
+ #. translators: 1: ERROR tag 2: slug
1612
+ #: includes/class-mla-mime-types.php:2150
1613
+ #, php-format
1614
+ msgid "%1$s: Could not add new extension \"%2$s\"; value already exists"
1615
+ msgstr ""
1616
+
1617
+ #. translators: 1: slug
1618
+ #: includes/class-mla-mime-types.php:2249
1619
+ #, php-format
1620
+ msgid "Edit type \"%1$s\"; no changes detected"
1621
+ msgstr ""
1622
+
1623
+ #. translators: 1: slug
1624
+ #: includes/class-mla-mime-types.php:2263
1625
+ #, php-format
1626
+ msgid "Edit type \"%1$s\"; updated"
1627
+ msgstr ""
1628
+
1629
+ #. translators: 1: slug
1630
+ #: includes/class-mla-mime-types.php:2336
1631
+ #, php-format
1632
+ msgid "Upload MIME Type \"%1$s\"; reverted to standard"
1633
+ msgstr ""
1634
+
1635
+ #. translators: 1: slug
1636
+ #: includes/class-mla-mime-types.php:2342
1637
+ #, php-format
1638
+ msgid "Upload MIME Type \"%1$s\"; deleted"
1639
+ msgstr ""
1640
+
1641
+ #. translators: 1: ERROR tag 2: slug
1642
+ #: includes/class-mla-mime-types.php:2357
1643
+ #, php-format
1644
+ msgid "%1$s: Did not find Upload type \"%2$s\""
1645
+ msgstr ""
1646
+
1647
+ #: includes/class-mla-objects.php:37
1648
+ msgctxt "taxonomy_name_plural"
1649
+ msgid "Att. Categories"
1650
+ msgstr ""
1651
+
1652
+ #: includes/class-mla-objects.php:38
1653
+ msgctxt "taxonomy_name_singular"
1654
+ msgid "Att. Category"
1655
+ msgstr ""
1656
+
1657
+ #: includes/class-mla-objects.php:39
1658
+ msgid "Search Att. Categories"
1659
+ msgstr ""
1660
+
1661
+ #: includes/class-mla-objects.php:40
1662
+ msgid "All Att. Categories"
1663
+ msgstr ""
1664
+
1665
+ #: includes/class-mla-objects.php:41 includes/class-mla-objects.php:42
1666
+ msgid "Parent Att. Category"
1667
+ msgstr ""
1668
+
1669
+ #: includes/class-mla-objects.php:43
1670
+ msgid "Edit Att. Category"
1671
+ msgstr ""
1672
+
1673
+ #: includes/class-mla-objects.php:44
1674
+ msgid "Update Att. Category"
1675
+ msgstr ""
1676
+
1677
+ #: includes/class-mla-objects.php:46 includes/class-mla-objects.php:48
1678
+ msgid "Att. Category"
1679
+ msgstr ""
1680
+
1681
+ #: includes/class-mla-objects.php:47
1682
+ msgid "New Att. Category Name"
1683
+ msgstr ""
1684
+
1685
+ #: includes/class-mla-objects.php:67
1686
+ msgctxt "taxonomy_name_plural"
1687
+ msgid "Att. Tags"
1688
+ msgstr ""
1689
+
1690
+ #: includes/class-mla-objects.php:68
1691
+ msgctxt "taxonomy_name_singular"
1692
+ msgid "Att. Tag"
1693
+ msgstr ""
1694
+
1695
+ #: includes/class-mla-objects.php:69
1696
+ msgid "Search Att. Tags"
1697
+ msgstr ""
1698
+
1699
+ #: includes/class-mla-objects.php:70
1700
+ msgid "All Att. Tags"
1701
+ msgstr ""
1702
+
1703
+ #: includes/class-mla-objects.php:71 includes/class-mla-objects.php:72
1704
+ msgid "Parent Att. Tag"
1705
+ msgstr ""
1706
+
1707
+ #: includes/class-mla-objects.php:73
1708
+ msgid "Edit Att. Tag"
1709
+ msgstr ""
1710
+
1711
+ #: includes/class-mla-objects.php:74
1712
+ msgid "Update Att. Tag"
1713
+ msgstr ""
1714
+
1715
+ #: includes/class-mla-objects.php:76 includes/class-mla-objects.php:78
1716
+ msgid "Att. Tag"
1717
+ msgstr ""
1718
+
1719
+ #: includes/class-mla-objects.php:77
1720
+ msgid "New Att. Tag Name"
1721
+ msgstr ""
1722
+
1723
+ #: includes/class-mla-objects.php:140
1724
+ msgid "Attachments"
1725
+ msgstr ""
1726
+
1727
+ #. translators: 1: ERROR tag 2: taxonomy 3: error message
1728
+ #: includes/class-mla-objects.php:232
1729
+ #, php-format
1730
+ msgctxt "error_log"
1731
+ msgid ""
1732
+ "%1$s: mla_taxonomy_column_filter( \"%2$s\" ) - get_term failed: \"%3$s\""
1733
+ msgstr ""
1734
+
1735
+ #: includes/class-mla-objects.php:237
1736
+ msgid "click to search"
1737
+ msgstr ""
1738
+
1739
+ #: includes/class-mla-objects.php:264
1740
+ msgid "Shortcode(s), HTML and/or Plain Text"
1741
+ msgstr ""
1742
+
1743
+ #: includes/class-mla-objects.php:272
1744
+ msgid "MLA Text"
1745
+ msgstr ""
1746
+
1747
+ #: includes/class-mla-objects.php:314
1748
+ msgid "Automatically add paragraphs"
1749
+ msgstr ""
1750
+
1751
+ #: includes/class-mla-options.php:415
1752
+ msgid "error loading tpls/mla-option-templates.tpl"
1753
+ msgstr ""
1754
+
1755
+ #: includes/class-mla-options.php:418
1756
+ msgid "tpls/mla-option-templates.tpl not found"
1757
+ msgstr ""
1758
+
1759
+ #: includes/class-mla-options.php:471 includes/class-mla-options.php:1832
1760
+ msgid "Attachment Categories"
1761
+ msgstr ""
1762
+
1763
+ #: includes/class-mla-options.php:474
1764
+ msgid "Check this option to add support for Attachment Categories."
1765
+ msgstr ""
1766
+
1767
+ #: includes/class-mla-options.php:478 includes/class-mla-options.php:1847
1768
+ msgid "Attachment Tags"
1769
+ msgstr ""
1770
+
1771
+ #: includes/class-mla-options.php:481
1772
+ msgid "Check this option to add support for Attachment Tags."
1773
+ msgstr ""
1774
+
1775
+ #: includes/class-mla-options.php:485 includes/class-mla-settings.php:1363
1776
+ msgid "Where-used Reporting"
1777
+ msgstr ""
1778
+
1779
+ #: includes/class-mla-options.php:490
1780
+ msgid "Exclude Revisions"
1781
+ msgstr ""
1782
+
1783
+ #: includes/class-mla-options.php:493
1784
+ msgid "Check this option to exclude revisions from where-used reporting."
1785
+ msgstr ""
1786
+
1787
+ #: includes/class-mla-options.php:497
1788
+ msgid "Where-used database access tuning"
1789
+ msgstr ""
1790
+
1791
+ #: includes/class-mla-options.php:506 includes/class-mla-options.php:515
1792
+ msgid "Enabled"
1793
+ msgstr ""
1794
+
1795
+ #: includes/class-mla-options.php:507
1796
+ msgid "Search database posts and pages for Featured Image attachments."
1797
+ msgstr ""
1798
+
1799
+ #: includes/class-mla-options.php:515
1800
+ msgid "Base"
1801
+ msgstr ""
1802
+
1803
+ #: includes/class-mla-options.php:516
1804
+ msgid ""
1805
+ "Search database posts and pages for attachments embedded in content."
1806
+ "<br>&nbsp;&nbsp;Base = ignore intermediate size suffixes; use path, base "
1807
+ "name and extension only."
1808
+ msgstr ""
1809
+
1810
+ #: includes/class-mla-options.php:524 includes/class-mla-options.php:533
1811
+ msgid "Dynamic"
1812
+ msgstr ""
1813
+
1814
+ #: includes/class-mla-options.php:524 includes/class-mla-options.php:533
1815
+ msgid "Cached"
1816
+ msgstr ""
1817
+
1818
+ #: includes/class-mla-options.php:525
1819
+ msgid ""
1820
+ "Search database posts and pages for [gallery] shortcode results.<br>&nbsp;"
1821
+ "&nbsp;Dynamic = once every page load, Cached = once every login, Disabled = "
1822
+ "never.<br>&nbsp;&nbsp;Refresh = update references, then set to Cached."
1823
+ msgstr ""
1824
+
1825
+ #: includes/class-mla-options.php:534
1826
+ msgid ""
1827
+ "Search database posts and pages for [mla_gallery] shortcode results."
1828
+ "<br>&nbsp;&nbsp;Dynamic = once every page load, Cached = once every login, "
1829
+ "Disabled = never.<br>&nbsp;&nbsp;Refresh = update references, then set to "
1830
+ "Cached."
1831
+ msgstr ""
1832
+
1833
+ #: includes/class-mla-options.php:538 includes/class-mla-settings.php:1363
1834
+ msgid "Taxonomy Support"
1835
+ msgstr ""
1836
+
1837
+ #: includes/class-mla-options.php:543
1838
+ msgid "Compute Attachments Column"
1839
+ msgstr ""
1840
+
1841
+ #: includes/class-mla-options.php:546
1842
+ msgid ""
1843
+ "Check this option to calculate attachments per term in the Attachments "
1844
+ "Column."
1845
+ msgstr ""
1846
+
1847
+ #: includes/class-mla-options.php:550
1848
+ msgid ""
1849
+ "Check the \"<strong>Support</strong>\" box to add the taxonomy to the "
1850
+ "Assistant and the Edit Media screen."
1851
+ msgstr ""
1852
+
1853
+ #: includes/class-mla-options.php:551
1854
+ msgid ""
1855
+ "Check the \"<strong>Inline Edit</strong>\" box to display the taxonomy in "
1856
+ "the Quick Edit and Bulk Edit areas."
1857
+ msgstr ""
1858
+
1859
+ #: includes/class-mla-options.php:552
1860
+ msgid ""
1861
+ "Check the \"<strong>Term Search</strong>\" box to add the taxonomy to the "
1862
+ "\"Search Media/Terms\" list."
1863
+ msgstr ""
1864
+
1865
+ #: includes/class-mla-options.php:553 includes/class-mla-options.php:734
1866
+ #: includes/class-mla-settings.php:1394 includes/class-mla-settings.php:1395
1867
+ msgid "For complete documentation"
1868
+ msgstr ""
1869
+
1870
+ #: includes/class-mla-options.php:553 includes/class-mla-options.php:734
1871
+ #: includes/class-mla-settings.php:1394 includes/class-mla-settings.php:1395
1872
+ msgid "click here"
1873
+ msgstr ""
1874
+
1875
+ #: includes/class-mla-options.php:555
1876
+ msgid ""
1877
+ "Check the \"<strong>Checklist</strong>\" box to enable the checklist-style "
1878
+ "meta box for a flat taxonomy."
1879
+ msgstr ""
1880
+
1881
+ #: includes/class-mla-options.php:556
1882
+ msgid ""
1883
+ "You must also check the <strong>\"Enable enhanced checklist taxonomies\"</"
1884
+ "strong> box below to enable this feature."
1885
+ msgstr ""
1886
+
1887
+ #: includes/class-mla-options.php:557
1888
+ msgid ""
1889
+ "Check the \"<strong>Checked On Top</strong>\" box to moved checked terms to "
1890
+ "the top of the checklist-style meta box."
1891
+ msgstr ""
1892
+
1893
+ #: includes/class-mla-options.php:558
1894
+ msgid ""
1895
+ "Use the \"<strong>List Filter</strong>\" option to select the taxonomy on "
1896
+ "which to filter the Assistant table listing."
1897
+ msgstr ""
1898
+
1899
+ #: includes/class-mla-options.php:584
1900
+ msgid "Media/Assistant Screen Options"
1901
+ msgstr ""
1902
+
1903
+ #: includes/class-mla-options.php:589
1904
+ msgid "Admin Menu Options"
1905
+ msgstr ""
1906
+
1907
+ #: includes/class-mla-options.php:594
1908
+ msgid "Page Title"
1909
+ msgstr ""
1910
+
1911
+ #. translators: Name of the plugin/theme
1912
+ #: includes/class-mla-options.php:596 includes/class-mla-settings.php:471
1913
+ #: includes/class-mla-settings.php:3218 includes/class-mla-settings.php:3238
1914
+ #: index.php:47
1915
+ msgid "Media Library Assistant"
1916
+ msgstr ""
1917
+
1918
+ #: includes/class-mla-options.php:598
1919
+ msgid "Enter the title for the Media/Assistant submenu page"
1920
+ msgstr ""
1921
+
1922
+ #: includes/class-mla-options.php:602
1923
+ msgid "Menu Title"
1924
+ msgstr ""
1925
+
1926
+ #: includes/class-mla-options.php:604
1927
+ msgid "Assistant"
1928
+ msgstr ""
1929
+
1930
+ #: includes/class-mla-options.php:606
1931
+ msgid "Enter the title for the Media/Assistant submenu entry"
1932
+ msgstr ""
1933
+
1934
+ #: includes/class-mla-options.php:610
1935
+ msgid "Submenu Order"
1936
+ msgstr ""
1937
+
1938
+ #: includes/class-mla-options.php:614
1939
+ msgid ""
1940
+ "Enter the position of the Media/Assistant submenu entry.<br>&nbsp;&nbsp;0 = "
1941
+ "natural order (at bottom),&nbsp;&nbsp;&nbsp;&nbsp;1 - 4 = at top<br>&nbsp;"
1942
+ "&nbsp;6-9 = after \"Library\",&nbsp;&nbsp;&nbsp;&nbsp;11-16 = after \"Add New"
1943
+ "\""
1944
+ msgstr ""
1945
+
1946
+ #: includes/class-mla-options.php:618
1947
+ msgid "Display Media/Library"
1948
+ msgstr ""
1949
+
1950
+ #: includes/class-mla-options.php:621
1951
+ msgid ""
1952
+ "Check/uncheck this option to display/remove the WordPress Media/Library "
1953
+ "submenu entry."
1954
+ msgstr ""
1955
+
1956
+ #: includes/class-mla-options.php:625
1957
+ msgid "Table Defaults"
1958
+ msgstr ""
1959
+
1960
+ #: includes/class-mla-options.php:630
1961
+ msgid "Order By"
1962
+ msgstr ""
1963
+
1964
+ #: includes/class-mla-options.php:634 includes/class-mla-options.php:843
1965
+ msgid "Title/Name"
1966
+ msgstr ""
1967
+
1968
+ #: includes/class-mla-options.php:635
1969
+ msgid "Select the column for the sort order of the Assistant table listing."
1970
+ msgstr ""
1971
+
1972
+ #: includes/class-mla-options.php:639
1973
+ msgid "Order"
1974
+ msgstr ""
1975
+
1976
+ #: includes/class-mla-options.php:643
1977
+ msgid "Ascending"
1978
+ msgstr ""
1979
+
1980
+ #: includes/class-mla-options.php:643
1981
+ msgid "Descending"
1982
+ msgstr ""
1983
+
1984
+ #: includes/class-mla-options.php:644 includes/class-mla-options.php:853
1985
+ msgid "Choose the sort order."
1986
+ msgstr ""
1987
+
1988
+ #: includes/class-mla-options.php:648
1989
+ msgid "Views Width"
1990
+ msgstr ""
1991
+
1992
+ #: includes/class-mla-options.php:652
1993
+ msgid "Enter the width for the views list, in pixels (px) or percent (%)"
1994
+ msgstr ""
1995
+
1996
+ #: includes/class-mla-options.php:656
1997
+ msgid "Icon Size"
1998
+ msgstr ""
1999
+
2000
+ #: includes/class-mla-options.php:660
2001
+ msgid "Enter the size of the thumbnail/icon images, in pixels"
2002
+ msgstr ""
2003
+
2004
+ #: includes/class-mla-options.php:664
2005
+ msgid "Bulk Chunk Size"
2006
+ msgstr ""
2007
+
2008
+ #: includes/class-mla-options.php:668
2009
+ msgid "Enter the size of the Bulk Edit and Map All processing chunks"
2010
+ msgstr ""
2011
+
2012
+ #: includes/class-mla-options.php:672
2013
+ msgid "Taxonomy Filter parameters"
2014
+ msgstr ""
2015
+
2016
+ #: includes/class-mla-options.php:677
2017
+ msgid "Maximum Depth"
2018
+ msgstr ""
2019
+
2020
+ #: includes/class-mla-options.php:681
2021
+ msgid ""
2022
+ "Enter the number of levels displayed for hierarchial taxonomies; enter zero "
2023
+ "for no limit."
2024
+ msgstr ""
2025
+
2026
+ #: includes/class-mla-options.php:685
2027
+ msgid "Include Children"
2028
+ msgstr ""
2029
+
2030
+ #: includes/class-mla-options.php:688
2031
+ msgid ""
2032
+ "Check/uncheck this option to include/exclude children for hierarchical "
2033
+ "taxonomies."
2034
+ msgstr ""
2035
+
2036
+ #: includes/class-mla-options.php:692
2037
+ msgid "Search Media Defaults"
2038
+ msgstr ""
2039
+
2040
+ #: includes/class-mla-options.php:697
2041
+ msgid "Display Search Controls"
2042
+ msgstr ""
2043
+
2044
+ #: includes/class-mla-options.php:700 includes/class-mla-options.php:814
2045
+ msgid ""
2046
+ "Check/uncheck this option to display/hide the and/or connector and search "
2047
+ "fields controls."
2048
+ msgstr ""
2049
+
2050
+ #: includes/class-mla-options.php:704
2051
+ msgid ""
2052
+ "Use these controls to set defaults for the and/or connector and search "
2053
+ "fields controls.<br>These defaults will be used for the Search Media boxes "
2054
+ "on both the Media/Assistant submenu<br>and the Media Manager Modal Window."
2055
+ msgstr ""
2056
+
2057
+ #: includes/class-mla-options.php:717
2058
+ msgid "Media/Edit Media Enhancements"
2059
+ msgstr ""
2060
+
2061
+ #: includes/class-mla-options.php:722
2062
+ msgid "Enable &quot;enhanced checklist&quot; taxonomies"
2063
+ msgstr ""
2064
+
2065
+ #: includes/class-mla-options.php:725
2066
+ msgid ""
2067
+ "Check this option to enable the \"? Search\" feature for hierarchical "
2068
+ "taxonomies, e.g., Att. Categories.<br>&nbsp;&nbsp;This option also enables "
2069
+ "the \"checklist-style\" support for flat taxonomies, e.g., Att. Tags."
2070
+ msgstr ""
2071
+
2072
+ #: includes/class-mla-options.php:729
2073
+ msgid "Enable Edit Media additional meta boxes"
2074
+ msgstr ""
2075
+
2076
+ #: includes/class-mla-options.php:732
2077
+ msgid ""
2078
+ "Check this option to add \"Parent Info\", \"Menu Order\", \"Attachment "
2079
+ "Metadata\" and four \"where-used\" meta boxes to the Edit Media screen."
2080
+ msgstr ""
2081
+
2082
+ #: includes/class-mla-options.php:733
2083
+ msgid "You can also use Filters to customize the meta boxes."
2084
+ msgstr ""
2085
+
2086
+ #: includes/class-mla-options.php:738
2087
+ msgid "Media/Add New Enhancements"
2088
+ msgstr ""
2089
+
2090
+ #: includes/class-mla-options.php:743
2091
+ msgid "Enable &quot;bulk edit&quot; area"
2092
+ msgstr ""
2093
+
2094
+ #: includes/class-mla-options.php:746
2095
+ msgid ""
2096
+ "Check this option to enable the \"Bulk Edit area\" feature on the Media/Add "
2097
+ "New screen."
2098
+ msgstr ""
2099
+
2100
+ #: includes/class-mla-options.php:750
2101
+ msgid "&quot;bulk edit&quot; area on top"
2102
+ msgstr ""
2103
+
2104
+ #: includes/class-mla-options.php:753
2105
+ msgid ""
2106
+ "Check this option to move the \"Bulk Edit area\" to the top of the Media/Add "
2107
+ "New screen."
2108
+ msgstr ""
2109
+
2110
+ #: includes/class-mla-options.php:757
2111
+ msgid "Media Manager/Media Grid Enhancements"
2112
+ msgstr ""
2113
+
2114
+ #: includes/class-mla-options.php:762
2115
+ msgid "Enable Media Grid Enhancements"
2116
+ msgstr ""
2117
+
2118
+ #: includes/class-mla-options.php:765
2119
+ msgid ""
2120
+ "Check/uncheck this option to enable/disable Media Library Grid View "
2121
+ "Enhancements."
2122
+ msgstr ""
2123
+
2124
+ #: includes/class-mla-options.php:769
2125
+ msgid "Enable Media Manager Enhancements"
2126
+ msgstr ""
2127
+
2128
+ #: includes/class-mla-options.php:772
2129
+ msgid ""
2130
+ "Check/uncheck this option to enable/disable Media Manager Modal Window "
2131
+ "Enhancements."
2132
+ msgstr ""
2133
+
2134
+ #: includes/class-mla-options.php:776
2135
+ msgid "Media Manager Enhanced MIME Type filter"
2136
+ msgstr ""
2137
+
2138
+ #: includes/class-mla-options.php:779
2139
+ msgid ""
2140
+ "Check this option to filter by more MIME Types, e.g., text, applications."
2141
+ msgstr ""
2142
+
2143
+ #: includes/class-mla-options.php:783
2144
+ msgid "Media Manager Month and Year filter"
2145
+ msgstr ""
2146
+
2147
+ #: includes/class-mla-options.php:786
2148
+ msgid "Check this option to filter by month and year uploaded."
2149
+ msgstr ""
2150
+
2151
+ #: includes/class-mla-options.php:790
2152
+ msgid "Media Manager Category/Tag filter"
2153
+ msgstr ""
2154
+
2155
+ #: includes/class-mla-options.php:793
2156
+ msgid "Check this option to filter by taxonomy terms."
2157
+ msgstr ""
2158
+
2159
+ #: includes/class-mla-options.php:797
2160
+ msgid "Media Manager Terms Search popup"
2161
+ msgstr ""
2162
+
2163
+ #: includes/class-mla-options.php:800
2164
+ msgid "Check this option to enable the \"Terms Search\" popup window."
2165
+ msgstr ""
2166
+
2167
+ #: includes/class-mla-options.php:804
2168
+ msgid "Media Manager Enhanced Search Media box"
2169
+ msgstr ""
2170
+
2171
+ #: includes/class-mla-options.php:807
2172
+ msgid "Check this option to enable search box enhancements."
2173
+ msgstr ""
2174
+
2175
+ #: includes/class-mla-options.php:811
2176
+ msgid "Media Manager Enhanced Search Media Controls"
2177
+ msgstr ""
2178
+
2179
+ #: includes/class-mla-options.php:818
2180
+ msgid "Media Manager Checklist meta boxes"
2181
+ msgstr ""
2182
+
2183
+ #: includes/class-mla-options.php:821
2184
+ msgid ""
2185
+ "Check this option to enable MLA-enhanced meta boxes in the \"ATTACHMENT "
2186
+ "DETAILS\" pane.<br>&nbsp;&nbsp;This option is for any taxonomy that uses a "
2187
+ "<strong>\"checklist-style\"</strong> meta box."
2188
+ msgstr ""
2189
+
2190
+ #: includes/class-mla-options.php:825
2191
+ msgid "Media Manager Flat meta boxes"
2192
+ msgstr ""
2193
+
2194
+ #: includes/class-mla-options.php:828
2195
+ msgid ""
2196
+ "Check this option to enable MLA-enhanced meta boxes in the \"ATTACHMENT "
2197
+ "DETAILS\" pane.<br>&nbsp;&nbsp;This option is for <strong>flat taxonomies</"
2198
+ "strong>, e.g., \"Tags\" or \"Att. Tags\", that do not use the \"checklist-"
2199
+ "style\" meta box."
2200
+ msgstr ""
2201
+
2202
+ #: includes/class-mla-options.php:832
2203
+ msgid "Media Manager auto-fill meta boxes"
2204
+ msgstr ""
2205
+
2206
+ #: includes/class-mla-options.php:835
2207
+ msgid ""
2208
+ "Check this option to automatically fill MLA-enhanced meta boxes in the "
2209
+ "\"ATTACHMENT DETAILS\" pane<br>&nbsp;&nbsp;when the item is selected."
2210
+ msgstr ""
2211
+
2212
+ #: includes/class-mla-options.php:839
2213
+ msgid "Media Manager Order By"
2214
+ msgstr ""
2215
+
2216
+ #: includes/class-mla-options.php:843 includes/class-mla-options.php:852
2217
+ #: includes/class-mla-options.php:867 includes/class-mla-options.php:881
2218
+ #: includes/class-mla-options.php:895 includes/class-mla-settings.php:1444
2219
+ msgid "Media Manager Default"
2220
+ msgstr ""
2221
+
2222
+ #: includes/class-mla-options.php:844
2223
+ msgid ""
2224
+ "If you want to override the Media Manager default,<br>&nbsp;&nbsp;select a "
2225
+ "column for the sort order of the Media Library listing."
2226
+ msgstr ""
2227
+
2228
+ #: includes/class-mla-options.php:848
2229
+ msgid "Media Manager Order"
2230
+ msgstr ""
2231
+
2232
+ #: includes/class-mla-options.php:857
2233
+ msgid "Attachment Display Settings"
2234
+ msgstr ""
2235
+
2236
+ #: includes/class-mla-options.php:862 includes/class-mla-options.php:864
2237
+ msgid "Alignment"
2238
+ msgstr ""
2239
+
2240
+ #. translators: 1: option name, e.g., Alignment, Link To or Size
2241
+ #: includes/class-mla-options.php:864 includes/class-mla-options.php:878
2242
+ #: includes/class-mla-options.php:892
2243
+ #, php-format
2244
+ msgid ""
2245
+ "Select a value for the default %1$s option in the Attachment Display "
2246
+ "Settings."
2247
+ msgstr ""
2248
+
2249
+ #: includes/class-mla-options.php:867
2250
+ msgid "Left"
2251
+ msgstr ""
2252
+
2253
+ #: includes/class-mla-options.php:867
2254
+ msgid "Center"
2255
+ msgstr ""
2256
+
2257
+ #: includes/class-mla-options.php:867
2258
+ msgid "Right"
2259
+ msgstr ""
2260
+
2261
+ #: includes/class-mla-options.php:876 includes/class-mla-options.php:878
2262
+ msgid "Link To"
2263
+ msgstr ""
2264
+
2265
+ #: includes/class-mla-options.php:881
2266
+ msgid "Media File"
2267
+ msgstr ""
2268
+
2269
+ #: includes/class-mla-options.php:881
2270
+ msgid "Attachment Page"
2271
+ msgstr ""
2272
+
2273
+ #: includes/class-mla-options.php:881
2274
+ msgid "Custom URL"
2275
+ msgstr ""
2276
+
2277
+ #: includes/class-mla-options.php:890 includes/class-mla-options.php:892
2278
+ msgid "Size"
2279
+ msgstr ""
2280
+
2281
+ #: includes/class-mla-options.php:895
2282
+ #: includes/class-mla-thumbnail-generation.php:396
2283
+ #: includes/class-mla-thumbnail-generation.php:443
2284
+ msgid "Thumbnail"
2285
+ msgstr ""
2286
+
2287
+ #: includes/class-mla-options.php:895
2288
+ msgid "Medium"
2289
+ msgstr ""
2290
+
2291
+ #: includes/class-mla-options.php:895
2292
+ msgid "Large"
2293
+ msgstr ""
2294
+
2295
+ #: includes/class-mla-options.php:895
2296
+ msgid "Full Size"
2297
+ msgstr ""
2298
+
2299
+ #: includes/class-mla-options.php:904
2300
+ msgid "Default [mla_gallery] Templates and Settings"
2301
+ msgstr ""
2302
+
2303
+ #: includes/class-mla-options.php:909 includes/class-mla-options.php:915
2304
+ #: includes/class-mla-options.php:953 includes/class-mla-options.php:959
2305
+ #: includes/class-mla-settings.php:3345 includes/class-mla-settings.php:3356
2306
+ #: includes/class-mla-settings.php:3362 includes/class-mla-settings.php:3366
2307
+ #: includes/class-mla-settings.php:3394 includes/class-mla-settings.php:3405
2308
+ msgid "Style Template"
2309
+ msgstr ""
2310
+
2311
+ #. translators: 1: template type 2: shortcode
2312
+ #: includes/class-mla-options.php:915 includes/class-mla-options.php:925
2313
+ #: includes/class-mla-options.php:959 includes/class-mla-options.php:969
2314
+ #, php-format
2315
+ msgid "Select the default %1$s for your %2$s shortcodes."
2316
+ msgstr ""
2317
+
2318
+ #: includes/class-mla-options.php:919 includes/class-mla-options.php:963
2319
+ msgid "Markup Template"
2320
+ msgstr ""
2321
+
2322
+ #: includes/class-mla-options.php:925 includes/class-mla-options.php:969
2323
+ #: includes/class-mla-settings.php:3434 includes/class-mla-settings.php:3447
2324
+ #: includes/class-mla-settings.php:3453 includes/class-mla-settings.php:3457
2325
+ #: includes/class-mla-settings.php:3526
2326
+ msgid "markup template"
2327
+ msgstr ""
2328
+
2329
+ #: includes/class-mla-options.php:929 includes/class-mla-options.php:973
2330
+ msgid "Default columns"
2331
+ msgstr ""
2332
+
2333
+ #: includes/class-mla-options.php:933
2334
+ msgid ""
2335
+ "Enter the number of [mla_tag_cloud] columns; must be a positive integer."
2336
+ msgstr ""
2337
+
2338
+ #: includes/class-mla-options.php:937 includes/class-mla-options.php:981
2339
+ msgid "Default mla_margin"
2340
+ msgstr ""
2341
+
2342
+ #: includes/class-mla-options.php:941 includes/class-mla-options.php:985
2343
+ msgid ""
2344
+ "Enter the CSS \"margin\" property value, in length (px, em, pt, etc.), "
2345
+ "percent (%), \"auto\" or \"inherit\".<br>&nbsp;&nbsp;Enter \"none\" to "
2346
+ "remove the property entirely."
2347
+ msgstr ""
2348
+
2349
+ #: includes/class-mla-options.php:945 includes/class-mla-options.php:989
2350
+ msgid "Default mla_itemwidth"
2351
+ msgstr ""
2352
+
2353
+ #: includes/class-mla-options.php:949 includes/class-mla-options.php:993
2354
+ msgid ""
2355
+ "Enter the CSS \"width\" property value, in length (px, em, pt, etc.), "
2356
+ "percent (%), \"auto\" or \"inherit\".<br>&nbsp;&nbsp;Enter \"calculate"
2357
+ "\" (the default) to calculate the value taking the \"margin\" value into "
2358
+ "account.<br>&nbsp;&nbsp;Enter \"exact\" to calculate the value without "
2359
+ "considering the \"margin\" value.<br>&nbsp;&nbsp;Enter \"none\" to remove "
2360
+ "the property entirely."
2361
+ msgstr ""
2362
+
2363
+ #: includes/class-mla-options.php:977
2364
+ msgid "Enter the number of [mla_gallery] columns; must be a positive integer."
2365
+ msgstr ""
2366
+
2367
+ #: includes/class-mla-options.php:997
2368
+ msgid "Thumbnail Substitution Support, mla_viewer"
2369
+ msgstr ""
2370
+
2371
+ #: includes/class-mla-options.php:1002
2372
+ msgid "Enable thumbnail substitution"
2373
+ msgstr ""
2374
+
2375
+ #: includes/class-mla-options.php:1005
2376
+ msgid ""
2377
+ "Check this option to allow the \"mla_viewer\" to generate thumbnail images "
2378
+ "for PDF documents. Thumbnails are generated dynamically, each time the item "
2379
+ "appears in an [mla_gallery] display.<br>&nbsp;&nbsp;<strong>IMPORTANT: both "
2380
+ "Ghostscript and Imagick/ImageMagick must be installed for this feature.</"
2381
+ "strong>"
2382
+ msgstr ""
2383
+
2384
+ #: includes/class-mla-options.php:1009
2385
+ msgid "Enable Featured Images"
2386
+ msgstr ""
2387
+
2388
+ #: includes/class-mla-options.php:1012
2389
+ msgid ""
2390
+ "Check this option to extend Featured Image support to all Media Library "
2391
+ "items. The Featured Image can be used as a thumbnail image for the item in "
2392
+ "an [mla_gallery] display."
2393
+ msgstr ""
2394
+
2395
+ #: includes/class-mla-options.php:1016
2396
+ msgid "Enable Featured Image Generation"
2397
+ msgstr ""
2398
+
2399
+ #: includes/class-mla-options.php:1019
2400
+ msgid ""
2401
+ "Check this option to enable the \"Thumbnail\" generation action in the Media/"
2402
+ "Assistant submenu Bulk Actions dropdown."
2403
+ msgstr ""
2404
+
2405
+ #: includes/class-mla-options.php:1023
2406
+ msgid "Enable explicit Ghostscript check"
2407
+ msgstr ""
2408
+
2409
+ #: includes/class-mla-options.php:1026
2410
+ msgid ""
2411
+ "Check this option to enable the explicit check for Ghostscript support "
2412
+ "required for thumbnail generation. If your Ghostscript software is in a non-"
2413
+ "standard location, unchecking this option bypasses the check. Bad things can "
2414
+ "happen if Ghostscript is missing but Imagick/ImageMagick is present, so "
2415
+ "leave this option checked unless you know it is safe to turn it off."
2416
+ msgstr ""
2417
+
2418
+ #: includes/class-mla-options.php:1030
2419
+ msgid "Ghostscript path"
2420
+ msgstr ""
2421
+
2422
+ #: includes/class-mla-options.php:1034
2423
+ msgid ""
2424
+ "If your &ldquo;gs&rdquo; executable is in a non-standard location, enter the "
2425
+ "full path and filename here, e.g., &ldquo;/usr/bin/gs&rdquo;. It will "
2426
+ "override the search for Ghostscript in other places."
2427
+ msgstr ""
2428
+
2429
+ #: includes/class-mla-options.php:1054
2430
+ msgid "Enable custom field mapping when adding new media"
2431
+ msgstr ""
2432
+
2433
+ #: includes/class-mla-options.php:1057
2434
+ msgid ""
2435
+ "Check this option to enable mapping when uploading new media (attachments)."
2436
+ "<br>&nbsp;&nbsp;Click Save Changes at the bottom of the screen if you change "
2437
+ "this option.<br>&nbsp;&nbsp;Does NOT affect the operation of the \"Map\" "
2438
+ "buttons on the bulk edit, single edit and settings screens."
2439
+ msgstr ""
2440
+
2441
+ #: includes/class-mla-options.php:1061
2442
+ msgid "Enable custom field mapping when updating media metadata"
2443
+ msgstr ""
2444
+
2445
+ #: includes/class-mla-options.php:1064 includes/class-mla-options.php:1088
2446
+ msgid ""
2447
+ "Check this option to enable mapping when media (attachments) metadata is "
2448
+ "regenerated,<br>&nbsp;&nbsp;e.g., when the Media/Edit Media \"Edit Image\" "
2449
+ "functions are used."
2450
+ msgstr ""
2451
+
2452
+ #: includes/class-mla-options.php:1068
2453
+ msgid ""
2454
+ "Update the custom field mapping values above, then click Save Changes to "
2455
+ "make the updates permanent.<br>You can also make temporary updates and click "
2456
+ "a Map All Attachments button to apply the rule(s) to all attachments without "
2457
+ "saving any rule changes."
2458
+ msgstr ""
2459
+
2460
+ #: includes/class-mla-options.php:1078
2461
+ msgid "Enable IPTC/EXIF Mapping when adding new media"
2462
+ msgstr ""
2463
+
2464
+ #: includes/class-mla-options.php:1081
2465
+ msgid ""
2466
+ "Check this option to enable mapping when uploading new media (attachments)."
2467
+ "<br>&nbsp;&nbsp;Does NOT affect the operation of the \"Map\" buttons on the "
2468
+ "bulk edit, single edit and settings screens."
2469
+ msgstr ""
2470
+
2471
+ #: includes/class-mla-options.php:1085
2472
+ msgid "Enable IPTC/EXIF Mapping when updating media metadata"
2473
+ msgstr ""
2474
+
2475
+ #: includes/class-mla-options.php:1092
2476
+ msgid ""
2477
+ "Update the standard field mapping values above, then click <strong>Save "
2478
+ "Changes</strong> to make the updates permanent.<br>You can also make "
2479
+ "temporary updates and click <strong>Map All Attachments, Standard Fields "
2480
+ "Now</strong> to apply the updates to all attachments without saving the rule "
2481
+ "changes."
2482
+ msgstr ""
2483
+
2484
+ #: includes/class-mla-options.php:1102
2485
+ msgid ""
2486
+ "Update the taxonomy term mapping values above, then click <strong>Save "
2487
+ "Changes</strong> or <strong>Map All Attachments, Taxonomy Terms Now</strong>."
2488
+ msgstr ""
2489
+
2490
+ #: includes/class-mla-options.php:1112
2491
+ msgid ""
2492
+ "<strong>Update</strong> individual custom field mapping values above, or "
2493
+ "make several updates and click <strong>Save Changes</strong> below to apply "
2494
+ "them all at once.<br>You can also <strong>add a new rule</strong> for an "
2495
+ "existing field or <strong>add a new field</strong> and rule.<br>You can make "
2496
+ "temporary updates and click <strong>Map All Attachments, Custom Fields Now</"
2497
+ "strong> to apply the updates to all attachments without saving the rule "
2498
+ "changes."
2499
+ msgstr ""
2500
+
2501
+ #: includes/class-mla-options.php:1122
2502
+ msgid "IPTC/EXIF Mapping help"
2503
+ msgstr ""
2504
+
2505
+ #: includes/class-mla-options.php:1174
2506
+ msgid "Enable View and Post MIME Type Support"
2507
+ msgstr ""
2508
+
2509
+ #: includes/class-mla-options.php:1177
2510
+ msgid ""
2511
+ "Check/uncheck this option to enable/disable Post MIME Type Support, then "
2512
+ "click <strong>Save Changes</strong> to record the new setting."
2513
+ msgstr ""
2514
+
2515
+ #: includes/class-mla-options.php:1186
2516
+ msgid "Post MIME Types help."
2517
+ msgstr ""
2518
+
2519
+ #: includes/class-mla-options.php:1195 includes/class-mla-options.php:1249
2520
+ #: includes/class-mla-options.php:1258 includes/class-mla-options.php:1267
2521
+ msgctxt "post_mime_types_description"
2522
+ msgid "Built-in view"
2523
+ msgstr ""
2524
+
2525
+ #: includes/class-mla-options.php:1198
2526
+ msgctxt "table_view_singular"
2527
+ msgid "Image"
2528
+ msgstr ""
2529
+
2530
+ #: includes/class-mla-options.php:1199
2531
+ msgctxt "table_view_plural"
2532
+ msgid "Images"
2533
+ msgstr ""
2534
+
2535
+ #: includes/class-mla-options.php:1204
2536
+ msgctxt "post_mime_types_description"
2537
+ msgid "All image subtypes"
2538
+ msgstr ""
2539
+
2540
+ #: includes/class-mla-options.php:1207
2541
+ msgctxt "table_view_singular"
2542
+ msgid "Audio"
2543
+ msgstr ""
2544
+
2545
+ #: includes/class-mla-options.php:1208
2546
+ msgctxt "table_view_plural"
2547
+ msgid "Audio"
2548
+ msgstr ""
2549
+
2550
+ #: includes/class-mla-options.php:1213
2551
+ msgctxt "post_mime_types_description"
2552
+ msgid "All audio subtypes"
2553
+ msgstr ""
2554
+
2555
+ #: includes/class-mla-options.php:1216
2556
+ msgctxt "table_view_singular"
2557
+ msgid "Video"
2558
+ msgstr ""
2559
+
2560
+ #: includes/class-mla-options.php:1217
2561
+ msgctxt "table_view_plural"
2562
+ msgid "Video"
2563
+ msgstr ""
2564
+
2565
+ #: includes/class-mla-options.php:1222
2566
+ msgctxt "post_mime_types_description"
2567
+ msgid "All video subtypes"
2568
+ msgstr ""
2569
+
2570
+ #: includes/class-mla-options.php:1225
2571
+ msgctxt "table_view_singular"
2572
+ msgid "Text"
2573
+ msgstr ""
2574
+
2575
+ #: includes/class-mla-options.php:1226
2576
+ msgctxt "table_view_plural"
2577
+ msgid "Text"
2578
+ msgstr ""
2579
+
2580
+ #: includes/class-mla-options.php:1231
2581
+ msgctxt "post_mime_types_description"
2582
+ msgid "All text subtypes"
2583
+ msgstr ""
2584
+
2585
+ #: includes/class-mla-options.php:1234
2586
+ msgctxt "table_view_singular"
2587
+ msgid "Application"
2588
+ msgstr ""
2589
+
2590
+ #: includes/class-mla-options.php:1235
2591
+ msgctxt "table_view_plural"
2592
+ msgid "Applications"
2593
+ msgstr ""
2594
+
2595
+ #: includes/class-mla-options.php:1240
2596
+ msgctxt "post_mime_types_description"
2597
+ msgid "All application subtypes"
2598
+ msgstr ""
2599
+
2600
+ #: includes/class-mla-options.php:1244
2601
+ msgctxt "table_view_plural"
2602
+ msgid "Unattached"
2603
+ msgstr ""
2604
+
2605
+ #: includes/class-mla-options.php:1252
2606
+ msgctxt "table_view_singular"
2607
+ msgid "Attached"
2608
+ msgstr ""
2609
+
2610
+ #: includes/class-mla-options.php:1253
2611
+ msgctxt "table_view_plural"
2612
+ msgid "Attached"
2613
+ msgstr ""
2614
+
2615
+ #: includes/class-mla-options.php:1261
2616
+ msgctxt "table_view_singular"
2617
+ msgid "Trash"
2618
+ msgstr ""
2619
+
2620
+ #: includes/class-mla-options.php:1262
2621
+ msgctxt "table_view_plural"
2622
+ msgid "Trash"
2623
+ msgstr ""
2624
+
2625
+ #: includes/class-mla-options.php:1273
2626
+ msgid "Enable Upload MIME Type Support"
2627
+ msgstr ""
2628
+
2629
+ #: includes/class-mla-options.php:1276
2630
+ msgid ""
2631
+ "Check/uncheck this option to enable/disable Upload MIME Type Support, then "
2632
+ "click <strong>Save Changes</strong> to record the new setting."
2633
+ msgstr ""
2634
+
2635
+ #: includes/class-mla-options.php:1285
2636
+ msgid "Upload MIME Types help."
2637
+ msgstr ""
2638
+
2639
+ #: includes/class-mla-options.php:1290
2640
+ msgid "Enable MLA File Type Icons Support"
2641
+ msgstr ""
2642
+
2643
+ #: includes/class-mla-options.php:1293
2644
+ msgid ""
2645
+ "Check/uncheck this option to enable/disable MLA File Type Icons Support, "
2646
+ "then click <strong>Save Changes</strong> to record the new setting."
2647
+ msgstr ""
2648
+
2649
+ #: includes/class-mla-options.php:1297
2650
+ msgid "Display Limit"
2651
+ msgstr ""
2652
+
2653
+ #: includes/class-mla-options.php:1301
2654
+ msgid ""
2655
+ "Enter the maximum number of debug log characters to display; enter zero or "
2656
+ "leave blank for no limit."
2657
+ msgstr ""
2658
+
2659
+ #: includes/class-mla-options.php:1305
2660
+ msgid "Debug File"
2661
+ msgstr ""
2662
+
2663
+ #: includes/class-mla-options.php:1309
2664
+ msgid ""
2665
+ "Enter the name of an alternate, MLA-specific debug log file; leave blank to "
2666
+ "use the PHP error_log."
2667
+ msgstr ""
2668
+
2669
+ #: includes/class-mla-options.php:1313
2670
+ msgid "Replace PHP error_log file"
2671
+ msgstr ""
2672
+
2673
+ #: includes/class-mla-options.php:1316
2674
+ msgid ""
2675
+ "Check this option to replace the PHP error_log file with the MLA Debug File."
2676
+ "<br>&nbsp;&nbsp;allows capture of PHP messages in the MLA Debug File."
2677
+ msgstr ""
2678
+
2679
+ #: includes/class-mla-options.php:1320
2680
+ msgid "PHP Reporting"
2681
+ msgstr ""
2682
+
2683
+ #: includes/class-mla-options.php:1324
2684
+ msgid ""
2685
+ "Enter a numeric error_reporting value, e.g., 0x7FFF or 32767; leave blank to "
2686
+ "use the existing PHP error_reporting value."
2687
+ msgstr ""
2688
+
2689
+ #: includes/class-mla-options.php:1328
2690
+ msgid "MLA Reporting"
2691
+ msgstr ""
2692
+
2693
+ #: includes/class-mla-options.php:1332
2694
+ msgid ""
2695
+ "Enter a numeric MLA_DEBUG_LEVEL value, e.g., 0x0003 or 3; leave blank to use "
2696
+ "the existing MLA_DEBUG_LEVEL value."
2697
+ msgstr ""
2698
+
2699
+ #: includes/class-mla-options.php:1384 includes/class-mla-options.php:1406
2700
+ #: includes/class-mla-options.php:1448
2701
+ msgid "no templates exist"
2702
+ msgstr ""
2703
+
2704
+ #: includes/class-mla-options.php:1392
2705
+ msgid "not found"
2706
+ msgstr ""
2707
+
2708
+ #. translators: 1: ERROR tag 2: option name 3: action, e.g., update, delete, reset
2709
+ #: includes/class-mla-options.php:1798 includes/class-mla-options.php:1975
2710
+ #: includes/class-mla-options.php:2051 includes/class-mla-options.php:3839
2711
+ #: includes/class-mla-options.php:5289
2712
+ #, php-format
2713
+ msgid "%1$s: Custom %2$s unknown action \"%3$s\""
2714
+ msgstr ""
2715
+
2716
+ #: includes/class-mla-options.php:1889
2717
+ msgid "Support"
2718
+ msgstr ""
2719
+
2720
+ #: includes/class-mla-options.php:1890
2721
+ msgid "Inline Edit"
2722
+ msgstr ""
2723
+
2724
+ #: includes/class-mla-options.php:1891
2725
+ msgid "Term Search"
2726
+ msgstr ""
2727
+
2728
+ #: includes/class-mla-options.php:1892
2729
+ msgid "Checklist"
2730
+ msgstr ""
2731
+
2732
+ #: includes/class-mla-options.php:1893
2733
+ msgid "Checked On Top"
2734
+ msgstr ""
2735
+
2736
+ #: includes/class-mla-options.php:1894
2737
+ msgid "List Filter"
2738
+ msgstr ""
2739
+
2740
+ #: includes/class-mla-options.php:1895
2741
+ msgid "Taxonomy"
2742
+ msgstr ""
2743
+
2744
+ #. translators: 1: taxonomy name
2745
+ #: includes/class-mla-options.php:1914
2746
+ #, php-format
2747
+ msgid "List Filter ignored; %1$s not supported."
2748
+ msgstr ""
2749
+
2750
+ #. translators: 1: taxonomy name
2751
+ #: includes/class-mla-options.php:1921
2752
+ #, php-format
2753
+ msgid "Inline Edit ignored; %1$s not supported."
2754
+ msgstr ""
2755
+
2756
+ #. translators: 1: taxonomy name
2757
+ #: includes/class-mla-options.php:1929
2758
+ #, php-format
2759
+ msgid "Term Search ignored; %1$s not supported."
2760
+ msgstr ""
2761
+
2762
+ #. translators: 1: taxonomy name
2763
+ #: includes/class-mla-options.php:1939
2764
+ #, php-format
2765
+ msgid "Checklist ignored; %1$s not supported."
2766
+ msgstr ""
2767
+
2768
+ #. translators: 1: taxonomy name
2769
+ #: includes/class-mla-options.php:1947
2770
+ #, php-format
2771
+ msgid "Checked On Top ignored; %1$s not supported."
2772
+ msgstr ""
2773
+
2774
+ #. translators: 1: option name, e.g., taxonomy_support
2775
+ #: includes/class-mla-options.php:1965 includes/class-mla-options.php:2041
2776
+ #, php-format
2777
+ msgid "Update custom %1$s"
2778
+ msgstr ""
2779
+
2780
+ #. translators: 1: option name, e.g., taxonomy_support
2781
+ #: includes/class-mla-options.php:1972 includes/class-mla-options.php:2048
2782
+ #: includes/class-mla-options.php:5282
2783
+ #, php-format
2784
+ msgid "Reset custom %1$s"
2785
+ msgstr ""
2786
+
2787
+ #: includes/class-mla-options.php:2001
2788
+ #: includes/mla-main-search-box-template.php:46
2789
+ #: includes/mla-media-modal-js-template.php:31
2790
+ msgid "and"
2791
+ msgstr ""
2792
+
2793
+ #: includes/class-mla-options.php:2003
2794
+ #: includes/mla-main-search-box-template.php:48
2795
+ #: includes/mla-media-modal-js-template.php:35
2796
+ msgid "or"
2797
+ msgstr ""
2798
+
2799
+ #: includes/class-mla-options.php:2008 includes/class-mla-settings.php:2411
2800
+ #: includes/class-mla-settings.php:2444 includes/class-mla-settings.php:2470
2801
+ #: includes/class-mla-settings.php:2505 includes/class-mla-settings.php:2562
2802
+ #: includes/class-mla-settings.php:2612
2803
+ #: includes/mla-main-search-box-template.php:51
2804
+ #: includes/mla-media-modal-js-template.php:43
2805
+ msgid "Name"
2806
+ msgstr ""
2807
+
2808
+ #: includes/class-mla-options.php:2020
2809
+ #: includes/mla-main-search-box-template.php:55
2810
+ #: includes/mla-media-modal-js-template.php:61
2811
+ msgid "Terms"
2812
+ msgstr ""
2813
+
2814
+ #: includes/class-mla-options.php:3174 includes/class-mla-options.php:3303
2815
+ #: includes/class-mla-options.php:4315 includes/class-mla-options.php:4346
2816
+ #: includes/class-mla-settings.php:1842
2817
+ msgid "None (select a value)"
2818
+ msgstr ""
2819
+
2820
+ #: includes/class-mla-options.php:3310
2821
+ msgid "Metadata (see below)"
2822
+ msgstr ""
2823
+
2824
+ #: includes/class-mla-options.php:3317
2825
+ msgid "Template (see below)"
2826
+ msgstr ""
2827
+
2828
+ #. translators: 1: ERROR tag 2: custom field name
2829
+ #: includes/class-mla-options.php:3385 includes/class-mla-options.php:4623
2830
+ #, php-format
2831
+ msgid "%1$s: New field %2$s already exists."
2832
+ msgstr ""
2833
+
2834
+ #. translators: 1: custom field name
2835
+ #: includes/class-mla-options.php:3390 includes/class-mla-options.php:4628
2836
+ #, php-format
2837
+ msgid "Adding new field %1$s."
2838
+ msgstr ""
2839
+
2840
+ #. translators: 1: custom field name
2841
+ #: includes/class-mla-options.php:3398 includes/class-mla-options.php:4636
2842
+ #, php-format
2843
+ msgid "Adding new rule for %1$s."
2844
+ msgstr ""
2845
+
2846
+ #. translators: 1: custom field name
2847
+ #: includes/class-mla-options.php:3424 includes/class-mla-options.php:4497
2848
+ #: includes/class-mla-options.php:4662
2849
+ #, php-format
2850
+ msgid "Deleting rule for %1$s."
2851
+ msgstr ""
2852
+
2853
+ #. translators: 1: custom field name 2: attribute 3: old value 4: new value
2854
+ #: includes/class-mla-options.php:3447 includes/class-mla-options.php:3468
2855
+ #: includes/class-mla-options.php:3518 includes/class-mla-options.php:3525
2856
+ #: includes/class-mla-options.php:4413 includes/class-mla-options.php:4420
2857
+ #: includes/class-mla-options.php:4427 includes/class-mla-options.php:4522
2858
+ #: includes/class-mla-options.php:4529 includes/class-mla-options.php:4564
2859
+ #: includes/class-mla-options.php:4571 includes/class-mla-options.php:4672
2860
+ #: includes/class-mla-options.php:4679 includes/class-mla-options.php:4714
2861
+ #: includes/class-mla-options.php:4721
2862
+ #, php-format
2863
+ msgid "%1$s changing %2$s from %3$s to %4$s."
2864
+ msgstr ""
2865
+
2866
+ #: includes/class-mla-options.php:3447 includes/class-mla-options.php:3796
2867
+ msgid "Data Source"
2868
+ msgstr ""
2869
+
2870
+ #: includes/class-mla-options.php:3453 includes/class-mla-options.php:4447
2871
+ #: includes/class-mla-options.php:4549 includes/class-mla-options.php:4699
2872
+ msgid "Replace to Keep"
2873
+ msgstr ""
2874
+
2875
+ #: includes/class-mla-options.php:3456 includes/class-mla-options.php:4450
2876
+ #: includes/class-mla-options.php:4552 includes/class-mla-options.php:4702
2877
+ msgid "Keep to Replace"
2878
+ msgstr ""
2879
+
2880
+ #. translators: 1: custom field name 2: attribute 3: old value 'to' new value
2881
+ #: includes/class-mla-options.php:3461 includes/class-mla-options.php:3482
2882
+ #: includes/class-mla-options.php:3496 includes/class-mla-options.php:3510
2883
+ #: includes/class-mla-options.php:3539 includes/class-mla-options.php:4441
2884
+ #: includes/class-mla-options.php:4455 includes/class-mla-options.php:4543
2885
+ #: includes/class-mla-options.php:4557 includes/class-mla-options.php:4693
2886
+ #: includes/class-mla-options.php:4707 includes/class-mla-options.php:4735
2887
+ #, php-format
2888
+ msgid "%1$s changing %2$s value from %3$s."
2889
+ msgstr ""
2890
+
2891
+ #: includes/class-mla-options.php:3461 includes/class-mla-options.php:3797
2892
+ #: includes/class-mla-options.php:4455 includes/class-mla-options.php:4557
2893
+ #: includes/class-mla-options.php:4707 includes/class-mla-options.php:4861
2894
+ #: includes/class-mla-options.php:4947 includes/class-mla-options.php:5180
2895
+ msgid "Existing Text"
2896
+ msgstr ""
2897
+
2898
+ #: includes/class-mla-options.php:3468 includes/class-mla-options.php:3798
2899
+ #: includes/class-mla-options.php:4714 includes/class-mla-options.php:5009
2900
+ #: includes/class-mla-options.php:5104 includes/class-mla-options.php:5150
2901
+ msgid "Format"
2902
+ msgstr ""
2903
+
2904
+ #: includes/class-mla-options.php:3474 includes/class-mla-options.php:3488
2905
+ #: includes/class-mla-options.php:3502 includes/class-mla-options.php:3531
2906
+ #: includes/class-mla-options.php:4727
2907
+ msgid "unchecked to checked"
2908
+ msgstr ""
2909
+
2910
+ #: includes/class-mla-options.php:3477 includes/class-mla-options.php:3491
2911
+ #: includes/class-mla-options.php:3505 includes/class-mla-options.php:3534
2912
+ #: includes/class-mla-options.php:4730
2913
+ msgid "checked to unchecked"
2914
+ msgstr ""
2915
+
2916
+ #: includes/class-mla-options.php:3482 includes/class-mla-options.php:3799
2917
+ msgid "MLA Column"
2918
+ msgstr ""
2919
+
2920
+ #: includes/class-mla-options.php:3518
2921
+ msgid "Metavalue name"
2922
+ msgstr ""
2923
+
2924
+ #: includes/class-mla-options.php:3525 includes/class-mla-options.php:3633
2925
+ #: includes/class-mla-options.php:3732 includes/class-mla-options.php:3776
2926
+ #: includes/class-mla-options.php:4721 includes/class-mla-options.php:5016
2927
+ #: includes/class-mla-options.php:5111 includes/class-mla-options.php:5157
2928
+ msgid "Option"
2929
+ msgstr ""
2930
+
2931
+ #: includes/class-mla-options.php:3539 includes/class-mla-options.php:3645
2932
+ #: includes/class-mla-options.php:3744 includes/class-mla-options.php:3788
2933
+ #: includes/class-mla-options.php:4735 includes/class-mla-options.php:5028
2934
+ #: includes/class-mla-options.php:5123 includes/class-mla-options.php:5169
2935
+ msgid "Delete NULL values"
2936
+ msgstr ""
2937
+
2938
+ #: includes/class-mla-options.php:3578 includes/class-mla-options.php:4959
2939
+ msgid "No Custom Field Mapping Rules Defined"
2940
+ msgstr ""
2941
+
2942
+ #: includes/class-mla-options.php:3619 includes/class-mla-options.php:3718
2943
+ #: includes/class-mla-options.php:3762 includes/class-mla-options.php:4836
2944
+ #: includes/class-mla-options.php:4886 includes/class-mla-options.php:5006
2945
+ #: includes/class-mla-options.php:5101 includes/class-mla-options.php:5147
2946
+ #: includes/class-mla-thumbnail-generation.php:438
2947
+ msgid "Keep"
2948
+ msgstr ""
2949
+
2950
+ #: includes/class-mla-options.php:3623 includes/class-mla-options.php:3722
2951
+ #: includes/class-mla-options.php:3766 includes/class-mla-options.php:5011
2952
+ #: includes/class-mla-options.php:5106 includes/class-mla-options.php:5152
2953
+ msgid "Native"
2954
+ msgstr ""
2955
+
2956
+ #: includes/class-mla-options.php:3625 includes/class-mla-options.php:3724
2957
+ #: includes/class-mla-options.php:3768 includes/class-mla-options.php:5013
2958
+ #: includes/class-mla-options.php:5108 includes/class-mla-options.php:5154
2959
+ msgid "Commas"
2960
+ msgstr ""
2961
+
2962
+ #: includes/class-mla-options.php:3627 includes/class-mla-options.php:3726
2963
+ #: includes/class-mla-options.php:3770 includes/class-mla-options.php:5015
2964
+ #: includes/class-mla-options.php:5110 includes/class-mla-options.php:5156
2965
+ msgid "Raw"
2966
+ msgstr ""
2967
+
2968
+ #: includes/class-mla-options.php:3635 includes/class-mla-options.php:3734
2969
+ #: includes/class-mla-options.php:3778 includes/class-mla-options.php:5018
2970
+ #: includes/class-mla-options.php:5113 includes/class-mla-options.php:5159
2971
+ msgid "Text"
2972
+ msgstr ""
2973
+
2974
+ #: includes/class-mla-options.php:3637 includes/class-mla-options.php:3736
2975
+ #: includes/class-mla-options.php:3780 includes/class-mla-options.php:5020
2976
+ #: includes/class-mla-options.php:5115 includes/class-mla-options.php:5161
2977
+ msgid "Single"
2978
+ msgstr ""
2979
+
2980
+ #: includes/class-mla-options.php:3639 includes/class-mla-options.php:3738
2981
+ #: includes/class-mla-options.php:3782 includes/class-mla-options.php:5022
2982
+ #: includes/class-mla-options.php:5117 includes/class-mla-options.php:5163
2983
+ msgid "Export"
2984
+ msgstr ""
2985
+
2986
+ #: includes/class-mla-options.php:3641 includes/class-mla-options.php:3740
2987
+ #: includes/class-mla-options.php:3784 includes/class-mla-options.php:5024
2988
+ #: includes/class-mla-options.php:5119 includes/class-mla-options.php:5165
2989
+ msgid "Array"
2990
+ msgstr ""
2991
+
2992
+ #: includes/class-mla-options.php:3643 includes/class-mla-options.php:3742
2993
+ #: includes/class-mla-options.php:3786 includes/class-mla-options.php:5026
2994
+ #: includes/class-mla-options.php:5121 includes/class-mla-options.php:5167
2995
+ msgid "Multi"
2996
+ msgstr ""
2997
+
2998
+ #: includes/class-mla-options.php:3646 includes/class-mla-options.php:5029
2999
+ msgid "Delete Rule"
3000
+ msgstr ""
3001
+
3002
+ #: includes/class-mla-options.php:3647 includes/class-mla-options.php:5030
3003
+ msgid "Delete Rule AND Field"
3004
+ msgstr ""
3005
+
3006
+ #: includes/class-mla-options.php:3648 includes/class-mla-options.php:5031
3007
+ msgid "Update Rule"
3008
+ msgstr ""
3009
+
3010
+ #: includes/class-mla-options.php:3649 includes/class-mla-options.php:5032
3011
+ #: includes/class-mla-settings.php:735 includes/class-mla-settings.php:866
3012
+ msgid "Map All Attachments"
3013
+ msgstr ""
3014
+
3015
+ #: includes/class-mla-options.php:3713 includes/class-mla-options.php:5090
3016
+ msgid "Add a new Mapping Rule"
3017
+ msgstr ""
3018
+
3019
+ #: includes/class-mla-options.php:3745 includes/class-mla-options.php:5124
3020
+ msgid "Add Rule"
3021
+ msgstr ""
3022
+
3023
+ #: includes/class-mla-options.php:3746 includes/class-mla-options.php:5125
3024
+ msgid "Add Rule and Map All Attachments"
3025
+ msgstr ""
3026
+
3027
+ #: includes/class-mla-options.php:3757 includes/class-mla-options.php:5136
3028
+ msgid "Add a new Field and Mapping Rule"
3029
+ msgstr ""
3030
+
3031
+ #: includes/class-mla-options.php:3789 includes/class-mla-options.php:5170
3032
+ msgid "Add Field"
3033
+ msgstr ""
3034
+
3035
+ #: includes/class-mla-options.php:3790 includes/class-mla-options.php:5171
3036
+ msgid "Add Field and Map All Attachments"
3037
+ msgstr ""
3038
+
3039
+ #: includes/class-mla-options.php:3795 includes/class-mla-options.php:4413
3040
+ #: includes/class-mla-options.php:4857 includes/class-mla-options.php:4943
3041
+ #: includes/class-mla-options.php:5176
3042
+ msgid "Field Title"
3043
+ msgstr ""
3044
+
3045
+ #: includes/class-mla-options.php:3820
3046
+ msgid "Custom field mapping rules updated."
3047
+ msgstr ""
3048
+
3049
+ #: includes/class-mla-options.php:3822
3050
+ msgid "Custom field mapping rules update failed."
3051
+ msgstr ""
3052
+
3053
+ #: includes/class-mla-options.php:3825 includes/class-mla-settings.php:780
3054
+ #: includes/class-mla-settings.php:786
3055
+ msgid "Custom field no mapping rule changes detected."
3056
+ msgstr ""
3057
+
3058
+ #: includes/class-mla-options.php:3833
3059
+ msgid "Custom field mapping settings saved."
3060
+ msgstr ""
3061
+
3062
+ #: includes/class-mla-options.php:3835
3063
+ msgid "Custom field mapping settings reset failed."
3064
+ msgstr ""
3065
+
3066
+ #. translators: 1: ERROR tag 2: custom field name
3067
+ #: includes/class-mla-options.php:4401
3068
+ #, php-format
3069
+ msgid "%1$s: No old values for %2$s."
3070
+ msgstr ""
3071
+
3072
+ #: includes/class-mla-options.php:4420 includes/class-mla-options.php:4522
3073
+ #: includes/class-mla-options.php:4672 includes/class-mla-options.php:4858
3074
+ #: includes/class-mla-options.php:4944 includes/class-mla-options.php:5177
3075
+ msgid "IPTC Value"
3076
+ msgstr ""
3077
+
3078
+ #: includes/class-mla-options.php:4427 includes/class-mla-options.php:4529
3079
+ #: includes/class-mla-options.php:4679
3080
+ msgid "EXIF Value"
3081
+ msgstr ""
3082
+
3083
+ #: includes/class-mla-options.php:4433 includes/class-mla-options.php:4535
3084
+ #: includes/class-mla-options.php:4685
3085
+ msgid "EXIF to IPTC"
3086
+ msgstr ""
3087
+
3088
+ #: includes/class-mla-options.php:4436 includes/class-mla-options.php:4538
3089
+ #: includes/class-mla-options.php:4688
3090
+ msgid "IPTC to EXIF"
3091
+ msgstr ""
3092
+
3093
+ #: includes/class-mla-options.php:4441 includes/class-mla-options.php:4543
3094
+ #: includes/class-mla-options.php:4693 includes/class-mla-options.php:4860
3095
+ #: includes/class-mla-options.php:4946 includes/class-mla-options.php:5179
3096
+ msgid "Priority"
3097
+ msgstr ""
3098
+
3099
+ #: includes/class-mla-options.php:4564 includes/class-mla-options.php:4948
3100
+ msgid "Delimiter(s)"
3101
+ msgstr ""
3102
+
3103
+ #: includes/class-mla-options.php:4832 includes/class-mla-options.php:4882
3104
+ #: includes/class-mla-options.php:5002 includes/class-mla-options.php:5097
3105
+ #: includes/class-mla-options.php:5143
3106
+ msgid "IPTC"
3107
+ msgstr ""
3108
+
3109
+ #: includes/class-mla-options.php:4834 includes/class-mla-options.php:4884
3110
+ #: includes/class-mla-options.php:5004 includes/class-mla-options.php:5099
3111
+ #: includes/class-mla-options.php:5145
3112
+ msgid "EXIF"
3113
+ msgstr ""
3114
+
3115
+ #: includes/class-mla-options.php:4859 includes/class-mla-options.php:4945
3116
+ #: includes/class-mla-options.php:5178
3117
+ msgid "EXIF/Template Value"
3118
+ msgstr ""
3119
+
3120
+ #. translators: 1: ERROR tag 2: option name
3121
+ #: includes/class-mla-options.php:5188
3122
+ #, php-format
3123
+ msgid "%1$s: Render unknown custom %2$s."
3124
+ msgstr ""
3125
+
3126
+ #. translators: 1: ERROR tag 2: option name
3127
+ #: includes/class-mla-options.php:5232
3128
+ #, php-format
3129
+ msgid "%1$s: Update/delete unknown custom %2$s."
3130
+ msgstr ""
3131
+
3132
+ #: includes/class-mla-options.php:5238
3133
+ msgid "IPTC/EXIF mapping settings updated."
3134
+ msgstr ""
3135
+
3136
+ #: includes/class-mla-options.php:5240
3137
+ msgid "IPTC/EXIF settings update failed."
3138
+ msgstr ""
3139
+
3140
+ #: includes/class-mla-options.php:5243 includes/class-mla-settings.php:914
3141
+ #: includes/class-mla-settings.php:920
3142
+ msgid "IPTC/EXIF no mapping changes detected."
3143
+ msgstr ""
3144
+
3145
+ #. translators: 1: field type
3146
+ #: includes/class-mla-options.php:5254 includes/class-mla-options.php:5264
3147
+ #: includes/class-mla-options.php:5274 includes/class-mla-settings.php:3532
3148
+ #, php-format
3149
+ msgid "%1$s settings saved."
3150
+ msgstr ""
3151
+
3152
+ #: includes/class-mla-options.php:5254 includes/class-mla-options.php:5257
3153
+ #: includes/class-mla-settings.php:3777 includes/class-mla-settings.php:3816
3154
+ #: includes/class-mla-settings.php:3819
3155
+ msgid "Standard field"
3156
+ msgstr ""
3157
+
3158
+ #. translators: 1: ERROR tag 2: field type
3159
+ #: includes/class-mla-options.php:5257 includes/class-mla-options.php:5267
3160
+ #: includes/class-mla-options.php:5277
3161
+ #, php-format
3162
+ msgid "%1$s: IPTC/EXIF %2$s settings update failed."
3163
+ msgstr ""
3164
+
3165
+ #: includes/class-mla-options.php:5264 includes/class-mla-options.php:5267
3166
+ #: includes/class-mla-settings.php:3848 includes/class-mla-settings.php:3887
3167
+ #: includes/class-mla-settings.php:3890
3168
+ msgid "Taxonomy term"
3169
+ msgstr ""
3170
+
3171
+ #: includes/class-mla-options.php:5274 includes/class-mla-options.php:5277
3172
+ #: includes/class-mla-settings.php:3677 includes/class-mla-settings.php:3680
3173
+ #: includes/class-mla-settings.php:3934 includes/class-mla-settings.php:3973
3174
+ #: includes/class-mla-settings.php:3976
3175
+ msgid "Custom field"
3176
+ msgstr ""
3177
+
3178
+ #. translators: 1: ERROR tag 2: option name, e.g., taxonomy_support
3179
+ #: includes/class-mla-options.php:5285
3180
+ #, php-format
3181
+ msgid "%1$s: Reset unknown custom %2$s"
3182
+ msgstr ""
3183
+
3184
+ #: includes/class-mla-polylang-support.php:280
3185
+ msgid "ERROR: No post ID found"
3186
+ msgstr ""
3187
+
3188
+ #: includes/class-mla-polylang-support.php:380
3189
+ msgid "Error while saving the translations."
3190
+ msgstr ""
3191
+
3192
+ #: includes/class-mla-polylang-support.php:381
3193
+ msgid "Remove From Bulk Translate"
3194
+ msgstr ""
3195
+
3196
+ #: includes/class-mla-polylang-support.php:383
3197
+ msgid "Bulk Translate items"
3198
+ msgstr ""
3199
+
3200
+ #: includes/class-mla-polylang-support.php:384
3201
+ msgid "Add new"
3202
+ msgstr ""
3203
+
3204
+ #: includes/class-mla-polylang-support.php:1486
3205
+ #: includes/class-mla-polylang-support.php:1827
3206
+ #: includes/class-mla-thumbnail-generation.php:473
3207
+ msgid "Bulk Translations"
3208
+ msgstr ""
3209
+
3210
+ #: includes/class-mla-polylang-support.php:1510
3211
+ msgid "Translate"
3212
+ msgstr ""
3213
+
3214
+ #: includes/class-mla-polylang-support.php:1628
3215
+ msgid "All Languages"
3216
+ msgstr ""
3217
+
3218
+ #: includes/class-mla-polylang-support.php:1635
3219
+ #: includes/class-mla-polylang-support.php:1892
3220
+ #: includes/class-mla-polylang-support.php:2036
3221
+ msgid "Quick Translate"
3222
+ msgstr ""
3223
+
3224
+ #: includes/class-mla-polylang-support.php:1639
3225
+ msgid "Set Language"
3226
+ msgstr ""
3227
+
3228
+ #: includes/class-mla-polylang-support.php:1640
3229
+ #: includes/class-mla-polylang-support.php:2043
3230
+ msgid "Bulk Translate"
3231
+ msgstr ""
3232
+
3233
+ #: includes/class-mla-polylang-support.php:1641
3234
+ msgid "Add or Modify Translation"
3235
+ msgstr ""
3236
+
3237
+ #: includes/class-mla-polylang-support.php:1642
3238
+ #: includes/class-mla-polylang-support.php:1693
3239
+ #: includes/class-mla-polylang-support.php:1982
3240
+ #: includes/class-mla-polylang-support.php:2079
3241
+ #: includes/class-mla-wpml-support.php:1242
3242
+ #: includes/class-mla-wpml-support.php:1325
3243
+ #: includes/class-mla-wpml-support.php:1748
3244
+ msgid "Language"
3245
+ msgstr ""
3246
+
3247
+ #: includes/class-mla-polylang-support.php:1644
3248
+ #: includes/class-mla-thumbnail-generation.php:444
3249
+ msgid "Options"
3250
+ msgstr ""
3251
+
3252
+ #: includes/class-mla-polylang-support.php:1892
3253
+ msgid "Translate this item inline"
3254
+ msgstr ""
3255
+
3256
+ #: includes/class-mla-polylang-support.php:2017
3257
+ #: includes/class-mla-polylang-support.php:2106
3258
+ #: includes/class-mla-wpml-support.php:1277
3259
+ #: includes/class-mla-wpml-support.php:1352
3260
+ msgid "Media/Assistant submenu table"
3261
+ msgstr ""
3262
+
3263
+ #: includes/class-mla-polylang-support.php:2022
3264
+ #: includes/class-mla-wpml-support.php:1282
3265
+ msgid "Language Column"
3266
+ msgstr ""
3267
+
3268
+ #: includes/class-mla-polylang-support.php:2025
3269
+ #: includes/class-mla-wpml-support.php:1285
3270
+ msgid ""
3271
+ "Check this option to add a Language column to the Media/Assistant submenu "
3272
+ "table."
3273
+ msgstr ""
3274
+
3275
+ #: includes/class-mla-polylang-support.php:2029
3276
+ #: includes/class-mla-wpml-support.php:1289
3277
+ msgid "Translations Column"
3278
+ msgstr ""
3279
+
3280
+ #: includes/class-mla-polylang-support.php:2032
3281
+ #: includes/class-mla-wpml-support.php:1292
3282
+ msgid ""
3283
+ "Check this option to add a Translation Status column to the Media/Assistant "
3284
+ "submenu table."
3285
+ msgstr ""
3286
+
3287
+ #: includes/class-mla-polylang-support.php:2039
3288
+ msgid ""
3289
+ "Check this option to add a Quick Translate rollover action to the Media/"
3290
+ "Assistant submenu table."
3291
+ msgstr ""
3292
+
3293
+ #: includes/class-mla-polylang-support.php:2046
3294
+ msgid ""
3295
+ "Check this option to add \"Translate\" to the \"Bulk Actions\" control on "
3296
+ "the Media/Assistant submenu table."
3297
+ msgstr ""
3298
+
3299
+ #: includes/class-mla-polylang-support.php:2050
3300
+ #: includes/class-mla-polylang-support.php:2106
3301
+ #: includes/class-mla-wpml-support.php:1296
3302
+ #: includes/class-mla-wpml-support.php:1352
3303
+ msgid "Term Management"
3304
+ msgstr ""
3305
+
3306
+ #: includes/class-mla-polylang-support.php:2055
3307
+ #: includes/class-mla-wpml-support.php:1301
3308
+ msgid "Term Assignment"
3309
+ msgstr ""
3310
+
3311
+ #: includes/class-mla-polylang-support.php:2058
3312
+ #: includes/class-mla-wpml-support.php:1304
3313
+ msgid ""
3314
+ "Check this option to assign language-specific terms when items are updated."
3315
+ msgstr ""
3316
+
3317
+ #: includes/class-mla-polylang-support.php:2062
3318
+ #: includes/class-mla-wpml-support.php:1308
3319
+ msgid "Term Synchronization"
3320
+ msgstr ""
3321
+
3322
+ #: includes/class-mla-polylang-support.php:2065
3323
+ #: includes/class-mla-wpml-support.php:1311
3324
+ msgid ""
3325
+ "Check this option to synchronize common terms among all item translations."
3326
+ msgstr ""
3327
+
3328
+ #: includes/class-mla-polylang-support.php:2104
3329
+ #: includes/class-mla-wpml-support.php:1350
3330
+ msgid "Language Options"
3331
+ msgstr ""
3332
+
3333
+ #. translators: 1: - 4: page subheader values
3334
+ #: includes/class-mla-polylang-support.php:2106
3335
+ #, php-format
3336
+ msgid ""
3337
+ "In this tab you can find a number of options for controlling Polylang-"
3338
+ "specific operations. Scroll down to find options for %1$s and %2$s. Be sure "
3339
+ "to click \"Save Changes\" at the bottom of the tab to save any changes you "
3340
+ "make."
3341
+ msgstr ""
3342
+
3343
+ #. translators: 1: Documentation hyperlink
3344
+ #: includes/class-mla-polylang-support.php:2108
3345
+ #: includes/class-mla-wpml-support.php:1354
3346
+ #, php-format
3347
+ msgid ""
3348
+ "You can find more information about multilingual features in the %1$s "
3349
+ "section of the Documentation."
3350
+ msgstr ""
3351
+
3352
+ #: includes/class-mla-polylang-support.php:2108
3353
+ #: includes/class-mla-wpml-support.php:1354
3354
+ msgid "Language Options documentation"
3355
+ msgstr ""
3356
+
3357
+ #: includes/class-mla-polylang-support.php:2108
3358
+ #: includes/class-mla-wpml-support.php:1354
3359
+ msgid "WPML &amp; Polylang Multilingual Support; the MLA Language Tab"
3360
+ msgstr ""
3361
+
3362
+ #: includes/class-mla-polylang-support.php:2110
3363
+ #: includes/class-mla-settings.php:1364 includes/class-mla-settings.php:1721
3364
+ #: includes/class-mla-settings.php:1774 includes/class-mla-settings.php:2190
3365
+ #: includes/class-mla-settings.php:2240 includes/class-mla-settings.php:2328
3366
+ #: includes/class-mla-settings.php:2770 includes/class-mla-settings.php:2773
3367
+ #: includes/class-mla-settings.php:2912 includes/class-mla-settings.php:2914
3368
+ #: includes/class-mla-settings.php:3198 includes/class-mla-settings.php:3200
3369
+ #: includes/class-mla-wpml-support.php:1356
3370
+ msgid "Save Changes"
3371
+ msgstr ""
3372
+
3373
+ #: includes/class-mla-polylang-support.php:2111
3374
+ #: includes/class-mla-wpml-support.php:1357
3375
+ msgid "Delete Language options and restore default settings"
3376
+ msgstr ""
3377
+
3378
+ #: includes/class-mla-polylang-support.php:2114
3379
+ #: includes/class-mla-settings.php:1103 includes/class-mla-settings.php:1369
3380
+ #: includes/class-mla-settings.php:2323
3381
+ #: includes/class-mla-wpml-support.php:1360
3382
+ msgid "Go to Top"
3383
+ msgstr ""
3384
+
3385
+ #: includes/class-mla-polylang-support.php:2151
3386
+ #: includes/class-mla-wpml-support.php:1397
3387
+ msgid "Language settings saved."
3388
+ msgstr ""
3389
+
3390
+ #. translators: 1: option name
3391
+ #: includes/class-mla-polylang-support.php:2182
3392
+ #: includes/class-mla-settings.php:4153
3393
+ #: includes/class-mla-wpml-support.php:1428
3394
+ #, php-format
3395
+ msgctxt "message_list"
3396
+ msgid "delete_option \"%1$s\""
3397
+ msgstr ""
3398
+
3399
+ #: includes/class-mla-polylang-support.php:2190
3400
+ #: includes/class-mla-wpml-support.php:1436
3401
+ msgid "Language settings reset to default values."
3402
+ msgstr ""
3403
+
3404
+ #: includes/class-mla-settings.php:363
3405
+ msgid "no slug"
3406
+ msgstr ""
3407
+
3408
+ #: includes/class-mla-settings.php:379
3409
+ msgid "Running"
3410
+ msgstr ""
3411
+
3412
+ #: includes/class-mla-settings.php:384
3413
+ msgid "Skipped"
3414
+ msgstr ""
3415
+
3416
+ #: includes/class-mla-settings.php:385
3417
+ msgid "Reprocessed"
3418
+ msgstr ""
3419
+
3420
+ #: includes/class-mla-settings.php:471 includes/class-mla-settings.php:984
3421
+ #: includes/class-mla-settings.php:3239
3422
+ msgid "Settings"
3423
+ msgstr ""
3424
+
3425
+ #: includes/class-mla-settings.php:490
3426
+ msgid "Views per page"
3427
+ msgstr ""
3428
+
3429
+ #: includes/class-mla-settings.php:501
3430
+ msgid "Types per page"
3431
+ msgstr ""
3432
+
3433
+ #: includes/class-mla-settings.php:512
3434
+ msgid "Upload types per page"
3435
+ msgstr ""
3436
+
3437
+ #: includes/class-mla-settings.php:648
3438
+ msgid "No view slug found"
3439
+ msgstr ""
3440
+
3441
+ #: includes/class-mla-settings.php:691
3442
+ msgid "No upload slug found"
3443
+ msgstr ""
3444
+
3445
+ #: includes/class-mla-settings.php:731 includes/class-mla-settings.php:2771
3446
+ #: includes/class-mla-settings.php:2775
3447
+ msgid "Map All Rules, All Attachments Now"
3448
+ msgstr ""
3449
+
3450
+ #: includes/class-mla-settings.php:855 includes/class-mla-settings.php:2904
3451
+ msgid "Map All Attachments, Standard Fields Now"
3452
+ msgstr ""
3453
+
3454
+ #: includes/class-mla-settings.php:858 includes/class-mla-settings.php:2907
3455
+ msgid "Map All Attachments, Taxonomy Terms Now"
3456
+ msgstr ""
3457
+
3458
+ #: includes/class-mla-settings.php:861 includes/class-mla-settings.php:2910
3459
+ msgid "Map All Attachments, Custom Fields Now"
3460
+ msgstr ""
3461
+
3462
+ #. translators: 1: ERROR tag 2: function name 3: option type, e.g., radio, select, text
3463
+ #: includes/class-mla-settings.php:1033 includes/class-mla-settings.php:1066
3464
+ #: includes/class-mla-settings.php:1205
3465
+ #, php-format
3466
+ msgctxt "error_log"
3467
+ msgid "%1$s: %2$s unknown type = \"%3$s\""
3468
+ msgstr ""
3469
+
3470
+ #: includes/class-mla-settings.php:1254
3471
+ msgid "General"
3472
+ msgstr ""
3473
+
3474
+ #: includes/class-mla-settings.php:1255
3475
+ msgid "Views"
3476
+ msgstr ""
3477
+
3478
+ #: includes/class-mla-settings.php:1256
3479
+ msgid "Uploads"
3480
+ msgstr ""
3481
+
3482
+ #: includes/class-mla-settings.php:1257 includes/class-mla-settings.php:3532
3483
+ #: includes/class-mla-settings.php:3535
3484
+ msgid "MLA Gallery"
3485
+ msgstr ""
3486
+
3487
+ #: includes/class-mla-settings.php:1258
3488
+ msgid "Custom Fields"
3489
+ msgstr ""
3490
+
3491
+ #: includes/class-mla-settings.php:1260
3492
+ msgid "Documentation"
3493
+ msgstr ""
3494
+
3495
+ #: includes/class-mla-settings.php:1261
3496
+ msgid "Debug"
3497
+ msgstr ""
3498
+
3499
+ #: includes/class-mla-settings.php:1361
3500
+ msgid "General Processing Options"
3501
+ msgstr ""
3502
+
3503
+ #. translators: 1: - 4: page subheader values
3504
+ #: includes/class-mla-settings.php:1363
3505
+ #, php-format
3506
+ msgid ""
3507
+ "In this tab you can find a number of options for controlling the "
3508
+ "plugin&rsquo;s operation. Scroll down to find options for %1$s, %2$s, %3$s "
3509
+ "and %4$s. Be sure to click \"Save Changes\" at the bottom of the tab to save "
3510
+ "any changes you make."
3511
+ msgstr ""
3512
+
3513
+ #: includes/class-mla-settings.php:1363
3514
+ msgid "Media/Assistant Table Defaults"
3515
+ msgstr ""
3516
+
3517
+ #: includes/class-mla-settings.php:1363
3518
+ msgid "Media Manager Enhancements"
3519
+ msgstr ""
3520
+
3521
+ #: includes/class-mla-settings.php:1365
3522
+ msgid "Export ALL Settings"
3523
+ msgstr ""
3524
+
3525
+ #: includes/class-mla-settings.php:1366
3526
+ msgid "Delete General options and restore default settings"
3527
+ msgstr ""
3528
+
3529
+ #: includes/class-mla-settings.php:1370 includes/class-mla-settings.php:3231
3530
+ msgid "Support Our Work"
3531
+ msgstr ""
3532
+
3533
+ #: includes/class-mla-settings.php:1371 includes/class-mla-settings.php:1374
3534
+ msgid "Donate to FTJ"
3535
+ msgstr ""
3536
+
3537
+ #: includes/class-mla-settings.php:1372 includes/class-mla-settings.php:3232
3538
+ msgid "Donate"
3539
+ msgstr ""
3540
+
3541
+ #. translators: 1: donation hyperlink
3542
+ #: includes/class-mla-settings.php:1374
3543
+ #, php-format
3544
+ msgid ""
3545
+ "This plugin was inspired by my work on the WordPress web site for our "
3546
+ "nonprofit, Fair Trade Judaica. If you find the Media Library Assistant "
3547
+ "plugin useful and would like to support a great cause, consider a %1$s to "
3548
+ "our work. Thank you!"
3549
+ msgstr ""
3550
+
3551
+ #: includes/class-mla-settings.php:1374
3552
+ msgid "tax-deductible donation"
3553
+ msgstr ""
3554
+
3555
+ #: includes/class-mla-settings.php:1394
3556
+ msgid "enhanced version of the WordPress [gallery] shortcode."
3557
+ msgstr ""
3558
+
3559
+ #: includes/class-mla-settings.php:1395
3560
+ msgid "enhanced version of the WordPress Tag Cloud."
3561
+ msgstr ""
3562
+
3563
+ #: includes/class-mla-settings.php:1407
3564
+ msgid "Shortcodes made available by this plugin"
3565
+ msgstr ""
3566
+
3567
+ #: includes/class-mla-settings.php:1515
3568
+ msgid "Edit View"
3569
+ msgstr ""
3570
+
3571
+ #: includes/class-mla-settings.php:1521 includes/class-mla-settings.php:1778
3572
+ msgid ""
3573
+ "The &#8220;slug&#8221; is the URL-friendly, unique key for the view. It must "
3574
+ "be all lowercase and contain only letters, numbers, periods (.), slashes (/) "
3575
+ "and hyphens (-). For &#8220;<strong>Post MIME Type</strong>&#8221; views, "
3576
+ "the slug is also the MIME type specification and <strong>must be a valid "
3577
+ "MIME</strong> type, e.g., &#8220;image&#8221; or &#8220;image/jpeg&#8221;."
3578
+ msgstr ""
3579
+
3580
+ #: includes/class-mla-settings.php:1522 includes/class-mla-settings.php:1779
3581
+ msgid "Singular Label"
3582
+ msgstr ""
3583
+
3584
+ #: includes/class-mla-settings.php:1523 includes/class-mla-settings.php:1780
3585
+ msgid "Plural Label"
3586
+ msgstr ""
3587
+
3588
+ #: includes/class-mla-settings.php:1524 includes/class-mla-settings.php:1781
3589
+ msgid ""
3590
+ "The labels, e.g., &#8220;Image&#8221; and &#8220;Images&#8221; are used for "
3591
+ "column headers and other display purposes."
3592
+ msgstr ""
3593
+
3594
+ #: includes/class-mla-settings.php:1525 includes/class-mla-settings.php:1782
3595
+ msgid "Specification"
3596
+ msgstr ""
3597
+
3598
+ #: includes/class-mla-settings.php:1526 includes/class-mla-settings.php:1783
3599
+ msgid ""
3600
+ "If the MIME type specification differs from the slug, enter it here. You may "
3601
+ "include multiple MIME types, e.g., &#8220;audio,video&#8221; and/or wildcard "
3602
+ "specs, e.g., &#8220;*/*ms*&#8221;. This field will be ignored if the Post "
3603
+ "MIME Type box is checked."
3604
+ msgstr ""
3605
+
3606
+ #: includes/class-mla-settings.php:1527 includes/class-mla-settings.php:1784
3607
+ msgid "Post MIME Type"
3608
+ msgstr ""
3609
+
3610
+ #: includes/class-mla-settings.php:1528 includes/class-mla-settings.php:1785
3611
+ msgid ""
3612
+ "Check this box if you want to add this entry to the list of MIME types "
3613
+ "returned by wp_get_mime_types()."
3614
+ msgstr ""
3615
+
3616
+ #: includes/class-mla-settings.php:1529 includes/class-mla-settings.php:1786
3617
+ msgid "Table View"
3618
+ msgstr ""
3619
+
3620
+ #: includes/class-mla-settings.php:1530 includes/class-mla-settings.php:1787
3621
+ msgid ""
3622
+ "Check this box if you want to add this entry to the list of Media/Assistant "
3623
+ "table views."
3624
+ msgstr ""
3625
+
3626
+ #: includes/class-mla-settings.php:1532 includes/class-mla-settings.php:1789
3627
+ msgid ""
3628
+ "You can choose your own table view order by entering a number (1 for first, "
3629
+ "etc.) in this field."
3630
+ msgstr ""
3631
+
3632
+ #: includes/class-mla-settings.php:1534 includes/class-mla-settings.php:1791
3633
+ #: includes/class-mla-settings.php:1889 includes/class-mla-settings.php:2253
3634
+ msgid ""
3635
+ "The description can contain any documentation or notes you need to "
3636
+ "understand or use the item."
3637
+ msgstr ""
3638
+
3639
+ #. translators: 1: bulk_action, e.g., delete, edit, restore, trash
3640
+ #: includes/class-mla-settings.php:1645 includes/class-mla-settings.php:2111
3641
+ #, php-format
3642
+ msgid "Unknown bulk action %1$s"
3643
+ msgstr ""
3644
+
3645
+ #. translators: 1: view name/slug
3646
+ #: includes/class-mla-settings.php:1684 includes/class-mla-settings.php:2153
3647
+ #, php-format
3648
+ msgid "Edit view \"%1$s\" cancelled."
3649
+ msgstr ""
3650
+
3651
+ #: includes/class-mla-settings.php:1718
3652
+ msgid "View and Post MIME Type Support is disabled"
3653
+ msgstr ""
3654
+
3655
+ #: includes/class-mla-settings.php:1763 includes/class-mla-settings.php:1766
3656
+ msgid "Library Views/Post MIME Type Processing"
3657
+ msgstr ""
3658
+
3659
+ #: includes/class-mla-settings.php:1764
3660
+ msgid ""
3661
+ "In this tab you can manage the list of \"Post MIME Types\", which are used "
3662
+ "by WordPress to define the views for the <em><strong>Media/Library</strong></"
3663
+ "em> screen and the <em><strong>Media Manager/Add Media</strong></em> \"media "
3664
+ "items\" drop down list. MLA&rsquo;s <em><strong>Media/Assistant</strong></"
3665
+ "em> screen uses an enhanced version of the list, <em>Table Views</em>, to "
3666
+ "support views with multiple MIME Types (e.g., \"audio,video\") and wildcard "
3667
+ "specifications (e.g. \"*/*ms*\")."
3668
+ msgstr ""
3669
+
3670
+ #. translators: 1: Documentation hyperlink
3671
+ #: includes/class-mla-settings.php:1766
3672
+ #, php-format
3673
+ msgid ""
3674
+ "You can find more information about library views, Post MIME types and how "
3675
+ "MLA and WordPress use them in the %1$s section of the Documentation or by "
3676
+ "clicking the <strong>\"Help\"</strong> tab in the upper-right corner of this "
3677
+ "screen."
3678
+ msgstr ""
3679
+
3680
+ #: includes/class-mla-settings.php:1766
3681
+ msgid "Library View Processing documentation"
3682
+ msgstr ""
3683
+
3684
+ #: includes/class-mla-settings.php:1770 includes/class-mla-settings.php:1959
3685
+ #: includes/class-mla-settings.php:2265
3686
+ msgid "Displaying search results for"
3687
+ msgstr ""
3688
+
3689
+ #: includes/class-mla-settings.php:1771
3690
+ msgid "Search Views"
3691
+ msgstr ""
3692
+
3693
+ #: includes/class-mla-settings.php:1792
3694
+ msgid "Add View"
3695
+ msgstr ""
3696
+
3697
+ #: includes/class-mla-settings.php:1794 includes/class-mla-settings.php:2258
3698
+ msgid "<strong>Quick Edit</strong>"
3699
+ msgstr ""
3700
+
3701
+ #: includes/class-mla-settings.php:1874
3702
+ msgid "Edit Upload MIME Type"
3703
+ msgstr ""
3704
+
3705
+ #: includes/class-mla-settings.php:1880
3706
+ msgid ""
3707
+ "The &#8220;extension&#8221; is the file extension for this type, and a "
3708
+ "unique key for the item. It must be all lowercase and contain only letters "
3709
+ "and numbers."
3710
+ msgstr ""
3711
+
3712
+ #: includes/class-mla-settings.php:1882 includes/class-mla-settings.php:2247
3713
+ msgid ""
3714
+ "The MIME Type must be all lowercase and contain only letters, numbers, "
3715
+ "periods (.), slashes (/) and hyphens (-). It <strong>must be a valid MIME</"
3716
+ "strong> type, e.g., &#8220;image&#8221; or &#8220;image/jpeg&#8221;."
3717
+ msgstr ""
3718
+
3719
+ #: includes/class-mla-settings.php:1883 includes/class-mla-settings.php:2248
3720
+ msgid "Icon Type"
3721
+ msgstr ""
3722
+
3723
+ #: includes/class-mla-settings.php:1885 includes/class-mla-settings.php:2249
3724
+ msgid ""
3725
+ "The Icon Type selects a thumbnail image displayed for non-image file types, "
3726
+ "such as PDF documents."
3727
+ msgstr ""
3728
+
3729
+ #: includes/class-mla-settings.php:1886 includes/class-mla-settings.php:2250
3730
+ #: includes/class-mla-upload-list-table.php:515
3731
+ msgid "Inactive"
3732
+ msgstr ""
3733
+
3734
+ #: includes/class-mla-settings.php:1887 includes/class-mla-settings.php:2251
3735
+ msgid ""
3736
+ "Check this box if you want to remove this entry from the list of Upload MIME "
3737
+ "Types returned by get_allowed_mime_types()."
3738
+ msgstr ""
3739
+
3740
+ #: includes/class-mla-settings.php:1958
3741
+ msgid "Known File Extension/MIME Type Associations"
3742
+ msgstr ""
3743
+
3744
+ #: includes/class-mla-settings.php:1960
3745
+ msgid "Search Known MIME Types"
3746
+ msgstr ""
3747
+
3748
+ #: includes/class-mla-settings.php:1962 includes/class-mla-settings.php:2236
3749
+ msgid "To search by extension, use \".\", e.g., \".doc\""
3750
+ msgstr ""
3751
+
3752
+ #: includes/class-mla-settings.php:2187
3753
+ msgid "Upload MIME Type Support is disabled"
3754
+ msgstr ""
3755
+
3756
+ #: includes/class-mla-settings.php:2230 includes/class-mla-settings.php:2233
3757
+ msgid "File Extension and MIME Type Processing"
3758
+ msgstr ""
3759
+
3760
+ #: includes/class-mla-settings.php:2231
3761
+ msgid ""
3762
+ "In this tab you can manage the list of file extension/MIME Type "
3763
+ "associations, which are used by WordPress to decide what kind of files can "
3764
+ "be uploaded to the Media Library and to fill in the "
3765
+ "<strong><em>post_mime_type</em></strong> value. To upload a file, the file "
3766
+ "extension must be in this list and be active."
3767
+ msgstr ""
3768
+
3769
+ #. translators: 1: Documentation hyperlink
3770
+ #: includes/class-mla-settings.php:2233
3771
+ #, php-format
3772
+ msgid ""
3773
+ "You can find more information about file extensions, MIME types and how "
3774
+ "WordPress uses them in the %1$s section of the Documentation or by clicking "
3775
+ "the <strong>\"Help\"</strong> tab in the upper-right corner of this screen."
3776
+ msgstr ""
3777
+
3778
+ #: includes/class-mla-settings.php:2233
3779
+ msgid "File Extension Processing documentation"
3780
+ msgstr ""
3781
+
3782
+ #: includes/class-mla-settings.php:2235
3783
+ msgid "Search Uploads"
3784
+ msgstr ""
3785
+
3786
+ #: includes/class-mla-settings.php:2242
3787
+ msgid "Upload MIME Type"
3788
+ msgstr ""
3789
+
3790
+ #: includes/class-mla-settings.php:2243
3791
+ msgid ""
3792
+ "To search the database of over 1,500 known extension/type associations, "
3793
+ "click \"Search Known Types\" below the form."
3794
+ msgstr ""
3795
+
3796
+ #: includes/class-mla-settings.php:2245
3797
+ msgid ""
3798
+ "The &#8220;extension&#8221; is the file extension for this type, and unique "
3799
+ "key for the item. It must be all lowercase and contain only letters and "
3800
+ "numbers."
3801
+ msgstr ""
3802
+
3803
+ #: includes/class-mla-settings.php:2254
3804
+ msgid "Add Upload MIME Type"
3805
+ msgstr ""
3806
+
3807
+ #: includes/class-mla-settings.php:2256
3808
+ msgid "Search Known Types"
3809
+ msgstr ""
3810
+
3811
+ #: includes/class-mla-settings.php:2264
3812
+ #: includes/class-mla-upload-list-table.php:517
3813
+ msgid "Active"
3814
+ msgstr ""
3815
+
3816
+ #: includes/class-mla-settings.php:2317
3817
+ msgid "MLA Gallery Options"
3818
+ msgstr ""
3819
+
3820
+ #: includes/class-mla-settings.php:2318
3821
+ msgid "Go to Style Templates"
3822
+ msgstr ""
3823
+
3824
+ #: includes/class-mla-settings.php:2319
3825
+ msgid "Go to Markup Templates"
3826
+ msgstr ""
3827
+
3828
+ #: includes/class-mla-settings.php:2320
3829
+ msgid ""
3830
+ "In this tab you can view the default style and markup templates. You can "
3831
+ "also define additional templates and use the <code>mla_style</code> and "
3832
+ "<code>mla_markup</code> parameters to apply them in your "
3833
+ "<code>[mla_gallery]</code> shortcodes. <strong>NOTE:</strong> template "
3834
+ "additions and changes will not be made permanent until you click \"Save "
3835
+ "Changes\" at the bottom of this page."
3836
+ msgstr ""
3837
+
3838
+ #: includes/class-mla-settings.php:2324
3839
+ msgid "Style Templates"
3840
+ msgstr ""
3841
+
3842
+ #: includes/class-mla-settings.php:2326
3843
+ msgid "Markup Templates"
3844
+ msgstr ""
3845
+
3846
+ #: includes/class-mla-settings.php:2339
3847
+ msgid "Theme"
3848
+ msgstr ""
3849
+
3850
+ #: includes/class-mla-settings.php:2368
3851
+ msgid "Imagick support is not installed."
3852
+ msgstr ""
3853
+
3854
+ #: includes/class-mla-settings.php:2375
3855
+ msgid "Ghostscript support is not installed."
3856
+ msgstr ""
3857
+
3858
+ #: includes/class-mla-settings.php:2379
3859
+ msgid "WARNING: MLA Viewer support may not be available"
3860
+ msgstr ""
3861
+
3862
+ #: includes/class-mla-settings.php:2406
3863
+ msgid ""
3864
+ "This default template cannot be altered or deleted, but you can copy the "
3865
+ "styles."
3866
+ msgstr ""
3867
+
3868
+ #: includes/class-mla-settings.php:2417 includes/class-mla-settings.php:2450
3869
+ #: includes/class-mla-settings.php:2476
3870
+ msgid "Styles"
3871
+ msgstr ""
3872
+
3873
+ #: includes/class-mla-settings.php:2421 includes/class-mla-settings.php:2454
3874
+ #: includes/class-mla-settings.php:2480
3875
+ msgid ""
3876
+ "List of substitution parameters, e.g., [+selector+], on Documentation tab."
3877
+ msgstr ""
3878
+
3879
+ #: includes/class-mla-settings.php:2438 includes/class-mla-settings.php:2556
3880
+ msgid "Delete this template"
3881
+ msgstr ""
3882
+
3883
+ #: includes/class-mla-settings.php:2439 includes/class-mla-settings.php:2557
3884
+ msgid ""
3885
+ "Check the box to delete this template when you press Update at the bottom of "
3886
+ "the page."
3887
+ msgstr ""
3888
+
3889
+ #: includes/class-mla-settings.php:2465
3890
+ msgid "Fill in a name and styles to add a new template."
3891
+ msgstr ""
3892
+
3893
+ #: includes/class-mla-settings.php:2500
3894
+ msgid ""
3895
+ "This default template cannot be altered or deleted, but you can copy the "
3896
+ "markup."
3897
+ msgstr ""
3898
+
3899
+ #: includes/class-mla-settings.php:2512 includes/class-mla-settings.php:2569
3900
+ #: includes/class-mla-settings.php:2619
3901
+ msgid "Open"
3902
+ msgstr ""
3903
+
3904
+ #: includes/class-mla-settings.php:2516 includes/class-mla-settings.php:2573
3905
+ #: includes/class-mla-settings.php:2623
3906
+ msgid ""
3907
+ "Markup for the beginning of the gallery. List of parameters, e.g., [+selector"
3908
+ "+], on Documentation tab."
3909
+ msgstr ""
3910
+
3911
+ #: includes/class-mla-settings.php:2518 includes/class-mla-settings.php:2575
3912
+ #: includes/class-mla-settings.php:2625
3913
+ msgid "Row"
3914
+ msgstr ""
3915
+
3916
+ #: includes/class-mla-settings.php:2522 includes/class-mla-settings.php:2629
3917
+ msgid "Markup for the beginning of each row in the gallery."
3918
+ msgstr ""
3919
+
3920
+ #: includes/class-mla-settings.php:2524 includes/class-mla-settings.php:2581
3921
+ #: includes/class-mla-settings.php:2631
3922
+ msgid "Item"
3923
+ msgstr ""
3924
+
3925
+ #: includes/class-mla-settings.php:2528 includes/class-mla-settings.php:2635
3926
+ msgid "Markup for each item/cell of the gallery."
3927
+ msgstr ""
3928
+
3929
+ #: includes/class-mla-settings.php:2530 includes/class-mla-settings.php:2587
3930
+ #: includes/class-mla-settings.php:2637 includes/class-mla-settings.php:2751
3931
+ #: includes/class-mla-settings.php:2887
3932
+ msgid "Close"
3933
+ msgstr ""
3934
+
3935
+ #: includes/class-mla-settings.php:2534 includes/class-mla-settings.php:2641
3936
+ msgid "Markup for the end of each row in the gallery."
3937
+ msgstr ""
3938
+
3939
+ #: includes/class-mla-settings.php:2539 includes/class-mla-settings.php:2596
3940
+ #: includes/class-mla-settings.php:2646
3941
+ msgid "Markup for the end of the gallery."
3942
+ msgstr ""
3943
+
3944
+ #: includes/class-mla-settings.php:2579
3945
+ msgid "Markup for the beginning of each row."
3946
+ msgstr ""
3947
+
3948
+ #: includes/class-mla-settings.php:2585
3949
+ msgid "Markup for each item/cell."
3950
+ msgstr ""
3951
+
3952
+ #: includes/class-mla-settings.php:2591
3953
+ msgid "Markup for the end of each row."
3954
+ msgstr ""
3955
+
3956
+ #: includes/class-mla-settings.php:2607
3957
+ msgid "Fill in a name and markup to add a new template."
3958
+ msgstr ""
3959
+
3960
+ #: includes/class-mla-settings.php:2743
3961
+ msgid "Custom Field Mapping Progress"
3962
+ msgstr ""
3963
+
3964
+ #: includes/class-mla-settings.php:2744 includes/class-mla-settings.php:2880
3965
+ msgid "DO NOT DO THE FOLLOWING (they will cause mapping to fail)"
3966
+ msgstr ""
3967
+
3968
+ #: includes/class-mla-settings.php:2745 includes/class-mla-settings.php:2881
3969
+ msgid "Close the window"
3970
+ msgstr ""
3971
+
3972
+ #: includes/class-mla-settings.php:2746 includes/class-mla-settings.php:2882
3973
+ msgid "Reload the page"
3974
+ msgstr ""
3975
+
3976
+ #: includes/class-mla-settings.php:2747 includes/class-mla-settings.php:2883
3977
+ msgid "Click the browser&rsquo;s Stop, Back or forward buttons"
3978
+ msgstr ""
3979
+
3980
+ #: includes/class-mla-settings.php:2748 includes/class-mla-settings.php:2884
3981
+ msgid "Progress"
3982
+ msgstr ""
3983
+
3984
+ #: includes/class-mla-settings.php:2750 includes/class-mla-settings.php:2886
3985
+ msgid "Resume"
3986
+ msgstr ""
3987
+
3988
+ #: includes/class-mla-settings.php:2760 includes/class-mla-settings.php:2764
3989
+ msgid "Custom Field and Attachment Metadata Processing Options"
3990
+ msgstr ""
3991
+
3992
+ #. translators: 1: Documentation hyperlink
3993
+ #: includes/class-mla-settings.php:2762
3994
+ #, php-format
3995
+ msgid ""
3996
+ "In this tab you can define the rules for mapping several types of image "
3997
+ "metadata to WordPress custom fields. You can also use this screen to define "
3998
+ "rules for adding or updating fields within the WordPress-supplied "
3999
+ "\"Attachment Metadata\", stored in the \"_wp_attachment_metadata\" custom "
4000
+ "field. See the %1$s section of the Documentation for details."
4001
+ msgstr ""
4002
+
4003
+ #: includes/class-mla-settings.php:2762
4004
+ msgid "Updating Attachment Metadata Documentation"
4005
+ msgstr ""
4006
+
4007
+ #: includes/class-mla-settings.php:2762
4008
+ msgid "Adding or changing Attachment Metadata"
4009
+ msgstr ""
4010
+
4011
+ #. translators: 1: Documentation hyperlink
4012
+ #: includes/class-mla-settings.php:2764 includes/class-mla-settings.php:2899
4013
+ #, php-format
4014
+ msgid ""
4015
+ "You can find more information about using the controls in this tab to define "
4016
+ "mapping rules and apply them in the %1$s section of the Documentation."
4017
+ msgstr ""
4018
+
4019
+ #: includes/class-mla-settings.php:2764
4020
+ msgid "Custom Field Options documentation"
4021
+ msgstr ""
4022
+
4023
+ #: includes/class-mla-settings.php:2768 includes/class-mla-settings.php:2909
4024
+ msgid "Custom field mapping"
4025
+ msgstr ""
4026
+
4027
+ #. translators: 1: "Save Changes"
4028
+ #: includes/class-mla-settings.php:2773
4029
+ #, php-format
4030
+ msgid ""
4031
+ "Click %1$s to update the \"Enable custom field mapping...\" checkbox and/or "
4032
+ "all rule changes and additions at once. <strong>No rule mapping will be "
4033
+ "performed.</strong>"
4034
+ msgstr ""
4035
+
4036
+ #. translators: 1: "Map All Rules..."
4037
+ #: includes/class-mla-settings.php:2775
4038
+ #, php-format
4039
+ msgid ""
4040
+ "Click %1$s to apply all the rules at once (rule changes will be applied but "
4041
+ "not saved)."
4042
+ msgstr ""
4043
+
4044
+ #: includes/class-mla-settings.php:2879
4045
+ msgid "IPTC &amp; EXIF Mapping Progress"
4046
+ msgstr ""
4047
+
4048
+ #: includes/class-mla-settings.php:2896 includes/class-mla-settings.php:2899
4049
+ msgid "IPTC &amp; EXIF Processing Options"
4050
+ msgstr ""
4051
+
4052
+ #: includes/class-mla-settings.php:2897
4053
+ msgid ""
4054
+ "In this tab you can define the rules for mapping IPTC (International Press "
4055
+ "Telecommunications Council) and EXIF (EXchangeable Image File) metadata to "
4056
+ "WordPress standard attachment fields, taxonomy terms and custom fields. "
4057
+ "<strong>NOTE:</strong> settings changes will not be made permanent until you "
4058
+ "click \"Save Changes\" at the bottom of this page."
4059
+ msgstr ""
4060
+
4061
+ #: includes/class-mla-settings.php:2899
4062
+ msgid "IPTC/EXIF Options documentation"
4063
+ msgstr ""
4064
+
4065
+ #: includes/class-mla-settings.php:2903
4066
+ msgid "Standard field mapping"
4067
+ msgstr ""
4068
+
4069
+ #: includes/class-mla-settings.php:2906
4070
+ msgid "Taxonomy term mapping"
4071
+ msgstr ""
4072
+
4073
+ #. translators: 1: "Save Changes"
4074
+ #: includes/class-mla-settings.php:2914
4075
+ #, php-format
4076
+ msgid ""
4077
+ "Click %1$s to update the \"Enable IPTC/EXIF mapping...\" checkbox and/or all "
4078
+ "rule changes and additions at once. <strong>No rule mapping will be "
4079
+ "performed.</strong>"
4080
+ msgstr ""
4081
+
4082
+ #: includes/class-mla-settings.php:2985
4083
+ msgid "Debug settings saved."
4084
+ msgstr ""
4085
+
4086
+ #. translators: 1: ERROR tag 2: file type 3: file name 4: error message
4087
+ #: includes/class-mla-settings.php:3081
4088
+ #, php-format
4089
+ msgid "%1$s: Reseting the %2$s file ( %3$s ) \"%4$s\"."
4090
+ msgstr ""
4091
+
4092
+ #: includes/class-mla-settings.php:3081 includes/class-mla-settings.php:3132
4093
+ #: includes/class-mla-settings.php:3156 includes/class-mla-settings.php:3166
4094
+ #: includes/class-mla-settings.php:3192
4095
+ msgid "Error Log"
4096
+ msgstr ""
4097
+
4098
+ #. translators: 1: ERROR tag 2: file type 3: file name 4: error message
4099
+ #: includes/class-mla-settings.php:3132
4100
+ #, php-format
4101
+ msgid "%1$s: Reading the %2$s file ( %3$s ) \"%4$s\"."
4102
+ msgstr ""
4103
+
4104
+ #. translators: 1: file name
4105
+ #: includes/class-mla-settings.php:3142
4106
+ #, php-format
4107
+ msgid "Error log file (%1$s) not found; click Reset to create it."
4108
+ msgstr ""
4109
+
4110
+ #: includes/class-mla-settings.php:3187 includes/class-mla-settings.php:3200
4111
+ msgid "Debug Options"
4112
+ msgstr ""
4113
+
4114
+ #: includes/class-mla-settings.php:3190
4115
+ msgid "Debug Settings"
4116
+ msgstr ""
4117
+
4118
+ #. translators: 1: "Save Changes"
4119
+ #: includes/class-mla-settings.php:3200
4120
+ #, php-format
4121
+ msgid "Click %1$s to update the %2$s."
4122
+ msgstr ""
4123
+
4124
+ #: includes/class-mla-settings.php:3219
4125
+ msgid "You do not have permission to manage plugin settings."
4126
+ msgstr ""
4127
+
4128
+ #: includes/class-mla-settings.php:3250
4129
+ msgid "Cannot render content tab"
4130
+ msgstr ""
4131
+
4132
+ #: includes/class-mla-settings.php:3253
4133
+ msgid "Unknown content tab"
4134
+ msgstr ""
4135
+
4136
+ #. translators: 1: template type 2: template name
4137
+ #: includes/class-mla-settings.php:3345 includes/class-mla-settings.php:3434
4138
+ #, php-format
4139
+ msgctxt "message_list"
4140
+ msgid "Deleting %1$s \"%2$s\"."
4141
+ msgstr ""
4142
+
4143
+ #. translators: 1: ERROR tag 2: template name 3: template type
4144
+ #: includes/class-mla-settings.php:3356 includes/class-mla-settings.php:3447
4145
+ #, php-format
4146
+ msgid "%1$s: Reserved name \"%2$s\", new %3$s discarded."
4147
+ msgstr ""
4148
+
4149
+ #. translators: 1: ERROR tag 2: template name 3: template type
4150
+ #: includes/class-mla-settings.php:3362 includes/class-mla-settings.php:3453
4151
+ #, php-format
4152
+ msgid "%1$s: Duplicate name \"%2$s\", new %3$s discarded."
4153
+ msgstr ""
4154
+
4155
+ #. translators: 1: template type 2: template name
4156
+ #: includes/class-mla-settings.php:3366 includes/class-mla-settings.php:3457
4157
+ #, php-format
4158
+ msgctxt "message_list"
4159
+ msgid "Adding new %1$s \"%2$s\"."
4160
+ msgstr ""
4161
+
4162
+ #. translators: 1: ERROR tag 2: element name 3: old value
4163
+ #: includes/class-mla-settings.php:3376 includes/class-mla-settings.php:3467
4164
+ #, php-format
4165
+ msgid "%1$s: Blank %2$s, reverting to \"%3$s\"."
4166
+ msgstr ""
4167
+
4168
+ #: includes/class-mla-settings.php:3376 includes/class-mla-settings.php:3383
4169
+ #: includes/class-mla-settings.php:3387
4170
+ msgid "style template name"
4171
+ msgstr ""
4172
+
4173
+ #. translators: 1: ERROR tag 2: element name 3: new value 4: old value
4174
+ #: includes/class-mla-settings.php:3383 includes/class-mla-settings.php:3474
4175
+ #, php-format
4176
+ msgid "%1$s: Duplicate new %2$s \"%3$s\", reverting to \"%4$s\"."
4177
+ msgstr ""
4178
+
4179
+ #. translators: 1: element name 2: old_value 3: new_value
4180
+ #: includes/class-mla-settings.php:3387 includes/class-mla-settings.php:3478
4181
+ #, php-format
4182
+ msgctxt "message_list"
4183
+ msgid "Changing %1$s from \"%2$s\" to \"%3$s\""
4184
+ msgstr ""
4185
+
4186
+ #. translators: 1: template type 2: template name
4187
+ #: includes/class-mla-settings.php:3394
4188
+ #, php-format
4189
+ msgctxt "message_list"
4190
+ msgid "Updating contents of %1$s \"%2$s\"."
4191
+ msgstr ""
4192
+
4193
+ #. translators: 1: ERROR tag 2: template type
4194
+ #: includes/class-mla-settings.php:3405 includes/class-mla-settings.php:3526
4195
+ #, php-format
4196
+ msgid "%1$s: Update of %2$s failed."
4197
+ msgstr ""
4198
+
4199
+ #: includes/class-mla-settings.php:3467 includes/class-mla-settings.php:3474
4200
+ #: includes/class-mla-settings.php:3478
4201
+ msgid "markup template name"
4202
+ msgstr ""
4203
+
4204
+ #. translators: 1: template name
4205
+ #: includes/class-mla-settings.php:3486
4206
+ #, php-format
4207
+ msgctxt "message_list"
4208
+ msgid "Updating open markup for \"%1$s\"."
4209
+ msgstr ""
4210
+
4211
+ #. translators: 1: template name
4212
+ #: includes/class-mla-settings.php:3492
4213
+ #, php-format
4214
+ msgctxt "message_list"
4215
+ msgid "Updating row open markup for \"%1$s\"."
4216
+ msgstr ""
4217
+
4218
+ #. translators: 1: template name
4219
+ #: includes/class-mla-settings.php:3498
4220
+ #, php-format
4221
+ msgctxt "message_list"
4222
+ msgid "Updating item markup for \"%1$s\"."
4223
+ msgstr ""
4224
+
4225
+ #. translators: 1: template name
4226
+ #: includes/class-mla-settings.php:3504
4227
+ #, php-format
4228
+ msgctxt "message_list"
4229
+ msgid "Updating row close markup for \"%1$s\"."
4230
+ msgstr ""
4231
+
4232
+ #. translators: 1: template name
4233
+ #: includes/class-mla-settings.php:3510
4234
+ #, php-format
4235
+ msgctxt "message_list"
4236
+ msgid "Updating close markup for \"%1$s\"."
4237
+ msgstr ""
4238
+
4239
+ #. translators: 1: field type
4240
+ #: includes/class-mla-settings.php:3535
4241
+ #, php-format
4242
+ msgid "%1$s no changes detected."
4243
+ msgstr ""
4244
+
4245
+ #: includes/class-mla-settings.php:3570
4246
+ msgid "View settings saved."
4247
+ msgstr ""
4248
+
4249
+ #: includes/class-mla-settings.php:3604
4250
+ msgid "Upload MIME Type settings saved."
4251
+ msgstr ""
4252
+
4253
+ #: includes/class-mla-settings.php:3647
4254
+ msgid "No custom field mapping rules to process."
4255
+ msgstr ""
4256
+
4257
+ #. translators: 1: field type 2: examined count 3: updated count
4258
+ #: includes/class-mla-settings.php:3677 includes/class-mla-settings.php:3816
4259
+ #: includes/class-mla-settings.php:3887 includes/class-mla-settings.php:3973
4260
+ #, php-format
4261
+ msgid "%1$s mapping completed; %2$d attachment(s) examined, %3$d updated."
4262
+ msgstr ""
4263
+
4264
+ #. translators: 1: field type 2: examined count
4265
+ #: includes/class-mla-settings.php:3680 includes/class-mla-settings.php:3819
4266
+ #: includes/class-mla-settings.php:3890 includes/class-mla-settings.php:3976
4267
+ #, php-format
4268
+ msgid ""
4269
+ "%1$s mapping completed; %2$d attachment(s) examined, no changes detected."
4270
+ msgstr ""
4271
+
4272
+ #. translators: 1: number of attachments
4273
+ #: includes/class-mla-settings.php:3711
4274
+ #, php-format
4275
+ msgid "%s attachment"
4276
+ msgid_plural "%s attachments"
4277
+ msgstr[0] ""
4278
+ msgstr[1] ""
4279
+
4280
+ #. translators: 1: singular/plural number of attachments
4281
+ #: includes/class-mla-settings.php:3713
4282
+ #, php-format
4283
+ msgid "Deleted custom field value from %1$s."
4284
+ msgstr ""
4285
+
4286
+ #: includes/class-mla-settings.php:3716
4287
+ msgid "No attachments contained this custom field."
4288
+ msgstr ""
4289
+
4290
+ #. translators: 1: ERROR tag 2: field type
4291
+ #: includes/class-mla-settings.php:3777 includes/class-mla-settings.php:3848
4292
+ #: includes/class-mla-settings.php:3934
4293
+ #, php-format
4294
+ msgid "%1$s: No %2$s settings to process."
4295
+ msgstr ""
4296
+
4297
+ #: includes/class-mla-settings.php:3807 includes/class-mla-settings.php:3878
4298
+ #: includes/class-mla-settings.php:3964
4299
+ msgid "updated."
4300
+ msgstr ""
4301
+
4302
+ #. translators: 1: reference type, e.g., Gallery in
4303
+ #: includes/class-mla-settings.php:4069 includes/class-mla-settings.php:4079
4304
+ #, php-format
4305
+ msgctxt "message_list"
4306
+ msgid "%1$s - references updated."
4307
+ msgstr ""
4308
+
4309
+ #: includes/class-mla-settings.php:4122
4310
+ msgid "General settings saved."
4311
+ msgstr ""
4312
+
4313
+ #: includes/class-mla-settings.php:4161
4314
+ msgid "General settings reset to default values."
4315
+ msgstr ""
4316
+
4317
+ #: includes/class-mla-settings.php:4203
4318
+ msgid "select settings"
4319
+ msgstr ""
4320
+
4321
+ #: includes/class-mla-settings.php:4223
4322
+ msgid "Import ALL Settings"
4323
+ msgstr ""
4324
+
4325
+ #: includes/class-mla-settings.php:4248
4326
+ msgctxt "message_list"
4327
+ msgid "exported"
4328
+ msgstr ""
4329
+
4330
+ #: includes/class-mla-settings.php:4250
4331
+ msgctxt "message_list"
4332
+ msgid "skipped"
4333
+ msgstr ""
4334
+
4335
+ #: includes/class-mla-settings.php:4257
4336
+ msgid "ALL settings exported."
4337
+ msgstr ""
4338
+
4339
+ #. translators: 1: ERROR tag 2: backup directory name
4340
+ #: includes/class-mla-settings.php:4268
4341
+ #, php-format
4342
+ msgid "%1$s: The settings directory ( %2$s ) cannot be created."
4343
+ msgstr ""
4344
+
4345
+ #. translators: 1: ERROR tag 2: backup directory name
4346
+ #: includes/class-mla-settings.php:4272
4347
+ #, php-format
4348
+ msgid "%1$s: The settings directory ( %2$s ) is not writable."
4349
+ msgstr ""
4350
+
4351
+ #. translators: 1: ERROR tag 2: backup file name
4352
+ #: includes/class-mla-settings.php:4283
4353
+ #, php-format
4354
+ msgid "%1$s: The settings file ( %2$s ) could not be opened."
4355
+ msgstr ""
4356
+
4357
+ #. translators: 1: ERROR tag 2: PHP error information
4358
+ #: includes/class-mla-settings.php:4290
4359
+ #, php-format
4360
+ msgctxt "error_log"
4361
+ msgid "%1$s: _export_settings $error_info = \"%2$s\"."
4362
+ msgstr ""
4363
+
4364
+ #. translators: 1: ERROR tag 2: backup file name 3: error message
4365
+ #: includes/class-mla-settings.php:4299
4366
+ #, php-format
4367
+ msgid "%1$s: Writing the settings file ( %2$s ) \"%3$s\"."
4368
+ msgstr ""
4369
+
4370
+ #. translators: 1: number of option settings
4371
+ #: includes/class-mla-settings.php:4305
4372
+ #, php-format
4373
+ msgid "Settings exported; %1$s settings recorded."
4374
+ msgstr ""
4375
+
4376
+ #: includes/class-mla-settings.php:4323
4377
+ msgid "No settings imported."
4378
+ msgstr ""
4379
+
4380
+ #: includes/class-mla-settings.php:4332
4381
+ msgid "Please select an import settings file from the dropdown list."
4382
+ msgstr ""
4383
+
4384
+ #: includes/class-mla-settings.php:4336
4385
+ msgid "The import settings dropdown selection is missing."
4386
+ msgstr ""
4387
+
4388
+ #. translators: 1: ERROR tag 2: PHP error information
4389
+ #: includes/class-mla-settings.php:4344
4390
+ #, php-format
4391
+ msgctxt "error_log"
4392
+ msgid "%1$s: _import_settings $error_info = \"%2$s\"."
4393
+ msgstr ""
4394
+
4395
+ #. translators: 1: ERROR tag 2: backup file name 3: error message
4396
+ #: includes/class-mla-settings.php:4353
4397
+ #, php-format
4398
+ msgid "%1$s: Reading the settings file ( %2$s ) \"%3$s\"."
4399
+ msgstr ""
4400
+
4401
+ #: includes/class-mla-settings.php:4363
4402
+ msgctxt "message_list"
4403
+ msgid "updated"
4404
+ msgstr ""
4405
+
4406
+ #: includes/class-mla-settings.php:4366
4407
+ msgctxt "message_list"
4408
+ msgid "unchanged"
4409
+ msgstr ""
4410
+
4411
+ #. translators: 1: number of option settings updated 2: number of option settings unchanged
4412
+ #: includes/class-mla-settings.php:4371
4413
+ #, php-format
4414
+ msgid "Settings imported; %1$s updated, %2$s unchanged."
4415
+ msgstr ""
4416
+
4417
+ #: includes/class-mla-shortcodes.php:321 includes/class-mla-shortcodes.php:1490
4418
+ #: includes/class-mla-shortcodes.php:2407
4419
+ #: includes/class-mla-shortcodes.php:2694
4420
+ msgid "Previous"
4421
+ msgstr ""
4422
+
4423
+ #: includes/class-mla-shortcodes.php:322 includes/class-mla-shortcodes.php:1491
4424
+ #: includes/class-mla-shortcodes.php:2456
4425
+ #: includes/class-mla-shortcodes.php:2700
4426
+ msgid "Next"
4427
+ msgstr ""
4428
+
4429
+ #: includes/class-mla-shortcodes.php:438
4430
+ msgid "mla_debug empty gallery"
4431
+ msgstr ""
4432
+
4433
+ #: includes/class-mla-shortcodes.php:505
4434
+ msgid ""
4435
+ "<strong>Photonic-enhanced [mla_gallery]</strong> type must be "
4436
+ "<strong>default</strong>, query = "
4437
+ msgstr ""
4438
+
4439
+ #: includes/class-mla-shortcodes.php:878
4440
+ msgid "unknown"
4441
+ msgstr ""
4442
+
4443
+ #: includes/class-mla-shortcodes.php:1633
4444
+ msgid "mla_debug attributes"
4445
+ msgstr ""
4446
+
4447
+ #: includes/class-mla-shortcodes.php:1634
4448
+ msgid "mla_debug arguments"
4449
+ msgstr ""
4450
+
4451
+ #: includes/class-mla-shortcodes.php:1725
4452
+ msgid "mla_debug empty cloud"
4453
+ msgstr ""
4454
+
4455
+ #: includes/class-mla-shortcodes.php:3075
4456
+ #: includes/class-mla-shortcodes.php:3403
4457
+ #: includes/class-mla-shortcodes.php:3434
4458
+ msgid "Invalid mla_gallery"
4459
+ msgstr ""
4460
+
4461
+ #: includes/class-mla-shortcodes.php:3678
4462
+ msgid "mla_debug query"
4463
+ msgstr ""
4464
+
4465
+ #: includes/class-mla-shortcodes.php:3679
4466
+ msgid "mla_debug request"
4467
+ msgstr ""
4468
+
4469
+ #: includes/class-mla-shortcodes.php:3680
4470
+ msgid "mla_debug query_vars"
4471
+ msgstr ""
4472
+
4473
+ #: includes/class-mla-shortcodes.php:3681
4474
+ msgid "mla_debug post_count"
4475
+ msgstr ""
4476
+
4477
+ #: includes/class-mla-shortcodes.php:3749
4478
+ msgid "mla_debug WHERE filter"
4479
+ msgstr ""
4480
+
4481
+ #: includes/class-mla-shortcodes.php:3768
4482
+ msgid "mla_debug modified WHERE filter"
4483
+ msgstr ""
4484
+
4485
+ #: includes/class-mla-shortcodes.php:3791
4486
+ msgid "mla_debug ORDER BY filter, incoming"
4487
+ msgstr ""
4488
+
4489
+ #: includes/class-mla-shortcodes.php:3791
4490
+ msgid "Replacement ORDER BY clause"
4491
+ msgstr ""
4492
+
4493
+ #: includes/class-mla-shortcodes.php:3814
4494
+ msgid "mla_debug posts_clauses filter"
4495
+ msgstr ""
4496
+
4497
+ #: includes/class-mla-shortcodes.php:3832
4498
+ msgid "mla_debug posts_clauses_request filter"
4499
+ msgstr ""
4500
+
4501
+ #: includes/class-mla-shortcodes.php:4022
4502
+ msgid "Invalid taxonomy"
4503
+ msgstr ""
4504
+
4505
+ #: includes/class-mla-shortcodes.php:4228
4506
+ msgid "mla_debug query arguments"
4507
+ msgstr ""
4508
+
4509
+ #: includes/class-mla-shortcodes.php:4229
4510
+ msgid "mla_debug last_query"
4511
+ msgstr ""
4512
+
4513
+ #: includes/class-mla-shortcodes.php:4230
4514
+ msgid "mla_debug last_error"
4515
+ msgstr ""
4516
+
4517
+ #: includes/class-mla-shortcodes.php:4231
4518
+ msgid "mla_debug num_rows"
4519
+ msgstr ""
4520
+
4521
+ #: includes/class-mla-shortcodes.php:4232
4522
+ msgid "mla_debug found_rows"
4523
+ msgstr ""
4524
+
4525
+ #: includes/class-mla-thumbnail-generation.php:95
4526
+ msgid "Error while saving the thumbnails."
4527
+ msgstr ""
4528
+
4529
+ #: includes/class-mla-thumbnail-generation.php:96
4530
+ msgid "Remove From"
4531
+ msgstr ""
4532
+
4533
+ #: includes/class-mla-thumbnail-generation.php:96
4534
+ #: includes/class-mla-thumbnail-generation.php:98
4535
+ #: includes/class-mla-thumbnail-generation.php:428
4536
+ msgid "Generate Thumbnails"
4537
+ msgstr ""
4538
+
4539
+ #. translators: 1: post ID
4540
+ #: includes/class-mla-thumbnail-generation.php:218
4541
+ #, php-format
4542
+ msgid "Item %1$d"
4543
+ msgstr ""
4544
+
4545
+ #: includes/class-mla-thumbnail-generation.php:225
4546
+ msgid "has native thumbnail."
4547
+ msgstr ""
4548
+
4549
+ #: includes/class-mla-thumbnail-generation.php:246
4550
+ msgid "Featured Image retained."
4551
+ msgstr ""
4552
+
4553
+ #. translators: 1: ERROR tag 2: Item post ID
4554
+ #: includes/class-mla-thumbnail-generation.php:256
4555
+ #, php-format
4556
+ msgid "%1$s: %2$sno attached file."
4557
+ msgstr ""
4558
+
4559
+ #: includes/class-mla-thumbnail-generation.php:260
4560
+ msgid "unsupported file type."
4561
+ msgstr ""
4562
+
4563
+ #. translators: 1: ERROR tag 2: Item post ID
4564
+ #: includes/class-mla-thumbnail-generation.php:270
4565
+ #, php-format
4566
+ msgid "%1$s: %2$sthumbnail generation failed"
4567
+ msgstr ""
4568
+
4569
+ #. translators: 1: ERROR tag 2: Item post ID
4570
+ #: includes/class-mla-thumbnail-generation.php:316
4571
+ #, php-format
4572
+ msgid "%1$s: %2$swp_insert_attachment failed."
4573
+ msgstr ""
4574
+
4575
+ #. translators: 1: Item post ID, 2: new thumbnail item ID
4576
+ #: includes/class-mla-thumbnail-generation.php:333
4577
+ #, php-format
4578
+ msgid "%1$sthumbnail generated as new item %2$s."
4579
+ msgstr ""
4580
+
4581
+ #: includes/class-mla-thumbnail-generation.php:377
4582
+ msgid "Generated Thumbnails"
4583
+ msgstr ""
4584
+
4585
+ #: includes/class-mla-thumbnail-generation.php:429
4586
+ msgid ""
4587
+ "Pull down the Help menu and select Thumbnail Generation for setting details"
4588
+ msgstr ""
4589
+
4590
+ #: includes/class-mla-thumbnail-generation.php:430
4591
+ msgid "Width"
4592
+ msgstr ""
4593
+
4594
+ #: includes/class-mla-thumbnail-generation.php:431
4595
+ msgid "Height"
4596
+ msgstr ""
4597
+
4598
+ #: includes/class-mla-thumbnail-generation.php:432
4599
+ msgid "Best Fit"
4600
+ msgstr ""
4601
+
4602
+ #: includes/class-mla-thumbnail-generation.php:433
4603
+ msgid "Page"
4604
+ msgstr ""
4605
+
4606
+ #: includes/class-mla-thumbnail-generation.php:434
4607
+ msgid "Resolution"
4608
+ msgstr ""
4609
+
4610
+ #: includes/class-mla-thumbnail-generation.php:435
4611
+ msgid "Quality"
4612
+ msgstr ""
4613
+
4614
+ #: includes/class-mla-thumbnail-generation.php:437
4615
+ msgid "Existing Items"
4616
+ msgstr ""
4617
+
4618
+ #: includes/class-mla-thumbnail-generation.php:439
4619
+ msgid "Ignore"
4620
+ msgstr ""
4621
+
4622
+ #: includes/class-mla-thumbnail-generation.php:441
4623
+ msgid "Delete"
4624
+ msgstr ""
4625
+
4626
+ #: includes/class-mla-thumbnail-generation.php:442
4627
+ msgid "Suffix"
4628
+ msgstr ""
4629
+
4630
+ #: includes/class-mla-upload-list-table.php:184
4631
+ #: includes/class-mla-upload-optional-list-table.php:167
4632
+ msgctxt "list_table_column"
4633
+ msgid "Extension"
4634
+ msgstr ""
4635
+
4636
+ #: includes/class-mla-upload-list-table.php:186
4637
+ msgctxt "list_table_column"
4638
+ msgid "Icon Type"
4639
+ msgstr ""
4640
+
4641
+ #: includes/class-mla-upload-list-table.php:187
4642
+ msgctxt "list_table_column"
4643
+ msgid "Source"
4644
+ msgstr ""
4645
+
4646
+ #: includes/class-mla-upload-list-table.php:188
4647
+ msgctxt "list_table_column"
4648
+ msgid "Status"
4649
+ msgstr ""
4650
+
4651
+ #: includes/class-mla-upload-list-table.php:189
4652
+ #: includes/class-mla-upload-optional-list-table.php:169
4653
+ msgctxt "list_table_column"
4654
+ msgid "WordPress Type"
4655
+ msgstr ""
4656
+
4657
+ #: includes/class-mla-upload-list-table.php:190
4658
+ #: includes/class-mla-upload-optional-list-table.php:170
4659
+ msgctxt "list_table_column"
4660
+ msgid "MLA Type"
4661
+ msgstr ""
4662
+
4663
+ #: includes/class-mla-upload-list-table.php:191
4664
+ msgctxt "list_table_column"
4665
+ msgid "Std. Source"
4666
+ msgstr ""
4667
+
4668
+ #: includes/class-mla-upload-list-table.php:192
4669
+ msgctxt "list_table_column"
4670
+ msgid "Std. Icon Type"
4671
+ msgstr ""
4672
+
4673
+ #: includes/class-mla-upload-list-table.php:412
4674
+ #: includes/class-mla-view-list-table.php:357
4675
+ msgid "Revert to standard item"
4676
+ msgstr ""
4677
+
4678
+ #: includes/class-mla-upload-list-table.php:412
4679
+ #: includes/class-mla-view-list-table.php:357
4680
+ msgid "Revert to Standard"
4681
+ msgstr ""
4682
+
4683
+ #: includes/class-mla-upload-list-table.php:711
4684
+ msgid "Delete/Revert Custom"
4685
+ msgstr ""
4686
+
4687
+ #: includes/class-mla-upload-optional-list-table.php:281
4688
+ msgid "Select this entry"
4689
+ msgstr ""
4690
+
4691
+ #: includes/class-mla-upload-optional-list-table.php:414
4692
+ msgid "Select these entries"
4693
+ msgstr ""
4694
+
4695
+ #: includes/class-mla-view-list-table.php:173
4696
+ msgctxt "list_table_column"
4697
+ msgid "Specification"
4698
+ msgstr ""
4699
+
4700
+ #: includes/class-mla-view-list-table.php:174
4701
+ msgctxt "list_table_column"
4702
+ msgid "Post Mime"
4703
+ msgstr ""
4704
+
4705
+ #: includes/class-mla-view-list-table.php:175
4706
+ msgctxt "list_table_column"
4707
+ msgid "Table View"
4708
+ msgstr ""
4709
+
4710
+ #: includes/class-mla-view-list-table.php:176
4711
+ msgctxt "list_table_column"
4712
+ msgid "Singular Name"
4713
+ msgstr ""
4714
+
4715
+ #: includes/class-mla-view-list-table.php:177
4716
+ msgctxt "list_table_column"
4717
+ msgid "Plural Name"
4718
+ msgstr ""
4719
+
4720
+ #: includes/class-mla-view-list-table.php:178
4721
+ msgctxt "list_table_column"
4722
+ msgid "Order"
4723
+ msgstr ""
4724
+
4725
+ #: includes/class-mla-wpml-support.php:436
4726
+ msgid "Duplicate translation created; update as desired."
4727
+ msgstr ""
4728
+
4729
+ #. translators: 1: - 4: page subheader values
4730
+ #: includes/class-mla-wpml-support.php:1352
4731
+ #, php-format
4732
+ msgid ""
4733
+ "In this tab you can find a number of options for controlling WPML-specific "
4734
+ "operations. Scroll down to find options for %1$s and %2$s. Be sure to click "
4735
+ "\"Save Changes\" at the bottom of the tab to save any changes you make."
4736
+ msgstr ""
4737
+
4738
+ #: includes/class-mla-wpml-support.php:1855
4739
+ #: includes/class-mla-wpml-support.php:1861
4740
+ #, php-format
4741
+ msgid "Edit the %s translation"
4742
+ msgstr ""
4743
+
4744
+ #: includes/class-mla-wpml-support.php:1867
4745
+ #, php-format
4746
+ msgid "Add translation to %s"
4747
+ msgstr ""
4748
+
4749
+ #: includes/mla-main-search-box-template.php:42
4750
+ #: includes/mla-main-search-box-template.php:44
4751
+ #: includes/mla-media-modal-js-template.php:24
4752
+ msgid "Search Media"
4753
+ msgstr ""
4754
+
4755
+ #: includes/mla-plugin-loader.php:43
4756
+ msgid "The Media Library Assistant cannot load."
4757
+ msgstr ""
4758
+
4759
+ #: includes/mla-plugin-loader.php:45
4760
+ msgid "You must resolve these conflicts before this plugin can safely load."
4761
+ msgstr ""
4762
+
4763
+ #. translators: Description of the plugin/theme
4764
+ #: index.php:45
4765
+ msgid ""
4766
+ "Enhances the Media Library; powerful [mla_gallery], taxonomy support, IPTC/"
4767
+ "EXIF processing, bulk & quick edit actions and where-used reporting."
4768
+ msgstr ""
languages/media-library-assistant-en_US.po ADDED
@@ -0,0 +1,3412 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Media Library Assistant\n"
4
+ "POT-Creation-Date: 2015-10-09 19:37-0700\n"
5
+ "PO-Revision-Date: 2015-10-09 19:37-0700\n"
6
+ "Last-Translator: David Lingren <david@fairtradejudaica.org>\n"
7
+ "Language-Team: David Lingren <david@fairtradejudaica.org>\n"
8
+ "Language: en_US\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.8.4\n"
13
+ "X-Poedit-Basepath: ..\n"
14
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
16
+ "_n_noop:1,2;_c;_nc:4c,1,2;_x:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_ex:1,2c\n"
17
+ "X-Poedit-SourceCharset: UTF-8\n"
18
+ "X-Poedit-SearchPath-0: includes\n"
19
+ "X-Poedit-SearchPath-1: tests\n"
20
+ "X-Poedit-SearchPath-2: index.php\n"
21
+
22
+ #. translators: 1: ERROR tag 2: index
23
+ #, php-format
24
+ msgctxt "error_log"
25
+ msgid "%1$s: _build_pdf_indirect_objects bad value at $index = \"%2$d\"."
26
+ msgstr ""
27
+
28
+ msgid "ERROR"
29
+ msgstr ""
30
+
31
+ #. translators: 1: ERROR tag 2: source offset 3: nest level
32
+ #, php-format
33
+ msgctxt "error_log"
34
+ msgid "%1$s: _parse_pdf_dictionary offset = %2$d, nest = %3$d."
35
+ msgstr ""
36
+
37
+ #. translators: 1: ERROR tag 2: dictionary excerpt
38
+ #, php-format
39
+ msgctxt "error_log"
40
+ msgid "%1$s: _parse_pdf_dictionary no end delimiter dump = %2$s."
41
+ msgstr ""
42
+
43
+ #. translators: 1: ERROR tag 2: entry name 3: value excerpt
44
+ #, php-format
45
+ msgctxt "error_log"
46
+ msgid "%1$s: _parse_pdf_dictionary bad value [ %2$s ] dump = %3$s"
47
+ msgstr ""
48
+
49
+ #. translators: 1: ERROR tag 2: path and file
50
+ #, php-format
51
+ msgctxt "error_log"
52
+ msgid "%1$s: File \"%2$s\", startxref not found."
53
+ msgstr ""
54
+
55
+ #. translators: 1: ERROR tag 2: path and file name
56
+ #, php-format
57
+ msgctxt "error_log"
58
+ msgid "%1$s: mla_load_template file \"%2$s\" not found."
59
+ msgstr ""
60
+
61
+ #. translators: 1: ERROR tag 2: path and file name 3: source type, e.g., file, option, string
62
+ #, php-format
63
+ msgctxt "error_log"
64
+ msgid "%1$s: mla_load_template file \"%2$s\" bad source type \"%3$s\"."
65
+ msgstr ""
66
+
67
+ #. translators: 1: ERROR tag 2: template excerpt
68
+ #, php-format
69
+ msgctxt "error_log"
70
+ msgid ""
71
+ "%1$s: _find_template_substring no template end delimiter, tail = \"%2$s\"."
72
+ msgstr ""
73
+
74
+ #. translators: 1: ERROR tag 2: template excerpt
75
+ #, php-format
76
+ msgctxt "error_log"
77
+ msgid ""
78
+ "%1$s: mla_parse_array_template no template end delimiter, tail = \"%2$s\"."
79
+ msgstr ""
80
+
81
+ #. translators: 1: ERROR tag 2: template excerpt
82
+ #, php-format
83
+ msgctxt "error_log"
84
+ msgid "%1$s: mla_parse_template no end delimiter, tail = \"%2$s\"."
85
+ msgstr ""
86
+
87
+ #. translators: 1: ERROR tag 2: template string
88
+ #, php-format
89
+ msgctxt "error_log"
90
+ msgid "%1$s: _find_test_substring no end delimiter, tail = \"%2$s\"."
91
+ msgstr ""
92
+
93
+ msgid "Test; no closing parenthesis "
94
+ msgstr ""
95
+
96
+ #. translators: 1: ERROR tag 2: node type, e.g., template
97
+ #, php-format
98
+ msgctxt "error_log"
99
+ msgid "%1$s: _evaluate_template_array_node unknown type \"%2$s\"."
100
+ msgstr ""
101
+
102
+ #. translators: 1: ERROR tag 2: node type, e.g., template
103
+ #, php-format
104
+ msgctxt "error_log"
105
+ msgid "%1$s: _evaluate_template_node unknown type \"%2$s\"."
106
+ msgstr ""
107
+
108
+ #. translators: 1: ERROR tag 2: template excerpt
109
+ #, php-format
110
+ msgctxt "error_log"
111
+ msgid ""
112
+ "%1$s: mla_get_template_placeholders no template-end delimiter dump = \"%2$s"
113
+ "\"."
114
+ msgstr ""
115
+
116
+ #. translators: 1: ERROR tag 2: function name 3: non-array value
117
+ #, php-format
118
+ msgctxt "error_log"
119
+ msgid "%1$s: %2$s non-array \"%3$s\""
120
+ msgstr ""
121
+
122
+ #. translators: 1: DEBUG tag 2: query filter details
123
+ #, php-format
124
+ msgctxt "error_log"
125
+ msgid "%1$s: _execute_list_table_query $wp_filter = \"%2$s\"."
126
+ msgstr ""
127
+
128
+ msgid "DEBUG"
129
+ msgstr ""
130
+
131
+ #. translators: 1: DEBUG tag 2: query details
132
+ #, php-format
133
+ msgctxt "error_log"
134
+ msgid "%1$s: _execute_list_table_query WP_Query = \"%2$s\"."
135
+ msgstr ""
136
+
137
+ #. translators: 1: DEBUG tag 2: SQL statement
138
+ #, php-format
139
+ msgctxt "error_log"
140
+ msgid "%1$s: _execute_list_table_query SQL_request = \"%2$s\"."
141
+ msgstr ""
142
+
143
+ #. translators: 1: DEBUG tag 2: search filter details
144
+ #, php-format
145
+ msgctxt "error_log"
146
+ msgid "%1$s: mla_query_posts_search_filter = \"%2$s\"."
147
+ msgstr ""
148
+
149
+ #. translators: 1: DEBUG tag 2: where filter details
150
+ #, php-format
151
+ msgctxt "error_log"
152
+ msgid "%1$s: mla_query_posts_where_filter = \"%2$s\"."
153
+ msgstr ""
154
+
155
+ #. translators: 1: DEBUG tag 2: join filter details
156
+ #, php-format
157
+ msgctxt "error_log"
158
+ msgid "%1$s: mla_query_posts_join_filter = \"%2$s\"."
159
+ msgstr ""
160
+
161
+ #. translators: 1: DEBUG tag 2: orderby details details
162
+ #, php-format
163
+ msgctxt "error_log"
164
+ msgid "%1$s: mla_query_posts_orderby_filter = \"%2$s\"."
165
+ msgstr ""
166
+
167
+ #. translators: 1: DEBUG tag 2: SQL clauses
168
+ #, php-format
169
+ msgctxt "error_log"
170
+ msgid "%1$s: mla_query_posts_clauses_filter = \"%2$s\"."
171
+ msgstr ""
172
+
173
+ #. translators: 1: DEBUG tag 2: SQL clauses
174
+ #, php-format
175
+ msgctxt "error_log"
176
+ msgid "%1$s: mla_query_posts_clauses_request_filter = \"%2$s\"."
177
+ msgstr ""
178
+
179
+ #. translators: 1: ERROR tag 2: post ID
180
+ #, php-format
181
+ msgctxt "error_log"
182
+ msgid "%1$s: mla_get_attachment_by_id(%2$d) not found."
183
+ msgstr ""
184
+
185
+ #. translators: 1: ERROR tag 2: post ID 3: post_type
186
+ #, php-format
187
+ msgctxt "error_log"
188
+ msgid "%1$s: mla_get_attachment_by_id(%2$d) wrong post_type \"%3$s\"."
189
+ msgstr ""
190
+
191
+ msgid "NO REFERENCE TESTS"
192
+ msgstr ""
193
+
194
+ msgid "ORPHAN"
195
+ msgstr ""
196
+
197
+ msgid "UNUSED"
198
+ msgstr ""
199
+
200
+ msgid "UNATTACHED"
201
+ msgstr ""
202
+
203
+ msgid "INVALID PARENT"
204
+ msgstr ""
205
+
206
+ #. translators: 1: post_type, 2: post_title, 3: post ID, 4: query string, 5: error message
207
+ #, php-format
208
+ msgid "(%1$s) %2$s (ID %3$d) query \"%4$s\" failed, returning \"%5$s\""
209
+ msgstr ""
210
+
211
+ msgctxt "error_log"
212
+ msgid "mla_parse_xmp_metadata xml_parse_into_struct failed."
213
+ msgstr ""
214
+
215
+ msgctxt "error_log"
216
+ msgid "mla_parse_xmp_metadata set option failed."
217
+ msgstr ""
218
+
219
+ msgid "Yes"
220
+ msgstr ""
221
+
222
+ msgid "No"
223
+ msgstr ""
224
+
225
+ #. translators: 1: meta_key
226
+ #, php-format
227
+ msgid "Deleting %1$s"
228
+ msgstr ""
229
+
230
+ #. translators: 1: ERROR tag 2: meta_key
231
+ #, php-format
232
+ msgid "%1$s: meta:%2$s not found"
233
+ msgstr ""
234
+
235
+ #. translators: 1: meta_key 2: meta_value
236
+ #. translators: 1: meta_key 2: new_value
237
+ #. translators: 1: meta_key 2: meta_value
238
+ #, php-format
239
+ msgid "Adding %1$s = %2$s"
240
+ msgstr ""
241
+
242
+ #. translators: 1: ERROR tag 2: meta_key
243
+ #, php-format
244
+ msgid "%1$s: Adding meta:%2$s; not found"
245
+ msgstr ""
246
+
247
+ #. translators: 1: meta_key
248
+ #, php-format
249
+ msgid "Deleting Null meta:%1$s"
250
+ msgstr ""
251
+
252
+ #. translators: 1: element name 2: old_value 3: new_value
253
+ #, php-format
254
+ msgid "Changing %1$s from \"%2$s\" to \"%3$s\""
255
+ msgstr ""
256
+
257
+ #. translators: 1: ERROR tag 2: meta_key
258
+ #, php-format
259
+ msgid "%1$s: Changing meta:%2$s; not found"
260
+ msgstr ""
261
+
262
+ #. translators: 1: meta_key
263
+ #, php-format
264
+ msgid "Deleting old %1$s values"
265
+ msgstr ""
266
+
267
+ #. translators: 1: meta_key 2: old_value 3: new_value 4: update count
268
+ #, php-format
269
+ msgid "Changing %1$s from \"%2$s\" to \"%3$s\"; %4$d updates"
270
+ msgstr ""
271
+
272
+ msgid "Could not retrieve Attachment."
273
+ msgstr ""
274
+
275
+ msgid "Title"
276
+ msgstr ""
277
+
278
+ #. translators: 1: ERROR tag 2: old_value
279
+ #, php-format
280
+ msgid "%1$s: Could not change Name/Slug \"%2$s\"; name already exists"
281
+ msgstr ""
282
+
283
+ msgid "Name/Slug"
284
+ msgstr ""
285
+
286
+ #. translators: 1: old_value
287
+ #, php-format
288
+ msgid "Deleting ALT Text, was \"%1$s\""
289
+ msgstr ""
290
+
291
+ #. translators: 1: ERROR tag 2: old_value
292
+ #, php-format
293
+ msgid "%1$s: Could not delete ALT Text, remains \"%2$s\""
294
+ msgstr ""
295
+
296
+ msgid "ALT Text"
297
+ msgstr ""
298
+
299
+ #. translators: 1: ERROR tag 2: old_value 3: new_value
300
+ #, php-format
301
+ msgid "%1$s: Could not change ALT Text from \"%2$s\" to \"%3$s\""
302
+ msgstr ""
303
+
304
+ msgid "Caption"
305
+ msgstr ""
306
+
307
+ msgid "Description"
308
+ msgstr ""
309
+
310
+ msgid "Parent"
311
+ msgstr ""
312
+
313
+ msgid "Menu Order"
314
+ msgstr ""
315
+
316
+ msgid "Author"
317
+ msgstr ""
318
+
319
+ msgid "Comments"
320
+ msgstr ""
321
+
322
+ msgid "Pings"
323
+ msgstr ""
324
+
325
+ msgid "Adding"
326
+ msgstr ""
327
+
328
+ msgid "Removing"
329
+ msgstr ""
330
+
331
+ msgid "Replacing"
332
+ msgstr ""
333
+
334
+ msgid "Ignoring"
335
+ msgstr ""
336
+
337
+ #. translators: 1: action_name, 2: taxonomy
338
+ #, php-format
339
+ msgid "%1$s \"%2$s\" terms"
340
+ msgstr ""
341
+
342
+ #. translators: 1: taxonomy
343
+ #, php-format
344
+ msgid "You cannot assign \"%1$s\" terms"
345
+ msgstr ""
346
+
347
+ #. translators: 1: post ID
348
+ #, php-format
349
+ msgid "Item %1$d, no changes detected."
350
+ msgstr ""
351
+
352
+ #. translators: 1: post ID
353
+ #, php-format
354
+ msgid "Item %1$d updated."
355
+ msgstr ""
356
+
357
+ #. translators: 1: ERROR tag 2: post ID
358
+ #, php-format
359
+ msgid "%1$s: Item %2$d update failed."
360
+ msgstr ""
361
+
362
+ msgctxt "tag_delimiter"
363
+ msgid ","
364
+ msgstr ""
365
+
366
+ msgid "Upload New Media items"
367
+ msgstr ""
368
+
369
+ msgid "Open Bulk Edit area"
370
+ msgstr ""
371
+
372
+ msgid "Close Bulk Edit area"
373
+ msgstr ""
374
+
375
+ msgid "An ajax.fail error has occurred. Please reload the page and try again."
376
+ msgstr ""
377
+
378
+ msgid "An ajax.done error has occurred. Please reload the page and try again."
379
+ msgstr ""
380
+
381
+ msgid "more"
382
+ msgstr ""
383
+
384
+ msgid "less"
385
+ msgstr ""
386
+
387
+ msgid "Add"
388
+ msgstr ""
389
+
390
+ msgid "Remove"
391
+ msgstr ""
392
+
393
+ msgid "Replace"
394
+ msgstr ""
395
+
396
+ msgid ""
397
+ "IMPORTANT: Make your entries BEFORE uploading new items. Pull down the Help "
398
+ "menu for more information."
399
+ msgstr ""
400
+
401
+ msgid "Reset"
402
+ msgstr ""
403
+
404
+ msgid "No Change"
405
+ msgstr ""
406
+
407
+ msgid "Allow"
408
+ msgstr ""
409
+
410
+ msgid "Do not allow"
411
+ msgstr ""
412
+
413
+ msgid "Parent ID"
414
+ msgstr ""
415
+
416
+ msgid "Select"
417
+ msgstr ""
418
+
419
+ msgid "Custom field mapping updated."
420
+ msgstr ""
421
+
422
+ msgid "IPTC/EXIF mapping updated."
423
+ msgstr ""
424
+
425
+ #. translators: date_i18n format for last modified date and time
426
+ msgid "M j, Y @ G:i"
427
+ msgstr ""
428
+
429
+ msgid "Last modified"
430
+ msgstr ""
431
+
432
+ msgid "Map Custom Field metadata for this item"
433
+ msgstr ""
434
+
435
+ msgid "Map Custom Field metadata"
436
+ msgstr ""
437
+
438
+ msgid "Map IPTC/EXIF metadata for this item"
439
+ msgstr ""
440
+
441
+ msgid "Map IPTC/EXIF metadata"
442
+ msgstr ""
443
+
444
+ msgid "Parent Info"
445
+ msgstr ""
446
+
447
+ msgid "Attachment Metadata"
448
+ msgstr ""
449
+
450
+ msgid "Featured in"
451
+ msgstr ""
452
+
453
+ msgid "Inserted in"
454
+ msgstr ""
455
+
456
+ msgid "Gallery in"
457
+ msgstr ""
458
+
459
+ msgid "MLA Gallery in"
460
+ msgstr ""
461
+
462
+ #. translators: 1: ERROR tag 2: function name 3: template key
463
+ #, php-format
464
+ msgctxt "error_log"
465
+ msgid "%1$s: %2$s discarding \"%3$s\"; no title/order"
466
+ msgstr ""
467
+
468
+ msgid "Scheduled"
469
+ msgstr ""
470
+
471
+ msgctxt "post state"
472
+ msgid "Pending"
473
+ msgstr ""
474
+
475
+ msgid "Draft"
476
+ msgstr ""
477
+
478
+ msgid "Post Parent"
479
+ msgstr ""
480
+
481
+ msgid "Select Parent"
482
+ msgstr ""
483
+
484
+ msgid "PARENT"
485
+ msgstr ""
486
+
487
+ msgid "Most Used"
488
+ msgstr ""
489
+
490
+ #. translators: %s: add new taxonomy label
491
+ #, php-format
492
+ msgid "+ %s"
493
+ msgstr ""
494
+
495
+ msgid "Search"
496
+ msgstr ""
497
+
498
+ msgctxt "list_table_column"
499
+ msgid "ID/Parent"
500
+ msgstr ""
501
+
502
+ msgctxt "list_table_column"
503
+ msgid "Title/Name"
504
+ msgstr ""
505
+
506
+ msgctxt "list_table_column"
507
+ msgid "Title"
508
+ msgstr ""
509
+
510
+ msgctxt "list_table_column"
511
+ msgid "Name"
512
+ msgstr ""
513
+
514
+ msgctxt "list_table_column"
515
+ msgid "Parent ID"
516
+ msgstr ""
517
+
518
+ msgctxt "list_table_column"
519
+ msgid "Menu Order"
520
+ msgstr ""
521
+
522
+ msgctxt "list_table_column"
523
+ msgid "Featured in"
524
+ msgstr ""
525
+
526
+ msgctxt "list_table_column"
527
+ msgid "Inserted in"
528
+ msgstr ""
529
+
530
+ msgctxt "list_table_column"
531
+ msgid "Gallery in"
532
+ msgstr ""
533
+
534
+ msgctxt "list_table_column"
535
+ msgid "MLA Gallery in"
536
+ msgstr ""
537
+
538
+ msgctxt "list_table_column"
539
+ msgid "ALT Text"
540
+ msgstr ""
541
+
542
+ msgctxt "list_table_column"
543
+ msgid "Caption"
544
+ msgstr ""
545
+
546
+ msgctxt "list_table_column"
547
+ msgid "Description"
548
+ msgstr ""
549
+
550
+ msgctxt "list_table_column"
551
+ msgid "MIME Type"
552
+ msgstr ""
553
+
554
+ msgctxt "list_table_column"
555
+ msgid "File URL"
556
+ msgstr ""
557
+
558
+ msgctxt "list_table_column"
559
+ msgid "Base File"
560
+ msgstr ""
561
+
562
+ msgctxt "list_table_column"
563
+ msgid "Date"
564
+ msgstr ""
565
+
566
+ msgctxt "list_table_column"
567
+ msgid "Last Modified"
568
+ msgstr ""
569
+
570
+ msgctxt "list_table_column"
571
+ msgid "Author"
572
+ msgstr ""
573
+
574
+ msgctxt "list_table_column"
575
+ msgid "Attached to"
576
+ msgstr ""
577
+
578
+ msgid "All"
579
+ msgstr ""
580
+
581
+ msgid "List View"
582
+ msgstr ""
583
+
584
+ msgid "None"
585
+ msgstr ""
586
+
587
+ msgid "Filter by"
588
+ msgstr ""
589
+
590
+ msgid "Not Supported"
591
+ msgstr ""
592
+
593
+ #. translators: 1: column_name 2: column_values
594
+ #, php-format
595
+ msgid "column_default: %1$s, %2$s"
596
+ msgstr ""
597
+
598
+ msgid "Edit"
599
+ msgstr ""
600
+
601
+ msgid "Trash"
602
+ msgstr ""
603
+
604
+ msgid "Restore this item from the Trash"
605
+ msgstr ""
606
+
607
+ msgid "Restore"
608
+ msgstr ""
609
+
610
+ msgid "Edit this item"
611
+ msgstr ""
612
+
613
+ msgid "Edit this item inline"
614
+ msgstr ""
615
+
616
+ msgid "Quick Edit"
617
+ msgstr ""
618
+
619
+ msgid "Move this item to the Trash"
620
+ msgstr ""
621
+
622
+ msgid "Move to Trash"
623
+ msgstr ""
624
+
625
+ msgid "Delete this item Permanently"
626
+ msgstr ""
627
+
628
+ msgid "Delete Permanently"
629
+ msgstr ""
630
+
631
+ msgid "Download"
632
+ msgstr ""
633
+
634
+ msgid "View"
635
+ msgstr ""
636
+
637
+ msgid "(no title)"
638
+ msgstr ""
639
+
640
+ msgid "(no title: bad ID)"
641
+ msgstr ""
642
+
643
+ msgid "Disabled"
644
+ msgstr ""
645
+
646
+ msgid "MIME Type"
647
+ msgstr ""
648
+
649
+ msgid "Base File"
650
+ msgstr ""
651
+
652
+ msgid "Unpublished"
653
+ msgstr ""
654
+
655
+ #. translators: 1: upload/last modified date and time
656
+ #, php-format
657
+ msgid "%1$s from now"
658
+ msgstr ""
659
+
660
+ #. translators: 1: upload/last modified date and time
661
+ #, php-format
662
+ msgid "%1$s ago"
663
+ msgstr ""
664
+
665
+ #. translators: format for upload/last modified date
666
+ #. translators: date format in table columns, see http://php.net/date
667
+ msgid "Y/m/d"
668
+ msgstr ""
669
+
670
+ msgctxt "table_view_singular"
671
+ msgid "Unattached"
672
+ msgstr ""
673
+
674
+ msgid "Set Parent"
675
+ msgstr ""
676
+
677
+ msgctxt "uploaded files"
678
+ msgid "All"
679
+ msgid_plural "All"
680
+ msgstr[0] ""
681
+ msgstr[1] ""
682
+
683
+ msgid "Filter"
684
+ msgstr ""
685
+
686
+ msgid "Terms Search"
687
+ msgstr ""
688
+
689
+ msgid "Clear Filter-by"
690
+ msgstr ""
691
+
692
+ msgid "Empty Trash"
693
+ msgstr ""
694
+
695
+ msgid "Error while saving the changes."
696
+ msgstr ""
697
+
698
+ msgid "Remove From Bulk Edit"
699
+ msgstr ""
700
+
701
+ msgid "Bulk Edit items"
702
+ msgstr ""
703
+
704
+ msgid "Waiting"
705
+ msgstr ""
706
+
707
+ msgid "Complete"
708
+ msgstr ""
709
+
710
+ msgid "Unchanged"
711
+ msgstr ""
712
+
713
+ msgid "Succeeded"
714
+ msgstr ""
715
+
716
+ msgid "Failed"
717
+ msgstr ""
718
+
719
+ msgid "CANCELED"
720
+ msgstr ""
721
+
722
+ #, php-format
723
+ msgid "Item permanently deleted."
724
+ msgid_plural "%d items permanently deleted."
725
+ msgstr[0] ""
726
+ msgstr[1] ""
727
+
728
+ #. translators: 1: post ID
729
+ #, php-format
730
+ msgid "Item %1$d moved to Trash."
731
+ msgstr ""
732
+
733
+ msgid "Entries per page"
734
+ msgstr ""
735
+
736
+ msgid "You are not allowed to edit Attachment: "
737
+ msgstr ""
738
+
739
+ #. translators: 1: ERROR tag 2: bulk action
740
+ #, php-format
741
+ msgid "%1$s: Unknown bulk action %2$s"
742
+ msgstr ""
743
+
744
+ msgid "no changes detected"
745
+ msgstr ""
746
+
747
+ #. translators: 1: action name, e.g., edit
748
+ #, php-format
749
+ msgid "Bulk Action %1$s - no items selected."
750
+ msgstr ""
751
+
752
+ msgid "You do not have permission to manage attachments."
753
+ msgstr ""
754
+
755
+ #. translators: 1: number of items
756
+ #, php-format
757
+ msgctxt "deleted items"
758
+ msgid "%s item deleted."
759
+ msgid_plural "%s items deleted."
760
+ msgstr[0] ""
761
+ msgstr[1] ""
762
+
763
+ msgid "No items deleted."
764
+ msgstr ""
765
+
766
+ msgid "Empty Terms Search; ignored"
767
+ msgstr ""
768
+
769
+ #. translators: 1: row-level action, e.g., single_item_delete, single_item_edit
770
+ #. translators: 1: bulk_action, e.g., single_item_delete, single_item_edit
771
+ #, php-format
772
+ msgid "Unknown mla_admin_action - \"%1$s\""
773
+ msgstr ""
774
+
775
+ msgid "term search results for"
776
+ msgstr ""
777
+
778
+ msgid "post/parent results for"
779
+ msgstr ""
780
+
781
+ msgid "search results for"
782
+ msgstr ""
783
+
784
+ msgid "Type"
785
+ msgstr ""
786
+
787
+ msgid "Date"
788
+ msgstr ""
789
+
790
+ msgid "Status"
791
+ msgstr ""
792
+
793
+ msgid "Published"
794
+ msgstr ""
795
+
796
+ msgid "Pending Review"
797
+ msgstr ""
798
+
799
+ msgid "No post ID found"
800
+ msgstr ""
801
+
802
+ msgid "You are not allowed to edit this Attachment."
803
+ msgstr ""
804
+
805
+ msgid "Update"
806
+ msgstr ""
807
+
808
+ msgid "All Post Types"
809
+ msgstr ""
810
+
811
+ msgid "For"
812
+ msgstr ""
813
+
814
+ msgid "Unattached"
815
+ msgstr ""
816
+
817
+ msgid "Cancel"
818
+ msgstr ""
819
+
820
+ msgid "Bulk Edit"
821
+ msgstr ""
822
+
823
+ msgid "In-process"
824
+ msgstr ""
825
+
826
+ msgid "Refresh"
827
+ msgstr ""
828
+
829
+ msgid "You are not allowed to delete this item."
830
+ msgstr ""
831
+
832
+ #. translators: 1: ERROR tag 2: post ID
833
+ #, php-format
834
+ msgid "%1$s: Item %2$d could NOT be deleted."
835
+ msgstr ""
836
+
837
+ #. translators: 1: post ID
838
+ #, php-format
839
+ msgid "Item %1$d permanently deleted."
840
+ msgstr ""
841
+
842
+ msgid "You are not allowed to move this item out of the Trash."
843
+ msgstr ""
844
+
845
+ #. translators: 1: ERROR tag 2: post ID
846
+ #, php-format
847
+ msgid "%1$s: Item %2$d could NOT be restored from Trash."
848
+ msgstr ""
849
+
850
+ #. translators: 1: post ID
851
+ #, php-format
852
+ msgid "Item %1$d restored from Trash."
853
+ msgstr ""
854
+
855
+ msgid "You are not allowed to move this item to the Trash."
856
+ msgstr ""
857
+
858
+ #. translators: 1: ERROR tag 2: post ID
859
+ #, php-format
860
+ msgid "%1$s: Item %2$d could NOT be moved to Trash."
861
+ msgstr ""
862
+
863
+ msgid "Click to toggle"
864
+ msgstr ""
865
+
866
+ msgid "Show all dates"
867
+ msgstr ""
868
+
869
+ #. translators: 1: month name, 2: 4-digit year
870
+ #, php-format
871
+ msgid "%1$s %2$d"
872
+ msgstr ""
873
+
874
+ msgid "Search Box"
875
+ msgstr ""
876
+
877
+ msgid "Loading..."
878
+ msgstr ""
879
+
880
+ msgid "Tags"
881
+ msgstr ""
882
+
883
+ #. translators: %s: add new taxonomy label
884
+ #. translators: %s: add new View
885
+ #. translators: %s: add new Upload MIME Type
886
+ #, php-format
887
+ msgid "Add New %1$s"
888
+ msgstr ""
889
+
890
+ msgid "Choose from the most used tags"
891
+ msgstr ""
892
+
893
+ msgid "Search Terms"
894
+ msgstr ""
895
+
896
+ msgid "There are no taxonomies to search"
897
+ msgstr ""
898
+
899
+ msgid "All phrases"
900
+ msgstr ""
901
+
902
+ msgid "Any phrase"
903
+ msgstr ""
904
+
905
+ msgid "All terms"
906
+ msgstr ""
907
+
908
+ msgid "Any term"
909
+ msgstr ""
910
+
911
+ msgid "Exact"
912
+ msgstr ""
913
+
914
+ msgctxt "post_mime_types"
915
+ msgid "Manage"
916
+ msgstr ""
917
+
918
+ msgctxt "post_mime_types_description"
919
+ msgid "Copied from previous filter/plugin"
920
+ msgstr ""
921
+
922
+ #. translators: 1: ERROR tag 2: raw_mime_type
923
+ #, php-format
924
+ msgid "%1$s: Bad specification part \"%2$s\""
925
+ msgstr ""
926
+
927
+ #. translators: 1: ERROR tag 2: option, e.g., any, match, null
928
+ #, php-format
929
+ msgid "%1$s: Bad specification option \"%2$s\""
930
+ msgstr ""
931
+
932
+ #. translators: 1: ERROR tag 2: prefix, e.g., custom
933
+ #, php-format
934
+ msgid "%1$s: Bad specification prefix \"%2$s\""
935
+ msgstr ""
936
+
937
+ msgid "Ignoring specification for Post MIME Type; using slug"
938
+ msgstr ""
939
+
940
+ #. translators: 1: element name 2: bad_value 3: good_value
941
+ #, php-format
942
+ msgid "<br>Changing %1$s \"%2$s\" to valid value \"%3$s\""
943
+ msgstr ""
944
+
945
+ msgid "Slug"
946
+ msgstr ""
947
+
948
+ #. translators: 1: ERROR tag 2: slug
949
+ #, php-format
950
+ msgid "%1$s: Could not add Slug \"%2$s\"; value already exists"
951
+ msgstr ""
952
+
953
+ #. translators: 1: slug
954
+ #, php-format
955
+ msgid "Edit view \"%1$s\"; added"
956
+ msgstr ""
957
+
958
+ #. translators: 1: element name 2: bad_value 3: good_value
959
+ #, php-format
960
+ msgid "<br>Changing new %1$s \"%2$s\" to valid value \"%3$s\""
961
+ msgstr ""
962
+
963
+ #. translators: 1: slug
964
+ #, php-format
965
+ msgid "Edit view \"%1$s\"; no changes detected"
966
+ msgstr ""
967
+
968
+ #. translators: 1: slug
969
+ #, php-format
970
+ msgid "Edit view \"%1$s\"; updated"
971
+ msgstr ""
972
+
973
+ #. translators: 1: slug
974
+ #, php-format
975
+ msgid "View \"%1$s\" reverted to standard"
976
+ msgstr ""
977
+
978
+ #. translators: 1: slug
979
+ #, php-format
980
+ msgid "View \"%1$s\" deleted"
981
+ msgstr ""
982
+
983
+ #. translators: 1: ERROR tag 2: slug
984
+ #, php-format
985
+ msgid "%1$s: Did not find view \"%2$s\""
986
+ msgstr ""
987
+
988
+ msgctxt "table_view_singular"
989
+ msgid "All"
990
+ msgstr ""
991
+
992
+ msgctxt "table_view_plural"
993
+ msgid "All"
994
+ msgstr ""
995
+
996
+ msgctxt "table_view_singular"
997
+ msgid "Active"
998
+ msgstr ""
999
+
1000
+ msgctxt "table_view_plural"
1001
+ msgid "Active"
1002
+ msgstr ""
1003
+
1004
+ msgctxt "table_view_singular"
1005
+ msgid "Inactive"
1006
+ msgstr ""
1007
+
1008
+ msgctxt "table_view_plural"
1009
+ msgid "Inactive"
1010
+ msgstr ""
1011
+
1012
+ msgctxt "table_view_singular"
1013
+ msgid "WordPress"
1014
+ msgstr ""
1015
+
1016
+ msgctxt "table_view_plural"
1017
+ msgid "WordPress"
1018
+ msgstr ""
1019
+
1020
+ msgctxt "table_view_singular"
1021
+ msgid "MLA"
1022
+ msgstr ""
1023
+
1024
+ msgctxt "table_view_plural"
1025
+ msgid "MLA"
1026
+ msgstr ""
1027
+
1028
+ msgctxt "table_view_singular"
1029
+ msgid "Custom"
1030
+ msgstr ""
1031
+
1032
+ msgctxt "table_view_plural"
1033
+ msgid "Custom"
1034
+ msgstr ""
1035
+
1036
+ msgid "icon"
1037
+ msgstr ""
1038
+
1039
+ msgid "Cannot load Upload MIME Types"
1040
+ msgstr ""
1041
+
1042
+ msgid "Extension is required"
1043
+ msgstr ""
1044
+
1045
+ msgid "Extension"
1046
+ msgstr ""
1047
+
1048
+ #. translators: 1: ERROR tag 2: slug
1049
+ #, php-format
1050
+ msgid "%1$s: Could not add extension \"%2$s\"; value already exists"
1051
+ msgstr ""
1052
+
1053
+ msgid "MIME type is required"
1054
+ msgstr ""
1055
+
1056
+ #. translators: 1: ERROR tag 2: clean_mime_type
1057
+ #, php-format
1058
+ msgid "%1$s: Bad MIME type; try \"%2$s\""
1059
+ msgstr ""
1060
+
1061
+ #. translators: 1: slug
1062
+ #, php-format
1063
+ msgid "Upload MIME Type \"%1$s\"; added"
1064
+ msgstr ""
1065
+
1066
+ msgid "Cannot update Upload MIME Types"
1067
+ msgstr ""
1068
+
1069
+ #. translators: 1: ERROR tag 2: slug
1070
+ #, php-format
1071
+ msgid "%1$s: Could not add new extension \"%2$s\"; value already exists"
1072
+ msgstr ""
1073
+
1074
+ #. translators: 1: slug
1075
+ #, php-format
1076
+ msgid "Edit type \"%1$s\"; no changes detected"
1077
+ msgstr ""
1078
+
1079
+ #. translators: 1: slug
1080
+ #, php-format
1081
+ msgid "Edit type \"%1$s\"; updated"
1082
+ msgstr ""
1083
+
1084
+ #. translators: 1: slug
1085
+ #, php-format
1086
+ msgid "Upload MIME Type \"%1$s\"; reverted to standard"
1087
+ msgstr ""
1088
+
1089
+ #. translators: 1: slug
1090
+ #, php-format
1091
+ msgid "Upload MIME Type \"%1$s\"; deleted"
1092
+ msgstr ""
1093
+
1094
+ #. translators: 1: ERROR tag 2: slug
1095
+ #, php-format
1096
+ msgid "%1$s: Did not find Upload type \"%2$s\""
1097
+ msgstr ""
1098
+
1099
+ msgctxt "taxonomy_name_plural"
1100
+ msgid "Att. Categories"
1101
+ msgstr ""
1102
+
1103
+ msgctxt "taxonomy_name_singular"
1104
+ msgid "Att. Category"
1105
+ msgstr ""
1106
+
1107
+ msgid "Search Att. Categories"
1108
+ msgstr ""
1109
+
1110
+ msgid "All Att. Categories"
1111
+ msgstr ""
1112
+
1113
+ msgid "Parent Att. Category"
1114
+ msgstr ""
1115
+
1116
+ msgid "Edit Att. Category"
1117
+ msgstr ""
1118
+
1119
+ msgid "Update Att. Category"
1120
+ msgstr ""
1121
+
1122
+ msgid "Att. Category"
1123
+ msgstr ""
1124
+
1125
+ msgid "New Att. Category Name"
1126
+ msgstr ""
1127
+
1128
+ msgctxt "taxonomy_name_plural"
1129
+ msgid "Att. Tags"
1130
+ msgstr ""
1131
+
1132
+ msgctxt "taxonomy_name_singular"
1133
+ msgid "Att. Tag"
1134
+ msgstr ""
1135
+
1136
+ msgid "Search Att. Tags"
1137
+ msgstr ""
1138
+
1139
+ msgid "All Att. Tags"
1140
+ msgstr ""
1141
+
1142
+ msgid "Parent Att. Tag"
1143
+ msgstr ""
1144
+
1145
+ msgid "Edit Att. Tag"
1146
+ msgstr ""
1147
+
1148
+ msgid "Update Att. Tag"
1149
+ msgstr ""
1150
+
1151
+ msgid "Att. Tag"
1152
+ msgstr ""
1153
+
1154
+ msgid "New Att. Tag Name"
1155
+ msgstr ""
1156
+
1157
+ msgid "Attachments"
1158
+ msgstr ""
1159
+
1160
+ #. translators: 1: ERROR tag 2: taxonomy 3: error message
1161
+ #, php-format
1162
+ msgctxt "error_log"
1163
+ msgid ""
1164
+ "%1$s: mla_taxonomy_column_filter( \"%2$s\" ) - get_term failed: \"%3$s\""
1165
+ msgstr ""
1166
+
1167
+ msgid "click to search"
1168
+ msgstr ""
1169
+
1170
+ msgid "Shortcode(s), HTML and/or Plain Text"
1171
+ msgstr ""
1172
+
1173
+ msgid "MLA Text"
1174
+ msgstr ""
1175
+
1176
+ msgid "Automatically add paragraphs"
1177
+ msgstr ""
1178
+
1179
+ msgid "error loading tpls/mla-option-templates.tpl"
1180
+ msgstr ""
1181
+
1182
+ msgid "tpls/mla-option-templates.tpl not found"
1183
+ msgstr ""
1184
+
1185
+ msgid "Attachment Categories"
1186
+ msgstr ""
1187
+
1188
+ msgid "Check this option to add support for Attachment Categories."
1189
+ msgstr ""
1190
+
1191
+ msgid "Attachment Tags"
1192
+ msgstr ""
1193
+
1194
+ msgid "Check this option to add support for Attachment Tags."
1195
+ msgstr ""
1196
+
1197
+ msgid "Where-used Reporting"
1198
+ msgstr ""
1199
+
1200
+ msgid "Exclude Revisions"
1201
+ msgstr ""
1202
+
1203
+ msgid "Check this option to exclude revisions from where-used reporting."
1204
+ msgstr ""
1205
+
1206
+ msgid "Where-used database access tuning"
1207
+ msgstr ""
1208
+
1209
+ msgid "Enabled"
1210
+ msgstr ""
1211
+
1212
+ msgid "Search database posts and pages for Featured Image attachments."
1213
+ msgstr ""
1214
+
1215
+ msgid "Base"
1216
+ msgstr ""
1217
+
1218
+ msgid ""
1219
+ "Search database posts and pages for attachments embedded in content."
1220
+ "<br>&nbsp;&nbsp;Base = ignore intermediate size suffixes; use path, base "
1221
+ "name and extension only."
1222
+ msgstr ""
1223
+
1224
+ msgid "Dynamic"
1225
+ msgstr ""
1226
+
1227
+ msgid "Cached"
1228
+ msgstr ""
1229
+
1230
+ msgid ""
1231
+ "Search database posts and pages for [gallery] shortcode results.<br>&nbsp;"
1232
+ "&nbsp;Dynamic = once every page load, Cached = once every login, Disabled = "
1233
+ "never.<br>&nbsp;&nbsp;Refresh = update references, then set to Cached."
1234
+ msgstr ""
1235
+
1236
+ msgid ""
1237
+ "Search database posts and pages for [mla_gallery] shortcode results."
1238
+ "<br>&nbsp;&nbsp;Dynamic = once every page load, Cached = once every login, "
1239
+ "Disabled = never.<br>&nbsp;&nbsp;Refresh = update references, then set to "
1240
+ "Cached."
1241
+ msgstr ""
1242
+
1243
+ msgid "Taxonomy Support"
1244
+ msgstr ""
1245
+
1246
+ msgid "Compute Attachments Column"
1247
+ msgstr ""
1248
+
1249
+ msgid ""
1250
+ "Check this option to calculate attachments per term in the Attachments "
1251
+ "Column."
1252
+ msgstr ""
1253
+
1254
+ msgid ""
1255
+ "Check the \"<strong>Support</strong>\" box to add the taxonomy to the "
1256
+ "Assistant and the Edit Media screen."
1257
+ msgstr ""
1258
+
1259
+ msgid ""
1260
+ "Check the \"<strong>Inline Edit</strong>\" box to display the taxonomy in "
1261
+ "the Quick Edit and Bulk Edit areas."
1262
+ msgstr ""
1263
+
1264
+ msgid ""
1265
+ "Check the \"<strong>Term Search</strong>\" box to add the taxonomy to the "
1266
+ "\"Search Media/Terms\" list."
1267
+ msgstr ""
1268
+
1269
+ msgid "For complete documentation"
1270
+ msgstr ""
1271
+
1272
+ msgid "click here"
1273
+ msgstr ""
1274
+
1275
+ msgid ""
1276
+ "Check the \"<strong>Checklist</strong>\" box to enable the checklist-style "
1277
+ "meta box for a flat taxonomy."
1278
+ msgstr ""
1279
+
1280
+ msgid ""
1281
+ "You must also check the <strong>\"Enable enhanced checklist taxonomies\"</"
1282
+ "strong> box below to enable this feature."
1283
+ msgstr ""
1284
+
1285
+ msgid ""
1286
+ "Check the \"<strong>Checked On Top</strong>\" box to moved checked terms to "
1287
+ "the top of the checklist-style meta box."
1288
+ msgstr ""
1289
+
1290
+ msgid ""
1291
+ "Use the \"<strong>List Filter</strong>\" option to select the taxonomy on "
1292
+ "which to filter the Assistant table listing."
1293
+ msgstr ""
1294
+
1295
+ msgid "Media/Assistant Screen Options"
1296
+ msgstr ""
1297
+
1298
+ msgid "Admin Menu Options"
1299
+ msgstr ""
1300
+
1301
+ msgid "Page Title"
1302
+ msgstr ""
1303
+
1304
+ #. translators: Name of the plugin/theme
1305
+ msgid "Media Library Assistant"
1306
+ msgstr ""
1307
+
1308
+ msgid "Enter the title for the Media/Assistant submenu page"
1309
+ msgstr ""
1310
+
1311
+ msgid "Menu Title"
1312
+ msgstr ""
1313
+
1314
+ msgid "Assistant"
1315
+ msgstr ""
1316
+
1317
+ msgid "Enter the title for the Media/Assistant submenu entry"
1318
+ msgstr ""
1319
+
1320
+ msgid "Submenu Order"
1321
+ msgstr ""
1322
+
1323
+ msgid ""
1324
+ "Enter the position of the Media/Assistant submenu entry.<br>&nbsp;&nbsp;0 = "
1325
+ "natural order (at bottom),&nbsp;&nbsp;&nbsp;&nbsp;1 - 4 = at top<br>&nbsp;"
1326
+ "&nbsp;6-9 = after \"Library\",&nbsp;&nbsp;&nbsp;&nbsp;11-16 = after \"Add New"
1327
+ "\""
1328
+ msgstr ""
1329
+
1330
+ msgid "Display Media/Library"
1331
+ msgstr ""
1332
+
1333
+ msgid ""
1334
+ "Check/uncheck this option to display/remove the WordPress Media/Library "
1335
+ "submenu entry."
1336
+ msgstr ""
1337
+
1338
+ msgid "Table Defaults"
1339
+ msgstr ""
1340
+
1341
+ msgid "Order By"
1342
+ msgstr ""
1343
+
1344
+ msgid "Title/Name"
1345
+ msgstr ""
1346
+
1347
+ msgid "Select the column for the sort order of the Assistant table listing."
1348
+ msgstr ""
1349
+
1350
+ msgid "Order"
1351
+ msgstr ""
1352
+
1353
+ msgid "Ascending"
1354
+ msgstr ""
1355
+
1356
+ msgid "Descending"
1357
+ msgstr ""
1358
+
1359
+ msgid "Choose the sort order."
1360
+ msgstr ""
1361
+
1362
+ msgid "Views Width"
1363
+ msgstr ""
1364
+
1365
+ msgid "Enter the width for the views list, in pixels (px) or percent (%)"
1366
+ msgstr ""
1367
+
1368
+ msgid "Icon Size"
1369
+ msgstr ""
1370
+
1371
+ msgid "Enter the size of the thumbnail/icon images, in pixels"
1372
+ msgstr ""
1373
+
1374
+ msgid "Bulk Chunk Size"
1375
+ msgstr ""
1376
+
1377
+ msgid "Enter the size of the Bulk Edit and Map All processing chunks"
1378
+ msgstr ""
1379
+
1380
+ msgid "Taxonomy Filter parameters"
1381
+ msgstr ""
1382
+
1383
+ msgid "Maximum Depth"
1384
+ msgstr ""
1385
+
1386
+ msgid ""
1387
+ "Enter the number of levels displayed for hierarchial taxonomies; enter zero "
1388
+ "for no limit."
1389
+ msgstr ""
1390
+
1391
+ msgid "Include Children"
1392
+ msgstr ""
1393
+
1394
+ msgid ""
1395
+ "Check/uncheck this option to include/exclude children for hierarchical "
1396
+ "taxonomies."
1397
+ msgstr ""
1398
+
1399
+ msgid "Search Media Defaults"
1400
+ msgstr ""
1401
+
1402
+ msgid "Display Search Controls"
1403
+ msgstr ""
1404
+
1405
+ msgid ""
1406
+ "Check/uncheck this option to display/hide the and/or connector and search "
1407
+ "fields controls."
1408
+ msgstr ""
1409
+
1410
+ msgid ""
1411
+ "Use these controls to set defaults for the and/or connector and search "
1412
+ "fields controls.<br>These defaults will be used for the Search Media boxes "
1413
+ "on both the Media/Assistant submenu<br>and the Media Manager Modal Window."
1414
+ msgstr ""
1415
+
1416
+ msgid "Media/Edit Media Enhancements"
1417
+ msgstr ""
1418
+
1419
+ msgid "Enable &quot;enhanced checklist&quot; taxonomies"
1420
+ msgstr ""
1421
+
1422
+ msgid ""
1423
+ "Check this option to enable the \"? Search\" feature for hierarchical "
1424
+ "taxonomies, e.g., Att. Categories.<br>&nbsp;&nbsp;This option also enables "
1425
+ "the \"checklist-style\" support for flat taxonomies, e.g., Att. Tags."
1426
+ msgstr ""
1427
+
1428
+ msgid "Enable Edit Media additional meta boxes"
1429
+ msgstr ""
1430
+
1431
+ msgid ""
1432
+ "Check this option to add \"Parent Info\", \"Menu Order\", \"Attachment "
1433
+ "Metadata\" and four \"where-used\" meta boxes to the Edit Media screen."
1434
+ msgstr ""
1435
+
1436
+ msgid "You can also use Filters to customize the meta boxes."
1437
+ msgstr ""
1438
+
1439
+ msgid "Media/Add New Enhancements"
1440
+ msgstr ""
1441
+
1442
+ msgid "Enable &quot;bulk edit&quot; area"
1443
+ msgstr ""
1444
+
1445
+ msgid ""
1446
+ "Check this option to enable the \"Bulk Edit area\" feature on the Media/Add "
1447
+ "New screen."
1448
+ msgstr ""
1449
+
1450
+ msgid "&quot;bulk edit&quot; area on top"
1451
+ msgstr ""
1452
+
1453
+ msgid ""
1454
+ "Check this option to move the \"Bulk Edit area\" to the top of the Media/Add "
1455
+ "New screen."
1456
+ msgstr ""
1457
+
1458
+ msgid "Media Manager/Media Grid Enhancements"
1459
+ msgstr ""
1460
+
1461
+ msgid "Enable Media Grid Enhancements"
1462
+ msgstr ""
1463
+
1464
+ msgid ""
1465
+ "Check/uncheck this option to enable/disable Media Library Grid View "
1466
+ "Enhancements."
1467
+ msgstr ""
1468
+
1469
+ msgid "Enable Media Manager Enhancements"
1470
+ msgstr ""
1471
+
1472
+ msgid ""
1473
+ "Check/uncheck this option to enable/disable Media Manager Modal Window "
1474
+ "Enhancements."
1475
+ msgstr ""
1476
+
1477
+ msgid "Media Manager Enhanced MIME Type filter"
1478
+ msgstr ""
1479
+
1480
+ msgid ""
1481
+ "Check this option to filter by more MIME Types, e.g., text, applications."
1482
+ msgstr ""
1483
+
1484
+ msgid "Media Manager Month and Year filter"
1485
+ msgstr ""
1486
+
1487
+ msgid "Check this option to filter by month and year uploaded."
1488
+ msgstr ""
1489
+
1490
+ msgid "Media Manager Category/Tag filter"
1491
+ msgstr ""
1492
+
1493
+ msgid "Check this option to filter by taxonomy terms."
1494
+ msgstr ""
1495
+
1496
+ msgid "Media Manager Terms Search popup"
1497
+ msgstr ""
1498
+
1499
+ msgid "Check this option to enable the \"Terms Search\" popup window."
1500
+ msgstr ""
1501
+
1502
+ msgid "Media Manager Enhanced Search Media box"
1503
+ msgstr ""
1504
+
1505
+ msgid "Check this option to enable search box enhancements."
1506
+ msgstr ""
1507
+
1508
+ msgid "Media Manager Enhanced Search Media Controls"
1509
+ msgstr ""
1510
+
1511
+ msgid "Media Manager Checklist meta boxes"
1512
+ msgstr ""
1513
+
1514
+ msgid ""
1515
+ "Check this option to enable MLA-enhanced meta boxes in the \"ATTACHMENT "
1516
+ "DETAILS\" pane.<br>&nbsp;&nbsp;This option is for any taxonomy that uses a "
1517
+ "<strong>\"checklist-style\"</strong> meta box."
1518
+ msgstr ""
1519
+
1520
+ msgid "Media Manager Flat meta boxes"
1521
+ msgstr ""
1522
+
1523
+ msgid ""
1524
+ "Check this option to enable MLA-enhanced meta boxes in the \"ATTACHMENT "
1525
+ "DETAILS\" pane.<br>&nbsp;&nbsp;This option is for <strong>flat taxonomies</"
1526
+ "strong>, e.g., \"Tags\" or \"Att. Tags\", that do not use the \"checklist-"
1527
+ "style\" meta box."
1528
+ msgstr ""
1529
+
1530
+ msgid "Media Manager auto-fill meta boxes"
1531
+ msgstr ""
1532
+
1533
+ msgid ""
1534
+ "Check this option to automatically fill MLA-enhanced meta boxes in the "
1535
+ "\"ATTACHMENT DETAILS\" pane<br>&nbsp;&nbsp;when the item is selected."
1536
+ msgstr ""
1537
+
1538
+ msgid "Media Manager Order By"
1539
+ msgstr ""
1540
+
1541
+ msgid "Media Manager Default"
1542
+ msgstr ""
1543
+
1544
+ msgid ""
1545
+ "If you want to override the Media Manager default,<br>&nbsp;&nbsp;select a "
1546
+ "column for the sort order of the Media Library listing."
1547
+ msgstr ""
1548
+
1549
+ msgid "Media Manager Order"
1550
+ msgstr ""
1551
+
1552
+ msgid "Attachment Display Settings"
1553
+ msgstr ""
1554
+
1555
+ msgid "Alignment"
1556
+ msgstr ""
1557
+
1558
+ #. translators: 1: option name, e.g., Alignment, Link To or Size
1559
+ #, php-format
1560
+ msgid ""
1561
+ "Select a value for the default %1$s option in the Attachment Display "
1562
+ "Settings."
1563
+ msgstr ""
1564
+
1565
+ msgid "Left"
1566
+ msgstr ""
1567
+
1568
+ msgid "Center"
1569
+ msgstr ""
1570
+
1571
+ msgid "Right"
1572
+ msgstr ""
1573
+
1574
+ msgid "Link To"
1575
+ msgstr ""
1576
+
1577
+ msgid "Media File"
1578
+ msgstr ""
1579
+
1580
+ msgid "Attachment Page"
1581
+ msgstr ""
1582
+
1583
+ msgid "Custom URL"
1584
+ msgstr ""
1585
+
1586
+ msgid "Size"
1587
+ msgstr ""
1588
+
1589
+ msgid "Thumbnail"
1590
+ msgstr ""
1591
+
1592
+ msgid "Medium"
1593
+ msgstr ""
1594
+
1595
+ msgid "Large"
1596
+ msgstr ""
1597
+
1598
+ msgid "Full Size"
1599
+ msgstr ""
1600
+
1601
+ msgid "Default [mla_gallery] Templates and Settings"
1602
+ msgstr ""
1603
+
1604
+ msgid "Style Template"
1605
+ msgstr ""
1606
+
1607
+ #. translators: 1: template type 2: shortcode
1608
+ #, php-format
1609
+ msgid "Select the default %1$s for your %2$s shortcodes."
1610
+ msgstr ""
1611
+
1612
+ msgid "Markup Template"
1613
+ msgstr ""
1614
+
1615
+ msgid "markup template"
1616
+ msgstr ""
1617
+
1618
+ msgid "Default columns"
1619
+ msgstr ""
1620
+
1621
+ msgid ""
1622
+ "Enter the number of [mla_tag_cloud] columns; must be a positive integer."
1623
+ msgstr ""
1624
+
1625
+ msgid "Default mla_margin"
1626
+ msgstr ""
1627
+
1628
+ msgid ""
1629
+ "Enter the CSS \"margin\" property value, in length (px, em, pt, etc.), "
1630
+ "percent (%), \"auto\" or \"inherit\".<br>&nbsp;&nbsp;Enter \"none\" to "
1631
+ "remove the property entirely."
1632
+ msgstr ""
1633
+
1634
+ msgid "Default mla_itemwidth"
1635
+ msgstr ""
1636
+
1637
+ msgid ""
1638
+ "Enter the CSS \"width\" property value, in length (px, em, pt, etc.), "
1639
+ "percent (%), \"auto\" or \"inherit\".<br>&nbsp;&nbsp;Enter \"calculate"
1640
+ "\" (the default) to calculate the value taking the \"margin\" value into "
1641
+ "account.<br>&nbsp;&nbsp;Enter \"exact\" to calculate the value without "
1642
+ "considering the \"margin\" value.<br>&nbsp;&nbsp;Enter \"none\" to remove "
1643
+ "the property entirely."
1644
+ msgstr ""
1645
+
1646
+ msgid "Enter the number of [mla_gallery] columns; must be a positive integer."
1647
+ msgstr ""
1648
+
1649
+ msgid "Thumbnail Substitution Support, mla_viewer"
1650
+ msgstr ""
1651
+
1652
+ msgid "Enable thumbnail substitution"
1653
+ msgstr ""
1654
+
1655
+ msgid ""
1656
+ "Check this option to allow the \"mla_viewer\" to generate thumbnail images "
1657
+ "for PDF documents. Thumbnails are generated dynamically, each time the item "
1658
+ "appears in an [mla_gallery] display.<br>&nbsp;&nbsp;<strong>IMPORTANT: both "
1659
+ "Ghostscript and Imagick/ImageMagick must be installed for this feature.</"
1660
+ "strong>"
1661
+ msgstr ""
1662
+
1663
+ msgid "Enable Featured Images"
1664
+ msgstr ""
1665
+
1666
+ msgid ""
1667
+ "Check this option to extend Featured Image support to all Media Library "
1668
+ "items. The Featured Image can be used as a thumbnail image for the item in "
1669
+ "an [mla_gallery] display."
1670
+ msgstr ""
1671
+
1672
+ msgid "Enable Featured Image Generation"
1673
+ msgstr ""
1674
+
1675
+ msgid ""
1676
+ "Check this option to enable the \"Thumbnail\" generation action in the Media/"
1677
+ "Assistant submenu Bulk Actions dropdown."
1678
+ msgstr ""
1679
+
1680
+ msgid "Enable explicit Ghostscript check"
1681
+ msgstr ""
1682
+
1683
+ msgid ""
1684
+ "Check this option to enable the explicit check for Ghostscript support "
1685
+ "required for thumbnail generation. If your Ghostscript software is in a non-"
1686
+ "standard location, unchecking this option bypasses the check. Bad things can "
1687
+ "happen if Ghostscript is missing but Imagick/ImageMagick is present, so "
1688
+ "leave this option checked unless you know it is safe to turn it off."
1689
+ msgstr ""
1690
+
1691
+ msgid "Ghostscript path"
1692
+ msgstr ""
1693
+
1694
+ msgid ""
1695
+ "If your &ldquo;gs&rdquo; executable is in a non-standard location, enter the "
1696
+ "full path and filename here, e.g., &ldquo;/usr/bin/gs&rdquo;. It will "
1697
+ "override the search for Ghostscript in other places."
1698
+ msgstr ""
1699
+
1700
+ msgid "Enable custom field mapping when adding new media"
1701
+ msgstr ""
1702
+
1703
+ msgid ""
1704
+ "Check this option to enable mapping when uploading new media (attachments)."
1705
+ "<br>&nbsp;&nbsp;Click Save Changes at the bottom of the screen if you change "
1706
+ "this option.<br>&nbsp;&nbsp;Does NOT affect the operation of the \"Map\" "
1707
+ "buttons on the bulk edit, single edit and settings screens."
1708
+ msgstr ""
1709
+
1710
+ msgid "Enable custom field mapping when updating media metadata"
1711
+ msgstr ""
1712
+
1713
+ msgid ""
1714
+ "Check this option to enable mapping when media (attachments) metadata is "
1715
+ "regenerated,<br>&nbsp;&nbsp;e.g., when the Media/Edit Media \"Edit Image\" "
1716
+ "functions are used."
1717
+ msgstr ""
1718
+
1719
+ msgid ""
1720
+ "Update the custom field mapping values above, then click Save Changes to "
1721
+ "make the updates permanent.<br>You can also make temporary updates and click "
1722
+ "a Map All Attachments button to apply the rule(s) to all attachments without "
1723
+ "saving any rule changes."
1724
+ msgstr ""
1725
+
1726
+ msgid "Enable IPTC/EXIF Mapping when adding new media"
1727
+ msgstr ""
1728
+
1729
+ msgid ""
1730
+ "Check this option to enable mapping when uploading new media (attachments)."
1731
+ "<br>&nbsp;&nbsp;Does NOT affect the operation of the \"Map\" buttons on the "
1732
+ "bulk edit, single edit and settings screens."
1733
+ msgstr ""
1734
+
1735
+ msgid "Enable IPTC/EXIF Mapping when updating media metadata"
1736
+ msgstr ""
1737
+
1738
+ msgid ""
1739
+ "Update the standard field mapping values above, then click <strong>Save "
1740
+ "Changes</strong> to make the updates permanent.<br>You can also make "
1741
+ "temporary updates and click <strong>Map All Attachments, Standard Fields "
1742
+ "Now</strong> to apply the updates to all attachments without saving the rule "
1743
+ "changes."
1744
+ msgstr ""
1745
+
1746
+ msgid ""
1747
+ "Update the taxonomy term mapping values above, then click <strong>Save "
1748
+ "Changes</strong> or <strong>Map All Attachments, Taxonomy Terms Now</strong>."
1749
+ msgstr ""
1750
+
1751
+ msgid ""
1752
+ "<strong>Update</strong> individual custom field mapping values above, or "
1753
+ "make several updates and click <strong>Save Changes</strong> below to apply "
1754
+ "them all at once.<br>You can also <strong>add a new rule</strong> for an "
1755
+ "existing field or <strong>add a new field</strong> and rule.<br>You can make "
1756
+ "temporary updates and click <strong>Map All Attachments, Custom Fields Now</"
1757
+ "strong> to apply the updates to all attachments without saving the rule "
1758
+ "changes."
1759
+ msgstr ""
1760
+
1761
+ msgid "IPTC/EXIF Mapping help"
1762
+ msgstr ""
1763
+
1764
+ msgid "Enable View and Post MIME Type Support"
1765
+ msgstr ""
1766
+
1767
+ msgid ""
1768
+ "Check/uncheck this option to enable/disable Post MIME Type Support, then "
1769
+ "click <strong>Save Changes</strong> to record the new setting."
1770
+ msgstr ""
1771
+
1772
+ msgid "Post MIME Types help."
1773
+ msgstr ""
1774
+
1775
+ msgctxt "post_mime_types_description"
1776
+ msgid "Built-in view"
1777
+ msgstr ""
1778
+
1779
+ msgctxt "table_view_singular"
1780
+ msgid "Image"
1781
+ msgstr ""
1782
+
1783
+ msgctxt "table_view_plural"
1784
+ msgid "Images"
1785
+ msgstr ""
1786
+
1787
+ msgctxt "post_mime_types_description"
1788
+ msgid "All image subtypes"
1789
+ msgstr ""
1790
+
1791
+ msgctxt "table_view_singular"
1792
+ msgid "Audio"
1793
+ msgstr ""
1794
+
1795
+ msgctxt "table_view_plural"
1796
+ msgid "Audio"
1797
+ msgstr ""
1798
+
1799
+ msgctxt "post_mime_types_description"
1800
+ msgid "All audio subtypes"
1801
+ msgstr ""
1802
+
1803
+ msgctxt "table_view_singular"
1804
+ msgid "Video"
1805
+ msgstr ""
1806
+
1807
+ msgctxt "table_view_plural"
1808
+ msgid "Video"
1809
+ msgstr ""
1810
+
1811
+ msgctxt "post_mime_types_description"
1812
+ msgid "All video subtypes"
1813
+ msgstr ""
1814
+
1815
+ msgctxt "table_view_singular"
1816
+ msgid "Text"
1817
+ msgstr ""
1818
+
1819
+ msgctxt "table_view_plural"
1820
+ msgid "Text"
1821
+ msgstr ""
1822
+
1823
+ msgctxt "post_mime_types_description"
1824
+ msgid "All text subtypes"
1825
+ msgstr ""
1826
+
1827
+ msgctxt "table_view_singular"
1828
+ msgid "Application"
1829
+ msgstr ""
1830
+
1831
+ msgctxt "table_view_plural"
1832
+ msgid "Applications"
1833
+ msgstr ""
1834
+
1835
+ msgctxt "post_mime_types_description"
1836
+ msgid "All application subtypes"
1837
+ msgstr ""
1838
+
1839
+ msgctxt "table_view_plural"
1840
+ msgid "Unattached"
1841
+ msgstr ""
1842
+
1843
+ msgctxt "table_view_singular"
1844
+ msgid "Attached"
1845
+ msgstr ""
1846
+
1847
+ msgctxt "table_view_plural"
1848
+ msgid "Attached"
1849
+ msgstr ""
1850
+
1851
+ msgctxt "table_view_singular"
1852
+ msgid "Trash"
1853
+ msgstr ""
1854
+
1855
+ msgctxt "table_view_plural"
1856
+ msgid "Trash"
1857
+ msgstr ""
1858
+
1859
+ msgid "Enable Upload MIME Type Support"
1860
+ msgstr ""
1861
+
1862
+ msgid ""
1863
+ "Check/uncheck this option to enable/disable Upload MIME Type Support, then "
1864
+ "click <strong>Save Changes</strong> to record the new setting."
1865
+ msgstr ""
1866
+
1867
+ msgid "Upload MIME Types help."
1868
+ msgstr ""
1869
+
1870
+ msgid "Enable MLA File Type Icons Support"
1871
+ msgstr ""
1872
+
1873
+ msgid ""
1874
+ "Check/uncheck this option to enable/disable MLA File Type Icons Support, "
1875
+ "then click <strong>Save Changes</strong> to record the new setting."
1876
+ msgstr ""
1877
+
1878
+ msgid "Display Limit"
1879
+ msgstr ""
1880
+
1881
+ msgid ""
1882
+ "Enter the maximum number of debug log characters to display; enter zero or "
1883
+ "leave blank for no limit."
1884
+ msgstr ""
1885
+
1886
+ msgid "Debug File"
1887
+ msgstr ""
1888
+
1889
+ msgid ""
1890
+ "Enter the name of an alternate, MLA-specific debug log file; leave blank to "
1891
+ "use the PHP error_log."
1892
+ msgstr ""
1893
+
1894
+ msgid "Replace PHP error_log file"
1895
+ msgstr ""
1896
+
1897
+ msgid ""
1898
+ "Check this option to replace the PHP error_log file with the MLA Debug File."
1899
+ "<br>&nbsp;&nbsp;allows capture of PHP messages in the MLA Debug File."
1900
+ msgstr ""
1901
+
1902
+ msgid "PHP Reporting"
1903
+ msgstr ""
1904
+
1905
+ msgid ""
1906
+ "Enter a numeric error_reporting value, e.g., 0x7FFF or 32767; leave blank to "
1907
+ "use the existing PHP error_reporting value."
1908
+ msgstr ""
1909
+
1910
+ msgid "MLA Reporting"
1911
+ msgstr ""
1912
+
1913
+ msgid ""
1914
+ "Enter a numeric MLA_DEBUG_LEVEL value, e.g., 0x0003 or 3; leave blank to use "
1915
+ "the existing MLA_DEBUG_LEVEL value."
1916
+ msgstr ""
1917
+
1918
+ msgid "no templates exist"
1919
+ msgstr ""
1920
+
1921
+ msgid "not found"
1922
+ msgstr ""
1923
+
1924
+ #. translators: 1: ERROR tag 2: option name 3: action, e.g., update, delete, reset
1925
+ #, php-format
1926
+ msgid "%1$s: Custom %2$s unknown action \"%3$s\""
1927
+ msgstr ""
1928
+
1929
+ msgid "Support"
1930
+ msgstr ""
1931
+
1932
+ msgid "Inline Edit"
1933
+ msgstr ""
1934
+
1935
+ msgid "Term Search"
1936
+ msgstr ""
1937
+
1938
+ msgid "Checklist"
1939
+ msgstr ""
1940
+
1941
+ msgid "Checked On Top"
1942
+ msgstr ""
1943
+
1944
+ msgid "List Filter"
1945
+ msgstr ""
1946
+
1947
+ msgid "Taxonomy"
1948
+ msgstr ""
1949
+
1950
+ #. translators: 1: taxonomy name
1951
+ #, php-format
1952
+ msgid "List Filter ignored; %1$s not supported."
1953
+ msgstr ""
1954
+
1955
+ #. translators: 1: taxonomy name
1956
+ #, php-format
1957
+ msgid "Inline Edit ignored; %1$s not supported."
1958
+ msgstr ""
1959
+
1960
+ #. translators: 1: taxonomy name
1961
+ #, php-format
1962
+ msgid "Term Search ignored; %1$s not supported."
1963
+ msgstr ""
1964
+
1965
+ #. translators: 1: taxonomy name
1966
+ #, php-format
1967
+ msgid "Checklist ignored; %1$s not supported."
1968
+ msgstr ""
1969
+
1970
+ #. translators: 1: taxonomy name
1971
+ #, php-format
1972
+ msgid "Checked On Top ignored; %1$s not supported."
1973
+ msgstr ""
1974
+
1975
+ #. translators: 1: option name, e.g., taxonomy_support
1976
+ #, php-format
1977
+ msgid "Update custom %1$s"
1978
+ msgstr ""
1979
+
1980
+ #. translators: 1: option name, e.g., taxonomy_support
1981
+ #, php-format
1982
+ msgid "Reset custom %1$s"
1983
+ msgstr ""
1984
+
1985
+ msgid "and"
1986
+ msgstr ""
1987
+
1988
+ msgid "or"
1989
+ msgstr ""
1990
+
1991
+ msgid "Name"
1992
+ msgstr ""
1993
+
1994
+ msgid "Terms"
1995
+ msgstr ""
1996
+
1997
+ msgid "None (select a value)"
1998
+ msgstr ""
1999
+
2000
+ msgid "Metadata (see below)"
2001
+ msgstr ""
2002
+
2003
+ msgid "Template (see below)"
2004
+ msgstr ""
2005
+
2006
+ #. translators: 1: ERROR tag 2: custom field name
2007
+ #, php-format
2008
+ msgid "%1$s: New field %2$s already exists."
2009
+ msgstr ""
2010
+
2011
+ #. translators: 1: custom field name
2012
+ #, php-format
2013
+ msgid "Adding new field %1$s."
2014
+ msgstr ""
2015
+
2016
+ #. translators: 1: custom field name
2017
+ #, php-format
2018
+ msgid "Adding new rule for %1$s."
2019
+ msgstr ""
2020
+
2021
+ #. translators: 1: custom field name
2022
+ #, php-format
2023
+ msgid "Deleting rule for %1$s."
2024
+ msgstr ""
2025
+
2026
+ #. translators: 1: custom field name 2: attribute 3: old value 4: new value
2027
+ #, php-format
2028
+ msgid "%1$s changing %2$s from %3$s to %4$s."
2029
+ msgstr ""
2030
+
2031
+ msgid "Data Source"
2032
+ msgstr ""
2033
+
2034
+ msgid "Replace to Keep"
2035
+ msgstr ""
2036
+
2037
+ msgid "Keep to Replace"
2038
+ msgstr ""
2039
+
2040
+ #. translators: 1: custom field name 2: attribute 3: old value 'to' new value
2041
+ #, php-format
2042
+ msgid "%1$s changing %2$s value from %3$s."
2043
+ msgstr ""
2044
+
2045
+ msgid "Existing Text"
2046
+ msgstr ""
2047
+
2048
+ msgid "Format"
2049
+ msgstr ""
2050
+
2051
+ msgid "unchecked to checked"
2052
+ msgstr ""
2053
+
2054
+ msgid "checked to unchecked"
2055
+ msgstr ""
2056
+
2057
+ msgid "MLA Column"
2058
+ msgstr ""
2059
+
2060
+ msgid "Metavalue name"
2061
+ msgstr ""
2062
+
2063
+ msgid "Option"
2064
+ msgstr ""
2065
+
2066
+ msgid "Delete NULL values"
2067
+ msgstr ""
2068
+
2069
+ msgid "No Custom Field Mapping Rules Defined"
2070
+ msgstr ""
2071
+
2072
+ msgid "Keep"
2073
+ msgstr ""
2074
+
2075
+ msgid "Native"
2076
+ msgstr ""
2077
+
2078
+ msgid "Commas"
2079
+ msgstr ""
2080
+
2081
+ msgid "Raw"
2082
+ msgstr ""
2083
+
2084
+ msgid "Text"
2085
+ msgstr ""
2086
+
2087
+ msgid "Single"
2088
+ msgstr ""
2089
+
2090
+ msgid "Export"
2091
+ msgstr ""
2092
+
2093
+ msgid "Array"
2094
+ msgstr ""
2095
+
2096
+ msgid "Multi"
2097
+ msgstr ""
2098
+
2099
+ msgid "Delete Rule"
2100
+ msgstr ""
2101
+
2102
+ msgid "Delete Rule AND Field"
2103
+ msgstr ""
2104
+
2105
+ msgid "Update Rule"
2106
+ msgstr ""
2107
+
2108
+ msgid "Map All Attachments"
2109
+ msgstr ""
2110
+
2111
+ msgid "Add a new Mapping Rule"
2112
+ msgstr ""
2113
+
2114
+ msgid "Add Rule"
2115
+ msgstr ""
2116
+
2117
+ msgid "Add Rule and Map All Attachments"
2118
+ msgstr ""
2119
+
2120
+ msgid "Add a new Field and Mapping Rule"
2121
+ msgstr ""
2122
+
2123
+ msgid "Add Field"
2124
+ msgstr ""
2125
+
2126
+ msgid "Add Field and Map All Attachments"
2127
+ msgstr ""
2128
+
2129
+ msgid "Field Title"
2130
+ msgstr ""
2131
+
2132
+ msgid "Custom field mapping rules updated."
2133
+ msgstr ""
2134
+
2135
+ msgid "Custom field mapping rules update failed."
2136
+ msgstr ""
2137
+
2138
+ msgid "Custom field no mapping rule changes detected."
2139
+ msgstr ""
2140
+
2141
+ msgid "Custom field mapping settings saved."
2142
+ msgstr ""
2143
+
2144
+ msgid "Custom field mapping settings reset failed."
2145
+ msgstr ""
2146
+
2147
+ #. translators: 1: ERROR tag 2: custom field name
2148
+ #, php-format
2149
+ msgid "%1$s: No old values for %2$s."
2150
+ msgstr ""
2151
+
2152
+ msgid "IPTC Value"
2153
+ msgstr ""
2154
+
2155
+ msgid "EXIF Value"
2156
+ msgstr ""
2157
+
2158
+ msgid "EXIF to IPTC"
2159
+ msgstr ""
2160
+
2161
+ msgid "IPTC to EXIF"
2162
+ msgstr ""
2163
+
2164
+ msgid "Priority"
2165
+ msgstr ""
2166
+
2167
+ msgid "Delimiter(s)"
2168
+ msgstr ""
2169
+
2170
+ msgid "IPTC"
2171
+ msgstr ""
2172
+
2173
+ msgid "EXIF"
2174
+ msgstr ""
2175
+
2176
+ msgid "EXIF/Template Value"
2177
+ msgstr ""
2178
+
2179
+ #. translators: 1: ERROR tag 2: option name
2180
+ #, php-format
2181
+ msgid "%1$s: Render unknown custom %2$s."
2182
+ msgstr ""
2183
+
2184
+ #. translators: 1: ERROR tag 2: option name
2185
+ #, php-format
2186
+ msgid "%1$s: Update/delete unknown custom %2$s."
2187
+ msgstr ""
2188
+
2189
+ msgid "IPTC/EXIF mapping settings updated."
2190
+ msgstr ""
2191
+
2192
+ msgid "IPTC/EXIF settings update failed."
2193
+ msgstr ""
2194
+
2195
+ msgid "IPTC/EXIF no mapping changes detected."
2196
+ msgstr ""
2197
+
2198
+ #. translators: 1: field type
2199
+ #, php-format
2200
+ msgid "%1$s settings saved."
2201
+ msgstr ""
2202
+
2203
+ msgid "Standard field"
2204
+ msgstr ""
2205
+
2206
+ #. translators: 1: ERROR tag 2: field type
2207
+ #, php-format
2208
+ msgid "%1$s: IPTC/EXIF %2$s settings update failed."
2209
+ msgstr ""
2210
+
2211
+ msgid "Taxonomy term"
2212
+ msgstr ""
2213
+
2214
+ msgid "Custom field"
2215
+ msgstr ""
2216
+
2217
+ #. translators: 1: ERROR tag 2: option name, e.g., taxonomy_support
2218
+ #, php-format
2219
+ msgid "%1$s: Reset unknown custom %2$s"
2220
+ msgstr ""
2221
+
2222
+ msgid "ERROR: No post ID found"
2223
+ msgstr ""
2224
+
2225
+ msgid "Error while saving the translations."
2226
+ msgstr ""
2227
+
2228
+ msgid "Remove From Bulk Translate"
2229
+ msgstr ""
2230
+
2231
+ msgid "Bulk Translate items"
2232
+ msgstr ""
2233
+
2234
+ msgid "Add new"
2235
+ msgstr ""
2236
+
2237
+ msgid "Bulk Translations"
2238
+ msgstr ""
2239
+
2240
+ msgid "Translate"
2241
+ msgstr ""
2242
+
2243
+ msgid "All Languages"
2244
+ msgstr ""
2245
+
2246
+ msgid "Quick Translate"
2247
+ msgstr ""
2248
+
2249
+ msgid "Set Language"
2250
+ msgstr ""
2251
+
2252
+ msgid "Bulk Translate"
2253
+ msgstr ""
2254
+
2255
+ msgid "Add or Modify Translation"
2256
+ msgstr ""
2257
+
2258
+ msgid "Language"
2259
+ msgstr ""
2260
+
2261
+ msgid "Options"
2262
+ msgstr ""
2263
+
2264
+ msgid "Translate this item inline"
2265
+ msgstr ""
2266
+
2267
+ msgid "Media/Assistant submenu table"
2268
+ msgstr ""
2269
+
2270
+ msgid "Language Column"
2271
+ msgstr ""
2272
+
2273
+ msgid ""
2274
+ "Check this option to add a Language column to the Media/Assistant submenu "
2275
+ "table."
2276
+ msgstr ""
2277
+
2278
+ msgid "Translations Column"
2279
+ msgstr ""
2280
+
2281
+ msgid ""
2282
+ "Check this option to add a Translation Status column to the Media/Assistant "
2283
+ "submenu table."
2284
+ msgstr ""
2285
+
2286
+ msgid ""
2287
+ "Check this option to add a Quick Translate rollover action to the Media/"
2288
+ "Assistant submenu table."
2289
+ msgstr ""
2290
+
2291
+ msgid ""
2292
+ "Check this option to add \"Translate\" to the \"Bulk Actions\" control on "
2293
+ "the Media/Assistant submenu table."
2294
+ msgstr ""
2295
+
2296
+ msgid "Term Management"
2297
+ msgstr ""
2298
+
2299
+ msgid "Term Assignment"
2300
+ msgstr ""
2301
+
2302
+ msgid ""
2303
+ "Check this option to assign language-specific terms when items are updated."
2304
+ msgstr ""
2305
+
2306
+ msgid "Term Synchronization"
2307
+ msgstr ""
2308
+
2309
+ msgid ""
2310
+ "Check this option to synchronize common terms among all item translations."
2311
+ msgstr ""
2312
+
2313
+ msgid "Language Options"
2314
+ msgstr ""
2315
+
2316
+ #. translators: 1: - 4: page subheader values
2317
+ #, php-format
2318
+ msgid ""
2319
+ "In this tab you can find a number of options for controlling Polylang-"
2320
+ "specific operations. Scroll down to find options for %1$s and %2$s. Be sure "
2321
+ "to click \"Save Changes\" at the bottom of the tab to save any changes you "
2322
+ "make."
2323
+ msgstr ""
2324
+
2325
+ #. translators: 1: Documentation hyperlink
2326
+ #, php-format
2327
+ msgid ""
2328
+ "You can find more information about multilingual features in the %1$s "
2329
+ "section of the Documentation."
2330
+ msgstr ""
2331
+
2332
+ msgid "Language Options documentation"
2333
+ msgstr ""
2334
+
2335
+ msgid "WPML &amp; Polylang Multilingual Support; the MLA Language Tab"
2336
+ msgstr ""
2337
+
2338
+ msgid "Save Changes"
2339
+ msgstr ""
2340
+
2341
+ msgid "Delete Language options and restore default settings"
2342
+ msgstr ""
2343
+
2344
+ msgid "Go to Top"
2345
+ msgstr ""
2346
+
2347
+ msgid "Language settings saved."
2348
+ msgstr ""
2349
+
2350
+ #. translators: 1: option name
2351
+ #, php-format
2352
+ msgctxt "message_list"
2353
+ msgid "delete_option \"%1$s\""
2354
+ msgstr ""
2355
+
2356
+ msgid "Language settings reset to default values."
2357
+ msgstr ""
2358
+
2359
+ msgid "no slug"
2360
+ msgstr ""
2361
+
2362
+ msgid "Running"
2363
+ msgstr ""
2364
+
2365
+ msgid "Skipped"
2366
+ msgstr ""
2367
+
2368
+ msgid "Reprocessed"
2369
+ msgstr ""
2370
+
2371
+ msgid "Settings"
2372
+ msgstr ""
2373
+
2374
+ msgid "Views per page"
2375
+ msgstr ""
2376
+
2377
+ msgid "Types per page"
2378
+ msgstr ""
2379
+
2380
+ msgid "Upload types per page"
2381
+ msgstr ""
2382
+
2383
+ msgid "No view slug found"
2384
+ msgstr ""
2385
+
2386
+ msgid "No upload slug found"
2387
+ msgstr ""
2388
+
2389
+ msgid "Map All Rules, All Attachments Now"
2390
+ msgstr ""
2391
+
2392
+ msgid "Map All Attachments, Standard Fields Now"
2393
+ msgstr ""
2394
+
2395
+ msgid "Map All Attachments, Taxonomy Terms Now"
2396
+ msgstr ""
2397
+
2398
+ msgid "Map All Attachments, Custom Fields Now"
2399
+ msgstr ""
2400
+
2401
+ #. translators: 1: ERROR tag 2: function name 3: option type, e.g., radio, select, text
2402
+ #, php-format
2403
+ msgctxt "error_log"
2404
+ msgid "%1$s: %2$s unknown type = \"%3$s\""
2405
+ msgstr ""
2406
+
2407
+ msgid "General"
2408
+ msgstr ""
2409
+
2410
+ msgid "Views"
2411
+ msgstr ""
2412
+
2413
+ msgid "Uploads"
2414
+ msgstr ""
2415
+
2416
+ msgid "MLA Gallery"
2417
+ msgstr ""
2418
+
2419
+ msgid "Custom Fields"
2420
+ msgstr ""
2421
+
2422
+ msgid "Documentation"
2423
+ msgstr ""
2424
+
2425
+ msgid "Debug"
2426
+ msgstr ""
2427
+
2428
+ msgid "General Processing Options"
2429
+ msgstr ""
2430
+
2431
+ #. translators: 1: - 4: page subheader values
2432
+ #, php-format
2433
+ msgid ""
2434
+ "In this tab you can find a number of options for controlling the "
2435
+ "plugin&rsquo;s operation. Scroll down to find options for %1$s, %2$s, %3$s "
2436
+ "and %4$s. Be sure to click \"Save Changes\" at the bottom of the tab to save "
2437
+ "any changes you make."
2438
+ msgstr ""
2439
+
2440
+ msgid "Media/Assistant Table Defaults"
2441
+ msgstr ""
2442
+
2443
+ msgid "Media Manager Enhancements"
2444
+ msgstr ""
2445
+
2446
+ msgid "Export ALL Settings"
2447
+ msgstr ""
2448
+
2449
+ msgid "Delete General options and restore default settings"
2450
+ msgstr ""
2451
+
2452
+ msgid "Support Our Work"
2453
+ msgstr ""
2454
+
2455
+ msgid "Donate to FTJ"
2456
+ msgstr ""
2457
+
2458
+ msgid "Donate"
2459
+ msgstr ""
2460
+
2461
+ #. translators: 1: donation hyperlink
2462
+ #, php-format
2463
+ msgid ""
2464
+ "This plugin was inspired by my work on the WordPress web site for our "
2465
+ "nonprofit, Fair Trade Judaica. If you find the Media Library Assistant "
2466
+ "plugin useful and would like to support a great cause, consider a %1$s to "
2467
+ "our work. Thank you!"
2468
+ msgstr ""
2469
+
2470
+ msgid "tax-deductible donation"
2471
+ msgstr ""
2472
+
2473
+ msgid "enhanced version of the WordPress [gallery] shortcode."
2474
+ msgstr ""
2475
+
2476
+ msgid "enhanced version of the WordPress Tag Cloud."
2477
+ msgstr ""
2478
+
2479
+ msgid "Shortcodes made available by this plugin"
2480
+ msgstr ""
2481
+
2482
+ msgid "Edit View"
2483
+ msgstr ""
2484
+
2485
+ msgid ""
2486
+ "The &#8220;slug&#8221; is the URL-friendly, unique key for the view. It must "
2487
+ "be all lowercase and contain only letters, numbers, periods (.), slashes (/) "
2488
+ "and hyphens (-). For &#8220;<strong>Post MIME Type</strong>&#8221; views, "
2489
+ "the slug is also the MIME type specification and <strong>must be a valid "
2490
+ "MIME</strong> type, e.g., &#8220;image&#8221; or &#8220;image/jpeg&#8221;."
2491
+ msgstr ""
2492
+
2493
+ msgid "Singular Label"
2494
+ msgstr ""
2495
+
2496
+ msgid "Plural Label"
2497
+ msgstr ""
2498
+
2499
+ msgid ""
2500
+ "The labels, e.g., &#8220;Image&#8221; and &#8220;Images&#8221; are used for "
2501
+ "column headers and other display purposes."
2502
+ msgstr ""
2503
+
2504
+ msgid "Specification"
2505
+ msgstr ""
2506
+
2507
+ msgid ""
2508
+ "If the MIME type specification differs from the slug, enter it here. You may "
2509
+ "include multiple MIME types, e.g., &#8220;audio,video&#8221; and/or wildcard "
2510
+ "specs, e.g., &#8220;*/*ms*&#8221;. This field will be ignored if the Post "
2511
+ "MIME Type box is checked."
2512
+ msgstr ""
2513
+
2514
+ msgid "Post MIME Type"
2515
+ msgstr ""
2516
+
2517
+ msgid ""
2518
+ "Check this box if you want to add this entry to the list of MIME types "
2519
+ "returned by wp_get_mime_types()."
2520
+ msgstr ""
2521
+
2522
+ msgid "Table View"
2523
+ msgstr ""
2524
+
2525
+ msgid ""
2526
+ "Check this box if you want to add this entry to the list of Media/Assistant "
2527
+ "table views."
2528
+ msgstr ""
2529
+
2530
+ msgid ""
2531
+ "You can choose your own table view order by entering a number (1 for first, "
2532
+ "etc.) in this field."
2533
+ msgstr ""
2534
+
2535
+ msgid ""
2536
+ "The description can contain any documentation or notes you need to "
2537
+ "understand or use the item."
2538
+ msgstr ""
2539
+
2540
+ #. translators: 1: bulk_action, e.g., delete, edit, restore, trash
2541
+ #, php-format
2542
+ msgid "Unknown bulk action %1$s"
2543
+ msgstr ""
2544
+
2545
+ #. translators: 1: view name/slug
2546
+ #, php-format
2547
+ msgid "Edit view \"%1$s\" cancelled."
2548
+ msgstr ""
2549
+
2550
+ msgid "View and Post MIME Type Support is disabled"
2551
+ msgstr ""
2552
+
2553
+ msgid "Library Views/Post MIME Type Processing"
2554
+ msgstr ""
2555
+
2556
+ msgid ""
2557
+ "In this tab you can manage the list of \"Post MIME Types\", which are used "
2558
+ "by WordPress to define the views for the <em><strong>Media/Library</strong></"
2559
+ "em> screen and the <em><strong>Media Manager/Add Media</strong></em> \"media "
2560
+ "items\" drop down list. MLA&rsquo;s <em><strong>Media/Assistant</strong></"
2561
+ "em> screen uses an enhanced version of the list, <em>Table Views</em>, to "
2562
+ "support views with multiple MIME Types (e.g., \"audio,video\") and wildcard "
2563
+ "specifications (e.g. \"*/*ms*\")."
2564
+ msgstr ""
2565
+
2566
+ #. translators: 1: Documentation hyperlink
2567
+ #, php-format
2568
+ msgid ""
2569
+ "You can find more information about library views, Post MIME types and how "
2570
+ "MLA and WordPress use them in the %1$s section of the Documentation or by "
2571
+ "clicking the <strong>\"Help\"</strong> tab in the upper-right corner of this "
2572
+ "screen."
2573
+ msgstr ""
2574
+
2575
+ msgid "Library View Processing documentation"
2576
+ msgstr ""
2577
+
2578
+ msgid "Displaying search results for"
2579
+ msgstr ""
2580
+
2581
+ msgid "Search Views"
2582
+ msgstr ""
2583
+
2584
+ msgid "Add View"
2585
+ msgstr ""
2586
+
2587
+ msgid "<strong>Quick Edit</strong>"
2588
+ msgstr ""
2589
+
2590
+ msgid "Edit Upload MIME Type"
2591
+ msgstr ""
2592
+
2593
+ msgid ""
2594
+ "The &#8220;extension&#8221; is the file extension for this type, and a "
2595
+ "unique key for the item. It must be all lowercase and contain only letters "
2596
+ "and numbers."
2597
+ msgstr ""
2598
+
2599
+ msgid ""
2600
+ "The MIME Type must be all lowercase and contain only letters, numbers, "
2601
+ "periods (.), slashes (/) and hyphens (-). It <strong>must be a valid MIME</"
2602
+ "strong> type, e.g., &#8220;image&#8221; or &#8220;image/jpeg&#8221;."
2603
+ msgstr ""
2604
+
2605
+ msgid "Icon Type"
2606
+ msgstr ""
2607
+
2608
+ msgid ""
2609
+ "The Icon Type selects a thumbnail image displayed for non-image file types, "
2610
+ "such as PDF documents."
2611
+ msgstr ""
2612
+
2613
+ msgid "Inactive"
2614
+ msgstr ""
2615
+
2616
+ msgid ""
2617
+ "Check this box if you want to remove this entry from the list of Upload MIME "
2618
+ "Types returned by get_allowed_mime_types()."
2619
+ msgstr ""
2620
+
2621
+ msgid "Known File Extension/MIME Type Associations"
2622
+ msgstr ""
2623
+
2624
+ msgid "Search Known MIME Types"
2625
+ msgstr ""
2626
+
2627
+ msgid "To search by extension, use \".\", e.g., \".doc\""
2628
+ msgstr ""
2629
+
2630
+ msgid "Upload MIME Type Support is disabled"
2631
+ msgstr ""
2632
+
2633
+ msgid "File Extension and MIME Type Processing"
2634
+ msgstr ""
2635
+
2636
+ msgid ""
2637
+ "In this tab you can manage the list of file extension/MIME Type "
2638
+ "associations, which are used by WordPress to decide what kind of files can "
2639
+ "be uploaded to the Media Library and to fill in the "
2640
+ "<strong><em>post_mime_type</em></strong> value. To upload a file, the file "
2641
+ "extension must be in this list and be active."
2642
+ msgstr ""
2643
+
2644
+ #. translators: 1: Documentation hyperlink
2645
+ #, php-format
2646
+ msgid ""
2647
+ "You can find more information about file extensions, MIME types and how "
2648
+ "WordPress uses them in the %1$s section of the Documentation or by clicking "
2649
+ "the <strong>\"Help\"</strong> tab in the upper-right corner of this screen."
2650
+ msgstr ""
2651
+
2652
+ msgid "File Extension Processing documentation"
2653
+ msgstr ""
2654
+
2655
+ msgid "Search Uploads"
2656
+ msgstr ""
2657
+
2658
+ msgid "Upload MIME Type"
2659
+ msgstr ""
2660
+
2661
+ msgid ""
2662
+ "To search the database of over 1,500 known extension/type associations, "
2663
+ "click \"Search Known Types\" below the form."
2664
+ msgstr ""
2665
+
2666
+ msgid ""
2667
+ "The &#8220;extension&#8221; is the file extension for this type, and unique "
2668
+ "key for the item. It must be all lowercase and contain only letters and "
2669
+ "numbers."
2670
+ msgstr ""
2671
+
2672
+ msgid "Add Upload MIME Type"
2673
+ msgstr ""
2674
+
2675
+ msgid "Search Known Types"
2676
+ msgstr ""
2677
+
2678
+ msgid "Active"
2679
+ msgstr ""
2680
+
2681
+ msgid "MLA Gallery Options"
2682
+ msgstr ""
2683
+
2684
+ msgid "Go to Style Templates"
2685
+ msgstr ""
2686
+
2687
+ msgid "Go to Markup Templates"
2688
+ msgstr ""
2689
+
2690
+ msgid ""
2691
+ "In this tab you can view the default style and markup templates. You can "
2692
+ "also define additional templates and use the <code>mla_style</code> and "
2693
+ "<code>mla_markup</code> parameters to apply them in your "
2694
+ "<code>[mla_gallery]</code> shortcodes. <strong>NOTE:</strong> template "
2695
+ "additions and changes will not be made permanent until you click \"Save "
2696
+ "Changes\" at the bottom of this page."
2697
+ msgstr ""
2698
+
2699
+ msgid "Style Templates"
2700
+ msgstr ""
2701
+
2702
+ msgid "Markup Templates"
2703
+ msgstr ""
2704
+
2705
+ msgid "Theme"
2706
+ msgstr ""
2707
+
2708
+ msgid "Imagick support is not installed."
2709
+ msgstr ""
2710
+
2711
+ msgid "Ghostscript support is not installed."
2712
+ msgstr ""
2713
+
2714
+ msgid "WARNING: MLA Viewer support may not be available"
2715
+ msgstr ""
2716
+
2717
+ msgid ""
2718
+ "This default template cannot be altered or deleted, but you can copy the "
2719
+ "styles."
2720
+ msgstr ""
2721
+
2722
+ msgid "Styles"
2723
+ msgstr ""
2724
+
2725
+ msgid ""
2726
+ "List of substitution parameters, e.g., [+selector+], on Documentation tab."
2727
+ msgstr ""
2728
+
2729
+ msgid "Delete this template"
2730
+ msgstr ""
2731
+
2732
+ msgid ""
2733
+ "Check the box to delete this template when you press Update at the bottom of "
2734
+ "the page."
2735
+ msgstr ""
2736
+
2737
+ msgid "Fill in a name and styles to add a new template."
2738
+ msgstr ""
2739
+
2740
+ msgid ""
2741
+ "This default template cannot be altered or deleted, but you can copy the "
2742
+ "markup."
2743
+ msgstr ""
2744
+
2745
+ msgid "Open"
2746
+ msgstr ""
2747
+
2748
+ msgid ""
2749
+ "Markup for the beginning of the gallery. List of parameters, e.g., [+selector"
2750
+ "+], on Documentation tab."
2751
+ msgstr ""
2752
+
2753
+ msgid "Row"
2754
+ msgstr ""
2755
+
2756
+ msgid "Markup for the beginning of each row in the gallery."
2757
+ msgstr ""
2758
+
2759
+ msgid "Item"
2760
+ msgstr ""
2761
+
2762
+ msgid "Markup for each item/cell of the gallery."
2763
+ msgstr ""
2764
+
2765
+ msgid "Close"
2766
+ msgstr ""
2767
+
2768
+ msgid "Markup for the end of each row in the gallery."
2769
+ msgstr ""
2770
+
2771
+ msgid "Markup for the end of the gallery."
2772
+ msgstr ""
2773
+
2774
+ msgid "Markup for the beginning of each row."
2775
+ msgstr ""
2776
+
2777
+ msgid "Markup for each item/cell."
2778
+ msgstr ""
2779
+
2780
+ msgid "Markup for the end of each row."
2781
+ msgstr ""
2782
+
2783
+ msgid "Fill in a name and markup to add a new template."
2784
+ msgstr ""
2785
+
2786
+ msgid "Custom Field Mapping Progress"
2787
+ msgstr ""
2788
+
2789
+ msgid "DO NOT DO THE FOLLOWING (they will cause mapping to fail)"
2790
+ msgstr ""
2791
+
2792
+ msgid "Close the window"
2793
+ msgstr ""
2794
+
2795
+ msgid "Reload the page"
2796
+ msgstr ""
2797
+
2798
+ msgid "Click the browser&rsquo;s Stop, Back or forward buttons"
2799
+ msgstr ""
2800
+
2801
+ msgid "Progress"
2802
+ msgstr ""
2803
+
2804
+ msgid "Resume"
2805
+ msgstr ""
2806
+
2807
+ msgid "Custom Field and Attachment Metadata Processing Options"
2808
+ msgstr ""
2809
+
2810
+ #. translators: 1: Documentation hyperlink
2811
+ #, php-format
2812
+ msgid ""
2813
+ "In this tab you can define the rules for mapping several types of image "
2814
+ "metadata to WordPress custom fields. You can also use this screen to define "
2815
+ "rules for adding or updating fields within the WordPress-supplied "
2816
+ "\"Attachment Metadata\", stored in the \"_wp_attachment_metadata\" custom "
2817
+ "field. See the %1$s section of the Documentation for details."
2818
+ msgstr ""
2819
+
2820
+ msgid "Updating Attachment Metadata Documentation"
2821
+ msgstr ""
2822
+
2823
+ msgid "Adding or changing Attachment Metadata"
2824
+ msgstr ""
2825
+
2826
+ #. translators: 1: Documentation hyperlink
2827
+ #, php-format
2828
+ msgid ""
2829
+ "You can find more information about using the controls in this tab to define "
2830
+ "mapping rules and apply them in the %1$s section of the Documentation."
2831
+ msgstr ""
2832
+
2833
+ msgid "Custom Field Options documentation"
2834
+ msgstr ""
2835
+
2836
+ msgid "Custom field mapping"
2837
+ msgstr ""
2838
+
2839
+ #. translators: 1: "Save Changes"
2840
+ #, php-format
2841
+ msgid ""
2842
+ "Click %1$s to update the \"Enable custom field mapping...\" checkbox and/or "
2843
+ "all rule changes and additions at once. <strong>No rule mapping will be "
2844
+ "performed.</strong>"
2845
+ msgstr ""
2846
+
2847
+ #. translators: 1: "Map All Rules..."
2848
+ #, php-format
2849
+ msgid ""
2850
+ "Click %1$s to apply all the rules at once (rule changes will be applied but "
2851
+ "not saved)."
2852
+ msgstr ""
2853
+
2854
+ msgid "IPTC &amp; EXIF Mapping Progress"
2855
+ msgstr ""
2856
+
2857
+ msgid "IPTC &amp; EXIF Processing Options"
2858
+ msgstr ""
2859
+
2860
+ msgid ""
2861
+ "In this tab you can define the rules for mapping IPTC (International Press "
2862
+ "Telecommunications Council) and EXIF (EXchangeable Image File) metadata to "
2863
+ "WordPress standard attachment fields, taxonomy terms and custom fields. "
2864
+ "<strong>NOTE:</strong> settings changes will not be made permanent until you "
2865
+ "click \"Save Changes\" at the bottom of this page."
2866
+ msgstr ""
2867
+
2868
+ msgid "IPTC/EXIF Options documentation"
2869
+ msgstr ""
2870
+
2871
+ msgid "Standard field mapping"
2872
+ msgstr ""
2873
+
2874
+ msgid "Taxonomy term mapping"
2875
+ msgstr ""
2876
+
2877
+ #. translators: 1: "Save Changes"
2878
+ #, php-format
2879
+ msgid ""
2880
+ "Click %1$s to update the \"Enable IPTC/EXIF mapping...\" checkbox and/or all "
2881
+ "rule changes and additions at once. <strong>No rule mapping will be "
2882
+ "performed.</strong>"
2883
+ msgstr ""
2884
+
2885
+ msgid "Debug settings saved."
2886
+ msgstr ""
2887
+
2888
+ #. translators: 1: ERROR tag 2: file type 3: file name 4: error message
2889
+ #, php-format
2890
+ msgid "%1$s: Reseting the %2$s file ( %3$s ) \"%4$s\"."
2891
+ msgstr ""
2892
+
2893
+ msgid "Error Log"
2894
+ msgstr ""
2895
+
2896
+ #. translators: 1: ERROR tag 2: file type 3: file name 4: error message
2897
+ #, php-format
2898
+ msgid "%1$s: Reading the %2$s file ( %3$s ) \"%4$s\"."
2899
+ msgstr ""
2900
+
2901
+ #. translators: 1: file name
2902
+ #, php-format
2903
+ msgid "Error log file (%1$s) not found; click Reset to create it."
2904
+ msgstr ""
2905
+
2906
+ msgid "Debug Options"
2907
+ msgstr ""
2908
+
2909
+ msgid "Debug Settings"
2910
+ msgstr ""
2911
+
2912
+ #. translators: 1: "Save Changes"
2913
+ #, php-format
2914
+ msgid "Click %1$s to update the %2$s."
2915
+ msgstr ""
2916
+
2917
+ msgid "You do not have permission to manage plugin settings."
2918
+ msgstr ""
2919
+
2920
+ msgid "Cannot render content tab"
2921
+ msgstr ""
2922
+
2923
+ msgid "Unknown content tab"
2924
+ msgstr ""
2925
+
2926
+ #. translators: 1: template type 2: template name
2927
+ #, php-format
2928
+ msgctxt "message_list"
2929
+ msgid "Deleting %1$s \"%2$s\"."
2930
+ msgstr ""
2931
+
2932
+ #. translators: 1: ERROR tag 2: template name 3: template type
2933
+ #, php-format
2934
+ msgid "%1$s: Reserved name \"%2$s\", new %3$s discarded."
2935
+ msgstr ""
2936
+
2937
+ #. translators: 1: ERROR tag 2: template name 3: template type
2938
+ #, php-format
2939
+ msgid "%1$s: Duplicate name \"%2$s\", new %3$s discarded."
2940
+ msgstr ""
2941
+
2942
+ #. translators: 1: template type 2: template name
2943
+ #, php-format
2944
+ msgctxt "message_list"
2945
+ msgid "Adding new %1$s \"%2$s\"."
2946
+ msgstr ""
2947
+
2948
+ #. translators: 1: ERROR tag 2: element name 3: old value
2949
+ #, php-format
2950
+ msgid "%1$s: Blank %2$s, reverting to \"%3$s\"."
2951
+ msgstr ""
2952
+
2953
+ msgid "style template name"
2954
+ msgstr ""
2955
+
2956
+ #. translators: 1: ERROR tag 2: element name 3: new value 4: old value
2957
+ #, php-format
2958
+ msgid "%1$s: Duplicate new %2$s \"%3$s\", reverting to \"%4$s\"."
2959
+ msgstr ""
2960
+
2961
+ #. translators: 1: element name 2: old_value 3: new_value
2962
+ #, php-format
2963
+ msgctxt "message_list"
2964
+ msgid "Changing %1$s from \"%2$s\" to \"%3$s\""
2965
+ msgstr ""
2966
+
2967
+ #. translators: 1: template type 2: template name
2968
+ #, php-format
2969
+ msgctxt "message_list"
2970
+ msgid "Updating contents of %1$s \"%2$s\"."
2971
+ msgstr ""
2972
+
2973
+ #. translators: 1: ERROR tag 2: template type
2974
+ #, php-format
2975
+ msgid "%1$s: Update of %2$s failed."
2976
+ msgstr ""
2977
+
2978
+ msgid "markup template name"
2979
+ msgstr ""
2980
+
2981
+ #. translators: 1: template name
2982
+ #, php-format
2983
+ msgctxt "message_list"
2984
+ msgid "Updating open markup for \"%1$s\"."
2985
+ msgstr ""
2986
+
2987
+ #. translators: 1: template name
2988
+ #, php-format
2989
+ msgctxt "message_list"
2990
+ msgid "Updating row open markup for \"%1$s\"."
2991
+ msgstr ""
2992
+
2993
+ #. translators: 1: template name
2994
+ #, php-format
2995
+ msgctxt "message_list"
2996
+ msgid "Updating item markup for \"%1$s\"."
2997
+ msgstr ""
2998
+
2999
+ #. translators: 1: template name
3000
+ #, php-format
3001
+ msgctxt "message_list"
3002
+ msgid "Updating row close markup for \"%1$s\"."
3003
+ msgstr ""
3004
+
3005
+ #. translators: 1: template name
3006
+ #, php-format
3007
+ msgctxt "message_list"
3008
+ msgid "Updating close markup for \"%1$s\"."
3009
+ msgstr ""
3010
+
3011
+ #. translators: 1: field type
3012
+ #, php-format
3013
+ msgid "%1$s no changes detected."
3014
+ msgstr ""
3015
+
3016
+ msgid "View settings saved."
3017
+ msgstr ""
3018
+
3019
+ msgid "Upload MIME Type settings saved."
3020
+ msgstr ""
3021
+
3022
+ msgid "No custom field mapping rules to process."
3023
+ msgstr ""
3024
+
3025
+ #. translators: 1: field type 2: examined count 3: updated count
3026
+ #, php-format
3027
+ msgid "%1$s mapping completed; %2$d attachment(s) examined, %3$d updated."
3028
+ msgstr ""
3029
+
3030
+ #. translators: 1: field type 2: examined count
3031
+ #, php-format
3032
+ msgid ""
3033
+ "%1$s mapping completed; %2$d attachment(s) examined, no changes detected."
3034
+ msgstr ""
3035
+
3036
+ #. translators: 1: number of attachments
3037
+ #, php-format
3038
+ msgid "%s attachment"
3039
+ msgid_plural "%s attachments"
3040
+ msgstr[0] ""
3041
+ msgstr[1] ""
3042
+
3043
+ #. translators: 1: singular/plural number of attachments
3044
+ #, php-format
3045
+ msgid "Deleted custom field value from %1$s."
3046
+ msgstr ""
3047
+
3048
+ msgid "No attachments contained this custom field."
3049
+ msgstr ""
3050
+
3051
+ #. translators: 1: ERROR tag 2: field type
3052
+ #, php-format
3053
+ msgid "%1$s: No %2$s settings to process."
3054
+ msgstr ""
3055
+
3056
+ msgid "updated."
3057
+ msgstr ""
3058
+
3059
+ #. translators: 1: reference type, e.g., Gallery in
3060
+ #, php-format
3061
+ msgctxt "message_list"
3062
+ msgid "%1$s - references updated."
3063
+ msgstr ""
3064
+
3065
+ msgid "General settings saved."
3066
+ msgstr ""
3067
+
3068
+ msgid "General settings reset to default values."
3069
+ msgstr ""
3070
+
3071
+ msgid "select settings"
3072
+ msgstr ""
3073
+
3074
+ msgid "Import ALL Settings"
3075
+ msgstr ""
3076
+
3077
+ msgctxt "message_list"
3078
+ msgid "exported"
3079
+ msgstr ""
3080
+
3081
+ msgctxt "message_list"
3082
+ msgid "skipped"
3083
+ msgstr ""
3084
+
3085
+ msgid "ALL settings exported."
3086
+ msgstr ""
3087
+
3088
+ #. translators: 1: ERROR tag 2: backup directory name
3089
+ #, php-format
3090
+ msgid "%1$s: The settings directory ( %2$s ) cannot be created."
3091
+ msgstr ""
3092
+
3093
+ #. translators: 1: ERROR tag 2: backup directory name
3094
+ #, php-format
3095
+ msgid "%1$s: The settings directory ( %2$s ) is not writable."
3096
+ msgstr ""
3097
+
3098
+ #. translators: 1: ERROR tag 2: backup file name
3099
+ #, php-format
3100
+ msgid "%1$s: The settings file ( %2$s ) could not be opened."
3101
+ msgstr ""
3102
+
3103
+ #. translators: 1: ERROR tag 2: PHP error information
3104
+ #, php-format
3105
+ msgctxt "error_log"
3106
+ msgid "%1$s: _export_settings $error_info = \"%2$s\"."
3107
+ msgstr ""
3108
+
3109
+ #. translators: 1: ERROR tag 2: backup file name 3: error message
3110
+ #, php-format
3111
+ msgid "%1$s: Writing the settings file ( %2$s ) \"%3$s\"."
3112
+ msgstr ""
3113
+
3114
+ #. translators: 1: number of option settings
3115
+ #, php-format
3116
+ msgid "Settings exported; %1$s settings recorded."
3117
+ msgstr ""
3118
+
3119
+ msgid "No settings imported."
3120
+ msgstr ""
3121
+
3122
+ msgid "Please select an import settings file from the dropdown list."
3123
+ msgstr ""
3124
+
3125
+ msgid "The import settings dropdown selection is missing."
3126
+ msgstr ""
3127
+
3128
+ #. translators: 1: ERROR tag 2: PHP error information
3129
+ #, php-format
3130
+ msgctxt "error_log"
3131
+ msgid "%1$s: _import_settings $error_info = \"%2$s\"."
3132
+ msgstr ""
3133
+
3134
+ #. translators: 1: ERROR tag 2: backup file name 3: error message
3135
+ #, php-format
3136
+ msgid "%1$s: Reading the settings file ( %2$s ) \"%3$s\"."
3137
+ msgstr ""
3138
+
3139
+ msgctxt "message_list"
3140
+ msgid "updated"
3141
+ msgstr ""
3142
+
3143
+ msgctxt "message_list"
3144
+ msgid "unchanged"
3145
+ msgstr ""
3146
+
3147
+ #. translators: 1: number of option settings updated 2: number of option settings unchanged
3148
+ #, php-format
3149
+ msgid "Settings imported; %1$s updated, %2$s unchanged."
3150
+ msgstr ""
3151
+
3152
+ msgid "Previous"
3153
+ msgstr ""
3154
+
3155
+ msgid "Next"
3156
+ msgstr ""
3157
+
3158
+ msgid "mla_debug empty gallery"
3159
+ msgstr ""
3160
+
3161
+ msgid ""
3162
+ "<strong>Photonic-enhanced [mla_gallery]</strong> type must be "
3163
+ "<strong>default</strong>, query = "
3164
+ msgstr ""
3165
+
3166
+ msgid "unknown"
3167
+ msgstr ""
3168
+
3169
+ msgid "mla_debug attributes"
3170
+ msgstr ""
3171
+
3172
+ msgid "mla_debug arguments"
3173
+ msgstr ""
3174
+
3175
+ msgid "mla_debug empty cloud"
3176
+ msgstr ""
3177
+
3178
+ msgid "Invalid mla_gallery"
3179
+ msgstr ""
3180
+
3181
+ msgid "mla_debug query"
3182
+ msgstr ""
3183
+
3184
+ msgid "mla_debug request"
3185
+ msgstr ""
3186
+
3187
+ msgid "mla_debug query_vars"
3188
+ msgstr ""
3189
+
3190
+ msgid "mla_debug post_count"
3191
+ msgstr ""
3192
+
3193
+ msgid "mla_debug WHERE filter"
3194
+ msgstr ""
3195
+
3196
+ msgid "mla_debug modified WHERE filter"
3197
+ msgstr ""
3198
+
3199
+ msgid "mla_debug ORDER BY filter, incoming"
3200
+ msgstr ""
3201
+
3202
+ msgid "Replacement ORDER BY clause"
3203
+ msgstr ""
3204
+
3205
+ msgid "mla_debug posts_clauses filter"
3206
+ msgstr ""
3207
+
3208
+ msgid "mla_debug posts_clauses_request filter"
3209
+ msgstr ""
3210
+
3211
+ msgid "Invalid taxonomy"
3212
+ msgstr ""
3213
+
3214
+ msgid "mla_debug query arguments"
3215
+ msgstr ""
3216
+
3217
+ msgid "mla_debug last_query"
3218
+ msgstr ""
3219
+
3220
+ msgid "mla_debug last_error"
3221
+ msgstr ""
3222
+
3223
+ msgid "mla_debug num_rows"
3224
+ msgstr ""
3225
+
3226
+ msgid "mla_debug found_rows"
3227
+ msgstr ""
3228
+
3229
+ msgid "Error while saving the thumbnails."
3230
+ msgstr ""
3231
+
3232
+ msgid "Remove From"
3233
+ msgstr ""
3234
+
3235
+ msgid "Generate Thumbnails"
3236
+ msgstr ""
3237
+
3238
+ #. translators: 1: post ID
3239
+ #, php-format
3240
+ msgid "Item %1$d"
3241
+ msgstr ""
3242
+
3243
+ msgid "has native thumbnail."
3244
+ msgstr ""
3245
+
3246
+ msgid "Featured Image retained."
3247
+ msgstr ""
3248
+
3249
+ #. translators: 1: ERROR tag 2: Item post ID
3250
+ #, php-format
3251
+ msgid "%1$s: %2$sno attached file."
3252
+ msgstr ""
3253
+
3254
+ msgid "unsupported file type."
3255
+ msgstr ""
3256
+
3257
+ #. translators: 1: ERROR tag 2: Item post ID
3258
+ #, php-format
3259
+ msgid "%1$s: %2$sthumbnail generation failed"
3260
+ msgstr ""
3261
+
3262
+ #. translators: 1: ERROR tag 2: Item post ID
3263
+ #, php-format
3264
+ msgid "%1$s: %2$swp_insert_attachment failed."
3265
+ msgstr ""
3266
+
3267
+ #. translators: 1: Item post ID, 2: new thumbnail item ID
3268
+ #, php-format
3269
+ msgid "%1$sthumbnail generated as new item %2$s."
3270
+ msgstr ""
3271
+
3272
+ msgid "Generated Thumbnails"
3273
+ msgstr ""
3274
+
3275
+ msgid ""
3276
+ "Pull down the Help menu and select Thumbnail Generation for setting details"
3277
+ msgstr ""
3278
+
3279
+ msgid "Width"
3280
+ msgstr ""
3281
+
3282
+ msgid "Height"
3283
+ msgstr ""
3284
+
3285
+ msgid "Best Fit"
3286
+ msgstr ""
3287
+
3288
+ msgid "Page"
3289
+ msgstr ""
3290
+
3291
+ msgid "Resolution"
3292
+ msgstr ""
3293
+
3294
+ msgid "Quality"
3295
+ msgstr ""
3296
+
3297
+ msgid "Existing Items"
3298
+ msgstr ""
3299
+
3300
+ msgid "Ignore"
3301
+ msgstr ""
3302
+
3303
+ msgid "Delete"
3304
+ msgstr ""
3305
+
3306
+ msgid "Suffix"
3307
+ msgstr ""
3308
+
3309
+ msgctxt "list_table_column"
3310
+ msgid "Extension"
3311
+ msgstr ""
3312
+
3313
+ msgctxt "list_table_column"
3314
+ msgid "Icon Type"
3315
+ msgstr ""
3316
+
3317
+ msgctxt "list_table_column"
3318
+ msgid "Source"
3319
+ msgstr ""
3320
+
3321
+ msgctxt "list_table_column"
3322
+ msgid "Status"
3323
+ msgstr ""
3324
+
3325
+ msgctxt "list_table_column"
3326
+ msgid "WordPress Type"
3327
+ msgstr ""
3328
+
3329
+ msgctxt "list_table_column"
3330
+ msgid "MLA Type"
3331
+ msgstr ""
3332
+
3333
+ msgctxt "list_table_column"
3334
+ msgid "Std. Source"
3335
+ msgstr ""
3336
+
3337
+ msgctxt "list_table_column"
3338
+ msgid "Std. Icon Type"
3339
+ msgstr ""
3340
+
3341
+ msgid "Revert to standard item"
3342
+ msgstr ""
3343
+
3344
+ msgid "Revert to Standard"
3345
+ msgstr ""
3346
+
3347
+ msgid "Delete/Revert Custom"
3348
+ msgstr ""
3349
+
3350
+ msgid "Select this entry"
3351
+ msgstr ""
3352
+
3353
+ msgid "Select these entries"
3354
+ msgstr ""
3355
+
3356
+ msgctxt "list_table_column"
3357
+ msgid "Specification"
3358
+ msgstr ""
3359
+
3360
+ msgctxt "list_table_column"
3361
+ msgid "Post Mime"
3362
+ msgstr ""
3363
+
3364
+ msgctxt "list_table_column"
3365
+ msgid "Table View"
3366
+ msgstr ""
3367
+
3368
+ msgctxt "list_table_column"
3369
+ msgid "Singular Name"
3370
+ msgstr ""
3371
+
3372
+ msgctxt "list_table_column"
3373
+ msgid "Plural Name"
3374
+ msgstr ""
3375
+
3376
+ msgctxt "list_table_column"
3377
+ msgid "Order"
3378
+ msgstr ""
3379
+
3380
+ msgid "Duplicate translation created; update as desired."
3381
+ msgstr ""
3382
+
3383
+ #. translators: 1: - 4: page subheader values
3384
+ #, php-format
3385
+ msgid ""
3386
+ "In this tab you can find a number of options for controlling WPML-specific "
3387
+ "operations. Scroll down to find options for %1$s and %2$s. Be sure to click "
3388
+ "\"Save Changes\" at the bottom of the tab to save any changes you make."
3389
+ msgstr ""
3390
+
3391
+ #, php-format
3392
+ msgid "Edit the %s translation"
3393
+ msgstr ""
3394
+
3395
+ #, php-format
3396
+ msgid "Add translation to %s"
3397
+ msgstr ""
3398
+
3399
+ msgid "Search Media"
3400
+ msgstr ""
3401
+
3402
+ msgid "The Media Library Assistant cannot load."
3403
+ msgstr ""
3404
+
3405
+ msgid "You must resolve these conflicts before this plugin can safely load."
3406
+ msgstr ""
3407
+
3408
+ #. translators: Description of the plugin/theme
3409
+ msgid ""
3410
+ "Enhances the Media Library; powerful [mla_gallery], taxonomy support, IPTC/"
3411
+ "EXIF processing, bulk & quick edit actions and where-used reporting."
3412
+ msgstr ""
languages/media-library-assistant-en_US.pot CHANGED
@@ -1,15 +1,16 @@
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Media Library Assistant\n"
4
- "POT-Creation-Date: 2015-08-16 16:10-0800\n"
5
- "PO-Revision-Date: 2015-08-16 16:10-0800\n"
6
  "Last-Translator: David Lingren <david@fairtradejudaica.org>\n"
7
  "Language-Team: David Lingren <david@fairtradejudaica.org>\n"
8
  "Language: en_US\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.7.4\n"
13
  "X-Poedit-Basepath: ..\n"
14
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
  "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
@@ -17,147 +18,54 @@ msgstr ""
17
  "X-Poedit-SourceCharset: UTF-8\n"
18
  "X-Poedit-SearchPath-0: includes\n"
19
  "X-Poedit-SearchPath-1: tests\n"
 
20
 
21
  #. translators: 1: ERROR tag 2: index
22
- #: includes/class-mla-data-pdf.php:216
23
  #, php-format
24
  msgctxt "error_log"
25
  msgid "%1$s: _build_pdf_indirect_objects bad value at $index = \"%2$d\"."
26
  msgstr ""
27
 
28
- #: includes/class-mla-data-pdf.php:216 includes/class-mla-data-pdf.php:496
29
- #: includes/class-mla-data-pdf.php:498 includes/class-mla-data-pdf.php:544
30
- #: includes/class-mla-data-pdf.php:726 includes/class-mla-data.php:111
31
- #: includes/class-mla-data.php:129 includes/class-mla-data.php:208
32
- #: includes/class-mla-data.php:267 includes/class-mla-data.php:355
33
- #: includes/class-mla-data.php:399 includes/class-mla-data.php:502
34
- #: includes/class-mla-data.php:658 includes/class-mla-data.php:721
35
- #: includes/class-mla-data.php:1301 includes/class-mla-data.php:1582
36
- #: includes/class-mla-data.php:2827 includes/class-mla-data.php:2833
37
- #: includes/class-mla-data.php:4197 includes/class-mla-data.php:4200
38
- #: includes/class-mla-data.php:5312 includes/class-mla-data.php:5339
39
- #: includes/class-mla-data.php:5659 includes/class-mla-data.php:5672
40
- #: includes/class-mla-data.php:5694 includes/class-mla-data.php:5883
41
- #: includes/class-mla-data.php:5924 includes/class-mla-data.php:5956
42
- #: includes/class-mla-data.php:5972 includes/class-mla-data.php:6153
43
- #: includes/class-mla-edit-media.php:321 includes/class-mla-edit-media.php:698
44
- #: includes/class-mla-edit-media.php:738 includes/class-mla-main.php:777
45
- #: includes/class-mla-main.php:906 includes/class-mla-main.php:1247
46
- #: includes/class-mla-main.php:1303 includes/class-mla-main.php:1328
47
- #: includes/class-mla-main.php:1454 includes/class-mla-main.php:1506
48
- #: includes/class-mla-main.php:1597 includes/class-mla-main.php:1628
49
- #: includes/class-mla-main.php:1807 includes/class-mla-main.php:1814
50
- #: includes/class-mla-main.php:1818 includes/class-mla-main.php:1894
51
- #: includes/class-mla-main.php:1901 includes/class-mla-main.php:2051
52
- #: includes/class-mla-main.php:2126 includes/class-mla-main.php:2373
53
- #: includes/class-mla-main.php:2381 includes/class-mla-main.php:2405
54
- #: includes/class-mla-main.php:2413 includes/class-mla-main.php:2445
55
- #: includes/class-mla-main.php:2453 includes/class-mla-media-modal.php:1232
56
- #: includes/class-mla-mime-types.php:483 includes/class-mla-mime-types.php:916
57
- #: includes/class-mla-mime-types.php:922 includes/class-mla-mime-types.php:926
58
- #: includes/class-mla-mime-types.php:971
59
- #: includes/class-mla-mime-types.php:1059
60
- #: includes/class-mla-mime-types.php:1205
61
- #: includes/class-mla-mime-types.php:1228
62
- #: includes/class-mla-mime-types.php:2000
63
- #: includes/class-mla-mime-types.php:2011
64
- #: includes/class-mla-mime-types.php:2024
65
- #: includes/class-mla-mime-types.php:2032
66
- #: includes/class-mla-mime-types.php:2037
67
- #: includes/class-mla-mime-types.php:2080
68
- #: includes/class-mla-mime-types.php:2099
69
- #: includes/class-mla-mime-types.php:2150
70
- #: includes/class-mla-mime-types.php:2184
71
- #: includes/class-mla-mime-types.php:2269
72
- #: includes/class-mla-mime-types.php:2348
73
- #: includes/class-mla-mime-types.php:2357
74
- #: includes/class-mla-mime-types.php:2389 includes/class-mla-objects.php:201
75
- #: includes/class-mla-options.php:1748 includes/class-mla-options.php:1925
76
- #: includes/class-mla-options.php:2001 includes/class-mla-options.php:3335
77
- #: includes/class-mla-options.php:3772 includes/class-mla-options.php:3785
78
- #: includes/class-mla-options.php:3789 includes/class-mla-options.php:4351
79
- #: includes/class-mla-options.php:4573 includes/class-mla-options.php:5138
80
- #: includes/class-mla-options.php:5182 includes/class-mla-options.php:5190
81
- #: includes/class-mla-options.php:5207 includes/class-mla-options.php:5217
82
- #: includes/class-mla-options.php:5227 includes/class-mla-options.php:5235
83
- #: includes/class-mla-options.php:5239 includes/class-mla-settings.php:579
84
- #: includes/class-mla-settings.php:643 includes/class-mla-settings.php:657
85
- #: includes/class-mla-settings.php:686 includes/class-mla-settings.php:697
86
- #: includes/class-mla-settings.php:787 includes/class-mla-settings.php:921
87
- #: includes/class-mla-settings.php:1028 includes/class-mla-settings.php:1061
88
- #: includes/class-mla-settings.php:1200 includes/class-mla-settings.php:1563
89
- #: includes/class-mla-settings.php:1595 includes/class-mla-settings.php:1672
90
- #: includes/class-mla-settings.php:2009 includes/class-mla-settings.php:2060
91
- #: includes/class-mla-settings.php:2139 includes/class-mla-settings.php:2712
92
- #: includes/class-mla-settings.php:2854 includes/class-mla-settings.php:3077
93
- #: includes/class-mla-settings.php:3118 includes/class-mla-settings.php:3198
94
- #: includes/class-mla-settings.php:3233 includes/class-mla-settings.php:3236
95
- #: includes/class-mla-settings.php:3240 includes/class-mla-settings.php:3339
96
- #: includes/class-mla-settings.php:3345 includes/class-mla-settings.php:3359
97
- #: includes/class-mla-settings.php:3366 includes/class-mla-settings.php:3388
98
- #: includes/class-mla-settings.php:3430 includes/class-mla-settings.php:3436
99
- #: includes/class-mla-settings.php:3450 includes/class-mla-settings.php:3457
100
- #: includes/class-mla-settings.php:3509 includes/class-mla-settings.php:3630
101
- #: includes/class-mla-settings.php:3760 includes/class-mla-settings.php:3831
102
- #: includes/class-mla-settings.php:3917 includes/class-mla-settings.php:4251
103
- #: includes/class-mla-settings.php:4255 includes/class-mla-settings.php:4266
104
- #: includes/class-mla-settings.php:4273 includes/class-mla-settings.php:4282
105
- #: includes/class-mla-settings.php:4319 includes/class-mla-settings.php:4327
106
- #: includes/class-mla-settings.php:4336 includes/class-mla-shortcodes.php:1709
107
- #: includes/class-mla-shortcodes.php:1784
108
- #: includes/class-mla-shortcodes.php:3075
109
- #: includes/class-mla-shortcodes.php:3403
110
- #: includes/class-mla-shortcodes.php:3434
111
- #: includes/class-mla-thumbnail-generation.php:249
112
- #: includes/class-mla-thumbnail-generation.php:263
113
- #: includes/class-mla-thumbnail-generation.php:309
114
  msgid "ERROR"
115
  msgstr ""
116
 
117
  #. translators: 1: ERROR tag 2: source offset 3: nest level
118
- #: includes/class-mla-data-pdf.php:496
119
  #, php-format
120
  msgctxt "error_log"
121
  msgid "%1$s: _parse_pdf_dictionary offset = %2$d, nest = %3$d."
122
  msgstr ""
123
 
124
  #. translators: 1: ERROR tag 2: dictionary excerpt
125
- #: includes/class-mla-data-pdf.php:498
126
  #, php-format
127
  msgctxt "error_log"
128
  msgid "%1$s: _parse_pdf_dictionary no end delimiter dump = %2$s."
129
  msgstr ""
130
 
131
  #. translators: 1: ERROR tag 2: entry name 3: value excerpt
132
- #: includes/class-mla-data-pdf.php:544
133
  #, php-format
134
  msgctxt "error_log"
135
  msgid "%1$s: _parse_pdf_dictionary bad value [ %2$s ] dump = %3$s"
136
  msgstr ""
137
 
138
  #. translators: 1: ERROR tag 2: path and file
139
- #: includes/class-mla-data-pdf.php:726
140
  #, php-format
141
  msgctxt "error_log"
142
  msgid "%1$s: File \"%2$s\", startxref not found."
143
  msgstr ""
144
 
145
  #. translators: 1: ERROR tag 2: path and file name
146
- #: includes/class-mla-data.php:111
147
  #, php-format
148
  msgctxt "error_log"
149
  msgid "%1$s: mla_load_template file \"%2$s\" not found."
150
  msgstr ""
151
 
152
  #. translators: 1: ERROR tag 2: path and file name 3: source type, e.g., file, option, string
153
- #: includes/class-mla-data.php:129
154
  #, php-format
155
  msgctxt "error_log"
156
  msgid "%1$s: mla_load_template file \"%2$s\" bad source type \"%3$s\"."
157
  msgstr ""
158
 
159
  #. translators: 1: ERROR tag 2: template excerpt
160
- #: includes/class-mla-data.php:208
161
  #, php-format
162
  msgctxt "error_log"
163
  msgid ""
@@ -165,7 +73,6 @@ msgid ""
165
  msgstr ""
166
 
167
  #. translators: 1: ERROR tag 2: template excerpt
168
- #: includes/class-mla-data.php:267
169
  #, php-format
170
  msgctxt "error_log"
171
  msgid ""
@@ -173,39 +80,33 @@ msgid ""
173
  msgstr ""
174
 
175
  #. translators: 1: ERROR tag 2: template excerpt
176
- #: includes/class-mla-data.php:355
177
  #, php-format
178
  msgctxt "error_log"
179
  msgid "%1$s: mla_parse_template no end delimiter, tail = \"%2$s\"."
180
  msgstr ""
181
 
182
  #. translators: 1: ERROR tag 2: template string
183
- #: includes/class-mla-data.php:399
184
  #, php-format
185
  msgctxt "error_log"
186
  msgid "%1$s: _find_test_substring no end delimiter, tail = \"%2$s\"."
187
  msgstr ""
188
 
189
- #: includes/class-mla-data.php:502
190
  msgid "Test; no closing parenthesis "
191
  msgstr ""
192
 
193
  #. translators: 1: ERROR tag 2: node type, e.g., template
194
- #: includes/class-mla-data.php:658
195
  #, php-format
196
  msgctxt "error_log"
197
  msgid "%1$s: _evaluate_template_array_node unknown type \"%2$s\"."
198
  msgstr ""
199
 
200
  #. translators: 1: ERROR tag 2: node type, e.g., template
201
- #: includes/class-mla-data.php:721
202
  #, php-format
203
  msgctxt "error_log"
204
  msgid "%1$s: _evaluate_template_node unknown type \"%2$s\"."
205
  msgstr ""
206
 
207
  #. translators: 1: ERROR tag 2: template excerpt
208
- #: includes/class-mla-data.php:1301
209
  #, php-format
210
  msgctxt "error_log"
211
  msgid ""
@@ -214,162 +115,120 @@ msgid ""
214
  msgstr ""
215
 
216
  #. translators: 1: ERROR tag 2: function name 3: non-array value
217
- #: includes/class-mla-data.php:1582 includes/class-mla-edit-media.php:321
218
- #: includes/class-mla-main.php:2051 includes/class-mla-main.php:2126
219
- #: includes/class-mla-media-modal.php:1232
220
- #: includes/class-mla-mime-types.php:483
221
- #: includes/class-mla-mime-types.php:1228
222
- #: includes/class-mla-mime-types.php:2389 includes/class-mla-settings.php:1563
223
- #: includes/class-mla-settings.php:2009
224
  #, php-format
225
  msgctxt "error_log"
226
  msgid "%1$s: %2$s non-array \"%3$s\""
227
  msgstr ""
228
 
229
  #. translators: 1: DEBUG tag 2: query filter details
230
- #: includes/class-mla-data.php:2033
231
  #, php-format
232
  msgctxt "error_log"
233
  msgid "%1$s: _execute_list_table_query $wp_filter = \"%2$s\"."
234
  msgstr ""
235
 
236
- #: includes/class-mla-data.php:2033 includes/class-mla-data.php:2048
237
- #: includes/class-mla-data.php:2050 includes/class-mla-data.php:2479
238
- #: includes/class-mla-data.php:2551 includes/class-mla-data.php:2600
239
- #: includes/class-mla-data.php:2697 includes/class-mla-data.php:2775
240
- #: includes/class-mla-data.php:2794
241
  msgid "DEBUG"
242
  msgstr ""
243
 
244
  #. translators: 1: DEBUG tag 2: query details
245
- #: includes/class-mla-data.php:2048
246
  #, php-format
247
  msgctxt "error_log"
248
  msgid "%1$s: _execute_list_table_query WP_Query = \"%2$s\"."
249
  msgstr ""
250
 
251
  #. translators: 1: DEBUG tag 2: SQL statement
252
- #: includes/class-mla-data.php:2050
253
  #, php-format
254
  msgctxt "error_log"
255
  msgid "%1$s: _execute_list_table_query SQL_request = \"%2$s\"."
256
  msgstr ""
257
 
258
  #. translators: 1: DEBUG tag 2: search filter details
259
- #: includes/class-mla-data.php:2479
260
  #, php-format
261
  msgctxt "error_log"
262
  msgid "%1$s: mla_query_posts_search_filter = \"%2$s\"."
263
  msgstr ""
264
 
265
  #. translators: 1: DEBUG tag 2: where filter details
266
- #: includes/class-mla-data.php:2551
267
  #, php-format
268
  msgctxt "error_log"
269
  msgid "%1$s: mla_query_posts_where_filter = \"%2$s\"."
270
  msgstr ""
271
 
272
  #. translators: 1: DEBUG tag 2: join filter details
273
- #: includes/class-mla-data.php:2600
274
  #, php-format
275
  msgctxt "error_log"
276
  msgid "%1$s: mla_query_posts_join_filter = \"%2$s\"."
277
  msgstr ""
278
 
279
  #. translators: 1: DEBUG tag 2: orderby details details
280
- #: includes/class-mla-data.php:2697
281
  #, php-format
282
  msgctxt "error_log"
283
  msgid "%1$s: mla_query_posts_orderby_filter = \"%2$s\"."
284
  msgstr ""
285
 
286
  #. translators: 1: DEBUG tag 2: SQL clauses
287
- #: includes/class-mla-data.php:2775
288
  #, php-format
289
  msgctxt "error_log"
290
  msgid "%1$s: mla_query_posts_clauses_filter = \"%2$s\"."
291
  msgstr ""
292
 
293
  #. translators: 1: DEBUG tag 2: SQL clauses
294
- #: includes/class-mla-data.php:2794
295
  #, php-format
296
  msgctxt "error_log"
297
  msgid "%1$s: mla_query_posts_clauses_request_filter = \"%2$s\"."
298
  msgstr ""
299
 
300
  #. translators: 1: ERROR tag 2: post ID
301
- #: includes/class-mla-data.php:2827
302
  #, php-format
303
  msgctxt "error_log"
304
  msgid "%1$s: mla_get_attachment_by_id(%2$d) not found."
305
  msgstr ""
306
 
307
  #. translators: 1: ERROR tag 2: post ID 3: post_type
308
- #: includes/class-mla-data.php:2833
309
  #, php-format
310
  msgctxt "error_log"
311
  msgid "%1$s: mla_get_attachment_by_id(%2$d) wrong post_type \"%3$s\"."
312
  msgstr ""
313
 
314
- #: includes/class-mla-data.php:3466 includes/class-mla-data.php:3809
315
- #: includes/class-mla-list-table.php:1055
316
  msgid "NO REFERENCE TESTS"
317
  msgstr ""
318
 
319
- #: includes/class-mla-data.php:3472 includes/class-mla-data.php:3815
320
- #: includes/class-mla-options.php:2876 includes/class-mla-options.php:2877
321
  msgid "ORPHAN"
322
  msgstr ""
323
 
324
- #: includes/class-mla-data.php:3476 includes/class-mla-data.php:3819
325
  msgid "UNUSED"
326
  msgstr ""
327
 
328
- #: includes/class-mla-data.php:3481 includes/class-mla-data.php:3824
329
  msgid "UNATTACHED"
330
  msgstr ""
331
 
332
- #: includes/class-mla-data.php:3483 includes/class-mla-data.php:3826
333
  msgid "INVALID PARENT"
334
  msgstr ""
335
 
336
  #. translators: 1: post_type, 2: post_title, 3: post ID, 4: query string, 5: error message
337
- #: includes/class-mla-data.php:4006
338
  #, php-format
339
  msgid "(%1$s) %2$s (ID %3$d) query \"%4$s\" failed, returning \"%5$s\""
340
  msgstr ""
341
 
342
- #: includes/class-mla-data.php:4197
343
  msgctxt "error_log"
344
  msgid "mla_parse_xmp_metadata xml_parse_into_struct failed."
345
  msgstr ""
346
 
347
- #: includes/class-mla-data.php:4200
348
  msgctxt "error_log"
349
  msgid "mla_parse_xmp_metadata set option failed."
350
  msgstr ""
351
 
352
- #: includes/class-mla-data.php:5396 includes/class-mla-settings.php:1796
353
- #: includes/class-mla-view-list-table.php:430
354
- #: includes/class-mla-view-list-table.php:446
355
  msgid "Yes"
356
  msgstr ""
357
 
358
- #: includes/class-mla-data.php:5398 includes/class-mla-list-table.php:280
359
- #: includes/class-mla-settings.php:1795
360
- #: includes/class-mla-view-list-table.php:432
361
- #: includes/class-mla-view-list-table.php:448
362
  msgid "No"
363
  msgstr ""
364
 
365
  #. translators: 1: meta_key
366
- #: includes/class-mla-data.php:5656 includes/class-mla-data.php:5754
367
  #, php-format
368
  msgid "Deleting %1$s"
369
  msgstr ""
370
 
371
  #. translators: 1: ERROR tag 2: meta_key
372
- #: includes/class-mla-data.php:5659
373
  #, php-format
374
  msgid "%1$s: meta:%2$s not found"
375
  msgstr ""
@@ -377,767 +236,490 @@ msgstr ""
377
  #. translators: 1: meta_key 2: meta_value
378
  #. translators: 1: meta_key 2: new_value
379
  #. translators: 1: meta_key 2: meta_value
380
- #: includes/class-mla-data.php:5668 includes/class-mla-data.php:5765
381
- #: includes/class-mla-data.php:5771
382
  #, php-format
383
  msgid "Adding %1$s = %2$s"
384
  msgstr ""
385
 
386
  #. translators: 1: ERROR tag 2: meta_key
387
- #: includes/class-mla-data.php:5672
388
  #, php-format
389
  msgid "%1$s: Adding meta:%2$s; not found"
390
  msgstr ""
391
 
392
  #. translators: 1: meta_key
393
- #: includes/class-mla-data.php:5679
394
  #, php-format
395
  msgid "Deleting Null meta:%1$s"
396
  msgstr ""
397
 
398
  #. translators: 1: element name 2: old_value 3: new_value
399
- #: includes/class-mla-data.php:5689 includes/class-mla-data.php:5840
400
- #: includes/class-mla-data.php:5901 includes/class-mla-data.php:5927
401
- #: includes/class-mla-data.php:5969 includes/class-mla-data.php:5982
402
- #: includes/class-mla-data.php:5991 includes/class-mla-data.php:6002
403
- #: includes/class-mla-data.php:6013 includes/class-mla-data.php:6026
404
- #: includes/class-mla-data.php:6035 includes/class-mla-data.php:6044
405
- #: includes/class-mla-mime-types.php:1062
406
- #: includes/class-mla-mime-types.php:2153
407
  #, php-format
408
  msgid "Changing %1$s from \"%2$s\" to \"%3$s\""
409
  msgstr ""
410
 
411
  #. translators: 1: ERROR tag 2: meta_key
412
- #: includes/class-mla-data.php:5694
413
  #, php-format
414
  msgid "%1$s: Changing meta:%2$s; not found"
415
  msgstr ""
416
 
417
  #. translators: 1: meta_key
418
- #: includes/class-mla-data.php:5795
419
  #, php-format
420
  msgid "Deleting old %1$s values"
421
  msgstr ""
422
 
423
  #. translators: 1: meta_key 2: old_value 3: new_value 4: update count
424
- #: includes/class-mla-data.php:5825
425
  #, php-format
426
  msgid "Changing %1$s from \"%2$s\" to \"%3$s\"; %4$d updates"
427
  msgstr ""
428
 
429
- #: includes/class-mla-data.php:5883
430
  msgid "Could not retrieve Attachment."
431
  msgstr ""
432
 
433
- #: includes/class-mla-data.php:5901 includes/class-mla-edit-media.php:430
434
- #: includes/class-mla-main.php:1749 includes/class-mla-main.php:2065
435
- #: includes/class-mla-main.php:2255 includes/class-mla-objects.php:278
436
- #: includes/class-mla-options.php:1099 includes/class-mla-options.php:1955
437
- #: includes/mla-main-search-box-template.php:50
438
- #: includes/mla-media-modal-js-template.php:39
439
  msgid "Title"
440
  msgstr ""
441
 
442
  #. translators: 1: ERROR tag 2: old_value
443
- #: includes/class-mla-data.php:5924
444
  #, php-format
445
  msgid "%1$s: Could not change Name/Slug \"%2$s\"; name already exists"
446
  msgstr ""
447
 
448
- #: includes/class-mla-data.php:5927 includes/class-mla-edit-media.php:431
449
- #: includes/class-mla-main.php:2256 includes/class-mla-options.php:1106
450
  msgid "Name/Slug"
451
  msgstr ""
452
 
453
  #. translators: 1: old_value
454
- #: includes/class-mla-data.php:5953
455
  #, php-format
456
  msgid "Deleting ALT Text, was \"%1$s\""
457
  msgstr ""
458
 
459
  #. translators: 1: ERROR tag 2: old_value
460
- #: includes/class-mla-data.php:5956
461
  #, php-format
462
  msgid "%1$s: Could not delete ALT Text, remains \"%2$s\""
463
  msgstr ""
464
 
465
- #: includes/class-mla-data.php:5969 includes/class-mla-edit-media.php:434
466
- #: includes/class-mla-list-table.php:1330 includes/class-mla-main.php:2259
467
- #: includes/class-mla-options.php:1113 includes/class-mla-options.php:1961
468
- #: includes/mla-main-search-box-template.php:52
469
- #: includes/mla-media-modal-js-template.php:47
470
  msgid "ALT Text"
471
  msgstr ""
472
 
473
  #. translators: 1: ERROR tag 2: old_value 3: new_value
474
- #: includes/class-mla-data.php:5972
475
  #, php-format
476
  msgid "%1$s: Could not change ALT Text from \"%2$s\" to \"%3$s\""
477
  msgstr ""
478
 
479
- #: includes/class-mla-data.php:5982 includes/class-mla-edit-media.php:432
480
- #: includes/class-mla-main.php:2257 includes/class-mla-options.php:1120
481
- #: includes/class-mla-options.php:1964
482
- #: includes/mla-main-search-box-template.php:53
483
- #: includes/mla-media-modal-js-template.php:52
484
  msgid "Caption"
485
  msgstr ""
486
 
487
- #: includes/class-mla-data.php:5991 includes/class-mla-edit-media.php:433
488
- #: includes/class-mla-main.php:2258 includes/class-mla-options.php:1127
489
- #: includes/class-mla-options.php:1967 includes/class-mla-settings.php:1529
490
- #: includes/class-mla-settings.php:1786 includes/class-mla-settings.php:1884
491
- #: includes/class-mla-settings.php:2248
492
- #: includes/mla-main-search-box-template.php:54
493
- #: includes/mla-media-modal-js-template.php:56
494
  msgid "Description"
495
  msgstr ""
496
 
497
- #: includes/class-mla-data.php:6002 includes/class-mla-list-table.php:1035
498
- #: includes/class-mla-list-table.php:1106 includes/class-mla-options.php:4521
499
- #: includes/class-mla-options.php:4899
500
  msgid "Parent"
501
  msgstr ""
502
 
503
- #: includes/class-mla-data.php:6013 includes/class-mla-edit-media.php:622
504
- #: includes/class-mla-edit-media.php:825 includes/class-mla-main.php:2262
505
- #: includes/class-mla-settings.php:1527 includes/class-mla-settings.php:1784
506
  msgid "Menu Order"
507
  msgstr ""
508
 
509
- #: includes/class-mla-data.php:6026 includes/class-mla-edit-media.php:400
510
- #: includes/class-mla-list-table.php:1486
511
- #: includes/class-mla-list-table.php:1489 includes/class-mla-main.php:2132
512
- #: includes/class-mla-main.php:2234
513
  msgid "Author"
514
  msgstr ""
515
 
516
- #: includes/class-mla-data.php:6035 includes/class-mla-edit-media.php:424
517
- #: includes/class-mla-main.php:2273
518
  msgid "Comments"
519
  msgstr ""
520
 
521
- #: includes/class-mla-data.php:6044 includes/class-mla-edit-media.php:425
522
- #: includes/class-mla-main.php:2274
523
  msgid "Pings"
524
  msgstr ""
525
 
526
- #: includes/class-mla-data.php:6076
527
  msgid "Adding"
528
  msgstr ""
529
 
530
- #: includes/class-mla-data.php:6081
531
  msgid "Removing"
532
  msgstr ""
533
 
534
- #: includes/class-mla-data.php:6090
535
  msgid "Replacing"
536
  msgstr ""
537
 
538
- #: includes/class-mla-data.php:6098
539
  msgid "Ignoring"
540
  msgstr ""
541
 
542
  #. translators: 1: action_name, 2: taxonomy
543
- #: includes/class-mla-data.php:6111
544
  #, php-format
545
  msgid "%1$s \"%2$s\" terms"
546
  msgstr ""
547
 
548
  #. translators: 1: taxonomy
549
- #: includes/class-mla-data.php:6115
550
  #, php-format
551
  msgid "You cannot assign \"%1$s\" terms"
552
  msgstr ""
553
 
554
  #. translators: 1: post ID
555
- #: includes/class-mla-data.php:6127 includes/class-mla-main.php:1313
556
  #, php-format
557
  msgid "Item %1$d, no changes detected."
558
  msgstr ""
559
 
560
  #. translators: 1: post ID
561
- #: includes/class-mla-data.php:6139
562
  #, php-format
563
  msgid "Item %1$d updated."
564
  msgstr ""
565
 
566
  #. translators: 1: ERROR tag 2: post ID
567
- #: includes/class-mla-data.php:6153
568
  #, php-format
569
  msgid "%1$s: Item %2$d update failed."
570
  msgstr ""
571
 
572
- #: includes/class-mla-edit-media.php:147 includes/class-mla-edit-media.php:187
573
- #: includes/class-mla-edit-media.php:242 includes/class-mla-main.php:565
574
- #: includes/class-mla-main.php:1093 includes/class-mla-main.php:1944
575
- #: includes/class-mla-media-modal.php:415 includes/class-mla-options.php:4038
576
- #: includes/class-mla-polylang-support.php:377
577
- #: includes/class-mla-settings.php:359
578
- #: includes/class-mla-thumbnail-generation.php:92
579
  msgctxt "tag_delimiter"
580
  msgid ","
581
  msgstr ""
582
 
583
- #: includes/class-mla-edit-media.php:186
584
  msgid "Upload New Media items"
585
  msgstr ""
586
 
587
- #: includes/class-mla-edit-media.php:188 includes/class-mla-edit-media.php:244
588
- #: includes/class-mla-main.php:552
589
- msgid "An ajax.fail error has occurred. Please reload the page and try again."
590
  msgstr ""
591
 
592
- #: includes/class-mla-edit-media.php:189 includes/class-mla-edit-media.php:245
593
- #: includes/class-mla-main.php:553
594
- msgid "An ajax.done error has occurred. Please reload the page and try again."
595
  msgstr ""
596
 
597
- #: includes/class-mla-edit-media.php:192 includes/class-mla-edit-media.php:420
598
- msgid "Open Bulk Edit area"
599
  msgstr ""
600
 
601
- #: includes/class-mla-edit-media.php:193
602
- msgid "Close Bulk Edit area"
603
  msgstr ""
604
 
605
- #: includes/class-mla-edit-media.php:343 includes/class-mla-main.php:2167
606
  msgid "more"
607
  msgstr ""
608
 
609
- #: includes/class-mla-edit-media.php:344 includes/class-mla-main.php:2168
610
  msgid "less"
611
  msgstr ""
612
 
613
- #: includes/class-mla-edit-media.php:347 includes/class-mla-edit-media.php:378
614
- #: includes/class-mla-main.php:2171 includes/class-mla-main.php:2209
615
  msgid "Add"
616
  msgstr ""
617
 
618
- #: includes/class-mla-edit-media.php:348 includes/class-mla-edit-media.php:379
619
- #: includes/class-mla-main.php:2172 includes/class-mla-main.php:2210
620
  msgid "Remove"
621
  msgstr ""
622
 
623
- #: includes/class-mla-edit-media.php:349 includes/class-mla-edit-media.php:380
624
- #: includes/class-mla-main.php:2173 includes/class-mla-main.php:2211
625
- #: includes/class-mla-options.php:3571 includes/class-mla-options.php:3670
626
- #: includes/class-mla-options.php:3714 includes/class-mla-options.php:4788
627
- #: includes/class-mla-options.php:4838 includes/class-mla-options.php:4958
628
- #: includes/class-mla-options.php:5053 includes/class-mla-options.php:5099
629
  msgid "Replace"
630
  msgstr ""
631
 
632
- #: includes/class-mla-edit-media.php:419
633
  msgid ""
634
  "IMPORTANT: Make your entries BEFORE uploading new items. Pull down the Help "
635
  "menu for more information."
636
  msgstr ""
637
 
638
- #: includes/class-mla-edit-media.php:426 includes/class-mla-main.php:2275
639
- #: includes/class-mla-main.php:2321 includes/class-mla-settings.php:1794
640
- #: includes/class-mla-settings.php:1832 includes/class-mla-settings.php:2259
641
  msgid "No Change"
642
  msgstr ""
643
 
644
- #: includes/class-mla-edit-media.php:427 includes/class-mla-main.php:2276
645
  msgid "Allow"
646
  msgstr ""
647
 
648
- #: includes/class-mla-edit-media.php:428 includes/class-mla-main.php:2277
649
  msgid "Do not allow"
650
  msgstr ""
651
 
652
- #: includes/class-mla-edit-media.php:435
653
- #: includes/class-mla-list-table.php:1032
654
- #: includes/class-mla-list-table.php:1103 includes/class-mla-main.php:2260
655
  msgid "Parent ID"
656
  msgstr ""
657
 
658
- #: includes/class-mla-edit-media.php:436 includes/class-mla-edit-media.php:805
659
- #: includes/class-mla-main.php:2261
660
- #: includes/class-mla-upload-optional-list-table.php:281
661
  msgid "Select"
662
  msgstr ""
663
 
664
- #: includes/class-mla-edit-media.php:512
665
  msgid "Custom field mapping updated."
666
  msgstr ""
667
 
668
- #: includes/class-mla-edit-media.php:513
669
  msgid "IPTC/EXIF mapping updated."
670
  msgstr ""
671
 
672
  #. translators: date_i18n format for last modified date and time
673
- #: includes/class-mla-edit-media.php:531
674
  msgid "M j, Y @ G:i"
675
  msgstr ""
676
 
677
- #: includes/class-mla-edit-media.php:533
678
  msgid "Last modified"
679
  msgstr ""
680
 
681
- #: includes/class-mla-edit-media.php:544
682
  msgid "Map Custom Field metadata for this item"
683
  msgstr ""
684
 
685
- #: includes/class-mla-edit-media.php:544 includes/class-mla-main.php:1862
686
- #: includes/class-mla-main.php:2280
687
  msgid "Map Custom Field metadata"
688
  msgstr ""
689
 
690
- #: includes/class-mla-edit-media.php:546
691
  msgid "Map IPTC/EXIF metadata for this item"
692
  msgstr ""
693
 
694
- #: includes/class-mla-edit-media.php:546 includes/class-mla-main.php:1865
695
- #: includes/class-mla-main.php:2279
696
  msgid "Map IPTC/EXIF metadata"
697
  msgstr ""
698
 
699
- #: includes/class-mla-edit-media.php:618 includes/class-mla-edit-media.php:806
700
  msgid "Parent Info"
701
  msgstr ""
702
 
703
- #: includes/class-mla-edit-media.php:628 includes/class-mla-edit-media.php:849
704
  msgid "Attachment Metadata"
705
  msgstr ""
706
 
707
- #: includes/class-mla-edit-media.php:633 includes/class-mla-edit-media.php:883
708
- #: includes/class-mla-options.php:482
709
  msgid "Featured in"
710
  msgstr ""
711
 
712
- #: includes/class-mla-edit-media.php:637 includes/class-mla-edit-media.php:922
713
- #: includes/class-mla-options.php:491
714
  msgid "Inserted in"
715
  msgstr ""
716
 
717
- #: includes/class-mla-edit-media.php:641 includes/class-mla-edit-media.php:957
718
- #: includes/class-mla-options.php:500 includes/class-mla-settings.php:4052
719
  msgid "Gallery in"
720
  msgstr ""
721
 
722
- #: includes/class-mla-edit-media.php:645 includes/class-mla-edit-media.php:992
723
- #: includes/class-mla-options.php:509 includes/class-mla-settings.php:4062
724
  msgid "MLA Gallery in"
725
  msgstr ""
726
 
727
  #. translators: 1: ERROR tag 2: function name 3: template key
728
- #: includes/class-mla-edit-media.php:698 includes/class-mla-edit-media.php:738
729
- #: includes/class-mla-main.php:777 includes/class-mla-settings.php:579
730
  #, php-format
731
  msgctxt "error_log"
732
  msgid "%1$s: %2$s discarding \"%3$s\"; no title/order"
733
  msgstr ""
734
 
735
- #: includes/class-mla-edit-media.php:784 includes/class-mla-list-table.php:740
736
- #: includes/class-mla-main.php:1762
737
  msgid "Scheduled"
738
  msgstr ""
739
 
740
- #: includes/class-mla-edit-media.php:787 includes/class-mla-list-table.php:743
741
  msgctxt "post state"
742
  msgid "Pending"
743
  msgstr ""
744
 
745
- #: includes/class-mla-edit-media.php:790 includes/class-mla-list-table.php:737
746
- #: includes/class-mla-main.php:1768
747
  msgid "Draft"
748
  msgstr ""
749
 
750
- #: includes/class-mla-edit-media.php:804
751
  msgid "Post Parent"
752
  msgstr ""
753
 
754
- #: includes/class-mla-edit-media.php:805 includes/class-mla-main.php:2056
755
  msgid "Select Parent"
756
  msgstr ""
757
 
758
- #: includes/class-mla-edit-media.php:872 includes/class-mla-edit-media.php:910
759
- #: includes/class-mla-edit-media.php:946 includes/class-mla-edit-media.php:981
760
- #: includes/class-mla-list-table.php:1153
761
- #: includes/class-mla-list-table.php:1202
762
- #: includes/class-mla-list-table.php:1248
763
- #: includes/class-mla-list-table.php:1293
764
  msgid "PARENT"
765
  msgstr ""
766
 
767
- #: includes/class-mla-edit-media.php:1175
768
  msgid "Most Used"
769
  msgstr ""
770
 
771
  #. translators: %s: add new taxonomy label
772
- #: includes/class-mla-edit-media.php:1204
773
  #, php-format
774
  msgid "+ %s"
775
  msgstr ""
776
 
777
- #: includes/class-mla-edit-media.php:1210 includes/class-mla-main.php:2057
778
- #: includes/class-mla-media-modal.php:1262
779
- #: includes/mla-media-modal-js-template.php:27
780
- #: includes/mla-media-modal-js-template.php:70
781
  msgid "Search"
782
  msgstr ""
783
 
784
- #: includes/class-mla-list-table.php:239
785
  msgctxt "list_table_column"
786
  msgid "ID/Parent"
787
  msgstr ""
788
 
789
- #: includes/class-mla-list-table.php:240
790
  msgctxt "list_table_column"
791
  msgid "Title/Name"
792
  msgstr ""
793
 
794
- #: includes/class-mla-list-table.php:241
795
  msgctxt "list_table_column"
796
  msgid "Title"
797
  msgstr ""
798
 
799
- #: includes/class-mla-list-table.php:242
800
  msgctxt "list_table_column"
801
  msgid "Name"
802
  msgstr ""
803
 
804
- #: includes/class-mla-list-table.php:243
805
  msgctxt "list_table_column"
806
  msgid "Parent ID"
807
  msgstr ""
808
 
809
- #: includes/class-mla-list-table.php:244
810
  msgctxt "list_table_column"
811
  msgid "Menu Order"
812
  msgstr ""
813
 
814
- #: includes/class-mla-list-table.php:245
815
  msgctxt "list_table_column"
816
  msgid "Featured in"
817
  msgstr ""
818
 
819
- #: includes/class-mla-list-table.php:246
820
  msgctxt "list_table_column"
821
  msgid "Inserted in"
822
  msgstr ""
823
 
824
- #: includes/class-mla-list-table.php:247
825
  msgctxt "list_table_column"
826
  msgid "Gallery in"
827
  msgstr ""
828
 
829
- #: includes/class-mla-list-table.php:248
830
  msgctxt "list_table_column"
831
  msgid "MLA Gallery in"
832
  msgstr ""
833
 
834
- #: includes/class-mla-list-table.php:249
835
  msgctxt "list_table_column"
836
  msgid "ALT Text"
837
  msgstr ""
838
 
839
- #: includes/class-mla-list-table.php:250
840
  msgctxt "list_table_column"
841
  msgid "Caption"
842
  msgstr ""
843
 
844
- #: includes/class-mla-list-table.php:251
845
- #: includes/class-mla-upload-list-table.php:193
846
- #: includes/class-mla-upload-optional-list-table.php:171
847
- #: includes/class-mla-view-list-table.php:179
848
  msgctxt "list_table_column"
849
  msgid "Description"
850
  msgstr ""
851
 
852
- #: includes/class-mla-list-table.php:252
853
- #: includes/class-mla-upload-list-table.php:185
854
- #: includes/class-mla-upload-optional-list-table.php:168
855
  msgctxt "list_table_column"
856
  msgid "MIME Type"
857
  msgstr ""
858
 
859
- #: includes/class-mla-list-table.php:253
860
  msgctxt "list_table_column"
861
  msgid "File URL"
862
  msgstr ""
863
 
864
- #: includes/class-mla-list-table.php:254
865
  msgctxt "list_table_column"
866
  msgid "Base File"
867
  msgstr ""
868
 
869
- #: includes/class-mla-list-table.php:255
870
  msgctxt "list_table_column"
871
  msgid "Date"
872
  msgstr ""
873
 
874
- #: includes/class-mla-list-table.php:256
875
  msgctxt "list_table_column"
876
  msgid "Last Modified"
877
  msgstr ""
878
 
879
- #: includes/class-mla-list-table.php:257
880
  msgctxt "list_table_column"
881
  msgid "Author"
882
  msgstr ""
883
 
884
- #: includes/class-mla-list-table.php:258
885
  msgctxt "list_table_column"
886
  msgid "Attached to"
887
  msgstr ""
888
 
889
- #: includes/class-mla-list-table.php:279
890
  msgid "All"
891
  msgstr ""
892
 
893
- #: includes/class-mla-list-table.php:522
894
- #: includes/class-mla-upload-list-table.php:263
895
- #: includes/class-mla-view-list-table.php:209
896
  msgid "List View"
897
  msgstr ""
898
 
899
- #: includes/class-mla-list-table.php:583
900
- #: includes/class-mla-list-table.php:1388 includes/class-mla-options.php:614
901
- #: includes/class-mla-options.php:816 includes/class-mla-options.php:840
902
- #: includes/class-mla-options.php:854 includes/class-mla-settings.php:2333
903
  msgid "None"
904
  msgstr ""
905
 
906
- #: includes/class-mla-list-table.php:589 includes/class-mla-list-table.php:622
907
- #: includes/class-mla-list-table.php:1032
908
- #: includes/class-mla-list-table.php:1103
909
- #: includes/class-mla-list-table.php:1326
910
- #: includes/class-mla-list-table.php:1370
911
- #: includes/class-mla-list-table.php:1402
912
- #: includes/class-mla-list-table.php:1486
913
  msgid "Filter by"
914
  msgstr ""
915
 
916
- #: includes/class-mla-list-table.php:599
917
- #: includes/class-mla-media-modal.php:923
918
  msgid "Not Supported"
919
  msgstr ""
920
 
921
  #. translators: 1: column_name 2: column_values
922
- #: includes/class-mla-list-table.php:642
923
- #: includes/class-mla-upload-list-table.php:339
924
- #: includes/class-mla-upload-optional-list-table.php:228
925
- #: includes/class-mla-view-list-table.php:285
926
  #, php-format
927
  msgid "column_default: %1$s, %2$s"
928
  msgstr ""
929
 
930
- #: includes/class-mla-list-table.php:721 includes/class-mla-list-table.php:847
931
- #: includes/class-mla-list-table.php:1158
932
- #: includes/class-mla-list-table.php:1207
933
- #: includes/class-mla-list-table.php:1253
934
- #: includes/class-mla-list-table.php:1298
935
- #: includes/class-mla-list-table.php:1506
936
- #: includes/class-mla-list-table.php:1822
937
- #: includes/class-mla-polylang-support.php:376
938
- #: includes/class-mla-upload-list-table.php:404
939
- #: includes/class-mla-upload-list-table.php:710
940
- #: includes/class-mla-view-list-table.php:351
941
- #: includes/class-mla-view-list-table.php:566
942
  msgid "Edit"
943
  msgstr ""
944
 
945
- #: includes/class-mla-list-table.php:746
946
- #: includes/class-mla-thumbnail-generation.php:433
947
  msgid "Trash"
948
  msgstr ""
949
 
950
- #: includes/class-mla-list-table.php:836
951
  msgid "Restore this item from the Trash"
952
  msgstr ""
953
 
954
- #: includes/class-mla-list-table.php:836
955
- #: includes/class-mla-list-table.php:1819
956
  msgid "Restore"
957
  msgstr ""
958
 
959
- #: includes/class-mla-list-table.php:847
960
- #: includes/class-mla-upload-list-table.php:404
961
- #: includes/class-mla-view-list-table.php:351
962
  msgid "Edit this item"
963
  msgstr ""
964
 
965
- #: includes/class-mla-list-table.php:848
966
- #: includes/class-mla-upload-list-table.php:406
967
- #: includes/class-mla-view-list-table.php:353
968
  msgid "Edit this item inline"
969
  msgstr ""
970
 
971
- #: includes/class-mla-list-table.php:848 includes/class-mla-main.php:2254
972
- #: includes/class-mla-options.php:3446 includes/class-mla-options.php:3750
973
- #: includes/class-mla-upload-list-table.php:406
974
- #: includes/class-mla-view-list-table.php:353
975
  msgid "Quick Edit"
976
  msgstr ""
977
 
978
- #: includes/class-mla-list-table.php:854
979
  msgid "Move this item to the Trash"
980
  msgstr ""
981
 
982
- #: includes/class-mla-list-table.php:854
983
- #: includes/class-mla-list-table.php:1825
984
  msgid "Move to Trash"
985
  msgstr ""
986
 
987
- #: includes/class-mla-list-table.php:859
988
- #: includes/class-mla-upload-list-table.php:410
989
- #: includes/class-mla-view-list-table.php:359
990
  msgid "Delete this item Permanently"
991
  msgstr ""
992
 
993
- #: includes/class-mla-list-table.php:859
994
- #: includes/class-mla-list-table.php:1820
995
- #: includes/class-mla-list-table.php:1827
996
- #: includes/class-mla-upload-list-table.php:410
997
- #: includes/class-mla-view-list-table.php:359
998
- #: includes/class-mla-view-list-table.php:567
999
  msgid "Delete Permanently"
1000
  msgstr ""
1001
 
1002
- #: includes/class-mla-list-table.php:867 includes/class-mla-settings.php:3141
1003
  msgid "Download"
1004
  msgstr ""
1005
 
1006
- #: includes/class-mla-list-table.php:871 includes/class-mla-settings.php:1772
1007
  msgid "View"
1008
  msgstr ""
1009
 
1010
- #: includes/class-mla-list-table.php:918
1011
- #: includes/class-mla-list-table.php:1029 includes/class-mla-main.php:556
1012
- #: includes/class-mla-main.php:1753
1013
- #: includes/class-mla-polylang-support.php:373
1014
- #: includes/class-mla-thumbnail-generation.php:90
1015
  msgid "(no title)"
1016
  msgstr ""
1017
 
1018
- #: includes/class-mla-list-table.php:1100
1019
  msgid "(no title: bad ID)"
1020
  msgstr ""
1021
 
1022
- #: includes/class-mla-list-table.php:1135
1023
- #: includes/class-mla-list-table.php:1180
1024
- #: includes/class-mla-list-table.php:1230
1025
- #: includes/class-mla-list-table.php:1275 includes/class-mla-options.php:486
1026
- #: includes/class-mla-options.php:495 includes/class-mla-options.php:504
1027
- #: includes/class-mla-options.php:513
1028
  msgid "Disabled"
1029
  msgstr ""
1030
 
1031
- #: includes/class-mla-list-table.php:1373 includes/class-mla-settings.php:1877
1032
- #: includes/class-mla-settings.php:2242
1033
  msgid "MIME Type"
1034
  msgstr ""
1035
 
1036
- #: includes/class-mla-list-table.php:1406
1037
  msgid "Base File"
1038
  msgstr ""
1039
 
1040
- #: includes/class-mla-list-table.php:1422
1041
- #: includes/class-mla-list-table.php:1455
1042
  msgid "Unpublished"
1043
  msgstr ""
1044
 
1045
  #. translators: 1: upload/last modified date and time
1046
- #: includes/class-mla-list-table.php:1431
1047
- #: includes/class-mla-list-table.php:1462
1048
  #, php-format
1049
  msgid "%1$s from now"
1050
  msgstr ""
1051
 
1052
  #. translators: 1: upload/last modified date and time
1053
- #: includes/class-mla-list-table.php:1434
1054
- #: includes/class-mla-list-table.php:1464
1055
  #, php-format
1056
  msgid "%1$s ago"
1057
  msgstr ""
1058
 
1059
  #. translators: format for upload/last modified date
1060
  #. translators: date format in table columns, see http://php.net/date
1061
- #: includes/class-mla-list-table.php:1438
1062
- #: includes/class-mla-list-table.php:1467
1063
- #: includes/class-mla-list-table.php:1523 includes/class-mla-main.php:1778
1064
  msgid "Y/m/d"
1065
  msgstr ""
1066
 
1067
- #: includes/class-mla-list-table.php:1525 includes/class-mla-options.php:1216
1068
  msgctxt "table_view_singular"
1069
  msgid "Unattached"
1070
  msgstr ""
1071
 
1072
- #: includes/class-mla-list-table.php:1528
1073
  msgid "Set Parent"
1074
  msgstr ""
1075
 
1076
- #: includes/class-mla-list-table.php:1674
1077
  msgctxt "uploaded files"
1078
  msgid "All"
1079
  msgid_plural "All"
1080
  msgstr[0] ""
1081
  msgstr[1] ""
1082
 
1083
- #: includes/class-mla-list-table.php:1853
1084
  msgid "Filter"
1085
  msgstr ""
1086
 
1087
- #: includes/class-mla-list-table.php:1859
1088
- #: includes/mla-media-modal-js-template.php:67
1089
  msgid "Terms Search"
1090
  msgstr ""
1091
 
1092
- #: includes/class-mla-list-table.php:1866
1093
- #: includes/class-mla-polylang-support.php:1643
1094
- #: includes/class-mla-thumbnail-generation.php:438
1095
  msgid "Clear Filter-by"
1096
  msgstr ""
1097
 
1098
- #: includes/class-mla-list-table.php:1870
1099
  msgid "Empty Trash"
1100
  msgstr ""
1101
 
1102
- #: includes/class-mla-main.php:554 includes/class-mla-settings.php:356
1103
  msgid "Error while saving the changes."
1104
  msgstr ""
1105
 
1106
- #: includes/class-mla-main.php:555 includes/class-mla-settings.php:357
1107
  msgid "Remove From Bulk Edit"
1108
  msgstr ""
1109
 
1110
- #: includes/class-mla-main.php:557
1111
  msgid "Bulk Edit items"
1112
  msgstr ""
1113
 
1114
- #: includes/class-mla-main.php:558 includes/class-mla-main.php:2281
1115
- #: includes/class-mla-settings.php:373
1116
  msgid "Waiting"
1117
  msgstr ""
1118
 
1119
- #: includes/class-mla-main.php:559 includes/class-mla-main.php:2283
1120
- #: includes/class-mla-settings.php:375
1121
  msgid "Complete"
1122
  msgstr ""
1123
 
1124
- #: includes/class-mla-main.php:560 includes/class-mla-settings.php:376
1125
  msgid "Unchanged"
1126
  msgstr ""
1127
 
1128
- #: includes/class-mla-main.php:561 includes/class-mla-settings.php:377
1129
  msgid "Succeeded"
1130
  msgstr ""
1131
 
1132
- #: includes/class-mla-main.php:562 includes/class-mla-settings.php:378
1133
  msgid "Failed"
1134
  msgstr ""
1135
 
1136
- #: includes/class-mla-main.php:563 includes/class-mla-settings.php:381
1137
  msgid "CANCELED"
1138
  msgstr ""
1139
 
1140
- #: includes/class-mla-main.php:666
1141
  #, php-format
1142
  msgid "Item permanently deleted."
1143
  msgid_plural "%d items permanently deleted."
@@ -1145,42 +727,33 @@ msgstr[0] ""
1145
  msgstr[1] ""
1146
 
1147
  #. translators: 1: post ID
1148
- #: includes/class-mla-main.php:671 includes/class-mla-main.php:2460
1149
  #, php-format
1150
  msgid "Item %1$d moved to Trash."
1151
  msgstr ""
1152
 
1153
- #: includes/class-mla-main.php:690
1154
  msgid "Entries per page"
1155
  msgstr ""
1156
 
1157
- #: includes/class-mla-main.php:1247
1158
  msgid "You are not allowed to edit Attachment: "
1159
  msgstr ""
1160
 
1161
  #. translators: 1: ERROR tag 2: bulk action
1162
- #: includes/class-mla-main.php:1303
1163
  #, php-format
1164
  msgid "%1$s: Unknown bulk action %2$s"
1165
  msgstr ""
1166
 
1167
- #: includes/class-mla-main.php:1325
1168
  msgid "no changes detected"
1169
  msgstr ""
1170
 
1171
  #. translators: 1: action name, e.g., edit
1172
- #: includes/class-mla-main.php:1372 includes/class-mla-settings.php:1651
1173
- #: includes/class-mla-settings.php:2118
1174
  #, php-format
1175
  msgid "Bulk Action %1$s - no items selected."
1176
  msgstr ""
1177
 
1178
- #: includes/class-mla-main.php:1455
1179
  msgid "You do not have permission to manage attachments."
1180
  msgstr ""
1181
 
1182
  #. translators: 1: number of items
1183
- #: includes/class-mla-main.php:1515
1184
  #, php-format
1185
  msgctxt "deleted items"
1186
  msgid "%s item deleted."
@@ -1188,646 +761,479 @@ msgid_plural "%s items deleted."
1188
  msgstr[0] ""
1189
  msgstr[1] ""
1190
 
1191
- #: includes/class-mla-main.php:1517
1192
  msgid "No items deleted."
1193
  msgstr ""
1194
 
1195
- #: includes/class-mla-main.php:1571
1196
  msgid "Empty Terms Search; ignored"
1197
  msgstr ""
1198
 
1199
  #. translators: 1: row-level action, e.g., single_item_delete, single_item_edit
1200
  #. translators: 1: bulk_action, e.g., single_item_delete, single_item_edit
1201
- #: includes/class-mla-main.php:1583 includes/class-mla-settings.php:1688
1202
- #: includes/class-mla-settings.php:2157
1203
  #, php-format
1204
  msgid "Unknown mla_admin_action - \"%1$s\""
1205
  msgstr ""
1206
 
1207
- #: includes/class-mla-main.php:1616
1208
  msgid "term search results for"
1209
  msgstr ""
1210
 
1211
- #: includes/class-mla-main.php:1619
1212
  msgid "post/parent results for"
1213
  msgstr ""
1214
 
1215
- #: includes/class-mla-main.php:1621
1216
  msgid "search results for"
1217
  msgstr ""
1218
 
1219
- #: includes/class-mla-main.php:1749 includes/class-mla-main.php:2066
1220
- #: includes/class-mla-thumbnail-generation.php:429
1221
  msgid "Type"
1222
  msgstr ""
1223
 
1224
- #: includes/class-mla-main.php:1749 includes/class-mla-main.php:2067
1225
  msgid "Date"
1226
  msgstr ""
1227
 
1228
- #: includes/class-mla-main.php:1749 includes/class-mla-main.php:2068
1229
- #: includes/class-mla-settings.php:2258
1230
  msgid "Status"
1231
  msgstr ""
1232
 
1233
- #: includes/class-mla-main.php:1759
1234
  msgid "Published"
1235
  msgstr ""
1236
 
1237
- #: includes/class-mla-main.php:1765
1238
  msgid "Pending Review"
1239
  msgstr ""
1240
 
1241
- #: includes/class-mla-main.php:1807 includes/class-mla-main.php:1894
1242
  msgid "No post ID found"
1243
  msgstr ""
1244
 
1245
- #: includes/class-mla-main.php:1814 includes/class-mla-main.php:1901
1246
- #: includes/class-mla-polylang-support.php:277
1247
  msgid "You are not allowed to edit this Attachment."
1248
  msgstr ""
1249
 
1250
- #: includes/class-mla-main.php:1868 includes/class-mla-main.php:2078
1251
- #: includes/class-mla-main.php:2268 includes/class-mla-settings.php:1531
1252
- #: includes/class-mla-settings.php:1792 includes/class-mla-settings.php:1886
1253
- #: includes/class-mla-settings.php:2256
1254
  msgid "Update"
1255
  msgstr ""
1256
 
1257
- #: includes/class-mla-main.php:2013
1258
  msgid "All Post Types"
1259
  msgstr ""
1260
 
1261
- #: includes/class-mla-main.php:2059
1262
  msgid "For"
1263
  msgstr ""
1264
 
1265
- #: includes/class-mla-main.php:2069 includes/class-mla-shortcodes.php:855
1266
  msgid "Unattached"
1267
  msgstr ""
1268
 
1269
- #: includes/class-mla-main.php:2074 includes/class-mla-main.php:2267
1270
- #: includes/class-mla-polylang-support.php:1636
1271
- #: includes/class-mla-settings.php:1532 includes/class-mla-settings.php:1791
1272
- #: includes/class-mla-settings.php:1887 includes/class-mla-settings.php:1959
1273
- #: includes/class-mla-settings.php:2255 includes/class-mla-settings.php:2745
1274
- #: includes/class-mla-settings.php:2881
1275
- #: includes/class-mla-thumbnail-generation.php:439
1276
  msgid "Cancel"
1277
  msgstr ""
1278
 
1279
- #: includes/class-mla-main.php:2269 includes/class-mla-options.php:3460
1280
- #: includes/class-mla-options.php:3751 includes/class-mla-settings.php:1793
1281
- #: includes/class-mla-settings.php:2257
1282
  msgid "Bulk Edit"
1283
  msgstr ""
1284
 
1285
- #: includes/class-mla-main.php:2282
1286
  msgid "In-process"
1287
  msgstr ""
1288
 
1289
- #: includes/class-mla-main.php:2284 includes/class-mla-options.php:504
1290
- #: includes/class-mla-options.php:513 includes/class-mla-settings.php:2748
1291
- #: includes/class-mla-settings.php:2884
1292
  msgid "Refresh"
1293
  msgstr ""
1294
 
1295
- #: includes/class-mla-main.php:2373
1296
  msgid "You are not allowed to delete this item."
1297
  msgstr ""
1298
 
1299
  #. translators: 1: ERROR tag 2: post ID
1300
- #: includes/class-mla-main.php:2381
1301
  #, php-format
1302
  msgid "%1$s: Item %2$d could NOT be deleted."
1303
  msgstr ""
1304
 
1305
  #. translators: 1: post ID
1306
- #: includes/class-mla-main.php:2388
1307
  #, php-format
1308
  msgid "Item %1$d permanently deleted."
1309
  msgstr ""
1310
 
1311
- #: includes/class-mla-main.php:2405
1312
  msgid "You are not allowed to move this item out of the Trash."
1313
  msgstr ""
1314
 
1315
  #. translators: 1: ERROR tag 2: post ID
1316
- #: includes/class-mla-main.php:2413
1317
  #, php-format
1318
  msgid "%1$s: Item %2$d could NOT be restored from Trash."
1319
  msgstr ""
1320
 
1321
  #. translators: 1: post ID
1322
- #: includes/class-mla-main.php:2428
1323
  #, php-format
1324
  msgid "Item %1$d restored from Trash."
1325
  msgstr ""
1326
 
1327
- #: includes/class-mla-main.php:2445
1328
  msgid "You are not allowed to move this item to the Trash."
1329
  msgstr ""
1330
 
1331
  #. translators: 1: ERROR tag 2: post ID
1332
- #: includes/class-mla-main.php:2453
1333
  #, php-format
1334
  msgid "%1$s: Item %2$d could NOT be moved to Trash."
1335
  msgstr ""
1336
 
1337
- #: includes/class-mla-media-modal.php:245
1338
- #: includes/class-mla-media-modal.php:251
1339
- #: includes/class-mla-media-modal.php:837
1340
- #: includes/class-mla-media-modal.php:872
1341
- #: includes/class-mla-media-modal.php:917
1342
  msgid "Click to toggle"
1343
  msgstr ""
1344
 
1345
- #: includes/class-mla-media-modal.php:290
1346
  msgid "Show all dates"
1347
  msgstr ""
1348
 
1349
  #. translators: 1: month name, 2: 4-digit year
1350
- #: includes/class-mla-media-modal.php:305
1351
  #, php-format
1352
  msgid "%1$s %2$d"
1353
  msgstr ""
1354
 
1355
- #: includes/class-mla-media-modal.php:534
1356
  msgid "Search Box"
1357
  msgstr ""
1358
 
1359
- #: includes/class-mla-media-modal.php:535
1360
  msgid "Loading..."
1361
  msgstr ""
1362
 
1363
- #: includes/class-mla-media-modal.php:883
1364
  msgid "Tags"
1365
  msgstr ""
1366
 
1367
  #. translators: %s: add new taxonomy label
1368
  #. translators: %s: add new View
1369
  #. translators: %s: add new Upload MIME Type
1370
- #: includes/class-mla-media-modal.php:885 includes/class-mla-objects.php:46
1371
- #: includes/class-mla-objects.php:76 includes/class-mla-settings.php:1772
1372
- #: includes/class-mla-settings.php:2238
1373
  #, php-format
1374
  msgid "Add New %1$s"
1375
  msgstr ""
1376
 
1377
- #: includes/class-mla-media-modal.php:901
1378
  msgid "Choose from the most used tags"
1379
  msgstr ""
1380
 
1381
- #: includes/class-mla-media-modal.php:1245
1382
- #: includes/class-mla-media-modal.php:1261
1383
  msgid "Search Terms"
1384
  msgstr ""
1385
 
1386
- #: includes/class-mla-media-modal.php:1246
1387
  msgid "There are no taxonomies to search"
1388
  msgstr ""
1389
 
1390
- #: includes/class-mla-media-modal.php:1264
1391
  msgid "All phrases"
1392
  msgstr ""
1393
 
1394
- #: includes/class-mla-media-modal.php:1266
1395
  msgid "Any phrase"
1396
  msgstr ""
1397
 
1398
- #: includes/class-mla-media-modal.php:1268
1399
  msgid "All terms"
1400
  msgstr ""
1401
 
1402
- #: includes/class-mla-media-modal.php:1270
1403
  msgid "Any term"
1404
  msgstr ""
1405
 
1406
- #: includes/class-mla-media-modal.php:1272
1407
  msgid "Exact"
1408
  msgstr ""
1409
 
1410
- #: includes/class-mla-mime-types.php:364
1411
  msgctxt "post_mime_types"
1412
  msgid "Manage"
1413
  msgstr ""
1414
 
1415
- #: includes/class-mla-mime-types.php:764
1416
  msgctxt "post_mime_types_description"
1417
  msgid "Copied from previous filter/plugin"
1418
  msgstr ""
1419
 
1420
  #. translators: 1: ERROR tag 2: raw_mime_type
1421
- #: includes/class-mla-mime-types.php:916
1422
  #, php-format
1423
  msgid "%1$s: Bad specification part \"%2$s\""
1424
  msgstr ""
1425
 
1426
  #. translators: 1: ERROR tag 2: option, e.g., any, match, null
1427
- #: includes/class-mla-mime-types.php:922
1428
  #, php-format
1429
  msgid "%1$s: Bad specification option \"%2$s\""
1430
  msgstr ""
1431
 
1432
  #. translators: 1: ERROR tag 2: prefix, e.g., custom
1433
- #: includes/class-mla-mime-types.php:926
1434
  #, php-format
1435
  msgid "%1$s: Bad specification prefix \"%2$s\""
1436
  msgstr ""
1437
 
1438
- #: includes/class-mla-mime-types.php:957
1439
- #: includes/class-mla-mime-types.php:1074
1440
  msgid "Ignoring specification for Post MIME Type; using slug"
1441
  msgstr ""
1442
 
1443
  #. translators: 1: element name 2: bad_value 3: good_value
1444
- #: includes/class-mla-mime-types.php:963
1445
- #: includes/class-mla-mime-types.php:2016
1446
  #, php-format
1447
  msgid "<br>Changing %1$s \"%2$s\" to valid value \"%3$s\""
1448
  msgstr ""
1449
 
1450
- #: includes/class-mla-mime-types.php:963
1451
- #: includes/class-mla-mime-types.php:1051
1452
- #: includes/class-mla-mime-types.php:1062 includes/class-mla-settings.php:1516
1453
- #: includes/class-mla-settings.php:1773
1454
  msgid "Slug"
1455
  msgstr ""
1456
 
1457
  #. translators: 1: ERROR tag 2: slug
1458
- #: includes/class-mla-mime-types.php:971
1459
- #: includes/class-mla-mime-types.php:1059
1460
  #, php-format
1461
  msgid "%1$s: Could not add Slug \"%2$s\"; value already exists"
1462
  msgstr ""
1463
 
1464
  #. translators: 1: slug
1465
- #: includes/class-mla-mime-types.php:1006
1466
  #, php-format
1467
  msgid "Edit view \"%1$s\"; added"
1468
  msgstr ""
1469
 
1470
  #. translators: 1: element name 2: bad_value 3: good_value
1471
- #: includes/class-mla-mime-types.php:1051
1472
- #: includes/class-mla-mime-types.php:2142
1473
  #, php-format
1474
  msgid "<br>Changing new %1$s \"%2$s\" to valid value \"%3$s\""
1475
  msgstr ""
1476
 
1477
  #. translators: 1: slug
1478
- #: includes/class-mla-mime-types.php:1104
1479
  #, php-format
1480
  msgid "Edit view \"%1$s\"; no changes detected"
1481
  msgstr ""
1482
 
1483
  #. translators: 1: slug
1484
- #: includes/class-mla-mime-types.php:1118
1485
  #, php-format
1486
  msgid "Edit view \"%1$s\"; updated"
1487
  msgstr ""
1488
 
1489
  #. translators: 1: slug
1490
- #: includes/class-mla-mime-types.php:1191
1491
  #, php-format
1492
  msgid "View \"%1$s\" reverted to standard"
1493
  msgstr ""
1494
 
1495
  #. translators: 1: slug
1496
- #: includes/class-mla-mime-types.php:1197
1497
  #, php-format
1498
  msgid "View \"%1$s\" deleted"
1499
  msgstr ""
1500
 
1501
  #. translators: 1: ERROR tag 2: slug
1502
- #: includes/class-mla-mime-types.php:1205
1503
  #, php-format
1504
  msgid "%1$s: Did not find view \"%2$s\""
1505
  msgstr ""
1506
 
1507
- #: includes/class-mla-mime-types.php:1464 includes/class-mla-options.php:1162
1508
  msgctxt "table_view_singular"
1509
  msgid "All"
1510
  msgstr ""
1511
 
1512
- #: includes/class-mla-mime-types.php:1465 includes/class-mla-options.php:1163
1513
  msgctxt "table_view_plural"
1514
  msgid "All"
1515
  msgstr ""
1516
 
1517
- #: includes/class-mla-mime-types.php:1468
1518
  msgctxt "table_view_singular"
1519
  msgid "Active"
1520
  msgstr ""
1521
 
1522
- #: includes/class-mla-mime-types.php:1469
1523
  msgctxt "table_view_plural"
1524
  msgid "Active"
1525
  msgstr ""
1526
 
1527
- #: includes/class-mla-mime-types.php:1472
1528
  msgctxt "table_view_singular"
1529
  msgid "Inactive"
1530
  msgstr ""
1531
 
1532
- #: includes/class-mla-mime-types.php:1473
1533
  msgctxt "table_view_plural"
1534
  msgid "Inactive"
1535
  msgstr ""
1536
 
1537
- #: includes/class-mla-mime-types.php:1476
1538
  msgctxt "table_view_singular"
1539
  msgid "WordPress"
1540
  msgstr ""
1541
 
1542
- #: includes/class-mla-mime-types.php:1477
1543
  msgctxt "table_view_plural"
1544
  msgid "WordPress"
1545
  msgstr ""
1546
 
1547
- #: includes/class-mla-mime-types.php:1480
1548
  msgctxt "table_view_singular"
1549
  msgid "MLA"
1550
  msgstr ""
1551
 
1552
- #: includes/class-mla-mime-types.php:1481
1553
  msgctxt "table_view_plural"
1554
  msgid "MLA"
1555
  msgstr ""
1556
 
1557
- #: includes/class-mla-mime-types.php:1484
1558
  msgctxt "table_view_singular"
1559
  msgid "Custom"
1560
  msgstr ""
1561
 
1562
- #: includes/class-mla-mime-types.php:1485
1563
  msgctxt "table_view_plural"
1564
  msgid "Custom"
1565
  msgstr ""
1566
 
1567
- #: includes/class-mla-mime-types.php:1706
1568
  msgid "icon"
1569
  msgstr ""
1570
 
1571
- #: includes/class-mla-mime-types.php:2000
1572
- #: includes/class-mla-mime-types.php:2099
1573
  msgid "Cannot load Upload MIME Types"
1574
  msgstr ""
1575
 
1576
- #: includes/class-mla-mime-types.php:2011
1577
  msgid "Extension is required"
1578
  msgstr ""
1579
 
1580
- #: includes/class-mla-mime-types.php:2016
1581
- #: includes/class-mla-mime-types.php:2142
1582
- #: includes/class-mla-mime-types.php:2153 includes/class-mla-settings.php:1875
1583
- #: includes/class-mla-settings.php:2240
1584
  msgid "Extension"
1585
  msgstr ""
1586
 
1587
  #. translators: 1: ERROR tag 2: slug
1588
- #: includes/class-mla-mime-types.php:2024
1589
  #, php-format
1590
  msgid "%1$s: Could not add extension \"%2$s\"; value already exists"
1591
  msgstr ""
1592
 
1593
- #: includes/class-mla-mime-types.php:2032
1594
  msgid "MIME type is required"
1595
  msgstr ""
1596
 
1597
  #. translators: 1: ERROR tag 2: clean_mime_type
1598
- #: includes/class-mla-mime-types.php:2037
1599
- #: includes/class-mla-mime-types.php:2184
1600
  #, php-format
1601
  msgid "%1$s: Bad MIME type; try \"%2$s\""
1602
  msgstr ""
1603
 
1604
  #. translators: 1: slug
1605
- #: includes/class-mla-mime-types.php:2074
1606
  #, php-format
1607
  msgid "Upload MIME Type \"%1$s\"; added"
1608
  msgstr ""
1609
 
1610
- #: includes/class-mla-mime-types.php:2080
1611
- #: includes/class-mla-mime-types.php:2269
1612
- #: includes/class-mla-mime-types.php:2348
1613
  msgid "Cannot update Upload MIME Types"
1614
  msgstr ""
1615
 
1616
  #. translators: 1: ERROR tag 2: slug
1617
- #: includes/class-mla-mime-types.php:2150
1618
  #, php-format
1619
  msgid "%1$s: Could not add new extension \"%2$s\"; value already exists"
1620
  msgstr ""
1621
 
1622
  #. translators: 1: slug
1623
- #: includes/class-mla-mime-types.php:2249
1624
  #, php-format
1625
  msgid "Edit type \"%1$s\"; no changes detected"
1626
  msgstr ""
1627
 
1628
  #. translators: 1: slug
1629
- #: includes/class-mla-mime-types.php:2263
1630
  #, php-format
1631
  msgid "Edit type \"%1$s\"; updated"
1632
  msgstr ""
1633
 
1634
  #. translators: 1: slug
1635
- #: includes/class-mla-mime-types.php:2336
1636
  #, php-format
1637
  msgid "Upload MIME Type \"%1$s\"; reverted to standard"
1638
  msgstr ""
1639
 
1640
  #. translators: 1: slug
1641
- #: includes/class-mla-mime-types.php:2342
1642
  #, php-format
1643
  msgid "Upload MIME Type \"%1$s\"; deleted"
1644
  msgstr ""
1645
 
1646
  #. translators: 1: ERROR tag 2: slug
1647
- #: includes/class-mla-mime-types.php:2357
1648
  #, php-format
1649
  msgid "%1$s: Did not find Upload type \"%2$s\""
1650
  msgstr ""
1651
 
1652
- #: includes/class-mla-objects.php:37
1653
  msgctxt "taxonomy_name_plural"
1654
  msgid "Att. Categories"
1655
  msgstr ""
1656
 
1657
- #: includes/class-mla-objects.php:38
1658
  msgctxt "taxonomy_name_singular"
1659
  msgid "Att. Category"
1660
  msgstr ""
1661
 
1662
- #: includes/class-mla-objects.php:39
1663
  msgid "Search Att. Categories"
1664
  msgstr ""
1665
 
1666
- #: includes/class-mla-objects.php:40
1667
  msgid "All Att. Categories"
1668
  msgstr ""
1669
 
1670
- #: includes/class-mla-objects.php:41 includes/class-mla-objects.php:42
1671
  msgid "Parent Att. Category"
1672
  msgstr ""
1673
 
1674
- #: includes/class-mla-objects.php:43
1675
  msgid "Edit Att. Category"
1676
  msgstr ""
1677
 
1678
- #: includes/class-mla-objects.php:44
1679
  msgid "Update Att. Category"
1680
  msgstr ""
1681
 
1682
- #: includes/class-mla-objects.php:46 includes/class-mla-objects.php:48
1683
  msgid "Att. Category"
1684
  msgstr ""
1685
 
1686
- #: includes/class-mla-objects.php:47
1687
  msgid "New Att. Category Name"
1688
  msgstr ""
1689
 
1690
- #: includes/class-mla-objects.php:67
1691
  msgctxt "taxonomy_name_plural"
1692
  msgid "Att. Tags"
1693
  msgstr ""
1694
 
1695
- #: includes/class-mla-objects.php:68
1696
  msgctxt "taxonomy_name_singular"
1697
  msgid "Att. Tag"
1698
  msgstr ""
1699
 
1700
- #: includes/class-mla-objects.php:69
1701
  msgid "Search Att. Tags"
1702
  msgstr ""
1703
 
1704
- #: includes/class-mla-objects.php:70
1705
  msgid "All Att. Tags"
1706
  msgstr ""
1707
 
1708
- #: includes/class-mla-objects.php:71 includes/class-mla-objects.php:72
1709
  msgid "Parent Att. Tag"
1710
  msgstr ""
1711
 
1712
- #: includes/class-mla-objects.php:73
1713
  msgid "Edit Att. Tag"
1714
  msgstr ""
1715
 
1716
- #: includes/class-mla-objects.php:74
1717
  msgid "Update Att. Tag"
1718
  msgstr ""
1719
 
1720
- #: includes/class-mla-objects.php:76 includes/class-mla-objects.php:78
1721
  msgid "Att. Tag"
1722
  msgstr ""
1723
 
1724
- #: includes/class-mla-objects.php:77
1725
  msgid "New Att. Tag Name"
1726
  msgstr ""
1727
 
1728
- #: includes/class-mla-objects.php:133
1729
  msgid "Attachments"
1730
  msgstr ""
1731
 
1732
  #. translators: 1: ERROR tag 2: taxonomy 3: error message
1733
- #: includes/class-mla-objects.php:201
1734
  #, php-format
1735
  msgctxt "error_log"
1736
  msgid ""
1737
  "%1$s: mla_taxonomy_column_filter( \"%2$s\" ) - get_term failed: \"%3$s\""
1738
  msgstr ""
1739
 
1740
- #: includes/class-mla-objects.php:206
1741
  msgid "click to search"
1742
  msgstr ""
1743
 
1744
- #: includes/class-mla-objects.php:233
1745
  msgid "Shortcode(s), HTML and/or Plain Text"
1746
  msgstr ""
1747
 
1748
- #: includes/class-mla-objects.php:241
1749
  msgid "MLA Text"
1750
  msgstr ""
1751
 
1752
- #: includes/class-mla-objects.php:283
1753
  msgid "Automatically add paragraphs"
1754
  msgstr ""
1755
 
1756
- #: includes/class-mla-options.php:395
1757
  msgid "error loading tpls/mla-option-templates.tpl"
1758
  msgstr ""
1759
 
1760
- #: includes/class-mla-options.php:398
1761
  msgid "tpls/mla-option-templates.tpl not found"
1762
  msgstr ""
1763
 
1764
- #: includes/class-mla-options.php:451 includes/class-mla-options.php:1782
1765
  msgid "Attachment Categories"
1766
  msgstr ""
1767
 
1768
- #: includes/class-mla-options.php:454
1769
  msgid "Check this option to add support for Attachment Categories."
1770
  msgstr ""
1771
 
1772
- #: includes/class-mla-options.php:458 includes/class-mla-options.php:1797
1773
  msgid "Attachment Tags"
1774
  msgstr ""
1775
 
1776
- #: includes/class-mla-options.php:461
1777
  msgid "Check this option to add support for Attachment Tags."
1778
  msgstr ""
1779
 
1780
- #: includes/class-mla-options.php:465 includes/class-mla-settings.php:1358
1781
  msgid "Where-used Reporting"
1782
  msgstr ""
1783
 
1784
- #: includes/class-mla-options.php:470
1785
  msgid "Exclude Revisions"
1786
  msgstr ""
1787
 
1788
- #: includes/class-mla-options.php:473
1789
  msgid "Check this option to exclude revisions from where-used reporting."
1790
  msgstr ""
1791
 
1792
- #: includes/class-mla-options.php:477
1793
  msgid "Where-used database access tuning"
1794
  msgstr ""
1795
 
1796
- #: includes/class-mla-options.php:486 includes/class-mla-options.php:495
1797
  msgid "Enabled"
1798
  msgstr ""
1799
 
1800
- #: includes/class-mla-options.php:487
1801
  msgid "Search database posts and pages for Featured Image attachments."
1802
  msgstr ""
1803
 
1804
- #: includes/class-mla-options.php:495
1805
  msgid "Base"
1806
  msgstr ""
1807
 
1808
- #: includes/class-mla-options.php:496
1809
  msgid ""
1810
  "Search database posts and pages for attachments embedded in content."
1811
  "<br>&nbsp;&nbsp;Base = ignore intermediate size suffixes; use path, base "
1812
  "name and extension only."
1813
  msgstr ""
1814
 
1815
- #: includes/class-mla-options.php:504 includes/class-mla-options.php:513
1816
  msgid "Dynamic"
1817
  msgstr ""
1818
 
1819
- #: includes/class-mla-options.php:504 includes/class-mla-options.php:513
1820
  msgid "Cached"
1821
  msgstr ""
1822
 
1823
- #: includes/class-mla-options.php:505
1824
  msgid ""
1825
  "Search database posts and pages for [gallery] shortcode results.<br>&nbsp;"
1826
  "&nbsp;Dynamic = once every page load, Cached = once every login, Disabled = "
1827
  "never.<br>&nbsp;&nbsp;Refresh = update references, then set to Cached."
1828
  msgstr ""
1829
 
1830
- #: includes/class-mla-options.php:514
1831
  msgid ""
1832
  "Search database posts and pages for [mla_gallery] shortcode results."
1833
  "<br>&nbsp;&nbsp;Dynamic = once every page load, Cached = once every login, "
@@ -1835,110 +1241,86 @@ msgid ""
1835
  "Cached."
1836
  msgstr ""
1837
 
1838
- #: includes/class-mla-options.php:518 includes/class-mla-settings.php:1358
1839
  msgid "Taxonomy Support"
1840
  msgstr ""
1841
 
1842
- #: includes/class-mla-options.php:523
1843
  msgid "Compute Attachments Column"
1844
  msgstr ""
1845
 
1846
- #: includes/class-mla-options.php:526
1847
  msgid ""
1848
  "Check this option to calculate attachments per term in the Attachments "
1849
  "Column."
1850
  msgstr ""
1851
 
1852
- #: includes/class-mla-options.php:530
1853
  msgid ""
1854
  "Check the \"<strong>Support</strong>\" box to add the taxonomy to the "
1855
  "Assistant and the Edit Media screen."
1856
  msgstr ""
1857
 
1858
- #: includes/class-mla-options.php:531
1859
  msgid ""
1860
  "Check the \"<strong>Inline Edit</strong>\" box to display the taxonomy in "
1861
  "the Quick Edit and Bulk Edit areas."
1862
  msgstr ""
1863
 
1864
- #: includes/class-mla-options.php:532
1865
  msgid ""
1866
  "Check the \"<strong>Term Search</strong>\" box to add the taxonomy to the "
1867
  "\"Search Media/Terms\" list."
1868
  msgstr ""
1869
 
1870
- #: includes/class-mla-options.php:533 includes/class-mla-options.php:714
1871
- #: includes/class-mla-settings.php:1390 includes/class-mla-settings.php:1391
1872
  msgid "For complete documentation"
1873
  msgstr ""
1874
 
1875
- #: includes/class-mla-options.php:533 includes/class-mla-options.php:714
1876
- #: includes/class-mla-settings.php:1390 includes/class-mla-settings.php:1391
1877
  msgid "click here"
1878
  msgstr ""
1879
 
1880
- #: includes/class-mla-options.php:535
1881
  msgid ""
1882
  "Check the \"<strong>Checklist</strong>\" box to enable the checklist-style "
1883
  "meta box for a flat taxonomy."
1884
  msgstr ""
1885
 
1886
- #: includes/class-mla-options.php:536
1887
  msgid ""
1888
  "You must also check the <strong>\"Enable enhanced checklist taxonomies\"</"
1889
  "strong> box below to enable this feature."
1890
  msgstr ""
1891
 
1892
- #: includes/class-mla-options.php:537
1893
  msgid ""
1894
  "Check the \"<strong>Checked On Top</strong>\" box to moved checked terms to "
1895
  "the top of the checklist-style meta box."
1896
  msgstr ""
1897
 
1898
- #: includes/class-mla-options.php:538
1899
  msgid ""
1900
  "Use the \"<strong>List Filter</strong>\" option to select the taxonomy on "
1901
  "which to filter the Assistant table listing."
1902
  msgstr ""
1903
 
1904
- #: includes/class-mla-options.php:564
1905
  msgid "Media/Assistant Screen Options"
1906
  msgstr ""
1907
 
1908
- #: includes/class-mla-options.php:569
1909
  msgid "Admin Menu Options"
1910
  msgstr ""
1911
 
1912
- #: includes/class-mla-options.php:574
1913
  msgid "Page Title"
1914
  msgstr ""
1915
 
1916
- #: includes/class-mla-options.php:576 includes/class-mla-settings.php:466
1917
- #: includes/class-mla-settings.php:3198 includes/class-mla-settings.php:3220
1918
  msgid "Media Library Assistant"
1919
  msgstr ""
1920
 
1921
- #: includes/class-mla-options.php:578
1922
  msgid "Enter the title for the Media/Assistant submenu page"
1923
  msgstr ""
1924
 
1925
- #: includes/class-mla-options.php:582
1926
  msgid "Menu Title"
1927
  msgstr ""
1928
 
1929
- #: includes/class-mla-options.php:584
1930
  msgid "Assistant"
1931
  msgstr ""
1932
 
1933
- #: includes/class-mla-options.php:586
1934
  msgid "Enter the title for the Media/Assistant submenu entry"
1935
  msgstr ""
1936
 
1937
- #: includes/class-mla-options.php:590
1938
  msgid "Submenu Order"
1939
  msgstr ""
1940
 
1941
- #: includes/class-mla-options.php:594
1942
  msgid ""
1943
  "Enter the position of the Media/Assistant submenu entry.<br>&nbsp;&nbsp;0 = "
1944
  "natural order (at bottom),&nbsp;&nbsp;&nbsp;&nbsp;1 - 4 = at top<br>&nbsp;"
@@ -1946,245 +1328,199 @@ msgid ""
1946
  "\""
1947
  msgstr ""
1948
 
1949
- #: includes/class-mla-options.php:598
1950
  msgid "Display Media/Library"
1951
  msgstr ""
1952
 
1953
- #: includes/class-mla-options.php:601
1954
  msgid ""
1955
  "Check/uncheck this option to display/remove the WordPress Media/Library "
1956
  "submenu entry."
1957
  msgstr ""
1958
 
1959
- #: includes/class-mla-options.php:605
1960
  msgid "Table Defaults"
1961
  msgstr ""
1962
 
1963
- #: includes/class-mla-options.php:610
1964
  msgid "Order By"
1965
  msgstr ""
1966
 
1967
- #: includes/class-mla-options.php:614 includes/class-mla-options.php:816
1968
  msgid "Title/Name"
1969
  msgstr ""
1970
 
1971
- #: includes/class-mla-options.php:615
1972
  msgid "Select the column for the sort order of the Assistant table listing."
1973
  msgstr ""
1974
 
1975
- #: includes/class-mla-options.php:619
1976
  msgid "Order"
1977
  msgstr ""
1978
 
1979
- #: includes/class-mla-options.php:623
1980
  msgid "Ascending"
1981
  msgstr ""
1982
 
1983
- #: includes/class-mla-options.php:623
1984
  msgid "Descending"
1985
  msgstr ""
1986
 
1987
- #: includes/class-mla-options.php:624 includes/class-mla-options.php:826
1988
  msgid "Choose the sort order."
1989
  msgstr ""
1990
 
1991
- #: includes/class-mla-options.php:628
1992
  msgid "Views Width"
1993
  msgstr ""
1994
 
1995
- #: includes/class-mla-options.php:632
1996
  msgid "Enter the width for the views list, in pixels (px) or percent (%)"
1997
  msgstr ""
1998
 
1999
- #: includes/class-mla-options.php:636
2000
  msgid "Icon Size"
2001
  msgstr ""
2002
 
2003
- #: includes/class-mla-options.php:640
2004
  msgid "Enter the size of the thumbnail/icon images, in pixels"
2005
  msgstr ""
2006
 
2007
- #: includes/class-mla-options.php:644
2008
  msgid "Bulk Chunk Size"
2009
  msgstr ""
2010
 
2011
- #: includes/class-mla-options.php:648
2012
  msgid "Enter the size of the Bulk Edit and Map All processing chunks"
2013
  msgstr ""
2014
 
2015
- #: includes/class-mla-options.php:652
2016
  msgid "Taxonomy Filter parameters"
2017
  msgstr ""
2018
 
2019
- #: includes/class-mla-options.php:657
2020
  msgid "Maximum Depth"
2021
  msgstr ""
2022
 
2023
- #: includes/class-mla-options.php:661
2024
  msgid ""
2025
  "Enter the number of levels displayed for hierarchial taxonomies; enter zero "
2026
  "for no limit."
2027
  msgstr ""
2028
 
2029
- #: includes/class-mla-options.php:665
2030
  msgid "Include Children"
2031
  msgstr ""
2032
 
2033
- #: includes/class-mla-options.php:668
2034
  msgid ""
2035
  "Check/uncheck this option to include/exclude children for hierarchical "
2036
  "taxonomies."
2037
  msgstr ""
2038
 
2039
- #: includes/class-mla-options.php:672
2040
  msgid "Search Media Defaults"
2041
  msgstr ""
2042
 
2043
- #: includes/class-mla-options.php:677
2044
  msgid "Display Search Controls"
2045
  msgstr ""
2046
 
2047
- #: includes/class-mla-options.php:680 includes/class-mla-options.php:787
2048
  msgid ""
2049
  "Check/uncheck this option to display/hide the and/or connector and search "
2050
  "fields controls."
2051
  msgstr ""
2052
 
2053
- #: includes/class-mla-options.php:684
2054
  msgid ""
2055
  "Use these controls to set defaults for the and/or connector and search "
2056
  "fields controls.<br>These defaults will be used for the Search Media boxes "
2057
  "on both the Media/Assistant submenu<br>and the Media Manager Modal Window."
2058
  msgstr ""
2059
 
2060
- #: includes/class-mla-options.php:697
2061
  msgid "Media/Edit Media Enhancements"
2062
  msgstr ""
2063
 
2064
- #: includes/class-mla-options.php:702
2065
  msgid "Enable &quot;enhanced checklist&quot; taxonomies"
2066
  msgstr ""
2067
 
2068
- #: includes/class-mla-options.php:705
2069
  msgid ""
2070
  "Check this option to enable the \"? Search\" feature for hierarchical "
2071
  "taxonomies, e.g., Att. Categories.<br>&nbsp;&nbsp;This option also enables "
2072
  "the \"checklist-style\" support for flat taxonomies, e.g., Att. Tags."
2073
  msgstr ""
2074
 
2075
- #: includes/class-mla-options.php:709
2076
  msgid "Enable Edit Media additional meta boxes"
2077
  msgstr ""
2078
 
2079
- #: includes/class-mla-options.php:712
2080
  msgid ""
2081
  "Check this option to add \"Parent Info\", \"Menu Order\", \"Attachment "
2082
  "Metadata\" and four \"where-used\" meta boxes to the Edit Media screen."
2083
  msgstr ""
2084
 
2085
- #: includes/class-mla-options.php:713
2086
  msgid "You can also use Filters to customize the meta boxes."
2087
  msgstr ""
2088
 
2089
- #: includes/class-mla-options.php:718
2090
  msgid "Media/Add New Enhancements"
2091
  msgstr ""
2092
 
2093
- #: includes/class-mla-options.php:723
2094
  msgid "Enable &quot;bulk edit&quot; area"
2095
  msgstr ""
2096
 
2097
- #: includes/class-mla-options.php:726
2098
  msgid ""
2099
  "Check this option to enable the \"Bulk Edit area\" feature on the Media/Add "
2100
  "New screen."
2101
  msgstr ""
2102
 
2103
- #: includes/class-mla-options.php:730
 
 
 
 
 
 
 
2104
  msgid "Media Manager/Media Grid Enhancements"
2105
  msgstr ""
2106
 
2107
- #: includes/class-mla-options.php:735
2108
  msgid "Enable Media Grid Enhancements"
2109
  msgstr ""
2110
 
2111
- #: includes/class-mla-options.php:738
2112
  msgid ""
2113
  "Check/uncheck this option to enable/disable Media Library Grid View "
2114
  "Enhancements."
2115
  msgstr ""
2116
 
2117
- #: includes/class-mla-options.php:742
2118
  msgid "Enable Media Manager Enhancements"
2119
  msgstr ""
2120
 
2121
- #: includes/class-mla-options.php:745
2122
  msgid ""
2123
  "Check/uncheck this option to enable/disable Media Manager Modal Window "
2124
  "Enhancements."
2125
  msgstr ""
2126
 
2127
- #: includes/class-mla-options.php:749
2128
  msgid "Media Manager Enhanced MIME Type filter"
2129
  msgstr ""
2130
 
2131
- #: includes/class-mla-options.php:752
2132
  msgid ""
2133
  "Check this option to filter by more MIME Types, e.g., text, applications."
2134
  msgstr ""
2135
 
2136
- #: includes/class-mla-options.php:756
2137
  msgid "Media Manager Month and Year filter"
2138
  msgstr ""
2139
 
2140
- #: includes/class-mla-options.php:759
2141
  msgid "Check this option to filter by month and year uploaded."
2142
  msgstr ""
2143
 
2144
- #: includes/class-mla-options.php:763
2145
  msgid "Media Manager Category/Tag filter"
2146
  msgstr ""
2147
 
2148
- #: includes/class-mla-options.php:766
2149
  msgid "Check this option to filter by taxonomy terms."
2150
  msgstr ""
2151
 
2152
- #: includes/class-mla-options.php:770
2153
  msgid "Media Manager Terms Search popup"
2154
  msgstr ""
2155
 
2156
- #: includes/class-mla-options.php:773
2157
  msgid "Check this option to enable the \"Terms Search\" popup window."
2158
  msgstr ""
2159
 
2160
- #: includes/class-mla-options.php:777
2161
  msgid "Media Manager Enhanced Search Media box"
2162
  msgstr ""
2163
 
2164
- #: includes/class-mla-options.php:780
2165
  msgid "Check this option to enable search box enhancements."
2166
  msgstr ""
2167
 
2168
- #: includes/class-mla-options.php:784
2169
  msgid "Media Manager Enhanced Search Media Controls"
2170
  msgstr ""
2171
 
2172
- #: includes/class-mla-options.php:791
2173
  msgid "Media Manager Checklist meta boxes"
2174
  msgstr ""
2175
 
2176
- #: includes/class-mla-options.php:794
2177
  msgid ""
2178
  "Check this option to enable MLA-enhanced meta boxes in the \"ATTACHMENT "
2179
  "DETAILS\" pane.<br>&nbsp;&nbsp;This option is for any taxonomy that uses a "
2180
  "<strong>\"checklist-style\"</strong> meta box."
2181
  msgstr ""
2182
 
2183
- #: includes/class-mla-options.php:798
2184
  msgid "Media Manager Flat meta boxes"
2185
  msgstr ""
2186
 
2187
- #: includes/class-mla-options.php:801
2188
  msgid ""
2189
  "Check this option to enable MLA-enhanced meta boxes in the \"ATTACHMENT "
2190
  "DETAILS\" pane.<br>&nbsp;&nbsp;This option is for <strong>flat taxonomies</"
@@ -2192,158 +1528,113 @@ msgid ""
2192
  "style\" meta box."
2193
  msgstr ""
2194
 
2195
- #: includes/class-mla-options.php:805
2196
  msgid "Media Manager auto-fill meta boxes"
2197
  msgstr ""
2198
 
2199
- #: includes/class-mla-options.php:808
2200
  msgid ""
2201
  "Check this option to automatically fill MLA-enhanced meta boxes in the "
2202
  "\"ATTACHMENT DETAILS\" pane<br>&nbsp;&nbsp;when the item is selected."
2203
  msgstr ""
2204
 
2205
- #: includes/class-mla-options.php:812
2206
  msgid "Media Manager Order By"
2207
  msgstr ""
2208
 
2209
- #: includes/class-mla-options.php:816 includes/class-mla-options.php:825
2210
- #: includes/class-mla-options.php:840 includes/class-mla-options.php:854
2211
- #: includes/class-mla-options.php:868 includes/class-mla-settings.php:1440
2212
  msgid "Media Manager Default"
2213
  msgstr ""
2214
 
2215
- #: includes/class-mla-options.php:817
2216
  msgid ""
2217
  "If you want to override the Media Manager default,<br>&nbsp;&nbsp;select a "
2218
  "column for the sort order of the Media Library listing."
2219
  msgstr ""
2220
 
2221
- #: includes/class-mla-options.php:821
2222
  msgid "Media Manager Order"
2223
  msgstr ""
2224
 
2225
- #: includes/class-mla-options.php:830
2226
  msgid "Attachment Display Settings"
2227
  msgstr ""
2228
 
2229
- #: includes/class-mla-options.php:835 includes/class-mla-options.php:837
2230
  msgid "Alignment"
2231
  msgstr ""
2232
 
2233
  #. translators: 1: option name, e.g., Alignment, Link To or Size
2234
- #: includes/class-mla-options.php:837 includes/class-mla-options.php:851
2235
- #: includes/class-mla-options.php:865
2236
  #, php-format
2237
  msgid ""
2238
  "Select a value for the default %1$s option in the Attachment Display "
2239
  "Settings."
2240
  msgstr ""
2241
 
2242
- #: includes/class-mla-options.php:840
2243
  msgid "Left"
2244
  msgstr ""
2245
 
2246
- #: includes/class-mla-options.php:840
2247
  msgid "Center"
2248
  msgstr ""
2249
 
2250
- #: includes/class-mla-options.php:840
2251
  msgid "Right"
2252
  msgstr ""
2253
 
2254
- #: includes/class-mla-options.php:849 includes/class-mla-options.php:851
2255
  msgid "Link To"
2256
  msgstr ""
2257
 
2258
- #: includes/class-mla-options.php:854
2259
  msgid "Media File"
2260
  msgstr ""
2261
 
2262
- #: includes/class-mla-options.php:854
2263
  msgid "Attachment Page"
2264
  msgstr ""
2265
 
2266
- #: includes/class-mla-options.php:854
2267
  msgid "Custom URL"
2268
  msgstr ""
2269
 
2270
- #: includes/class-mla-options.php:863 includes/class-mla-options.php:865
2271
  msgid "Size"
2272
  msgstr ""
2273
 
2274
- #: includes/class-mla-options.php:868
2275
- #: includes/class-mla-thumbnail-generation.php:389
2276
- #: includes/class-mla-thumbnail-generation.php:436
2277
  msgid "Thumbnail"
2278
  msgstr ""
2279
 
2280
- #: includes/class-mla-options.php:868
2281
  msgid "Medium"
2282
  msgstr ""
2283
 
2284
- #: includes/class-mla-options.php:868
2285
  msgid "Large"
2286
  msgstr ""
2287
 
2288
- #: includes/class-mla-options.php:868
2289
  msgid "Full Size"
2290
  msgstr ""
2291
 
2292
- #: includes/class-mla-options.php:877
2293
  msgid "Default [mla_gallery] Templates and Settings"
2294
  msgstr ""
2295
 
2296
- #: includes/class-mla-options.php:882 includes/class-mla-options.php:888
2297
- #: includes/class-mla-options.php:926 includes/class-mla-options.php:932
2298
- #: includes/class-mla-settings.php:3328 includes/class-mla-settings.php:3339
2299
- #: includes/class-mla-settings.php:3345 includes/class-mla-settings.php:3349
2300
- #: includes/class-mla-settings.php:3377 includes/class-mla-settings.php:3388
2301
  msgid "Style Template"
2302
  msgstr ""
2303
 
2304
  #. translators: 1: template type 2: shortcode
2305
- #: includes/class-mla-options.php:888 includes/class-mla-options.php:898
2306
- #: includes/class-mla-options.php:932 includes/class-mla-options.php:942
2307
  #, php-format
2308
  msgid "Select the default %1$s for your %2$s shortcodes."
2309
  msgstr ""
2310
 
2311
- #: includes/class-mla-options.php:892 includes/class-mla-options.php:936
2312
  msgid "Markup Template"
2313
  msgstr ""
2314
 
2315
- #: includes/class-mla-options.php:898 includes/class-mla-options.php:942
2316
- #: includes/class-mla-settings.php:3417 includes/class-mla-settings.php:3430
2317
- #: includes/class-mla-settings.php:3436 includes/class-mla-settings.php:3440
2318
- #: includes/class-mla-settings.php:3509
2319
  msgid "markup template"
2320
  msgstr ""
2321
 
2322
- #: includes/class-mla-options.php:902 includes/class-mla-options.php:946
2323
  msgid "Default columns"
2324
  msgstr ""
2325
 
2326
- #: includes/class-mla-options.php:906
2327
  msgid ""
2328
  "Enter the number of [mla_tag_cloud] columns; must be a positive integer."
2329
  msgstr ""
2330
 
2331
- #: includes/class-mla-options.php:910 includes/class-mla-options.php:954
2332
  msgid "Default mla_margin"
2333
  msgstr ""
2334
 
2335
- #: includes/class-mla-options.php:914 includes/class-mla-options.php:958
2336
  msgid ""
2337
  "Enter the CSS \"margin\" property value, in length (px, em, pt, etc.), "
2338
  "percent (%), \"auto\" or \"inherit\".<br>&nbsp;&nbsp;Enter \"none\" to "
2339
  "remove the property entirely."
2340
  msgstr ""
2341
 
2342
- #: includes/class-mla-options.php:918 includes/class-mla-options.php:962
2343
  msgid "Default mla_itemwidth"
2344
  msgstr ""
2345
 
2346
- #: includes/class-mla-options.php:922 includes/class-mla-options.php:966
2347
  msgid ""
2348
  "Enter the CSS \"width\" property value, in length (px, em, pt, etc.), "
2349
  "percent (%), \"auto\" or \"inherit\".<br>&nbsp;&nbsp;Enter \"calculate"
@@ -2353,19 +1644,15 @@ msgid ""
2353
  "the property entirely."
2354
  msgstr ""
2355
 
2356
- #: includes/class-mla-options.php:950
2357
  msgid "Enter the number of [mla_gallery] columns; must be a positive integer."
2358
  msgstr ""
2359
 
2360
- #: includes/class-mla-options.php:970
2361
  msgid "Thumbnail Substitution Support, mla_viewer"
2362
  msgstr ""
2363
 
2364
- #: includes/class-mla-options.php:975
2365
  msgid "Enable thumbnail substitution"
2366
  msgstr ""
2367
 
2368
- #: includes/class-mla-options.php:978
2369
  msgid ""
2370
  "Check this option to allow the \"mla_viewer\" to generate thumbnail images "
2371
  "for PDF documents. Thumbnails are generated dynamically, each time the item "
@@ -2374,32 +1661,26 @@ msgid ""
2374
  "strong>"
2375
  msgstr ""
2376
 
2377
- #: includes/class-mla-options.php:982
2378
  msgid "Enable Featured Images"
2379
  msgstr ""
2380
 
2381
- #: includes/class-mla-options.php:985
2382
  msgid ""
2383
  "Check this option to extend Featured Image support to all Media Library "
2384
  "items. The Featured Image can be used as a thumbnail image for the item in "
2385
  "an [mla_gallery] display."
2386
  msgstr ""
2387
 
2388
- #: includes/class-mla-options.php:989
2389
  msgid "Enable Featured Image Generation"
2390
  msgstr ""
2391
 
2392
- #: includes/class-mla-options.php:992
2393
  msgid ""
2394
  "Check this option to enable the \"Thumbnail\" generation action in the Media/"
2395
  "Assistant submenu Bulk Actions dropdown."
2396
  msgstr ""
2397
 
2398
- #: includes/class-mla-options.php:996
2399
  msgid "Enable explicit Ghostscript check"
2400
  msgstr ""
2401
 
2402
- #: includes/class-mla-options.php:999
2403
  msgid ""
2404
  "Check this option to enable the explicit check for Ghostscript support "
2405
  "required for thumbnail generation. If your Ghostscript software is in a non-"
@@ -2408,22 +1689,18 @@ msgid ""
2408
  "leave this option checked unless you know it is safe to turn it off."
2409
  msgstr ""
2410
 
2411
- #: includes/class-mla-options.php:1003
2412
  msgid "Ghostscript path"
2413
  msgstr ""
2414
 
2415
- #: includes/class-mla-options.php:1007
2416
  msgid ""
2417
  "If your &ldquo;gs&rdquo; executable is in a non-standard location, enter the "
2418
  "full path and filename here, e.g., &ldquo;/usr/bin/gs&rdquo;. It will "
2419
  "override the search for Ghostscript in other places."
2420
  msgstr ""
2421
 
2422
- #: includes/class-mla-options.php:1027
2423
  msgid "Enable custom field mapping when adding new media"
2424
  msgstr ""
2425
 
2426
- #: includes/class-mla-options.php:1030
2427
  msgid ""
2428
  "Check this option to enable mapping when uploading new media (attachments)."
2429
  "<br>&nbsp;&nbsp;Click Save Changes at the bottom of the screen if you change "
@@ -2431,18 +1708,15 @@ msgid ""
2431
  "buttons on the bulk edit, single edit and settings screens."
2432
  msgstr ""
2433
 
2434
- #: includes/class-mla-options.php:1034
2435
  msgid "Enable custom field mapping when updating media metadata"
2436
  msgstr ""
2437
 
2438
- #: includes/class-mla-options.php:1037 includes/class-mla-options.php:1061
2439
  msgid ""
2440
  "Check this option to enable mapping when media (attachments) metadata is "
2441
  "regenerated,<br>&nbsp;&nbsp;e.g., when the Media/Edit Media \"Edit Image\" "
2442
  "functions are used."
2443
  msgstr ""
2444
 
2445
- #: includes/class-mla-options.php:1041
2446
  msgid ""
2447
  "Update the custom field mapping values above, then click Save Changes to "
2448
  "make the updates permanent.<br>You can also make temporary updates and click "
@@ -2450,22 +1724,18 @@ msgid ""
2450
  "saving any rule changes."
2451
  msgstr ""
2452
 
2453
- #: includes/class-mla-options.php:1051
2454
  msgid "Enable IPTC/EXIF Mapping when adding new media"
2455
  msgstr ""
2456
 
2457
- #: includes/class-mla-options.php:1054
2458
  msgid ""
2459
  "Check this option to enable mapping when uploading new media (attachments)."
2460
  "<br>&nbsp;&nbsp;Does NOT affect the operation of the \"Map\" buttons on the "
2461
  "bulk edit, single edit and settings screens."
2462
  msgstr ""
2463
 
2464
- #: includes/class-mla-options.php:1058
2465
  msgid "Enable IPTC/EXIF Mapping when updating media metadata"
2466
  msgstr ""
2467
 
2468
- #: includes/class-mla-options.php:1065
2469
  msgid ""
2470
  "Update the standard field mapping values above, then click <strong>Save "
2471
  "Changes</strong> to make the updates permanent.<br>You can also make "
@@ -2474,13 +1744,11 @@ msgid ""
2474
  "changes."
2475
  msgstr ""
2476
 
2477
- #: includes/class-mla-options.php:1075
2478
  msgid ""
2479
  "Update the taxonomy term mapping values above, then click <strong>Save "
2480
  "Changes</strong> or <strong>Map All Attachments, Taxonomy Terms Now</strong>."
2481
  msgstr ""
2482
 
2483
- #: includes/class-mla-options.php:1085
2484
  msgid ""
2485
  "<strong>Update</strong> individual custom field mapping values above, or "
2486
  "make several updates and click <strong>Save Changes</strong> below to apply "
@@ -2491,808 +1759,562 @@ msgid ""
2491
  "changes."
2492
  msgstr ""
2493
 
2494
- #: includes/class-mla-options.php:1095
2495
  msgid "IPTC/EXIF Mapping help"
2496
  msgstr ""
2497
 
2498
- #: includes/class-mla-options.php:1147
2499
  msgid "Enable View and Post MIME Type Support"
2500
  msgstr ""
2501
 
2502
- #: includes/class-mla-options.php:1150
2503
  msgid ""
2504
  "Check/uncheck this option to enable/disable Post MIME Type Support, then "
2505
  "click <strong>Save Changes</strong> to record the new setting."
2506
  msgstr ""
2507
 
2508
- #: includes/class-mla-options.php:1159
2509
  msgid "Post MIME Types help."
2510
  msgstr ""
2511
 
2512
- #: includes/class-mla-options.php:1168 includes/class-mla-options.php:1222
2513
- #: includes/class-mla-options.php:1231 includes/class-mla-options.php:1240
2514
  msgctxt "post_mime_types_description"
2515
  msgid "Built-in view"
2516
  msgstr ""
2517
 
2518
- #: includes/class-mla-options.php:1171
2519
  msgctxt "table_view_singular"
2520
  msgid "Image"
2521
  msgstr ""
2522
 
2523
- #: includes/class-mla-options.php:1172
2524
  msgctxt "table_view_plural"
2525
  msgid "Images"
2526
  msgstr ""
2527
 
2528
- #: includes/class-mla-options.php:1177
2529
  msgctxt "post_mime_types_description"
2530
  msgid "All image subtypes"
2531
  msgstr ""
2532
 
2533
- #: includes/class-mla-options.php:1180
2534
  msgctxt "table_view_singular"
2535
  msgid "Audio"
2536
  msgstr ""
2537
 
2538
- #: includes/class-mla-options.php:1181
2539
  msgctxt "table_view_plural"
2540
  msgid "Audio"
2541
  msgstr ""
2542
 
2543
- #: includes/class-mla-options.php:1186
2544
  msgctxt "post_mime_types_description"
2545
  msgid "All audio subtypes"
2546
  msgstr ""
2547
 
2548
- #: includes/class-mla-options.php:1189
2549
  msgctxt "table_view_singular"
2550
  msgid "Video"
2551
  msgstr ""
2552
 
2553
- #: includes/class-mla-options.php:1190
2554
  msgctxt "table_view_plural"
2555
  msgid "Video"
2556
  msgstr ""
2557
 
2558
- #: includes/class-mla-options.php:1195
2559
  msgctxt "post_mime_types_description"
2560
  msgid "All video subtypes"
2561
  msgstr ""
2562
 
2563
- #: includes/class-mla-options.php:1198
2564
  msgctxt "table_view_singular"
2565
  msgid "Text"
2566
  msgstr ""
2567
 
2568
- #: includes/class-mla-options.php:1199
2569
  msgctxt "table_view_plural"
2570
  msgid "Text"
2571
  msgstr ""
2572
 
2573
- #: includes/class-mla-options.php:1204
2574
  msgctxt "post_mime_types_description"
2575
  msgid "All text subtypes"
2576
  msgstr ""
2577
 
2578
- #: includes/class-mla-options.php:1207
2579
  msgctxt "table_view_singular"
2580
  msgid "Application"
2581
  msgstr ""
2582
 
2583
- #: includes/class-mla-options.php:1208
2584
  msgctxt "table_view_plural"
2585
  msgid "Applications"
2586
  msgstr ""
2587
 
2588
- #: includes/class-mla-options.php:1213
2589
  msgctxt "post_mime_types_description"
2590
  msgid "All application subtypes"
2591
  msgstr ""
2592
 
2593
- #: includes/class-mla-options.php:1217
2594
  msgctxt "table_view_plural"
2595
  msgid "Unattached"
2596
  msgstr ""
2597
 
2598
- #: includes/class-mla-options.php:1225
2599
  msgctxt "table_view_singular"
2600
  msgid "Attached"
2601
  msgstr ""
2602
 
2603
- #: includes/class-mla-options.php:1226
2604
  msgctxt "table_view_plural"
2605
  msgid "Attached"
2606
  msgstr ""
2607
 
2608
- #: includes/class-mla-options.php:1234
2609
  msgctxt "table_view_singular"
2610
  msgid "Trash"
2611
  msgstr ""
2612
 
2613
- #: includes/class-mla-options.php:1235
2614
  msgctxt "table_view_plural"
2615
  msgid "Trash"
2616
  msgstr ""
2617
 
2618
- #: includes/class-mla-options.php:1246
2619
  msgid "Enable Upload MIME Type Support"
2620
  msgstr ""
2621
 
2622
- #: includes/class-mla-options.php:1249
2623
  msgid ""
2624
  "Check/uncheck this option to enable/disable Upload MIME Type Support, then "
2625
  "click <strong>Save Changes</strong> to record the new setting."
2626
  msgstr ""
2627
 
2628
- #: includes/class-mla-options.php:1258
2629
  msgid "Upload MIME Types help."
2630
  msgstr ""
2631
 
2632
- #: includes/class-mla-options.php:1263
2633
  msgid "Enable MLA File Type Icons Support"
2634
  msgstr ""
2635
 
2636
- #: includes/class-mla-options.php:1266
2637
  msgid ""
2638
  "Check/uncheck this option to enable/disable MLA File Type Icons Support, "
2639
  "then click <strong>Save Changes</strong> to record the new setting."
2640
  msgstr ""
2641
 
2642
- #: includes/class-mla-options.php:1270
2643
  msgid "Display Limit"
2644
  msgstr ""
2645
 
2646
- #: includes/class-mla-options.php:1274
2647
  msgid ""
2648
  "Enter the maximum number of debug log characters to display; enter zero or "
2649
  "leave blank for no limit."
2650
  msgstr ""
2651
 
2652
- #: includes/class-mla-options.php:1278
2653
  msgid "Debug File"
2654
  msgstr ""
2655
 
2656
- #: includes/class-mla-options.php:1282
2657
  msgid ""
2658
  "Enter the name of an alternate, MLA-specific debug log file; leave blank to "
2659
  "use the PHP error_log."
2660
  msgstr ""
2661
 
2662
- #: includes/class-mla-options.php:1334 includes/class-mla-options.php:1356
2663
- #: includes/class-mla-options.php:1398
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2664
  msgid "no templates exist"
2665
  msgstr ""
2666
 
2667
- #: includes/class-mla-options.php:1342
2668
  msgid "not found"
2669
  msgstr ""
2670
 
2671
  #. translators: 1: ERROR tag 2: option name 3: action, e.g., update, delete, reset
2672
- #: includes/class-mla-options.php:1748 includes/class-mla-options.php:1925
2673
- #: includes/class-mla-options.php:2001 includes/class-mla-options.php:3789
2674
- #: includes/class-mla-options.php:5239
2675
  #, php-format
2676
  msgid "%1$s: Custom %2$s unknown action \"%3$s\""
2677
  msgstr ""
2678
 
2679
- #: includes/class-mla-options.php:1839
2680
  msgid "Support"
2681
  msgstr ""
2682
 
2683
- #: includes/class-mla-options.php:1840
2684
  msgid "Inline Edit"
2685
  msgstr ""
2686
 
2687
- #: includes/class-mla-options.php:1841
2688
  msgid "Term Search"
2689
  msgstr ""
2690
 
2691
- #: includes/class-mla-options.php:1842
2692
  msgid "Checklist"
2693
  msgstr ""
2694
 
2695
- #: includes/class-mla-options.php:1843
2696
  msgid "Checked On Top"
2697
  msgstr ""
2698
 
2699
- #: includes/class-mla-options.php:1844
2700
  msgid "List Filter"
2701
  msgstr ""
2702
 
2703
- #: includes/class-mla-options.php:1845
2704
  msgid "Taxonomy"
2705
  msgstr ""
2706
 
2707
  #. translators: 1: taxonomy name
2708
- #: includes/class-mla-options.php:1864
2709
  #, php-format
2710
  msgid "List Filter ignored; %1$s not supported."
2711
  msgstr ""
2712
 
2713
  #. translators: 1: taxonomy name
2714
- #: includes/class-mla-options.php:1871
2715
  #, php-format
2716
  msgid "Inline Edit ignored; %1$s not supported."
2717
  msgstr ""
2718
 
2719
  #. translators: 1: taxonomy name
2720
- #: includes/class-mla-options.php:1879
2721
  #, php-format
2722
  msgid "Term Search ignored; %1$s not supported."
2723
  msgstr ""
2724
 
2725
  #. translators: 1: taxonomy name
2726
- #: includes/class-mla-options.php:1889
2727
  #, php-format
2728
  msgid "Checklist ignored; %1$s not supported."
2729
  msgstr ""
2730
 
2731
  #. translators: 1: taxonomy name
2732
- #: includes/class-mla-options.php:1897
2733
  #, php-format
2734
  msgid "Checked On Top ignored; %1$s not supported."
2735
  msgstr ""
2736
 
2737
  #. translators: 1: option name, e.g., taxonomy_support
2738
- #: includes/class-mla-options.php:1915 includes/class-mla-options.php:1991
2739
  #, php-format
2740
  msgid "Update custom %1$s"
2741
  msgstr ""
2742
 
2743
  #. translators: 1: option name, e.g., taxonomy_support
2744
- #: includes/class-mla-options.php:1922 includes/class-mla-options.php:1998
2745
- #: includes/class-mla-options.php:5232
2746
  #, php-format
2747
  msgid "Reset custom %1$s"
2748
  msgstr ""
2749
 
2750
- #: includes/class-mla-options.php:1951
2751
- #: includes/mla-main-search-box-template.php:46
2752
- #: includes/mla-media-modal-js-template.php:31
2753
  msgid "and"
2754
  msgstr ""
2755
 
2756
- #: includes/class-mla-options.php:1953
2757
- #: includes/mla-main-search-box-template.php:48
2758
- #: includes/mla-media-modal-js-template.php:35
2759
  msgid "or"
2760
  msgstr ""
2761
 
2762
- #: includes/class-mla-options.php:1958 includes/class-mla-settings.php:2407
2763
- #: includes/class-mla-settings.php:2440 includes/class-mla-settings.php:2466
2764
- #: includes/class-mla-settings.php:2501 includes/class-mla-settings.php:2558
2765
- #: includes/class-mla-settings.php:2608
2766
- #: includes/mla-main-search-box-template.php:51
2767
- #: includes/mla-media-modal-js-template.php:43
2768
  msgid "Name"
2769
  msgstr ""
2770
 
2771
- #: includes/class-mla-options.php:1970
2772
- #: includes/mla-main-search-box-template.php:55
2773
- #: includes/mla-media-modal-js-template.php:61
2774
  msgid "Terms"
2775
  msgstr ""
2776
 
2777
- #: includes/class-mla-options.php:3124 includes/class-mla-options.php:3253
2778
- #: includes/class-mla-options.php:4265 includes/class-mla-options.php:4296
2779
- #: includes/class-mla-settings.php:1838
2780
  msgid "None (select a value)"
2781
  msgstr ""
2782
 
2783
- #: includes/class-mla-options.php:3260
2784
  msgid "Metadata (see below)"
2785
  msgstr ""
2786
 
2787
- #: includes/class-mla-options.php:3267
2788
  msgid "Template (see below)"
2789
  msgstr ""
2790
 
2791
  #. translators: 1: ERROR tag 2: custom field name
2792
- #: includes/class-mla-options.php:3335 includes/class-mla-options.php:4573
2793
  #, php-format
2794
  msgid "%1$s: New field %2$s already exists."
2795
  msgstr ""
2796
 
2797
  #. translators: 1: custom field name
2798
- #: includes/class-mla-options.php:3340 includes/class-mla-options.php:4578
2799
  #, php-format
2800
  msgid "Adding new field %1$s."
2801
  msgstr ""
2802
 
2803
  #. translators: 1: custom field name
2804
- #: includes/class-mla-options.php:3348 includes/class-mla-options.php:4586
2805
  #, php-format
2806
  msgid "Adding new rule for %1$s."
2807
  msgstr ""
2808
 
2809
  #. translators: 1: custom field name
2810
- #: includes/class-mla-options.php:3374 includes/class-mla-options.php:4447
2811
- #: includes/class-mla-options.php:4612
2812
  #, php-format
2813
  msgid "Deleting rule for %1$s."
2814
  msgstr ""
2815
 
2816
  #. translators: 1: custom field name 2: attribute 3: old value 4: new value
2817
- #: includes/class-mla-options.php:3397 includes/class-mla-options.php:3418
2818
- #: includes/class-mla-options.php:3468 includes/class-mla-options.php:3475
2819
- #: includes/class-mla-options.php:4363 includes/class-mla-options.php:4370
2820
- #: includes/class-mla-options.php:4377 includes/class-mla-options.php:4472
2821
- #: includes/class-mla-options.php:4479 includes/class-mla-options.php:4514
2822
- #: includes/class-mla-options.php:4521 includes/class-mla-options.php:4622
2823
- #: includes/class-mla-options.php:4629 includes/class-mla-options.php:4664
2824
- #: includes/class-mla-options.php:4671
2825
  #, php-format
2826
  msgid "%1$s changing %2$s from %3$s to %4$s."
2827
  msgstr ""
2828
 
2829
- #: includes/class-mla-options.php:3397 includes/class-mla-options.php:3746
2830
  msgid "Data Source"
2831
  msgstr ""
2832
 
2833
- #: includes/class-mla-options.php:3403 includes/class-mla-options.php:4397
2834
- #: includes/class-mla-options.php:4499 includes/class-mla-options.php:4649
2835
  msgid "Replace to Keep"
2836
  msgstr ""
2837
 
2838
- #: includes/class-mla-options.php:3406 includes/class-mla-options.php:4400
2839
- #: includes/class-mla-options.php:4502 includes/class-mla-options.php:4652
2840
  msgid "Keep to Replace"
2841
  msgstr ""
2842
 
2843
  #. translators: 1: custom field name 2: attribute 3: old value 'to' new value
2844
- #: includes/class-mla-options.php:3411 includes/class-mla-options.php:3432
2845
- #: includes/class-mla-options.php:3446 includes/class-mla-options.php:3460
2846
- #: includes/class-mla-options.php:3489 includes/class-mla-options.php:4391
2847
- #: includes/class-mla-options.php:4405 includes/class-mla-options.php:4493
2848
- #: includes/class-mla-options.php:4507 includes/class-mla-options.php:4643
2849
- #: includes/class-mla-options.php:4657 includes/class-mla-options.php:4685
2850
  #, php-format
2851
  msgid "%1$s changing %2$s value from %3$s."
2852
  msgstr ""
2853
 
2854
- #: includes/class-mla-options.php:3411 includes/class-mla-options.php:3747
2855
- #: includes/class-mla-options.php:4405 includes/class-mla-options.php:4507
2856
- #: includes/class-mla-options.php:4657 includes/class-mla-options.php:4811
2857
- #: includes/class-mla-options.php:4897 includes/class-mla-options.php:5130
2858
  msgid "Existing Text"
2859
  msgstr ""
2860
 
2861
- #: includes/class-mla-options.php:3418 includes/class-mla-options.php:3748
2862
- #: includes/class-mla-options.php:4664 includes/class-mla-options.php:4959
2863
- #: includes/class-mla-options.php:5054 includes/class-mla-options.php:5100
2864
  msgid "Format"
2865
  msgstr ""
2866
 
2867
- #: includes/class-mla-options.php:3424 includes/class-mla-options.php:3438
2868
- #: includes/class-mla-options.php:3452 includes/class-mla-options.php:3481
2869
- #: includes/class-mla-options.php:4677
2870
  msgid "unchecked to checked"
2871
  msgstr ""
2872
 
2873
- #: includes/class-mla-options.php:3427 includes/class-mla-options.php:3441
2874
- #: includes/class-mla-options.php:3455 includes/class-mla-options.php:3484
2875
- #: includes/class-mla-options.php:4680
2876
  msgid "checked to unchecked"
2877
  msgstr ""
2878
 
2879
- #: includes/class-mla-options.php:3432 includes/class-mla-options.php:3749
2880
  msgid "MLA Column"
2881
  msgstr ""
2882
 
2883
- #: includes/class-mla-options.php:3468
2884
  msgid "Metavalue name"
2885
  msgstr ""
2886
 
2887
- #: includes/class-mla-options.php:3475 includes/class-mla-options.php:3583
2888
- #: includes/class-mla-options.php:3682 includes/class-mla-options.php:3726
2889
- #: includes/class-mla-options.php:4671 includes/class-mla-options.php:4966
2890
- #: includes/class-mla-options.php:5061 includes/class-mla-options.php:5107
2891
  msgid "Option"
2892
  msgstr ""
2893
 
2894
- #: includes/class-mla-options.php:3489 includes/class-mla-options.php:3595
2895
- #: includes/class-mla-options.php:3694 includes/class-mla-options.php:3738
2896
- #: includes/class-mla-options.php:4685 includes/class-mla-options.php:4978
2897
- #: includes/class-mla-options.php:5073 includes/class-mla-options.php:5119
2898
  msgid "Delete NULL values"
2899
  msgstr ""
2900
 
2901
- #: includes/class-mla-options.php:3528 includes/class-mla-options.php:4909
2902
  msgid "No Custom Field Mapping Rules Defined"
2903
  msgstr ""
2904
 
2905
- #: includes/class-mla-options.php:3569 includes/class-mla-options.php:3668
2906
- #: includes/class-mla-options.php:3712 includes/class-mla-options.php:4786
2907
- #: includes/class-mla-options.php:4836 includes/class-mla-options.php:4956
2908
- #: includes/class-mla-options.php:5051 includes/class-mla-options.php:5097
2909
- #: includes/class-mla-thumbnail-generation.php:431
2910
  msgid "Keep"
2911
  msgstr ""
2912
 
2913
- #: includes/class-mla-options.php:3573 includes/class-mla-options.php:3672
2914
- #: includes/class-mla-options.php:3716 includes/class-mla-options.php:4961
2915
- #: includes/class-mla-options.php:5056 includes/class-mla-options.php:5102
2916
  msgid "Native"
2917
  msgstr ""
2918
 
2919
- #: includes/class-mla-options.php:3575 includes/class-mla-options.php:3674
2920
- #: includes/class-mla-options.php:3718 includes/class-mla-options.php:4963
2921
- #: includes/class-mla-options.php:5058 includes/class-mla-options.php:5104
2922
  msgid "Commas"
2923
  msgstr ""
2924
 
2925
- #: includes/class-mla-options.php:3577 includes/class-mla-options.php:3676
2926
- #: includes/class-mla-options.php:3720 includes/class-mla-options.php:4965
2927
- #: includes/class-mla-options.php:5060 includes/class-mla-options.php:5106
2928
  msgid "Raw"
2929
  msgstr ""
2930
 
2931
- #: includes/class-mla-options.php:3585 includes/class-mla-options.php:3684
2932
- #: includes/class-mla-options.php:3728 includes/class-mla-options.php:4968
2933
- #: includes/class-mla-options.php:5063 includes/class-mla-options.php:5109
2934
  msgid "Text"
2935
  msgstr ""
2936
 
2937
- #: includes/class-mla-options.php:3587 includes/class-mla-options.php:3686
2938
- #: includes/class-mla-options.php:3730 includes/class-mla-options.php:4970
2939
- #: includes/class-mla-options.php:5065 includes/class-mla-options.php:5111
2940
  msgid "Single"
2941
  msgstr ""
2942
 
2943
- #: includes/class-mla-options.php:3589 includes/class-mla-options.php:3688
2944
- #: includes/class-mla-options.php:3732 includes/class-mla-options.php:4972
2945
- #: includes/class-mla-options.php:5067 includes/class-mla-options.php:5113
2946
  msgid "Export"
2947
  msgstr ""
2948
 
2949
- #: includes/class-mla-options.php:3591 includes/class-mla-options.php:3690
2950
- #: includes/class-mla-options.php:3734 includes/class-mla-options.php:4974
2951
- #: includes/class-mla-options.php:5069 includes/class-mla-options.php:5115
2952
  msgid "Array"
2953
  msgstr ""
2954
 
2955
- #: includes/class-mla-options.php:3593 includes/class-mla-options.php:3692
2956
- #: includes/class-mla-options.php:3736 includes/class-mla-options.php:4976
2957
- #: includes/class-mla-options.php:5071 includes/class-mla-options.php:5117
2958
  msgid "Multi"
2959
  msgstr ""
2960
 
2961
- #: includes/class-mla-options.php:3596 includes/class-mla-options.php:4979
2962
  msgid "Delete Rule"
2963
  msgstr ""
2964
 
2965
- #: includes/class-mla-options.php:3597 includes/class-mla-options.php:4980
2966
  msgid "Delete Rule AND Field"
2967
  msgstr ""
2968
 
2969
- #: includes/class-mla-options.php:3598 includes/class-mla-options.php:4981
2970
  msgid "Update Rule"
2971
  msgstr ""
2972
 
2973
- #: includes/class-mla-options.php:3599 includes/class-mla-options.php:4982
2974
- #: includes/class-mla-settings.php:730 includes/class-mla-settings.php:861
2975
  msgid "Map All Attachments"
2976
  msgstr ""
2977
 
2978
- #: includes/class-mla-options.php:3663 includes/class-mla-options.php:5040
2979
  msgid "Add a new Mapping Rule"
2980
  msgstr ""
2981
 
2982
- #: includes/class-mla-options.php:3695 includes/class-mla-options.php:5074
2983
  msgid "Add Rule"
2984
  msgstr ""
2985
 
2986
- #: includes/class-mla-options.php:3696 includes/class-mla-options.php:5075
2987
  msgid "Add Rule and Map All Attachments"
2988
  msgstr ""
2989
 
2990
- #: includes/class-mla-options.php:3707 includes/class-mla-options.php:5086
2991
  msgid "Add a new Field and Mapping Rule"
2992
  msgstr ""
2993
 
2994
- #: includes/class-mla-options.php:3739 includes/class-mla-options.php:5120
2995
  msgid "Add Field"
2996
  msgstr ""
2997
 
2998
- #: includes/class-mla-options.php:3740 includes/class-mla-options.php:5121
2999
  msgid "Add Field and Map All Attachments"
3000
  msgstr ""
3001
 
3002
- #: includes/class-mla-options.php:3745 includes/class-mla-options.php:4363
3003
- #: includes/class-mla-options.php:4807 includes/class-mla-options.php:4893
3004
- #: includes/class-mla-options.php:5126
3005
  msgid "Field Title"
3006
  msgstr ""
3007
 
3008
- #: includes/class-mla-options.php:3770
3009
  msgid "Custom field mapping rules updated."
3010
  msgstr ""
3011
 
3012
- #: includes/class-mla-options.php:3772
3013
  msgid "Custom field mapping rules update failed."
3014
  msgstr ""
3015
 
3016
- #: includes/class-mla-options.php:3775 includes/class-mla-settings.php:775
3017
- #: includes/class-mla-settings.php:781
3018
  msgid "Custom field no mapping rule changes detected."
3019
  msgstr ""
3020
 
3021
- #: includes/class-mla-options.php:3783
3022
  msgid "Custom field mapping settings saved."
3023
  msgstr ""
3024
 
3025
- #: includes/class-mla-options.php:3785
3026
  msgid "Custom field mapping settings reset failed."
3027
  msgstr ""
3028
 
3029
  #. translators: 1: ERROR tag 2: custom field name
3030
- #: includes/class-mla-options.php:4351
3031
  #, php-format
3032
  msgid "%1$s: No old values for %2$s."
3033
  msgstr ""
3034
 
3035
- #: includes/class-mla-options.php:4370 includes/class-mla-options.php:4472
3036
- #: includes/class-mla-options.php:4622 includes/class-mla-options.php:4808
3037
- #: includes/class-mla-options.php:4894 includes/class-mla-options.php:5127
3038
  msgid "IPTC Value"
3039
  msgstr ""
3040
 
3041
- #: includes/class-mla-options.php:4377 includes/class-mla-options.php:4479
3042
- #: includes/class-mla-options.php:4629
3043
  msgid "EXIF Value"
3044
  msgstr ""
3045
 
3046
- #: includes/class-mla-options.php:4383 includes/class-mla-options.php:4485
3047
- #: includes/class-mla-options.php:4635
3048
  msgid "EXIF to IPTC"
3049
  msgstr ""
3050
 
3051
- #: includes/class-mla-options.php:4386 includes/class-mla-options.php:4488
3052
- #: includes/class-mla-options.php:4638
3053
  msgid "IPTC to EXIF"
3054
  msgstr ""
3055
 
3056
- #: includes/class-mla-options.php:4391 includes/class-mla-options.php:4493
3057
- #: includes/class-mla-options.php:4643 includes/class-mla-options.php:4810
3058
- #: includes/class-mla-options.php:4896 includes/class-mla-options.php:5129
3059
  msgid "Priority"
3060
  msgstr ""
3061
 
3062
- #: includes/class-mla-options.php:4514 includes/class-mla-options.php:4898
3063
  msgid "Delimiter(s)"
3064
  msgstr ""
3065
 
3066
- #: includes/class-mla-options.php:4782 includes/class-mla-options.php:4832
3067
- #: includes/class-mla-options.php:4952 includes/class-mla-options.php:5047
3068
- #: includes/class-mla-options.php:5093
3069
  msgid "IPTC"
3070
  msgstr ""
3071
 
3072
- #: includes/class-mla-options.php:4784 includes/class-mla-options.php:4834
3073
- #: includes/class-mla-options.php:4954 includes/class-mla-options.php:5049
3074
- #: includes/class-mla-options.php:5095
3075
  msgid "EXIF"
3076
  msgstr ""
3077
 
3078
- #: includes/class-mla-options.php:4809 includes/class-mla-options.php:4895
3079
- #: includes/class-mla-options.php:5128
3080
  msgid "EXIF/Template Value"
3081
  msgstr ""
3082
 
3083
  #. translators: 1: ERROR tag 2: option name
3084
- #: includes/class-mla-options.php:5138
3085
  #, php-format
3086
  msgid "%1$s: Render unknown custom %2$s."
3087
  msgstr ""
3088
 
3089
  #. translators: 1: ERROR tag 2: option name
3090
- #: includes/class-mla-options.php:5182
3091
  #, php-format
3092
  msgid "%1$s: Update/delete unknown custom %2$s."
3093
  msgstr ""
3094
 
3095
- #: includes/class-mla-options.php:5188
3096
  msgid "IPTC/EXIF mapping settings updated."
3097
  msgstr ""
3098
 
3099
- #: includes/class-mla-options.php:5190
3100
  msgid "IPTC/EXIF settings update failed."
3101
  msgstr ""
3102
 
3103
- #: includes/class-mla-options.php:5193 includes/class-mla-settings.php:909
3104
- #: includes/class-mla-settings.php:915
3105
  msgid "IPTC/EXIF no mapping changes detected."
3106
  msgstr ""
3107
 
3108
  #. translators: 1: field type
3109
- #: includes/class-mla-options.php:5204 includes/class-mla-options.php:5214
3110
- #: includes/class-mla-options.php:5224 includes/class-mla-settings.php:3515
3111
  #, php-format
3112
  msgid "%1$s settings saved."
3113
  msgstr ""
3114
 
3115
- #: includes/class-mla-options.php:5204 includes/class-mla-options.php:5207
3116
- #: includes/class-mla-settings.php:3760 includes/class-mla-settings.php:3799
3117
- #: includes/class-mla-settings.php:3802
3118
  msgid "Standard field"
3119
  msgstr ""
3120
 
3121
  #. translators: 1: ERROR tag 2: field type
3122
- #: includes/class-mla-options.php:5207 includes/class-mla-options.php:5217
3123
- #: includes/class-mla-options.php:5227
3124
  #, php-format
3125
  msgid "%1$s: IPTC/EXIF %2$s settings update failed."
3126
  msgstr ""
3127
 
3128
- #: includes/class-mla-options.php:5214 includes/class-mla-options.php:5217
3129
- #: includes/class-mla-settings.php:3831 includes/class-mla-settings.php:3870
3130
- #: includes/class-mla-settings.php:3873
3131
  msgid "Taxonomy term"
3132
  msgstr ""
3133
 
3134
- #: includes/class-mla-options.php:5224 includes/class-mla-options.php:5227
3135
- #: includes/class-mla-settings.php:3660 includes/class-mla-settings.php:3663
3136
- #: includes/class-mla-settings.php:3917 includes/class-mla-settings.php:3956
3137
- #: includes/class-mla-settings.php:3959
3138
  msgid "Custom field"
3139
  msgstr ""
3140
 
3141
  #. translators: 1: ERROR tag 2: option name, e.g., taxonomy_support
3142
- #: includes/class-mla-options.php:5235
3143
  #, php-format
3144
  msgid "%1$s: Reset unknown custom %2$s"
3145
  msgstr ""
3146
 
3147
- #: includes/class-mla-polylang-support.php:270
3148
  msgid "ERROR: No post ID found"
3149
  msgstr ""
3150
 
3151
- #: includes/class-mla-polylang-support.php:371
3152
  msgid "Error while saving the translations."
3153
  msgstr ""
3154
 
3155
- #: includes/class-mla-polylang-support.php:372
3156
  msgid "Remove From Bulk Translate"
3157
  msgstr ""
3158
 
3159
- #: includes/class-mla-polylang-support.php:374
3160
  msgid "Bulk Translate items"
3161
  msgstr ""
3162
 
3163
- #: includes/class-mla-polylang-support.php:375
3164
  msgid "Add new"
3165
  msgstr ""
3166
 
3167
- #: includes/class-mla-polylang-support.php:1486
3168
- #: includes/class-mla-polylang-support.php:1825
3169
- #: includes/class-mla-thumbnail-generation.php:466
3170
  msgid "Bulk Translations"
3171
  msgstr ""
3172
 
3173
- #: includes/class-mla-polylang-support.php:1510
3174
  msgid "Translate"
3175
  msgstr ""
3176
 
3177
- #: includes/class-mla-polylang-support.php:1626
3178
  msgid "All Languages"
3179
  msgstr ""
3180
 
3181
- #: includes/class-mla-polylang-support.php:1633
3182
- #: includes/class-mla-polylang-support.php:1890
3183
- #: includes/class-mla-polylang-support.php:2016
3184
  msgid "Quick Translate"
3185
  msgstr ""
3186
 
3187
- #: includes/class-mla-polylang-support.php:1637
3188
  msgid "Set Language"
3189
  msgstr ""
3190
 
3191
- #: includes/class-mla-polylang-support.php:1638
3192
- #: includes/class-mla-polylang-support.php:2023
3193
  msgid "Bulk Translate"
3194
  msgstr ""
3195
 
3196
- #: includes/class-mla-polylang-support.php:1639
3197
  msgid "Add or Modify Translation"
3198
  msgstr ""
3199
 
3200
- #: includes/class-mla-polylang-support.php:1640
3201
- #: includes/class-mla-polylang-support.php:1691
3202
- #: includes/class-mla-polylang-support.php:1962
3203
- #: includes/class-mla-wpml-support.php:1212
3204
- #: includes/class-mla-wpml-support.php:1717
3205
  msgid "Language"
3206
  msgstr ""
3207
 
3208
- #: includes/class-mla-polylang-support.php:1642
3209
- #: includes/class-mla-thumbnail-generation.php:437
3210
  msgid "Options"
3211
  msgstr ""
3212
 
3213
- #: includes/class-mla-polylang-support.php:1890
3214
  msgid "Translate this item inline"
3215
  msgstr ""
3216
 
3217
- #: includes/class-mla-polylang-support.php:1997
3218
- #: includes/class-mla-polylang-support.php:2086
3219
- #: includes/class-mla-wpml-support.php:1247
3220
- #: includes/class-mla-wpml-support.php:1322
3221
  msgid "Media/Assistant submenu table"
3222
  msgstr ""
3223
 
3224
- #: includes/class-mla-polylang-support.php:2002
3225
- #: includes/class-mla-wpml-support.php:1252
3226
  msgid "Language Column"
3227
  msgstr ""
3228
 
3229
- #: includes/class-mla-polylang-support.php:2005
3230
- #: includes/class-mla-wpml-support.php:1255
3231
  msgid ""
3232
  "Check this option to add a Language column to the Media/Assistant submenu "
3233
  "table."
3234
  msgstr ""
3235
 
3236
- #: includes/class-mla-polylang-support.php:2009
3237
- #: includes/class-mla-wpml-support.php:1259
3238
  msgid "Translations Column"
3239
  msgstr ""
3240
 
3241
- #: includes/class-mla-polylang-support.php:2012
3242
- #: includes/class-mla-wpml-support.php:1262
3243
  msgid ""
3244
  "Check this option to add a Translation Status column to the Media/Assistant "
3245
  "submenu table."
3246
  msgstr ""
3247
 
3248
- #: includes/class-mla-polylang-support.php:2019
3249
  msgid ""
3250
  "Check this option to add a Quick Translate rollover action to the Media/"
3251
  "Assistant submenu table."
3252
  msgstr ""
3253
 
3254
- #: includes/class-mla-polylang-support.php:2026
3255
  msgid ""
3256
  "Check this option to add \"Translate\" to the \"Bulk Actions\" control on "
3257
  "the Media/Assistant submenu table."
3258
  msgstr ""
3259
 
3260
- #: includes/class-mla-polylang-support.php:2030
3261
- #: includes/class-mla-polylang-support.php:2086
3262
- #: includes/class-mla-wpml-support.php:1266
3263
- #: includes/class-mla-wpml-support.php:1322
3264
  msgid "Term Management"
3265
  msgstr ""
3266
 
3267
- #: includes/class-mla-polylang-support.php:2035
3268
- #: includes/class-mla-wpml-support.php:1271
3269
  msgid "Term Assignment"
3270
  msgstr ""
3271
 
3272
- #: includes/class-mla-polylang-support.php:2038
3273
- #: includes/class-mla-wpml-support.php:1274
3274
  msgid ""
3275
  "Check this option to assign language-specific terms when items are updated."
3276
  msgstr ""
3277
 
3278
- #: includes/class-mla-polylang-support.php:2042
3279
- #: includes/class-mla-wpml-support.php:1278
3280
  msgid "Term Synchronization"
3281
  msgstr ""
3282
 
3283
- #: includes/class-mla-polylang-support.php:2045
3284
- #: includes/class-mla-wpml-support.php:1281
3285
  msgid ""
3286
  "Check this option to synchronize common terms among all item translations."
3287
  msgstr ""
3288
 
3289
- #: includes/class-mla-polylang-support.php:2084
3290
- #: includes/class-mla-wpml-support.php:1320
3291
  msgid "Language Options"
3292
  msgstr ""
3293
 
3294
  #. translators: 1: - 4: page subheader values
3295
- #: includes/class-mla-polylang-support.php:2086
3296
  #, php-format
3297
  msgid ""
3298
  "In this tab you can find a number of options for controlling Polylang-"
@@ -3302,167 +2324,112 @@ msgid ""
3302
  msgstr ""
3303
 
3304
  #. translators: 1: Documentation hyperlink
3305
- #: includes/class-mla-polylang-support.php:2088
3306
- #: includes/class-mla-wpml-support.php:1324
3307
  #, php-format
3308
  msgid ""
3309
  "You can find more information about multilingual features in the %1$s "
3310
  "section of the Documentation."
3311
  msgstr ""
3312
 
3313
- #: includes/class-mla-polylang-support.php:2088
3314
- #: includes/class-mla-wpml-support.php:1324
3315
  msgid "Language Options documentation"
3316
  msgstr ""
3317
 
3318
- #: includes/class-mla-polylang-support.php:2088
3319
- #: includes/class-mla-wpml-support.php:1324
3320
  msgid "WPML &amp; Polylang Multilingual Support; the MLA Language Tab"
3321
  msgstr ""
3322
 
3323
- #: includes/class-mla-polylang-support.php:2090
3324
- #: includes/class-mla-settings.php:1359 includes/class-mla-settings.php:1717
3325
- #: includes/class-mla-settings.php:1770 includes/class-mla-settings.php:2186
3326
- #: includes/class-mla-settings.php:2236 includes/class-mla-settings.php:2324
3327
- #: includes/class-mla-settings.php:2766 includes/class-mla-settings.php:2769
3328
- #: includes/class-mla-settings.php:2908 includes/class-mla-settings.php:2910
3329
- #: includes/class-mla-settings.php:3178 includes/class-mla-settings.php:3180
3330
- #: includes/class-mla-wpml-support.php:1326
3331
  msgid "Save Changes"
3332
  msgstr ""
3333
 
3334
- #: includes/class-mla-polylang-support.php:2091
3335
- #: includes/class-mla-wpml-support.php:1327
3336
  msgid "Delete Language options and restore default settings"
3337
  msgstr ""
3338
 
3339
- #: includes/class-mla-polylang-support.php:2094
3340
- #: includes/class-mla-settings.php:1098 includes/class-mla-settings.php:1364
3341
- #: includes/class-mla-settings.php:2319
3342
- #: includes/class-mla-wpml-support.php:1330
3343
  msgid "Go to Top"
3344
  msgstr ""
3345
 
3346
- #: includes/class-mla-polylang-support.php:2131
3347
- #: includes/class-mla-wpml-support.php:1367
3348
  msgid "Language settings saved."
3349
  msgstr ""
3350
 
3351
  #. translators: 1: option name
3352
- #: includes/class-mla-polylang-support.php:2162
3353
- #: includes/class-mla-settings.php:4136
3354
- #: includes/class-mla-wpml-support.php:1398
3355
  #, php-format
3356
  msgctxt "message_list"
3357
  msgid "delete_option \"%1$s\""
3358
  msgstr ""
3359
 
3360
- #: includes/class-mla-polylang-support.php:2170
3361
- #: includes/class-mla-wpml-support.php:1406
3362
  msgid "Language settings reset to default values."
3363
  msgstr ""
3364
 
3365
- #: includes/class-mla-settings.php:358
3366
  msgid "no slug"
3367
  msgstr ""
3368
 
3369
- #: includes/class-mla-settings.php:374
3370
  msgid "Running"
3371
  msgstr ""
3372
 
3373
- #: includes/class-mla-settings.php:379
3374
  msgid "Skipped"
3375
  msgstr ""
3376
 
3377
- #: includes/class-mla-settings.php:380
3378
  msgid "Reprocessed"
3379
  msgstr ""
3380
 
3381
- #: includes/class-mla-settings.php:466 includes/class-mla-settings.php:979
3382
- #: includes/class-mla-settings.php:3221
3383
  msgid "Settings"
3384
  msgstr ""
3385
 
3386
- #: includes/class-mla-settings.php:485
3387
  msgid "Views per page"
3388
  msgstr ""
3389
 
3390
- #: includes/class-mla-settings.php:496
3391
  msgid "Types per page"
3392
  msgstr ""
3393
 
3394
- #: includes/class-mla-settings.php:507
3395
  msgid "Upload types per page"
3396
  msgstr ""
3397
 
3398
- #: includes/class-mla-settings.php:643
3399
  msgid "No view slug found"
3400
  msgstr ""
3401
 
3402
- #: includes/class-mla-settings.php:686
3403
  msgid "No upload slug found"
3404
  msgstr ""
3405
 
3406
- #: includes/class-mla-settings.php:726 includes/class-mla-settings.php:2767
3407
- #: includes/class-mla-settings.php:2771
3408
  msgid "Map All Rules, All Attachments Now"
3409
  msgstr ""
3410
 
3411
- #: includes/class-mla-settings.php:850 includes/class-mla-settings.php:2900
3412
  msgid "Map All Attachments, Standard Fields Now"
3413
  msgstr ""
3414
 
3415
- #: includes/class-mla-settings.php:853 includes/class-mla-settings.php:2903
3416
  msgid "Map All Attachments, Taxonomy Terms Now"
3417
  msgstr ""
3418
 
3419
- #: includes/class-mla-settings.php:856 includes/class-mla-settings.php:2906
3420
  msgid "Map All Attachments, Custom Fields Now"
3421
  msgstr ""
3422
 
3423
  #. translators: 1: ERROR tag 2: function name 3: option type, e.g., radio, select, text
3424
- #: includes/class-mla-settings.php:1028 includes/class-mla-settings.php:1061
3425
- #: includes/class-mla-settings.php:1200
3426
  #, php-format
3427
  msgctxt "error_log"
3428
  msgid "%1$s: %2$s unknown type = \"%3$s\""
3429
  msgstr ""
3430
 
3431
- #: includes/class-mla-settings.php:1249
3432
  msgid "General"
3433
  msgstr ""
3434
 
3435
- #: includes/class-mla-settings.php:1250
3436
  msgid "Views"
3437
  msgstr ""
3438
 
3439
- #: includes/class-mla-settings.php:1251
3440
  msgid "Uploads"
3441
  msgstr ""
3442
 
3443
- #: includes/class-mla-settings.php:1252 includes/class-mla-settings.php:3515
3444
- #: includes/class-mla-settings.php:3518
3445
  msgid "MLA Gallery"
3446
  msgstr ""
3447
 
3448
- #: includes/class-mla-settings.php:1253
3449
  msgid "Custom Fields"
3450
  msgstr ""
3451
 
3452
- #: includes/class-mla-settings.php:1255
3453
  msgid "Documentation"
3454
  msgstr ""
3455
 
3456
- #: includes/class-mla-settings.php:1256
3457
  msgid "Debug"
3458
  msgstr ""
3459
 
3460
- #: includes/class-mla-settings.php:1356
3461
  msgid "General Processing Options"
3462
  msgstr ""
3463
 
3464
  #. translators: 1: - 4: page subheader values
3465
- #: includes/class-mla-settings.php:1358
3466
  #, php-format
3467
  msgid ""
3468
  "In this tab you can find a number of options for controlling the "
@@ -3471,36 +2438,28 @@ msgid ""
3471
  "any changes you make."
3472
  msgstr ""
3473
 
3474
- #: includes/class-mla-settings.php:1358
3475
  msgid "Media/Assistant Table Defaults"
3476
  msgstr ""
3477
 
3478
- #: includes/class-mla-settings.php:1358
3479
  msgid "Media Manager Enhancements"
3480
  msgstr ""
3481
 
3482
- #: includes/class-mla-settings.php:1360
3483
  msgid "Export ALL Settings"
3484
  msgstr ""
3485
 
3486
- #: includes/class-mla-settings.php:1361
3487
  msgid "Delete General options and restore default settings"
3488
  msgstr ""
3489
 
3490
- #: includes/class-mla-settings.php:1365
3491
  msgid "Support Our Work"
3492
  msgstr ""
3493
 
3494
- #: includes/class-mla-settings.php:1366 includes/class-mla-settings.php:1369
3495
  msgid "Donate to FTJ"
3496
  msgstr ""
3497
 
3498
- #: includes/class-mla-settings.php:1367 includes/class-mla-settings.php:3213
3499
  msgid "Donate"
3500
  msgstr ""
3501
 
3502
  #. translators: 1: donation hyperlink
3503
- #: includes/class-mla-settings.php:1369
3504
  #, php-format
3505
  msgid ""
3506
  "This plugin was inspired by my work on the WordPress web site for our "
@@ -3509,27 +2468,21 @@ msgid ""
3509
  "our work. Thank you!"
3510
  msgstr ""
3511
 
3512
- #: includes/class-mla-settings.php:1369
3513
  msgid "tax-deductible donation"
3514
  msgstr ""
3515
 
3516
- #: includes/class-mla-settings.php:1390
3517
  msgid "enhanced version of the WordPress [gallery] shortcode."
3518
  msgstr ""
3519
 
3520
- #: includes/class-mla-settings.php:1391
3521
  msgid "enhanced version of the WordPress Tag Cloud."
3522
  msgstr ""
3523
 
3524
- #: includes/class-mla-settings.php:1403
3525
  msgid "Shortcodes made available by this plugin"
3526
  msgstr ""
3527
 
3528
- #: includes/class-mla-settings.php:1511
3529
  msgid "Edit View"
3530
  msgstr ""
3531
 
3532
- #: includes/class-mla-settings.php:1517 includes/class-mla-settings.php:1774
3533
  msgid ""
3534
  "The &#8220;slug&#8221; is the URL-friendly, unique key for the view. It must "
3535
  "be all lowercase and contain only letters, numbers, periods (.), slashes (/) "
@@ -3538,25 +2491,20 @@ msgid ""
3538
  "MIME</strong> type, e.g., &#8220;image&#8221; or &#8220;image/jpeg&#8221;."
3539
  msgstr ""
3540
 
3541
- #: includes/class-mla-settings.php:1518 includes/class-mla-settings.php:1775
3542
  msgid "Singular Label"
3543
  msgstr ""
3544
 
3545
- #: includes/class-mla-settings.php:1519 includes/class-mla-settings.php:1776
3546
  msgid "Plural Label"
3547
  msgstr ""
3548
 
3549
- #: includes/class-mla-settings.php:1520 includes/class-mla-settings.php:1777
3550
  msgid ""
3551
  "The labels, e.g., &#8220;Image&#8221; and &#8220;Images&#8221; are used for "
3552
  "column headers and other display purposes."
3553
  msgstr ""
3554
 
3555
- #: includes/class-mla-settings.php:1521 includes/class-mla-settings.php:1778
3556
  msgid "Specification"
3557
  msgstr ""
3558
 
3559
- #: includes/class-mla-settings.php:1522 includes/class-mla-settings.php:1779
3560
  msgid ""
3561
  "If the MIME type specification differs from the slug, enter it here. You may "
3562
  "include multiple MIME types, e.g., &#8220;audio,video&#8221; and/or wildcard "
@@ -3564,60 +2512,48 @@ msgid ""
3564
  "MIME Type box is checked."
3565
  msgstr ""
3566
 
3567
- #: includes/class-mla-settings.php:1523 includes/class-mla-settings.php:1780
3568
  msgid "Post MIME Type"
3569
  msgstr ""
3570
 
3571
- #: includes/class-mla-settings.php:1524 includes/class-mla-settings.php:1781
3572
  msgid ""
3573
  "Check this box if you want to add this entry to the list of MIME types "
3574
  "returned by wp_get_mime_types()."
3575
  msgstr ""
3576
 
3577
- #: includes/class-mla-settings.php:1525 includes/class-mla-settings.php:1782
3578
  msgid "Table View"
3579
  msgstr ""
3580
 
3581
- #: includes/class-mla-settings.php:1526 includes/class-mla-settings.php:1783
3582
  msgid ""
3583
  "Check this box if you want to add this entry to the list of Media/Assistant "
3584
  "table views."
3585
  msgstr ""
3586
 
3587
- #: includes/class-mla-settings.php:1528 includes/class-mla-settings.php:1785
3588
  msgid ""
3589
  "You can choose your own table view order by entering a number (1 for first, "
3590
  "etc.) in this field."
3591
  msgstr ""
3592
 
3593
- #: includes/class-mla-settings.php:1530 includes/class-mla-settings.php:1787
3594
- #: includes/class-mla-settings.php:1885 includes/class-mla-settings.php:2249
3595
  msgid ""
3596
  "The description can contain any documentation or notes you need to "
3597
  "understand or use the item."
3598
  msgstr ""
3599
 
3600
  #. translators: 1: bulk_action, e.g., delete, edit, restore, trash
3601
- #: includes/class-mla-settings.php:1641 includes/class-mla-settings.php:2107
3602
  #, php-format
3603
  msgid "Unknown bulk action %1$s"
3604
  msgstr ""
3605
 
3606
  #. translators: 1: view name/slug
3607
- #: includes/class-mla-settings.php:1680 includes/class-mla-settings.php:2149
3608
  #, php-format
3609
  msgid "Edit view \"%1$s\" cancelled."
3610
  msgstr ""
3611
 
3612
- #: includes/class-mla-settings.php:1714
3613
  msgid "View and Post MIME Type Support is disabled"
3614
  msgstr ""
3615
 
3616
- #: includes/class-mla-settings.php:1759 includes/class-mla-settings.php:1762
3617
  msgid "Library Views/Post MIME Type Processing"
3618
  msgstr ""
3619
 
3620
- #: includes/class-mla-settings.php:1760
3621
  msgid ""
3622
  "In this tab you can manage the list of \"Post MIME Types\", which are used "
3623
  "by WordPress to define the views for the <em><strong>Media/Library</strong></"
@@ -3629,7 +2565,6 @@ msgid ""
3629
  msgstr ""
3630
 
3631
  #. translators: 1: Documentation hyperlink
3632
- #: includes/class-mla-settings.php:1762
3633
  #, php-format
3634
  msgid ""
3635
  "You can find more information about library views, Post MIME types and how "
@@ -3638,87 +2573,67 @@ msgid ""
3638
  "screen."
3639
  msgstr ""
3640
 
3641
- #: includes/class-mla-settings.php:1762
3642
  msgid "Library View Processing documentation"
3643
  msgstr ""
3644
 
3645
- #: includes/class-mla-settings.php:1766 includes/class-mla-settings.php:1955
3646
- #: includes/class-mla-settings.php:2261
3647
  msgid "Displaying search results for"
3648
  msgstr ""
3649
 
3650
- #: includes/class-mla-settings.php:1767
3651
  msgid "Search Views"
3652
  msgstr ""
3653
 
3654
- #: includes/class-mla-settings.php:1788
3655
  msgid "Add View"
3656
  msgstr ""
3657
 
3658
- #: includes/class-mla-settings.php:1790 includes/class-mla-settings.php:2254
3659
  msgid "<strong>Quick Edit</strong>"
3660
  msgstr ""
3661
 
3662
- #: includes/class-mla-settings.php:1870
3663
  msgid "Edit Upload MIME Type"
3664
  msgstr ""
3665
 
3666
- #: includes/class-mla-settings.php:1876
3667
  msgid ""
3668
  "The &#8220;extension&#8221; is the file extension for this type, and a "
3669
  "unique key for the item. It must be all lowercase and contain only letters "
3670
  "and numbers."
3671
  msgstr ""
3672
 
3673
- #: includes/class-mla-settings.php:1878 includes/class-mla-settings.php:2243
3674
  msgid ""
3675
  "The MIME Type must be all lowercase and contain only letters, numbers, "
3676
  "periods (.), slashes (/) and hyphens (-). It <strong>must be a valid MIME</"
3677
  "strong> type, e.g., &#8220;image&#8221; or &#8220;image/jpeg&#8221;."
3678
  msgstr ""
3679
 
3680
- #: includes/class-mla-settings.php:1879 includes/class-mla-settings.php:2244
3681
  msgid "Icon Type"
3682
  msgstr ""
3683
 
3684
- #: includes/class-mla-settings.php:1881 includes/class-mla-settings.php:2245
3685
  msgid ""
3686
  "The Icon Type selects a thumbnail image displayed for non-image file types, "
3687
  "such as PDF documents."
3688
  msgstr ""
3689
 
3690
- #: includes/class-mla-settings.php:1882 includes/class-mla-settings.php:2246
3691
- #: includes/class-mla-upload-list-table.php:515
3692
  msgid "Inactive"
3693
  msgstr ""
3694
 
3695
- #: includes/class-mla-settings.php:1883 includes/class-mla-settings.php:2247
3696
  msgid ""
3697
  "Check this box if you want to remove this entry from the list of Upload MIME "
3698
  "Types returned by get_allowed_mime_types()."
3699
  msgstr ""
3700
 
3701
- #: includes/class-mla-settings.php:1954
3702
  msgid "Known File Extension/MIME Type Associations"
3703
  msgstr ""
3704
 
3705
- #: includes/class-mla-settings.php:1956
3706
  msgid "Search Known MIME Types"
3707
  msgstr ""
3708
 
3709
- #: includes/class-mla-settings.php:1958 includes/class-mla-settings.php:2232
3710
  msgid "To search by extension, use \".\", e.g., \".doc\""
3711
  msgstr ""
3712
 
3713
- #: includes/class-mla-settings.php:2183
3714
  msgid "Upload MIME Type Support is disabled"
3715
  msgstr ""
3716
 
3717
- #: includes/class-mla-settings.php:2226 includes/class-mla-settings.php:2229
3718
  msgid "File Extension and MIME Type Processing"
3719
  msgstr ""
3720
 
3721
- #: includes/class-mla-settings.php:2227
3722
  msgid ""
3723
  "In this tab you can manage the list of file extension/MIME Type "
3724
  "associations, which are used by WordPress to decide what kind of files can "
@@ -3728,7 +2643,6 @@ msgid ""
3728
  msgstr ""
3729
 
3730
  #. translators: 1: Documentation hyperlink
3731
- #: includes/class-mla-settings.php:2229
3732
  #, php-format
3733
  msgid ""
3734
  "You can find more information about file extensions, MIME types and how "
@@ -3736,57 +2650,44 @@ msgid ""
3736
  "the <strong>\"Help\"</strong> tab in the upper-right corner of this screen."
3737
  msgstr ""
3738
 
3739
- #: includes/class-mla-settings.php:2229
3740
  msgid "File Extension Processing documentation"
3741
  msgstr ""
3742
 
3743
- #: includes/class-mla-settings.php:2231
3744
  msgid "Search Uploads"
3745
  msgstr ""
3746
 
3747
- #: includes/class-mla-settings.php:2238
3748
  msgid "Upload MIME Type"
3749
  msgstr ""
3750
 
3751
- #: includes/class-mla-settings.php:2239
3752
  msgid ""
3753
  "To search the database of over 1,500 known extension/type associations, "
3754
  "click \"Search Known Types\" below the form."
3755
  msgstr ""
3756
 
3757
- #: includes/class-mla-settings.php:2241
3758
  msgid ""
3759
  "The &#8220;extension&#8221; is the file extension for this type, and unique "
3760
  "key for the item. It must be all lowercase and contain only letters and "
3761
  "numbers."
3762
  msgstr ""
3763
 
3764
- #: includes/class-mla-settings.php:2250
3765
  msgid "Add Upload MIME Type"
3766
  msgstr ""
3767
 
3768
- #: includes/class-mla-settings.php:2252
3769
  msgid "Search Known Types"
3770
  msgstr ""
3771
 
3772
- #: includes/class-mla-settings.php:2260
3773
- #: includes/class-mla-upload-list-table.php:517
3774
  msgid "Active"
3775
  msgstr ""
3776
 
3777
- #: includes/class-mla-settings.php:2313
3778
  msgid "MLA Gallery Options"
3779
  msgstr ""
3780
 
3781
- #: includes/class-mla-settings.php:2314
3782
  msgid "Go to Style Templates"
3783
  msgstr ""
3784
 
3785
- #: includes/class-mla-settings.php:2315
3786
  msgid "Go to Markup Templates"
3787
  msgstr ""
3788
 
3789
- #: includes/class-mla-settings.php:2316
3790
  msgid ""
3791
  "In this tab you can view the default style and markup templates. You can "
3792
  "also define additional templates and use the <code>mla_style</code> and "
@@ -3796,162 +2697,118 @@ msgid ""
3796
  "Changes\" at the bottom of this page."
3797
  msgstr ""
3798
 
3799
- #: includes/class-mla-settings.php:2320
3800
  msgid "Style Templates"
3801
  msgstr ""
3802
 
3803
- #: includes/class-mla-settings.php:2322
3804
  msgid "Markup Templates"
3805
  msgstr ""
3806
 
3807
- #: includes/class-mla-settings.php:2335
3808
  msgid "Theme"
3809
  msgstr ""
3810
 
3811
- #: includes/class-mla-settings.php:2364
3812
  msgid "Imagick support is not installed."
3813
  msgstr ""
3814
 
3815
- #: includes/class-mla-settings.php:2371
3816
  msgid "Ghostscript support is not installed."
3817
  msgstr ""
3818
 
3819
- #: includes/class-mla-settings.php:2375
3820
  msgid "WARNING: MLA Viewer support may not be available"
3821
  msgstr ""
3822
 
3823
- #: includes/class-mla-settings.php:2402
3824
  msgid ""
3825
  "This default template cannot be altered or deleted, but you can copy the "
3826
  "styles."
3827
  msgstr ""
3828
 
3829
- #: includes/class-mla-settings.php:2413 includes/class-mla-settings.php:2446
3830
- #: includes/class-mla-settings.php:2472
3831
  msgid "Styles"
3832
  msgstr ""
3833
 
3834
- #: includes/class-mla-settings.php:2417 includes/class-mla-settings.php:2450
3835
- #: includes/class-mla-settings.php:2476
3836
  msgid ""
3837
  "List of substitution parameters, e.g., [+selector+], on Documentation tab."
3838
  msgstr ""
3839
 
3840
- #: includes/class-mla-settings.php:2434 includes/class-mla-settings.php:2552
3841
  msgid "Delete this template"
3842
  msgstr ""
3843
 
3844
- #: includes/class-mla-settings.php:2435 includes/class-mla-settings.php:2553
3845
  msgid ""
3846
  "Check the box to delete this template when you press Update at the bottom of "
3847
  "the page."
3848
  msgstr ""
3849
 
3850
- #: includes/class-mla-settings.php:2461
3851
  msgid "Fill in a name and styles to add a new template."
3852
  msgstr ""
3853
 
3854
- #: includes/class-mla-settings.php:2496
3855
  msgid ""
3856
  "This default template cannot be altered or deleted, but you can copy the "
3857
  "markup."
3858
  msgstr ""
3859
 
3860
- #: includes/class-mla-settings.php:2508 includes/class-mla-settings.php:2565
3861
- #: includes/class-mla-settings.php:2615
3862
  msgid "Open"
3863
  msgstr ""
3864
 
3865
- #: includes/class-mla-settings.php:2512 includes/class-mla-settings.php:2569
3866
- #: includes/class-mla-settings.php:2619
3867
  msgid ""
3868
  "Markup for the beginning of the gallery. List of parameters, e.g., [+selector"
3869
  "+], on Documentation tab."
3870
  msgstr ""
3871
 
3872
- #: includes/class-mla-settings.php:2514 includes/class-mla-settings.php:2571
3873
- #: includes/class-mla-settings.php:2621
3874
  msgid "Row"
3875
  msgstr ""
3876
 
3877
- #: includes/class-mla-settings.php:2518 includes/class-mla-settings.php:2625
3878
  msgid "Markup for the beginning of each row in the gallery."
3879
  msgstr ""
3880
 
3881
- #: includes/class-mla-settings.php:2520 includes/class-mla-settings.php:2577
3882
- #: includes/class-mla-settings.php:2627
3883
  msgid "Item"
3884
  msgstr ""
3885
 
3886
- #: includes/class-mla-settings.php:2524 includes/class-mla-settings.php:2631
3887
  msgid "Markup for each item/cell of the gallery."
3888
  msgstr ""
3889
 
3890
- #: includes/class-mla-settings.php:2526 includes/class-mla-settings.php:2583
3891
- #: includes/class-mla-settings.php:2633 includes/class-mla-settings.php:2747
3892
- #: includes/class-mla-settings.php:2883
3893
  msgid "Close"
3894
  msgstr ""
3895
 
3896
- #: includes/class-mla-settings.php:2530 includes/class-mla-settings.php:2637
3897
  msgid "Markup for the end of each row in the gallery."
3898
  msgstr ""
3899
 
3900
- #: includes/class-mla-settings.php:2535 includes/class-mla-settings.php:2592
3901
- #: includes/class-mla-settings.php:2642
3902
  msgid "Markup for the end of the gallery."
3903
  msgstr ""
3904
 
3905
- #: includes/class-mla-settings.php:2575
3906
  msgid "Markup for the beginning of each row."
3907
  msgstr ""
3908
 
3909
- #: includes/class-mla-settings.php:2581
3910
  msgid "Markup for each item/cell."
3911
  msgstr ""
3912
 
3913
- #: includes/class-mla-settings.php:2587
3914
  msgid "Markup for the end of each row."
3915
  msgstr ""
3916
 
3917
- #: includes/class-mla-settings.php:2603
3918
  msgid "Fill in a name and markup to add a new template."
3919
  msgstr ""
3920
 
3921
- #: includes/class-mla-settings.php:2739
3922
  msgid "Custom Field Mapping Progress"
3923
  msgstr ""
3924
 
3925
- #: includes/class-mla-settings.php:2740 includes/class-mla-settings.php:2876
3926
  msgid "DO NOT DO THE FOLLOWING (they will cause mapping to fail)"
3927
  msgstr ""
3928
 
3929
- #: includes/class-mla-settings.php:2741 includes/class-mla-settings.php:2877
3930
  msgid "Close the window"
3931
  msgstr ""
3932
 
3933
- #: includes/class-mla-settings.php:2742 includes/class-mla-settings.php:2878
3934
  msgid "Reload the page"
3935
  msgstr ""
3936
 
3937
- #: includes/class-mla-settings.php:2743 includes/class-mla-settings.php:2879
3938
  msgid "Click the browser&rsquo;s Stop, Back or forward buttons"
3939
  msgstr ""
3940
 
3941
- #: includes/class-mla-settings.php:2744 includes/class-mla-settings.php:2880
3942
  msgid "Progress"
3943
  msgstr ""
3944
 
3945
- #: includes/class-mla-settings.php:2746 includes/class-mla-settings.php:2882
3946
  msgid "Resume"
3947
  msgstr ""
3948
 
3949
- #: includes/class-mla-settings.php:2756 includes/class-mla-settings.php:2760
3950
  msgid "Custom Field and Attachment Metadata Processing Options"
3951
  msgstr ""
3952
 
3953
  #. translators: 1: Documentation hyperlink
3954
- #: includes/class-mla-settings.php:2758
3955
  #, php-format
3956
  msgid ""
3957
  "In this tab you can define the rules for mapping several types of image "
@@ -3961,32 +2818,26 @@ msgid ""
3961
  "field. See the %1$s section of the Documentation for details."
3962
  msgstr ""
3963
 
3964
- #: includes/class-mla-settings.php:2758
3965
  msgid "Updating Attachment Metadata Documentation"
3966
  msgstr ""
3967
 
3968
- #: includes/class-mla-settings.php:2758
3969
  msgid "Adding or changing Attachment Metadata"
3970
  msgstr ""
3971
 
3972
  #. translators: 1: Documentation hyperlink
3973
- #: includes/class-mla-settings.php:2760 includes/class-mla-settings.php:2895
3974
  #, php-format
3975
  msgid ""
3976
  "You can find more information about using the controls in this tab to define "
3977
  "mapping rules and apply them in the %1$s section of the Documentation."
3978
  msgstr ""
3979
 
3980
- #: includes/class-mla-settings.php:2760
3981
  msgid "Custom Field Options documentation"
3982
  msgstr ""
3983
 
3984
- #: includes/class-mla-settings.php:2764 includes/class-mla-settings.php:2905
3985
  msgid "Custom field mapping"
3986
  msgstr ""
3987
 
3988
  #. translators: 1: "Save Changes"
3989
- #: includes/class-mla-settings.php:2769
3990
  #, php-format
3991
  msgid ""
3992
  "Click %1$s to update the \"Enable custom field mapping...\" checkbox and/or "
@@ -3995,22 +2846,18 @@ msgid ""
3995
  msgstr ""
3996
 
3997
  #. translators: 1: "Map All Rules..."
3998
- #: includes/class-mla-settings.php:2771
3999
  #, php-format
4000
  msgid ""
4001
  "Click %1$s to apply all the rules at once (rule changes will be applied but "
4002
  "not saved)."
4003
  msgstr ""
4004
 
4005
- #: includes/class-mla-settings.php:2875
4006
  msgid "IPTC &amp; EXIF Mapping Progress"
4007
  msgstr ""
4008
 
4009
- #: includes/class-mla-settings.php:2892 includes/class-mla-settings.php:2895
4010
  msgid "IPTC &amp; EXIF Processing Options"
4011
  msgstr ""
4012
 
4013
- #: includes/class-mla-settings.php:2893
4014
  msgid ""
4015
  "In this tab you can define the rules for mapping IPTC (International Press "
4016
  "Telecommunications Council) and EXIF (EXchangeable Image File) metadata to "
@@ -4019,20 +2866,16 @@ msgid ""
4019
  "click \"Save Changes\" at the bottom of this page."
4020
  msgstr ""
4021
 
4022
- #: includes/class-mla-settings.php:2895
4023
  msgid "IPTC/EXIF Options documentation"
4024
  msgstr ""
4025
 
4026
- #: includes/class-mla-settings.php:2899
4027
  msgid "Standard field mapping"
4028
  msgstr ""
4029
 
4030
- #: includes/class-mla-settings.php:2902
4031
  msgid "Taxonomy term mapping"
4032
  msgstr ""
4033
 
4034
  #. translators: 1: "Save Changes"
4035
- #: includes/class-mla-settings.php:2910
4036
  #, php-format
4037
  msgid ""
4038
  "Click %1$s to update the \"Enable IPTC/EXIF mapping...\" checkbox and/or all "
@@ -4040,202 +2883,158 @@ msgid ""
4040
  "performed.</strong>"
4041
  msgstr ""
4042
 
4043
- #: includes/class-mla-settings.php:2981
4044
  msgid "Debug settings saved."
4045
  msgstr ""
4046
 
4047
  #. translators: 1: ERROR tag 2: file type 3: file name 4: error message
4048
- #: includes/class-mla-settings.php:3077
4049
  #, php-format
4050
  msgid "%1$s: Reseting the %2$s file ( %3$s ) \"%4$s\"."
4051
  msgstr ""
4052
 
4053
- #: includes/class-mla-settings.php:3077 includes/class-mla-settings.php:3118
4054
- #: includes/class-mla-settings.php:3141 includes/class-mla-settings.php:3151
4055
- #: includes/class-mla-settings.php:3173
4056
  msgid "Error Log"
4057
  msgstr ""
4058
 
4059
  #. translators: 1: ERROR tag 2: file type 3: file name 4: error message
4060
- #: includes/class-mla-settings.php:3118
4061
  #, php-format
4062
  msgid "%1$s: Reading the %2$s file ( %3$s ) \"%4$s\"."
4063
  msgstr ""
4064
 
4065
  #. translators: 1: file name
4066
- #: includes/class-mla-settings.php:3128
4067
  #, php-format
4068
  msgid "Error log file (%1$s) not found; click Reset to create it."
4069
  msgstr ""
4070
 
4071
- #: includes/class-mla-settings.php:3151
4072
- msgid "Reset"
4073
- msgstr ""
4074
-
4075
- #: includes/class-mla-settings.php:3168 includes/class-mla-settings.php:3180
4076
  msgid "Debug Options"
4077
  msgstr ""
4078
 
4079
- #: includes/class-mla-settings.php:3171
4080
  msgid "Debug Settings"
4081
  msgstr ""
4082
 
4083
  #. translators: 1: "Save Changes"
4084
- #: includes/class-mla-settings.php:3180
4085
  #, php-format
4086
  msgid "Click %1$s to update the %2$s."
4087
  msgstr ""
4088
 
4089
- #: includes/class-mla-settings.php:3199
4090
  msgid "You do not have permission to manage plugin settings."
4091
  msgstr ""
4092
 
4093
- #: includes/class-mla-settings.php:3233
4094
  msgid "Cannot render content tab"
4095
  msgstr ""
4096
 
4097
- #: includes/class-mla-settings.php:3236
4098
  msgid "Unknown content tab"
4099
  msgstr ""
4100
 
4101
  #. translators: 1: template type 2: template name
4102
- #: includes/class-mla-settings.php:3328 includes/class-mla-settings.php:3417
4103
  #, php-format
4104
  msgctxt "message_list"
4105
  msgid "Deleting %1$s \"%2$s\"."
4106
  msgstr ""
4107
 
4108
  #. translators: 1: ERROR tag 2: template name 3: template type
4109
- #: includes/class-mla-settings.php:3339 includes/class-mla-settings.php:3430
4110
  #, php-format
4111
  msgid "%1$s: Reserved name \"%2$s\", new %3$s discarded."
4112
  msgstr ""
4113
 
4114
  #. translators: 1: ERROR tag 2: template name 3: template type
4115
- #: includes/class-mla-settings.php:3345 includes/class-mla-settings.php:3436
4116
  #, php-format
4117
  msgid "%1$s: Duplicate name \"%2$s\", new %3$s discarded."
4118
  msgstr ""
4119
 
4120
  #. translators: 1: template type 2: template name
4121
- #: includes/class-mla-settings.php:3349 includes/class-mla-settings.php:3440
4122
  #, php-format
4123
  msgctxt "message_list"
4124
  msgid "Adding new %1$s \"%2$s\"."
4125
  msgstr ""
4126
 
4127
  #. translators: 1: ERROR tag 2: element name 3: old value
4128
- #: includes/class-mla-settings.php:3359 includes/class-mla-settings.php:3450
4129
  #, php-format
4130
  msgid "%1$s: Blank %2$s, reverting to \"%3$s\"."
4131
  msgstr ""
4132
 
4133
- #: includes/class-mla-settings.php:3359 includes/class-mla-settings.php:3366
4134
- #: includes/class-mla-settings.php:3370
4135
  msgid "style template name"
4136
  msgstr ""
4137
 
4138
  #. translators: 1: ERROR tag 2: element name 3: new value 4: old value
4139
- #: includes/class-mla-settings.php:3366 includes/class-mla-settings.php:3457
4140
  #, php-format
4141
  msgid "%1$s: Duplicate new %2$s \"%3$s\", reverting to \"%4$s\"."
4142
  msgstr ""
4143
 
4144
  #. translators: 1: element name 2: old_value 3: new_value
4145
- #: includes/class-mla-settings.php:3370 includes/class-mla-settings.php:3461
4146
  #, php-format
4147
  msgctxt "message_list"
4148
  msgid "Changing %1$s from \"%2$s\" to \"%3$s\""
4149
  msgstr ""
4150
 
4151
  #. translators: 1: template type 2: template name
4152
- #: includes/class-mla-settings.php:3377
4153
  #, php-format
4154
  msgctxt "message_list"
4155
  msgid "Updating contents of %1$s \"%2$s\"."
4156
  msgstr ""
4157
 
4158
  #. translators: 1: ERROR tag 2: template type
4159
- #: includes/class-mla-settings.php:3388 includes/class-mla-settings.php:3509
4160
  #, php-format
4161
  msgid "%1$s: Update of %2$s failed."
4162
  msgstr ""
4163
 
4164
- #: includes/class-mla-settings.php:3450 includes/class-mla-settings.php:3457
4165
- #: includes/class-mla-settings.php:3461
4166
  msgid "markup template name"
4167
  msgstr ""
4168
 
4169
  #. translators: 1: template name
4170
- #: includes/class-mla-settings.php:3469
4171
  #, php-format
4172
  msgctxt "message_list"
4173
  msgid "Updating open markup for \"%1$s\"."
4174
  msgstr ""
4175
 
4176
  #. translators: 1: template name
4177
- #: includes/class-mla-settings.php:3475
4178
  #, php-format
4179
  msgctxt "message_list"
4180
  msgid "Updating row open markup for \"%1$s\"."
4181
  msgstr ""
4182
 
4183
  #. translators: 1: template name
4184
- #: includes/class-mla-settings.php:3481
4185
  #, php-format
4186
  msgctxt "message_list"
4187
  msgid "Updating item markup for \"%1$s\"."
4188
  msgstr ""
4189
 
4190
  #. translators: 1: template name
4191
- #: includes/class-mla-settings.php:3487
4192
  #, php-format
4193
  msgctxt "message_list"
4194
  msgid "Updating row close markup for \"%1$s\"."
4195
  msgstr ""
4196
 
4197
  #. translators: 1: template name
4198
- #: includes/class-mla-settings.php:3493
4199
  #, php-format
4200
  msgctxt "message_list"
4201
  msgid "Updating close markup for \"%1$s\"."
4202
  msgstr ""
4203
 
4204
  #. translators: 1: field type
4205
- #: includes/class-mla-settings.php:3518
4206
  #, php-format
4207
  msgid "%1$s no changes detected."
4208
  msgstr ""
4209
 
4210
- #: includes/class-mla-settings.php:3553
4211
  msgid "View settings saved."
4212
  msgstr ""
4213
 
4214
- #: includes/class-mla-settings.php:3587
4215
  msgid "Upload MIME Type settings saved."
4216
  msgstr ""
4217
 
4218
- #: includes/class-mla-settings.php:3630
4219
  msgid "No custom field mapping rules to process."
4220
  msgstr ""
4221
 
4222
  #. translators: 1: field type 2: examined count 3: updated count
4223
- #: includes/class-mla-settings.php:3660 includes/class-mla-settings.php:3799
4224
- #: includes/class-mla-settings.php:3870 includes/class-mla-settings.php:3956
4225
  #, php-format
4226
  msgid "%1$s mapping completed; %2$d attachment(s) examined, %3$d updated."
4227
  msgstr ""
4228
 
4229
  #. translators: 1: field type 2: examined count
4230
- #: includes/class-mla-settings.php:3663 includes/class-mla-settings.php:3802
4231
- #: includes/class-mla-settings.php:3873 includes/class-mla-settings.php:3959
4232
  #, php-format
4233
  msgid ""
4234
  "%1$s mapping completed; %2$d attachment(s) examined, no changes detected."
4235
  msgstr ""
4236
 
4237
  #. translators: 1: number of attachments
4238
- #: includes/class-mla-settings.php:3694
4239
  #, php-format
4240
  msgid "%s attachment"
4241
  msgid_plural "%s attachments"
@@ -4243,458 +3042,346 @@ msgstr[0] ""
4243
  msgstr[1] ""
4244
 
4245
  #. translators: 1: singular/plural number of attachments
4246
- #: includes/class-mla-settings.php:3696
4247
  #, php-format
4248
  msgid "Deleted custom field value from %1$s."
4249
  msgstr ""
4250
 
4251
- #: includes/class-mla-settings.php:3699
4252
  msgid "No attachments contained this custom field."
4253
  msgstr ""
4254
 
4255
  #. translators: 1: ERROR tag 2: field type
4256
- #: includes/class-mla-settings.php:3760 includes/class-mla-settings.php:3831
4257
- #: includes/class-mla-settings.php:3917
4258
  #, php-format
4259
  msgid "%1$s: No %2$s settings to process."
4260
  msgstr ""
4261
 
4262
- #: includes/class-mla-settings.php:3790 includes/class-mla-settings.php:3861
4263
- #: includes/class-mla-settings.php:3947
4264
  msgid "updated."
4265
  msgstr ""
4266
 
4267
  #. translators: 1: reference type, e.g., Gallery in
4268
- #: includes/class-mla-settings.php:4052 includes/class-mla-settings.php:4062
4269
  #, php-format
4270
  msgctxt "message_list"
4271
  msgid "%1$s - references updated."
4272
  msgstr ""
4273
 
4274
- #: includes/class-mla-settings.php:4105
4275
  msgid "General settings saved."
4276
  msgstr ""
4277
 
4278
- #: includes/class-mla-settings.php:4144
4279
  msgid "General settings reset to default values."
4280
  msgstr ""
4281
 
4282
- #: includes/class-mla-settings.php:4186
4283
  msgid "select settings"
4284
  msgstr ""
4285
 
4286
- #: includes/class-mla-settings.php:4206
4287
  msgid "Import ALL Settings"
4288
  msgstr ""
4289
 
4290
- #: includes/class-mla-settings.php:4231
4291
  msgctxt "message_list"
4292
  msgid "exported"
4293
  msgstr ""
4294
 
4295
- #: includes/class-mla-settings.php:4233
4296
  msgctxt "message_list"
4297
  msgid "skipped"
4298
  msgstr ""
4299
 
4300
- #: includes/class-mla-settings.php:4240
4301
  msgid "ALL settings exported."
4302
  msgstr ""
4303
 
4304
  #. translators: 1: ERROR tag 2: backup directory name
4305
- #: includes/class-mla-settings.php:4251
4306
  #, php-format
4307
  msgid "%1$s: The settings directory ( %2$s ) cannot be created."
4308
  msgstr ""
4309
 
4310
  #. translators: 1: ERROR tag 2: backup directory name
4311
- #: includes/class-mla-settings.php:4255
4312
  #, php-format
4313
  msgid "%1$s: The settings directory ( %2$s ) is not writable."
4314
  msgstr ""
4315
 
4316
  #. translators: 1: ERROR tag 2: backup file name
4317
- #: includes/class-mla-settings.php:4266
4318
  #, php-format
4319
  msgid "%1$s: The settings file ( %2$s ) could not be opened."
4320
  msgstr ""
4321
 
4322
  #. translators: 1: ERROR tag 2: PHP error information
4323
- #: includes/class-mla-settings.php:4273
4324
  #, php-format
4325
  msgctxt "error_log"
4326
  msgid "%1$s: _export_settings $error_info = \"%2$s\"."
4327
  msgstr ""
4328
 
4329
  #. translators: 1: ERROR tag 2: backup file name 3: error message
4330
- #: includes/class-mla-settings.php:4282
4331
  #, php-format
4332
  msgid "%1$s: Writing the settings file ( %2$s ) \"%3$s\"."
4333
  msgstr ""
4334
 
4335
  #. translators: 1: number of option settings
4336
- #: includes/class-mla-settings.php:4288
4337
  #, php-format
4338
  msgid "Settings exported; %1$s settings recorded."
4339
  msgstr ""
4340
 
4341
- #: includes/class-mla-settings.php:4306
4342
  msgid "No settings imported."
4343
  msgstr ""
4344
 
4345
- #: includes/class-mla-settings.php:4315
4346
  msgid "Please select an import settings file from the dropdown list."
4347
  msgstr ""
4348
 
4349
- #: includes/class-mla-settings.php:4319
4350
  msgid "The import settings dropdown selection is missing."
4351
  msgstr ""
4352
 
4353
  #. translators: 1: ERROR tag 2: PHP error information
4354
- #: includes/class-mla-settings.php:4327
4355
  #, php-format
4356
  msgctxt "error_log"
4357
  msgid "%1$s: _import_settings $error_info = \"%2$s\"."
4358
  msgstr ""
4359
 
4360
  #. translators: 1: ERROR tag 2: backup file name 3: error message
4361
- #: includes/class-mla-settings.php:4336
4362
  #, php-format
4363
  msgid "%1$s: Reading the settings file ( %2$s ) \"%3$s\"."
4364
  msgstr ""
4365
 
4366
- #: includes/class-mla-settings.php:4346
4367
  msgctxt "message_list"
4368
  msgid "updated"
4369
  msgstr ""
4370
 
4371
- #: includes/class-mla-settings.php:4349
4372
  msgctxt "message_list"
4373
  msgid "unchanged"
4374
  msgstr ""
4375
 
4376
  #. translators: 1: number of option settings updated 2: number of option settings unchanged
4377
- #: includes/class-mla-settings.php:4354
4378
  #, php-format
4379
  msgid "Settings imported; %1$s updated, %2$s unchanged."
4380
  msgstr ""
4381
 
4382
- #: includes/class-mla-shortcodes.php:321
4383
- #: includes/class-mla-shortcodes.php:1490
4384
- #: includes/class-mla-shortcodes.php:2407
4385
- #: includes/class-mla-shortcodes.php:2694
4386
  msgid "Previous"
4387
  msgstr ""
4388
 
4389
- #: includes/class-mla-shortcodes.php:322
4390
- #: includes/class-mla-shortcodes.php:1491
4391
- #: includes/class-mla-shortcodes.php:2456
4392
- #: includes/class-mla-shortcodes.php:2700
4393
  msgid "Next"
4394
  msgstr ""
4395
 
4396
- #: includes/class-mla-shortcodes.php:438
4397
  msgid "mla_debug empty gallery"
4398
  msgstr ""
4399
 
4400
- #: includes/class-mla-shortcodes.php:505
4401
  msgid ""
4402
  "<strong>Photonic-enhanced [mla_gallery]</strong> type must be "
4403
  "<strong>default</strong>, query = "
4404
  msgstr ""
4405
 
4406
- #: includes/class-mla-shortcodes.php:878
4407
  msgid "unknown"
4408
  msgstr ""
4409
 
4410
- #: includes/class-mla-shortcodes.php:1633
4411
  msgid "mla_debug attributes"
4412
  msgstr ""
4413
 
4414
- #: includes/class-mla-shortcodes.php:1634
4415
  msgid "mla_debug arguments"
4416
  msgstr ""
4417
 
4418
- #: includes/class-mla-shortcodes.php:1725
4419
  msgid "mla_debug empty cloud"
4420
  msgstr ""
4421
 
4422
- #: includes/class-mla-shortcodes.php:3075
4423
- #: includes/class-mla-shortcodes.php:3403
4424
- #: includes/class-mla-shortcodes.php:3434
4425
  msgid "Invalid mla_gallery"
4426
  msgstr ""
4427
 
4428
- #: includes/class-mla-shortcodes.php:3678
4429
  msgid "mla_debug query"
4430
  msgstr ""
4431
 
4432
- #: includes/class-mla-shortcodes.php:3679
4433
  msgid "mla_debug request"
4434
  msgstr ""
4435
 
4436
- #: includes/class-mla-shortcodes.php:3680
4437
  msgid "mla_debug query_vars"
4438
  msgstr ""
4439
 
4440
- #: includes/class-mla-shortcodes.php:3681
4441
  msgid "mla_debug post_count"
4442
  msgstr ""
4443
 
4444
- #: includes/class-mla-shortcodes.php:3749
4445
  msgid "mla_debug WHERE filter"
4446
  msgstr ""
4447
 
4448
- #: includes/class-mla-shortcodes.php:3768
4449
  msgid "mla_debug modified WHERE filter"
4450
  msgstr ""
4451
 
4452
- #: includes/class-mla-shortcodes.php:3791
4453
  msgid "mla_debug ORDER BY filter, incoming"
4454
  msgstr ""
4455
 
4456
- #: includes/class-mla-shortcodes.php:3791
4457
  msgid "Replacement ORDER BY clause"
4458
  msgstr ""
4459
 
4460
- #: includes/class-mla-shortcodes.php:3814
4461
  msgid "mla_debug posts_clauses filter"
4462
  msgstr ""
4463
 
4464
- #: includes/class-mla-shortcodes.php:3832
4465
  msgid "mla_debug posts_clauses_request filter"
4466
  msgstr ""
4467
 
4468
- #: includes/class-mla-shortcodes.php:4022
4469
  msgid "Invalid taxonomy"
4470
  msgstr ""
4471
 
4472
- #: includes/class-mla-shortcodes.php:4228
4473
  msgid "mla_debug query arguments"
4474
  msgstr ""
4475
 
4476
- #: includes/class-mla-shortcodes.php:4229
4477
  msgid "mla_debug last_query"
4478
  msgstr ""
4479
 
4480
- #: includes/class-mla-shortcodes.php:4230
4481
  msgid "mla_debug last_error"
4482
  msgstr ""
4483
 
4484
- #: includes/class-mla-shortcodes.php:4231
4485
  msgid "mla_debug num_rows"
4486
  msgstr ""
4487
 
4488
- #: includes/class-mla-shortcodes.php:4232
4489
  msgid "mla_debug found_rows"
4490
  msgstr ""
4491
 
4492
- #: includes/class-mla-thumbnail-generation.php:88
4493
  msgid "Error while saving the thumbnails."
4494
  msgstr ""
4495
 
4496
- #: includes/class-mla-thumbnail-generation.php:89
4497
  msgid "Remove From"
4498
  msgstr ""
4499
 
4500
- #: includes/class-mla-thumbnail-generation.php:89
4501
- #: includes/class-mla-thumbnail-generation.php:91
4502
- #: includes/class-mla-thumbnail-generation.php:421
4503
  msgid "Generate Thumbnails"
4504
  msgstr ""
4505
 
4506
  #. translators: 1: post ID
4507
- #: includes/class-mla-thumbnail-generation.php:211
4508
  #, php-format
4509
  msgid "Item %1$d"
4510
  msgstr ""
4511
 
4512
- #: includes/class-mla-thumbnail-generation.php:218
4513
  msgid "has native thumbnail."
4514
  msgstr ""
4515
 
4516
- #: includes/class-mla-thumbnail-generation.php:239
4517
  msgid "Featured Image retained."
4518
  msgstr ""
4519
 
4520
  #. translators: 1: ERROR tag 2: Item post ID
4521
- #: includes/class-mla-thumbnail-generation.php:249
4522
  #, php-format
4523
  msgid "%1$s: %2$sno attached file."
4524
  msgstr ""
4525
 
4526
- #: includes/class-mla-thumbnail-generation.php:253
4527
  msgid "unsupported file type."
4528
  msgstr ""
4529
 
4530
  #. translators: 1: ERROR tag 2: Item post ID
4531
- #: includes/class-mla-thumbnail-generation.php:263
4532
  #, php-format
4533
  msgid "%1$s: %2$sthumbnail generation failed"
4534
  msgstr ""
4535
 
4536
  #. translators: 1: ERROR tag 2: Item post ID
4537
- #: includes/class-mla-thumbnail-generation.php:309
4538
  #, php-format
4539
  msgid "%1$s: %2$swp_insert_attachment failed."
4540
  msgstr ""
4541
 
4542
  #. translators: 1: Item post ID, 2: new thumbnail item ID
4543
- #: includes/class-mla-thumbnail-generation.php:326
4544
  #, php-format
4545
  msgid "%1$sthumbnail generated as new item %2$s."
4546
  msgstr ""
4547
 
4548
- #: includes/class-mla-thumbnail-generation.php:370
4549
  msgid "Generated Thumbnails"
4550
  msgstr ""
4551
 
4552
- #: includes/class-mla-thumbnail-generation.php:422
4553
  msgid ""
4554
  "Pull down the Help menu and select Thumbnail Generation for setting details"
4555
  msgstr ""
4556
 
4557
- #: includes/class-mla-thumbnail-generation.php:423
4558
  msgid "Width"
4559
  msgstr ""
4560
 
4561
- #: includes/class-mla-thumbnail-generation.php:424
4562
  msgid "Height"
4563
  msgstr ""
4564
 
4565
- #: includes/class-mla-thumbnail-generation.php:425
4566
  msgid "Best Fit"
4567
  msgstr ""
4568
 
4569
- #: includes/class-mla-thumbnail-generation.php:426
4570
  msgid "Page"
4571
  msgstr ""
4572
 
4573
- #: includes/class-mla-thumbnail-generation.php:427
4574
  msgid "Resolution"
4575
  msgstr ""
4576
 
4577
- #: includes/class-mla-thumbnail-generation.php:428
4578
  msgid "Quality"
4579
  msgstr ""
4580
 
4581
- #: includes/class-mla-thumbnail-generation.php:430
4582
  msgid "Existing Items"
4583
  msgstr ""
4584
 
4585
- #: includes/class-mla-thumbnail-generation.php:432
4586
  msgid "Ignore"
4587
  msgstr ""
4588
 
4589
- #: includes/class-mla-thumbnail-generation.php:434
4590
  msgid "Delete"
4591
  msgstr ""
4592
 
4593
- #: includes/class-mla-thumbnail-generation.php:435
4594
  msgid "Suffix"
4595
  msgstr ""
4596
 
4597
- #: includes/class-mla-upload-list-table.php:184
4598
- #: includes/class-mla-upload-optional-list-table.php:167
4599
  msgctxt "list_table_column"
4600
  msgid "Extension"
4601
  msgstr ""
4602
 
4603
- #: includes/class-mla-upload-list-table.php:186
4604
  msgctxt "list_table_column"
4605
  msgid "Icon Type"
4606
  msgstr ""
4607
 
4608
- #: includes/class-mla-upload-list-table.php:187
4609
  msgctxt "list_table_column"
4610
  msgid "Source"
4611
  msgstr ""
4612
 
4613
- #: includes/class-mla-upload-list-table.php:188
4614
  msgctxt "list_table_column"
4615
  msgid "Status"
4616
  msgstr ""
4617
 
4618
- #: includes/class-mla-upload-list-table.php:189
4619
- #: includes/class-mla-upload-optional-list-table.php:169
4620
  msgctxt "list_table_column"
4621
  msgid "WordPress Type"
4622
  msgstr ""
4623
 
4624
- #: includes/class-mla-upload-list-table.php:190
4625
- #: includes/class-mla-upload-optional-list-table.php:170
4626
  msgctxt "list_table_column"
4627
  msgid "MLA Type"
4628
  msgstr ""
4629
 
4630
- #: includes/class-mla-upload-list-table.php:191
4631
  msgctxt "list_table_column"
4632
  msgid "Std. Source"
4633
  msgstr ""
4634
 
4635
- #: includes/class-mla-upload-list-table.php:192
4636
  msgctxt "list_table_column"
4637
  msgid "Std. Icon Type"
4638
  msgstr ""
4639
 
4640
- #: includes/class-mla-upload-list-table.php:412
4641
- #: includes/class-mla-view-list-table.php:357
4642
  msgid "Revert to standard item"
4643
  msgstr ""
4644
 
4645
- #: includes/class-mla-upload-list-table.php:412
4646
- #: includes/class-mla-view-list-table.php:357
4647
  msgid "Revert to Standard"
4648
  msgstr ""
4649
 
4650
- #: includes/class-mla-upload-list-table.php:711
4651
  msgid "Delete/Revert Custom"
4652
  msgstr ""
4653
 
4654
- #: includes/class-mla-upload-optional-list-table.php:281
4655
  msgid "Select this entry"
4656
  msgstr ""
4657
 
4658
- #: includes/class-mla-upload-optional-list-table.php:414
4659
  msgid "Select these entries"
4660
  msgstr ""
4661
 
4662
- #: includes/class-mla-view-list-table.php:173
4663
  msgctxt "list_table_column"
4664
  msgid "Specification"
4665
  msgstr ""
4666
 
4667
- #: includes/class-mla-view-list-table.php:174
4668
  msgctxt "list_table_column"
4669
  msgid "Post Mime"
4670
  msgstr ""
4671
 
4672
- #: includes/class-mla-view-list-table.php:175
4673
  msgctxt "list_table_column"
4674
  msgid "Table View"
4675
  msgstr ""
4676
 
4677
- #: includes/class-mla-view-list-table.php:176
4678
  msgctxt "list_table_column"
4679
  msgid "Singular Name"
4680
  msgstr ""
4681
 
4682
- #: includes/class-mla-view-list-table.php:177
4683
  msgctxt "list_table_column"
4684
  msgid "Plural Name"
4685
  msgstr ""
4686
 
4687
- #: includes/class-mla-view-list-table.php:178
4688
  msgctxt "list_table_column"
4689
  msgid "Order"
4690
  msgstr ""
4691
 
4692
- #: includes/class-mla-wpml-support.php:395
4693
  msgid "Duplicate translation created; update as desired."
4694
  msgstr ""
4695
 
4696
  #. translators: 1: - 4: page subheader values
4697
- #: includes/class-mla-wpml-support.php:1322
4698
  #, php-format
4699
  msgid ""
4700
  "In this tab you can find a number of options for controlling WPML-specific "
@@ -4702,27 +3389,25 @@ msgid ""
4702
  "\"Save Changes\" at the bottom of the tab to save any changes you make."
4703
  msgstr ""
4704
 
4705
- #: includes/class-mla-wpml-support.php:1824
4706
- #: includes/class-mla-wpml-support.php:1830
4707
  #, php-format
4708
  msgid "Edit the %s translation"
4709
  msgstr ""
4710
 
4711
- #: includes/class-mla-wpml-support.php:1836
4712
  #, php-format
4713
  msgid "Add translation to %s"
4714
  msgstr ""
4715
 
4716
- #: includes/mla-main-search-box-template.php:42
4717
- #: includes/mla-main-search-box-template.php:44
4718
- #: includes/mla-media-modal-js-template.php:24
4719
  msgid "Search Media"
4720
  msgstr ""
4721
 
4722
- #: includes/mla-plugin-loader.php:43
4723
  msgid "The Media Library Assistant cannot load."
4724
  msgstr ""
4725
 
4726
- #: includes/mla-plugin-loader.php:45
4727
  msgid "You must resolve these conflicts before this plugin can safely load."
4728
  msgstr ""
 
 
 
 
 
 
1
+ #, fuzzy
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: Media Library Assistant\n"
5
+ "POT-Creation-Date: 2015-10-09 19:32-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"
9
  "Language: en_US\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Generator: Poedit 1.8.4\n"
14
  "X-Poedit-Basepath: ..\n"
15
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
  "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
18
  "X-Poedit-SourceCharset: UTF-8\n"
19
  "X-Poedit-SearchPath-0: includes\n"
20
  "X-Poedit-SearchPath-1: tests\n"
21
+ "X-Poedit-SearchPath-2: index.php\n"
22
 
23
  #. translators: 1: ERROR tag 2: index
 
24
  #, php-format
25
  msgctxt "error_log"
26
  msgid "%1$s: _build_pdf_indirect_objects bad value at $index = \"%2$d\"."
27
  msgstr ""
28
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  msgid "ERROR"
30
  msgstr ""
31
 
32
  #. translators: 1: ERROR tag 2: source offset 3: nest level
 
33
  #, php-format
34
  msgctxt "error_log"
35
  msgid "%1$s: _parse_pdf_dictionary offset = %2$d, nest = %3$d."
36
  msgstr ""
37
 
38
  #. translators: 1: ERROR tag 2: dictionary excerpt
 
39
  #, php-format
40
  msgctxt "error_log"
41
  msgid "%1$s: _parse_pdf_dictionary no end delimiter dump = %2$s."
42
  msgstr ""
43
 
44
  #. translators: 1: ERROR tag 2: entry name 3: value excerpt
 
45
  #, php-format
46
  msgctxt "error_log"
47
  msgid "%1$s: _parse_pdf_dictionary bad value [ %2$s ] dump = %3$s"
48
  msgstr ""
49
 
50
  #. translators: 1: ERROR tag 2: path and file
 
51
  #, php-format
52
  msgctxt "error_log"
53
  msgid "%1$s: File \"%2$s\", startxref not found."
54
  msgstr ""
55
 
56
  #. translators: 1: ERROR tag 2: path and file name
 
57
  #, php-format
58
  msgctxt "error_log"
59
  msgid "%1$s: mla_load_template file \"%2$s\" not found."
60
  msgstr ""
61
 
62
  #. translators: 1: ERROR tag 2: path and file name 3: source type, e.g., file, option, string
 
63
  #, php-format
64
  msgctxt "error_log"
65
  msgid "%1$s: mla_load_template file \"%2$s\" bad source type \"%3$s\"."
66
  msgstr ""
67
 
68
  #. translators: 1: ERROR tag 2: template excerpt
 
69
  #, php-format
70
  msgctxt "error_log"
71
  msgid ""
73
  msgstr ""
74
 
75
  #. translators: 1: ERROR tag 2: template excerpt
 
76
  #, php-format
77
  msgctxt "error_log"
78
  msgid ""
80
  msgstr ""
81
 
82
  #. translators: 1: ERROR tag 2: template excerpt
 
83
  #, php-format
84
  msgctxt "error_log"
85
  msgid "%1$s: mla_parse_template no end delimiter, tail = \"%2$s\"."
86
  msgstr ""
87
 
88
  #. translators: 1: ERROR tag 2: template string
 
89
  #, php-format
90
  msgctxt "error_log"
91
  msgid "%1$s: _find_test_substring no end delimiter, tail = \"%2$s\"."
92
  msgstr ""
93
 
 
94
  msgid "Test; no closing parenthesis "
95
  msgstr ""
96
 
97
  #. translators: 1: ERROR tag 2: node type, e.g., template
 
98
  #, php-format
99
  msgctxt "error_log"
100
  msgid "%1$s: _evaluate_template_array_node unknown type \"%2$s\"."
101
  msgstr ""
102
 
103
  #. translators: 1: ERROR tag 2: node type, e.g., template
 
104
  #, php-format
105
  msgctxt "error_log"
106
  msgid "%1$s: _evaluate_template_node unknown type \"%2$s\"."
107
  msgstr ""
108
 
109
  #. translators: 1: ERROR tag 2: template excerpt
 
110
  #, php-format
111
  msgctxt "error_log"
112
  msgid ""
115
  msgstr ""
116
 
117
  #. translators: 1: ERROR tag 2: function name 3: non-array value
 
 
 
 
 
 
 
118
  #, php-format
119
  msgctxt "error_log"
120
  msgid "%1$s: %2$s non-array \"%3$s\""
121
  msgstr ""
122
 
123
  #. translators: 1: DEBUG tag 2: query filter details
 
124
  #, php-format
125
  msgctxt "error_log"
126
  msgid "%1$s: _execute_list_table_query $wp_filter = \"%2$s\"."
127
  msgstr ""
128
 
 
 
 
 
 
129
  msgid "DEBUG"
130
  msgstr ""
131
 
132
  #. translators: 1: DEBUG tag 2: query details
 
133
  #, php-format
134
  msgctxt "error_log"
135
  msgid "%1$s: _execute_list_table_query WP_Query = \"%2$s\"."
136
  msgstr ""
137
 
138
  #. translators: 1: DEBUG tag 2: SQL statement
 
139
  #, php-format
140
  msgctxt "error_log"
141
  msgid "%1$s: _execute_list_table_query SQL_request = \"%2$s\"."
142
  msgstr ""
143
 
144
  #. translators: 1: DEBUG tag 2: search filter details
 
145
  #, php-format
146
  msgctxt "error_log"
147
  msgid "%1$s: mla_query_posts_search_filter = \"%2$s\"."
148
  msgstr ""
149
 
150
  #. translators: 1: DEBUG tag 2: where filter details
 
151
  #, php-format
152
  msgctxt "error_log"
153
  msgid "%1$s: mla_query_posts_where_filter = \"%2$s\"."
154
  msgstr ""
155
 
156
  #. translators: 1: DEBUG tag 2: join filter details
 
157
  #, php-format
158
  msgctxt "error_log"
159
  msgid "%1$s: mla_query_posts_join_filter = \"%2$s\"."
160
  msgstr ""
161
 
162
  #. translators: 1: DEBUG tag 2: orderby details details
 
163
  #, php-format
164
  msgctxt "error_log"
165
  msgid "%1$s: mla_query_posts_orderby_filter = \"%2$s\"."
166
  msgstr ""
167
 
168
  #. translators: 1: DEBUG tag 2: SQL clauses
 
169
  #, php-format
170
  msgctxt "error_log"
171
  msgid "%1$s: mla_query_posts_clauses_filter = \"%2$s\"."
172
  msgstr ""
173
 
174
  #. translators: 1: DEBUG tag 2: SQL clauses
 
175
  #, php-format
176
  msgctxt "error_log"
177
  msgid "%1$s: mla_query_posts_clauses_request_filter = \"%2$s\"."
178
  msgstr ""
179
 
180
  #. translators: 1: ERROR tag 2: post ID
 
181
  #, php-format
182
  msgctxt "error_log"
183
  msgid "%1$s: mla_get_attachment_by_id(%2$d) not found."
184
  msgstr ""
185
 
186
  #. translators: 1: ERROR tag 2: post ID 3: post_type
 
187
  #, php-format
188
  msgctxt "error_log"
189
  msgid "%1$s: mla_get_attachment_by_id(%2$d) wrong post_type \"%3$s\"."
190
  msgstr ""
191
 
 
 
192
  msgid "NO REFERENCE TESTS"
193
  msgstr ""
194
 
 
 
195
  msgid "ORPHAN"
196
  msgstr ""
197
 
 
198
  msgid "UNUSED"
199
  msgstr ""
200
 
 
201
  msgid "UNATTACHED"
202
  msgstr ""
203
 
 
204
  msgid "INVALID PARENT"
205
  msgstr ""
206
 
207
  #. translators: 1: post_type, 2: post_title, 3: post ID, 4: query string, 5: error message
 
208
  #, php-format
209
  msgid "(%1$s) %2$s (ID %3$d) query \"%4$s\" failed, returning \"%5$s\""
210
  msgstr ""
211
 
 
212
  msgctxt "error_log"
213
  msgid "mla_parse_xmp_metadata xml_parse_into_struct failed."
214
  msgstr ""
215
 
 
216
  msgctxt "error_log"
217
  msgid "mla_parse_xmp_metadata set option failed."
218
  msgstr ""
219
 
 
 
 
220
  msgid "Yes"
221
  msgstr ""
222
 
 
 
 
 
223
  msgid "No"
224
  msgstr ""
225
 
226
  #. translators: 1: meta_key
 
227
  #, php-format
228
  msgid "Deleting %1$s"
229
  msgstr ""
230
 
231
  #. translators: 1: ERROR tag 2: meta_key
 
232
  #, php-format
233
  msgid "%1$s: meta:%2$s not found"
234
  msgstr ""
236
  #. translators: 1: meta_key 2: meta_value
237
  #. translators: 1: meta_key 2: new_value
238
  #. translators: 1: meta_key 2: meta_value
 
 
239
  #, php-format
240
  msgid "Adding %1$s = %2$s"
241
  msgstr ""
242
 
243
  #. translators: 1: ERROR tag 2: meta_key
 
244
  #, php-format
245
  msgid "%1$s: Adding meta:%2$s; not found"
246
  msgstr ""
247
 
248
  #. translators: 1: meta_key
 
249
  #, php-format
250
  msgid "Deleting Null meta:%1$s"
251
  msgstr ""
252
 
253
  #. translators: 1: element name 2: old_value 3: new_value
 
 
 
 
 
 
 
 
254
  #, php-format
255
  msgid "Changing %1$s from \"%2$s\" to \"%3$s\""
256
  msgstr ""
257
 
258
  #. translators: 1: ERROR tag 2: meta_key
 
259
  #, php-format
260
  msgid "%1$s: Changing meta:%2$s; not found"
261
  msgstr ""
262
 
263
  #. translators: 1: meta_key
 
264
  #, php-format
265
  msgid "Deleting old %1$s values"
266
  msgstr ""
267
 
268
  #. translators: 1: meta_key 2: old_value 3: new_value 4: update count
 
269
  #, php-format
270
  msgid "Changing %1$s from \"%2$s\" to \"%3$s\"; %4$d updates"
271
  msgstr ""
272
 
 
273
  msgid "Could not retrieve Attachment."
274
  msgstr ""
275
 
 
 
 
 
 
 
276
  msgid "Title"
277
  msgstr ""
278
 
279
  #. translators: 1: ERROR tag 2: old_value
 
280
  #, php-format
281
  msgid "%1$s: Could not change Name/Slug \"%2$s\"; name already exists"
282
  msgstr ""
283
 
 
 
284
  msgid "Name/Slug"
285
  msgstr ""
286
 
287
  #. translators: 1: old_value
 
288
  #, php-format
289
  msgid "Deleting ALT Text, was \"%1$s\""
290
  msgstr ""
291
 
292
  #. translators: 1: ERROR tag 2: old_value
 
293
  #, php-format
294
  msgid "%1$s: Could not delete ALT Text, remains \"%2$s\""
295
  msgstr ""
296
 
 
 
 
 
 
297
  msgid "ALT Text"
298
  msgstr ""
299
 
300
  #. translators: 1: ERROR tag 2: old_value 3: new_value
 
301
  #, php-format
302
  msgid "%1$s: Could not change ALT Text from \"%2$s\" to \"%3$s\""
303
  msgstr ""
304
 
 
 
 
 
 
305
  msgid "Caption"
306
  msgstr ""
307
 
 
 
 
 
 
 
 
308
  msgid "Description"
309
  msgstr ""
310
 
 
 
 
311
  msgid "Parent"
312
  msgstr ""
313
 
 
 
 
314
  msgid "Menu Order"
315
  msgstr ""
316
 
 
 
 
 
317
  msgid "Author"
318
  msgstr ""
319
 
 
 
320
  msgid "Comments"
321
  msgstr ""
322
 
 
 
323
  msgid "Pings"
324
  msgstr ""
325
 
 
326
  msgid "Adding"
327
  msgstr ""
328
 
 
329
  msgid "Removing"
330
  msgstr ""
331
 
 
332
  msgid "Replacing"
333
  msgstr ""
334
 
 
335
  msgid "Ignoring"
336
  msgstr ""
337
 
338
  #. translators: 1: action_name, 2: taxonomy
 
339
  #, php-format
340
  msgid "%1$s \"%2$s\" terms"
341
  msgstr ""
342
 
343
  #. translators: 1: taxonomy
 
344
  #, php-format
345
  msgid "You cannot assign \"%1$s\" terms"
346
  msgstr ""
347
 
348
  #. translators: 1: post ID
 
349
  #, php-format
350
  msgid "Item %1$d, no changes detected."
351
  msgstr ""
352
 
353
  #. translators: 1: post ID
 
354
  #, php-format
355
  msgid "Item %1$d updated."
356
  msgstr ""
357
 
358
  #. translators: 1: ERROR tag 2: post ID
 
359
  #, php-format
360
  msgid "%1$s: Item %2$d update failed."
361
  msgstr ""
362
 
 
 
 
 
 
 
 
363
  msgctxt "tag_delimiter"
364
  msgid ","
365
  msgstr ""
366
 
 
367
  msgid "Upload New Media items"
368
  msgstr ""
369
 
370
+ msgid "Open Bulk Edit area"
 
 
371
  msgstr ""
372
 
373
+ msgid "Close Bulk Edit area"
 
 
374
  msgstr ""
375
 
376
+ msgid "An ajax.fail error has occurred. Please reload the page and try again."
 
377
  msgstr ""
378
 
379
+ msgid "An ajax.done error has occurred. Please reload the page and try again."
 
380
  msgstr ""
381
 
 
382
  msgid "more"
383
  msgstr ""
384
 
 
385
  msgid "less"
386
  msgstr ""
387
 
 
 
388
  msgid "Add"
389
  msgstr ""
390
 
 
 
391
  msgid "Remove"
392
  msgstr ""
393
 
 
 
 
 
 
 
394
  msgid "Replace"
395
  msgstr ""
396
 
 
397
  msgid ""
398
  "IMPORTANT: Make your entries BEFORE uploading new items. Pull down the Help "
399
  "menu for more information."
400
  msgstr ""
401
 
402
+ msgid "Reset"
403
+ msgstr ""
404
+
405
  msgid "No Change"
406
  msgstr ""
407
 
 
408
  msgid "Allow"
409
  msgstr ""
410
 
 
411
  msgid "Do not allow"
412
  msgstr ""
413
 
 
 
 
414
  msgid "Parent ID"
415
  msgstr ""
416
 
 
 
 
417
  msgid "Select"
418
  msgstr ""
419
 
 
420
  msgid "Custom field mapping updated."
421
  msgstr ""
422
 
 
423
  msgid "IPTC/EXIF mapping updated."
424
  msgstr ""
425
 
426
  #. translators: date_i18n format for last modified date and time
 
427
  msgid "M j, Y @ G:i"
428
  msgstr ""
429
 
 
430
  msgid "Last modified"
431
  msgstr ""
432
 
 
433
  msgid "Map Custom Field metadata for this item"
434
  msgstr ""
435
 
 
 
436
  msgid "Map Custom Field metadata"
437
  msgstr ""
438
 
 
439
  msgid "Map IPTC/EXIF metadata for this item"
440
  msgstr ""
441
 
 
 
442
  msgid "Map IPTC/EXIF metadata"
443
  msgstr ""
444
 
 
445
  msgid "Parent Info"
446
  msgstr ""
447
 
 
448
  msgid "Attachment Metadata"
449
  msgstr ""
450
 
 
 
451
  msgid "Featured in"
452
  msgstr ""
453
 
 
 
454
  msgid "Inserted in"
455
  msgstr ""
456
 
 
 
457
  msgid "Gallery in"
458
  msgstr ""
459
 
 
 
460
  msgid "MLA Gallery in"
461
  msgstr ""
462
 
463
  #. translators: 1: ERROR tag 2: function name 3: template key
 
 
464
  #, php-format
465
  msgctxt "error_log"
466
  msgid "%1$s: %2$s discarding \"%3$s\"; no title/order"
467
  msgstr ""
468
 
 
 
469
  msgid "Scheduled"
470
  msgstr ""
471
 
 
472
  msgctxt "post state"
473
  msgid "Pending"
474
  msgstr ""
475
 
 
 
476
  msgid "Draft"
477
  msgstr ""
478
 
 
479
  msgid "Post Parent"
480
  msgstr ""
481
 
 
482
  msgid "Select Parent"
483
  msgstr ""
484
 
 
 
 
 
 
 
485
  msgid "PARENT"
486
  msgstr ""
487
 
 
488
  msgid "Most Used"
489
  msgstr ""
490
 
491
  #. translators: %s: add new taxonomy label
 
492
  #, php-format
493
  msgid "+ %s"
494
  msgstr ""
495
 
 
 
 
 
496
  msgid "Search"
497
  msgstr ""
498
 
 
499
  msgctxt "list_table_column"
500
  msgid "ID/Parent"
501
  msgstr ""
502
 
 
503
  msgctxt "list_table_column"
504
  msgid "Title/Name"
505
  msgstr ""
506
 
 
507
  msgctxt "list_table_column"
508
  msgid "Title"
509
  msgstr ""
510
 
 
511
  msgctxt "list_table_column"
512
  msgid "Name"
513
  msgstr ""
514
 
 
515
  msgctxt "list_table_column"
516
  msgid "Parent ID"
517
  msgstr ""
518
 
 
519
  msgctxt "list_table_column"
520
  msgid "Menu Order"
521
  msgstr ""
522
 
 
523
  msgctxt "list_table_column"
524
  msgid "Featured in"
525
  msgstr ""
526
 
 
527
  msgctxt "list_table_column"
528
  msgid "Inserted in"
529
  msgstr ""
530
 
 
531
  msgctxt "list_table_column"
532
  msgid "Gallery in"
533
  msgstr ""
534
 
 
535
  msgctxt "list_table_column"
536
  msgid "MLA Gallery in"
537
  msgstr ""
538
 
 
539
  msgctxt "list_table_column"
540
  msgid "ALT Text"
541
  msgstr ""
542
 
 
543
  msgctxt "list_table_column"
544
  msgid "Caption"
545
  msgstr ""
546
 
 
 
 
 
547
  msgctxt "list_table_column"
548
  msgid "Description"
549
  msgstr ""
550
 
 
 
 
551
  msgctxt "list_table_column"
552
  msgid "MIME Type"
553
  msgstr ""
554
 
 
555
  msgctxt "list_table_column"
556
  msgid "File URL"
557
  msgstr ""
558
 
 
559
  msgctxt "list_table_column"
560
  msgid "Base File"
561
  msgstr ""
562
 
 
563
  msgctxt "list_table_column"
564
  msgid "Date"
565
  msgstr ""
566
 
 
567
  msgctxt "list_table_column"
568
  msgid "Last Modified"
569
  msgstr ""
570
 
 
571
  msgctxt "list_table_column"
572
  msgid "Author"
573
  msgstr ""
574
 
 
575
  msgctxt "list_table_column"
576
  msgid "Attached to"
577
  msgstr ""
578
 
 
579
  msgid "All"
580
  msgstr ""
581
 
 
 
 
582
  msgid "List View"
583
  msgstr ""
584
 
 
 
 
 
585
  msgid "None"
586
  msgstr ""
587
 
 
 
 
 
 
 
 
588
  msgid "Filter by"
589
  msgstr ""
590
 
 
 
591
  msgid "Not Supported"
592
  msgstr ""
593
 
594
  #. translators: 1: column_name 2: column_values
 
 
 
 
595
  #, php-format
596
  msgid "column_default: %1$s, %2$s"
597
  msgstr ""
598
 
 
 
 
 
 
 
 
 
 
 
 
 
599
  msgid "Edit"
600
  msgstr ""
601
 
 
 
602
  msgid "Trash"
603
  msgstr ""
604
 
 
605
  msgid "Restore this item from the Trash"
606
  msgstr ""
607
 
 
 
608
  msgid "Restore"
609
  msgstr ""
610
 
 
 
 
611
  msgid "Edit this item"
612
  msgstr ""
613
 
 
 
 
614
  msgid "Edit this item inline"
615
  msgstr ""
616
 
 
 
 
 
617
  msgid "Quick Edit"
618
  msgstr ""
619
 
 
620
  msgid "Move this item to the Trash"
621
  msgstr ""
622
 
 
 
623
  msgid "Move to Trash"
624
  msgstr ""
625
 
 
 
 
626
  msgid "Delete this item Permanently"
627
  msgstr ""
628
 
 
 
 
 
 
 
629
  msgid "Delete Permanently"
630
  msgstr ""
631
 
 
632
  msgid "Download"
633
  msgstr ""
634
 
 
635
  msgid "View"
636
  msgstr ""
637
 
 
 
 
 
 
638
  msgid "(no title)"
639
  msgstr ""
640
 
 
641
  msgid "(no title: bad ID)"
642
  msgstr ""
643
 
 
 
 
 
 
 
644
  msgid "Disabled"
645
  msgstr ""
646
 
 
 
647
  msgid "MIME Type"
648
  msgstr ""
649
 
 
650
  msgid "Base File"
651
  msgstr ""
652
 
 
 
653
  msgid "Unpublished"
654
  msgstr ""
655
 
656
  #. translators: 1: upload/last modified date and time
 
 
657
  #, php-format
658
  msgid "%1$s from now"
659
  msgstr ""
660
 
661
  #. translators: 1: upload/last modified date and time
 
 
662
  #, php-format
663
  msgid "%1$s ago"
664
  msgstr ""
665
 
666
  #. translators: format for upload/last modified date
667
  #. translators: date format in table columns, see http://php.net/date
 
 
 
668
  msgid "Y/m/d"
669
  msgstr ""
670
 
 
671
  msgctxt "table_view_singular"
672
  msgid "Unattached"
673
  msgstr ""
674
 
 
675
  msgid "Set Parent"
676
  msgstr ""
677
 
 
678
  msgctxt "uploaded files"
679
  msgid "All"
680
  msgid_plural "All"
681
  msgstr[0] ""
682
  msgstr[1] ""
683
 
 
684
  msgid "Filter"
685
  msgstr ""
686
 
 
 
687
  msgid "Terms Search"
688
  msgstr ""
689
 
 
 
 
690
  msgid "Clear Filter-by"
691
  msgstr ""
692
 
 
693
  msgid "Empty Trash"
694
  msgstr ""
695
 
 
696
  msgid "Error while saving the changes."
697
  msgstr ""
698
 
 
699
  msgid "Remove From Bulk Edit"
700
  msgstr ""
701
 
 
702
  msgid "Bulk Edit items"
703
  msgstr ""
704
 
 
 
705
  msgid "Waiting"
706
  msgstr ""
707
 
 
 
708
  msgid "Complete"
709
  msgstr ""
710
 
 
711
  msgid "Unchanged"
712
  msgstr ""
713
 
 
714
  msgid "Succeeded"
715
  msgstr ""
716
 
 
717
  msgid "Failed"
718
  msgstr ""
719
 
 
720
  msgid "CANCELED"
721
  msgstr ""
722
 
 
723
  #, php-format
724
  msgid "Item permanently deleted."
725
  msgid_plural "%d items permanently deleted."
727
  msgstr[1] ""
728
 
729
  #. translators: 1: post ID
 
730
  #, php-format
731
  msgid "Item %1$d moved to Trash."
732
  msgstr ""
733
 
 
734
  msgid "Entries per page"
735
  msgstr ""
736
 
 
737
  msgid "You are not allowed to edit Attachment: "
738
  msgstr ""
739
 
740
  #. translators: 1: ERROR tag 2: bulk action
 
741
  #, php-format
742
  msgid "%1$s: Unknown bulk action %2$s"
743
  msgstr ""
744
 
 
745
  msgid "no changes detected"
746
  msgstr ""
747
 
748
  #. translators: 1: action name, e.g., edit
 
 
749
  #, php-format
750
  msgid "Bulk Action %1$s - no items selected."
751
  msgstr ""
752
 
 
753
  msgid "You do not have permission to manage attachments."
754
  msgstr ""
755
 
756
  #. translators: 1: number of items
 
757
  #, php-format
758
  msgctxt "deleted items"
759
  msgid "%s item deleted."
761
  msgstr[0] ""
762
  msgstr[1] ""
763
 
 
764
  msgid "No items deleted."
765
  msgstr ""
766
 
 
767
  msgid "Empty Terms Search; ignored"
768
  msgstr ""
769
 
770
  #. translators: 1: row-level action, e.g., single_item_delete, single_item_edit
771
  #. translators: 1: bulk_action, e.g., single_item_delete, single_item_edit
 
 
772
  #, php-format
773
  msgid "Unknown mla_admin_action - \"%1$s\""
774
  msgstr ""
775
 
 
776
  msgid "term search results for"
777
  msgstr ""
778
 
 
779
  msgid "post/parent results for"
780
  msgstr ""
781
 
 
782
  msgid "search results for"
783
  msgstr ""
784
 
 
 
785
  msgid "Type"
786
  msgstr ""
787
 
 
788
  msgid "Date"
789
  msgstr ""
790
 
 
 
791
  msgid "Status"
792
  msgstr ""
793
 
 
794
  msgid "Published"
795
  msgstr ""
796
 
 
797
  msgid "Pending Review"
798
  msgstr ""
799
 
 
800
  msgid "No post ID found"
801
  msgstr ""
802
 
 
 
803
  msgid "You are not allowed to edit this Attachment."
804
  msgstr ""
805
 
 
 
 
 
806
  msgid "Update"
807
  msgstr ""
808
 
 
809
  msgid "All Post Types"
810
  msgstr ""
811
 
 
812
  msgid "For"
813
  msgstr ""
814
 
 
815
  msgid "Unattached"
816
  msgstr ""
817
 
 
 
 
 
 
 
 
818
  msgid "Cancel"
819
  msgstr ""
820
 
 
 
 
821
  msgid "Bulk Edit"
822
  msgstr ""
823
 
 
824
  msgid "In-process"
825
  msgstr ""
826
 
 
 
 
827
  msgid "Refresh"
828
  msgstr ""
829
 
 
830
  msgid "You are not allowed to delete this item."
831
  msgstr ""
832
 
833
  #. translators: 1: ERROR tag 2: post ID
 
834
  #, php-format
835
  msgid "%1$s: Item %2$d could NOT be deleted."
836
  msgstr ""
837
 
838
  #. translators: 1: post ID
 
839
  #, php-format
840
  msgid "Item %1$d permanently deleted."
841
  msgstr ""
842
 
 
843
  msgid "You are not allowed to move this item out of the Trash."
844
  msgstr ""
845
 
846
  #. translators: 1: ERROR tag 2: post ID
 
847
  #, php-format
848
  msgid "%1$s: Item %2$d could NOT be restored from Trash."
849
  msgstr ""
850
 
851
  #. translators: 1: post ID
 
852
  #, php-format
853
  msgid "Item %1$d restored from Trash."
854
  msgstr ""
855
 
 
856
  msgid "You are not allowed to move this item to the Trash."
857
  msgstr ""
858
 
859
  #. translators: 1: ERROR tag 2: post ID
 
860
  #, php-format
861
  msgid "%1$s: Item %2$d could NOT be moved to Trash."
862
  msgstr ""
863
 
 
 
 
 
 
864
  msgid "Click to toggle"
865
  msgstr ""
866
 
 
867
  msgid "Show all dates"
868
  msgstr ""
869
 
870
  #. translators: 1: month name, 2: 4-digit year
 
871
  #, php-format
872
  msgid "%1$s %2$d"
873
  msgstr ""
874
 
 
875
  msgid "Search Box"
876
  msgstr ""
877
 
 
878
  msgid "Loading..."
879
  msgstr ""
880
 
 
881
  msgid "Tags"
882
  msgstr ""
883
 
884
  #. translators: %s: add new taxonomy label
885
  #. translators: %s: add new View
886
  #. translators: %s: add new Upload MIME Type
 
 
 
887
  #, php-format
888
  msgid "Add New %1$s"
889
  msgstr ""
890
 
 
891
  msgid "Choose from the most used tags"
892
  msgstr ""
893
 
 
 
894
  msgid "Search Terms"
895
  msgstr ""
896
 
 
897
  msgid "There are no taxonomies to search"
898
  msgstr ""
899
 
 
900
  msgid "All phrases"
901
  msgstr ""
902
 
 
903
  msgid "Any phrase"
904
  msgstr ""
905
 
 
906
  msgid "All terms"
907
  msgstr ""
908
 
 
909
  msgid "Any term"
910
  msgstr ""
911
 
 
912
  msgid "Exact"
913
  msgstr ""
914
 
 
915
  msgctxt "post_mime_types"
916
  msgid "Manage"
917
  msgstr ""
918
 
 
919
  msgctxt "post_mime_types_description"
920
  msgid "Copied from previous filter/plugin"
921
  msgstr ""
922
 
923
  #. translators: 1: ERROR tag 2: raw_mime_type
 
924
  #, php-format
925
  msgid "%1$s: Bad specification part \"%2$s\""
926
  msgstr ""
927
 
928
  #. translators: 1: ERROR tag 2: option, e.g., any, match, null
 
929
  #, php-format
930
  msgid "%1$s: Bad specification option \"%2$s\""
931
  msgstr ""
932
 
933
  #. translators: 1: ERROR tag 2: prefix, e.g., custom
 
934
  #, php-format
935
  msgid "%1$s: Bad specification prefix \"%2$s\""
936
  msgstr ""
937
 
 
 
938
  msgid "Ignoring specification for Post MIME Type; using slug"
939
  msgstr ""
940
 
941
  #. translators: 1: element name 2: bad_value 3: good_value
 
 
942
  #, php-format
943
  msgid "<br>Changing %1$s \"%2$s\" to valid value \"%3$s\""
944
  msgstr ""
945
 
 
 
 
 
946
  msgid "Slug"
947
  msgstr ""
948
 
949
  #. translators: 1: ERROR tag 2: slug
 
 
950
  #, php-format
951
  msgid "%1$s: Could not add Slug \"%2$s\"; value already exists"
952
  msgstr ""
953
 
954
  #. translators: 1: slug
 
955
  #, php-format
956
  msgid "Edit view \"%1$s\"; added"
957
  msgstr ""
958
 
959
  #. translators: 1: element name 2: bad_value 3: good_value
 
 
960
  #, php-format
961
  msgid "<br>Changing new %1$s \"%2$s\" to valid value \"%3$s\""
962
  msgstr ""
963
 
964
  #. translators: 1: slug
 
965
  #, php-format
966
  msgid "Edit view \"%1$s\"; no changes detected"
967
  msgstr ""
968
 
969
  #. translators: 1: slug
 
970
  #, php-format
971
  msgid "Edit view \"%1$s\"; updated"
972
  msgstr ""
973
 
974
  #. translators: 1: slug
 
975
  #, php-format
976
  msgid "View \"%1$s\" reverted to standard"
977
  msgstr ""
978
 
979
  #. translators: 1: slug
 
980
  #, php-format
981
  msgid "View \"%1$s\" deleted"
982
  msgstr ""
983
 
984
  #. translators: 1: ERROR tag 2: slug
 
985
  #, php-format
986
  msgid "%1$s: Did not find view \"%2$s\""
987
  msgstr ""
988
 
 
989
  msgctxt "table_view_singular"
990
  msgid "All"
991
  msgstr ""
992
 
 
993
  msgctxt "table_view_plural"
994
  msgid "All"
995
  msgstr ""
996
 
 
997
  msgctxt "table_view_singular"
998
  msgid "Active"
999
  msgstr ""
1000
 
 
1001
  msgctxt "table_view_plural"
1002
  msgid "Active"
1003
  msgstr ""
1004
 
 
1005
  msgctxt "table_view_singular"
1006
  msgid "Inactive"
1007
  msgstr ""
1008
 
 
1009
  msgctxt "table_view_plural"
1010
  msgid "Inactive"
1011
  msgstr ""
1012
 
 
1013
  msgctxt "table_view_singular"
1014
  msgid "WordPress"
1015
  msgstr ""
1016
 
 
1017
  msgctxt "table_view_plural"
1018
  msgid "WordPress"
1019
  msgstr ""
1020
 
 
1021
  msgctxt "table_view_singular"
1022
  msgid "MLA"
1023
  msgstr ""
1024
 
 
1025
  msgctxt "table_view_plural"
1026
  msgid "MLA"
1027
  msgstr ""
1028
 
 
1029
  msgctxt "table_view_singular"
1030
  msgid "Custom"
1031
  msgstr ""
1032
 
 
1033
  msgctxt "table_view_plural"
1034
  msgid "Custom"
1035
  msgstr ""
1036
 
 
1037
  msgid "icon"
1038
  msgstr ""
1039
 
 
 
1040
  msgid "Cannot load Upload MIME Types"
1041
  msgstr ""
1042
 
 
1043
  msgid "Extension is required"
1044
  msgstr ""
1045
 
 
 
 
 
1046
  msgid "Extension"
1047
  msgstr ""
1048
 
1049
  #. translators: 1: ERROR tag 2: slug
 
1050
  #, php-format
1051
  msgid "%1$s: Could not add extension \"%2$s\"; value already exists"
1052
  msgstr ""
1053
 
 
1054
  msgid "MIME type is required"
1055
  msgstr ""
1056
 
1057
  #. translators: 1: ERROR tag 2: clean_mime_type
 
 
1058
  #, php-format
1059
  msgid "%1$s: Bad MIME type; try \"%2$s\""
1060
  msgstr ""
1061
 
1062
  #. translators: 1: slug
 
1063
  #, php-format
1064
  msgid "Upload MIME Type \"%1$s\"; added"
1065
  msgstr ""
1066
 
 
 
 
1067
  msgid "Cannot update Upload MIME Types"
1068
  msgstr ""
1069
 
1070
  #. translators: 1: ERROR tag 2: slug
 
1071
  #, php-format
1072
  msgid "%1$s: Could not add new extension \"%2$s\"; value already exists"
1073
  msgstr ""
1074
 
1075
  #. translators: 1: slug
 
1076
  #, php-format
1077
  msgid "Edit type \"%1$s\"; no changes detected"
1078
  msgstr ""
1079
 
1080
  #. translators: 1: slug
 
1081
  #, php-format
1082
  msgid "Edit type \"%1$s\"; updated"
1083
  msgstr ""
1084
 
1085
  #. translators: 1: slug
 
1086
  #, php-format
1087
  msgid "Upload MIME Type \"%1$s\"; reverted to standard"
1088
  msgstr ""
1089
 
1090
  #. translators: 1: slug
 
1091
  #, php-format
1092
  msgid "Upload MIME Type \"%1$s\"; deleted"
1093
  msgstr ""
1094
 
1095
  #. translators: 1: ERROR tag 2: slug
 
1096
  #, php-format
1097
  msgid "%1$s: Did not find Upload type \"%2$s\""
1098
  msgstr ""
1099
 
 
1100
  msgctxt "taxonomy_name_plural"
1101
  msgid "Att. Categories"
1102
  msgstr ""
1103
 
 
1104
  msgctxt "taxonomy_name_singular"
1105
  msgid "Att. Category"
1106
  msgstr ""
1107
 
 
1108
  msgid "Search Att. Categories"
1109
  msgstr ""
1110
 
 
1111
  msgid "All Att. Categories"
1112
  msgstr ""
1113
 
 
1114
  msgid "Parent Att. Category"
1115
  msgstr ""
1116
 
 
1117
  msgid "Edit Att. Category"
1118
  msgstr ""
1119
 
 
1120
  msgid "Update Att. Category"
1121
  msgstr ""
1122
 
 
1123
  msgid "Att. Category"
1124
  msgstr ""
1125
 
 
1126
  msgid "New Att. Category Name"
1127
  msgstr ""
1128
 
 
1129
  msgctxt "taxonomy_name_plural"
1130
  msgid "Att. Tags"
1131
  msgstr ""
1132
 
 
1133
  msgctxt "taxonomy_name_singular"
1134
  msgid "Att. Tag"
1135
  msgstr ""
1136
 
 
1137
  msgid "Search Att. Tags"
1138
  msgstr ""
1139
 
 
1140
  msgid "All Att. Tags"
1141
  msgstr ""
1142
 
 
1143
  msgid "Parent Att. Tag"
1144
  msgstr ""
1145
 
 
1146
  msgid "Edit Att. Tag"
1147
  msgstr ""
1148
 
 
1149
  msgid "Update Att. Tag"
1150
  msgstr ""
1151
 
 
1152
  msgid "Att. Tag"
1153
  msgstr ""
1154
 
 
1155
  msgid "New Att. Tag Name"
1156
  msgstr ""
1157
 
 
1158
  msgid "Attachments"
1159
  msgstr ""
1160
 
1161
  #. translators: 1: ERROR tag 2: taxonomy 3: error message
 
1162
  #, php-format
1163
  msgctxt "error_log"
1164
  msgid ""
1165
  "%1$s: mla_taxonomy_column_filter( \"%2$s\" ) - get_term failed: \"%3$s\""
1166
  msgstr ""
1167
 
 
1168
  msgid "click to search"
1169
  msgstr ""
1170
 
 
1171
  msgid "Shortcode(s), HTML and/or Plain Text"
1172
  msgstr ""
1173
 
 
1174
  msgid "MLA Text"
1175
  msgstr ""
1176
 
 
1177
  msgid "Automatically add paragraphs"
1178
  msgstr ""
1179
 
 
1180
  msgid "error loading tpls/mla-option-templates.tpl"
1181
  msgstr ""
1182
 
 
1183
  msgid "tpls/mla-option-templates.tpl not found"
1184
  msgstr ""
1185
 
 
1186
  msgid "Attachment Categories"
1187
  msgstr ""
1188
 
 
1189
  msgid "Check this option to add support for Attachment Categories."
1190
  msgstr ""
1191
 
 
1192
  msgid "Attachment Tags"
1193
  msgstr ""
1194
 
 
1195
  msgid "Check this option to add support for Attachment Tags."
1196
  msgstr ""
1197
 
 
1198
  msgid "Where-used Reporting"
1199
  msgstr ""
1200
 
 
1201
  msgid "Exclude Revisions"
1202
  msgstr ""
1203
 
 
1204
  msgid "Check this option to exclude revisions from where-used reporting."
1205
  msgstr ""
1206
 
 
1207
  msgid "Where-used database access tuning"
1208
  msgstr ""
1209
 
 
1210
  msgid "Enabled"
1211
  msgstr ""
1212
 
 
1213
  msgid "Search database posts and pages for Featured Image attachments."
1214
  msgstr ""
1215
 
 
1216
  msgid "Base"
1217
  msgstr ""
1218
 
 
1219
  msgid ""
1220
  "Search database posts and pages for attachments embedded in content."
1221
  "<br>&nbsp;&nbsp;Base = ignore intermediate size suffixes; use path, base "
1222
  "name and extension only."
1223
  msgstr ""
1224
 
 
1225
  msgid "Dynamic"
1226
  msgstr ""
1227
 
 
1228
  msgid "Cached"
1229
  msgstr ""
1230
 
 
1231
  msgid ""
1232
  "Search database posts and pages for [gallery] shortcode results.<br>&nbsp;"
1233
  "&nbsp;Dynamic = once every page load, Cached = once every login, Disabled = "
1234
  "never.<br>&nbsp;&nbsp;Refresh = update references, then set to Cached."
1235
  msgstr ""
1236
 
 
1237
  msgid ""
1238
  "Search database posts and pages for [mla_gallery] shortcode results."
1239
  "<br>&nbsp;&nbsp;Dynamic = once every page load, Cached = once every login, "
1241
  "Cached."
1242
  msgstr ""
1243
 
 
1244
  msgid "Taxonomy Support"
1245
  msgstr ""
1246
 
 
1247
  msgid "Compute Attachments Column"
1248
  msgstr ""
1249
 
 
1250
  msgid ""
1251
  "Check this option to calculate attachments per term in the Attachments "
1252
  "Column."
1253
  msgstr ""
1254
 
 
1255
  msgid ""
1256
  "Check the \"<strong>Support</strong>\" box to add the taxonomy to the "
1257
  "Assistant and the Edit Media screen."
1258
  msgstr ""
1259
 
 
1260
  msgid ""
1261
  "Check the \"<strong>Inline Edit</strong>\" box to display the taxonomy in "
1262
  "the Quick Edit and Bulk Edit areas."
1263
  msgstr ""
1264
 
 
1265
  msgid ""
1266
  "Check the \"<strong>Term Search</strong>\" box to add the taxonomy to the "
1267
  "\"Search Media/Terms\" list."
1268
  msgstr ""
1269
 
 
 
1270
  msgid "For complete documentation"
1271
  msgstr ""
1272
 
 
 
1273
  msgid "click here"
1274
  msgstr ""
1275
 
 
1276
  msgid ""
1277
  "Check the \"<strong>Checklist</strong>\" box to enable the checklist-style "
1278
  "meta box for a flat taxonomy."
1279
  msgstr ""
1280
 
 
1281
  msgid ""
1282
  "You must also check the <strong>\"Enable enhanced checklist taxonomies\"</"
1283
  "strong> box below to enable this feature."
1284
  msgstr ""
1285
 
 
1286
  msgid ""
1287
  "Check the \"<strong>Checked On Top</strong>\" box to moved checked terms to "
1288
  "the top of the checklist-style meta box."
1289
  msgstr ""
1290
 
 
1291
  msgid ""
1292
  "Use the \"<strong>List Filter</strong>\" option to select the taxonomy on "
1293
  "which to filter the Assistant table listing."
1294
  msgstr ""
1295
 
 
1296
  msgid "Media/Assistant Screen Options"
1297
  msgstr ""
1298
 
 
1299
  msgid "Admin Menu Options"
1300
  msgstr ""
1301
 
 
1302
  msgid "Page Title"
1303
  msgstr ""
1304
 
1305
+ #. translators: Name of the plugin/theme
 
1306
  msgid "Media Library Assistant"
1307
  msgstr ""
1308
 
 
1309
  msgid "Enter the title for the Media/Assistant submenu page"
1310
  msgstr ""
1311
 
 
1312
  msgid "Menu Title"
1313
  msgstr ""
1314
 
 
1315
  msgid "Assistant"
1316
  msgstr ""
1317
 
 
1318
  msgid "Enter the title for the Media/Assistant submenu entry"
1319
  msgstr ""
1320
 
 
1321
  msgid "Submenu Order"
1322
  msgstr ""
1323
 
 
1324
  msgid ""
1325
  "Enter the position of the Media/Assistant submenu entry.<br>&nbsp;&nbsp;0 = "
1326
  "natural order (at bottom),&nbsp;&nbsp;&nbsp;&nbsp;1 - 4 = at top<br>&nbsp;"
1328
  "\""
1329
  msgstr ""
1330
 
 
1331
  msgid "Display Media/Library"
1332
  msgstr ""
1333
 
 
1334
  msgid ""
1335
  "Check/uncheck this option to display/remove the WordPress Media/Library "
1336
  "submenu entry."
1337
  msgstr ""
1338
 
 
1339
  msgid "Table Defaults"
1340
  msgstr ""
1341
 
 
1342
  msgid "Order By"
1343
  msgstr ""
1344
 
 
1345
  msgid "Title/Name"
1346
  msgstr ""
1347
 
 
1348
  msgid "Select the column for the sort order of the Assistant table listing."
1349
  msgstr ""
1350
 
 
1351
  msgid "Order"
1352
  msgstr ""
1353
 
 
1354
  msgid "Ascending"
1355
  msgstr ""
1356
 
 
1357
  msgid "Descending"
1358
  msgstr ""
1359
 
 
1360
  msgid "Choose the sort order."
1361
  msgstr ""
1362
 
 
1363
  msgid "Views Width"
1364
  msgstr ""
1365
 
 
1366
  msgid "Enter the width for the views list, in pixels (px) or percent (%)"
1367
  msgstr ""
1368
 
 
1369
  msgid "Icon Size"
1370
  msgstr ""
1371
 
 
1372
  msgid "Enter the size of the thumbnail/icon images, in pixels"
1373
  msgstr ""
1374
 
 
1375
  msgid "Bulk Chunk Size"
1376
  msgstr ""
1377
 
 
1378
  msgid "Enter the size of the Bulk Edit and Map All processing chunks"
1379
  msgstr ""
1380
 
 
1381
  msgid "Taxonomy Filter parameters"
1382
  msgstr ""
1383
 
 
1384
  msgid "Maximum Depth"
1385
  msgstr ""
1386
 
 
1387
  msgid ""
1388
  "Enter the number of levels displayed for hierarchial taxonomies; enter zero "
1389
  "for no limit."
1390
  msgstr ""
1391
 
 
1392
  msgid "Include Children"
1393
  msgstr ""
1394
 
 
1395
  msgid ""
1396
  "Check/uncheck this option to include/exclude children for hierarchical "
1397
  "taxonomies."
1398
  msgstr ""
1399
 
 
1400
  msgid "Search Media Defaults"
1401
  msgstr ""
1402
 
 
1403
  msgid "Display Search Controls"
1404
  msgstr ""
1405
 
 
1406
  msgid ""
1407
  "Check/uncheck this option to display/hide the and/or connector and search "
1408
  "fields controls."
1409
  msgstr ""
1410
 
 
1411
  msgid ""
1412
  "Use these controls to set defaults for the and/or connector and search "
1413
  "fields controls.<br>These defaults will be used for the Search Media boxes "
1414
  "on both the Media/Assistant submenu<br>and the Media Manager Modal Window."
1415
  msgstr ""
1416
 
 
1417
  msgid "Media/Edit Media Enhancements"
1418
  msgstr ""
1419
 
 
1420
  msgid "Enable &quot;enhanced checklist&quot; taxonomies"
1421
  msgstr ""
1422
 
 
1423
  msgid ""
1424
  "Check this option to enable the \"? Search\" feature for hierarchical "
1425
  "taxonomies, e.g., Att. Categories.<br>&nbsp;&nbsp;This option also enables "
1426
  "the \"checklist-style\" support for flat taxonomies, e.g., Att. Tags."
1427
  msgstr ""
1428
 
 
1429
  msgid "Enable Edit Media additional meta boxes"
1430
  msgstr ""
1431
 
 
1432
  msgid ""
1433
  "Check this option to add \"Parent Info\", \"Menu Order\", \"Attachment "
1434
  "Metadata\" and four \"where-used\" meta boxes to the Edit Media screen."
1435
  msgstr ""
1436
 
 
1437
  msgid "You can also use Filters to customize the meta boxes."
1438
  msgstr ""
1439
 
 
1440
  msgid "Media/Add New Enhancements"
1441
  msgstr ""
1442
 
 
1443
  msgid "Enable &quot;bulk edit&quot; area"
1444
  msgstr ""
1445
 
 
1446
  msgid ""
1447
  "Check this option to enable the \"Bulk Edit area\" feature on the Media/Add "
1448
  "New screen."
1449
  msgstr ""
1450
 
1451
+ msgid "&quot;bulk edit&quot; area on top"
1452
+ msgstr ""
1453
+
1454
+ msgid ""
1455
+ "Check this option to move the \"Bulk Edit area\" to the top of the Media/Add "
1456
+ "New screen."
1457
+ msgstr ""
1458
+
1459
  msgid "Media Manager/Media Grid Enhancements"
1460
  msgstr ""
1461
 
 
1462
  msgid "Enable Media Grid Enhancements"
1463
  msgstr ""
1464
 
 
1465
  msgid ""
1466
  "Check/uncheck this option to enable/disable Media Library Grid View "
1467
  "Enhancements."
1468
  msgstr ""
1469
 
 
1470
  msgid "Enable Media Manager Enhancements"
1471
  msgstr ""
1472
 
 
1473
  msgid ""
1474
  "Check/uncheck this option to enable/disable Media Manager Modal Window "
1475
  "Enhancements."
1476
  msgstr ""
1477
 
 
1478
  msgid "Media Manager Enhanced MIME Type filter"
1479
  msgstr ""
1480
 
 
1481
  msgid ""
1482
  "Check this option to filter by more MIME Types, e.g., text, applications."
1483
  msgstr ""
1484
 
 
1485
  msgid "Media Manager Month and Year filter"
1486
  msgstr ""
1487
 
 
1488
  msgid "Check this option to filter by month and year uploaded."
1489
  msgstr ""
1490
 
 
1491
  msgid "Media Manager Category/Tag filter"
1492
  msgstr ""
1493
 
 
1494
  msgid "Check this option to filter by taxonomy terms."
1495
  msgstr ""
1496
 
 
1497
  msgid "Media Manager Terms Search popup"
1498
  msgstr ""
1499
 
 
1500
  msgid "Check this option to enable the \"Terms Search\" popup window."
1501
  msgstr ""
1502
 
 
1503
  msgid "Media Manager Enhanced Search Media box"
1504
  msgstr ""
1505
 
 
1506
  msgid "Check this option to enable search box enhancements."
1507
  msgstr ""
1508
 
 
1509
  msgid "Media Manager Enhanced Search Media Controls"
1510
  msgstr ""
1511
 
 
1512
  msgid "Media Manager Checklist meta boxes"
1513
  msgstr ""
1514
 
 
1515
  msgid ""
1516
  "Check this option to enable MLA-enhanced meta boxes in the \"ATTACHMENT "
1517
  "DETAILS\" pane.<br>&nbsp;&nbsp;This option is for any taxonomy that uses a "
1518
  "<strong>\"checklist-style\"</strong> meta box."
1519
  msgstr ""
1520
 
 
1521
  msgid "Media Manager Flat meta boxes"
1522
  msgstr ""
1523
 
 
1524
  msgid ""
1525
  "Check this option to enable MLA-enhanced meta boxes in the \"ATTACHMENT "
1526
  "DETAILS\" pane.<br>&nbsp;&nbsp;This option is for <strong>flat taxonomies</"
1528
  "style\" meta box."
1529
  msgstr ""
1530
 
 
1531
  msgid "Media Manager auto-fill meta boxes"
1532
  msgstr ""
1533
 
 
1534
  msgid ""
1535
  "Check this option to automatically fill MLA-enhanced meta boxes in the "
1536
  "\"ATTACHMENT DETAILS\" pane<br>&nbsp;&nbsp;when the item is selected."
1537
  msgstr ""
1538
 
 
1539
  msgid "Media Manager Order By"
1540
  msgstr ""
1541
 
 
 
 
1542
  msgid "Media Manager Default"
1543
  msgstr ""
1544
 
 
1545
  msgid ""
1546
  "If you want to override the Media Manager default,<br>&nbsp;&nbsp;select a "
1547
  "column for the sort order of the Media Library listing."
1548
  msgstr ""
1549
 
 
1550
  msgid "Media Manager Order"
1551
  msgstr ""
1552
 
 
1553
  msgid "Attachment Display Settings"
1554
  msgstr ""
1555
 
 
1556
  msgid "Alignment"
1557
  msgstr ""
1558
 
1559
  #. translators: 1: option name, e.g., Alignment, Link To or Size
 
 
1560
  #, php-format
1561
  msgid ""
1562
  "Select a value for the default %1$s option in the Attachment Display "
1563
  "Settings."
1564
  msgstr ""
1565
 
 
1566
  msgid "Left"
1567
  msgstr ""
1568
 
 
1569
  msgid "Center"
1570
  msgstr ""
1571
 
 
1572
  msgid "Right"
1573
  msgstr ""
1574
 
 
1575
  msgid "Link To"
1576
  msgstr ""
1577
 
 
1578
  msgid "Media File"
1579
  msgstr ""
1580
 
 
1581
  msgid "Attachment Page"
1582
  msgstr ""
1583
 
 
1584
  msgid "Custom URL"
1585
  msgstr ""
1586
 
 
1587
  msgid "Size"
1588
  msgstr ""
1589
 
 
 
 
1590
  msgid "Thumbnail"
1591
  msgstr ""
1592
 
 
1593
  msgid "Medium"
1594
  msgstr ""
1595
 
 
1596
  msgid "Large"
1597
  msgstr ""
1598
 
 
1599
  msgid "Full Size"
1600
  msgstr ""
1601
 
 
1602
  msgid "Default [mla_gallery] Templates and Settings"
1603
  msgstr ""
1604
 
 
 
 
 
 
1605
  msgid "Style Template"
1606
  msgstr ""
1607
 
1608
  #. translators: 1: template type 2: shortcode
 
 
1609
  #, php-format
1610
  msgid "Select the default %1$s for your %2$s shortcodes."
1611
  msgstr ""
1612
 
 
1613
  msgid "Markup Template"
1614
  msgstr ""
1615
 
 
 
 
 
1616
  msgid "markup template"
1617
  msgstr ""
1618
 
 
1619
  msgid "Default columns"
1620
  msgstr ""
1621
 
 
1622
  msgid ""
1623
  "Enter the number of [mla_tag_cloud] columns; must be a positive integer."
1624
  msgstr ""
1625
 
 
1626
  msgid "Default mla_margin"
1627
  msgstr ""
1628
 
 
1629
  msgid ""
1630
  "Enter the CSS \"margin\" property value, in length (px, em, pt, etc.), "
1631
  "percent (%), \"auto\" or \"inherit\".<br>&nbsp;&nbsp;Enter \"none\" to "
1632
  "remove the property entirely."
1633
  msgstr ""
1634
 
 
1635
  msgid "Default mla_itemwidth"
1636
  msgstr ""
1637
 
 
1638
  msgid ""
1639
  "Enter the CSS \"width\" property value, in length (px, em, pt, etc.), "
1640
  "percent (%), \"auto\" or \"inherit\".<br>&nbsp;&nbsp;Enter \"calculate"
1644
  "the property entirely."
1645
  msgstr ""
1646
 
 
1647
  msgid "Enter the number of [mla_gallery] columns; must be a positive integer."
1648
  msgstr ""
1649
 
 
1650
  msgid "Thumbnail Substitution Support, mla_viewer"
1651
  msgstr ""
1652
 
 
1653
  msgid "Enable thumbnail substitution"
1654
  msgstr ""
1655
 
 
1656
  msgid ""
1657
  "Check this option to allow the \"mla_viewer\" to generate thumbnail images "
1658
  "for PDF documents. Thumbnails are generated dynamically, each time the item "
1661
  "strong>"
1662
  msgstr ""
1663
 
 
1664
  msgid "Enable Featured Images"
1665
  msgstr ""
1666
 
 
1667
  msgid ""
1668
  "Check this option to extend Featured Image support to all Media Library "
1669
  "items. The Featured Image can be used as a thumbnail image for the item in "
1670
  "an [mla_gallery] display."
1671
  msgstr ""
1672
 
 
1673
  msgid "Enable Featured Image Generation"
1674
  msgstr ""
1675
 
 
1676
  msgid ""
1677
  "Check this option to enable the \"Thumbnail\" generation action in the Media/"
1678
  "Assistant submenu Bulk Actions dropdown."
1679
  msgstr ""
1680
 
 
1681
  msgid "Enable explicit Ghostscript check"
1682
  msgstr ""
1683
 
 
1684
  msgid ""
1685
  "Check this option to enable the explicit check for Ghostscript support "
1686
  "required for thumbnail generation. If your Ghostscript software is in a non-"
1689
  "leave this option checked unless you know it is safe to turn it off."
1690
  msgstr ""
1691
 
 
1692
  msgid "Ghostscript path"
1693
  msgstr ""
1694
 
 
1695
  msgid ""
1696
  "If your &ldquo;gs&rdquo; executable is in a non-standard location, enter the "
1697
  "full path and filename here, e.g., &ldquo;/usr/bin/gs&rdquo;. It will "
1698
  "override the search for Ghostscript in other places."
1699
  msgstr ""
1700
 
 
1701
  msgid "Enable custom field mapping when adding new media"
1702
  msgstr ""
1703
 
 
1704
  msgid ""
1705
  "Check this option to enable mapping when uploading new media (attachments)."
1706
  "<br>&nbsp;&nbsp;Click Save Changes at the bottom of the screen if you change "
1708
  "buttons on the bulk edit, single edit and settings screens."
1709
  msgstr ""
1710
 
 
1711
  msgid "Enable custom field mapping when updating media metadata"
1712
  msgstr ""
1713
 
 
1714
  msgid ""
1715
  "Check this option to enable mapping when media (attachments) metadata is "
1716
  "regenerated,<br>&nbsp;&nbsp;e.g., when the Media/Edit Media \"Edit Image\" "
1717
  "functions are used."
1718
  msgstr ""
1719
 
 
1720
  msgid ""
1721
  "Update the custom field mapping values above, then click Save Changes to "
1722
  "make the updates permanent.<br>You can also make temporary updates and click "
1724
  "saving any rule changes."
1725
  msgstr ""
1726
 
 
1727
  msgid "Enable IPTC/EXIF Mapping when adding new media"
1728
  msgstr ""
1729
 
 
1730
  msgid ""
1731
  "Check this option to enable mapping when uploading new media (attachments)."
1732
  "<br>&nbsp;&nbsp;Does NOT affect the operation of the \"Map\" buttons on the "
1733
  "bulk edit, single edit and settings screens."
1734
  msgstr ""
1735
 
 
1736
  msgid "Enable IPTC/EXIF Mapping when updating media metadata"
1737
  msgstr ""
1738
 
 
1739
  msgid ""
1740
  "Update the standard field mapping values above, then click <strong>Save "
1741
  "Changes</strong> to make the updates permanent.<br>You can also make "
1744
  "changes."
1745
  msgstr ""
1746
 
 
1747
  msgid ""
1748
  "Update the taxonomy term mapping values above, then click <strong>Save "
1749
  "Changes</strong> or <strong>Map All Attachments, Taxonomy Terms Now</strong>."
1750
  msgstr ""
1751
 
 
1752
  msgid ""
1753
  "<strong>Update</strong> individual custom field mapping values above, or "
1754
  "make several updates and click <strong>Save Changes</strong> below to apply "
1759
  "changes."
1760
  msgstr ""
1761
 
 
1762
  msgid "IPTC/EXIF Mapping help"
1763
  msgstr ""
1764
 
 
1765
  msgid "Enable View and Post MIME Type Support"
1766
  msgstr ""
1767
 
 
1768
  msgid ""
1769
  "Check/uncheck this option to enable/disable Post MIME Type Support, then "
1770
  "click <strong>Save Changes</strong> to record the new setting."
1771
  msgstr ""
1772
 
 
1773
  msgid "Post MIME Types help."
1774
  msgstr ""
1775
 
 
 
1776
  msgctxt "post_mime_types_description"
1777
  msgid "Built-in view"
1778
  msgstr ""
1779
 
 
1780
  msgctxt "table_view_singular"
1781
  msgid "Image"
1782
  msgstr ""
1783
 
 
1784
  msgctxt "table_view_plural"
1785
  msgid "Images"
1786
  msgstr ""
1787
 
 
1788
  msgctxt "post_mime_types_description"
1789
  msgid "All image subtypes"
1790
  msgstr ""
1791
 
 
1792
  msgctxt "table_view_singular"
1793
  msgid "Audio"
1794
  msgstr ""
1795
 
 
1796
  msgctxt "table_view_plural"
1797
  msgid "Audio"
1798
  msgstr ""
1799
 
 
1800
  msgctxt "post_mime_types_description"
1801
  msgid "All audio subtypes"
1802
  msgstr ""
1803
 
 
1804
  msgctxt "table_view_singular"
1805
  msgid "Video"
1806
  msgstr ""
1807
 
 
1808
  msgctxt "table_view_plural"
1809
  msgid "Video"
1810
  msgstr ""
1811
 
 
1812
  msgctxt "post_mime_types_description"
1813
  msgid "All video subtypes"
1814
  msgstr ""
1815
 
 
1816
  msgctxt "table_view_singular"
1817
  msgid "Text"
1818
  msgstr ""
1819
 
 
1820
  msgctxt "table_view_plural"
1821
  msgid "Text"
1822
  msgstr ""
1823
 
 
1824
  msgctxt "post_mime_types_description"
1825
  msgid "All text subtypes"
1826
  msgstr ""
1827
 
 
1828
  msgctxt "table_view_singular"
1829
  msgid "Application"
1830
  msgstr ""
1831
 
 
1832
  msgctxt "table_view_plural"
1833
  msgid "Applications"
1834
  msgstr ""
1835
 
 
1836
  msgctxt "post_mime_types_description"
1837
  msgid "All application subtypes"
1838
  msgstr ""
1839
 
 
1840
  msgctxt "table_view_plural"
1841
  msgid "Unattached"
1842
  msgstr ""
1843
 
 
1844
  msgctxt "table_view_singular"
1845
  msgid "Attached"
1846
  msgstr ""
1847
 
 
1848
  msgctxt "table_view_plural"
1849
  msgid "Attached"
1850
  msgstr ""
1851
 
 
1852
  msgctxt "table_view_singular"
1853
  msgid "Trash"
1854
  msgstr ""
1855
 
 
1856
  msgctxt "table_view_plural"
1857
  msgid "Trash"
1858
  msgstr ""
1859
 
 
1860
  msgid "Enable Upload MIME Type Support"
1861
  msgstr ""
1862
 
 
1863
  msgid ""
1864
  "Check/uncheck this option to enable/disable Upload MIME Type Support, then "
1865
  "click <strong>Save Changes</strong> to record the new setting."
1866
  msgstr ""
1867
 
 
1868
  msgid "Upload MIME Types help."
1869
  msgstr ""
1870
 
 
1871
  msgid "Enable MLA File Type Icons Support"
1872
  msgstr ""
1873
 
 
1874
  msgid ""
1875
  "Check/uncheck this option to enable/disable MLA File Type Icons Support, "
1876
  "then click <strong>Save Changes</strong> to record the new setting."
1877
  msgstr ""
1878
 
 
1879
  msgid "Display Limit"
1880
  msgstr ""
1881
 
 
1882
  msgid ""
1883
  "Enter the maximum number of debug log characters to display; enter zero or "
1884
  "leave blank for no limit."
1885
  msgstr ""
1886
 
 
1887
  msgid "Debug File"
1888
  msgstr ""
1889
 
 
1890
  msgid ""
1891
  "Enter the name of an alternate, MLA-specific debug log file; leave blank to "
1892
  "use the PHP error_log."
1893
  msgstr ""
1894
 
1895
+ msgid "Replace PHP error_log file"
1896
+ msgstr ""
1897
+
1898
+ msgid ""
1899
+ "Check this option to replace the PHP error_log file with the MLA Debug File."
1900
+ "<br>&nbsp;&nbsp;allows capture of PHP messages in the MLA Debug File."
1901
+ msgstr ""
1902
+
1903
+ msgid "PHP Reporting"
1904
+ msgstr ""
1905
+
1906
+ msgid ""
1907
+ "Enter a numeric error_reporting value, e.g., 0x7FFF or 32767; leave blank to "
1908
+ "use the existing PHP error_reporting value."
1909
+ msgstr ""
1910
+
1911
+ msgid "MLA Reporting"
1912
+ msgstr ""
1913
+
1914
+ msgid ""
1915
+ "Enter a numeric MLA_DEBUG_LEVEL value, e.g., 0x0003 or 3; leave blank to use "
1916
+ "the existing MLA_DEBUG_LEVEL value."
1917
+ msgstr ""
1918
+
1919
  msgid "no templates exist"
1920
  msgstr ""
1921
 
 
1922
  msgid "not found"
1923
  msgstr ""
1924
 
1925
  #. translators: 1: ERROR tag 2: option name 3: action, e.g., update, delete, reset
 
 
 
1926
  #, php-format
1927
  msgid "%1$s: Custom %2$s unknown action \"%3$s\""
1928
  msgstr ""
1929
 
 
1930
  msgid "Support"
1931
  msgstr ""
1932
 
 
1933
  msgid "Inline Edit"
1934
  msgstr ""
1935
 
 
1936
  msgid "Term Search"
1937
  msgstr ""
1938
 
 
1939
  msgid "Checklist"
1940
  msgstr ""
1941
 
 
1942
  msgid "Checked On Top"
1943
  msgstr ""
1944
 
 
1945
  msgid "List Filter"
1946
  msgstr ""
1947
 
 
1948
  msgid "Taxonomy"
1949
  msgstr ""
1950
 
1951
  #. translators: 1: taxonomy name
 
1952
  #, php-format
1953
  msgid "List Filter ignored; %1$s not supported."
1954
  msgstr ""
1955
 
1956
  #. translators: 1: taxonomy name
 
1957
  #, php-format
1958
  msgid "Inline Edit ignored; %1$s not supported."
1959
  msgstr ""
1960
 
1961
  #. translators: 1: taxonomy name
 
1962
  #, php-format
1963
  msgid "Term Search ignored; %1$s not supported."
1964
  msgstr ""
1965
 
1966
  #. translators: 1: taxonomy name
 
1967
  #, php-format
1968
  msgid "Checklist ignored; %1$s not supported."
1969
  msgstr ""
1970
 
1971
  #. translators: 1: taxonomy name
 
1972
  #, php-format
1973
  msgid "Checked On Top ignored; %1$s not supported."
1974
  msgstr ""
1975
 
1976
  #. translators: 1: option name, e.g., taxonomy_support
 
1977
  #, php-format
1978
  msgid "Update custom %1$s"
1979
  msgstr ""
1980
 
1981
  #. translators: 1: option name, e.g., taxonomy_support
 
 
1982
  #, php-format
1983
  msgid "Reset custom %1$s"
1984
  msgstr ""
1985
 
 
 
 
1986
  msgid "and"
1987
  msgstr ""
1988
 
 
 
 
1989
  msgid "or"
1990
  msgstr ""
1991
 
 
 
 
 
 
 
1992
  msgid "Name"
1993
  msgstr ""
1994
 
 
 
 
1995
  msgid "Terms"
1996
  msgstr ""
1997
 
 
 
 
1998
  msgid "None (select a value)"
1999
  msgstr ""
2000
 
 
2001
  msgid "Metadata (see below)"
2002
  msgstr ""
2003
 
 
2004
  msgid "Template (see below)"
2005
  msgstr ""
2006
 
2007
  #. translators: 1: ERROR tag 2: custom field name
 
2008
  #, php-format
2009
  msgid "%1$s: New field %2$s already exists."
2010
  msgstr ""
2011
 
2012
  #. translators: 1: custom field name
 
2013
  #, php-format
2014
  msgid "Adding new field %1$s."
2015
  msgstr ""
2016
 
2017
  #. translators: 1: custom field name
 
2018
  #, php-format
2019
  msgid "Adding new rule for %1$s."
2020
  msgstr ""
2021
 
2022
  #. translators: 1: custom field name
 
 
2023
  #, php-format
2024
  msgid "Deleting rule for %1$s."
2025
  msgstr ""
2026
 
2027
  #. translators: 1: custom field name 2: attribute 3: old value 4: new value
 
 
 
 
 
 
 
 
2028
  #, php-format
2029
  msgid "%1$s changing %2$s from %3$s to %4$s."
2030
  msgstr ""
2031
 
 
2032
  msgid "Data Source"
2033
  msgstr ""
2034
 
 
 
2035
  msgid "Replace to Keep"
2036
  msgstr ""
2037
 
 
 
2038
  msgid "Keep to Replace"
2039
  msgstr ""
2040
 
2041
  #. translators: 1: custom field name 2: attribute 3: old value 'to' new value
 
 
 
 
 
 
2042
  #, php-format
2043
  msgid "%1$s changing %2$s value from %3$s."
2044
  msgstr ""
2045
 
 
 
 
 
2046
  msgid "Existing Text"
2047
  msgstr ""
2048
 
 
 
 
2049
  msgid "Format"
2050
  msgstr ""
2051
 
 
 
 
2052
  msgid "unchecked to checked"
2053
  msgstr ""
2054
 
 
 
 
2055
  msgid "checked to unchecked"
2056
  msgstr ""
2057
 
 
2058
  msgid "MLA Column"
2059
  msgstr ""
2060
 
 
2061
  msgid "Metavalue name"
2062
  msgstr ""
2063
 
 
 
 
 
2064
  msgid "Option"
2065
  msgstr ""
2066
 
 
 
 
 
2067
  msgid "Delete NULL values"
2068
  msgstr ""
2069
 
 
2070
  msgid "No Custom Field Mapping Rules Defined"
2071
  msgstr ""
2072
 
 
 
 
 
 
2073
  msgid "Keep"
2074
  msgstr ""
2075
 
 
 
 
2076
  msgid "Native"
2077
  msgstr ""
2078
 
 
 
 
2079
  msgid "Commas"
2080
  msgstr ""
2081
 
 
 
 
2082
  msgid "Raw"
2083
  msgstr ""
2084
 
 
 
 
2085
  msgid "Text"
2086
  msgstr ""
2087
 
 
 
 
2088
  msgid "Single"
2089
  msgstr ""
2090
 
 
 
 
2091
  msgid "Export"
2092
  msgstr ""
2093
 
 
 
 
2094
  msgid "Array"
2095
  msgstr ""
2096
 
 
 
 
2097
  msgid "Multi"
2098
  msgstr ""
2099
 
 
2100
  msgid "Delete Rule"
2101
  msgstr ""
2102
 
 
2103
  msgid "Delete Rule AND Field"
2104
  msgstr ""
2105
 
 
2106
  msgid "Update Rule"
2107
  msgstr ""
2108
 
 
 
2109
  msgid "Map All Attachments"
2110
  msgstr ""
2111
 
 
2112
  msgid "Add a new Mapping Rule"
2113
  msgstr ""
2114
 
 
2115
  msgid "Add Rule"
2116
  msgstr ""
2117
 
 
2118
  msgid "Add Rule and Map All Attachments"
2119
  msgstr ""
2120
 
 
2121
  msgid "Add a new Field and Mapping Rule"
2122
  msgstr ""
2123
 
 
2124
  msgid "Add Field"
2125
  msgstr ""
2126
 
 
2127
  msgid "Add Field and Map All Attachments"
2128
  msgstr ""
2129
 
 
 
 
2130
  msgid "Field Title"
2131
  msgstr ""
2132
 
 
2133
  msgid "Custom field mapping rules updated."
2134
  msgstr ""
2135
 
 
2136
  msgid "Custom field mapping rules update failed."
2137
  msgstr ""
2138
 
 
 
2139
  msgid "Custom field no mapping rule changes detected."
2140
  msgstr ""
2141
 
 
2142
  msgid "Custom field mapping settings saved."
2143
  msgstr ""
2144
 
 
2145
  msgid "Custom field mapping settings reset failed."
2146
  msgstr ""
2147
 
2148
  #. translators: 1: ERROR tag 2: custom field name
 
2149
  #, php-format
2150
  msgid "%1$s: No old values for %2$s."
2151
  msgstr ""
2152
 
 
 
 
2153
  msgid "IPTC Value"
2154
  msgstr ""
2155
 
 
 
2156
  msgid "EXIF Value"
2157
  msgstr ""
2158
 
 
 
2159
  msgid "EXIF to IPTC"
2160
  msgstr ""
2161
 
 
 
2162
  msgid "IPTC to EXIF"
2163
  msgstr ""
2164
 
 
 
 
2165
  msgid "Priority"
2166
  msgstr ""
2167
 
 
2168
  msgid "Delimiter(s)"
2169
  msgstr ""
2170
 
 
 
 
2171
  msgid "IPTC"
2172
  msgstr ""
2173
 
 
 
 
2174
  msgid "EXIF"
2175
  msgstr ""
2176
 
 
 
2177
  msgid "EXIF/Template Value"
2178
  msgstr ""
2179
 
2180
  #. translators: 1: ERROR tag 2: option name
 
2181
  #, php-format
2182
  msgid "%1$s: Render unknown custom %2$s."
2183
  msgstr ""
2184
 
2185
  #. translators: 1: ERROR tag 2: option name
 
2186
  #, php-format
2187
  msgid "%1$s: Update/delete unknown custom %2$s."
2188
  msgstr ""
2189
 
 
2190
  msgid "IPTC/EXIF mapping settings updated."
2191
  msgstr ""
2192
 
 
2193
  msgid "IPTC/EXIF settings update failed."
2194
  msgstr ""
2195
 
 
 
2196
  msgid "IPTC/EXIF no mapping changes detected."
2197
  msgstr ""
2198
 
2199
  #. translators: 1: field type
 
 
2200
  #, php-format
2201
  msgid "%1$s settings saved."
2202
  msgstr ""
2203
 
 
 
 
2204
  msgid "Standard field"
2205
  msgstr ""
2206
 
2207
  #. translators: 1: ERROR tag 2: field type
 
 
2208
  #, php-format
2209
  msgid "%1$s: IPTC/EXIF %2$s settings update failed."
2210
  msgstr ""
2211
 
 
 
 
2212
  msgid "Taxonomy term"
2213
  msgstr ""
2214
 
 
 
 
 
2215
  msgid "Custom field"
2216
  msgstr ""
2217
 
2218
  #. translators: 1: ERROR tag 2: option name, e.g., taxonomy_support
 
2219
  #, php-format
2220
  msgid "%1$s: Reset unknown custom %2$s"
2221
  msgstr ""
2222
 
 
2223
  msgid "ERROR: No post ID found"
2224
  msgstr ""
2225
 
 
2226
  msgid "Error while saving the translations."
2227
  msgstr ""
2228
 
 
2229
  msgid "Remove From Bulk Translate"
2230
  msgstr ""
2231
 
 
2232
  msgid "Bulk Translate items"
2233
  msgstr ""
2234
 
 
2235
  msgid "Add new"
2236
  msgstr ""
2237
 
 
 
 
2238
  msgid "Bulk Translations"
2239
  msgstr ""
2240
 
 
2241
  msgid "Translate"
2242
  msgstr ""
2243
 
 
2244
  msgid "All Languages"
2245
  msgstr ""
2246
 
 
 
 
2247
  msgid "Quick Translate"
2248
  msgstr ""
2249
 
 
2250
  msgid "Set Language"
2251
  msgstr ""
2252
 
 
 
2253
  msgid "Bulk Translate"
2254
  msgstr ""
2255
 
 
2256
  msgid "Add or Modify Translation"
2257
  msgstr ""
2258
 
 
 
 
 
 
2259
  msgid "Language"
2260
  msgstr ""
2261
 
 
 
2262
  msgid "Options"
2263
  msgstr ""
2264
 
 
2265
  msgid "Translate this item inline"
2266
  msgstr ""
2267
 
 
 
 
 
2268
  msgid "Media/Assistant submenu table"
2269
  msgstr ""
2270
 
 
 
2271
  msgid "Language Column"
2272
  msgstr ""
2273
 
 
 
2274
  msgid ""
2275
  "Check this option to add a Language column to the Media/Assistant submenu "
2276
  "table."
2277
  msgstr ""
2278
 
 
 
2279
  msgid "Translations Column"
2280
  msgstr ""
2281
 
 
 
2282
  msgid ""
2283
  "Check this option to add a Translation Status column to the Media/Assistant "
2284
  "submenu table."
2285
  msgstr ""
2286
 
 
2287
  msgid ""
2288
  "Check this option to add a Quick Translate rollover action to the Media/"
2289
  "Assistant submenu table."
2290
  msgstr ""
2291
 
 
2292
  msgid ""
2293
  "Check this option to add \"Translate\" to the \"Bulk Actions\" control on "
2294
  "the Media/Assistant submenu table."
2295
  msgstr ""
2296
 
 
 
 
 
2297
  msgid "Term Management"
2298
  msgstr ""
2299
 
 
 
2300
  msgid "Term Assignment"
2301
  msgstr ""
2302
 
 
 
2303
  msgid ""
2304
  "Check this option to assign language-specific terms when items are updated."
2305
  msgstr ""
2306
 
 
 
2307
  msgid "Term Synchronization"
2308
  msgstr ""
2309
 
 
 
2310
  msgid ""
2311
  "Check this option to synchronize common terms among all item translations."
2312
  msgstr ""
2313
 
 
 
2314
  msgid "Language Options"
2315
  msgstr ""
2316
 
2317
  #. translators: 1: - 4: page subheader values
 
2318
  #, php-format
2319
  msgid ""
2320
  "In this tab you can find a number of options for controlling Polylang-"
2324
  msgstr ""
2325
 
2326
  #. translators: 1: Documentation hyperlink
 
 
2327
  #, php-format
2328
  msgid ""
2329
  "You can find more information about multilingual features in the %1$s "
2330
  "section of the Documentation."
2331
  msgstr ""
2332
 
 
 
2333
  msgid "Language Options documentation"
2334
  msgstr ""
2335
 
 
 
2336
  msgid "WPML &amp; Polylang Multilingual Support; the MLA Language Tab"
2337
  msgstr ""
2338
 
 
 
 
 
 
 
 
 
2339
  msgid "Save Changes"
2340
  msgstr ""
2341
 
 
 
2342
  msgid "Delete Language options and restore default settings"
2343
  msgstr ""
2344
 
 
 
 
 
2345
  msgid "Go to Top"
2346
  msgstr ""
2347
 
 
 
2348
  msgid "Language settings saved."
2349
  msgstr ""
2350
 
2351
  #. translators: 1: option name
 
 
 
2352
  #, php-format
2353
  msgctxt "message_list"
2354
  msgid "delete_option \"%1$s\""
2355
  msgstr ""
2356
 
 
 
2357
  msgid "Language settings reset to default values."
2358
  msgstr ""
2359
 
 
2360
  msgid "no slug"
2361
  msgstr ""
2362
 
 
2363
  msgid "Running"
2364
  msgstr ""
2365
 
 
2366
  msgid "Skipped"
2367
  msgstr ""
2368
 
 
2369
  msgid "Reprocessed"
2370
  msgstr ""
2371
 
 
 
2372
  msgid "Settings"
2373
  msgstr ""
2374
 
 
2375
  msgid "Views per page"
2376
  msgstr ""
2377
 
 
2378
  msgid "Types per page"
2379
  msgstr ""
2380
 
 
2381
  msgid "Upload types per page"
2382
  msgstr ""
2383
 
 
2384
  msgid "No view slug found"
2385
  msgstr ""
2386
 
 
2387
  msgid "No upload slug found"
2388
  msgstr ""
2389
 
 
 
2390
  msgid "Map All Rules, All Attachments Now"
2391
  msgstr ""
2392
 
 
2393
  msgid "Map All Attachments, Standard Fields Now"
2394
  msgstr ""
2395
 
 
2396
  msgid "Map All Attachments, Taxonomy Terms Now"
2397
  msgstr ""
2398
 
 
2399
  msgid "Map All Attachments, Custom Fields Now"
2400
  msgstr ""
2401
 
2402
  #. translators: 1: ERROR tag 2: function name 3: option type, e.g., radio, select, text
 
 
2403
  #, php-format
2404
  msgctxt "error_log"
2405
  msgid "%1$s: %2$s unknown type = \"%3$s\""
2406
  msgstr ""
2407
 
 
2408
  msgid "General"
2409
  msgstr ""
2410
 
 
2411
  msgid "Views"
2412
  msgstr ""
2413
 
 
2414
  msgid "Uploads"
2415
  msgstr ""
2416
 
 
 
2417
  msgid "MLA Gallery"
2418
  msgstr ""
2419
 
 
2420
  msgid "Custom Fields"
2421
  msgstr ""
2422
 
 
2423
  msgid "Documentation"
2424
  msgstr ""
2425
 
 
2426
  msgid "Debug"
2427
  msgstr ""
2428
 
 
2429
  msgid "General Processing Options"
2430
  msgstr ""
2431
 
2432
  #. translators: 1: - 4: page subheader values
 
2433
  #, php-format
2434
  msgid ""
2435
  "In this tab you can find a number of options for controlling the "
2438
  "any changes you make."
2439
  msgstr ""
2440
 
 
2441
  msgid "Media/Assistant Table Defaults"
2442
  msgstr ""
2443
 
 
2444
  msgid "Media Manager Enhancements"
2445
  msgstr ""
2446
 
 
2447
  msgid "Export ALL Settings"
2448
  msgstr ""
2449
 
 
2450
  msgid "Delete General options and restore default settings"
2451
  msgstr ""
2452
 
 
2453
  msgid "Support Our Work"
2454
  msgstr ""
2455
 
 
2456
  msgid "Donate to FTJ"
2457
  msgstr ""
2458
 
 
2459
  msgid "Donate"
2460
  msgstr ""
2461
 
2462
  #. translators: 1: donation hyperlink
 
2463
  #, php-format
2464
  msgid ""
2465
  "This plugin was inspired by my work on the WordPress web site for our "
2468
  "our work. Thank you!"
2469
  msgstr ""
2470
 
 
2471
  msgid "tax-deductible donation"
2472
  msgstr ""
2473
 
 
2474
  msgid "enhanced version of the WordPress [gallery] shortcode."
2475
  msgstr ""
2476
 
 
2477
  msgid "enhanced version of the WordPress Tag Cloud."
2478
  msgstr ""
2479
 
 
2480
  msgid "Shortcodes made available by this plugin"
2481
  msgstr ""
2482
 
 
2483
  msgid "Edit View"
2484
  msgstr ""
2485
 
 
2486
  msgid ""
2487
  "The &#8220;slug&#8221; is the URL-friendly, unique key for the view. It must "
2488
  "be all lowercase and contain only letters, numbers, periods (.), slashes (/) "
2491
  "MIME</strong> type, e.g., &#8220;image&#8221; or &#8220;image/jpeg&#8221;."
2492
  msgstr ""
2493
 
 
2494
  msgid "Singular Label"
2495
  msgstr ""
2496
 
 
2497
  msgid "Plural Label"
2498
  msgstr ""
2499
 
 
2500
  msgid ""
2501
  "The labels, e.g., &#8220;Image&#8221; and &#8220;Images&#8221; are used for "
2502
  "column headers and other display purposes."
2503
  msgstr ""
2504
 
 
2505
  msgid "Specification"
2506
  msgstr ""
2507
 
 
2508
  msgid ""
2509
  "If the MIME type specification differs from the slug, enter it here. You may "
2510
  "include multiple MIME types, e.g., &#8220;audio,video&#8221; and/or wildcard "
2512
  "MIME Type box is checked."
2513
  msgstr ""
2514
 
 
2515
  msgid "Post MIME Type"
2516
  msgstr ""
2517
 
 
2518
  msgid ""
2519
  "Check this box if you want to add this entry to the list of MIME types "
2520
  "returned by wp_get_mime_types()."
2521
  msgstr ""
2522
 
 
2523
  msgid "Table View"
2524
  msgstr ""
2525
 
 
2526
  msgid ""
2527
  "Check this box if you want to add this entry to the list of Media/Assistant "
2528
  "table views."
2529
  msgstr ""
2530
 
 
2531
  msgid ""
2532
  "You can choose your own table view order by entering a number (1 for first, "
2533
  "etc.) in this field."
2534
  msgstr ""
2535
 
 
 
2536
  msgid ""
2537
  "The description can contain any documentation or notes you need to "
2538
  "understand or use the item."
2539
  msgstr ""
2540
 
2541
  #. translators: 1: bulk_action, e.g., delete, edit, restore, trash
 
2542
  #, php-format
2543
  msgid "Unknown bulk action %1$s"
2544
  msgstr ""
2545
 
2546
  #. translators: 1: view name/slug
 
2547
  #, php-format
2548
  msgid "Edit view \"%1$s\" cancelled."
2549
  msgstr ""
2550
 
 
2551
  msgid "View and Post MIME Type Support is disabled"
2552
  msgstr ""
2553
 
 
2554
  msgid "Library Views/Post MIME Type Processing"
2555
  msgstr ""
2556
 
 
2557
  msgid ""
2558
  "In this tab you can manage the list of \"Post MIME Types\", which are used "
2559
  "by WordPress to define the views for the <em><strong>Media/Library</strong></"
2565
  msgstr ""
2566
 
2567
  #. translators: 1: Documentation hyperlink
 
2568
  #, php-format
2569
  msgid ""
2570
  "You can find more information about library views, Post MIME types and how "
2573
  "screen."
2574
  msgstr ""
2575
 
 
2576
  msgid "Library View Processing documentation"
2577
  msgstr ""
2578
 
 
 
2579
  msgid "Displaying search results for"
2580
  msgstr ""
2581
 
 
2582
  msgid "Search Views"
2583
  msgstr ""
2584
 
 
2585
  msgid "Add View"
2586
  msgstr ""
2587
 
 
2588
  msgid "<strong>Quick Edit</strong>"
2589
  msgstr ""
2590
 
 
2591
  msgid "Edit Upload MIME Type"
2592
  msgstr ""
2593
 
 
2594
  msgid ""
2595
  "The &#8220;extension&#8221; is the file extension for this type, and a "
2596
  "unique key for the item. It must be all lowercase and contain only letters "
2597
  "and numbers."
2598
  msgstr ""
2599
 
 
2600
  msgid ""
2601
  "The MIME Type must be all lowercase and contain only letters, numbers, "
2602
  "periods (.), slashes (/) and hyphens (-). It <strong>must be a valid MIME</"
2603
  "strong> type, e.g., &#8220;image&#8221; or &#8220;image/jpeg&#8221;."
2604
  msgstr ""
2605
 
 
2606
  msgid "Icon Type"
2607
  msgstr ""
2608
 
 
2609
  msgid ""
2610
  "The Icon Type selects a thumbnail image displayed for non-image file types, "
2611
  "such as PDF documents."
2612
  msgstr ""
2613
 
 
 
2614
  msgid "Inactive"
2615
  msgstr ""
2616
 
 
2617
  msgid ""
2618
  "Check this box if you want to remove this entry from the list of Upload MIME "
2619
  "Types returned by get_allowed_mime_types()."
2620
  msgstr ""
2621
 
 
2622
  msgid "Known File Extension/MIME Type Associations"
2623
  msgstr ""
2624
 
 
2625
  msgid "Search Known MIME Types"
2626
  msgstr ""
2627
 
 
2628
  msgid "To search by extension, use \".\", e.g., \".doc\""
2629
  msgstr ""
2630
 
 
2631
  msgid "Upload MIME Type Support is disabled"
2632
  msgstr ""
2633
 
 
2634
  msgid "File Extension and MIME Type Processing"
2635
  msgstr ""
2636
 
 
2637
  msgid ""
2638
  "In this tab you can manage the list of file extension/MIME Type "
2639
  "associations, which are used by WordPress to decide what kind of files can "
2643
  msgstr ""
2644
 
2645
  #. translators: 1: Documentation hyperlink
 
2646
  #, php-format
2647
  msgid ""
2648
  "You can find more information about file extensions, MIME types and how "
2650
  "the <strong>\"Help\"</strong> tab in the upper-right corner of this screen."
2651
  msgstr ""
2652
 
 
2653
  msgid "File Extension Processing documentation"
2654
  msgstr ""
2655
 
 
2656
  msgid "Search Uploads"
2657
  msgstr ""
2658
 
 
2659
  msgid "Upload MIME Type"
2660
  msgstr ""
2661
 
 
2662
  msgid ""
2663
  "To search the database of over 1,500 known extension/type associations, "
2664
  "click \"Search Known Types\" below the form."
2665
  msgstr ""
2666
 
 
2667
  msgid ""
2668
  "The &#8220;extension&#8221; is the file extension for this type, and unique "
2669
  "key for the item. It must be all lowercase and contain only letters and "
2670
  "numbers."
2671
  msgstr ""
2672
 
 
2673
  msgid "Add Upload MIME Type"
2674
  msgstr ""
2675
 
 
2676
  msgid "Search Known Types"
2677
  msgstr ""
2678
 
 
 
2679
  msgid "Active"
2680
  msgstr ""
2681
 
 
2682
  msgid "MLA Gallery Options"
2683
  msgstr ""
2684
 
 
2685
  msgid "Go to Style Templates"
2686
  msgstr ""
2687
 
 
2688
  msgid "Go to Markup Templates"
2689
  msgstr ""
2690
 
 
2691
  msgid ""
2692
  "In this tab you can view the default style and markup templates. You can "
2693
  "also define additional templates and use the <code>mla_style</code> and "
2697
  "Changes\" at the bottom of this page."
2698
  msgstr ""
2699
 
 
2700
  msgid "Style Templates"
2701
  msgstr ""
2702
 
 
2703
  msgid "Markup Templates"
2704
  msgstr ""
2705
 
 
2706
  msgid "Theme"
2707
  msgstr ""
2708
 
 
2709
  msgid "Imagick support is not installed."
2710
  msgstr ""
2711
 
 
2712
  msgid "Ghostscript support is not installed."
2713
  msgstr ""
2714
 
 
2715
  msgid "WARNING: MLA Viewer support may not be available"
2716
  msgstr ""
2717
 
 
2718
  msgid ""
2719
  "This default template cannot be altered or deleted, but you can copy the "
2720
  "styles."
2721
  msgstr ""
2722
 
 
 
2723
  msgid "Styles"
2724
  msgstr ""
2725
 
 
 
2726
  msgid ""
2727
  "List of substitution parameters, e.g., [+selector+], on Documentation tab."
2728
  msgstr ""
2729
 
 
2730
  msgid "Delete this template"
2731
  msgstr ""
2732
 
 
2733
  msgid ""
2734
  "Check the box to delete this template when you press Update at the bottom of "
2735
  "the page."
2736
  msgstr ""
2737
 
 
2738
  msgid "Fill in a name and styles to add a new template."
2739
  msgstr ""
2740
 
 
2741
  msgid ""
2742
  "This default template cannot be altered or deleted, but you can copy the "
2743
  "markup."
2744
  msgstr ""
2745
 
 
 
2746
  msgid "Open"
2747
  msgstr ""
2748
 
 
 
2749
  msgid ""
2750
  "Markup for the beginning of the gallery. List of parameters, e.g., [+selector"
2751
  "+], on Documentation tab."
2752
  msgstr ""
2753
 
 
 
2754
  msgid "Row"
2755
  msgstr ""
2756
 
 
2757
  msgid "Markup for the beginning of each row in the gallery."
2758
  msgstr ""
2759
 
 
 
2760
  msgid "Item"
2761
  msgstr ""
2762
 
 
2763
  msgid "Markup for each item/cell of the gallery."
2764
  msgstr ""
2765
 
 
 
 
2766
  msgid "Close"
2767
  msgstr ""
2768
 
 
2769
  msgid "Markup for the end of each row in the gallery."
2770
  msgstr ""
2771
 
 
 
2772
  msgid "Markup for the end of the gallery."
2773
  msgstr ""
2774
 
 
2775
  msgid "Markup for the beginning of each row."
2776
  msgstr ""
2777
 
 
2778
  msgid "Markup for each item/cell."
2779
  msgstr ""
2780
 
 
2781
  msgid "Markup for the end of each row."
2782
  msgstr ""
2783
 
 
2784
  msgid "Fill in a name and markup to add a new template."
2785
  msgstr ""
2786
 
 
2787
  msgid "Custom Field Mapping Progress"
2788
  msgstr ""
2789
 
 
2790
  msgid "DO NOT DO THE FOLLOWING (they will cause mapping to fail)"
2791
  msgstr ""
2792
 
 
2793
  msgid "Close the window"
2794
  msgstr ""
2795
 
 
2796
  msgid "Reload the page"
2797
  msgstr ""
2798
 
 
2799
  msgid "Click the browser&rsquo;s Stop, Back or forward buttons"
2800
  msgstr ""
2801
 
 
2802
  msgid "Progress"
2803
  msgstr ""
2804
 
 
2805
  msgid "Resume"
2806
  msgstr ""
2807
 
 
2808
  msgid "Custom Field and Attachment Metadata Processing Options"
2809
  msgstr ""
2810
 
2811
  #. translators: 1: Documentation hyperlink
 
2812
  #, php-format
2813
  msgid ""
2814
  "In this tab you can define the rules for mapping several types of image "
2818
  "field. See the %1$s section of the Documentation for details."
2819
  msgstr ""
2820
 
 
2821
  msgid "Updating Attachment Metadata Documentation"
2822
  msgstr ""
2823
 
 
2824
  msgid "Adding or changing Attachment Metadata"
2825
  msgstr ""
2826
 
2827
  #. translators: 1: Documentation hyperlink
 
2828
  #, php-format
2829
  msgid ""
2830
  "You can find more information about using the controls in this tab to define "
2831
  "mapping rules and apply them in the %1$s section of the Documentation."
2832
  msgstr ""
2833
 
 
2834
  msgid "Custom Field Options documentation"
2835
  msgstr ""
2836
 
 
2837
  msgid "Custom field mapping"
2838
  msgstr ""
2839
 
2840
  #. translators: 1: "Save Changes"
 
2841
  #, php-format
2842
  msgid ""
2843
  "Click %1$s to update the \"Enable custom field mapping...\" checkbox and/or "
2846
  msgstr ""
2847
 
2848
  #. translators: 1: "Map All Rules..."
 
2849
  #, php-format
2850
  msgid ""
2851
  "Click %1$s to apply all the rules at once (rule changes will be applied but "
2852
  "not saved)."
2853
  msgstr ""
2854
 
 
2855
  msgid "IPTC &amp; EXIF Mapping Progress"
2856
  msgstr ""
2857
 
 
2858
  msgid "IPTC &amp; EXIF Processing Options"
2859
  msgstr ""
2860
 
 
2861
  msgid ""
2862
  "In this tab you can define the rules for mapping IPTC (International Press "
2863
  "Telecommunications Council) and EXIF (EXchangeable Image File) metadata to "
2866
  "click \"Save Changes\" at the bottom of this page."
2867
  msgstr ""
2868
 
 
2869
  msgid "IPTC/EXIF Options documentation"
2870
  msgstr ""
2871
 
 
2872
  msgid "Standard field mapping"
2873
  msgstr ""
2874
 
 
2875
  msgid "Taxonomy term mapping"
2876
  msgstr ""
2877
 
2878
  #. translators: 1: "Save Changes"
 
2879
  #, php-format
2880
  msgid ""
2881
  "Click %1$s to update the \"Enable IPTC/EXIF mapping...\" checkbox and/or all "
2883
  "performed.</strong>"
2884
  msgstr ""
2885
 
 
2886
  msgid "Debug settings saved."
2887
  msgstr ""
2888
 
2889
  #. translators: 1: ERROR tag 2: file type 3: file name 4: error message
 
2890
  #, php-format
2891
  msgid "%1$s: Reseting the %2$s file ( %3$s ) \"%4$s\"."
2892
  msgstr ""
2893
 
 
 
 
2894
  msgid "Error Log"
2895
  msgstr ""
2896
 
2897
  #. translators: 1: ERROR tag 2: file type 3: file name 4: error message
 
2898
  #, php-format
2899
  msgid "%1$s: Reading the %2$s file ( %3$s ) \"%4$s\"."
2900
  msgstr ""
2901
 
2902
  #. translators: 1: file name
 
2903
  #, php-format
2904
  msgid "Error log file (%1$s) not found; click Reset to create it."
2905
  msgstr ""
2906
 
 
 
 
 
 
2907
  msgid "Debug Options"
2908
  msgstr ""
2909
 
 
2910
  msgid "Debug Settings"
2911
  msgstr ""
2912
 
2913
  #. translators: 1: "Save Changes"
 
2914
  #, php-format
2915
  msgid "Click %1$s to update the %2$s."
2916
  msgstr ""
2917
 
 
2918
  msgid "You do not have permission to manage plugin settings."
2919
  msgstr ""
2920
 
 
2921
  msgid "Cannot render content tab"
2922
  msgstr ""
2923
 
 
2924
  msgid "Unknown content tab"
2925
  msgstr ""
2926
 
2927
  #. translators: 1: template type 2: template name
 
2928
  #, php-format
2929
  msgctxt "message_list"
2930
  msgid "Deleting %1$s \"%2$s\"."
2931
  msgstr ""
2932
 
2933
  #. translators: 1: ERROR tag 2: template name 3: template type
 
2934
  #, php-format
2935
  msgid "%1$s: Reserved name \"%2$s\", new %3$s discarded."
2936
  msgstr ""
2937
 
2938
  #. translators: 1: ERROR tag 2: template name 3: template type
 
2939
  #, php-format
2940
  msgid "%1$s: Duplicate name \"%2$s\", new %3$s discarded."
2941
  msgstr ""
2942
 
2943
  #. translators: 1: template type 2: template name
 
2944
  #, php-format
2945
  msgctxt "message_list"
2946
  msgid "Adding new %1$s \"%2$s\"."
2947
  msgstr ""
2948
 
2949
  #. translators: 1: ERROR tag 2: element name 3: old value
 
2950
  #, php-format
2951
  msgid "%1$s: Blank %2$s, reverting to \"%3$s\"."
2952
  msgstr ""
2953
 
 
 
2954
  msgid "style template name"
2955
  msgstr ""
2956
 
2957
  #. translators: 1: ERROR tag 2: element name 3: new value 4: old value
 
2958
  #, php-format
2959
  msgid "%1$s: Duplicate new %2$s \"%3$s\", reverting to \"%4$s\"."
2960
  msgstr ""
2961
 
2962
  #. translators: 1: element name 2: old_value 3: new_value
 
2963
  #, php-format
2964
  msgctxt "message_list"
2965
  msgid "Changing %1$s from \"%2$s\" to \"%3$s\""
2966
  msgstr ""
2967
 
2968
  #. translators: 1: template type 2: template name
 
2969
  #, php-format
2970
  msgctxt "message_list"
2971
  msgid "Updating contents of %1$s \"%2$s\"."
2972
  msgstr ""
2973
 
2974
  #. translators: 1: ERROR tag 2: template type
 
2975
  #, php-format
2976
  msgid "%1$s: Update of %2$s failed."
2977
  msgstr ""
2978
 
 
 
2979
  msgid "markup template name"
2980
  msgstr ""
2981
 
2982
  #. translators: 1: template name
 
2983
  #, php-format
2984
  msgctxt "message_list"
2985
  msgid "Updating open markup for \"%1$s\"."
2986
  msgstr ""
2987
 
2988
  #. translators: 1: template name
 
2989
  #, php-format
2990
  msgctxt "message_list"
2991
  msgid "Updating row open markup for \"%1$s\"."
2992
  msgstr ""
2993
 
2994
  #. translators: 1: template name
 
2995
  #, php-format
2996
  msgctxt "message_list"
2997
  msgid "Updating item markup for \"%1$s\"."
2998
  msgstr ""
2999
 
3000
  #. translators: 1: template name
 
3001
  #, php-format
3002
  msgctxt "message_list"
3003
  msgid "Updating row close markup for \"%1$s\"."
3004
  msgstr ""
3005
 
3006
  #. translators: 1: template name
 
3007
  #, php-format
3008
  msgctxt "message_list"
3009
  msgid "Updating close markup for \"%1$s\"."
3010
  msgstr ""
3011
 
3012
  #. translators: 1: field type
 
3013
  #, php-format
3014
  msgid "%1$s no changes detected."
3015
  msgstr ""
3016
 
 
3017
  msgid "View settings saved."
3018
  msgstr ""
3019
 
 
3020
  msgid "Upload MIME Type settings saved."
3021
  msgstr ""
3022
 
 
3023
  msgid "No custom field mapping rules to process."
3024
  msgstr ""
3025
 
3026
  #. translators: 1: field type 2: examined count 3: updated count
 
 
3027
  #, php-format
3028
  msgid "%1$s mapping completed; %2$d attachment(s) examined, %3$d updated."
3029
  msgstr ""
3030
 
3031
  #. translators: 1: field type 2: examined count
 
 
3032
  #, php-format
3033
  msgid ""
3034
  "%1$s mapping completed; %2$d attachment(s) examined, no changes detected."
3035
  msgstr ""
3036
 
3037
  #. translators: 1: number of attachments
 
3038
  #, php-format
3039
  msgid "%s attachment"
3040
  msgid_plural "%s attachments"
3042
  msgstr[1] ""
3043
 
3044
  #. translators: 1: singular/plural number of attachments
 
3045
  #, php-format
3046
  msgid "Deleted custom field value from %1$s."
3047
  msgstr ""
3048
 
 
3049
  msgid "No attachments contained this custom field."
3050
  msgstr ""
3051
 
3052
  #. translators: 1: ERROR tag 2: field type
 
 
3053
  #, php-format
3054
  msgid "%1$s: No %2$s settings to process."
3055
  msgstr ""
3056
 
 
 
3057
  msgid "updated."
3058
  msgstr ""
3059
 
3060
  #. translators: 1: reference type, e.g., Gallery in
 
3061
  #, php-format
3062
  msgctxt "message_list"
3063
  msgid "%1$s - references updated."
3064
  msgstr ""
3065
 
 
3066
  msgid "General settings saved."
3067
  msgstr ""
3068
 
 
3069
  msgid "General settings reset to default values."
3070
  msgstr ""
3071
 
 
3072
  msgid "select settings"
3073
  msgstr ""
3074
 
 
3075
  msgid "Import ALL Settings"
3076
  msgstr ""
3077
 
 
3078
  msgctxt "message_list"
3079
  msgid "exported"
3080
  msgstr ""
3081
 
 
3082
  msgctxt "message_list"
3083
  msgid "skipped"
3084
  msgstr ""
3085
 
 
3086
  msgid "ALL settings exported."
3087
  msgstr ""
3088
 
3089
  #. translators: 1: ERROR tag 2: backup directory name
 
3090
  #, php-format
3091
  msgid "%1$s: The settings directory ( %2$s ) cannot be created."
3092
  msgstr ""
3093
 
3094
  #. translators: 1: ERROR tag 2: backup directory name
 
3095
  #, php-format
3096
  msgid "%1$s: The settings directory ( %2$s ) is not writable."
3097
  msgstr ""
3098
 
3099
  #. translators: 1: ERROR tag 2: backup file name
 
3100
  #, php-format
3101
  msgid "%1$s: The settings file ( %2$s ) could not be opened."
3102
  msgstr ""
3103
 
3104
  #. translators: 1: ERROR tag 2: PHP error information
 
3105
  #, php-format
3106
  msgctxt "error_log"
3107
  msgid "%1$s: _export_settings $error_info = \"%2$s\"."
3108
  msgstr ""
3109
 
3110
  #. translators: 1: ERROR tag 2: backup file name 3: error message
 
3111
  #, php-format
3112
  msgid "%1$s: Writing the settings file ( %2$s ) \"%3$s\"."
3113
  msgstr ""
3114
 
3115
  #. translators: 1: number of option settings
 
3116
  #, php-format
3117
  msgid "Settings exported; %1$s settings recorded."
3118
  msgstr ""
3119
 
 
3120
  msgid "No settings imported."
3121
  msgstr ""
3122
 
 
3123
  msgid "Please select an import settings file from the dropdown list."
3124
  msgstr ""
3125
 
 
3126
  msgid "The import settings dropdown selection is missing."
3127
  msgstr ""
3128
 
3129
  #. translators: 1: ERROR tag 2: PHP error information
 
3130
  #, php-format
3131
  msgctxt "error_log"
3132
  msgid "%1$s: _import_settings $error_info = \"%2$s\"."
3133
  msgstr ""
3134
 
3135
  #. translators: 1: ERROR tag 2: backup file name 3: error message
 
3136
  #, php-format
3137
  msgid "%1$s: Reading the settings file ( %2$s ) \"%3$s\"."
3138
  msgstr ""
3139
 
 
3140
  msgctxt "message_list"
3141
  msgid "updated"
3142
  msgstr ""
3143
 
 
3144
  msgctxt "message_list"
3145
  msgid "unchanged"
3146
  msgstr ""
3147
 
3148
  #. translators: 1: number of option settings updated 2: number of option settings unchanged
 
3149
  #, php-format
3150
  msgid "Settings imported; %1$s updated, %2$s unchanged."
3151
  msgstr ""
3152
 
 
 
 
 
3153
  msgid "Previous"
3154
  msgstr ""
3155
 
 
 
 
 
3156
  msgid "Next"
3157
  msgstr ""
3158
 
 
3159
  msgid "mla_debug empty gallery"
3160
  msgstr ""
3161
 
 
3162
  msgid ""
3163
  "<strong>Photonic-enhanced [mla_gallery]</strong> type must be "
3164
  "<strong>default</strong>, query = "
3165
  msgstr ""
3166
 
 
3167
  msgid "unknown"
3168
  msgstr ""
3169
 
 
3170
  msgid "mla_debug attributes"
3171
  msgstr ""
3172
 
 
3173
  msgid "mla_debug arguments"
3174
  msgstr ""
3175
 
 
3176
  msgid "mla_debug empty cloud"
3177
  msgstr ""
3178
 
 
 
 
3179
  msgid "Invalid mla_gallery"
3180
  msgstr ""
3181
 
 
3182
  msgid "mla_debug query"
3183
  msgstr ""
3184
 
 
3185
  msgid "mla_debug request"
3186
  msgstr ""
3187
 
 
3188
  msgid "mla_debug query_vars"
3189
  msgstr ""
3190
 
 
3191
  msgid "mla_debug post_count"
3192
  msgstr ""
3193
 
 
3194
  msgid "mla_debug WHERE filter"
3195
  msgstr ""
3196
 
 
3197
  msgid "mla_debug modified WHERE filter"
3198
  msgstr ""
3199
 
 
3200
  msgid "mla_debug ORDER BY filter, incoming"
3201
  msgstr ""
3202
 
 
3203
  msgid "Replacement ORDER BY clause"
3204
  msgstr ""
3205
 
 
3206
  msgid "mla_debug posts_clauses filter"
3207
  msgstr ""
3208
 
 
3209
  msgid "mla_debug posts_clauses_request filter"
3210
  msgstr ""
3211
 
 
3212
  msgid "Invalid taxonomy"
3213
  msgstr ""
3214
 
 
3215
  msgid "mla_debug query arguments"
3216
  msgstr ""
3217
 
 
3218
  msgid "mla_debug last_query"
3219
  msgstr ""
3220
 
 
3221
  msgid "mla_debug last_error"
3222
  msgstr ""
3223
 
 
3224
  msgid "mla_debug num_rows"
3225
  msgstr ""
3226
 
 
3227
  msgid "mla_debug found_rows"
3228
  msgstr ""
3229
 
 
3230
  msgid "Error while saving the thumbnails."
3231
  msgstr ""
3232
 
 
3233
  msgid "Remove From"
3234
  msgstr ""
3235
 
 
 
 
3236
  msgid "Generate Thumbnails"
3237
  msgstr ""
3238
 
3239
  #. translators: 1: post ID
 
3240
  #, php-format
3241
  msgid "Item %1$d"
3242
  msgstr ""
3243
 
 
3244
  msgid "has native thumbnail."
3245
  msgstr ""
3246
 
 
3247
  msgid "Featured Image retained."
3248
  msgstr ""
3249
 
3250
  #. translators: 1: ERROR tag 2: Item post ID
 
3251
  #, php-format
3252
  msgid "%1$s: %2$sno attached file."
3253
  msgstr ""
3254
 
 
3255
  msgid "unsupported file type."
3256
  msgstr ""
3257
 
3258
  #. translators: 1: ERROR tag 2: Item post ID
 
3259
  #, php-format
3260
  msgid "%1$s: %2$sthumbnail generation failed"
3261
  msgstr ""
3262
 
3263
  #. translators: 1: ERROR tag 2: Item post ID
 
3264
  #, php-format
3265
  msgid "%1$s: %2$swp_insert_attachment failed."
3266
  msgstr ""
3267
 
3268
  #. translators: 1: Item post ID, 2: new thumbnail item ID
 
3269
  #, php-format
3270
  msgid "%1$sthumbnail generated as new item %2$s."
3271
  msgstr ""
3272
 
 
3273
  msgid "Generated Thumbnails"
3274
  msgstr ""
3275
 
 
3276
  msgid ""
3277
  "Pull down the Help menu and select Thumbnail Generation for setting details"
3278
  msgstr ""
3279
 
 
3280
  msgid "Width"
3281
  msgstr ""
3282
 
 
3283
  msgid "Height"
3284
  msgstr ""
3285
 
 
3286
  msgid "Best Fit"
3287
  msgstr ""
3288
 
 
3289
  msgid "Page"
3290
  msgstr ""
3291
 
 
3292
  msgid "Resolution"
3293
  msgstr ""
3294
 
 
3295
  msgid "Quality"
3296
  msgstr ""
3297
 
 
3298
  msgid "Existing Items"
3299
  msgstr ""
3300
 
 
3301
  msgid "Ignore"
3302
  msgstr ""
3303
 
 
3304
  msgid "Delete"
3305
  msgstr ""
3306
 
 
3307
  msgid "Suffix"
3308
  msgstr ""
3309
 
 
 
3310
  msgctxt "list_table_column"
3311
  msgid "Extension"
3312
  msgstr ""
3313
 
 
3314
  msgctxt "list_table_column"
3315
  msgid "Icon Type"
3316
  msgstr ""
3317
 
 
3318
  msgctxt "list_table_column"
3319
  msgid "Source"
3320
  msgstr ""
3321
 
 
3322
  msgctxt "list_table_column"
3323
  msgid "Status"
3324
  msgstr ""
3325
 
 
 
3326
  msgctxt "list_table_column"
3327
  msgid "WordPress Type"
3328
  msgstr ""
3329
 
 
 
3330
  msgctxt "list_table_column"
3331
  msgid "MLA Type"
3332
  msgstr ""
3333
 
 
3334
  msgctxt "list_table_column"
3335
  msgid "Std. Source"
3336
  msgstr ""
3337
 
 
3338
  msgctxt "list_table_column"
3339
  msgid "Std. Icon Type"
3340
  msgstr ""
3341
 
 
 
3342
  msgid "Revert to standard item"
3343
  msgstr ""
3344
 
 
 
3345
  msgid "Revert to Standard"
3346
  msgstr ""
3347
 
 
3348
  msgid "Delete/Revert Custom"
3349
  msgstr ""
3350
 
 
3351
  msgid "Select this entry"
3352
  msgstr ""
3353
 
 
3354
  msgid "Select these entries"
3355
  msgstr ""
3356
 
 
3357
  msgctxt "list_table_column"
3358
  msgid "Specification"
3359
  msgstr ""
3360
 
 
3361
  msgctxt "list_table_column"
3362
  msgid "Post Mime"
3363
  msgstr ""
3364
 
 
3365
  msgctxt "list_table_column"
3366
  msgid "Table View"
3367
  msgstr ""
3368
 
 
3369
  msgctxt "list_table_column"
3370
  msgid "Singular Name"
3371
  msgstr ""
3372
 
 
3373
  msgctxt "list_table_column"
3374
  msgid "Plural Name"
3375
  msgstr ""
3376
 
 
3377
  msgctxt "list_table_column"
3378
  msgid "Order"
3379
  msgstr ""
3380
 
 
3381
  msgid "Duplicate translation created; update as desired."
3382
  msgstr ""
3383
 
3384
  #. translators: 1: - 4: page subheader values
 
3385
  #, php-format
3386
  msgid ""
3387
  "In this tab you can find a number of options for controlling WPML-specific "
3389
  "\"Save Changes\" at the bottom of the tab to save any changes you make."
3390
  msgstr ""
3391
 
 
 
3392
  #, php-format
3393
  msgid "Edit the %s translation"
3394
  msgstr ""
3395
 
 
3396
  #, php-format
3397
  msgid "Add translation to %s"
3398
  msgstr ""
3399
 
 
 
 
3400
  msgid "Search Media"
3401
  msgstr ""
3402
 
 
3403
  msgid "The Media Library Assistant cannot load."
3404
  msgstr ""
3405
 
 
3406
  msgid "You must resolve these conflicts before this plugin can safely load."
3407
  msgstr ""
3408
+
3409
+ #. translators: Description of the plugin/theme
3410
+ msgid ""
3411
+ "Enhances the Media Library; powerful [mla_gallery], taxonomy support, IPTC/"
3412
+ "EXIF processing, bulk & quick edit actions and where-used reporting."
3413
+ msgstr ""
languages/media-library-assistant-nl_NL.mo CHANGED
Binary file
languages/media-library-assistant-nl_NL.po ADDED
@@ -0,0 +1,3949 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Media Library Assistant\n"
4
+ "POT-Creation-Date: 2015-08-29 11:33-0700\n"
5
+ "PO-Revision-Date: 2015-08-31 22:01+0100\n"
6
+ "Last-Translator: David Lingren <david@fairtradejudaica.org>\n"
7
+ "Language-Team: David Lingren <david@fairtradejudaica.org>\n"
8
+ "Language: nl\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.7.4\n"
13
+ "X-Poedit-Basepath: ..\n"
14
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
16
+ "_n_noop:1,2;_c;_nc:4c,1,2;_x:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_ex:1,2c\n"
17
+ "X-Poedit-SourceCharset: UTF-8\n"
18
+ "X-Poedit-SearchPath-0: includes\n"
19
+ "X-Poedit-SearchPath-1: tests\n"
20
+
21
+ #. translators: 1: ERROR tag 2: index
22
+ #, php-format
23
+ msgctxt "error_log"
24
+ msgid "%1$s: _build_pdf_indirect_objects bad value at $index = \"%2$d\"."
25
+ msgstr ""
26
+ "%1$s: _build_pdf_indirect_objects foutieve waarde bij $index = \"%2$d\"."
27
+
28
+ msgid "ERROR"
29
+ msgstr "FOUT"
30
+
31
+ #. translators: 1: ERROR tag 2: source offset 3: nest level
32
+ #, php-format
33
+ msgctxt "error_log"
34
+ msgid "%1$s: _parse_pdf_dictionary offset = %2$d, nest = %3$d."
35
+ msgstr "%1$s: _parse_pdf_dictionary offset = %2$d, nest = %3$d."
36
+
37
+ #. translators: 1: ERROR tag 2: dictionary excerpt
38
+ #, php-format
39
+ msgctxt "error_log"
40
+ msgid "%1$s: _parse_pdf_dictionary no end delimiter dump = %2$s."
41
+ msgstr "%1$s: _parse_pdf_dictionary geen einde delimiter dump = %2$s."
42
+
43
+ #. translators: 1: ERROR tag 2: entry name 3: value excerpt
44
+ #, php-format
45
+ msgctxt "error_log"
46
+ msgid "%1$s: _parse_pdf_dictionary bad value [ %2$s ] dump = %3$s"
47
+ msgstr "%1$s: _parse_pdf_dictionary foutieve waarde [ %2$s ] dump = %3$s"
48
+
49
+ #. translators: 1: ERROR tag 2: path and file
50
+ #, php-format
51
+ msgctxt "error_log"
52
+ msgid "%1$s: File \"%2$s\", startxref not found."
53
+ msgstr "%1$s: File \"%2$s\", startxref niet gevonden."
54
+
55
+ #. translators: 1: ERROR tag 2: path and file name
56
+ #, php-format
57
+ msgctxt "error_log"
58
+ msgid "%1$s: mla_load_template file \"%2$s\" not found."
59
+ msgstr "%1$s: mla_load_template file \"%2$s\" niet gevonden."
60
+
61
+ #. translators: 1: ERROR tag 2: path and file name 3: source type, e.g., file, option, string
62
+ #, php-format
63
+ msgctxt "error_log"
64
+ msgid "%1$s: mla_load_template file \"%2$s\" bad source type \"%3$s\"."
65
+ msgstr "%1$s: mla_load_template file \"%2$s\" verkeerd source type \"%3$s\"."
66
+
67
+ #. translators: 1: ERROR tag 2: template excerpt
68
+ #, php-format
69
+ msgctxt "error_log"
70
+ msgid ""
71
+ "%1$s: _find_template_substring no template end delimiter, tail = \"%2$s\"."
72
+ msgstr ""
73
+ "%1$s: _find_template_substring geen template einde delimiter, slot = \"%2$s"
74
+ "\"."
75
+
76
+ #. translators: 1: ERROR tag 2: template excerpt
77
+ #, php-format
78
+ msgctxt "error_log"
79
+ msgid ""
80
+ "%1$s: mla_parse_array_template no template end delimiter, tail = \"%2$s\"."
81
+ msgstr ""
82
+ "%1$s: mla_parse_array_template geen template einde delimiter, slot = \"%2$s"
83
+ "\"."
84
+
85
+ #. translators: 1: ERROR tag 2: template excerpt
86
+ #, php-format
87
+ msgctxt "error_log"
88
+ msgid "%1$s: mla_parse_template no end delimiter, tail = \"%2$s\"."
89
+ msgstr "%1$s: mla_parse_template geen einde delimiter, slot = \"%2$s\"."
90
+
91
+ #. translators: 1: ERROR tag 2: template string
92
+ #, php-format
93
+ msgctxt "error_log"
94
+ msgid "%1$s: _find_test_substring no end delimiter, tail = \"%2$s\"."
95
+ msgstr "%1$s: _find_test_substring geen einde delimiter, slot = \"%2$s\"."
96
+
97
+ msgid "Test; no closing parenthesis "
98
+ msgstr "Test; geen sluithaakje "
99
+
100
+ #. translators: 1: ERROR tag 2: node type, e.g., template
101
+ #, php-format
102
+ msgctxt "error_log"
103
+ msgid "%1$s: _evaluate_template_array_node unknown type \"%2$s\"."
104
+ msgstr "%1$s: _evaluate_template_array_node onbekend type \"%2$s\"."
105
+
106
+ #. translators: 1: ERROR tag 2: node type, e.g., template
107
+ #, php-format
108
+ msgctxt "error_log"
109
+ msgid "%1$s: _evaluate_template_node unknown type \"%2$s\"."
110
+ msgstr "%1$s: _evaluate_template_node onbekend type \"%2$s\"."
111
+
112
+ #. translators: 1: ERROR tag 2: template excerpt
113
+ #, php-format
114
+ msgctxt "error_log"
115
+ msgid ""
116
+ "%1$s: mla_get_template_placeholders no template-end delimiter dump = \"%2$s"
117
+ "\"."
118
+ msgstr ""
119
+ "%1$s: mla_get_template_placeholders geen template-end delimiter dump = \"%2$s"
120
+ "\"."
121
+
122
+ #. translators: 1: ERROR tag 2: function name 3: non-array value
123
+ #, php-format
124
+ msgctxt "error_log"
125
+ msgid "%1$s: %2$s non-array \"%3$s\""
126
+ msgstr "%1$s: %2$s non-array \"%3$s\""
127
+
128
+ #. translators: 1: DEBUG tag 2: query filter details
129
+ #, php-format
130
+ msgctxt "error_log"
131
+ msgid "%1$s: _execute_list_table_query $wp_filter = \"%2$s\"."
132
+ msgstr "%1$s: _execute_list_table_query $wp_filter = \"%2$s\"."
133
+
134
+ msgid "DEBUG"
135
+ msgstr "DEBUG"
136
+
137
+ #. translators: 1: DEBUG tag 2: query details
138
+ #, php-format
139
+ msgctxt "error_log"
140
+ msgid "%1$s: _execute_list_table_query WP_Query = \"%2$s\"."
141
+ msgstr "%1$s: _execute_list_table_query WP_Query = \"%2$s\"."
142
+
143
+ #. translators: 1: DEBUG tag 2: SQL statement
144
+ #, php-format
145
+ msgctxt "error_log"
146
+ msgid "%1$s: _execute_list_table_query SQL_request = \"%2$s\"."
147
+ msgstr "%1$s: _execute_list_table_query SQL_request = \"%2$s\"."
148
+
149
+ #. translators: 1: DEBUG tag 2: search filter details
150
+ #, php-format
151
+ msgctxt "error_log"
152
+ msgid "%1$s: mla_query_posts_search_filter = \"%2$s\"."
153
+ msgstr "%1$s: mla_query_posts_search_filter = \"%2$s\"."
154
+
155
+ #. translators: 1: DEBUG tag 2: where filter details
156
+ #, php-format
157
+ msgctxt "error_log"
158
+ msgid "%1$s: mla_query_posts_where_filter = \"%2$s\"."
159
+ msgstr "%1$s: mla_query_posts_where_filter = \"%2$s\"."
160
+
161
+ #. translators: 1: DEBUG tag 2: join filter details
162
+ #, php-format
163
+ msgctxt "error_log"
164
+ msgid "%1$s: mla_query_posts_join_filter = \"%2$s\"."
165
+ msgstr "%1$s: mla_query_posts_join_filter = \"%2$s\"."
166
+
167
+ #. translators: 1: DEBUG tag 2: orderby details details
168
+ #, php-format
169
+ msgctxt "error_log"
170
+ msgid "%1$s: mla_query_posts_orderby_filter = \"%2$s\"."
171
+ msgstr "%1$s: mla_query_posts_orderby_filter = \"%2$s\"."
172
+
173
+ #. translators: 1: DEBUG tag 2: SQL clauses
174
+ #, php-format
175
+ msgctxt "error_log"
176
+ msgid "%1$s: mla_query_posts_clauses_filter = \"%2$s\"."
177
+ msgstr "%1$s: mla_query_posts_clauses_filter = \"%2$s\"."
178
+
179
+ #. translators: 1: DEBUG tag 2: SQL clauses
180
+ #, php-format
181
+ msgctxt "error_log"
182
+ msgid "%1$s: mla_query_posts_clauses_request_filter = \"%2$s\"."
183
+ msgstr "%1$s: mla_query_posts_clauses_request_filter = \"%2$s\"."
184
+
185
+ #. translators: 1: ERROR tag 2: post ID
186
+ #, php-format
187
+ msgctxt "error_log"
188
+ msgid "%1$s: mla_get_attachment_by_id(%2$d) not found."
189
+ msgstr "%1$s: mla_get_attachment_by_id(%2$d) niet gevonden."
190
+
191
+ #. translators: 1: ERROR tag 2: post ID 3: post_type
192
+ #, php-format
193
+ msgctxt "error_log"
194
+ msgid "%1$s: mla_get_attachment_by_id(%2$d) wrong post_type \"%3$s\"."
195
+ msgstr "%1$s: mla_get_attachment_by_id(%2$d) verkeerd post_type \"%3$s\"."
196
+
197
+ msgid "NO REFERENCE TESTS"
198
+ msgstr "GEEN REFERENTIE TESTEN"
199
+
200
+ msgid "ORPHAN"
201
+ msgstr "WEES"
202
+
203
+ msgid "UNUSED"
204
+ msgstr "ONGEBRUIKT"
205
+
206
+ msgid "UNATTACHED"
207
+ msgstr "ONGEKOPPELD"
208
+
209
+ msgid "INVALID PARENT"
210
+ msgstr "FOUTIEVE PARENT"
211
+
212
+ #. translators: 1: post_type, 2: post_title, 3: post ID, 4: query string, 5: error message
213
+ #, php-format
214
+ msgid "(%1$s) %2$s (ID %3$d) query \"%4$s\" failed, returning \"%5$s\""
215
+ msgstr "(%1$s) %2$s (ID %3$d) query \"%4$s\" fout gegaan, resultaat \"%5$s\""
216
+
217
+ msgctxt "error_log"
218
+ msgid "mla_parse_xmp_metadata xml_parse_into_struct failed."
219
+ msgstr "mla_parse_xmp_metadata xml_parse_into_struct is fout gegaan."
220
+
221
+ msgctxt "error_log"
222
+ msgid "mla_parse_xmp_metadata set option failed."
223
+ msgstr "mla_parse_xmp_metadata set option is fout gegaan."
224
+
225
+ msgid "Yes"
226
+ msgstr "Ja"
227
+
228
+ msgid "No"
229
+ msgstr "Nee"
230
+
231
+ #. translators: 1: meta_key
232
+ #, php-format
233
+ msgid "Deleting %1$s"
234
+ msgstr "Verwijderen %1$s"
235
+
236
+ #. translators: 1: ERROR tag 2: meta_key
237
+ #, php-format
238
+ msgid "%1$s: meta:%2$s not found"
239
+ msgstr "%1$s: meta:%2$s niet gevonden"
240
+
241
+ #. translators: 1: meta_key 2: meta_value
242
+ #. translators: 1: meta_key 2: new_value
243
+ #. translators: 1: meta_key 2: meta_value
244
+ #, php-format
245
+ msgid "Adding %1$s = %2$s"
246
+ msgstr "Toevoegen %1$s = %2$s"
247
+
248
+ #. translators: 1: ERROR tag 2: meta_key
249
+ #, php-format
250
+ msgid "%1$s: Adding meta:%2$s; not found"
251
+ msgstr "%1$s: Toevoegen meta:%2$s; niet gevonden"
252
+
253
+ #. translators: 1: meta_key
254
+ #, php-format
255
+ msgid "Deleting Null meta:%1$s"
256
+ msgstr "Verwijder Lege meta:%1$s"
257
+
258
+ #. translators: 1: element name 2: old_value 3: new_value
259
+ #, php-format
260
+ msgid "Changing %1$s from \"%2$s\" to \"%3$s\""
261
+ msgstr "Wijzig %1$s van \"%2$s\" in \"%3$s\""
262
+
263
+ #. translators: 1: ERROR tag 2: meta_key
264
+ #, php-format
265
+ msgid "%1$s: Changing meta:%2$s; not found"
266
+ msgstr "%1$s: Wijzig meta:%2$s; niet gevonden"
267
+
268
+ #. translators: 1: meta_key
269
+ #, php-format
270
+ msgid "Deleting old %1$s values"
271
+ msgstr "Verwijder oude %1$s waarden"
272
+
273
+ #. translators: 1: meta_key 2: old_value 3: new_value 4: update count
274
+ #, php-format
275
+ msgid "Changing %1$s from \"%2$s\" to \"%3$s\"; %4$d updates"
276
+ msgstr "Wijzig %1$s van \"%2$s\" in \"%3$s\"; %4$d wijzigingen"
277
+
278
+ msgid "Could not retrieve Attachment."
279
+ msgstr "Kan Attachment niet vinden."
280
+
281
+ msgid "Title"
282
+ msgstr "Titel"
283
+
284
+ #. translators: 1: ERROR tag 2: old_value
285
+ #, php-format
286
+ msgid "%1$s: Could not change Name/Slug \"%2$s\"; name already exists"
287
+ msgstr "%1$s: Kon Naam/Slug \"%2$s\" niet wijzigen; naam bestaat al"
288
+
289
+ msgid "Name/Slug"
290
+ msgstr "Naam/Slug"
291
+
292
+ #. translators: 1: old_value
293
+ #, php-format
294
+ msgid "Deleting ALT Text, was \"%1$s\""
295
+ msgstr "Wijzig ALT Tekst, was \"%1$s\""
296
+
297
+ #. translators: 1: ERROR tag 2: old_value
298
+ #, php-format
299
+ msgid "%1$s: Could not delete ALT Text, remains \"%2$s\""
300
+ msgstr "%1$s: Kon ALT Tekst niet wijzigen, blijft \"%2$s\""
301
+
302
+ msgid "ALT Text"
303
+ msgstr "ALT Tekst"
304
+
305
+ #. translators: 1: ERROR tag 2: old_value 3: new_value
306
+ #, php-format
307
+ msgid "%1$s: Could not change ALT Text from \"%2$s\" to \"%3$s\""
308
+ msgstr "%1$s: Kon ALT Tekst niet wijzigen van \"%2$s\" in \"%3$s\""
309
+
310
+ msgid "Caption"
311
+ msgstr "Onderschrift"
312
+
313
+ msgid "Description"
314
+ msgstr "Beschrijving"
315
+
316
+ msgid "Parent"
317
+ msgstr "Parent"
318
+
319
+ msgid "Menu Order"
320
+ msgstr "Menu Volgorde"
321
+
322
+ msgid "Author"
323
+ msgstr "Auteur"
324
+
325
+ msgid "Comments"
326
+ msgstr "Commentaar"
327
+
328
+ msgid "Pings"
329
+ msgstr "Pings"
330
+
331
+ msgid "Adding"
332
+ msgstr "Toevoegen"
333
+
334
+ msgid "Removing"
335
+ msgstr "Verwijderen"
336
+
337
+ msgid "Replacing"
338
+ msgstr "Vervangen"
339
+
340
+ msgid "Ignoring"
341
+ msgstr "Negeren"
342
+
343
+ #. translators: 1: action_name, 2: taxonomy
344
+ #, php-format
345
+ msgid "%1$s \"%2$s\" terms"
346
+ msgstr "%1$s \"%2$s\" termen"
347
+
348
+ #. translators: 1: taxonomy
349
+ #, php-format
350
+ msgid "You cannot assign \"%1$s\" terms"
351
+ msgstr "Je kunt geen \"%1$s\" termen toekennen"
352
+
353
+ #. translators: 1: post ID
354
+ #, php-format
355
+ msgid "Item %1$d, no changes detected."
356
+ msgstr "Onderdeel %1$d, geen wijzigingen gevonden."
357
+
358
+ #. translators: 1: post ID
359
+ #, php-format
360
+ msgid "Item %1$d updated."
361
+ msgstr "Onderdeel %1$d gewijzigd."
362
+
363
+ #. translators: 1: ERROR tag 2: post ID
364
+ #, php-format
365
+ msgid "%1$s: Item %2$d update failed."
366
+ msgstr "%1$s: Onderdeel %2$d wijziging fout gegaan."
367
+
368
+ msgctxt "tag_delimiter"
369
+ msgid ","
370
+ msgstr ","
371
+
372
+ msgid "Upload New Media items"
373
+ msgstr "Upload Nieuwe Media onderdelen"
374
+
375
+ msgid "An ajax.fail error has occurred. Please reload the page and try again."
376
+ msgstr ""
377
+ "Een ajax.fail fout is opgetreden. Herlaad de pagina en probeer opnieuw."
378
+
379
+ msgid "An ajax.done error has occurred. Please reload the page and try again."
380
+ msgstr ""
381
+ "Een ajax.done fout is opgetreden. Herlaad de pagina en probeer opnieuw."
382
+
383
+ msgid "Open Bulk Edit area"
384
+ msgstr "Open Bulk Edit gebied"
385
+
386
+ msgid "Close Bulk Edit area"
387
+ msgstr "Sluit Bulk Edit gebied"
388
+
389
+ msgid "more"
390
+ msgstr "meer"
391
+
392
+ msgid "less"
393
+ msgstr "minder"
394
+
395
+ msgid "Add"
396
+ msgstr "Voeg toe"
397
+
398
+ msgid "Remove"
399
+ msgstr "Verwijder"
400
+
401
+ msgid "Replace"
402
+ msgstr "Vervang"
403
+
404
+ msgid ""
405
+ "IMPORTANT: Make your entries BEFORE uploading new items. Pull down the Help "
406
+ "menu for more information."
407
+ msgstr ""
408
+ "BELANGRIJK: Maak uw berichten VOORDAT nieuwe items te uploaden. Kies het "
409
+ "Help menu voor meer informatie."
410
+
411
+ msgid "No Change"
412
+ msgstr "Geen Wijziging"
413
+
414
+ msgid "Allow"
415
+ msgstr "Sta toe"
416
+
417
+ msgid "Do not allow"
418
+ msgstr "Sta niet toe"
419
+
420
+ msgid "Parent ID"
421
+ msgstr "Parent ID"
422
+
423
+ msgid "Select"
424
+ msgstr "Selecteer"
425
+
426
+ msgid "Custom field mapping updated."
427
+ msgstr "Custom veld vertaling gewijzigd."
428
+
429
+ msgid "IPTC/EXIF mapping updated."
430
+ msgstr "IPTC/EXIF vertaling gewijzigd."
431
+
432
+ #. translators: date_i18n format for last modified date and time
433
+ msgid "M j, Y @ G:i"
434
+ msgstr "j M, Y @ G:i"
435
+
436
+ msgid "Last modified"
437
+ msgstr "Laatst gewijzigd"
438
+
439
+ msgid "Map Custom Field metadata for this item"
440
+ msgstr "Vertaal Custom Veld metadata voor dit onderdeel"
441
+
442
+ msgid "Map Custom Field metadata"
443
+ msgstr "Vertaal Custom Veld Metadata"
444
+
445
+ msgid "Map IPTC/EXIF metadata for this item"
446
+ msgstr "Vertaal IPTC/EXIF metadata voor dit onderdeel"
447
+
448
+ msgid "Map IPTC/EXIF metadata"
449
+ msgstr "Vertaal IPTC/EXIF metadata"
450
+
451
+ msgid "Parent Info"
452
+ msgstr "Parent Informatie"
453
+
454
+ msgid "Attachment Metadata"
455
+ msgstr "Attachment Metadata"
456
+
457
+ msgid "Featured in"
458
+ msgstr "Komt voor in"
459
+
460
+ msgid "Inserted in"
461
+ msgstr "Toegevoegd aan"
462
+
463
+ msgid "Gallery in"
464
+ msgstr "Galerij in"
465
+
466
+ msgid "MLA Gallery in"
467
+ msgstr "MLA Galerij in"
468
+
469
+ #. translators: 1: ERROR tag 2: function name 3: template key
470
+ #, php-format
471
+ msgctxt "error_log"
472
+ msgid "%1$s: %2$s discarding \"%3$s\"; no title/order"
473
+ msgstr "%1$s: %2$s negeert \"%3$s\"; geen titel/volgorde"
474
+
475
+ msgid "Scheduled"
476
+ msgstr "Gepland"
477
+
478
+ msgctxt "post state"
479
+ msgid "Pending"
480
+ msgstr "Wacht"
481
+
482
+ msgid "Draft"
483
+ msgstr "Voorstel"
484
+
485
+ msgid "Post Parent"
486
+ msgstr "Post Parent"
487
+
488
+ msgid "Select Parent"
489
+ msgstr "Selecteer Parent"
490
+
491
+ msgid "PARENT"
492
+ msgstr "PARENT"
493
+
494
+ msgid "Most Used"
495
+ msgstr "Meest Gebruikt"
496
+
497
+ #. translators: %s: add new taxonomy label
498
+ #, php-format
499
+ msgid "+ %s"
500
+ msgstr "+ %s"
501
+
502
+ msgid "Search"
503
+ msgstr "Zoek"
504
+
505
+ msgctxt "list_table_column"
506
+ msgid "ID/Parent"
507
+ msgstr "ID/Parent"
508
+
509
+ msgctxt "list_table_column"
510
+ msgid "Title/Name"
511
+ msgstr "Titel/Naam"
512
+
513
+ msgctxt "list_table_column"
514
+ msgid "Title"
515
+ msgstr "Titel"
516
+
517
+ msgctxt "list_table_column"
518
+ msgid "Name"
519
+ msgstr "Naam"
520
+
521
+ msgctxt "list_table_column"
522
+ msgid "Parent ID"
523
+ msgstr "Parent ID"
524
+
525
+ msgctxt "list_table_column"
526
+ msgid "Menu Order"
527
+ msgstr "Menu Volgorde"
528
+
529
+ msgctxt "list_table_column"
530
+ msgid "Featured in"
531
+ msgstr "Komt voor in"
532
+
533
+ msgctxt "list_table_column"
534
+ msgid "Inserted in"
535
+ msgstr "Toegevoegd aan"
536
+
537
+ msgctxt "list_table_column"
538
+ msgid "Gallery in"
539
+ msgstr "Galerij in"
540
+
541
+ msgctxt "list_table_column"
542
+ msgid "MLA Gallery in"
543
+ msgstr "MLA Galerij in"
544
+
545
+ msgctxt "list_table_column"
546
+ msgid "ALT Text"
547
+ msgstr "ALT Tekst"
548
+
549
+ msgctxt "list_table_column"
550
+ msgid "Caption"
551
+ msgstr "Onderschrift"
552
+
553
+ msgctxt "list_table_column"
554
+ msgid "Description"
555
+ msgstr "Beschrijving"
556
+
557
+ msgctxt "list_table_column"
558
+ msgid "MIME Type"
559
+ msgstr "MIME Type"
560
+
561
+ msgctxt "list_table_column"
562
+ msgid "File URL"
563
+ msgstr "Bestand URL"
564
+
565
+ msgctxt "list_table_column"
566
+ msgid "Base File"
567
+ msgstr "Bron Bestand"
568
+
569
+ msgctxt "list_table_column"
570
+ msgid "Date"
571
+ msgstr "Datum"
572
+
573
+ msgctxt "list_table_column"
574
+ msgid "Last Modified"
575
+ msgstr "Laatst Gewijzigd"
576
+
577
+ msgctxt "list_table_column"
578
+ msgid "Author"
579
+ msgstr "Auteur"
580
+
581
+ msgctxt "list_table_column"
582
+ msgid "Attached to"
583
+ msgstr "Gekoppeld aan"
584
+
585
+ msgid "All"
586
+ msgstr "Alles"
587
+
588
+ msgid "List View"
589
+ msgstr "Lijst weergave"
590
+
591
+ msgid "None"
592
+ msgstr "Geen"
593
+
594
+ msgid "Filter by"
595
+ msgstr "Filter"
596
+
597
+ msgid "Not Supported"
598
+ msgstr "Niet Ondersteund"
599
+
600
+ #. translators: 1: column_name 2: column_values
601
+ #, php-format
602
+ msgid "column_default: %1$s, %2$s"
603
+ msgstr "column_default: %1$s, %2$s"
604
+
605
+ msgid "Edit"
606
+ msgstr "Wijzig"
607
+
608
+ msgid "Trash"
609
+ msgstr "Prullenbak"
610
+
611
+ msgid "Restore this item from the Trash"
612
+ msgstr "Herstel dit onderdeel vanuit de Prullenbak"
613
+
614
+ msgid "Restore"
615
+ msgstr "Herstel"
616
+
617
+ msgid "Edit this item"
618
+ msgstr "Wijzig dit onderdeel"
619
+
620
+ msgid "Edit this item inline"
621
+ msgstr "Wijzig dit onderdeel \"inline\""
622
+
623
+ msgid "Quick Edit"
624
+ msgstr "Snel Wijzig"
625
+
626
+ msgid "Move this item to the Trash"
627
+ msgstr "Gooi dit onderdeel in de Prullenbak"
628
+
629
+ msgid "Move to Trash"
630
+ msgstr "Gooi in Prullenbak"
631
+
632
+ msgid "Delete this item Permanently"
633
+ msgstr "Verwijder dit onderdeel Permanent"
634
+
635
+ msgid "Delete Permanently"
636
+ msgstr "Verwijder Permanent"
637
+
638
+ msgid "Download"
639
+ msgstr "Download"
640
+
641
+ msgid "View"
642
+ msgstr "Bekijk"
643
+
644
+ msgid "(no title)"
645
+ msgstr "(geen titel)"
646
+
647
+ msgid "(no title: bad ID)"
648
+ msgstr "(geen titel: foutief ID)"
649
+
650
+ msgid "Disabled"
651
+ msgstr "Uitgezet"
652
+
653
+ msgid "MIME Type"
654
+ msgstr "MIME Type"
655
+
656
+ msgid "Base File"
657
+ msgstr "Bron Bestand"
658
+
659
+ msgid "Unpublished"
660
+ msgstr "Niet gepubliceerd"
661
+
662
+ #. translators: 1: upload/last modified date and time
663
+ #, php-format
664
+ msgid "%1$s from now"
665
+ msgstr "%1$s van nu"
666
+
667
+ #. translators: 1: upload/last modified date and time
668
+ #, php-format
669
+ msgid "%1$s ago"
670
+ msgstr "%1$s geleden"
671
+
672
+ #. translators: format for upload/last modified date
673
+ #. translators: date format in table columns, see http://php.net/date
674
+ msgid "Y/m/d"
675
+ msgstr "Y/m/d"
676
+
677
+ msgctxt "table_view_singular"
678
+ msgid "Unattached"
679
+ msgstr "Ongekoppeld"
680
+
681
+ msgid "Set Parent"
682
+ msgstr "Zet Parent"
683
+
684
+ msgctxt "uploaded files"
685
+ msgid "All"
686
+ msgid_plural "All"
687
+ msgstr[0] "Een"
688
+ msgstr[1] "Alle"
689
+
690
+ msgid "Filter"
691
+ msgstr "Filter"
692
+
693
+ msgid "Terms Search"
694
+ msgstr "Termen Zoeken"
695
+
696
+ msgid "Clear Filter-by"
697
+ msgstr "Schoon Filter-door"
698
+
699
+ msgid "Empty Trash"
700
+ msgstr "Leeg Prullenbak"
701
+
702
+ msgid "Error while saving the changes."
703
+ msgstr "Fout tijdens opslaan wijzigingen."
704
+
705
+ msgid "Remove From Bulk Edit"
706
+ msgstr "Verwijder Uit Bulk Edit"
707
+
708
+ msgid "Bulk Edit items"
709
+ msgstr "Bulk Edit onderdelen"
710
+
711
+ msgid "Waiting"
712
+ msgstr "Wacht"
713
+
714
+ msgid "Complete"
715
+ msgstr "Gereed"
716
+
717
+ msgid "Unchanged"
718
+ msgstr "Ongewijzigd"
719
+
720
+ msgid "Succeeded"
721
+ msgstr "Geslaagd"
722
+
723
+ msgid "Failed"
724
+ msgstr "Mislukt"
725
+
726
+ msgid "CANCELED"
727
+ msgstr "GESTOPT"
728
+
729
+ #, php-format
730
+ msgid "Item permanently deleted."
731
+ msgid_plural "%d items permanently deleted."
732
+ msgstr[0] "Onderdeel permanent verwijderd."
733
+ msgstr[1] "%d onderdelen permanent verwijderd."
734
+
735
+ #. translators: 1: post ID
736
+ #, php-format
737
+ msgid "Item %1$d moved to Trash."
738
+ msgstr "Onderdeel %1$d in Prullenbak geplaatst."
739
+
740
+ msgid "Entries per page"
741
+ msgstr "Berichten per pagina"
742
+
743
+ msgid "You are not allowed to edit Attachment: "
744
+ msgstr "U mag deze Attachment niet wijzigen: "
745
+
746
+ #. translators: 1: ERROR tag 2: bulk action
747
+ #, php-format
748
+ msgid "%1$s: Unknown bulk action %2$s"
749
+ msgstr "%1$s: Onbekende bulk actie %2$s"
750
+
751
+ msgid "no changes detected"
752
+ msgstr "geen wijzigingen gevonden"
753
+
754
+ #. translators: 1: action name, e.g., edit
755
+ #, php-format
756
+ msgid "Bulk Action %1$s - no items selected."
757
+ msgstr "Bulk Actie %1$s - geen onderdelen geselecteerd."
758
+
759
+ msgid "You do not have permission to manage attachments."
760
+ msgstr "U heeft geen rechten om attachments te beheren."
761
+
762
+ #. translators: 1: number of items
763
+ #, php-format
764
+ msgctxt "deleted items"
765
+ msgid "%s item deleted."
766
+ msgid_plural "%s items deleted."
767
+ msgstr[0] "%s onderdeel verwijderd."
768
+ msgstr[1] "%s onderdelen verwijderd."
769
+
770
+ msgid "No items deleted."
771
+ msgstr "Geen onderdelen verwijderd."
772
+
773
+ msgid "Empty Terms Search; ignored"
774
+ msgstr "Leeg Termen Zoek; genegeerd"
775
+
776
+ #. translators: 1: row-level action, e.g., single_item_delete, single_item_edit
777
+ #. translators: 1: bulk_action, e.g., single_item_delete, single_item_edit
778
+ #, php-format
779
+ msgid "Unknown mla_admin_action - \"%1$s\""
780
+ msgstr "Onbekende mla_admin_action - \"%1$s\""
781
+
782
+ msgid "term search results for"
783
+ msgstr "zoekterm resultaat voor"
784
+
785
+ msgid "post/parent results for"
786
+ msgstr "post/parent resultaat voor"
787
+
788
+ msgid "search results for"
789
+ msgstr "zoekresultaat voor"
790
+
791
+ msgid "Type"
792
+ msgstr "Type"
793
+
794
+ msgid "Date"
795
+ msgstr "Datum"
796
+
797
+ msgid "Status"
798
+ msgstr "Status"
799
+
800
+ msgid "Published"
801
+ msgstr "Gepubliceerd"
802
+
803
+ msgid "Pending Review"
804
+ msgstr "Wacht op Review"
805
+
806
+ msgid "No post ID found"
807
+ msgstr "Geen post ID gevonden"
808
+
809
+ msgid "You are not allowed to edit this Attachment."
810
+ msgstr "U mag deze Attachment niet bewerken."
811
+
812
+ msgid "Update"
813
+ msgstr "Bijwerken"
814
+
815
+ msgid "All Post Types"
816
+ msgstr "Alle Post Types"
817
+
818
+ msgid "For"
819
+ msgstr "Voor"
820
+
821
+ msgid "Unattached"
822
+ msgstr "Ongekoppeld"
823
+
824
+ msgid "Cancel"
825
+ msgstr "Beëindig"
826
+
827
+ msgid "Bulk Edit"
828
+ msgstr "Bulk Edit"
829
+
830
+ msgid "In-process"
831
+ msgstr "In bewerking"
832
+
833
+ msgid "Refresh"
834
+ msgstr "Ververs"
835
+
836
+ msgid "You are not allowed to delete this item."
837
+ msgstr "U mag dit onderdeel niet verwijderen."
838
+
839
+ #. translators: 1: ERROR tag 2: post ID
840
+ #, php-format
841
+ msgid "%1$s: Item %2$d could NOT be deleted."
842
+ msgstr "%1$s: Onderdeel %2$d kon NIET verwijderd worden."
843
+
844
+ #. translators: 1: post ID
845
+ #, php-format
846
+ msgid "Item %1$d permanently deleted."
847
+ msgstr "Onderdeel %1$d permanent verwijderd."
848
+
849
+ msgid "You are not allowed to move this item out of the Trash."
850
+ msgstr "U mag dit onderdeel niet uit de Prullenbak verwijderen."
851
+
852
+ #. translators: 1: ERROR tag 2: post ID
853
+ #, php-format
854
+ msgid "%1$s: Item %2$d could NOT be restored from Trash."
855
+ msgstr "%1$s: Onderdeel %2$d kon NIET hersteld worden uit de Prullenbak."
856
+
857
+ #. translators: 1: post ID
858
+ #, php-format
859
+ msgid "Item %1$d restored from Trash."
860
+ msgstr "Onderdeel %1$d hersteld vanuit Prullenbak."
861
+
862
+ msgid "You are not allowed to move this item to the Trash."
863
+ msgstr "U mag dit onderdeel niet verwijderen uit de Prullenbak."
864
+
865
+ #. translators: 1: ERROR tag 2: post ID
866
+ #, php-format
867
+ msgid "%1$s: Item %2$d could NOT be moved to Trash."
868
+ msgstr "%1$s: Onderdeel %2$d kon NIET verwijderd worden uit de Prullenbak."
869
+
870
+ msgid "Click to toggle"
871
+ msgstr "Klik om te switchen"
872
+
873
+ msgid "Show all dates"
874
+ msgstr "Toon alle data"
875
+
876
+ #. translators: 1: month name, 2: 4-digit year
877
+ #, php-format
878
+ msgid "%1$s %2$d"
879
+ msgstr "%1$s %2$d"
880
+
881
+ msgid "Search Box"
882
+ msgstr "Zoek Box"
883
+
884
+ msgid "Loading..."
885
+ msgstr "Laden..."
886
+
887
+ msgid "Tags"
888
+ msgstr "Tags"
889
+
890
+ #. translators: %s: add new taxonomy label
891
+ #. translators: %s: add new View
892
+ #. translators: %s: add new Upload MIME Type
893
+ #, php-format
894
+ msgid "Add New %1$s"
895
+ msgstr "Voeg Nieuw %1$s Toe"
896
+
897
+ msgid "Choose from the most used tags"
898
+ msgstr "Kies vanuit de meest gebruikte tags"
899
+
900
+ msgid "Search Terms"
901
+ msgstr "Zoek Termen"
902
+
903
+ msgid "There are no taxonomies to search"
904
+ msgstr "Er zijn geen taxonomieën te doorzoeken"
905
+
906
+ msgid "All phrases"
907
+ msgstr "Alle regels"
908
+
909
+ msgid "Any phrase"
910
+ msgstr "Willekeurige regel"
911
+
912
+ msgid "All terms"
913
+ msgstr "Alle termen"
914
+
915
+ msgid "Any term"
916
+ msgstr "Willekeurige term"
917
+
918
+ msgid "Exact"
919
+ msgstr "Exact"
920
+
921
+ msgctxt "post_mime_types"
922
+ msgid "Manage"
923
+ msgstr "Beheer"
924
+
925
+ msgctxt "post_mime_types_description"
926
+ msgid "Copied from previous filter/plugin"
927
+ msgstr "Gekopieerd van vorig(e) filter/plugin"
928
+
929
+ #. translators: 1: ERROR tag 2: raw_mime_type
930
+ #, php-format
931
+ msgid "%1$s: Bad specification part \"%2$s\""
932
+ msgstr "%1$s: Foutief specificatie deel \"%2$s\""
933
+
934
+ #. translators: 1: ERROR tag 2: option, e.g., any, match, null
935
+ #, php-format
936
+ msgid "%1$s: Bad specification option \"%2$s\""
937
+ msgstr "%1$s: Foutieve specificatie optie \"%2$s\""
938
+
939
+ #. translators: 1: ERROR tag 2: prefix, e.g., custom
940
+ #, php-format
941
+ msgid "%1$s: Bad specification prefix \"%2$s\""
942
+ msgstr "%1$s: Foutieve specificatie prefix \"%2$s\""
943
+
944
+ msgid "Ignoring specification for Post MIME Type; using slug"
945
+ msgstr "Negeer specificatie voor Post MIME Type; gebruik slug"
946
+
947
+ #. translators: 1: element name 2: bad_value 3: good_value
948
+ #, php-format
949
+ msgid "<br>Changing %1$s \"%2$s\" to valid value \"%3$s\""
950
+ msgstr "<br>Wijzig %1$s \"%2$s\" naar juiste waarde \"%3$s\""
951
+
952
+ msgid "Slug"
953
+ msgstr "Slug"
954
+
955
+ #. translators: 1: ERROR tag 2: slug
956
+ #, php-format
957
+ msgid "%1$s: Could not add Slug \"%2$s\"; value already exists"
958
+ msgstr "%1$s: Kon Slug \"%2$s\" niet toevoegen; waarde bestaat al"
959
+
960
+ #. translators: 1: slug
961
+ #, php-format
962
+ msgid "Edit view \"%1$s\"; added"
963
+ msgstr "Bewerk view \"%1$s\"; toegevoegd"
964
+
965
+ #. translators: 1: element name 2: bad_value 3: good_value
966
+ #, php-format
967
+ msgid "<br>Changing new %1$s \"%2$s\" to valid value \"%3$s\""
968
+ msgstr "<br>Wijzig nieuw %1$s \"%2$s\" naar juiste waarde \"%3$s\""
969
+
970
+ #. translators: 1: slug
971
+ #, php-format
972
+ msgid "Edit view \"%1$s\"; no changes detected"
973
+ msgstr "Bewerk view \"%1$s\"; geen wijzigingen gevonden"
974
+
975
+ #. translators: 1: slug
976
+ #, php-format
977
+ msgid "Edit view \"%1$s\"; updated"
978
+ msgstr "Bewerk view \"%1$s\"; gewijzigd"
979
+
980
+ #. translators: 1: slug
981
+ #, php-format
982
+ msgid "View \"%1$s\" reverted to standard"
983
+ msgstr "View \"%1$s\" teruggezet naar standaard"
984
+
985
+ #. translators: 1: slug
986
+ #, php-format
987
+ msgid "View \"%1$s\" deleted"
988
+ msgstr "View \"%1$s\" verwijderd"
989
+
990
+ #. translators: 1: ERROR tag 2: slug
991
+ #, php-format
992
+ msgid "%1$s: Did not find view \"%2$s\""
993
+ msgstr "%1$s: Kon view \"%2$s\" niet vinden"
994
+
995
+ msgctxt "table_view_singular"
996
+ msgid "All"
997
+ msgstr "Alles"
998
+
999
+ msgctxt "table_view_plural"
1000
+ msgid "All"
1001
+ msgstr "Alles"
1002
+
1003
+ msgctxt "table_view_singular"
1004
+ msgid "Active"
1005
+ msgstr "Actief"
1006
+
1007
+ msgctxt "table_view_plural"
1008
+ msgid "Active"
1009
+ msgstr "Actief"
1010
+
1011
+ msgctxt "table_view_singular"
1012
+ msgid "Inactive"
1013
+ msgstr "Inactief"
1014
+
1015
+ msgctxt "table_view_plural"
1016
+ msgid "Inactive"
1017
+ msgstr "Inactief"
1018
+
1019
+ msgctxt "table_view_singular"
1020
+ msgid "WordPress"
1021
+ msgstr "WordPress"
1022
+
1023
+ msgctxt "table_view_plural"
1024
+ msgid "WordPress"
1025
+ msgstr "WordPress"
1026
+
1027
+ msgctxt "table_view_singular"
1028
+ msgid "MLA"
1029
+ msgstr "MLA"
1030
+
1031
+ msgctxt "table_view_plural"
1032
+ msgid "MLA"
1033
+ msgstr "MLA"
1034
+
1035
+ msgctxt "table_view_singular"
1036
+ msgid "Custom"
1037
+ msgstr "Custom"
1038
+
1039
+ msgctxt "table_view_plural"
1040
+ msgid "Custom"
1041
+ msgstr "Custom"
1042
+
1043
+ msgid "icon"
1044
+ msgstr "symbool"
1045
+
1046
+ msgid "Cannot load Upload MIME Types"
1047
+ msgstr "Kan Upload MIME Types niet laden"
1048
+
1049
+ msgid "Extension is required"
1050
+ msgstr "Extensie is verplicht"
1051
+
1052
+ msgid "Extension"
1053
+ msgstr "Extensie"
1054
+
1055
+ #. translators: 1: ERROR tag 2: slug
1056
+ #, php-format
1057
+ msgid "%1$s: Could not add extension \"%2$s\"; value already exists"
1058
+ msgstr "%1$s: Kon extensie \"%2$s\" niet toevoegen; waarde bestaat al"
1059
+
1060
+ msgid "MIME type is required"
1061
+ msgstr "MIME type is verplicht"
1062
+
1063
+ #. translators: 1: ERROR tag 2: clean_mime_type
1064
+ #, php-format
1065
+ msgid "%1$s: Bad MIME type; try \"%2$s\""
1066
+ msgstr "%1$s: Foutief MIME type; probeer \"%2$s\""
1067
+
1068
+ #. translators: 1: slug
1069
+ #, php-format
1070
+ msgid "Upload MIME Type \"%1$s\"; added"
1071
+ msgstr "Upload MIME Type \"%1$s\"; toegevoegd"
1072
+
1073
+ msgid "Cannot update Upload MIME Types"
1074
+ msgstr "Kan Upload MIME Types niet bijwerken"
1075
+
1076
+ #. translators: 1: ERROR tag 2: slug
1077
+ #, php-format
1078
+ msgid "%1$s: Could not add new extension \"%2$s\"; value already exists"
1079
+ msgstr "%1$s: Kon nieuwe extensie \"%2$s\" niet toevoegen; waarde bestaat al"
1080
+
1081
+ #. translators: 1: slug
1082
+ #, php-format
1083
+ msgid "Edit type \"%1$s\"; no changes detected"
1084
+ msgstr "Bewerk type \"%1$s\"; geen wijzigingen gevonden"
1085
+
1086
+ #. translators: 1: slug
1087
+ #, php-format
1088
+ msgid "Edit type \"%1$s\"; updated"
1089
+ msgstr "Bewerk type \"%1$s\"; bijgewerkt"
1090
+
1091
+ #. translators: 1: slug
1092
+ #, php-format
1093
+ msgid "Upload MIME Type \"%1$s\"; reverted to standard"
1094
+ msgstr "Upload MIME Type \"%1$s\"; teruggezet naar standaard"
1095
+
1096
+ #. translators: 1: slug
1097
+ #, php-format
1098
+ msgid "Upload MIME Type \"%1$s\"; deleted"
1099
+ msgstr "Upload MIME Type \"%1$s\"; verwijderd"
1100
+
1101
+ #. translators: 1: ERROR tag 2: slug
1102
+ #, php-format
1103
+ msgid "%1$s: Did not find Upload type \"%2$s\""
1104
+ msgstr "%1$s: Kon Upload type \"%2$s\" niet vinden"
1105
+
1106
+ msgctxt "taxonomy_name_plural"
1107
+ msgid "Att. Categories"
1108
+ msgstr "Gekopp. Categorieën"
1109
+
1110
+ msgctxt "taxonomy_name_singular"
1111
+ msgid "Att. Category"
1112
+ msgstr "Gekopp. Categorie"
1113
+
1114
+ msgid "Search Att. Categories"
1115
+ msgstr "Zoek Gekopp. Categorieën"
1116
+
1117
+ msgid "All Att. Categories"
1118
+ msgstr "Alle Gekopp. Categorieën"
1119
+
1120
+ msgid "Parent Att. Category"
1121
+ msgstr "Parent Gekopp. Categorie"
1122
+
1123
+ msgid "Edit Att. Category"
1124
+ msgstr "Bewerk Gekopp. Categorie"
1125
+
1126
+ msgid "Update Att. Category"
1127
+ msgstr "Wijzig Gekopp. Categorie"
1128
+
1129
+ msgid "Att. Category"
1130
+ msgstr "Gekopp. Categorie"
1131
+
1132
+ msgid "New Att. Category Name"
1133
+ msgstr "Nieuwe Gekopp. Categorie Naam"
1134
+
1135
+ msgctxt "taxonomy_name_plural"
1136
+ msgid "Att. Tags"
1137
+ msgstr "Gekopp. Tags"
1138
+
1139
+ msgctxt "taxonomy_name_singular"
1140
+ msgid "Att. Tag"
1141
+ msgstr "Gekopp. Tag"
1142
+
1143
+ msgid "Search Att. Tags"
1144
+ msgstr "Zoek Gekopp. Tags"
1145
+
1146
+ msgid "All Att. Tags"
1147
+ msgstr "Alle Gekopp. Tags"
1148
+
1149
+ msgid "Parent Att. Tag"
1150
+ msgstr "Parent Gekopp. Tag"
1151
+
1152
+ msgid "Edit Att. Tag"
1153
+ msgstr "Bewerk Gekopp. Tag"
1154
+
1155
+ msgid "Update Att. Tag"
1156
+ msgstr "Wijzig Gekopp. Tag"
1157
+
1158
+ msgid "Att. Tag"
1159
+ msgstr "Gekopp. Tag"
1160
+
1161
+ msgid "New Att. Tag Name"
1162
+ msgstr "Nieuwe Gekopp. Tag Naam"
1163
+
1164
+ msgid "Attachments"
1165
+ msgstr "Attachments"
1166
+
1167
+ #. translators: 1: ERROR tag 2: taxonomy 3: error message
1168
+ #, php-format
1169
+ msgctxt "error_log"
1170
+ msgid ""
1171
+ "%1$s: mla_taxonomy_column_filter( \"%2$s\" ) - get_term failed: \"%3$s\""
1172
+ msgstr ""
1173
+ "%1$s: mla_taxonomy_column_filter( \"%2$s\" ) - get_term foutief: \"%3$s\""
1174
+
1175
+ msgid "click to search"
1176
+ msgstr "klik om te zoeken"
1177
+
1178
+ msgid "Shortcode(s), HTML and/or Plain Text"
1179
+ msgstr "Shortcode(s), HTML en/of Gewone Tekst"
1180
+
1181
+ msgid "MLA Text"
1182
+ msgstr "MLA Tekst"
1183
+
1184
+ msgid "Automatically add paragraphs"
1185
+ msgstr "Voeg automatisch paragrafen toe"
1186
+
1187
+ msgid "error loading tpls/mla-option-templates.tpl"
1188
+ msgstr "fout bij laden tpls/mla-option-templates.tpl"
1189
+
1190
+ msgid "tpls/mla-option-templates.tpl not found"
1191
+ msgstr "tpls/mla-option-templates.tpl niet gevonden"
1192
+
1193
+ msgid "Attachment Categories"
1194
+ msgstr "Attachment Categorieën"
1195
+
1196
+ msgid "Check this option to add support for Attachment Categories."
1197
+ msgstr ""
1198
+ "Kies deze optie om ondersteuning voor Attachment Categorieën toe te voegen."
1199
+
1200
+ msgid "Attachment Tags"
1201
+ msgstr "Attachment Tags"
1202
+
1203
+ msgid "Check this option to add support for Attachment Tags."
1204
+ msgstr "Kies deze optie om ondersteuning voor Attachment Tags toe te voegen."
1205
+
1206
+ msgid "Where-used Reporting"
1207
+ msgstr "Waar-gebruikt Rapportage"
1208
+
1209
+ msgid "Exclude Revisions"
1210
+ msgstr "Sluit Revisies Uit"
1211
+
1212
+ msgid "Check this option to exclude revisions from where-used reporting."
1213
+ msgstr ""
1214
+ "Kies deze optie om revisies van de waar-gebruikt rapportage uit te sluiten."
1215
+
1216
+ msgid "Where-used database access tuning"
1217
+ msgstr "Waar-gebruikt database toegang tuning"
1218
+
1219
+ msgid "Enabled"
1220
+ msgstr "Gekozen"
1221
+
1222
+ msgid "Search database posts and pages for Featured Image attachments."
1223
+ msgstr ""
1224
+ "Doorzoek database berichten en paginas naar Gekoppelde Afbeelding "
1225
+ "attachments."
1226
+
1227
+ msgid "Base"
1228
+ msgstr "Basis"
1229
+
1230
+ msgid ""
1231
+ "Search database posts and pages for attachments embedded in content."
1232
+ "<br>&nbsp;&nbsp;Base = ignore intermediate size suffixes; use path, base "
1233
+ "name and extension only."
1234
+ msgstr ""
1235
+ "Doorzoek database berichten en paginas naar attachments opgenomen in de "
1236
+ "inhoud.<br>&nbsp;&nbsp;Basis = negeer gemiddelde omvang suffixen; gebruik "
1237
+ "alleen pad, basis naam en extensie."
1238
+
1239
+ msgid "Dynamic"
1240
+ msgstr "Dynamisch"
1241
+
1242
+ msgid "Cached"
1243
+ msgstr "Gecachet"
1244
+
1245
+ msgid ""
1246
+ "Search database posts and pages for [gallery] shortcode results.<br>&nbsp;"
1247
+ "&nbsp;Dynamic = once every page load, Cached = once every login, Disabled = "
1248
+ "never.<br>&nbsp;&nbsp;Refresh = update references, then set to Cached."
1249
+ msgstr ""
1250
+ "Doorzoek database berichten en paginas naar [gallery] shortcode resultaten."
1251
+ "<br>&nbsp;&nbsp;Dynamisch = eenmaal per pagina load, Gecachet = eenmaal elke "
1252
+ "login, Niet gekozen = nooit.<br>&nbsp;&nbsp;Ververs = werk referenties bij, "
1253
+ "daarna op Gecachet."
1254
+
1255
+ msgid ""
1256
+ "Search database posts and pages for [mla_gallery] shortcode results."
1257
+ "<br>&nbsp;&nbsp;Dynamic = once every page load, Cached = once every login, "
1258
+ "Disabled = never.<br>&nbsp;&nbsp;Refresh = update references, then set to "
1259
+ "Cached."
1260
+ msgstr ""
1261
+ "Doorzoek database berichten en paginas naar [mla_gallery] shortcode "
1262
+ "resultaten.<br>&nbsp;&nbsp;Dynamisch = eenmaal per pagina load, Gecachet = "
1263
+ "eenmaal per login, Niet gekozen = nooit.<br>&nbsp;&nbsp;Ververs = werk "
1264
+ "referenties bij, daarna op Gecachet."
1265
+
1266
+ msgid "Taxonomy Support"
1267
+ msgstr "Taxonomie Ondersteuning"
1268
+
1269
+ msgid "Compute Attachments Column"
1270
+ msgstr "Bereken Attachments Kolom"
1271
+
1272
+ msgid ""
1273
+ "Check this option to calculate attachments per term in the Attachments "
1274
+ "Column."
1275
+ msgstr ""
1276
+ "Kies deze optie om attachments per term in de Attachments Kolom te berekenen."
1277
+
1278
+ msgid ""
1279
+ "Check the \"<strong>Support</strong>\" box to add the taxonomy to the "
1280
+ "Assistant and the Edit Media screen."
1281
+ msgstr ""
1282
+ "Kies de \"<strong>Ondersteuning</strong>\" box om de taxonomie toe te voegen "
1283
+ "aan het Assistant en Bewerk Media scherm."
1284
+
1285
+ msgid ""
1286
+ "Check the \"<strong>Inline Edit</strong>\" box to display the taxonomy in "
1287
+ "the Quick Edit and Bulk Edit areas."
1288
+ msgstr ""
1289
+ "Kies de \"<strong>Inline Bewerk</strong>\" box om de taxonomie te tonen in "
1290
+ "de Quick Edit en Bulk Edit gebieden."
1291
+
1292
+ msgid ""
1293
+ "Check the \"<strong>Term Search</strong>\" box to add the taxonomy to the "
1294
+ "\"Search Media/Terms\" list."
1295
+ msgstr ""
1296
+ "Kies de \"<strong>Zoek Term</strong>\" box om de taxonomie toe te voegen aan "
1297
+ "de \"Zoek Media/Termen\" lijst."
1298
+
1299
+ msgid "For complete documentation"
1300
+ msgstr "Voor volledige documentatie"
1301
+
1302
+ msgid "click here"
1303
+ msgstr "klik hier"
1304
+
1305
+ msgid ""
1306
+ "Check the \"<strong>Checklist</strong>\" box to enable the checklist-style "
1307
+ "meta box for a flat taxonomy."
1308
+ msgstr ""
1309
+ "Kies de \"<strong>Checklist</strong>\" box om de checklist-stijl meta box te "
1310
+ "activeren voor een platte taxonomie."
1311
+
1312
+ msgid ""
1313
+ "You must also check the <strong>\"Enable enhanced checklist taxonomies\"</"
1314
+ "strong> box below to enable this feature."
1315
+ msgstr ""
1316
+ "U moet ook de <strong>\"Activeer uitgebreide checklist taxonomieën\"</"
1317
+ "strong> box kiezen om deze mogelijkheid te kunnen activeren."
1318
+
1319
+ msgid ""
1320
+ "Check the \"<strong>Checked On Top</strong>\" box to moved checked terms to "
1321
+ "the top of the checklist-style meta box."
1322
+ msgstr ""
1323
+ "Kies de \"<strong>Gekozen bovenaan</strong>\" box om gekozen termen aan de "
1324
+ "bovenkant van de checklist-stijl meta box te tonen."
1325
+
1326
+ msgid ""
1327
+ "Use the \"<strong>List Filter</strong>\" option to select the taxonomy on "
1328
+ "which to filter the Assistant table listing."
1329
+ msgstr ""
1330
+ "Gebruik de \"<strong>Lijst Filter</strong>\" optie om de taxonomie waarop "
1331
+ "gefilterd moet worden in de Assistant tabel listing."
1332
+
1333
+ msgid "Media/Assistant Screen Options"
1334
+ msgstr "Media/Assistant Scherm Opties"
1335
+
1336
+ msgid "Admin Menu Options"
1337
+ msgstr "Admin Menu Opties"
1338
+
1339
+ msgid "Page Title"
1340
+ msgstr "Pagina Titel"
1341
+
1342
+ #. translators: Name of the plugin/theme
1343
+ msgid "Media Library Assistant"
1344
+ msgstr "Media Library Assistant"
1345
+
1346
+ msgid "Enter the title for the Media/Assistant submenu page"
1347
+ msgstr "Geef de titel voor de Media/Assistant submenu pagina"
1348
+
1349
+ msgid "Menu Title"
1350
+ msgstr "Menu Titel"
1351
+
1352
+ msgid "Assistant"
1353
+ msgstr "Assistent"
1354
+
1355
+ msgid "Enter the title for the Media/Assistant submenu entry"
1356
+ msgstr "Geef de titel voor het Media/Assistant submenu bericht"
1357
+
1358
+ msgid "Submenu Order"
1359
+ msgstr "Submenu Volgorde"
1360
+
1361
+ msgid ""
1362
+ "Enter the position of the Media/Assistant submenu entry.<br>&nbsp;&nbsp;0 = "
1363
+ "natural order (at bottom),&nbsp;&nbsp;&nbsp;&nbsp;1 - 4 = at top<br>&nbsp;"
1364
+ "&nbsp;6-9 = after \"Library\",&nbsp;&nbsp;&nbsp;&nbsp;11-16 = after \"Add New"
1365
+ "\""
1366
+ msgstr ""
1367
+ "Geef de positie op voor het Media/Assistant submenu bericht.<br>&nbsp;"
1368
+ "&nbsp;0 = natuurlijke volgorde (aan de onderkant),&nbsp;&nbsp;&nbsp;&nbsp;1 "
1369
+ "- 4 = aan de bovenkant<br>&nbsp;&nbsp;6-9 = na \"Bibliotheek\",&nbsp;&nbsp;"
1370
+ "&nbsp;&nbsp;11-16 = na \"Voeg Toe\""
1371
+
1372
+ msgid "Display Media/Library"
1373
+ msgstr "Toon Media/Bibliotheek"
1374
+
1375
+ msgid ""
1376
+ "Check/uncheck this option to display/remove the WordPress Media/Library "
1377
+ "submenu entry."
1378
+ msgstr ""
1379
+ "Gebruik deze optie om het WordPress Media/Bibliotheek submenu bericht te "
1380
+ "tonen/verbergen."
1381
+
1382
+ msgid "Table Defaults"
1383
+ msgstr "Tabel Defaults"
1384
+
1385
+ msgid "Order By"
1386
+ msgstr "Sorteer Op"
1387
+
1388
+ msgid "Title/Name"
1389
+ msgstr "Titel/Naam"
1390
+
1391
+ msgid "Select the column for the sort order of the Assistant table listing."
1392
+ msgstr ""
1393
+ "Selecteer de kolom voor de sorteervolgorde van de Assistant tabel listing."
1394
+
1395
+ msgid "Order"
1396
+ msgstr "Volgorde"
1397
+
1398
+ msgid "Ascending"
1399
+ msgstr "Oplopend"
1400
+
1401
+ msgid "Descending"
1402
+ msgstr "Aflopend"
1403
+
1404
+ msgid "Choose the sort order."
1405
+ msgstr "Kies de sorteervolgorde."
1406
+
1407
+ msgid "Views Width"
1408
+ msgstr "View Breedte"
1409
+
1410
+ msgid "Enter the width for the views list, in pixels (px) or percent (%)"
1411
+ msgstr "Geef de breedte op voor de views list, in pixels (px) of procent (%)"
1412
+
1413
+ msgid "Icon Size"
1414
+ msgstr "Symbool Grootte"
1415
+
1416
+ msgid "Enter the size of the thumbnail/icon images, in pixels"
1417
+ msgstr "Geef de grootte van de thumbnail/symbool afbeeldingen, in pixels"
1418
+
1419
+ msgid "Bulk Chunk Size"
1420
+ msgstr "Bulk Chunk Grootte"
1421
+
1422
+ msgid "Enter the size of the Bulk Edit and Map All processing chunks"
1423
+ msgstr "Geef de grootte van de Bulk Edit en Vertaal alle verwerking chunks"
1424
+
1425
+ msgid "Taxonomy Filter parameters"
1426
+ msgstr "Taxonomie Filter parameters"
1427
+
1428
+ msgid "Maximum Depth"
1429
+ msgstr "Maximum Diepte"
1430
+
1431
+ msgid ""
1432
+ "Enter the number of levels displayed for hierarchial taxonomies; enter zero "
1433
+ "for no limit."
1434
+ msgstr ""
1435
+ "Geef het aantal te tonen levels voor hierarchische taxonomieën; toets nul "
1436
+ "voor geen limiet."
1437
+
1438
+ msgid "Include Children"
1439
+ msgstr "Inclusief Kinderen"
1440
+
1441
+ msgid ""
1442
+ "Check/uncheck this option to include/exclude children for hierarchical "
1443
+ "taxonomies."
1444
+ msgstr ""
1445
+ "Gebruik deze optie om kinderen wel/niet op te nemen in hierarchische "
1446
+ "taxonomieën."
1447
+
1448
+ msgid "Search Media Defaults"
1449
+ msgstr "Zoek Media Defaults"
1450
+
1451
+ msgid "Display Search Controls"
1452
+ msgstr "Toon Zoek Besturing"
1453
+
1454
+ msgid ""
1455
+ "Check/uncheck this option to display/hide the and/or connector and search "
1456
+ "fields controls."
1457
+ msgstr ""
1458
+ "Gebruik deze optie om en/of connectoren en zoek veld besturing te tonen/"
1459
+ "verbergen."
1460
+
1461
+ msgid ""
1462
+ "Use these controls to set defaults for the and/or connector and search "
1463
+ "fields controls.<br>These defaults will be used for the Search Media boxes "
1464
+ "on both the Media/Assistant submenu<br>and the Media Manager Modal Window."
1465
+ msgstr ""
1466
+ "Gebruik deze besturing om defaults voor de en/of connector en zoek veld "
1467
+ "besturing te zetten.<br>Deze defaults zullen voor de Zoek Media boxen bij "
1468
+ "zowel het Media/Assistant submenu<br>en de Media Manager Modal Window worden "
1469
+ "gebruikt."
1470
+
1471
+ msgid "Media/Edit Media Enhancements"
1472
+ msgstr "Media/Bewerk Media Toevoegingen"
1473
+
1474
+ msgid "Enable &quot;enhanced checklist&quot; taxonomies"
1475
+ msgstr "Activeer &quot;verbeterde checklist&quot; taxonomieën"
1476
+
1477
+ msgid ""
1478
+ "Check this option to enable the \"? Search\" feature for hierarchical "
1479
+ "taxonomies, e.g., Att. Categories.<br>&nbsp;&nbsp;This option also enables "
1480
+ "the \"checklist-style\" support for flat taxonomies, e.g., Att. Tags."
1481
+ msgstr ""
1482
+ "Kies deze optie om de \"? Zoek\" mogelijkheid voor hierarchische taxonomieën "
1483
+ "te gebruiken, bijv., Gekopp. Categorieën.<br>&nbsp;&nbsp;Deze optie "
1484
+ "activeert ook de mogelijkheid van de \"checklist-stijl\" ondersteuning van "
1485
+ "platte taxonomieën, bijv., Gekopp. Tags."
1486
+
1487
+ msgid "Enable Edit Media additional meta boxes"
1488
+ msgstr "Activeer Bewerk Media additionele meta boxen"
1489
+
1490
+ msgid ""
1491
+ "Check this option to add \"Parent Info\", \"Menu Order\", \"Attachment "
1492
+ "Metadata\" and four \"where-used\" meta boxes to the Edit Media screen."
1493
+ msgstr ""
1494
+ "Kies deze optie om \"Parent Info\", \"Menu Volgorde\", \"Attachment Metadata"
1495
+ "\" en vier \"waar-gebruikt\" meta boxen toe te voegen aan het Bewerk Media "
1496
+ "scherm."
1497
+
1498
+ msgid "You can also use Filters to customize the meta boxes."
1499
+ msgstr "U kunt ook Filters gebruiken om de meta boxen te wijzigen."
1500
+
1501
+ msgid "Media/Add New Enhancements"
1502
+ msgstr "Media/Voeg Nieuwe Uitbreidingen Toe"
1503
+
1504
+ msgid "Enable &quot;bulk edit&quot; area"
1505
+ msgstr "Activeer &quot;bulk edit&quot; gebied"
1506
+
1507
+ msgid ""
1508
+ "Check this option to enable the \"Bulk Edit area\" feature on the Media/Add "
1509
+ "New screen."
1510
+ msgstr ""
1511
+ "Kies deze optie om de \"Bulk Edit gebied\" mogelijkheid te activeren op het "
1512
+ "Media/Voeg Toe scherm."
1513
+
1514
+ msgid "Media Manager/Media Grid Enhancements"
1515
+ msgstr "Media Manager/Media Grid Uitbreidingen"
1516
+
1517
+ msgid "Enable Media Grid Enhancements"
1518
+ msgstr "Activeer Media Grid Uitbreidingen"
1519
+
1520
+ msgid ""
1521
+ "Check/uncheck this option to enable/disable Media Library Grid View "
1522
+ "Enhancements."
1523
+ msgstr ""
1524
+ "Gebruik deze optie om de Media Bibliotheek Grid View Uitbreidingen te "
1525
+ "activeren."
1526
+
1527
+ msgid "Enable Media Manager Enhancements"
1528
+ msgstr "Activeer Media Manager Uitbreidingen"
1529
+
1530
+ msgid ""
1531
+ "Check/uncheck this option to enable/disable Media Manager Modal Window "
1532
+ "Enhancements."
1533
+ msgstr ""
1534
+ "Gebruik deze optie om de Media Manager Modal Window Uitbreidingen te "
1535
+ "activeren."
1536
+
1537
+ msgid "Media Manager Enhanced MIME Type filter"
1538
+ msgstr "Media Manager Enhanced MIME Type filter"
1539
+
1540
+ msgid ""
1541
+ "Check this option to filter by more MIME Types, e.g., text, applications."
1542
+ msgstr ""
1543
+ "Gebruik deze optie om op meer MIME Typen te filteren, bijv., tekst, "
1544
+ "applicaties."
1545
+
1546
+ msgid "Media Manager Month and Year filter"
1547
+ msgstr "Media Manager Maand en Jaar filter"
1548
+
1549
+ msgid "Check this option to filter by month and year uploaded."
1550
+ msgstr "Gebruik deze optie om op maand en jaar van upload te filteren."
1551
+
1552
+ msgid "Media Manager Category/Tag filter"
1553
+ msgstr "Media Manager Categorie/Tag filter"
1554
+
1555
+ msgid "Check this option to filter by taxonomy terms."
1556
+ msgstr "Gebruik deze optie om op taxonomie termen te filteren."
1557
+
1558
+ msgid "Media Manager Terms Search popup"
1559
+ msgstr "Media Manager Zoek Termen popup"
1560
+
1561
+ msgid "Check this option to enable the \"Terms Search\" popup window."
1562
+ msgstr "Gebruik deze optie om het \"Zoek Termen\" popup window te activeren."
1563
+
1564
+ msgid "Media Manager Enhanced Search Media box"
1565
+ msgstr "Media Manager Enhanced Zoek Media box"
1566
+
1567
+ msgid "Check this option to enable search box enhancements."
1568
+ msgstr "Gebruik deze optie om zoek box uitbreidingen te activeren."
1569
+
1570
+ msgid "Media Manager Enhanced Search Media Controls"
1571
+ msgstr "Media Manager Enhanced Zoek Media Besturing"
1572
+
1573
+ msgid "Media Manager Checklist meta boxes"
1574
+ msgstr "Media Manager Checklist meta boxen"
1575
+
1576
+ msgid ""
1577
+ "Check this option to enable MLA-enhanced meta boxes in the \"ATTACHMENT "
1578
+ "DETAILS\" pane.<br>&nbsp;&nbsp;This option is for any taxonomy that uses a "
1579
+ "<strong>\"checklist-style\"</strong> meta box."
1580
+ msgstr ""
1581
+ "Kies deze optie om MLA-verbeterde meta boxen te activeren in het "
1582
+ "\"ATTACHMENT DETAILS\" scherm.<br>&nbsp;&nbsp;Deze optie is voor elke "
1583
+ "taxonomie die een <strong>\"checklist-stijl\"</strong> meta box gebruikt."
1584
+
1585
+ msgid "Media Manager Flat meta boxes"
1586
+ msgstr "Media Manager Platte meta boxen"
1587
+
1588
+ msgid ""
1589
+ "Check this option to enable MLA-enhanced meta boxes in the \"ATTACHMENT "
1590
+ "DETAILS\" pane.<br>&nbsp;&nbsp;This option is for <strong>flat taxonomies</"
1591
+ "strong>, e.g., \"Tags\" or \"Att. Tags\", that do not use the \"checklist-"
1592
+ "style\" meta box."
1593
+ msgstr ""
1594
+ "Gebruik deze optie om MLA-uitgebreide meta boxen te activeren in het "
1595
+ "\"ATTACHMENT DETAILS\" deel te activeren.<br>&nbsp;&nbsp;Deze optie is voor "
1596
+ "<strong>platte taxonomieën</strong>, bijv., \"Tags\" of \"Gekopp. Tags\", "
1597
+ "die de \"checklist-stijl\" meta box niet gebruiken."
1598
+
1599
+ msgid "Media Manager auto-fill meta boxes"
1600
+ msgstr "Media Manager auto-vul meta boxen"
1601
+
1602
+ msgid ""
1603
+ "Check this option to automatically fill MLA-enhanced meta boxes in the "
1604
+ "\"ATTACHMENT DETAILS\" pane<br>&nbsp;&nbsp;when the item is selected."
1605
+ msgstr ""
1606
+ "Gebruik deze optie om MLA-uitgebreide meta boxen automatisch te vullen in "
1607
+ "het \"ATTACHMENT DETAILS\" deel<br>&nbsp;&nbsp;wanner het onderdeel is "
1608
+ "geselecteerd."
1609
+
1610
+ msgid "Media Manager Order By"
1611
+ msgstr "Media Manager Sorteer Op"
1612
+
1613
+ msgid "Media Manager Default"
1614
+ msgstr "Media Manager Default"
1615
+
1616
+ msgid ""
1617
+ "If you want to override the Media Manager default,<br>&nbsp;&nbsp;select a "
1618
+ "column for the sort order of the Media Library listing."
1619
+ msgstr ""
1620
+ "Als u de Media Manager default wilt wijzigen,<br>&nbsp;&nbsp;selecteer dan "
1621
+ "een kolom voor de sorteervolgorde van de Media Library listing."
1622
+
1623
+ msgid "Media Manager Order"
1624
+ msgstr "Media Manager Volgorde"
1625
+
1626
+ msgid "Attachment Display Settings"
1627
+ msgstr "Attachment Display Instellingen"
1628
+
1629
+ msgid "Alignment"
1630
+ msgstr "Uitlijning"
1631
+
1632
+ #. translators: 1: option name, e.g., Alignment, Link To or Size
1633
+ #, php-format
1634
+ msgid ""
1635
+ "Select a value for the default %1$s option in the Attachment Display "
1636
+ "Settings."
1637
+ msgstr ""
1638
+ "Selecteer een waarde als default voor de %1$s optie in de Attachment Display "
1639
+ "Instellingen."
1640
+
1641
+ msgid "Left"
1642
+ msgstr "Links"
1643
+
1644
+ msgid "Center"
1645
+ msgstr "Centraal"
1646
+
1647
+ msgid "Right"
1648
+ msgstr "Rechts"
1649
+
1650
+ msgid "Link To"
1651
+ msgstr "Link Naar"
1652
+
1653
+ msgid "Media File"
1654
+ msgstr "Media Bestand"
1655
+
1656
+ msgid "Attachment Page"
1657
+ msgstr "Attachment Pagina"
1658
+
1659
+ msgid "Custom URL"
1660
+ msgstr "Custom URL"
1661
+
1662
+ msgid "Size"
1663
+ msgstr "Grootte"
1664
+
1665
+ msgid "Thumbnail"
1666
+ msgstr "Thumbnail"
1667
+
1668
+ msgid "Medium"
1669
+ msgstr "Medium"
1670
+
1671
+ msgid "Large"
1672
+ msgstr "Groot"
1673
+
1674
+ msgid "Full Size"
1675
+ msgstr "Volledig"
1676
+
1677
+ msgid "Default [mla_gallery] Templates and Settings"
1678
+ msgstr "Default [mla_gallery] Templates en Instellingen"
1679
+
1680
+ msgid "Style Template"
1681
+ msgstr "Stijl Template"
1682
+
1683
+ #. translators: 1: template type 2: shortcode
1684
+ #, php-format
1685
+ msgid "Select the default %1$s for your %2$s shortcodes."
1686
+ msgstr "Selecteer de default %1$s voor uw %2$s shortcodes."
1687
+
1688
+ msgid "Markup Template"
1689
+ msgstr "Markup Template"
1690
+
1691
+ msgid "markup template"
1692
+ msgstr "markup template"
1693
+
1694
+ msgid "Default columns"
1695
+ msgstr "Default kolommen"
1696
+
1697
+ msgid ""
1698
+ "Enter the number of [mla_tag_cloud] columns; must be a positive integer."
1699
+ msgstr ""
1700
+ "Geef het aantal van [mla_tag_cloud] kolommen; moet een positief getal zijn."
1701
+
1702
+ msgid "Default mla_margin"
1703
+ msgstr "Default mla_margin"
1704
+
1705
+ msgid ""
1706
+ "Enter the CSS \"margin\" property value, in length (px, em, pt, etc.), "
1707
+ "percent (%), \"auto\" or \"inherit\".<br>&nbsp;&nbsp;Enter \"none\" to "
1708
+ "remove the property entirely."
1709
+ msgstr ""
1710
+ "Geef de CSS \"margin\" eigenschap waarde, in lengte (px, em, pt, etc.), "
1711
+ "procent (%), \"auto\" of \"inherit\".<br>&nbsp;&nbsp;Geef \"none\" om de "
1712
+ "eigenschap in zijn geheel te verwijderen."
1713
+
1714
+ msgid "Default mla_itemwidth"
1715
+ msgstr "Default mla_itemwidth"
1716
+
1717
+ msgid ""
1718
+ "Enter the CSS \"width\" property value, in length (px, em, pt, etc.), "
1719
+ "percent (%), \"auto\" or \"inherit\".<br>&nbsp;&nbsp;Enter \"calculate"
1720
+ "\" (the default) to calculate the value taking the \"margin\" value into "
1721
+ "account.<br>&nbsp;&nbsp;Enter \"exact\" to calculate the value without "
1722
+ "considering the \"margin\" value.<br>&nbsp;&nbsp;Enter \"none\" to remove "
1723
+ "the property entirely."
1724
+ msgstr ""
1725
+ "Geef de CSS \"width\" eigenschap waarde, in lengte (px, em, pt, etc.), "
1726
+ "procent (%), \"auto\" of \"inherit\".<br>&nbsp;&nbsp;Geef \"calculate\" (de "
1727
+ "default) om de waarde te berekenen met in acht neming van de \"margin\" "
1728
+ "waarde.<br>&nbsp;&nbsp;Geef \"exact\" om de waarde te berekenen zonder de "
1729
+ "\"margin\" waarde in acht te nemen.<br>&nbsp;&nbsp;Geef \"none\" om de "
1730
+ "eigenschap in zijn geheel te verwijderen."
1731
+
1732
+ msgid "Enter the number of [mla_gallery] columns; must be a positive integer."
1733
+ msgstr ""
1734
+ "Geef het aantal van [mla_gallery] kolommen; moet een positief getal zijn."
1735
+
1736
+ msgid "Thumbnail Substitution Support, mla_viewer"
1737
+ msgstr "Thumbnail Vervanging Support, mla_viewer"
1738
+
1739
+ msgid "Enable thumbnail substitution"
1740
+ msgstr "Activeer thumbnail vervanging"
1741
+
1742
+ msgid ""
1743
+ "Check this option to allow the \"mla_viewer\" to generate thumbnail images "
1744
+ "for PDF documents. Thumbnails are generated dynamically, each time the item "
1745
+ "appears in an [mla_gallery] display.<br>&nbsp;&nbsp;<strong>IMPORTANT: both "
1746
+ "Ghostscript and Imagick/ImageMagick must be installed for this feature.</"
1747
+ "strong>"
1748
+ msgstr ""
1749
+ "Kies deze optie om de \"mla_viewer\" toe te staan om thumbnail afbeeldingen "
1750
+ "aan te maken voor PDF documenten. Thumbnails worden dynamisch gegenereerd, "
1751
+ "elke keer als een item in een [mla_gallery] display voorkomt.<br>&nbsp;&nbsp;"
1752
+ "<strong>BELANGRIJK: zowel Ghostscript als Imagick/ImageMagick moeten "
1753
+ "geïnstalleerd zijn voor deze optie.</strong>"
1754
+
1755
+ msgid "Enable Featured Images"
1756
+ msgstr "Activeer Uitgelichte Afbeeldingen"
1757
+
1758
+ msgid ""
1759
+ "Check this option to extend Featured Image support to all Media Library "
1760
+ "items. The Featured Image can be used as a thumbnail image for the item in "
1761
+ "an [mla_gallery] display."
1762
+ msgstr ""
1763
+ "Kies deze optie om de Uitgelichte Afbeelding ondersteuning uit te breiden "
1764
+ "naar alle Media Bibliotheek items. De Uitgelichte Afbeelding kan als "
1765
+ "thumbnail afbeelding voor het item in een [mla_gallery] display worden "
1766
+ "gebruikt."
1767
+
1768
+ msgid "Enable Featured Image Generation"
1769
+ msgstr "Activeer Uitgelichte Afbeelding Aanmaak"
1770
+
1771
+ msgid ""
1772
+ "Check this option to enable the \"Thumbnail\" generation action in the Media/"
1773
+ "Assistant submenu Bulk Actions dropdown."
1774
+ msgstr ""
1775
+ "Kies deze optie om de \"Thumbnail\" aanmaak actie te activeren in de Media/"
1776
+ "Assistent submenu Bulk Acties dropdown."
1777
+
1778
+ msgid "Enable explicit Ghostscript check"
1779
+ msgstr "Activeer uitdrukkelijke Ghostscript controle"
1780
+
1781
+ msgid ""
1782
+ "Check this option to enable the explicit check for Ghostscript support "
1783
+ "required for thumbnail generation. If your Ghostscript software is in a non-"
1784
+ "standard location, unchecking this option bypasses the check. Bad things can "
1785
+ "happen if Ghostscript is missing but Imagick/ImageMagick is present, so "
1786
+ "leave this option checked unless you know it is safe to turn it off."
1787
+ msgstr ""
1788
+ "Kies deze optie om het uitdrukkelijk controleren te activeren van "
1789
+ "Ghostscript ondersteuning bij thumbnail aanmaak. Als uw Ghostscript software "
1790
+ "zich op een niet-standaard locatie bevindt, wordt deze controle overgeslagen "
1791
+ "als u deze optie uit zet. Er kunnen zaken fout gaan als Ghostscript afwezig "
1792
+ "is en Imagick/ImageMagick niet, dus laat deze optie aan staan tenzij u zeker "
1793
+ "weet dat het veilig is om hem uit te zetten."
1794
+
1795
+ msgid "Ghostscript path"
1796
+ msgstr "Ghostscript pad"
1797
+
1798
+ msgid ""
1799
+ "If your &ldquo;gs&rdquo; executable is in a non-standard location, enter the "
1800
+ "full path and filename here, e.g., &ldquo;/usr/bin/gs&rdquo;. It will "
1801
+ "override the search for Ghostscript in other places."
1802
+ msgstr ""
1803
+ "Als uw &ldquo;gs&rdquo; executable zich op een niet-standaard locatie "
1804
+ "bevindt, geef dan hier de volledige locatie op, b.v., &ldquo;/usr/bin/"
1805
+ "gs&rdquo;. Deze waarde zal dan gebruikt worden op andere plaatsen voor het "
1806
+ "gebruik van Ghostscript."
1807
+
1808
+ msgid "Enable custom field mapping when adding new media"
1809
+ msgstr "Activeer custom veld vertaling bij het toevoegen van nieuwe media"
1810
+
1811
+ msgid ""
1812
+ "Check this option to enable mapping when uploading new media (attachments)."
1813
+ "<br>&nbsp;&nbsp;Click Save Changes at the bottom of the screen if you change "
1814
+ "this option.<br>&nbsp;&nbsp;Does NOT affect the operation of the \"Map\" "
1815
+ "buttons on the bulk edit, single edit and settings screens."
1816
+ msgstr ""
1817
+ "Gebruik deze optie om vertaling te activeren bij het uploaden van nieuwe "
1818
+ "media (attachments).<br>&nbsp;&nbsp;Klik Sla Wijzigingen Op onderaan het "
1819
+ "scherm als u deze optie wijzigt.<br>&nbsp;&nbsp;Beïnvloedt de werking van de "
1820
+ "\"Vertaal\" knoppen NIET op de bulk edit, single edit en instelling schermen."
1821
+
1822
+ msgid "Enable custom field mapping when updating media metadata"
1823
+ msgstr "Activeer custom veld vertaling bij het wijzigen van media metadata"
1824
+
1825
+ msgid ""
1826
+ "Check this option to enable mapping when media (attachments) metadata is "
1827
+ "regenerated,<br>&nbsp;&nbsp;e.g., when the Media/Edit Media \"Edit Image\" "
1828
+ "functions are used."
1829
+ msgstr ""
1830
+ "Gebruik deze optie om vertaling te activeren wanneer media (attachments) "
1831
+ "metadata wordt geregenereerd,<br>&nbsp;&nbsp;bijv., wanneer de Media/Bewerk "
1832
+ "Media \"Bewerk Afbeelding\" functies worden gebruikt."
1833
+
1834
+ msgid ""
1835
+ "Update the custom field mapping values above, then click Save Changes to "
1836
+ "make the updates permanent.<br>You can also make temporary updates and click "
1837
+ "a Map All Attachments button to apply the rule(s) to all attachments without "
1838
+ "saving any rule changes."
1839
+ msgstr ""
1840
+ "Werk de custom veld vertaling waarden hierboven bij, klik daarna Sla "
1841
+ "Wijzigingen Op om de wijzigingen permanent te maken.<br>U kunt ook "
1842
+ "tijdelijke wijzigingen maken en de Vertaal Alle Attachments knop klikken om "
1843
+ "de regel(s) toe te passen op alle attachments zonder dat de regelwijzigingen "
1844
+ "opgeslagen worden."
1845
+
1846
+ msgid "Enable IPTC/EXIF Mapping when adding new media"
1847
+ msgstr "Activeer IPTC/EXIF Vertaling bij het toevoegen van nieuwe media"
1848
+
1849
+ msgid ""
1850
+ "Check this option to enable mapping when uploading new media (attachments)."
1851
+ "<br>&nbsp;&nbsp;Does NOT affect the operation of the \"Map\" buttons on the "
1852
+ "bulk edit, single edit and settings screens."
1853
+ msgstr ""
1854
+ "Gebruik deze optie om het vertalen te activeren bij het uploaden van nieuwe "
1855
+ "media (attachments).<br>&nbsp;&nbsp;Beïnvloedt de werking van de \"Vertaal\" "
1856
+ "knoppen NIET op de bulk edit, single edit en instellingen schermen."
1857
+
1858
+ msgid "Enable IPTC/EXIF Mapping when updating media metadata"
1859
+ msgstr "Activeer IPTC/EXIF Vertaling bij het wijzigen van media metadata"
1860
+
1861
+ msgid ""
1862
+ "Update the standard field mapping values above, then click <strong>Save "
1863
+ "Changes</strong> to make the updates permanent.<br>You can also make "
1864
+ "temporary updates and click <strong>Map All Attachments, Standard Fields "
1865
+ "Now</strong> to apply the updates to all attachments without saving the rule "
1866
+ "changes."
1867
+ msgstr ""
1868
+ "Werk de standaard veld vertaling waarden hierboven bij, klik daarna "
1869
+ "<strong>Sla Wijzigingen Op</strong> om de wijzigingen permanent te maken."
1870
+ "<br>U kunt ook tijdelijke wijzigingen aanbrengen en <strong>Vertaal Alle "
1871
+ "Attachments, Standaard Velden Nu</strong> klikken om de wijzigingen aan te "
1872
+ "brengen op alle attachments zonder dat de regelwijzigingen opgeslagen worden."
1873
+
1874
+ msgid ""
1875
+ "Update the taxonomy term mapping values above, then click <strong>Save "
1876
+ "Changes</strong> or <strong>Map All Attachments, Taxonomy Terms Now</strong>."
1877
+ msgstr ""
1878
+ "Werk de taxonomie term vertaling waarden hierboven bij, klik daarna "
1879
+ "<strong>Sla Wijzigingen Op</strong> of <strong>Vertaal Alle Attachments, "
1880
+ "Taxonomieën Termen Nu</strong>."
1881
+
1882
+ msgid ""
1883
+ "<strong>Update</strong> individual custom field mapping values above, or "
1884
+ "make several updates and click <strong>Save Changes</strong> below to apply "
1885
+ "them all at once.<br>You can also <strong>add a new rule</strong> for an "
1886
+ "existing field or <strong>add a new field</strong> and rule.<br>You can make "
1887
+ "temporary updates and click <strong>Map All Attachments, Custom Fields Now</"
1888
+ "strong> to apply the updates to all attachments without saving the rule "
1889
+ "changes."
1890
+ msgstr ""
1891
+ "<strong>Wijzig</strong> individuele custom veld vertaling waarden hierboven, "
1892
+ "of maak verschillende wijzigingen en klik <strong>Sla Wijzigingen Op</"
1893
+ "strong> hieronder om de wijzigingen in een keer aan te brengen.<br>U kunt "
1894
+ "ook een <strong>nieuwe regel toevoegen</strong> voor een bestaand veld of "
1895
+ "<strong>een nieuw veld toevoegen</strong> en een regel toevoegen.<br>U kunt "
1896
+ "tijdelijke wijzigingen aanbrengen en <strong>Vertaal Alle Attachments, "
1897
+ "Custom Velden Nu</strong> klikken om de wijzigingen aan te brengen op alle "
1898
+ "attachments zonder dat de regels gewijzigd worden."
1899
+
1900
+ msgid "IPTC/EXIF Mapping help"
1901
+ msgstr "IPTC/EXIF Vertaal hulp"
1902
+
1903
+ msgid "Enable View and Post MIME Type Support"
1904
+ msgstr "Activeer View en Post MIME Type Ondersteuning"
1905
+
1906
+ msgid ""
1907
+ "Check/uncheck this option to enable/disable Post MIME Type Support, then "
1908
+ "click <strong>Save Changes</strong> to record the new setting."
1909
+ msgstr ""
1910
+ "Gebruik deze optie om Post MIME Type Ondersteuning te activeren, klik daarna "
1911
+ "<strong>Sla Wijzigingen Op</strong> om de nieuwe instelling op te slaan."
1912
+
1913
+ msgid "Post MIME Types help."
1914
+ msgstr "Post MIME Typen hulp."
1915
+
1916
+ msgctxt "post_mime_types_description"
1917
+ msgid "Built-in view"
1918
+ msgstr "Ingebouwde view"
1919
+
1920
+ msgctxt "table_view_singular"
1921
+ msgid "Image"
1922
+ msgstr "Afbeelding"
1923
+
1924
+ msgctxt "table_view_plural"
1925
+ msgid "Images"
1926
+ msgstr "Afbeeldingen"
1927
+
1928
+ msgctxt "post_mime_types_description"
1929
+ msgid "All image subtypes"
1930
+ msgstr "Alle afbeelding subtypen"
1931
+
1932
+ msgctxt "table_view_singular"
1933
+ msgid "Audio"
1934
+ msgstr "Audio"
1935
+
1936
+ msgctxt "table_view_plural"
1937
+ msgid "Audio"
1938
+ msgstr "Audio"
1939
+
1940
+ msgctxt "post_mime_types_description"
1941
+ msgid "All audio subtypes"
1942
+ msgstr "Alle audio subtypen"
1943
+
1944
+ msgctxt "table_view_singular"
1945
+ msgid "Video"
1946
+ msgstr "Video"
1947
+
1948
+ msgctxt "table_view_plural"
1949
+ msgid "Video"
1950
+ msgstr "Video"
1951
+
1952
+ msgctxt "post_mime_types_description"
1953
+ msgid "All video subtypes"
1954
+ msgstr "Alle video subtypen"
1955
+
1956
+ msgctxt "table_view_singular"
1957
+ msgid "Text"
1958
+ msgstr "Tekst"
1959
+
1960
+ msgctxt "table_view_plural"
1961
+ msgid "Text"
1962
+ msgstr "Tekst"
1963
+
1964
+ msgctxt "post_mime_types_description"
1965
+ msgid "All text subtypes"
1966
+ msgstr "Alle tekst subtypen"
1967
+
1968
+ msgctxt "table_view_singular"
1969
+ msgid "Application"
1970
+ msgstr "Applicatie"
1971
+
1972
+ msgctxt "table_view_plural"
1973
+ msgid "Applications"
1974
+ msgstr "Applicaties"
1975
+
1976
+ msgctxt "post_mime_types_description"
1977
+ msgid "All application subtypes"
1978
+ msgstr "Alle applicatie subtypen"
1979
+
1980
+ msgctxt "table_view_plural"
1981
+ msgid "Unattached"
1982
+ msgstr "Ongekoppeld"
1983
+
1984
+ msgctxt "table_view_singular"
1985
+ msgid "Attached"
1986
+ msgstr "Gekoppeld"
1987
+
1988
+ msgctxt "table_view_plural"
1989
+ msgid "Attached"
1990
+ msgstr "Gekoppeld"
1991
+
1992
+ msgctxt "table_view_singular"
1993
+ msgid "Trash"
1994
+ msgstr "Prullenbak"
1995
+
1996
+ msgctxt "table_view_plural"
1997
+ msgid "Trash"
1998
+ msgstr "Prullenbak"
1999
+
2000
+ msgid "Enable Upload MIME Type Support"
2001
+ msgstr "Activeer Upload MIME Type Ondersteuning"
2002
+
2003
+ msgid ""
2004
+ "Check/uncheck this option to enable/disable Upload MIME Type Support, then "
2005
+ "click <strong>Save Changes</strong> to record the new setting."
2006
+ msgstr ""
2007
+ "Gebruik deze optie om Upload MIME Type Ondersteuning te activeren, klik "
2008
+ "daarna <strong>Sla Wijzigingen Op</strong> om de nieuwe instelling op te "
2009
+ "slaan."
2010
+
2011
+ msgid "Upload MIME Types help."
2012
+ msgstr "Upload MIME Typen hulp."
2013
+
2014
+ msgid "Enable MLA File Type Icons Support"
2015
+ msgstr "Activeer MLA Bestandstype Symbolen Ondersteuning"
2016
+
2017
+ msgid ""
2018
+ "Check/uncheck this option to enable/disable MLA File Type Icons Support, "
2019
+ "then click <strong>Save Changes</strong> to record the new setting."
2020
+ msgstr ""
2021
+ "Gebruik deze optie om MLA Bestandstype Symbolen Ondersteuning te activeren, "
2022
+ "klik daarna <strong>Sla Wijzigingen Op</strong> om de nieuwe instelling op "
2023
+ "te slaan."
2024
+
2025
+ msgid "Display Limit"
2026
+ msgstr "Display Limiet"
2027
+
2028
+ msgid ""
2029
+ "Enter the maximum number of debug log characters to display; enter zero or "
2030
+ "leave blank for no limit."
2031
+ msgstr ""
2032
+ "Geef het maximum aantal te tonen karakters van de debug log; toets nul of "
2033
+ "laat waarde leeg voor geen limiet."
2034
+
2035
+ msgid "Debug File"
2036
+ msgstr "Debug Bestand"
2037
+
2038
+ msgid ""
2039
+ "Enter the name of an alternate, MLA-specific debug log file; leave blank to "
2040
+ "use the PHP error_log."
2041
+ msgstr ""
2042
+ "Geef de naam van een alternatief MLA-specifiek debug log bestand; laat blank "
2043
+ "om de PHP error_log te gebruiken."
2044
+
2045
+ msgid "Replace PHP error_log file"
2046
+ msgstr "Vervang PHP error_log file"
2047
+
2048
+ msgid ""
2049
+ "Check this option to replace the PHP error_log file with the MLA Debug File."
2050
+ "<br>&nbsp;&nbsp;allows capture of PHP messages in the MLA Debug File."
2051
+ msgstr ""
2052
+ "Kies deze optie om de PHP error_log file te vervangen door de MLA Debug File."
2053
+ "<br>&nbsp;&nbsp;maakt het mogelijk om PHP meldingen op te vangen in de MLA "
2054
+ "Debug File."
2055
+
2056
+ msgid "PHP Reporting"
2057
+ msgstr "PHP Rapportage"
2058
+
2059
+ msgid ""
2060
+ "Enter a numeric error_reporting value, e.g., 0x7FFF or 32767; leave blank to "
2061
+ "use the existing PHP error_reporting value."
2062
+ msgstr ""
2063
+ "Geef een numerieke error_reporting waarde, bijv., 0x7FFF of 32767; laat leeg "
2064
+ "om de bestaande PHP error_reporting waarde te gebruiken."
2065
+
2066
+ msgid "MLA Reporting"
2067
+ msgstr "MLA Rapportage"
2068
+
2069
+ msgid ""
2070
+ "Enter a numeric MLA_DEBUG_LEVEL value, e.g., 0x0003 or 3; leave blank to use "
2071
+ "the existing MLA_DEBUG_LEVEL value."
2072
+ msgstr ""
2073
+ "Geef een numerieke MLA_DEBUG_LEVEL waarde, bijv., 0x0003 of 3; laat leeg om "
2074
+ "de bestaande MLA_DEBUG_LEVEL waarde te gebruiken."
2075
+
2076
+ msgid "no templates exist"
2077
+ msgstr "er bestaan geen templates"
2078
+
2079
+ msgid "not found"
2080
+ msgstr "niet gevonden"
2081
+
2082
+ #. translators: 1: ERROR tag 2: option name 3: action, e.g., update, delete, reset
2083
+ #, php-format
2084
+ msgid "%1$s: Custom %2$s unknown action \"%3$s\""
2085
+ msgstr "%1$s: Custom %2$s onbekende actie \"%3$s\""
2086
+
2087
+ msgid "Support"
2088
+ msgstr "Ondersteuning"
2089
+
2090
+ msgid "Inline Edit"
2091
+ msgstr "Inline Edit"
2092
+
2093
+ msgid "Term Search"
2094
+ msgstr "Zoek Term"
2095
+
2096
+ msgid "Checklist"
2097
+ msgstr "Checklist"
2098
+
2099
+ msgid "Checked On Top"
2100
+ msgstr "Bovenaan Gekozen"
2101
+
2102
+ msgid "List Filter"
2103
+ msgstr "Lijst Filter"
2104
+
2105
+ msgid "Taxonomy"
2106
+ msgstr "Taxonomie"
2107
+
2108
+ #. translators: 1: taxonomy name
2109
+ #, php-format
2110
+ msgid "List Filter ignored; %1$s not supported."
2111
+ msgstr "Lijst Filter genegeerd; %1$s niet ondersteund."
2112
+
2113
+ #. translators: 1: taxonomy name
2114
+ #, php-format
2115
+ msgid "Inline Edit ignored; %1$s not supported."
2116
+ msgstr "Inline Edit genegeerd; %1$s niet ondersteund."
2117
+
2118
+ #. translators: 1: taxonomy name
2119
+ #, php-format
2120
+ msgid "Term Search ignored; %1$s not supported."
2121
+ msgstr "Zoek Term genegeerd; %1$s niet ondersteund."
2122
+
2123
+ #. translators: 1: taxonomy name
2124
+ #, php-format
2125
+ msgid "Checklist ignored; %1$s not supported."
2126
+ msgstr "Checklist genegeerd; %1$s niet ondersteund."
2127
+
2128
+ #. translators: 1: taxonomy name
2129
+ #, php-format
2130
+ msgid "Checked On Top ignored; %1$s not supported."
2131
+ msgstr "Bovenaan Gekozen genegeerd; %1$s niet ondersteund."
2132
+
2133
+ #. translators: 1: option name, e.g., taxonomy_support
2134
+ #, php-format
2135
+ msgid "Update custom %1$s"
2136
+ msgstr "Wijzig custom %1$s"
2137
+
2138
+ #. translators: 1: option name, e.g., taxonomy_support
2139
+ #, php-format
2140
+ msgid "Reset custom %1$s"
2141
+ msgstr "Herstel custom %1$s"
2142
+
2143
+ msgid "and"
2144
+ msgstr "en"
2145
+
2146
+ msgid "or"
2147
+ msgstr "of"
2148
+
2149
+ msgid "Name"
2150
+ msgstr "Naam"
2151
+
2152
+ msgid "Terms"
2153
+ msgstr "Termen"
2154
+
2155
+ msgid "None (select a value)"
2156
+ msgstr "Geen (selecteer een waarde)"
2157
+
2158
+ msgid "Metadata (see below)"
2159
+ msgstr "Metadata (zie hieronder)"
2160
+
2161
+ msgid "Template (see below)"
2162
+ msgstr "Template (zie hieronder)"
2163
+
2164
+ #. translators: 1: ERROR tag 2: custom field name
2165
+ #, php-format
2166
+ msgid "%1$s: New field %2$s already exists."
2167
+ msgstr "%1$s: Nieuw veld %2$s bestaat al."
2168
+
2169
+ #. translators: 1: custom field name
2170
+ #, php-format
2171
+ msgid "Adding new field %1$s."
2172
+ msgstr "Voeg nieuw veld toe %1$s."
2173
+
2174
+ #. translators: 1: custom field name
2175
+ #, php-format
2176
+ msgid "Adding new rule for %1$s."
2177
+ msgstr "Voeg nieuwe regel toe voor %1$s."
2178
+
2179
+ #. translators: 1: custom field name
2180
+ #, php-format
2181
+ msgid "Deleting rule for %1$s."
2182
+ msgstr "Verwijder regel voor %1$s."
2183
+
2184
+ #. translators: 1: custom field name 2: attribute 3: old value 4: new value
2185
+ #, php-format
2186
+ msgid "%1$s changing %2$s from %3$s to %4$s."
2187
+ msgstr "%1$s wijzigen %2$s van %3$s naar %4$s."
2188
+
2189
+ msgid "Data Source"
2190
+ msgstr "Data Bron"
2191
+
2192
+ msgid "Replace to Keep"
2193
+ msgstr "Vervang om te Behouden"
2194
+
2195
+ msgid "Keep to Replace"
2196
+ msgstr "Behoud om te Vervangen"
2197
+
2198
+ #. translators: 1: custom field name 2: attribute 3: old value 'to' new value
2199
+ #, php-format
2200
+ msgid "%1$s changing %2$s value from %3$s."
2201
+ msgstr "%1$s wijzigen %2$s waarde van %3$s."
2202
+
2203
+ msgid "Existing Text"
2204
+ msgstr "Bestaande Tekst"
2205
+
2206
+ msgid "Format"
2207
+ msgstr "Formaat"
2208
+
2209
+ msgid "unchecked to checked"
2210
+ msgstr "niet gekozen naar gekozen"
2211
+
2212
+ msgid "checked to unchecked"
2213
+ msgstr "gekozen naar niet gekozen"
2214
+
2215
+ msgid "MLA Column"
2216
+ msgstr "MLA kolom"
2217
+
2218
+ msgid "Metavalue name"
2219
+ msgstr "Metawaarde naam"
2220
+
2221
+ msgid "Option"
2222
+ msgstr "Optie"
2223
+
2224
+ msgid "Delete NULL values"
2225
+ msgstr "Verwijder NULL waarden"
2226
+
2227
+ msgid "No Custom Field Mapping Rules Defined"
2228
+ msgstr "Geen Custom Veld Vertaalregels Gedefinieerd"
2229
+
2230
+ msgid "Keep"
2231
+ msgstr "Behoud"
2232
+
2233
+ msgid "Native"
2234
+ msgstr "Eigen"
2235
+
2236
+ msgid "Commas"
2237
+ msgstr "Komma's"
2238
+
2239
+ msgid "Raw"
2240
+ msgstr "Ruw"
2241
+
2242
+ msgid "Text"
2243
+ msgstr "Tekst"
2244
+
2245
+ msgid "Single"
2246
+ msgstr "Enige"
2247
+
2248
+ msgid "Export"
2249
+ msgstr "Exporteer"
2250
+
2251
+ msgid "Array"
2252
+ msgstr "Array"
2253
+
2254
+ msgid "Multi"
2255
+ msgstr "Meervoudig"
2256
+
2257
+ msgid "Delete Rule"
2258
+ msgstr "Verwijder Regel"
2259
+
2260
+ msgid "Delete Rule AND Field"
2261
+ msgstr "Verwijder Regel EN Veld"
2262
+
2263
+ msgid "Update Rule"
2264
+ msgstr "Wijzig Regel"
2265
+
2266
+ msgid "Map All Attachments"
2267
+ msgstr "Vertaal Alle Attachments"
2268
+
2269
+ msgid "Add a new Mapping Rule"
2270
+ msgstr "Voeg een nieuwe Vertaal Regel toe"
2271
+
2272
+ msgid "Add Rule"
2273
+ msgstr "Voeg Regel toe"
2274
+
2275
+ msgid "Add Rule and Map All Attachments"
2276
+ msgstr "Voeg Regel toe en Vertaal Alle Attachments"
2277
+
2278
+ msgid "Add a new Field and Mapping Rule"
2279
+ msgstr "Voeg een nieuw Veld en Vertaal Regel toe"
2280
+
2281
+ msgid "Add Field"
2282
+ msgstr "Voeg Veld toe"
2283
+
2284
+ msgid "Add Field and Map All Attachments"
2285
+ msgstr "Voeg Veld toe en Vertaal Alle Attachments"
2286
+
2287
+ msgid "Field Title"
2288
+ msgstr "Veld Titel"
2289
+
2290
+ msgid "Custom field mapping rules updated."
2291
+ msgstr "Custom veld vertaal regels gewijzigd."
2292
+
2293
+ msgid "Custom field mapping rules update failed."
2294
+ msgstr "Custom veld vertaal regels wijziging is fout gegaan."
2295
+
2296
+ msgid "Custom field no mapping rule changes detected."
2297
+ msgstr "Geen wijzigingen gevonden in custom veld vertaal regel."
2298
+
2299
+ msgid "Custom field mapping settings saved."
2300
+ msgstr "Custom veld vertaal instellingen opgeslagen."
2301
+
2302
+ msgid "Custom field mapping settings reset failed."
2303
+ msgstr "Herstel custom veld vertaal instelling is fout gegaan."
2304
+
2305
+ #. translators: 1: ERROR tag 2: custom field name
2306
+ #, php-format
2307
+ msgid "%1$s: No old values for %2$s."
2308
+ msgstr "%1$s: Geen oude waarden voor %2$s."
2309
+
2310
+ msgid "IPTC Value"
2311
+ msgstr "IPTC Waarde"
2312
+
2313
+ msgid "EXIF Value"
2314
+ msgstr "EXIF Waarde"
2315
+
2316
+ msgid "EXIF to IPTC"
2317
+ msgstr "EXIF naar IPTC"
2318
+
2319
+ msgid "IPTC to EXIF"
2320
+ msgstr "IPTC naar EXIF"
2321
+
2322
+ msgid "Priority"
2323
+ msgstr "Prioriteit"
2324
+
2325
+ msgid "Delimiter(s)"
2326
+ msgstr "Scheidingsteken(s)"
2327
+
2328
+ msgid "IPTC"
2329
+ msgstr "IPTC"
2330
+
2331
+ msgid "EXIF"
2332
+ msgstr "EXIF"
2333
+
2334
+ msgid "EXIF/Template Value"
2335
+ msgstr "EXIF/Template Waarde"
2336
+
2337
+ #. translators: 1: ERROR tag 2: option name
2338
+ #, php-format
2339
+ msgid "%1$s: Render unknown custom %2$s."
2340
+ msgstr "%1$s: Render onbekende custom %2$s."
2341
+
2342
+ #. translators: 1: ERROR tag 2: option name
2343
+ #, php-format
2344
+ msgid "%1$s: Update/delete unknown custom %2$s."
2345
+ msgstr "%1$s: Wijzig/verwijder onbekende custom %2$s."
2346
+
2347
+ msgid "IPTC/EXIF mapping settings updated."
2348
+ msgstr "IPTC/EXIF vertaal instellingen bijgewerkt."
2349
+
2350
+ msgid "IPTC/EXIF settings update failed."
2351
+ msgstr "IPTC/EXIF instellingen wijziging is fout gegaan."
2352
+
2353
+ msgid "IPTC/EXIF no mapping changes detected."
2354
+ msgstr "IPTC/EXIF geen vertaling wijziging gedetecteerd."
2355
+
2356
+ #. translators: 1: field type
2357
+ #, php-format
2358
+ msgid "%1$s settings saved."
2359
+ msgstr "%1$s instellingen opgeslagen."
2360
+
2361
+ msgid "Standard field"
2362
+ msgstr "Standaard veld"
2363
+
2364
+ #. translators: 1: ERROR tag 2: field type
2365
+ #, php-format
2366
+ msgid "%1$s: IPTC/EXIF %2$s settings update failed."
2367
+ msgstr "%1$s: IPTC/EXIF %2$s instellingen wijziging is fout gegaan."
2368
+
2369
+ msgid "Taxonomy term"
2370
+ msgstr "Taxonomie term"
2371
+
2372
+ msgid "Custom field"
2373
+ msgstr "Custom veld"
2374
+
2375
+ #. translators: 1: ERROR tag 2: option name, e.g., taxonomy_support
2376
+ #, php-format
2377
+ msgid "%1$s: Reset unknown custom %2$s"
2378
+ msgstr "%1$s: Herstel onbekende custom %2$s"
2379
+
2380
+ msgid "ERROR: No post ID found"
2381
+ msgstr "FOUT: Geen post ID gevonden"
2382
+
2383
+ msgid "Error while saving the translations."
2384
+ msgstr "Fout tijdens opslaan vertalingen."
2385
+
2386
+ msgid "Remove From Bulk Translate"
2387
+ msgstr "Verwijder van Bulk Vertaal"
2388
+
2389
+ msgid "Bulk Translate items"
2390
+ msgstr "Bulk Vertaal items"
2391
+
2392
+ msgid "Add new"
2393
+ msgstr "Voeg nieuwe toe"
2394
+
2395
+ msgid "Bulk Translations"
2396
+ msgstr "Bulk Vertalingen"
2397
+
2398
+ msgid "Translate"
2399
+ msgstr "Vertaal"
2400
+
2401
+ msgid "All Languages"
2402
+ msgstr "Alle Talen"
2403
+
2404
+ msgid "Quick Translate"
2405
+ msgstr "Snel Vertalen"
2406
+
2407
+ msgid "Set Language"
2408
+ msgstr "Zet Taal"
2409
+
2410
+ msgid "Bulk Translate"
2411
+ msgstr "Bulk Vertaal"
2412
+
2413
+ msgid "Add or Modify Translation"
2414
+ msgstr "Wijzig of voeg een vertaling toe"
2415
+
2416
+ msgid "Language"
2417
+ msgstr "Taal"
2418
+
2419
+ msgid "Options"
2420
+ msgstr "Opties"
2421
+
2422
+ msgid "Translate this item inline"
2423
+ msgstr "Vertaal dit item inline"
2424
+
2425
+ msgid "Media/Assistant submenu table"
2426
+ msgstr "Media/Assistent submenu tabel"
2427
+
2428
+ msgid "Language Column"
2429
+ msgstr "Taal Kolom"
2430
+
2431
+ msgid ""
2432
+ "Check this option to add a Language column to the Media/Assistant submenu "
2433
+ "table."
2434
+ msgstr ""
2435
+ "Kies deze optie om een Taal kolom toe te voegen aan de Media/Assistent "
2436
+ "submenu tabel."
2437
+
2438
+ msgid "Translations Column"
2439
+ msgstr "Vertalingen Kolom"
2440
+
2441
+ msgid ""
2442
+ "Check this option to add a Translation Status column to the Media/Assistant "
2443
+ "submenu table."
2444
+ msgstr ""
2445
+ "Kies deze optie om een Vertaal Status kolom toe te voegen aan de Media/"
2446
+ "Assistent subment tabel."
2447
+
2448
+ msgid ""
2449
+ "Check this option to add a Quick Translate rollover action to the Media/"
2450
+ "Assistant submenu table."
2451
+ msgstr ""
2452
+ "Kies deze optie om een Snel Vertaal actie toe te voegen aan de Media/"
2453
+ "Asssitent submenu tabel."
2454
+
2455
+ msgid ""
2456
+ "Check this option to add \"Translate\" to the \"Bulk Actions\" control on "
2457
+ "the Media/Assistant submenu table."
2458
+ msgstr ""
2459
+ "Kies deze optie om \"Vertaal\" aan de \"Bulk Acties\" besturing toe te "
2460
+ "voegen aan de Media/Assistent submenu tabel."
2461
+
2462
+ msgid "Term Management"
2463
+ msgstr "Term Beheer"
2464
+
2465
+ msgid "Term Assignment"
2466
+ msgstr "Term Toekennings"
2467
+
2468
+ msgid ""
2469
+ "Check this option to assign language-specific terms when items are updated."
2470
+ msgstr ""
2471
+ "Kies deze optie om taal-specifieke termen toe te kennen wanneer items "
2472
+ "bijgewerkt worden."
2473
+
2474
+ msgid "Term Synchronization"
2475
+ msgstr "Term Synchronisatie"
2476
+
2477
+ msgid ""
2478
+ "Check this option to synchronize common terms among all item translations."
2479
+ msgstr ""
2480
+ "Kies deze optie om algemene termen te synchroniseren in alle item "
2481
+ "vertalingen."
2482
+
2483
+ msgid "Language Options"
2484
+ msgstr "Taal Opties"
2485
+
2486
+ #. translators: 1: - 4: page subheader values
2487
+ #, php-format
2488
+ msgid ""
2489
+ "In this tab you can find a number of options for controlling Polylang-"
2490
+ "specific operations. Scroll down to find options for %1$s and %2$s. Be sure "
2491
+ "to click \"Save Changes\" at the bottom of the tab to save any changes you "
2492
+ "make."
2493
+ msgstr ""
2494
+ "In deze tab kunt u een aantal opties vinden om Polylang-specifieke "
2495
+ "bewerkingen te besturen. Scroll naar beneden om de opties te vinden voor "
2496
+ "%1$s en %2$s. Klik wel op \"Opslaan\" onderaan om de wijzigingen op te slaan."
2497
+
2498
+ #. translators: 1: Documentation hyperlink
2499
+ #, php-format
2500
+ msgid ""
2501
+ "You can find more information about multilingual features in the %1$s "
2502
+ "section of the Documentation."
2503
+ msgstr ""
2504
+ "U kunt meer informatie over multilingual mogelijkheden vinden in het %1$s "
2505
+ "deel van de Documentatie."
2506
+
2507
+ msgid "Language Options documentation"
2508
+ msgstr "Tall Opties documentatie"
2509
+
2510
+ msgid "WPML &amp; Polylang Multilingual Support; the MLA Language Tab"
2511
+ msgstr "WPML &amp; Polylang Multilingual Ondersteuning; de MLA Taal Tab"
2512
+
2513
+ msgid "Save Changes"
2514
+ msgstr "Sla Wijzigingen Op"
2515
+
2516
+ msgid "Delete Language options and restore default settings"
2517
+ msgstr "Verwijder Taal opties en herstel default instellingen"
2518
+
2519
+ msgid "Go to Top"
2520
+ msgstr "Ga naar Boven"
2521
+
2522
+ msgid "Language settings saved."
2523
+ msgstr "Taal instellingen opgeslagen."
2524
+
2525
+ #. translators: 1: option name
2526
+ #, php-format
2527
+ msgctxt "message_list"
2528
+ msgid "delete_option \"%1$s\""
2529
+ msgstr "delete_option \"%1$s\""
2530
+
2531
+ msgid "Language settings reset to default values."
2532
+ msgstr "Taal instellingen reset naar default waarden."
2533
+
2534
+ msgid "no slug"
2535
+ msgstr "geen slug"
2536
+
2537
+ msgid "Running"
2538
+ msgstr "Loopt"
2539
+
2540
+ msgid "Skipped"
2541
+ msgstr "Overgeslagen"
2542
+
2543
+ msgid "Reprocessed"
2544
+ msgstr "Opnieuw uitgevoerd"
2545
+
2546
+ msgid "Settings"
2547
+ msgstr "Instellingen"
2548
+
2549
+ msgid "Views per page"
2550
+ msgstr "Views per pagina"
2551
+
2552
+ msgid "Types per page"
2553
+ msgstr "Typen per pagina"
2554
+
2555
+ msgid "Upload types per page"
2556
+ msgstr "Upload typen per pagina"
2557
+
2558
+ msgid "No view slug found"
2559
+ msgstr "Geen view slug gevonden"
2560
+
2561
+ msgid "No upload slug found"
2562
+ msgstr "Geen upload slug gevonden"
2563
+
2564
+ msgid "Map All Rules, All Attachments Now"
2565
+ msgstr "Vertaal Alle Regels, Alle Attachments Nu"
2566
+
2567
+ msgid "Map All Attachments, Standard Fields Now"
2568
+ msgstr "Vertaal Alle Attachments, Standaard Velden Nu"
2569
+
2570
+ msgid "Map All Attachments, Taxonomy Terms Now"
2571
+ msgstr "Vertaal Alle Attachments, Taxonomie Termen Nu"
2572
+
2573
+ msgid "Map All Attachments, Custom Fields Now"
2574
+ msgstr "Vertaal Alle Attachments, Custom Velden Nu"
2575
+
2576
+ #. translators: 1: ERROR tag 2: function name 3: option type, e.g., radio, select, text
2577
+ #, php-format
2578
+ msgctxt "error_log"
2579
+ msgid "%1$s: %2$s unknown type = \"%3$s\""
2580
+ msgstr "%1$s: %2$s onbekend type = \"%3$s\""
2581
+
2582
+ msgid "General"
2583
+ msgstr "Algemeen"
2584
+
2585
+ msgid "Views"
2586
+ msgstr "Views"
2587
+
2588
+ msgid "Uploads"
2589
+ msgstr "Uploads"
2590
+
2591
+ msgid "MLA Gallery"
2592
+ msgstr "MLA Galerij"
2593
+
2594
+ msgid "Custom Fields"
2595
+ msgstr "Custom Velden"
2596
+
2597
+ msgid "Documentation"
2598
+ msgstr "Documentatie"
2599
+
2600
+ msgid "Debug"
2601
+ msgstr "Debug"
2602
+
2603
+ msgid "General Processing Options"
2604
+ msgstr "Algemene Verwerk Opties"
2605
+
2606
+ #. translators: 1: - 4: page subheader values
2607
+ #, php-format
2608
+ msgid ""
2609
+ "In this tab you can find a number of options for controlling the "
2610
+ "plugin&rsquo;s operation. Scroll down to find options for %1$s, %2$s, %3$s "
2611
+ "and %4$s. Be sure to click \"Save Changes\" at the bottom of the tab to save "
2612
+ "any changes you make."
2613
+ msgstr ""
2614
+ "In dit onderdeel kunt u een aantal opties vinden waarmee de werking van de "
2615
+ "plugin bepaald kan worden. Blader naar beneden om de opties voor %1$s, %2$s, "
2616
+ "%3$s en %4$s te vinden. Klik wel op \"Sla Wijzigingen Op\" onderaan het deel "
2617
+ "om de wijzigingen die u maakt op te slaan."
2618
+
2619
+ msgid "Media/Assistant Table Defaults"
2620
+ msgstr "Media/Assistant Tabel Defaults"
2621
+
2622
+ msgid "Media Manager Enhancements"
2623
+ msgstr "Media Manager Uitbreidingen"
2624
+
2625
+ msgid "Export ALL Settings"
2626
+ msgstr "Exporteer ALLE Instellingen"
2627
+
2628
+ msgid "Delete General options and restore default settings"
2629
+ msgstr "Verwijder Algemene opties en herstel default instellingen"
2630
+
2631
+ msgid "Support Our Work"
2632
+ msgstr "Ondersteun Ons Werk"
2633
+
2634
+ msgid "Donate to FTJ"
2635
+ msgstr "Doneer aan FTJ"
2636
+
2637
+ msgid "Donate"
2638
+ msgstr "Doneer"
2639
+
2640
+ #. translators: 1: donation hyperlink
2641
+ #, php-format
2642
+ msgid ""
2643
+ "This plugin was inspired by my work on the WordPress web site for our "
2644
+ "nonprofit, Fair Trade Judaica. If you find the Media Library Assistant "
2645
+ "plugin useful and would like to support a great cause, consider a %1$s to "
2646
+ "our work. Thank you!"
2647
+ msgstr ""
2648
+ "Deze plugin is ge&iuml;nspireerd door mijn werk op de WordPress website voor "
2649
+ "onze zonder winstbejag instelling, Fair Trade Judaica. Als u de Media "
2650
+ "Library Assistant plugin handig vindt en u wilt een goede zaak steunen, "
2651
+ "overweeg dan een %1$s voor ons werk. Dank u!"
2652
+
2653
+ msgid "tax-deductible donation"
2654
+ msgstr "aftrekbare donatie"
2655
+
2656
+ msgid "enhanced version of the WordPress [gallery] shortcode."
2657
+ msgstr "verbeterde versie van de WordPress [gallery] shortcode."
2658
+
2659
+ msgid "enhanced version of the WordPress Tag Cloud."
2660
+ msgstr "verbeterde versie van de WordPress Tag Cloud."
2661
+
2662
+ msgid "Shortcodes made available by this plugin"
2663
+ msgstr "Shortcodes die beschikbaar gemaakt worden door deze plugin"
2664
+
2665
+ msgid "Edit View"
2666
+ msgstr "Bewerk View"
2667
+
2668
+ msgid ""
2669
+ "The &#8220;slug&#8221; is the URL-friendly, unique key for the view. It must "
2670
+ "be all lowercase and contain only letters, numbers, periods (.), slashes (/) "
2671
+ "and hyphens (-). For &#8220;<strong>Post MIME Type</strong>&#8221; views, "
2672
+ "the slug is also the MIME type specification and <strong>must be a valid "
2673
+ "MIME</strong> type, e.g., &#8220;image&#8221; or &#8220;image/jpeg&#8221;."
2674
+ msgstr ""
2675
+ "De &#8220;slug&#8221; is een URL-vriendelijke, unieke sleutel voor de view. "
2676
+ "Inhoud moet kleine letters zijn en alleen letters, getallen, punten (.), "
2677
+ "slashes (/) en streepjes (-) bevatten. Voor &#8220;<strong>Post MIME Type</"
2678
+ "strong>&#8221; views, fungeert de slug ook als MIME type specificatie en "
2679
+ "<strong>moet een juist MIME</strong> type zijn, bijv., &#8220;image&#8221; "
2680
+ "of &#8220;image/jpeg&#8221;."
2681
+
2682
+ msgid "Singular Label"
2683
+ msgstr "Enkelvoud Label"
2684
+
2685
+ msgid "Plural Label"
2686
+ msgstr "Meervoud Label"
2687
+
2688
+ msgid ""
2689
+ "The labels, e.g., &#8220;Image&#8221; and &#8220;Images&#8221; are used for "
2690
+ "column headers and other display purposes."
2691
+ msgstr ""
2692
+ "De labels, bijv., &#8220;Afbeelding&#8221; en &#8220;Afbeeldingen&#8221; "
2693
+ "worden gebruikt als kolomkoppen en andere display onderdelen."
2694
+
2695
+ msgid "Specification"
2696
+ msgstr "Specificatie"
2697
+
2698
+ msgid ""
2699
+ "If the MIME type specification differs from the slug, enter it here. You may "
2700
+ "include multiple MIME types, e.g., &#8220;audio,video&#8221; and/or wildcard "
2701
+ "specs, e.g., &#8220;*/*ms*&#8221;. This field will be ignored if the Post "
2702
+ "MIME Type box is checked."
2703
+ msgstr ""
2704
+ "Als de MIME type specificatie anders is dan de slug, geef dit dan hier op. U "
2705
+ "mag meerdere MIME typen, bijv., &#8220;audio,video&#8221; en/of wildcards, "
2706
+ "bijv., &#8220;*/*ms*&#8221; opgeven. Dit veld zal genegeerd worden als de "
2707
+ "Post MIME Type box gekozen is."
2708
+
2709
+ msgid "Post MIME Type"
2710
+ msgstr "Post MIME Type"
2711
+
2712
+ msgid ""
2713
+ "Check this box if you want to add this entry to the list of MIME types "
2714
+ "returned by wp_get_mime_types()."
2715
+ msgstr ""
2716
+ "Gebruik deze optie als u deze waarde toe wilt voegen aan de lijst van MIME "
2717
+ "typen die geretourneerd wordt door wp_get_mime_types()."
2718
+
2719
+ msgid "Table View"
2720
+ msgstr "Tabel View"
2721
+
2722
+ msgid ""
2723
+ "Check this box if you want to add this entry to the list of Media/Assistant "
2724
+ "table views."
2725
+ msgstr ""
2726
+ "Gebruik deze optie als u deze waarde wilt toevoegen aan de lijst van Media/"
2727
+ "Assistant tabel views."
2728
+
2729
+ msgid ""
2730
+ "You can choose your own table view order by entering a number (1 for first, "
2731
+ "etc.) in this field."
2732
+ msgstr ""
2733
+ "U kunt uw eigen tabel view volgorde opgeven via het opgeven van een getal (1 "
2734
+ "voor eerste, etc.)."
2735
+
2736
+ msgid ""
2737
+ "The description can contain any documentation or notes you need to "
2738
+ "understand or use the item."
2739
+ msgstr ""
2740
+ "De omschrijving kan alle documentatie of notities bevatten die u nodig hebt "
2741
+ "om het onderdeel te begrijpen of te gebruiken."
2742
+
2743
+ #. translators: 1: bulk_action, e.g., delete, edit, restore, trash
2744
+ #, php-format
2745
+ msgid "Unknown bulk action %1$s"
2746
+ msgstr "Onbekende bulk actie %1$s"
2747
+
2748
+ #. translators: 1: view name/slug
2749
+ #, php-format
2750
+ msgid "Edit view \"%1$s\" cancelled."
2751
+ msgstr "Bewerken view \"%1$s\" gestopt."
2752
+
2753
+ msgid "View and Post MIME Type Support is disabled"
2754
+ msgstr "View en Post MIME Type Ondersteuning is uitgezet"
2755
+
2756
+ msgid "Library Views/Post MIME Type Processing"
2757
+ msgstr "Bibliotheek Views/Post MIME Type Verwerking"
2758
+
2759
+ msgid ""
2760
+ "In this tab you can manage the list of \"Post MIME Types\", which are used "
2761
+ "by WordPress to define the views for the <em><strong>Media/Library</strong></"
2762
+ "em> screen and the <em><strong>Media Manager/Add Media</strong></em> \"media "
2763
+ "items\" drop down list. MLA&rsquo;s <em><strong>Media/Assistant</strong></"
2764
+ "em> screen uses an enhanced version of the list, <em>Table Views</em>, to "
2765
+ "support views with multiple MIME Types (e.g., \"audio,video\") and wildcard "
2766
+ "specifications (e.g. \"*/*ms*\")."
2767
+ msgstr ""
2768
+ "In dit deel kunt u de lijst beheren van \"Post MIME Typen\", die gebruikt "
2769
+ "wordt door WordPress om de views te defini&euml;ren voor het "
2770
+ "<em><strong>Media/Library</strong></em> scherm en de <em><strong>Media "
2771
+ "Manager/Voeg Media Toe</strong></em> \"media items\" drop down lijst. "
2772
+ "MLA&rsquo;s <em><strong>Media/Assistant</strong></em> scherm gebruikt een "
2773
+ "verbeterde versie van de lijst, <em>Table Views</em>, om views met meerdere "
2774
+ "MIME Typen (bijv., \"audio,video\") en wildcards (bijv. \"*/*ms*\") te "
2775
+ "ondersteunen."
2776
+
2777
+ #. translators: 1: Documentation hyperlink
2778
+ #, php-format
2779
+ msgid ""
2780
+ "You can find more information about library views, Post MIME types and how "
2781
+ "MLA and WordPress use them in the %1$s section of the Documentation or by "
2782
+ "clicking the <strong>\"Help\"</strong> tab in the upper-right corner of this "
2783
+ "screen."
2784
+ msgstr ""
2785
+ "U kunt meer informatie vinden over bibliotheek views, Post MIME typen en hoe "
2786
+ "MLA en WordPress deze gebruiken in de %1$s sectie van de Documentatie of "
2787
+ "door het klikken van <strong>\"Help\"</strong> in de rechterbovenhoek van "
2788
+ "het scherm."
2789
+
2790
+ msgid "Library View Processing documentation"
2791
+ msgstr "Bibliotheek View Verwerk documentatie"
2792
+
2793
+ msgid "Displaying search results for"
2794
+ msgstr "Toon zoekresultaten voor"
2795
+
2796
+ msgid "Search Views"
2797
+ msgstr "Zoek Views"
2798
+
2799
+ msgid "Add View"
2800
+ msgstr "Voeg View Toe"
2801
+
2802
+ msgid "<strong>Quick Edit</strong>"
2803
+ msgstr "<strong>Snel Bewerk</strong>"
2804
+
2805
+ msgid "Edit Upload MIME Type"
2806
+ msgstr "Bewerk Upload MIME Type"
2807
+
2808
+ msgid ""
2809
+ "The &#8220;extension&#8221; is the file extension for this type, and a "
2810
+ "unique key for the item. It must be all lowercase and contain only letters "
2811
+ "and numbers."
2812
+ msgstr ""
2813
+ "De &#8220;extensie&#8221; is de bestandsextensie voor dit type, en een "
2814
+ "unieke sleutel voor het onderdeel. De waarde moet kleine letters zijn en "
2815
+ "alleen letters en cijfers bevatten."
2816
+
2817
+ msgid ""
2818
+ "The MIME Type must be all lowercase and contain only letters, numbers, "
2819
+ "periods (.), slashes (/) and hyphens (-). It <strong>must be a valid MIME</"
2820
+ "strong> type, e.g., &#8220;image&#8221; or &#8220;image/jpeg&#8221;."
2821
+ msgstr ""
2822
+ "Het MIME Type moet alleen kleine letters zijn en slechts letters, getallen, "
2823
+ "punten (.), slashes (/) en streepjes (-) bevatten.Hett <strong>moet een "
2824
+ "juist MIME</strong> type zijn, bijv., &#8220;image&#8221; of &#8220;image/"
2825
+ "jpeg&#8221;."
2826
+
2827
+ msgid "Icon Type"
2828
+ msgstr "Afbeelding Type"
2829
+
2830
+ msgid ""
2831
+ "The Icon Type selects a thumbnail image displayed for non-image file types, "
2832
+ "such as PDF documents."
2833
+ msgstr ""
2834
+ "Het Afbeelding Type selecteert het tonen van een miniatuur afbeelding voor "
2835
+ "niet-afbeelding file typen, zoals PDF documenten."
2836
+
2837
+ msgid "Inactive"
2838
+ msgstr "Inactief"
2839
+
2840
+ msgid ""
2841
+ "Check this box if you want to remove this entry from the list of Upload MIME "
2842
+ "Types returned by get_allowed_mime_types()."
2843
+ msgstr ""
2844
+ "Gebruik deze optie als u deze waarde wilt verwijderen van de lijst van "
2845
+ "Upload MIME Typen die geretourneerd wordt door get_allowed_mime_types()."
2846
+
2847
+ msgid "Known File Extension/MIME Type Associations"
2848
+ msgstr "Bekende Bestandsextensie/MIME Type Associaties"
2849
+
2850
+ msgid "Search Known MIME Types"
2851
+ msgstr "Zoek Bekende MIME Typen"
2852
+
2853
+ msgid "To search by extension, use \".\", e.g., \".doc\""
2854
+ msgstr "Om op extensie te zoeken, gebruik \".\", bijv., \".doc\""
2855
+
2856
+ msgid "Upload MIME Type Support is disabled"
2857
+ msgstr "Upload MIME Type Ondersteuning is uitgezet"
2858
+
2859
+ msgid "File Extension and MIME Type Processing"
2860
+ msgstr "Bestandsextensie en MIME Type Verwerking"
2861
+
2862
+ msgid ""
2863
+ "In this tab you can manage the list of file extension/MIME Type "
2864
+ "associations, which are used by WordPress to decide what kind of files can "
2865
+ "be uploaded to the Media Library and to fill in the "
2866
+ "<strong><em>post_mime_type</em></strong> value. To upload a file, the file "
2867
+ "extension must be in this list and be active."
2868
+ msgstr ""
2869
+ "In dit deel kunt u de lijst beheren van bestandsnaamextensies/MIME Typen "
2870
+ "associaties, die door WordPress gebruikt wordt om te bepalen welk soort "
2871
+ "bestanden ge&uuml; pload kunnen worden naar de Media Bibliotheek en welke "
2872
+ "waarde te vullen voor de <strong><em>post_mime_type</em></strong>. Om een "
2873
+ "bestand te uploaden moet de bestandsnaamextensie in de lijst staan en actief "
2874
+ "zijn."
2875
+
2876
+ #. translators: 1: Documentation hyperlink
2877
+ #, php-format
2878
+ msgid ""
2879
+ "You can find more information about file extensions, MIME types and how "
2880
+ "WordPress uses them in the %1$s section of the Documentation or by clicking "
2881
+ "the <strong>\"Help\"</strong> tab in the upper-right corner of this screen."
2882
+ msgstr ""
2883
+ "U kunt meer informatie vinden over bestandsnaamextensies, MIME typen en hoe "
2884
+ "WordPress ze gebruikt in de %1$s sectie van de Documentatie of door het "
2885
+ "klikken van <strong>\"Help\"</strong> in de rechterbovenhoek van dit scherm."
2886
+
2887
+ msgid "File Extension Processing documentation"
2888
+ msgstr "Bestandsnaamextensie Verwerk documentatie"
2889
+
2890
+ msgid "Search Uploads"
2891
+ msgstr "Zoek Uploads"
2892
+
2893
+ msgid "Upload MIME Type"
2894
+ msgstr "Upload MIME Type"
2895
+
2896
+ msgid ""
2897
+ "To search the database of over 1,500 known extension/type associations, "
2898
+ "click \"Search Known Types\" below the form."
2899
+ msgstr ""
2900
+ "Om de database met meer danr 1.500 bekende extensies/type associaties te "
2901
+ "doorzoeken, klik \"Zoek Bekende Typen\" onder het formulier."
2902
+
2903
+ msgid ""
2904
+ "The &#8220;extension&#8221; is the file extension for this type, and unique "
2905
+ "key for the item. It must be all lowercase and contain only letters and "
2906
+ "numbers."
2907
+ msgstr ""
2908
+ "De &#8220;extensie&#8221; is de bestandsnaamextensie voor dit type, en een "
2909
+ "unieke sleutel voor dit onderdeel. Het moet kleine letters zijn en alleen "
2910
+ "letters en cijfers bevatten."
2911
+
2912
+ msgid "Add Upload MIME Type"
2913
+ msgstr "Voeg Upload MIME Type Toe"
2914
+
2915
+ msgid "Search Known Types"
2916
+ msgstr "Zoek Bekende Typen"
2917
+
2918
+ msgid "Active"
2919
+ msgstr "Actief"
2920
+
2921
+ msgid "MLA Gallery Options"
2922
+ msgstr "MLA Gallery Opties"
2923
+
2924
+ msgid "Go to Style Templates"
2925
+ msgstr "Ga naar Stijl Templates"
2926
+
2927
+ msgid "Go to Markup Templates"
2928
+ msgstr "Ga naar Markup Templates"
2929
+
2930
+ msgid ""
2931
+ "In this tab you can view the default style and markup templates. You can "
2932
+ "also define additional templates and use the <code>mla_style</code> and "
2933
+ "<code>mla_markup</code> parameters to apply them in your "
2934
+ "<code>[mla_gallery]</code> shortcodes. <strong>NOTE:</strong> template "
2935
+ "additions and changes will not be made permanent until you click \"Save "
2936
+ "Changes\" at the bottom of this page."
2937
+ msgstr ""
2938
+ "In dit deel kunt u de default stijl en markup templates bekijken. U kunt ook "
2939
+ "extra templates maken en de <code>mla_style</code> en <code>mla_markup</"
2940
+ "code> parameters gebruiken om ze te activeren voor uw <code>[mla_gallery]</"
2941
+ "code> shortcodes. <strong>OPMERKING:</strong> template toevoegingen en "
2942
+ "wijzigingen worden pas permanent als u klikt op \"Sla Wijzigingen Op\" "
2943
+ "onderaan de pagina."
2944
+
2945
+ msgid "Style Templates"
2946
+ msgstr "Stijl Templates"
2947
+
2948
+ msgid "Markup Templates"
2949
+ msgstr "Markup Templates"
2950
+
2951
+ msgid "Theme"
2952
+ msgstr "Thema"
2953
+
2954
+ msgid "Imagick support is not installed."
2955
+ msgstr "Imagick ondersteuning is niet geïnstalleerd."
2956
+
2957
+ msgid "Ghostscript support is not installed."
2958
+ msgstr "Ghostscript ondersteuning is niet geïnstalleerd"
2959
+
2960
+ msgid "WARNING: MLA Viewer support may not be available"
2961
+ msgstr "WAARSCHUWING: MLA Viewer ondersteuning kan niet beschikbaar zijn"
2962
+
2963
+ msgid ""
2964
+ "This default template cannot be altered or deleted, but you can copy the "
2965
+ "styles."
2966
+ msgstr ""
2967
+ "Dit default template kan niet gewijzigd of verwijderd worden, u kunt wel de "
2968
+ "stijl kopi&euml;ren."
2969
+
2970
+ msgid "Styles"
2971
+ msgstr "Stijlen"
2972
+
2973
+ msgid ""
2974
+ "List of substitution parameters, e.g., [+selector+], on Documentation tab."
2975
+ msgstr ""
2976
+ "Lijst van vervang parameters, bijv., [+selector+], op Documentatie tab."
2977
+
2978
+ msgid "Delete this template"
2979
+ msgstr "Verwijder dit template"
2980
+
2981
+ msgid ""
2982
+ "Check the box to delete this template when you press Update at the bottom of "
2983
+ "the page."
2984
+ msgstr ""
2985
+ "Gebruik deze optie om het template te verwijderen wanneer u op Update "
2986
+ "onderaan de pagina klikt."
2987
+
2988
+ msgid "Fill in a name and styles to add a new template."
2989
+ msgstr "Vul een naam in en stijlen om een nieuw template toe te voegen."
2990
+
2991
+ msgid ""
2992
+ "This default template cannot be altered or deleted, but you can copy the "
2993
+ "markup."
2994
+ msgstr ""
2995
+ "Dit default template kan niet gewijzigd of verwijderd worden, maar u kan de "
2996
+ "markup kopi&euml;ren."
2997
+
2998
+ msgid "Open"
2999
+ msgstr "Open"
3000
+
3001
+ msgid ""
3002
+ "Markup for the beginning of the gallery. List of parameters, e.g., [+selector"
3003
+ "+], on Documentation tab."
3004
+ msgstr ""
3005
+ "Markup voor het being van de galerij. Lijst van parameters, bijv., [+selector"
3006
+ "+], op Documentatie tab."
3007
+
3008
+ msgid "Row"
3009
+ msgstr "Rij"
3010
+
3011
+ msgid "Markup for the beginning of each row in the gallery."
3012
+ msgstr "Markup voor het begin van elke rij in de galerij."
3013
+
3014
+ msgid "Item"
3015
+ msgstr "Onderdeel"
3016
+
3017
+ msgid "Markup for each item/cell of the gallery."
3018
+ msgstr "Markup voor elk onderdeel/cel van de galerij."
3019
+
3020
+ msgid "Close"
3021
+ msgstr "Sluit"
3022
+
3023
+ msgid "Markup for the end of each row in the gallery."
3024
+ msgstr "Markup voor het einde van elke rij in de galerij."
3025
+
3026
+ msgid "Markup for the end of the gallery."
3027
+ msgstr "Markup voor het einde van de galerij."
3028
+
3029
+ msgid "Markup for the beginning of each row."
3030
+ msgstr "Markup voor het begin van elke rij."
3031
+
3032
+ msgid "Markup for each item/cell."
3033
+ msgstr "Markup voor elk onderdeel/cel."
3034
+
3035
+ msgid "Markup for the end of each row."
3036
+ msgstr "Markup voor het einde van elke rij."
3037
+
3038
+ msgid "Fill in a name and markup to add a new template."
3039
+ msgstr "Vul een naam in en markup om een nieuw template toe te voegen."
3040
+
3041
+ msgid "Custom Field Mapping Progress"
3042
+ msgstr "Aangepast Veld Mapping Voortgang"
3043
+
3044
+ msgid "DO NOT DO THE FOLLOWING (they will cause mapping to fail)"
3045
+ msgstr "DOE HET VOLGENDE NIET (dan zal het mappen fout gaan)"
3046
+
3047
+ msgid "Close the window"
3048
+ msgstr "Sluit het window"
3049
+
3050
+ msgid "Reload the page"
3051
+ msgstr "Herlaad de pagina"
3052
+
3053
+ msgid "Click the browser&rsquo;s Stop, Back or forward buttons"
3054
+ msgstr "Klik de Stop, Back of forward knoppen van de browser"
3055
+
3056
+ msgid "Progress"
3057
+ msgstr "Voortgang"
3058
+
3059
+ msgid "Resume"
3060
+ msgstr "Hervat"
3061
+
3062
+ msgid "Custom Field and Attachment Metadata Processing Options"
3063
+ msgstr "Aangepaste Veld en Attachment Metadata Verwerkopties"
3064
+
3065
+ #. translators: 1: Documentation hyperlink
3066
+ #, php-format
3067
+ msgid ""
3068
+ "In this tab you can define the rules for mapping several types of image "
3069
+ "metadata to WordPress custom fields. You can also use this screen to define "
3070
+ "rules for adding or updating fields within the WordPress-supplied "
3071
+ "\"Attachment Metadata\", stored in the \"_wp_attachment_metadata\" custom "
3072
+ "field. See the %1$s section of the Documentation for details."
3073
+ msgstr ""
3074
+ "In dit deel kunt u de regels defini&euml;ren voor het mappen van "
3075
+ "verschillende typen van afbeelding metadata naar WordPress aangepaste "
3076
+ "velden. U kunt ook dit scherm gebruiken om velden toe te voegen of bij te "
3077
+ "werken binnen de door WordPress-geleverde \"Attachment Metadata\", "
3078
+ "opgeslagen in het \"_wp_attachment_metadata\" aangepast veld. Zie de %1$s "
3079
+ "sectie van de Documentatie voor details."
3080
+
3081
+ msgid "Updating Attachment Metadata Documentation"
3082
+ msgstr "Bijwerken Attachment Metadata Documentatie"
3083
+
3084
+ msgid "Adding or changing Attachment Metadata"
3085
+ msgstr "Toevoegen of wijzigen Attachment Metadata"
3086
+
3087
+ #. translators: 1: Documentation hyperlink
3088
+ #, php-format
3089
+ msgid ""
3090
+ "You can find more information about using the controls in this tab to define "
3091
+ "mapping rules and apply them in the %1$s section of the Documentation."
3092
+ msgstr ""
3093
+ "U kunt meer informatie vinden over het gebruik van de aansturing in dit deel "
3094
+ "om mapping regels te defini&euml;ren en toe te passen in de %1$s sectie van "
3095
+ "de Documentatie."
3096
+
3097
+ msgid "Custom Field Options documentation"
3098
+ msgstr "Aangepast Veld Opties documentatie"
3099
+
3100
+ msgid "Custom field mapping"
3101
+ msgstr "Aangepast veld mapping"
3102
+
3103
+ #. translators: 1: "Save Changes"
3104
+ #, php-format
3105
+ msgid ""
3106
+ "Click %1$s to update the \"Enable custom field mapping...\" checkbox and/or "
3107
+ "all rule changes and additions at once. <strong>No rule mapping will be "
3108
+ "performed.</strong>"
3109
+ msgstr ""
3110
+ "Klik %1$s om de \"Activeer aangepaste veld mapping...\" en/of alle "
3111
+ "regelwijzigingen en -toevoegingen in 1 keer toe te passen. <strong>Er wordt "
3112
+ "geen regel mapping uitgevoerd.</strong>"
3113
+
3114
+ #. translators: 1: "Map All Rules..."
3115
+ #, php-format
3116
+ msgid ""
3117
+ "Click %1$s to apply all the rules at once (rule changes will be applied but "
3118
+ "not saved)."
3119
+ msgstr ""
3120
+ "Klik %1$s om alle regels in 1 keer toe te passen (regelwijzigingen worden "
3121
+ "toegepast maar niet opgeslagen)."
3122
+
3123
+ msgid "IPTC &amp; EXIF Mapping Progress"
3124
+ msgstr "IPTC &amp; EXIF Mapping Voortgang"
3125
+
3126
+ msgid "IPTC &amp; EXIF Processing Options"
3127
+ msgstr "IPTC &amp; EXIF Verwerkopties"
3128
+
3129
+ msgid ""
3130
+ "In this tab you can define the rules for mapping IPTC (International Press "
3131
+ "Telecommunications Council) and EXIF (EXchangeable Image File) metadata to "
3132
+ "WordPress standard attachment fields, taxonomy terms and custom fields. "
3133
+ "<strong>NOTE:</strong> settings changes will not be made permanent until you "
3134
+ "click \"Save Changes\" at the bottom of this page."
3135
+ msgstr ""
3136
+ "In dit deel kunt u de regels defini&euml;ren voor de mapping van IPTC "
3137
+ "(International Press Telecommunications Council) en EXIF (EXchangeable Image "
3138
+ "File) metadata naar WordPress standaard attachment velden, taxonomie termen "
3139
+ "en aangepaste velden. <strong>OPMERKING:</strong> instellingswijzigingen "
3140
+ "worden niet permanent tot u \"Sla Wijzigingen Op\" klikt onderaan de pagina."
3141
+
3142
+ msgid "IPTC/EXIF Options documentation"
3143
+ msgstr "IPTC/EXIF Opties documentatie"
3144
+
3145
+ msgid "Standard field mapping"
3146
+ msgstr "Standaard veld mapping"
3147
+
3148
+ msgid "Taxonomy term mapping"
3149
+ msgstr "Taxonomie term mapping"
3150
+
3151
+ #. translators: 1: "Save Changes"
3152
+ #, php-format
3153
+ msgid ""
3154
+ "Click %1$s to update the \"Enable IPTC/EXIF mapping...\" checkbox and/or all "
3155
+ "rule changes and additions at once. <strong>No rule mapping will be "
3156
+ "performed.</strong>"
3157
+ msgstr ""
3158
+ "Klik %1$s om de \"Activeer IPTC/EXIF mapping...\" te activeren en/of "
3159
+ "regelwijzigingen en -toevoegingen in 1 keer toe te passen. <strong>Er wordt "
3160
+ "geen regelmapping uitgevoerd.</strong>"
3161
+
3162
+ msgid "Debug settings saved."
3163
+ msgstr "Debug instellingen opgeslagen."
3164
+
3165
+ #. translators: 1: ERROR tag 2: file type 3: file name 4: error message
3166
+ #, php-format
3167
+ msgid "%1$s: Reseting the %2$s file ( %3$s ) \"%4$s\"."
3168
+ msgstr "%1$s: Het %2$s bestand aan het resetten ( %3$s ) \"%4$s\"."
3169
+
3170
+ msgid "Error Log"
3171
+ msgstr "Fouten log"
3172
+
3173
+ #. translators: 1: ERROR tag 2: file type 3: file name 4: error message
3174
+ #, php-format
3175
+ msgid "%1$s: Reading the %2$s file ( %3$s ) \"%4$s\"."
3176
+ msgstr "%1$s: Het %2$s bestand aan het lezen ( %3$s ) \"%4$s\"."
3177
+
3178
+ #. translators: 1: file name
3179
+ #, php-format
3180
+ msgid "Error log file (%1$s) not found; click Reset to create it."
3181
+ msgstr "Error log file (%1$s) niet gevonden; klik Reset om hem aan te maken."
3182
+
3183
+ msgid "Reset"
3184
+ msgstr "Reset"
3185
+
3186
+ msgid "Debug Options"
3187
+ msgstr "Debug Opties"
3188
+
3189
+ msgid "Debug Settings"
3190
+ msgstr "Debug Instellingen"
3191
+
3192
+ #. translators: 1: "Save Changes"
3193
+ #, php-format
3194
+ msgid "Click %1$s to update the %2$s."
3195
+ msgstr "Klik %1$s om de %2$s te updaten."
3196
+
3197
+ msgid "You do not have permission to manage plugin settings."
3198
+ msgstr "U heeft geen toegang om plugin instellingen te beheren."
3199
+
3200
+ msgid "Cannot render content tab"
3201
+ msgstr "Kan de inhoud tab niet renderen"
3202
+
3203
+ msgid "Unknown content tab"
3204
+ msgstr "Onbekende inhoud tab"
3205
+
3206
+ #. translators: 1: template type 2: template name
3207
+ #, php-format
3208
+ msgctxt "message_list"
3209
+ msgid "Deleting %1$s \"%2$s\"."
3210
+ msgstr "Verwijder %1$s \"%2$s\"."
3211
+
3212
+ #. translators: 1: ERROR tag 2: template name 3: template type
3213
+ #, php-format
3214
+ msgid "%1$s: Reserved name \"%2$s\", new %3$s discarded."
3215
+ msgstr "%1$s: Gereserveerde naam \"%2$s\", nieuw %3$s overgeslagen."
3216
+
3217
+ #. translators: 1: ERROR tag 2: template name 3: template type
3218
+ #, php-format
3219
+ msgid "%1$s: Duplicate name \"%2$s\", new %3$s discarded."
3220
+ msgstr "%1$s: Dubbele naam \"%2$s\", nieuwe %3$s overgeslagen."
3221
+
3222
+ #. translators: 1: template type 2: template name
3223
+ #, php-format
3224
+ msgctxt "message_list"
3225
+ msgid "Adding new %1$s \"%2$s\"."
3226
+ msgstr "Voeg nieuw toe %1$s \"%2$s\"."
3227
+
3228
+ #. translators: 1: ERROR tag 2: element name 3: old value
3229
+ #, php-format
3230
+ msgid "%1$s: Blank %2$s, reverting to \"%3$s\"."
3231
+ msgstr "%1$s: Leeg %2$s, ga terug naar \"%3$s\"."
3232
+
3233
+ msgid "style template name"
3234
+ msgstr "stijl template naam"
3235
+
3236
+ #. translators: 1: ERROR tag 2: element name 3: new value 4: old value
3237
+ #, php-format
3238
+ msgid "%1$s: Duplicate new %2$s \"%3$s\", reverting to \"%4$s\"."
3239
+ msgstr "%1$s: Dubbele nieuwe %2$s \"%3$s\", ga terug naar \"%4$s\"."
3240
+
3241
+ #. translators: 1: element name 2: old_value 3: new_value
3242
+ #, php-format
3243
+ msgctxt "message_list"
3244
+ msgid "Changing %1$s from \"%2$s\" to \"%3$s\""
3245
+ msgstr "Wijzig %1$s van \"%2$s\" naar \"%3$s\""
3246
+
3247
+ #. translators: 1: template type 2: template name
3248
+ #, php-format
3249
+ msgctxt "message_list"
3250
+ msgid "Updating contents of %1$s \"%2$s\"."
3251
+ msgstr "Werk inhoud bij van %1$s \"%2$s\"."
3252
+
3253
+ #. translators: 1: ERROR tag 2: template type
3254
+ #, php-format
3255
+ msgid "%1$s: Update of %2$s failed."
3256
+ msgstr "%1$s: Update van %2$s fout gegaan."
3257
+
3258
+ msgid "markup template name"
3259
+ msgstr "markup template naam"
3260
+
3261
+ #. translators: 1: template name
3262
+ #, php-format
3263
+ msgctxt "message_list"
3264
+ msgid "Updating open markup for \"%1$s\"."
3265
+ msgstr "Werk open markup bij voor \"%1$s\"."
3266
+
3267
+ #. translators: 1: template name
3268
+ #, php-format
3269
+ msgctxt "message_list"
3270
+ msgid "Updating row open markup for \"%1$s\"."
3271
+ msgstr "Werk rij open markup bij voor \"%1$s\"."
3272
+
3273
+ #. translators: 1: template name
3274
+ #, php-format
3275
+ msgctxt "message_list"
3276
+ msgid "Updating item markup for \"%1$s\"."
3277
+ msgstr "Werk onderdeel markup bij voor \"%1$s\"."
3278
+
3279
+ #. translators: 1: template name
3280
+ #, php-format
3281
+ msgctxt "message_list"
3282
+ msgid "Updating row close markup for \"%1$s\"."
3283
+ msgstr "Werk rij sluit markup bij voor \"%1$s\"."
3284
+
3285
+ #. translators: 1: template name
3286
+ #, php-format
3287
+ msgctxt "message_list"
3288
+ msgid "Updating close markup for \"%1$s\"."
3289
+ msgstr "Werk sluit markup bij voor \"%1$s\"."
3290
+
3291
+ #. translators: 1: field type
3292
+ #, php-format
3293
+ msgid "%1$s no changes detected."
3294
+ msgstr "%1$s geen wijzigingen gedetecteerd."
3295
+
3296
+ msgid "View settings saved."
3297
+ msgstr "View instellingen opgeslagen."
3298
+
3299
+ msgid "Upload MIME Type settings saved."
3300
+ msgstr "Upload MIME Type instellingen opgeslagen."
3301
+
3302
+ msgid "No custom field mapping rules to process."
3303
+ msgstr "Geen aangepaste veld mapping regels om te verwerken."
3304
+
3305
+ #. translators: 1: field type 2: examined count 3: updated count
3306
+ #, php-format
3307
+ msgid "%1$s mapping completed; %2$d attachment(s) examined, %3$d updated."
3308
+ msgstr "%1$s mapping afgerond; %2$d attachment(s) bekeken, %3$d bijgewerkt."
3309
+
3310
+ #. translators: 1: field type 2: examined count
3311
+ #, php-format
3312
+ msgid ""
3313
+ "%1$s mapping completed; %2$d attachment(s) examined, no changes detected."
3314
+ msgstr ""
3315
+ "%1$s mapping afgerond; %2$d attachment(s) bekeken, geen wijzigingen "
3316
+ "gedetecteerd."
3317
+
3318
+ #. translators: 1: number of attachments
3319
+ #, php-format
3320
+ msgid "%s attachment"
3321
+ msgid_plural "%s attachments"
3322
+ msgstr[0] "%s attachment"
3323
+ msgstr[1] "%s attachments"
3324
+
3325
+ #. translators: 1: singular/plural number of attachments
3326
+ #, php-format
3327
+ msgid "Deleted custom field value from %1$s."
3328
+ msgstr "Aangepaste veld waarde(n) verwijderd van %1$s."
3329
+
3330
+ msgid "No attachments contained this custom field."
3331
+ msgstr "Geen attachments bevatten dit aangepaste veld."
3332
+
3333
+ #. translators: 1: ERROR tag 2: field type
3334
+ #, php-format
3335
+ msgid "%1$s: No %2$s settings to process."
3336
+ msgstr "%1$s: Geen %2$s instellingen om te verwerken."
3337
+
3338
+ msgid "updated."
3339
+ msgstr "bijgewerkt."
3340
+
3341
+ #. translators: 1: reference type, e.g., Gallery in
3342
+ #, php-format
3343
+ msgctxt "message_list"
3344
+ msgid "%1$s - references updated."
3345
+ msgstr "%1$s - referenties bijgewerkt."
3346
+
3347
+ msgid "General settings saved."
3348
+ msgstr "Algemene instellingen opgeslagen."
3349
+
3350
+ msgid "General settings reset to default values."
3351
+ msgstr "Algemene instellingen teruggezet naar default waarden."
3352
+
3353
+ msgid "select settings"
3354
+ msgstr "selecteer instellingen"
3355
+
3356
+ msgid "Import ALL Settings"
3357
+ msgstr "Importeer ALLE Instellingen"
3358
+
3359
+ msgctxt "message_list"
3360
+ msgid "exported"
3361
+ msgstr "ge&euml;xporteerd"
3362
+
3363
+ msgctxt "message_list"
3364
+ msgid "skipped"
3365
+ msgstr "overgeslagen"
3366
+
3367
+ msgid "ALL settings exported."
3368
+ msgstr "ALLE instellingen ge&euml;xporteerd."
3369
+
3370
+ #. translators: 1: ERROR tag 2: backup directory name
3371
+ #, php-format
3372
+ msgid "%1$s: The settings directory ( %2$s ) cannot be created."
3373
+ msgstr "%1$s: De instellingsdirectory ( %2$s ) kan niet gemaakt worden."
3374
+
3375
+ #. translators: 1: ERROR tag 2: backup directory name
3376
+ #, php-format
3377
+ msgid "%1$s: The settings directory ( %2$s ) is not writable."
3378
+ msgstr "%1$s: De instellingsdirectory ( %2$s ) is niet beschrijfbaar."
3379
+
3380
+ #. translators: 1: ERROR tag 2: backup file name
3381
+ #, php-format
3382
+ msgid "%1$s: The settings file ( %2$s ) could not be opened."
3383
+ msgstr "%1$s: Het instellingsbestand ( %2$s ) kan niet geopend worden."
3384
+
3385
+ #. translators: 1: ERROR tag 2: PHP error information
3386
+ #, php-format
3387
+ msgctxt "error_log"
3388
+ msgid "%1$s: _export_settings $error_info = \"%2$s\"."
3389
+ msgstr "%1$s: _export_settings $error_info = \"%2$s\"."
3390
+
3391
+ #. translators: 1: ERROR tag 2: backup file name 3: error message
3392
+ #, php-format
3393
+ msgid "%1$s: Writing the settings file ( %2$s ) \"%3$s\"."
3394
+ msgstr "%1$s: Schrijf het instellingsbestand ( %2$s ) \"%3$s\"."
3395
+
3396
+ #. translators: 1: number of option settings
3397
+ #, php-format
3398
+ msgid "Settings exported; %1$s settings recorded."
3399
+ msgstr "Instellingen ge&euml;xporteerd; %1$s instellingen opgeslagen."
3400
+
3401
+ msgid "No settings imported."
3402
+ msgstr "Geen instellingen ge&iuml;mporteerd."
3403
+
3404
+ msgid "Please select an import settings file from the dropdown list."
3405
+ msgstr "Selecteer een import instellingsbestand in de dropdown lijst."
3406
+
3407
+ msgid "The import settings dropdown selection is missing."
3408
+ msgstr "De import instellingsselectie in de dropdown lijst ontbreekt."
3409
+
3410
+ #. translators: 1: ERROR tag 2: PHP error information
3411
+ #, php-format
3412
+ msgctxt "error_log"
3413
+ msgid "%1$s: _import_settings $error_info = \"%2$s\"."
3414
+ msgstr "%1$s: _import_settings $error_info = \"%2$s\"."
3415
+
3416
+ #. translators: 1: ERROR tag 2: backup file name 3: error message
3417
+ #, php-format
3418
+ msgid "%1$s: Reading the settings file ( %2$s ) \"%3$s\"."
3419
+ msgstr "%1$s: Lees het instellingsbestand ( %2$s ) \"%3$s\"."
3420
+
3421
+ msgctxt "message_list"
3422
+ msgid "updated"
3423
+ msgstr "bijgewerkt"
3424
+
3425
+ msgctxt "message_list"
3426
+ msgid "unchanged"
3427
+ msgstr "ongewijzigd"
3428
+
3429
+ #. translators: 1: number of option settings updated 2: number of option settings unchanged
3430
+ #, php-format
3431
+ msgid "Settings imported; %1$s updated, %2$s unchanged."
3432
+ msgstr "Instellingen ge&iuml;mporteerd; %1$s bijgewerkt, %2$s ongewijzigd."
3433
+
3434
+ msgid "Previous"
3435
+ msgstr "Vorige"
3436
+
3437
+ msgid "Next"
3438
+ msgstr "Volgende"
3439
+
3440
+ msgid "mla_debug empty gallery"
3441
+ msgstr "mla_debug lege galerij"
3442
+
3443
+ msgid ""
3444
+ "<strong>Photonic-enhanced [mla_gallery]</strong> type must be "
3445
+ "<strong>default</strong>, query = "
3446
+ msgstr ""
3447
+ "<strong>Photonisch-uitgebreide [mla_gallery]</strong> type moet "
3448
+ "<strong>default</strong> zijn, query = "
3449
+
3450
+ msgid "unknown"
3451
+ msgstr "onbekend"
3452
+
3453
+ msgid "mla_debug attributes"
3454
+ msgstr "mla_debug attributen"
3455
+
3456
+ msgid "mla_debug arguments"
3457
+ msgstr "mla_debug argumenten"
3458
+
3459
+ msgid "mla_debug empty cloud"
3460
+ msgstr "mla_debug lege cloud"
3461
+
3462
+ msgid "Invalid mla_gallery"
3463
+ msgstr "Foutieve mla_gallery"
3464
+
3465
+ msgid "mla_debug query"
3466
+ msgstr "mla_debug query"
3467
+
3468
+ msgid "mla_debug request"
3469
+ msgstr "mla_debug verzoek"
3470
+
3471
+ msgid "mla_debug query_vars"
3472
+ msgstr "mla_debug query_vars"
3473
+
3474
+ msgid "mla_debug post_count"
3475
+ msgstr "mla_debug post_count"
3476
+
3477
+ msgid "mla_debug WHERE filter"
3478
+ msgstr "mla_debug WHERE filter"
3479
+
3480
+ msgid "mla_debug modified WHERE filter"
3481
+ msgstr "mla_debug gewijzigd WHERE filter"
3482
+
3483
+ msgid "mla_debug ORDER BY filter, incoming"
3484
+ msgstr "mla_debug ORDER BY filter, inkomend"
3485
+
3486
+ msgid "Replacement ORDER BY clause"
3487
+ msgstr "Vervang ORDER BY clausule"
3488
+
3489
+ msgid "mla_debug posts_clauses filter"
3490
+ msgstr "mla_debug posts_clauses filter"
3491
+
3492
+ msgid "mla_debug posts_clauses_request filter"
3493
+ msgstr "mla_debug posts_clauses_request filter"
3494
+
3495
+ msgid "Invalid taxonomy"
3496
+ msgstr "Foutieve taxonomie"
3497
+
3498
+ msgid "mla_debug query arguments"
3499
+ msgstr "mla_debug query arguments"
3500
+
3501
+ msgid "mla_debug last_query"
3502
+ msgstr "mla_debug last_query"
3503
+
3504
+ msgid "mla_debug last_error"
3505
+ msgstr "mla_debug last_error"
3506
+
3507
+ msgid "mla_debug num_rows"
3508
+ msgstr "mla_debug num_rows"
3509
+
3510
+ msgid "mla_debug found_rows"
3511
+ msgstr "mla_debug found_rows"
3512
+
3513
+ msgid "Error while saving the thumbnails."
3514
+ msgstr "Fout tijdens opslaan van de thumbnails."
3515
+
3516
+ msgid "Remove From"
3517
+ msgstr "Verwijder Van"
3518
+
3519
+ msgid "Generate Thumbnails"
3520
+ msgstr "Genereer Thumbnails"
3521
+
3522
+ #. translators: 1: post ID
3523
+ #, php-format
3524
+ msgid "Item %1$d"
3525
+ msgstr "Item %1$d"
3526
+
3527
+ msgid "has native thumbnail."
3528
+ msgstr "heeft originele thumbnail."
3529
+
3530
+ msgid "Featured Image retained."
3531
+ msgstr "Uitgelichte Afbeelding behouden."
3532
+
3533
+ #. translators: 1: ERROR tag 2: Item post ID
3534
+ #, php-format
3535
+ msgid "%1$s: %2$sno attached file."
3536
+ msgstr "%1$s: %2$sgeen gekoppeld bestand."
3537
+
3538
+ msgid "unsupported file type."
3539
+ msgstr "niet ondersteund bestandstype."
3540
+
3541
+ #. translators: 1: ERROR tag 2: Item post ID
3542
+ #, php-format
3543
+ msgid "%1$s: %2$sthumbnail generation failed"
3544
+ msgstr "%1$s: %2$sthumbnail aanmaak fout gegaan"
3545
+
3546
+ #. translators: 1: ERROR tag 2: Item post ID
3547
+ #, php-format
3548
+ msgid "%1$s: %2$swp_insert_attachment failed."
3549
+ msgstr "%1$s: %2$swp_insert_attachment fout gegaan."
3550
+
3551
+ #. translators: 1: Item post ID, 2: new thumbnail item ID
3552
+ #, php-format
3553
+ msgid "%1$sthumbnail generated as new item %2$s."
3554
+ msgstr "%1$sthumbnail aangemaakt als nieuw item %2$s."
3555
+
3556
+ msgid "Generated Thumbnails"
3557
+ msgstr "Maak Thumbnails Aan"
3558
+
3559
+ msgid ""
3560
+ "Pull down the Help menu and select Thumbnail Generation for setting details"
3561
+ msgstr ""
3562
+ "Kies het Help menu en selecteer Thumbnail Aanmaak voor instellingdetails"
3563
+
3564
+ msgid "Width"
3565
+ msgstr "Breedte"
3566
+
3567
+ msgid "Height"
3568
+ msgstr "Hoogte"
3569
+
3570
+ msgid "Best Fit"
3571
+ msgstr "Best Passend"
3572
+
3573
+ msgid "Page"
3574
+ msgstr "Pagina"
3575
+
3576
+ msgid "Resolution"
3577
+ msgstr "Resolutie"
3578
+
3579
+ msgid "Quality"
3580
+ msgstr "Kwaliteit"
3581
+
3582
+ msgid "Existing Items"
3583
+ msgstr "Bestaande Items"
3584
+
3585
+ msgid "Ignore"
3586
+ msgstr "Negeer"
3587
+
3588
+ msgid "Delete"
3589
+ msgstr "Verwijder"
3590
+
3591
+ msgid "Suffix"
3592
+ msgstr "Suffix"
3593
+
3594
+ msgctxt "list_table_column"
3595
+ msgid "Extension"
3596
+ msgstr "Extensie"
3597
+
3598
+ msgctxt "list_table_column"
3599
+ msgid "Icon Type"
3600
+ msgstr "Afbeelding Type"
3601
+
3602
+ msgctxt "list_table_column"
3603
+ msgid "Source"
3604
+ msgstr "Bron"
3605
+
3606
+ msgctxt "list_table_column"
3607
+ msgid "Status"
3608
+ msgstr "Status"
3609
+
3610
+ msgctxt "list_table_column"
3611
+ msgid "WordPress Type"
3612
+ msgstr "WordPress Type"
3613
+
3614
+ msgctxt "list_table_column"
3615
+ msgid "MLA Type"
3616
+ msgstr "MLA Type"
3617
+
3618
+ msgctxt "list_table_column"
3619
+ msgid "Std. Source"
3620
+ msgstr "Std. Bron"
3621
+
3622
+ msgctxt "list_table_column"
3623
+ msgid "Std. Icon Type"
3624
+ msgstr "Std. Afbeelding Type"
3625
+
3626
+ msgid "Revert to standard item"
3627
+ msgstr "Terug naar standaard onderdeel"
3628
+
3629
+ msgid "Revert to Standard"
3630
+ msgstr "Terug naar Standaard"
3631
+
3632
+ msgid "Delete/Revert Custom"
3633
+ msgstr "Verwijder/Terug naar Custom"
3634
+
3635
+ msgid "Select this entry"
3636
+ msgstr "Selecteer dit bericht"
3637
+
3638
+ msgid "Select these entries"
3639
+ msgstr "Selecteer deze berichten"
3640
+
3641
+ msgctxt "list_table_column"
3642
+ msgid "Specification"
3643
+ msgstr "Specificatie"
3644
+
3645
+ msgctxt "list_table_column"
3646
+ msgid "Post Mime"
3647
+ msgstr "Post Mime"
3648
+
3649
+ msgctxt "list_table_column"
3650
+ msgid "Table View"
3651
+ msgstr "Tabel View"
3652
+
3653
+ msgctxt "list_table_column"
3654
+ msgid "Singular Name"
3655
+ msgstr "Enkelvoud Naam"
3656
+
3657
+ msgctxt "list_table_column"
3658
+ msgid "Plural Name"
3659
+ msgstr "Meervoud Naam"
3660
+
3661
+ msgctxt "list_table_column"
3662
+ msgid "Order"
3663
+ msgstr "Volgorde"
3664
+
3665
+ msgid "Duplicate translation created; update as desired."
3666
+ msgstr "Dubbele vertaling aangemaakt; update eventueel."
3667
+
3668
+ #. translators: 1: - 4: page subheader values
3669
+ #, php-format
3670
+ msgid ""
3671
+ "In this tab you can find a number of options for controlling WPML-specific "
3672
+ "operations. Scroll down to find options for %1$s and %2$s. Be sure to click "
3673
+ "\"Save Changes\" at the bottom of the tab to save any changes you make."
3674
+ msgstr ""
3675
+ "In deze tab staan een aantal opties voor het besturen van WPML-specifieke "
3676
+ "operaties. Scroll naar beneden om opties te vinden voor %1$s en %2$s. Denk "
3677
+ "eraan om \"Sla Wijzigingen Op\" onderaan te klikken om de wijzigingen op te "
3678
+ "slaan."
3679
+
3680
+ #, php-format
3681
+ msgid "Edit the %s translation"
3682
+ msgstr "Wijzig de %s vertaling"
3683
+
3684
+ #, php-format
3685
+ msgid "Add translation to %s"
3686
+ msgstr "Voeg vertaling toe aan %s"
3687
+
3688
+ msgid "Search Media"
3689
+ msgstr "Zoek Media"
3690
+
3691
+ msgid "The Media Library Assistant cannot load."
3692
+ msgstr "De Media Library Assistant kan niet geladen worden."
3693
+
3694
+ msgid "You must resolve these conflicts before this plugin can safely load."
3695
+ msgstr ""
3696
+ "U moet deze conflicten oplossen voordat de plugin veilig geladen kan worden."
3697
+
3698
+ #. translators: Description of the plugin/theme
3699
+ msgid ""
3700
+ "Enhances the Media Library; powerful [mla_gallery], taxonomy support, IPTC/"
3701
+ "EXIF processing, bulk & quick edit actions and where-used reporting."
3702
+ msgstr ""
3703
+ "Verbetert de Media Biblbiotheek; uitgebreide [mla_gallery], taxonomie "
3704
+ "ondersteuning, IPTC/EXIF verwerking, bulk & snel bewerken acties en waar-"
3705
+ "gebruikt bepaling."
3706
+
3707
+ #~ msgid "Enable enhanced \"checklist\" taxonomies"
3708
+ #~ msgstr "Kies uitgebreide \"checklist\" taxonomieën"
3709
+
3710
+ #~ msgid "Enable \"bulk edit\" area"
3711
+ #~ msgstr "Activeer \"bulk edit\" gebied"
3712
+
3713
+ #~ msgid ""
3714
+ #~ "Check this option to enable MLA-enhanced meta boxes in the \"ATTACHMENT "
3715
+ #~ "DETAILS\" pane.<br>&nbsp;&nbsp;This option is for any taxonomy that uses "
3716
+ #~ "a <strong>\"checklist-style\"</strong> meta box.</strong>"
3717
+ #~ msgstr ""
3718
+ #~ "Gebruik deze optie om MLA-uitgebreide meta boxen te activeren in het "
3719
+ #~ "\"ATTACHMENT DETAILS\" deel.<br>&nbsp;&nbsp;Deze optie is voor een "
3720
+ #~ "willekeurige taxonomie die de <strong>\"checklist-stijl\"</strong> meta "
3721
+ #~ "box gebruikt."
3722
+
3723
+ #~ msgid "Attached"
3724
+ #~ msgstr "Gekoppeld"
3725
+
3726
+ #~ msgid "%1$s: _execute_list_table_query $wp_filter = \"%2$s\"."
3727
+ #~ msgstr "%1$s: _execute_list_table_query $wp_filter = \"%2$s\"."
3728
+
3729
+ #~ msgid "%1$s: _execute_list_table_query WP_Query = \"%2$s\"."
3730
+ #~ msgstr "%1$s: _execute_list_table_query WP_Query = \"%2$s\"."
3731
+
3732
+ #~ msgid "%1$s: _execute_list_table_query SQL_request = \"%2$s\"."
3733
+ #~ msgstr "%1$s: _execute_list_table_query SQL_request = \"%2$s\"."
3734
+
3735
+ #~ msgid "%1$s: mla_query_posts_search_filter = \"%2$s\"."
3736
+ #~ msgstr "%1$s: mla_query_posts_search_filter = \"%2$s\"."
3737
+
3738
+ #~ msgid "%1$s: mla_query_posts_where_filter = \"%2$s\"."
3739
+ #~ msgstr "%1$s: mla_query_posts_where_filter = \"%2$s\"."
3740
+
3741
+ #~ msgid "%1$s: mla_query_posts_join_filter = \"%2$s\"."
3742
+ #~ msgstr "%1$s: mla_query_posts_join_filter = \"%2$s\"."
3743
+
3744
+ #~ msgid "%1$s: mla_query_posts_orderby_filter = \"%2$s\"."
3745
+ #~ msgstr "%1$s: mla_query_posts_orderby_filter = \"%2$s\"."
3746
+
3747
+ #~ msgid "%1$s: mla_query_posts_clauses_filter = \"%2$s\"."
3748
+ #~ msgstr "%1$s: mla_query_posts_clauses_filter = \"%2$s\"."
3749
+
3750
+ #~ msgid "%1$s: mla_query_posts_clauses_request_filter = \"%2$s\"."
3751
+ #~ msgstr "%1$s: mla_query_posts_clauses_request_filter = \"%2$s\"."
3752
+
3753
+ #~ msgctxt "error_log"
3754
+ #~ msgid "_parse_xmp_metadata xml_parse_into_struct failed."
3755
+ #~ msgstr "_parse_xmp_metadata xml_parse_into_struct is fout gegaan."
3756
+
3757
+ #~ msgctxt "error_log"
3758
+ #~ msgid "_parse_xmp_metadata set option failed."
3759
+ #~ msgstr "_parse_xmp_metadata optie zetten is fout gegaan."
3760
+
3761
+ #~ msgid "Map Custom Field Metadata"
3762
+ #~ msgstr "Vertaal Custom Veld Metadata"
3763
+
3764
+ #~ msgid "Map IPTC/EXIF Metadata"
3765
+ #~ msgstr "Vertaal IPTC/EXIF Metadata"
3766
+
3767
+ #~ msgid "?&nbsp;Search"
3768
+ #~ msgstr "?&nbsp;Zoek"
3769
+
3770
+ #~ msgid "not supported"
3771
+ #~ msgstr "niet ondersteund"
3772
+
3773
+ #~ msgid "Filter by Parent ID"
3774
+ #~ msgstr "Filter op Parent ID"
3775
+
3776
+ #~ msgid "Filter by Author ID"
3777
+ #~ msgstr "Filter op Author ID"
3778
+
3779
+ #~ msgctxt "post_mime_types_singular"
3780
+ #~ msgid "Unattached"
3781
+ #~ msgstr "Ongekoppeld"
3782
+
3783
+ #~ msgid "Edit single item"
3784
+ #~ msgstr "Bewerk een enkel onderdeel"
3785
+
3786
+ #~ msgid "Item %1$d cancelled."
3787
+ #~ msgstr "Onderdeel %1$d gestopt."
3788
+
3789
+ #~ msgctxt "error_log"
3790
+ #~ msgid "%1$s: MLA::_display_single_item \\$page_template_array = \"%2$s\""
3791
+ #~ msgstr "%1$s: MLA::_display_single_item \\$page_template_array = \"%2$s\""
3792
+
3793
+ #~ msgid "File name"
3794
+ #~ msgstr "Bestandsnaam"
3795
+
3796
+ #~ msgid "File type"
3797
+ #~ msgstr "Bestandstype"
3798
+
3799
+ #~ msgid "Upload date"
3800
+ #~ msgstr "Upload datum"
3801
+
3802
+ #~ msgid "Dimensions"
3803
+ #~ msgstr "Dimensies"
3804
+
3805
+ #~ msgid "required"
3806
+ #~ msgstr "verplicht"
3807
+
3808
+ #~ msgid "Must be unique; will be validated."
3809
+ #~ msgstr "Moet uniek zijn; zal gevalideerd worden."
3810
+
3811
+ #~ msgid "Alternate text for the image, e.g. &#8220;The Mona Lisa&#8221;"
3812
+ #~ msgstr ""
3813
+ #~ "Alternatieve tekst voor de afbeelding, bijv. &#8220;De Mona Lisa&#8221;"
3814
+
3815
+ #~ msgid "ID, type and title of parent, if any."
3816
+ #~ msgstr "ID, type en titel van parent, zo die bestaat."
3817
+
3818
+ #~ msgid "File URL"
3819
+ #~ msgstr "Bestand URL"
3820
+
3821
+ #~ msgid "Location of the uploaded file."
3822
+ #~ msgstr "Locatie van het geüploade bestand."
3823
+
3824
+ #~ msgid "Image Metadata"
3825
+ #~ msgstr "Afbeelding Metadata"
3826
+
3827
+ #~ msgctxt "tag delimiter"
3828
+ #~ msgid ","
3829
+ #~ msgstr ","
3830
+
3831
+ #~ msgctxt "upload_list_table_view_singular"
3832
+ #~ msgid "All"
3833
+ #~ msgstr "Alle"
3834
+
3835
+ #~ msgctxt "upload_list_table_view_plural"
3836
+ #~ msgid "All"
3837
+ #~ msgstr "Alle"
3838
+
3839
+ #~ msgctxt "upload_list_table_view_singular"
3840
+ #~ msgid "Active"
3841
+ #~ msgstr "Actieve"
3842
+
3843
+ #~ msgctxt "upload_list_table_view_plural"
3844
+ #~ msgid "Active"
3845
+ #~ msgstr "Actieve"
3846
+
3847
+ #~ msgctxt "upload_list_table_view_singular"
3848
+ #~ msgid "Inactive"
3849
+ #~ msgstr "Inactieve"
3850
+
3851
+ #~ msgctxt "upload_list_table_view_plural"
3852
+ #~ msgid "Inactive"
3853
+ #~ msgstr "Inactieve"
3854
+
3855
+ #~ msgctxt "upload_list_table_view_singular"
3856
+ #~ msgid "WordPress"
3857
+ #~ msgstr "WordPress"
3858
+
3859
+ #~ msgctxt "upload_list_table_view_plural"
3860
+ #~ msgid "WordPress"
3861
+ #~ msgstr "WordPress"
3862
+
3863
+ #~ msgctxt "upload_list_table_view_singular"
3864
+ #~ msgid "MLA"
3865
+ #~ msgstr "MLA"
3866
+
3867
+ #~ msgctxt "upload_list_table_view_plural"
3868
+ #~ msgid "MLA"
3869
+ #~ msgstr "MLA"
3870
+
3871
+ #~ msgctxt "upload_list_table_view_singular"
3872
+ #~ msgid "Custom"
3873
+ #~ msgstr "Custom"
3874
+
3875
+ #~ msgctxt "upload_list_table_view_plural"
3876
+ #~ msgid "Custom"
3877
+ #~ msgstr "Custom"
3878
+
3879
+ #~ msgid "extension"
3880
+ #~ msgstr "extensie"
3881
+
3882
+ #~ msgid "style template"
3883
+ #~ msgstr "stijl template"
3884
+
3885
+ #~ msgctxt "post_mime_types_singular"
3886
+ #~ msgid "All"
3887
+ #~ msgstr "Alle"
3888
+
3889
+ #~ msgctxt "post_mime_types_plural"
3890
+ #~ msgid "All"
3891
+ #~ msgstr "Alle"
3892
+
3893
+ #~ msgctxt "post_mime_types_singular"
3894
+ #~ msgid "Image"
3895
+ #~ msgstr "Afbeelding"
3896
+
3897
+ #~ msgctxt "post_mime_types_plural"
3898
+ #~ msgid "Images"
3899
+ #~ msgstr "Afbeeldingen"
3900
+
3901
+ #~ msgctxt "post_mime_types_singular"
3902
+ #~ msgid "Audio"
3903
+ #~ msgstr "Audio"
3904
+
3905
+ #~ msgctxt "post_mime_types_plural"
3906
+ #~ msgid "Audio"
3907
+ #~ msgstr "Audio"
3908
+
3909
+ #~ msgctxt "post_mime_types_singular"
3910
+ #~ msgid "Video"
3911
+ #~ msgstr "Video"
3912
+
3913
+ #~ msgctxt "post_mime_types_plural"
3914
+ #~ msgid "Video"
3915
+ #~ msgstr "Video"
3916
+
3917
+ #~ msgctxt "post_mime_types_singular"
3918
+ #~ msgid "Text"
3919
+ #~ msgstr "Tekst"
3920
+
3921
+ #~ msgctxt "post_mime_types_plural"
3922
+ #~ msgid "Text"
3923
+ #~ msgstr "Tekst"
3924
+
3925
+ #~ msgctxt "post_mime_types_singular"
3926
+ #~ msgid "Application"
3927
+ #~ msgstr "Applicatie"
3928
+
3929
+ #~ msgctxt "post_mime_types_plural"
3930
+ #~ msgid "Applications"
3931
+ #~ msgstr "Applicaties"
3932
+
3933
+ #~ msgctxt "post_mime_types_plural"
3934
+ #~ msgid "Unattached"
3935
+ #~ msgstr "Ongekoppeld"
3936
+
3937
+ #~ msgctxt "post_mime_types_singular"
3938
+ #~ msgid "Trash"
3939
+ #~ msgstr "Prullenbak"
3940
+
3941
+ #~ msgctxt "post_mime_types_plural"
3942
+ #~ msgid "Trash"
3943
+ #~ msgstr "Prullenbak"
3944
+
3945
+ #~ msgid "Media Library Assistant Settings"
3946
+ #~ msgstr "Media Library Assistant Instellingen"
3947
+
3948
+ #~ msgid "Media Library Assistant - Error"
3949
+ #~ msgstr "Media Library Assistant - Fout"
languages/tpls/nl_NL/help-for-edit-attachment_category.tpl CHANGED
@@ -1,3 +1,5 @@
 
 
1
  <!-- template="mla-overview" -->
2
  <!-- title="Overzicht" order="10" -->
3
  <p>U kunt Attachment Categorie&euml;n gebruiken om secties op uw site te defini&euml;ren van groep gerelateerde attachments. De default is &#8220;geen&#8221;, d.w.z., de attachment is niet gerelateerd met enige categorie.</p>
1
+ <!-- loaded in class-mla-main.php function mla_add_help_tab for the Media/Att. Category submenu screen -->
2
+ <!-- invoked as /wp-admin/edit-tags.php?taxonomy=attachment_category&post_type=attachment -->
3
  <!-- template="mla-overview" -->
4
  <!-- title="Overzicht" order="10" -->
5
  <p>U kunt Attachment Categorie&euml;n gebruiken om secties op uw site te defini&euml;ren van groep gerelateerde attachments. De default is &#8220;geen&#8221;, d.w.z., de attachment is niet gerelateerd met enige categorie.</p>
languages/tpls/nl_NL/help-for-edit-attachment_tag.tpl CHANGED
@@ -1,3 +1,5 @@
 
 
1
  <!-- template="mla-overview" -->
2
  <!-- title="Overzicht" order="10" -->
3
  <p>U kunt sleutelwoorden toekennen aan uw attachments door <strong>Attachment Tags</strong>. In tegenstelling tot categorie&euml;n, hebben tags geen hierarchie, hetgeen betekent dat er geen relatie is tussen tags.</p>
1
+ <!-- loaded in class-mla-main.php function mla_add_help_tab for the Media/Att. Tag submenu screen -->
2
+ <!-- invoked as /wp-admin/edit-tags.php?taxonomy=attachment_tag&post_type=attachment -->
3
  <!-- template="mla-overview" -->
4
  <!-- title="Overzicht" order="10" -->
5
  <p>U kunt sleutelwoorden toekennen aan uw attachments door <strong>Attachment Tags</strong>. In tegenstelling tot categorie&euml;n, hebben tags geen hierarchie, hetgeen betekent dat er geen relatie is tussen tags.</p>
languages/tpls/nl_NL/help-for-edit-flat-taxonomy.tpl CHANGED
@@ -1,3 +1,5 @@
 
 
1
  <!-- template="mla-overview" -->
2
  <!-- title="Overzicht" order="10" -->
3
  <p>U kunt sleutelwoorden toekennen aan uw attachments door <strong>tags</strong>. In tegenstelling tot categorie&euml;n, hebben tags geen hierarchie, hetgeen betekent dat er geen relatie is tussen tags.</p>
1
+ <!-- loaded in class-mla-main.php function mla_add_help_tab for the Media/Tags submenu screen -->
2
+ <!-- invoked as /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=attachment -->
3
  <!-- template="mla-overview" -->
4
  <!-- title="Overzicht" order="10" -->
5
  <p>U kunt sleutelwoorden toekennen aan uw attachments door <strong>tags</strong>. In tegenstelling tot categorie&euml;n, hebben tags geen hierarchie, hetgeen betekent dat er geen relatie is tussen tags.</p>
languages/tpls/nl_NL/help-for-edit-hierarchical-taxonomy.tpl CHANGED
@@ -1,3 +1,5 @@
 
 
1
  <!-- template="mla-overview" -->
2
  <!-- title="Overzicht" order="10" -->
3
  <p>U kunt <strong>categorie&euml;n</strong> gebruiken om secties op uw site te defini&euml;ren van groep gerelateerde attachments. De default is &#8220;geen&#8221;, d.w.z., de attachment is niet gerelateerd met enige categorie.</p>
1
+ <!-- loaded in class-mla-main.php function mla_add_help_tab for the Media/Categories submenu screen -->
2
+ <!-- invoked as /wp-admin/edit-tags.php?taxonomy=category&post_type=attachment -->
3
  <!-- template="mla-overview" -->
4
  <!-- title="Overzicht" order="10" -->
5
  <p>U kunt <strong>categorie&euml;n</strong> gebruiken om secties op uw site te defini&euml;ren van groep gerelateerde attachments. De default is &#8220;geen&#8221;, d.w.z., de attachment is niet gerelateerd met enige categorie.</p>
languages/tpls/nl_NL/help-for-edit_attachment.tpl CHANGED
@@ -1,3 +1,5 @@
 
 
1
  <!-- template="mla-overview" -->
2
  <!-- title="MLA Uitbreidingen" order="10" -->
3
  <p>Media Library Assistant voegt verschillende uitbreidingen toe aan het Media Bewerken scherm:</p>
1
+ <!-- loaded in class-mla-edit-media.php function mla_edit_add_help_tab for the Media/Edit Media submenu screen -->
2
+ <!-- invoked as /wp-admin/post.php?post=3446&action=edit&mla_source=edit (for example) -->
3
  <!-- template="mla-overview" -->
4
  <!-- title="MLA Uitbreidingen" order="10" -->
5
  <p>Media Library Assistant voegt verschillende uitbreidingen toe aan het Media Bewerken scherm:</p>
languages/tpls/nl_NL/help-for-media_page_mla-menu.tpl CHANGED
@@ -1,3 +1,5 @@
 
 
1
  <!-- template="mla-overview" -->
2
  <!-- title="Overzicht" order="10" -->
3
  <p>Alle bestanden die u heeft ge&uuml;pload worden getoond in het Media/Assistant submenu, gesorteerd op Titel. U kunt de sorteervolgorde wijzigen door op &eacute;&eacute;n van de blauwe kolomnamen te klikken. U kunt de default sorteervolgorde wijzigen op het Instellingen scherm.</p>
1
+ <!-- loaded in class-mla-main.php function mla_add_help_tab for the Media/Assistant submenu screen -->
2
+ <!-- invoked as /wp-admin/upload.php?page=mla-menu -->
3
  <!-- template="mla-overview" -->
4
  <!-- title="Overzicht" order="10" -->
5
  <p>Alle bestanden die u heeft ge&uuml;pload worden getoond in het Media/Assistant submenu, gesorteerd op Titel. U kunt de sorteervolgorde wijzigen door op &eacute;&eacute;n van de blauwe kolomnamen te klikken. U kunt de default sorteervolgorde wijzigen op het Instellingen scherm.</p>
languages/tpls/nl_NL/help-for-settings_page_mla-settings-menu-upload-edit.tpl CHANGED
@@ -1,3 +1,5 @@
 
 
1
  <!-- template="mla-overview" -->
2
  <!-- title="Overzicht" order="10" -->
3
  <p>Dit scherm maakt het mogelijk alle velden geassocieerd met een Upload MIME Type te zien en ze te wijzigen. Hints en helpinformatie verschijnen onder sommige velden.</p>
1
+ <!-- loaded in class-mla-settings.php function mla_add_help_tab_action for the SettingsMedia Library Assistant submenu Uploads/Edit Upload MIME Type tab -->
2
+ <!-- invoked as /wp-admin/options-general.php?mla_admin_action=single_item_edit_display&mla_admin_nonce=303a441dcb&page=mla-settings-menu-upload&mla_tab=upload&mla_item_slug=3g2 -->
3
  <!-- template="mla-overview" -->
4
  <!-- title="Overzicht" order="10" -->
5
  <p>Dit scherm maakt het mogelijk alle velden geassocieerd met een Upload MIME Type te zien en ze te wijzigen. Hints en helpinformatie verschijnen onder sommige velden.</p>
languages/tpls/nl_NL/help-for-settings_page_mla-settings-menu-upload-optional.tpl CHANGED
@@ -1,3 +1,5 @@
 
 
1
  <!-- template="mla-overview" -->
2
  <!-- title="Overzicht" order="10" -->
3
  <p>Aan de Bekende Bestandsextensie/MIME Type Associaties lijst kunnen "Upload MIME Types" toegevoegd worden vanuit meer dan 1.500 bestaande associatie paren. Er kunnen verschillende MIME Type waarden bestaan voor een bepaalde bestandsextensie. Bijvoorbeeld, de ".dif" extensie is een video formaat maar ook een data uitwissel formaat (probeer maar). </p>
1
+ <!-- loaded in class-mla-settings.php function mla_add_help_tab_action for the Settings/Media Library Assistant submenu Uploads/Known File Extension/MIME Type Associations tab -->
2
+ <!-- invoked as /wp-admin/options-general.php?page=mla-settings-menu-upload&mla_tab=upload&mla-optional-uploads-search=Search&mla_admin_nonce=303a441dcb -->
3
  <!-- template="mla-overview" -->
4
  <!-- title="Overzicht" order="10" -->
5
  <p>Aan de Bekende Bestandsextensie/MIME Type Associaties lijst kunnen "Upload MIME Types" toegevoegd worden vanuit meer dan 1.500 bestaande associatie paren. Er kunnen verschillende MIME Type waarden bestaan voor een bepaalde bestandsextensie. Bijvoorbeeld, de ".dif" extensie is een video formaat maar ook een data uitwissel formaat (probeer maar). </p>
languages/tpls/nl_NL/help-for-settings_page_mla-settings-menu-upload.tpl ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!-- loaded in class-mla-settings.php function mla_add_help_tab_action for the Settings/Media Library Assistant submenu Uploads tab -->
2
+ <!-- invoked as /wp-admin/options-general.php?page=mla-settings-menu-upload&mla_tab=upload -->
3
+ <!-- template="mla-overview" -->
4
+ <!-- title="Overzicht" order="10" -->
5
+ <p>Via de Uploads tab kunt u de lijst met de "Upload MIME Typen" beheren. Deze lijst wordt gebruikt om de upload van bestandsformaten naar de Media Bibliotheek te valideren en MIME typen toe te kennen gebaseerd op bestandsextensies.</p>
6
+ <p>Alle Upload MIME Typen zijn opgesomd aan de rechterkant van de tabel, gesorteerd op het bestandsextensie veld. U kunt de volgorde wijzigen door op &eacute;&eacute;n van de blauwe kolomnamen te klikken.</p>
7
+ <p>U kunt de Scherminstellingen tab gebruiken om het tonen van het scherm te be&iuml;nvloeden. U kunt elke combinatie van kolommen kiezen die getoond worden. U kunt ook kiezen hoeveel items verschijnen op elke pagina van het scherm.</p>
8
+ <p>De tabel kan gefilterd worden door het klikken van &eacute;&eacute;n van de "views" getoond boven de Acties selectie. U kunt kiezen uit Alle items, Actieve of Inactieve items of de bron (WordPress, MLA of Custom (=Aangepast)) van het item.</p>
9
+ <p>U kunt ook de lijst verkleinen door een sleutelwoord of deeltekst in de tekst box in de rechterbovenhoek te toetsen en vervolgens "Zoek Uploads" te klikken. <strong>OPMERKING:</strong> Het "Zoek Uploads" filter is &#8220;sticky&#8221;, d.w.z., het zal blijven bestaan als u het scherm hersorteert, items edit, etc. Om de waarde te schonen, verwijder de tekst en klik "Zoek Uploads" of klik op de "Uploads" tab.</p>
10
+ <!-- template="mla-icon-types" -->
11
+ <!-- title="Iconen en Icon Typen" order="20" -->
12
+ <p>WordPress houdt een lijst van "file types" (bestandstypen) bij van koppeling van bestandsextensies naar type namen welke gebruikt kunnen worden om een icon afbeelding te selecteren. Bijvoorbeeld, een "audio" file type is geassocieerd met een afbeelding van een muzieknoten. Er zijn negen van deze typen: archief, audio, code, default, document, interactief, spreadsheet, tekst en video. MLA kent een veel langere lijst; 112 icon typen/afbeeldingen in totaal. Als de "Activeer MLA Bestandstype Symbolen Ondersteuning" keuze-optie onderaan het scherm gekozen is, dan zullen de uitgebreide icon afbeeldingen worden gebruikt in plaats van de WordPress afbeeldingen.</p>
13
+ <p>U kunt de icon afbeelding die geassocieerd is met een bestandsextensie wijzigen door een nieuwe waarde te selecteren in de dropdown list op het Bewerk Upload MIME Type scherm of via Snel Wijzigen. U kunt de icon afbeelding voor verschillende extensies tegelijk wijzigen via de Acties selectie.</p>
14
+ <p>Als u een andere plugin of mechanisme heeft voor de ondersteuning van Upload MIME Type items, dan kunt u de MLA support in zijn geheel uit zetten. Maak de keuze-optie aan de linkeronderkant van het scherm leeg en klik "Sla Wijzigingen Op".</p>
15
+ <!-- template="mla-source-status" -->
16
+ <!-- title="Bron en Status" order="30" -->
17
+ <p>De "Bron" van een Upload MIME Type geeft aan waar de extensie/MIME Type associatie vandaan komt:</p>
18
+ <ul>
19
+ <li><strong>core</strong>: WordPress definieert een kernset van extensies en geassocieerde MIME typen, en deze lijst wijzigt met nieuwe WordPress versies. Dit zijn de "offici&euml;le" items. U kunt ze niet verwijderen, maar u kunt ze inactiveren zodat zij niet gebruikt worden om file uploads te valideren.</li>
20
+ <li><strong>mla</strong>: Media Library Assistant voegt verschillende extensie/type items toe, hierdoor geleid vanuit de meest populaire items gevonden in andere plugins en websites. Zij worden ge&iuml;nitialiseerd als "inactieve" items, dus u moet expliciet beslissen om ze te activeren voor gebruik in file upload validatie.</li>
21
+ <li><strong>custom</strong>: Gedefinieerd door een andere plugin of code, of via een manuele actie. Als MLA voor het eerst zijn lijst opbouwt dan zal het automatisch alles wat het vindt toevoegen aan uw actuele lijst als zijnde een nieuw, actief custom item. Daarna kunt u MLA gebruiken om deze te beheren.</li>
22
+ </ul>
23
+ <p>De "Status" van een item bepaalt of het door WordPress wordt gebruikt om file uploads te valideren en het toekennen van MIME typen aan attachments in uw Media Bibliotheek. Alleen "actieve" items worden op deze manier gebruikt; een item "inactief" maken blokkeert verdere uploads met deze extensie maar zal bestaande attachments in uw Media Bibliotheek NIET be&iuml;nvloeden.</p>
24
+ <!-- template="mla-bulk-actions" -->
25
+ <!-- title="'Bulk' Acties" order="40" -->
26
+ <p>De &#8220;Acties&#8221; dropdown list werkt samen met de keuze-optie kolom zodat u wijzigingen kunt aanbrengen aan meerdere items tegelijk. Klik de keuze-optie in de kolom titel rij om alle items op de pagina te selecteren, of klik de keuze-optie in een rij om items individueel te selecteren.</p>
27
+ <p>Als u eenmaa de items geselecteerd heeft die u wenst, kies een actie van de dropdown list en klik Uitvoeren om de actie op de geselecteerde items uit te voeren.</p>
28
+ <p>Als u hier de Wijzig optie gebruikt, kunt u de Actief/Inactief status voor alle geselecteerde items tegelijk wijzigen. Om een item uit de geselecteerde groep te halen, klik simpelweg op de x naast zijn naam in de linkerkolom van het Bulk Edit gebied.</p>
29
+ <p>De "Verwijder/Terug naar Custom" actie betreft alleen items met een "custom" bron. Het zal items verwijderen waarvoor geen standaard bron is of het zal de custom informatie vervangen door standaard informatie voor items met een standaard bron.</p>
30
+ <!-- template="mla-available-actions" -->
31
+ <!-- title="Beschikbare Acties" order="50" -->
32
+ <p>Met de muis over een rij in de Extensie kolom gaan onthult actie links zoals Wijzig, Snel Wijzig, Terug naar Standaard en Verwijder Permanent. Klikken op Wijzig toont een eenvoudig scherm om individuele metadata van een item te wijzigen. Klikken op Snel Wijzig toont een formulier om metadata van een item te wijzigen zonder het scherm te verlaten.</p>
33
+ <p>Als de bron van het gekozen item bron "custom" heeft, zal &eacute;&eacute;n van twee keuzen verschijnen. Als het item een standaard bron heeft (core of mla), zal klikken van Terug naar Standaard de custom informatie vervangen door de bijbehorende standaard bron informatie. Als het item <strong>GEEN</strong> standaard bron heeft, zal klikken van Verwijder Permanent het custom item van de Uploads lijst verwijderen.</p>
34
+ <!-- template="mla-add-new" -->
35
+ <!-- title="Voeg Nieuw Type Toe" order="60" -->
36
+ <p>De linkerkant van het scherm bevat alle velden die u nodig heeft om een nieuw item voor de lijst te defini&euml;ren. Extensie en MIME Type zijn verplicht; de andere velden zijn dat niet en hebben default waarden. Er bevindt zich meer informatie over elk veld in de tekst onder het waardeveld.</p>
37
+ <p><strong>OPMERKING:</strong> Om uw werk op te slaan en het item toe te voegen, moet u naar beneden scrollen en "Voeg Upload MIME Type Toe" klikken.</p>
38
+ <!-- template="mla-search" -->
39
+ <!-- title="Zoek Bekende Typen" order="70" -->
40
+ <p>U kunt in een lijst met meer dan 1.500 bekende bestandsextensie naar MIME type associaties zoeken die samengesteld is uit verschillende Internet bronnen. De lijst toont alternatieve MIME typen voor de core en mla items maar ook vele andere bestandsextensies en MIME typen die u kunt toevoegen als custom items. Klik de "Zoek Bekende Typen" knop onderaan het formulier.</p>
41
+ <!-- template="mla-save-changes" -->
42
+ <!-- title="Deactiveer/Activeer Uploads" order="80" -->
43
+ <p>Als u een andere plugin of mechanisme heeft voor het behandelen van Upload MIME Type items, kunt u de MLA ondersteuning in zijn geheel deactiveren. Maak de keuze-optie in de linkeronderhoek van het scherm leeg en klik "Sla Wijzigingen Op". De Uploads tabel zal worden vervangen door een "inactief" scherm en een keuze-optie waarmee u MLA ondersteuning weer kunt activeren wanneer u dat wenst.</p>
44
+ <p><strong>OPMERKING:</strong> Deze optie activeert of deactiveert <em><strong>NIET</strong></em> het uploaden van bestanden; het schakelt slechts de MLA ondersteuning van het beheer van de lijst van extensies en MIME typen uit.</p>
45
+ <!-- template="sidebar" -->
46
+ <p><strong>Voor meer informatie:</strong></p>
47
+ <p><a href="[+settingsURL+]?page=mla-settings-menu-documentation&mla_tab=documentation#mla_uploads" target="_blank">MLA Documentatie over Upload MIME Typen</a></p>
48
+ <p><a href="http://wordpress.org/support/plugin/media-library-assistant" target="_blank">MLA Support Forum</a></p>
languages/tpls/nl_NL/help-for-settings_page_mla-settings-menu-view-edit.tpl CHANGED
@@ -1,3 +1,5 @@
 
 
1
  <!-- template="mla-overview" -->
2
  <!-- title="Overzicht" order="10" -->
3
  <p>Dit scherm maakt het mogelijk alle velden geassocieerd met een View te zien en ze te wijzigen. Hints en helpinformatie verschijnt onder sommige velden.</p>
1
+ <!-- loaded in class-mla-settings.php function mla_add_help_tab_action for the Settings/Media Library Assistant submenu Views/Edit View tab -->
2
+ <!-- invoked as /wp-admin/options-general.php?mla_admin_action=single_item_edit_display&mla_admin_nonce=303a441dcb&page=mla-settings-menu-view&mla_tab=view&mla_item_slug=all -->
3
  <!-- template="mla-overview" -->
4
  <!-- title="Overzicht" order="10" -->
5
  <p>Dit scherm maakt het mogelijk alle velden geassocieerd met een View te zien en ze te wijzigen. Hints en helpinformatie verschijnt onder sommige velden.</p>
languages/tpls/nl_NL/help-for-settings_page_mla-settings-menu-view.tpl CHANGED
@@ -1,3 +1,5 @@
 
 
1
  <!-- template="mla-overview" -->
2
  <!-- title="Overzicht" order="10" -->
3
  <p>Met de Views tab kunt u de lijst van "Post MIME Typen" beheren die gebruikt worden voor de views van de Media/Bibliotheek en Media/Assistant submenu tabellen, evenals het "Voeg Media Toe" media items filter. Verder laat MLA u meer complexe "Tabel Views" defini&euml;ren voor de Media/Assistant submenu tabel door gebruikmaking van meerdere MIME typen en/of wildcard specificaties in &eacute;&eacute;n kolom.</p>
1
+ <!-- loaded in class-mla-settings.php function mla_add_help_tab_action for the Settings/Media Library Assistant submenu Views tab -->
2
+ <!-- invoked as /wp-admin/options-general.php?page=mla-settings-menu-view&mla_tab=view -->
3
  <!-- template="mla-overview" -->
4
  <!-- title="Overzicht" order="10" -->
5
  <p>Met de Views tab kunt u de lijst van "Post MIME Typen" beheren die gebruikt worden voor de views van de Media/Bibliotheek en Media/Assistant submenu tabellen, evenals het "Voeg Media Toe" media items filter. Verder laat MLA u meer complexe "Tabel Views" defini&euml;ren voor de Media/Assistant submenu tabel door gebruikmaking van meerdere MIME typen en/of wildcard specificaties in &eacute;&eacute;n kolom.</p>
languages/tpls/nl_NL/help-for-single_item_edit_display.tpl DELETED
@@ -1,15 +0,0 @@
1
- <!-- template="mla-overview" -->
2
- <!-- title="Overzicht" order="10" -->
3
- <p>Dit scherm maakt het mogelijk veel van de velden geassocieerd met een attachment te zien en de meesten ervan te wijzigen. Velden die niet wijzigbaar zijn hebben een lichtgrijze achtergrond; velden die gewijzigd kunnen worden hebben een witte achtergrond. Hints en helpinformatie verschijnen onder sommige velden.</p>
4
- <p>Denk eraan om de &#8220;Bijwerken&#8221; knop te klikken om uw werk op te slaan. U kunt ook de &#8220;Cancel&#8221; knop klikken om alle wijzigingen te negeren.</p>
5
- <!-- template="mla-taxonomies" -->
6
- <!-- title="Taxonomie&euml;n" order="20" -->
7
- <p>Als er custom taxonomie&euml;n bestaan, zoals &#8220;Attachment Categorie&euml;n&#8221; of &#8220;Attachment Tags&#8221;, voor attachments dan zullen deze verschijnen in de kolom aan de rechterkant van dit scherm. U kunt termen toevoegen of verwijderen van elke taxonomie die getoond wordt. Wijzigingen worden pas opgeslagen als u de &#8220;Bijwerken&#8221; knop klikt van de attachment.</p>
8
- <!-- template="mla-parent-info" -->
9
- <!-- title="Parent Info" order="30" -->
10
- <p>Het &#8220;Parent Info&#8221; veld toont de Post ID, type en titel van het bericht of de pagina waaraan het item gekoppeld is. Het zal &#8220;0 (ongekoppeld)&#8221; tonen als er geen parent bericht of pagina is.</p>
11
- <p>U kunt het bericht of de pagina waaraan het item gekoppeld is wijzigen door de Post ID waarde te veranderen en de &#8220;Bijwerken&#8221; knop te klikken. Wijziging van de Post ID naar nul (0) zal het item &#8220;ontkoppelen&#8221;.</p>
12
- <!-- template="sidebar" -->
13
- <p><strong>Voor meer informatie:</strong></p>
14
- <p><a href="http://codex.wordpress.org/Media_Add_New_Screen#Edit_Media" target="_blank">Documentatie over Wijzigen Media</a></p>
15
- <p><a href="http://wordpress.org/support/plugin/media-library-assistant" target="_blank">MLA Support Forum</a></p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/tpls/nl_NL/help-for-thumbnail_generation.tpl ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!-- loaded in class-mla-main.php function mla_add_help_tab for the Media/Assistant submenu screen -->
2
+ <!-- invoked as /wp-admin/upload.php?page=mla-menu -->
3
+ <!-- template="mla-thumbnail-generation" -->
4
+ <!-- title="Genereer Thumbnails" order="95" -->
5
+ <p>Via Media Library Assistant kunt een "Gekoppelde Afbeelding" aan uw Media Bibliotheek items toekennen. Voor niet-afbeelding items als bijvoorbeeld PDF documenten kan deze afbeelding gebruikt worden als de <code>mla_viewer</code> thumbnail afbeelding, waarmee de overhead vermeden wordt dat deze afbeelding telkens gegenereerd moet worden wanneer de galerij wordt behandeld. De "Thumbnail" Actie maakt het makkelijk om thumbnails te genereren en deze toe te kennen aan hun bijbehorende niet-afbeelding Media Bibliotheek items.</p>
6
+ <p>U kunt de volgende velden gebruiken om invloed uit te oefenen op het aanmaakproces:</p>
7
+ <table>
8
+ <tr>
9
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold">Breedte</td>
10
+ <td>de maximale breedte in pixels (default "150") van de thumbnail afbeelding. De hoogte (tenzij ook geselecteerd) zal aangepast worden opdat de pagina proporties gehandhaafd blijven.</td>
11
+ </tr>
12
+ <tr>
13
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold">Hoogte</td>
14
+ <td>de maximale hoogte in pixels (default "0") van de thumbnail afbeelding. De breedte (tenzij ook geselecteerd) zal aangepast worden opdate de pagina proporties gehandhaafd blijven.</td>
15
+ </tr>
16
+ <tr>
17
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold">Best Passend</td>
18
+ <td>behoud pagina proporties als zowel hoogte als breedte opgegeven zijn. Wanneer niet geselecteerd zal de afbeelding uitgerekt worden tot precies de hoogte en breedte die opgegeven zijn. Wanneer geselecteerd zal de afbeelding kleiner gemaakt worden om binnen de opgegeven waarden te blijven waarbij de proporties behouden blijven. Bijvoorbeeld, een typische pagina is 612 pixels breed en 792 pixels hoog. Als u de breedte en hoogte op 300 zet and best passend kiest, zal de thumbnail verkleind worden naar 231 pixels breed en 300 pixels hoog.</td>
19
+ </tr>
20
+ <tr>
21
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold">Pagina</td>
22
+ <td>het paginanummer (default "1") voor de thumbnail afbeelding. Als de pagina niet bestaat zal the allereerste pagina gebruikt worden.</td>
23
+ </tr>
24
+ <tr>
25
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold">Resolutie</td>
26
+ <td>de pixels/inch resolutie (default 72) van de pagina voor het verkleinen. Als u dit een hogere waarde geeft, zoals 300, verbetert u de kwaliteit van de thumbnail ten koste van een verhoging van de verwerkingstijd.</td>
27
+ </tr>
28
+ <tr>
29
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold">Kwaliteit</td>
30
+ <td>de compressie kwaliteit (default 90) van de uiteindelijke pagina. U kunt dit een waarde tussen 1 en 100 geven om kleinere bestanden te krijgen ten koste van afbeeldingskwaliteit; 1 is kleinst/slechtst en 100 is grootst/beste.</td>
31
+ </tr>
32
+ <tr>
33
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold">Type</td>
34
+ <td>het MIME type, "JPG" (image/jpeg, default) of "PNG" (image/png), van de uiteindelijke thumbnail. U kunt dit, bijvoorbeeld, de waarde "PNG" geven om een transparante achtergrond the behouden in plaats van een witte jpeg achtergrond.</td>
35
+ </tr>
36
+ <tr>
37
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold">Bestaande Items</td>
38
+ <td>de actie die genomen moet worden als een item al een thumbnail heeft. Selecteer "<strong>Behoud</strong>" om de thumbnail te behouden en niets te genereren. Selecteer "<strong>Negeer</strong>" om gewoon te genereren en de nieuwe thumbnail te koppelen, waarbij het oude item ongewijzigd blijft. Selecteer "<strong>Prullenbak</strong>" om een nieuwe thumnbail te genereren en het oude item in de Media Prullenbak (wanneer gedefinieerd) te zetten of in zijn geheel te verwijderen. Selecteer "<strong>Verwijder</strong>" om een nieuwe thumbnail te genereren en te koppelen terwijl het oude item volledig verwijderd wordt.
39
+ </td>
40
+ </tr>
41
+ <tr>
42
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold">Suffix</td>
43
+ <td>de suffix (achtervoegsel) welke toegevoegd wordt aan de Titel van de bron om de Titel van de thumbnail te maken.</td>
44
+ </tr>
45
+ <tr>
46
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold">Schoon Filter</td>
47
+ <td>verwijder de "Filter" criteria als de display ververst wordt. Het laten staan van criteria als jaar/maand of Zoek Media waarden kan het tonen van nieuwe gegenereerde items blokkeren.</td>
48
+ </tr>
49
+ </table>
50
+ <p>Nadat u de Genereer Thumbnails knop geklikt heeft, wordt het Media/Assistant submenu ververst om alle nieuwe items te tonen die zijn gegenereerd en toegevoegd aan de Media Bibliotheek. U kunt Snel Wijzigen en Acties gebruiken om aanvullende wijzigingen aan te brengen aan de nieuwe items.</p>
51
+ <!-- template="sidebar" -->
52
+ <p><a href="[+settingsURL+]?page=mla-settings-menu-documentation&mla_tab=documentation#thumbnail_substitution" target="_blank">MLA Documentatie over Thumbnail Substitutie Ondersteuning, mla_viewer</a></p>
languages/tpls/nl_NL/help-for-upload-new-media.tpl ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!-- loaded in class-mla-edit-media.php function mla_edit_add_help_tab for the Media/Upload New Media submenu screen -->
2
+ <!-- invoked as /wp-admin/media-new.php -->
3
+ <!-- template="mla-bulk-actions" -->
4
+ <!-- title="Bulk Edit Gebied" order="10" -->
5
+ <p>Het &#8220;Bulk Edit Gebied&#8221; geeft de mogelijkheid om de metadata (auteur, parent, taxonomie termen) voor alle ge&uuml;ploade attachments te wijzigen tijdens het toevoegen aan de Media Bibliotheek. <strong>BELANGRIJK: Vul de waarden in VOORDAT nieuwe items ge&uuml;pload worden.</strong>
6
+ <p>Bulk Edit ondersteuning voor taxonomie termen zorgt ervoor dat termen <strong>toegevoegd</strong> kunnen worden aan de geselecteerde attachments. Onder elke taxonomie wijzig box bevinden zich drie radio buttons waarmee u de actie die u wilt uitvoeren kunt selecteren. Omdat de nieuwe items nog geen bestaande termen hebben moet de <strong>Voeg toe</strong> default instelling geselecteerd blijven.</p>
7
+ <p>De taxonomie&euml;n die verschijnen onder het Bulk Edit gebied kunnen een subset zijn van de taxonomie&euml;n die ondersteund worden op single item edit scherm. U kunt kiezen welke taxonomie&euml;n verschijnen door uw keuze(s) in de Inline Edit kolom van het Taxonomie Ondersteuning deel op de Instellingen/Media Library Assistent Algemeen tab in te vullen.</p>
8
+ <p>U kunt de Titel, Onderschrift, Omschrijving en ALT Tekst waarden aanpassen voor alle ge&uuml;ploade attachments. U kunt een <a href="[+settingsURL+]?page=mla-settings-menu-documentation&mla_tab=documentation#mla_template_parameters" target="_blank">Content Template</a> gebruiken om de waarden aan te passen gebaseerd op attachment-specifieke data sources.</p>
9
+ <p>U kunt een bericht of pagina instellen voor ge&uuml;ploade items; gebruik de "Selecteer" knop om een pop up lijst van berichten en paginas te zien waaruit u kunt kiezen.</p>
10
+ <p>Als u Custom Veld mapping regels gedefinieerd heeft en de "Bulk Edit" box aangevinkt heeft voor een of meer velden dan zullen deze verschijnen in het Bulk Edit Gebied en kunt u er waarden aan toekennen.</p>
11
+ <p>Als u eenmaal de waarden ingevuld heeft kunt u de "Sluit Bulk Edit Gebied" knop klikken om het scherm vrij te maken voor de lijst van te uploaden bestanden. Zelfs wanneer het Gebied gesloten is, zullen uw instellingen bewaard blijven totdat u het Upload Nieuwe Media scherm verlaat.</p>
12
+ <!-- template="sidebar" -->
13
+ <p><strong>Voor meer informatie:</strong></p><p><a href="https://codex.wordpress.org/Media_Add_New_Screen" target="_blank">Documentatie over Uploaden Media Bestanden</a></p><p><a href="https://wordpress.org/support/" target="_blank">Support Forums</a></p>
14
+ <p><a href="http://wordpress.org/support/plugin/media-library-assistant" target="_blank">MLA Support Forum</a></p>
15
+ <p><a href="[+settingsURL+]?page=mla-settings-menu-documentation&mla_tab=documentation#select_parent" target="_blank">MLA Documentatie over het Selecteer Parent popup scherm</a></p>
16
+ <p><a href="[+settingsURL+]?page=mla-settings-menu-documentation&mla_tab=documentation#mla_template_parameters" target="_blank">MLA Documentatie over Content Templates</a></p>
phpDocs/classes/MLA.html CHANGED
@@ -97,6 +97,9 @@
97
  <li class="method private "><a href="#_trash_single_item" title="_trash_single_item :: Move a single item to Trash"><span class="description">Move a single item to Trash</span><pre>_trash_single_item()</pre></a></li>
98
  <li class="nav-header">
99
  <i class="icon-custom icon-property"></i> Properties</li>
 
 
 
100
  <li class="nav-header private">» Private</li>
101
  <li class="property private "><a href="#%24mla_debug_file" title="$mla_debug_file :: Debug information output file for mode = 'log'"><span class="description">Debug information output file for mode = 'log'</span><pre>$mla_debug_file</pre></a></li>
102
  <li class="property private "><a href="#%24mla_debug_messages" title="$mla_debug_messages :: Accumulates debug messages"><span class="description">Accumulates debug messages</span><pre>$mla_debug_messages</pre></a></li>
@@ -121,6 +124,7 @@
121
  <li class="constant "><a href="#MLA_ADMIN_SINGLE_TRASH" title="MLA_ADMIN_SINGLE_TRASH :: mla_admin_action value for moving a single item to the trash"><span class="description">mla_admin_action value for moving a single item to the trash</span><pre>MLA_ADMIN_SINGLE_TRASH</pre></a></li>
122
  <li class="constant "><a href="#MLA_ADMIN_TERMS_SEARCH" title="MLA_ADMIN_TERMS_SEARCH :: mla_admin_action value for searching taxonomy terms"><span class="description">mla_admin_action value for searching taxonomy terms</span><pre>MLA_ADMIN_TERMS_SEARCH</pre></a></li>
123
  <li class="constant "><a href="#MLA_DEBUG_CATEGORY_AJAX" title="MLA_DEBUG_CATEGORY_AJAX :: Constant to log Ajax debug activity"><span class="description">Constant to log Ajax debug activity</span><pre>MLA_DEBUG_CATEGORY_AJAX</pre></a></li>
 
124
  <li class="constant "><a href="#MLA_DEVELOPMENT_VERSION" title="MLA_DEVELOPMENT_VERSION :: Current date for Development Version, empty for production versions"><span class="description">Current date for Development Version, empty for production versions</span><pre>MLA_DEVELOPMENT_VERSION</pre></a></li>
125
  <li class="constant "><a href="#STYLESHEET_SLUG" title="STYLESHEET_SLUG :: Slug for registering and enqueueing plugin style sheet"><span class="description">Slug for registering and enqueueing plugin style sheet</span><pre>STYLESHEET_SLUG</pre></a></li>
126
  </ul>
@@ -807,6 +811,42 @@ Defined as public because it's an action.</p></p>
807
  </div>
808
  <h3>
809
  <i class="icon-custom icon-property"></i> Properties</h3>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
810
  <a name="%24mla_debug_file" id="$mla_debug_file"> </a><div class="element clickable property private $mla_debug_file" data-toggle="collapse" data-target=".$mla_debug_file .collapse">
811
  <h2>Debug information output file for mode = 'log'</h2>
812
  <pre>$mla_debug_file : string</pre>
@@ -1061,6 +1101,18 @@ Defined as public because it's an action.</p></p>
1061
  </tr></table>
1062
  </div></div>
1063
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
1064
  <a name="MLA_DEVELOPMENT_VERSION" id="MLA_DEVELOPMENT_VERSION"> </a><div class="element clickable constant MLA_DEVELOPMENT_VERSION" data-toggle="collapse" data-target=".MLA_DEVELOPMENT_VERSION .collapse">
1065
  <h2>Current date for Development Version, empty for production versions</h2>
1066
  <pre>MLA_DEVELOPMENT_VERSION : string</pre>
@@ -1092,7 +1144,7 @@ Defined as public because it's an action.</p></p>
1092
  <div class="row"><footer class="span12">
1093
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
1094
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
1095
- generated on 2015-08-16T20:58:57-07:00.<br></footer></div>
1096
  </div>
1097
  </body>
1098
  </html>
97
  <li class="method private "><a href="#_trash_single_item" title="_trash_single_item :: Move a single item to Trash"><span class="description">Move a single item to Trash</span><pre>_trash_single_item()</pre></a></li>
98
  <li class="nav-header">
99
  <i class="icon-custom icon-property"></i> Properties</li>
100
+ <li class="property public "><a href="#%24mla_debug_level" title="$mla_debug_level :: Effective MLA Debug Level, from MLA_DEBUG_LEVEL or override option"><span class="description">Effective MLA Debug Level, from MLA_DEBUG_LEVEL or override option</span><pre>$mla_debug_level</pre></a></li>
101
+ <li class="property public "><a href="#%24original_php_log" title="$original_php_log :: Original PHP error_log path and file"><span class="description">Original PHP error_log path and file</span><pre>$original_php_log</pre></a></li>
102
+ <li class="property public "><a href="#%24original_php_reporting" title="$original_php_reporting :: Original PHP error_reporting value"><span class="description">Original PHP error_reporting value</span><pre>$original_php_reporting</pre></a></li>
103
  <li class="nav-header private">» Private</li>
104
  <li class="property private "><a href="#%24mla_debug_file" title="$mla_debug_file :: Debug information output file for mode = 'log'"><span class="description">Debug information output file for mode = 'log'</span><pre>$mla_debug_file</pre></a></li>
105
  <li class="property private "><a href="#%24mla_debug_messages" title="$mla_debug_messages :: Accumulates debug messages"><span class="description">Accumulates debug messages</span><pre>$mla_debug_messages</pre></a></li>
124
  <li class="constant "><a href="#MLA_ADMIN_SINGLE_TRASH" title="MLA_ADMIN_SINGLE_TRASH :: mla_admin_action value for moving a single item to the trash"><span class="description">mla_admin_action value for moving a single item to the trash</span><pre>MLA_ADMIN_SINGLE_TRASH</pre></a></li>
125
  <li class="constant "><a href="#MLA_ADMIN_TERMS_SEARCH" title="MLA_ADMIN_TERMS_SEARCH :: mla_admin_action value for searching taxonomy terms"><span class="description">mla_admin_action value for searching taxonomy terms</span><pre>MLA_ADMIN_TERMS_SEARCH</pre></a></li>
126
  <li class="constant "><a href="#MLA_DEBUG_CATEGORY_AJAX" title="MLA_DEBUG_CATEGORY_AJAX :: Constant to log Ajax debug activity"><span class="description">Constant to log Ajax debug activity</span><pre>MLA_DEBUG_CATEGORY_AJAX</pre></a></li>
127
+ <li class="constant "><a href="#MLA_DEBUG_CATEGORY_LANGUAGE" title="MLA_DEBUG_CATEGORY_LANGUAGE :: Constant to log WPML/Polylang action/filter activity"><span class="description">Constant to log WPML/Polylang action/filter activity</span><pre>MLA_DEBUG_CATEGORY_LANGUAGE</pre></a></li>
128
  <li class="constant "><a href="#MLA_DEVELOPMENT_VERSION" title="MLA_DEVELOPMENT_VERSION :: Current date for Development Version, empty for production versions"><span class="description">Current date for Development Version, empty for production versions</span><pre>MLA_DEVELOPMENT_VERSION</pre></a></li>
129
  <li class="constant "><a href="#STYLESHEET_SLUG" title="STYLESHEET_SLUG :: Slug for registering and enqueueing plugin style sheet"><span class="description">Slug for registering and enqueueing plugin style sheet</span><pre>STYLESHEET_SLUG</pre></a></li>
130
  </ul>
811
  </div>
812
  <h3>
813
  <i class="icon-custom icon-property"></i> Properties</h3>
814
+ <a name="%24mla_debug_level" id="$mla_debug_level"> </a><div class="element clickable property public $mla_debug_level" data-toggle="collapse" data-target=".$mla_debug_level .collapse">
815
+ <h2>Effective MLA Debug Level, from MLA_DEBUG_LEVEL or override option</h2>
816
+ <pre>$mla_debug_level : integer</pre>
817
+ <div class="labels"></div>
818
+ <div class="row collapse"><div class="detail-description">
819
+ <p class="long_description"></p>
820
+ <table class="table table-bordered"><tr>
821
+ <th>since</th>
822
+ <td>2.15</td>
823
+ </tr></table>
824
+ </div></div>
825
+ </div>
826
+ <a name="%24original_php_log" id="$original_php_log"> </a><div class="element clickable property public $original_php_log" data-toggle="collapse" data-target=".$original_php_log .collapse">
827
+ <h2>Original PHP error_log path and file</h2>
828
+ <pre>$original_php_log : string</pre>
829
+ <div class="labels"></div>
830
+ <div class="row collapse"><div class="detail-description">
831
+ <p class="long_description"></p>
832
+ <table class="table table-bordered"><tr>
833
+ <th>since</th>
834
+ <td>2.15</td>
835
+ </tr></table>
836
+ </div></div>
837
+ </div>
838
+ <a name="%24original_php_reporting" id="$original_php_reporting"> </a><div class="element clickable property public $original_php_reporting" data-toggle="collapse" data-target=".$original_php_reporting .collapse">
839
+ <h2>Original PHP error_reporting value</h2>
840
+ <pre>$original_php_reporting : string</pre>
841
+ <div class="labels"></div>
842
+ <div class="row collapse"><div class="detail-description">
843
+ <p class="long_description"></p>
844
+ <table class="table table-bordered"><tr>
845
+ <th>since</th>
846
+ <td>2.15</td>
847
+ </tr></table>
848
+ </div></div>
849
+ </div>
850
  <a name="%24mla_debug_file" id="$mla_debug_file"> </a><div class="element clickable property private $mla_debug_file" data-toggle="collapse" data-target=".$mla_debug_file .collapse">
851
  <h2>Debug information output file for mode = 'log'</h2>
852
  <pre>$mla_debug_file : string</pre>
1101
  </tr></table>
1102
  </div></div>
1103
  </div>
1104
+ <a name="MLA_DEBUG_CATEGORY_LANGUAGE" id="MLA_DEBUG_CATEGORY_LANGUAGE"> </a><div class="element clickable constant MLA_DEBUG_CATEGORY_LANGUAGE" data-toggle="collapse" data-target=".MLA_DEBUG_CATEGORY_LANGUAGE .collapse">
1105
+ <h2>Constant to log WPML/Polylang action/filter activity</h2>
1106
+ <pre>MLA_DEBUG_CATEGORY_LANGUAGE : integer</pre>
1107
+ <div class="labels"></div>
1108
+ <div class="row collapse"><div class="detail-description">
1109
+ <p class="long_description"></p>
1110
+ <table class="table table-bordered"><tr>
1111
+ <th>since</th>
1112
+ <td>2.15</td>
1113
+ </tr></table>
1114
+ </div></div>
1115
+ </div>
1116
  <a name="MLA_DEVELOPMENT_VERSION" id="MLA_DEVELOPMENT_VERSION"> </a><div class="element clickable constant MLA_DEVELOPMENT_VERSION" data-toggle="collapse" data-target=".MLA_DEVELOPMENT_VERSION .collapse">
1117
  <h2>Current date for Development Version, empty for production versions</h2>
1118
  <pre>MLA_DEVELOPMENT_VERSION : string</pre>
1144
  <div class="row"><footer class="span12">
1145
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
1146
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
1147
+ generated on 2015-10-13T16:50:49-07:00.<br></footer></div>
1148
  </div>
1149
  </body>
1150
  </html>
phpDocs/classes/MLAData.html CHANGED
@@ -137,17 +137,21 @@ and meta data for a single attachment</span><pre>mla_update_single_item()</pre><
137
  <li class="property private "><a href="#%24mla_IPTC_EXIF_errors" title="$mla_IPTC_EXIF_errors :: Passes IPTC/EXIF parse errors between mla_IPTC_EXIF_error_handler
138
  and mla_fetch_attachment_image_metadata"><span class="description">Passes IPTC/EXIF parse errors between mla_IPTC_EXIF_error_handler
139
  and mla_fetch_attachment_image_metadata</span><pre>$mla_IPTC_EXIF_errors</pre></a></li>
140
- <li class="property private "><a href="#%24mla_alt_text_view" title="$mla_alt_text_view :: Provides a unique name for the ALT Text/custom field SQL View"><span class="description">Provides a unique name for the ALT Text/custom field SQL View</span><pre>$mla_alt_text_view</pre></a></li>
141
  <li class="property private "><a href="#%24mla_galleries" title="$mla_galleries :: Objects containing [mla_gallery] shortcodes"><span class="description">Objects containing [mla_gallery] shortcodes</span><pre>$mla_galleries</pre></a></li>
142
  <li class="property private "><a href="#%24mla_iptc_descriptions" title="$mla_iptc_descriptions :: IPTC Dataset descriptions"><span class="description">IPTC Dataset descriptions</span><pre>$mla_iptc_descriptions</pre></a></li>
143
  <li class="property private "><a href="#%24mla_iptc_formats" title="$mla_iptc_formats :: IPTC file format identifiers and descriptions"><span class="description">IPTC file format identifiers and descriptions</span><pre>$mla_iptc_formats</pre></a></li>
144
  <li class="property private "><a href="#%24mla_iptc_image_types" title="$mla_iptc_image_types :: IPTC image type identifiers and descriptions"><span class="description">IPTC image type identifiers and descriptions</span><pre>$mla_iptc_image_types</pre></a></li>
145
  <li class="property private "><a href="#%24mla_iptc_records" title="$mla_iptc_records :: IPTC Dataset identifiers and names"><span class="description">IPTC Dataset identifiers and names</span><pre>$mla_iptc_records</pre></a></li>
146
  <li class="property private "><a href="#%24mla_list_table_items" title="$mla_list_table_items :: Cache the results of mla_count_list_table_items for reuse in mla_query_list_table_items"><span class="description">Cache the results of mla_count_list_table_items for reuse in mla_query_list_table_items</span><pre>$mla_list_table_items</pre></a></li>
 
 
147
  <li class="property private "><a href="#%24wp_4dot0_plus" title="$wp_4dot0_plus :: WordPress version test for $wpdb-&gt;esc_like() Vs esc_sql()"><span class="description">WordPress version test for $wpdb-&gt;esc_like() Vs esc_sql()</span><pre>$wp_4dot0_plus</pre></a></li>
148
  <li class="nav-header">
149
  <i class="icon-custom icon-constant"></i> Constants</li>
150
- <li class="constant "><a href="#MLA_ALT_TEXT_VIEW_SUFFIX" title="MLA_ALT_TEXT_VIEW_SUFFIX :: Provides a unique suffix for the ALT Text/custom field SQL View"><span class="description">Provides a unique suffix for the ALT Text/custom field SQL View</span><pre>MLA_ALT_TEXT_VIEW_SUFFIX</pre></a></li>
 
 
151
  </ul>
152
  </div>
153
  <div class="span8">
@@ -1702,8 +1706,9 @@ the "IPTC-NAA Information Interchange Model Version No. 4.1".</p></p>
1702
  The parameters are set up in the _prepare_list_table_query function, and
1703
  any further logic required to translate those values is contained in the filters.</p>
1704
 
1705
- <p>Array index values are: use_postmeta_view, postmeta_key, postmeta_value, patterns,
1706
- detached, orderby, order, mla-metavalue, debug (also in search_parameters)</p></p>
 
1707
  <table class="table table-bordered"><tr>
1708
  <th>since</th>
1709
  <td>0.30</td>
@@ -1788,7 +1793,7 @@ and mla_fetch_attachment_image_metadata</h2>
1788
  </div></div>
1789
  </div>
1790
  <a name="%24mla_alt_text_view" id="$mla_alt_text_view"> </a><div class="element clickable property private $mla_alt_text_view" data-toggle="collapse" data-target=".$mla_alt_text_view .collapse">
1791
- <h2>Provides a unique name for the ALT Text/custom field SQL View</h2>
1792
  <pre>$mla_alt_text_view : array</pre>
1793
  <div class="labels"></div>
1794
  <div class="row collapse"><div class="detail-description">
@@ -1877,6 +1882,30 @@ the "IPTC-NAA Information Interchange Model Version No. 4.1".</p></p>
1877
  </tr></table>
1878
  </div></div>
1879
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1880
  <a name="%24wp_4dot0_plus" id="$wp_4dot0_plus"> </a><div class="element clickable property private $wp_4dot0_plus" data-toggle="collapse" data-target=".$wp_4dot0_plus .collapse">
1881
  <h2>WordPress version test for $wpdb-&gt;esc_like() Vs esc_sql()</h2>
1882
  <pre>$wp_4dot0_plus : boolean</pre>
@@ -1892,15 +1921,41 @@ the "IPTC-NAA Information Interchange Model Version No. 4.1".</p></p>
1892
  <h3>
1893
  <i class="icon-custom icon-constant"></i> Constants</h3>
1894
  <a name="MLA_ALT_TEXT_VIEW_SUFFIX" id="MLA_ALT_TEXT_VIEW_SUFFIX"> </a><div class="element clickable constant MLA_ALT_TEXT_VIEW_SUFFIX" data-toggle="collapse" data-target=".MLA_ALT_TEXT_VIEW_SUFFIX .collapse">
1895
- <h2>Provides a unique suffix for the ALT Text/custom field SQL View</h2>
1896
  <pre>MLA_ALT_TEXT_VIEW_SUFFIX </pre>
1897
  <div class="labels"></div>
1898
  <div class="row collapse"><div class="detail-description">
 
 
 
 
 
 
 
 
 
 
 
 
 
1899
  <p class="long_description"><p>The SQL View is used to sort the Media/Assistant submenu table on
1900
  ALT Text and custom field columns.</p></p>
1901
  <table class="table table-bordered"><tr>
1902
  <th>since</th>
1903
- <td>0.40</td>
 
 
 
 
 
 
 
 
 
 
137
  <li class="property private "><a href="#%24mla_IPTC_EXIF_errors" title="$mla_IPTC_EXIF_errors :: Passes IPTC/EXIF parse errors between mla_IPTC_EXIF_error_handler
138
  and mla_fetch_attachment_image_metadata"><span class="description">Passes IPTC/EXIF parse errors between mla_IPTC_EXIF_error_handler
139
  and mla_fetch_attachment_image_metadata</span><pre>$mla_IPTC_EXIF_errors</pre></a></li>
140
+ <li class="property private "><a href="#%24mla_alt_text_view" title='$mla_alt_text_view :: Provides a unique name for the ALT Text "Search Media" SQL View'><span class="description">Provides a unique name for the ALT Text "Search Media" SQL View</span><pre>$mla_alt_text_view</pre></a></li>
141
  <li class="property private "><a href="#%24mla_galleries" title="$mla_galleries :: Objects containing [mla_gallery] shortcodes"><span class="description">Objects containing [mla_gallery] shortcodes</span><pre>$mla_galleries</pre></a></li>
142
  <li class="property private "><a href="#%24mla_iptc_descriptions" title="$mla_iptc_descriptions :: IPTC Dataset descriptions"><span class="description">IPTC Dataset descriptions</span><pre>$mla_iptc_descriptions</pre></a></li>
143
  <li class="property private "><a href="#%24mla_iptc_formats" title="$mla_iptc_formats :: IPTC file format identifiers and descriptions"><span class="description">IPTC file format identifiers and descriptions</span><pre>$mla_iptc_formats</pre></a></li>
144
  <li class="property private "><a href="#%24mla_iptc_image_types" title="$mla_iptc_image_types :: IPTC image type identifiers and descriptions"><span class="description">IPTC image type identifiers and descriptions</span><pre>$mla_iptc_image_types</pre></a></li>
145
  <li class="property private "><a href="#%24mla_iptc_records" title="$mla_iptc_records :: IPTC Dataset identifiers and names"><span class="description">IPTC Dataset identifiers and names</span><pre>$mla_iptc_records</pre></a></li>
146
  <li class="property private "><a href="#%24mla_list_table_items" title="$mla_list_table_items :: Cache the results of mla_count_list_table_items for reuse in mla_query_list_table_items"><span class="description">Cache the results of mla_count_list_table_items for reuse in mla_query_list_table_items</span><pre>$mla_list_table_items</pre></a></li>
147
+ <li class="property private "><a href="#%24mla_orderby_view" title='$mla_orderby_view :: Provides a unique name for the custom field "orderby" SQL View'><span class="description">Provides a unique name for the custom field "orderby" SQL View</span><pre>$mla_orderby_view</pre></a></li>
148
+ <li class="property private "><a href="#%24mla_table_view_custom" title='$mla_table_view_custom :: Provides a unique name for the "Table View custom:" SQL View'><span class="description">Provides a unique name for the "Table View custom:" SQL View</span><pre>$mla_table_view_custom</pre></a></li>
149
  <li class="property private "><a href="#%24wp_4dot0_plus" title="$wp_4dot0_plus :: WordPress version test for $wpdb-&gt;esc_like() Vs esc_sql()"><span class="description">WordPress version test for $wpdb-&gt;esc_like() Vs esc_sql()</span><pre>$wp_4dot0_plus</pre></a></li>
150
  <li class="nav-header">
151
  <i class="icon-custom icon-constant"></i> Constants</li>
152
+ <li class="constant "><a href="#MLA_ALT_TEXT_VIEW_SUFFIX" title='MLA_ALT_TEXT_VIEW_SUFFIX :: Provides a unique suffix for the ALT Text "Search Media" SQL View'><span class="description">Provides a unique suffix for the ALT Text "Search Media" SQL View</span><pre>MLA_ALT_TEXT_VIEW_SUFFIX</pre></a></li>
153
+ <li class="constant "><a href="#MLA_ORDERBY_VIEW_SUFFIX" title='MLA_ORDERBY_VIEW_SUFFIX :: Provides a unique suffix for the custom field "orderby" SQL View'><span class="description">Provides a unique suffix for the custom field "orderby" SQL View</span><pre>MLA_ORDERBY_VIEW_SUFFIX</pre></a></li>
154
+ <li class="constant "><a href="#MLA_TABLE_VIEW_CUSTOM_SUFFIX" title='MLA_TABLE_VIEW_CUSTOM_SUFFIX :: Provides a unique suffix for the "Table View custom:" SQL View'><span class="description">Provides a unique suffix for the "Table View custom:" SQL View</span><pre>MLA_TABLE_VIEW_CUSTOM_SUFFIX</pre></a></li>
155
  </ul>
156
  </div>
157
  <div class="span8">
1706
  The parameters are set up in the _prepare_list_table_query function, and
1707
  any further logic required to translate those values is contained in the filters.</p>
1708
 
1709
+ <p>Array index values are: use_alt_text_view, use_postmeta_view, use_orderby_view,
1710
+ alt_text_value, postmeta_key, postmeta_value, patterns, detached,
1711
+ orderby, order, mla-metavalue, debug (also in search_parameters)</p></p>
1712
  <table class="table table-bordered"><tr>
1713
  <th>since</th>
1714
  <td>0.30</td>
1793
  </div></div>
1794
  </div>
1795
  <a name="%24mla_alt_text_view" id="$mla_alt_text_view"> </a><div class="element clickable property private $mla_alt_text_view" data-toggle="collapse" data-target=".$mla_alt_text_view .collapse">
1796
+ <h2>Provides a unique name for the ALT Text "Search Media" SQL View</h2>
1797
  <pre>$mla_alt_text_view : array</pre>
1798
  <div class="labels"></div>
1799
  <div class="row collapse"><div class="detail-description">
1882
  </tr></table>
1883
  </div></div>
1884
  </div>
1885
+ <a name="%24mla_orderby_view" id="$mla_orderby_view"> </a><div class="element clickable property private $mla_orderby_view" data-toggle="collapse" data-target=".$mla_orderby_view .collapse">
1886
+ <h2>Provides a unique name for the custom field "orderby" SQL View</h2>
1887
+ <pre>$mla_orderby_view : array</pre>
1888
+ <div class="labels"></div>
1889
+ <div class="row collapse"><div class="detail-description">
1890
+ <p class="long_description"></p>
1891
+ <table class="table table-bordered"><tr>
1892
+ <th>since</th>
1893
+ <td>2.15</td>
1894
+ </tr></table>
1895
+ </div></div>
1896
+ </div>
1897
+ <a name="%24mla_table_view_custom" id="$mla_table_view_custom"> </a><div class="element clickable property private $mla_table_view_custom" data-toggle="collapse" data-target=".$mla_table_view_custom .collapse">
1898
+ <h2>Provides a unique name for the "Table View custom:" SQL View</h2>
1899
+ <pre>$mla_table_view_custom : array</pre>
1900
+ <div class="labels"></div>
1901
+ <div class="row collapse"><div class="detail-description">
1902
+ <p class="long_description"></p>
1903
+ <table class="table table-bordered"><tr>
1904
+ <th>since</th>
1905
+ <td>2.15</td>
1906
+ </tr></table>
1907
+ </div></div>
1908
+ </div>
1909
  <a name="%24wp_4dot0_plus" id="$wp_4dot0_plus"> </a><div class="element clickable property private $wp_4dot0_plus" data-toggle="collapse" data-target=".$wp_4dot0_plus .collapse">
1910
  <h2>WordPress version test for $wpdb-&gt;esc_like() Vs esc_sql()</h2>
1911
  <pre>$wp_4dot0_plus : boolean</pre>
1921
  <h3>
1922
  <i class="icon-custom icon-constant"></i> Constants</h3>
1923
  <a name="MLA_ALT_TEXT_VIEW_SUFFIX" id="MLA_ALT_TEXT_VIEW_SUFFIX"> </a><div class="element clickable constant MLA_ALT_TEXT_VIEW_SUFFIX" data-toggle="collapse" data-target=".MLA_ALT_TEXT_VIEW_SUFFIX .collapse">
1924
+ <h2>Provides a unique suffix for the ALT Text "Search Media" SQL View</h2>
1925
  <pre>MLA_ALT_TEXT_VIEW_SUFFIX </pre>
1926
  <div class="labels"></div>
1927
  <div class="row collapse"><div class="detail-description">
1928
+ <p class="long_description"><p>The SQL View is used to filter the Media/Assistant submenu table by
1929
+ ALT Text with the Search Media text box.</p></p>
1930
+ <table class="table table-bordered"><tr>
1931
+ <th>since</th>
1932
+ <td>0.40</td>
1933
+ </tr></table>
1934
+ </div></div>
1935
+ </div>
1936
+ <a name="MLA_ORDERBY_VIEW_SUFFIX" id="MLA_ORDERBY_VIEW_SUFFIX"> </a><div class="element clickable constant MLA_ORDERBY_VIEW_SUFFIX" data-toggle="collapse" data-target=".MLA_ORDERBY_VIEW_SUFFIX .collapse">
1937
+ <h2>Provides a unique suffix for the custom field "orderby" SQL View</h2>
1938
+ <pre>MLA_ORDERBY_VIEW_SUFFIX </pre>
1939
+ <div class="labels"></div>
1940
+ <div class="row collapse"><div class="detail-description">
1941
  <p class="long_description"><p>The SQL View is used to sort the Media/Assistant submenu table on
1942
  ALT Text and custom field columns.</p></p>
1943
  <table class="table table-bordered"><tr>
1944
  <th>since</th>
1945
+ <td>2.15</td>
1946
+ </tr></table>
1947
+ </div></div>
1948
+ </div>
1949
+ <a name="MLA_TABLE_VIEW_CUSTOM_SUFFIX" id="MLA_TABLE_VIEW_CUSTOM_SUFFIX"> </a><div class="element clickable constant MLA_TABLE_VIEW_CUSTOM_SUFFIX" data-toggle="collapse" data-target=".MLA_TABLE_VIEW_CUSTOM_SUFFIX .collapse">
1950
+ <h2>Provides a unique suffix for the "Table View custom:" SQL View</h2>
1951
+ <pre>MLA_TABLE_VIEW_CUSTOM_SUFFIX </pre>
1952
+ <div class="labels"></div>
1953
+ <div class="row collapse"><div class="detail-description">
1954
+ <p class="long_description"><p>The SQL View is used to filter the Media/Assistant submenu table on
1955
+ custom field Table View