Version Description
- Added link to collapse Attachments to make sorting easier
- Fixes PHP Notice on installation
- Fixes illegal offset error on PHP7
- Added Dutch translation
Download this release
Release Info
Developer | jchristopher |
Plugin | Attachments |
Version | 3.5.9 |
Comparing to | |
See all releases |
Code changes from version 3.5.7 to 3.5.9
- README.md +2 -2
- classes/class.attachments.migrate.php +10 -6
- classes/class.attachments.php +1 -1
- css/attachments.css +17 -1
- docs/changelog.md +2 -0
- docs/usage.md +1 -1
- humans.txt +5 -6
- index.php +11 -9
- js/attachments.js +20 -1
- languages/attachments-nl_NL.mo +0 -0
- languages/attachments-nl_NL.po +336 -0
- readme.txt +11 -2
README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
This is a WordPress plugin. [Official download available on WordPress.org](
|
2 |
|
3 |
# Attachments
|
4 |
|
@@ -34,4 +34,4 @@ This is an Attachments Instance on a Post edit screen. The fields are fully cust
|
|
34 |
|
35 |
![Attachments on an edit screen](http://mondaybynoon.com/images/attachments/main.png)
|
36 |
|
37 |
-
[View other Screenshots](docs/screenshots.md)
|
1 |
+
This is a WordPress plugin. [Official download available on WordPress.org](https://wordpress.org/plugins/attachments/).
|
2 |
|
3 |
# Attachments
|
4 |
|
34 |
|
35 |
![Attachments on an edit screen](http://mondaybynoon.com/images/attachments/main.png)
|
36 |
|
37 |
+
[View other Screenshots](docs/screenshots.md)
|
classes/class.attachments.migrate.php
CHANGED
@@ -329,7 +329,7 @@ class AttachmentsMigrate extends Attachments {
|
|
329 |
$fields = array(<?php if( is_array( $attachments_pro_instance['fields'] ) ) : foreach( $attachments_pro_instance['fields'] as $field ) : if( $field['type'] == 'textfield' ) { $field['type'] = 'text'; } ?>
|
330 |
|
331 |
array(
|
332 |
-
'name' => '<?php echo esc_html(
|
333 |
'type' => '<?php echo esc_html( $field['type'] ); ?>',
|
334 |
'label' => '<?php echo esc_html( $field['label'] ); ?>',
|
335 |
'default' => '<?php echo isset( $field['mapped_to'] ) ? esc_html( $field['mapped_to'] ) : ''; ?>',
|
@@ -747,7 +747,7 @@ EOD;
|
|
747 |
Source: <?php echo $attachments->src( 'full' ); ?><br />
|
748 |
Size: <?php echo $attachments->filesize(); ?><br /><?php if( is_array( $attachments_pro_instance['fields'] ) ) : ?><?php foreach( $attachments_pro_instance['fields'] as $field ) : ?><?php if( $field['type'] == 'textfield' ) { $field['type'] = 'text'; } ?>
|
749 |
|
750 |
-
<?php echo $field['label']; ?>: <?php echo $attachments->field( '<?php echo esc_html(
|
751 |
|
752 |
</li>
|
753 |
<?php endwhile; ?>
|
@@ -797,6 +797,9 @@ EOD;
|
|
797 |
|
798 |
$post_types = get_post_types();
|
799 |
|
|
|
|
|
|
|
800 |
// set up our WP_Query args to grab anything (really anything) with legacy data
|
801 |
$args = array(
|
802 |
'post_type' => !empty( $post_types ) ? $post_types : array( 'post', 'page' ),
|
@@ -808,7 +811,7 @@ EOD;
|
|
808 |
|
809 |
$query = new WP_Query( $args );
|
810 |
|
811 |
-
$count = array( 'instance' => $
|
812 |
|
813 |
if( $query )
|
814 |
{
|
@@ -827,10 +830,11 @@ EOD;
|
|
827 |
$post_attachments = array();
|
828 |
foreach( $existing_instances as $instance_name => $instance_attachments )
|
829 |
{
|
830 |
-
if( $instance_name == $
|
831 |
{
|
832 |
$post_attachments[$instance_name] = array();
|
833 |
$converted_attachment = array();
|
|
|
834 |
foreach( $instance_attachments as $instance_attachment )
|
835 |
{
|
836 |
$converted_attachment['id'] = $instance_attachment['id'];
|
@@ -839,8 +843,8 @@ EOD;
|
|
839 |
$converted_attachment['fields'] = array();
|
840 |
foreach( $instance_attachment['fields'] as $instance_attachment_field_key => $instance_attachment_field )
|
841 |
{
|
842 |
-
$destination_field_name = $
|
843 |
-
$destination_field_name =
|
844 |
|
845 |
$converted_attachment['fields'][$destination_field_name] = $instance_attachment_field;
|
846 |
}
|
329 |
$fields = array(<?php if( is_array( $attachments_pro_instance['fields'] ) ) : foreach( $attachments_pro_instance['fields'] as $field ) : if( $field['type'] == 'textfield' ) { $field['type'] = 'text'; } ?>
|
330 |
|
331 |
array(
|
332 |
+
'name' => '<?php echo esc_html( str_replace( '-', '_', sanitize_title( $field['label'] ) ) ); ?>',
|
333 |
'type' => '<?php echo esc_html( $field['type'] ); ?>',
|
334 |
'label' => '<?php echo esc_html( $field['label'] ); ?>',
|
335 |
'default' => '<?php echo isset( $field['mapped_to'] ) ? esc_html( $field['mapped_to'] ) : ''; ?>',
|
747 |
Source: <?php echo $attachments->src( 'full' ); ?><br />
|
748 |
Size: <?php echo $attachments->filesize(); ?><br /><?php if( is_array( $attachments_pro_instance['fields'] ) ) : ?><?php foreach( $attachments_pro_instance['fields'] as $field ) : ?><?php if( $field['type'] == 'textfield' ) { $field['type'] = 'text'; } ?>
|
749 |
|
750 |
+
<?php echo $field['label']; ?>: <?php echo $attachments->field( '<?php echo esc_html( str_replace( '-', '_', sanitize_title( $field['label'] ) ) ); ?>' ); ?><br /><?php endforeach; endif; ?>
|
751 |
|
752 |
</li>
|
753 |
<?php endwhile; ?>
|
797 |
|
798 |
$post_types = get_post_types();
|
799 |
|
800 |
+
$instance_name = $instance['name'];
|
801 |
+
$instance_fields = $instance['fields'];
|
802 |
+
|
803 |
// set up our WP_Query args to grab anything (really anything) with legacy data
|
804 |
$args = array(
|
805 |
'post_type' => !empty( $post_types ) ? $post_types : array( 'post', 'page' ),
|
811 |
|
812 |
$query = new WP_Query( $args );
|
813 |
|
814 |
+
$count = array( 'instance' => $instance_name, 'total' => 0 );
|
815 |
|
816 |
if( $query )
|
817 |
{
|
830 |
$post_attachments = array();
|
831 |
foreach( $existing_instances as $instance_name => $instance_attachments )
|
832 |
{
|
833 |
+
if( $instance_name == $instance_name )
|
834 |
{
|
835 |
$post_attachments[$instance_name] = array();
|
836 |
$converted_attachment = array();
|
837 |
+
|
838 |
foreach( $instance_attachments as $instance_attachment )
|
839 |
{
|
840 |
$converted_attachment['id'] = $instance_attachment['id'];
|
843 |
$converted_attachment['fields'] = array();
|
844 |
foreach( $instance_attachment['fields'] as $instance_attachment_field_key => $instance_attachment_field )
|
845 |
{
|
846 |
+
$destination_field_name = $instance_fields[$instance_attachment_field_key]['label'];
|
847 |
+
$destination_field_name = str_replace( '-', '_', sanitize_title( $destination_field_name ) );
|
848 |
|
849 |
$converted_attachment['fields'][$destination_field_name] = $instance_attachment_field;
|
850 |
}
|
classes/class.attachments.php
CHANGED
@@ -1322,7 +1322,7 @@ if ( ! class_exists( 'Attachments' ) ) :
|
|
1322 |
// since attributes can change over time (image gets replaced, cropped, etc.) we'll pull that info
|
1323 |
if ( isset( $attachment->id ) ) {
|
1324 |
// we'll just use the full size since that's what Media in 3.5 uses
|
1325 |
-
$attachment_meta = wp_get_attachment_metadata( $attachment->id );
|
1326 |
|
1327 |
// only images return the 'file' key
|
1328 |
if ( ! isset( $attachment_meta['file'] ) ) {
|
1322 |
// since attributes can change over time (image gets replaced, cropped, etc.) we'll pull that info
|
1323 |
if ( isset( $attachment->id ) ) {
|
1324 |
// we'll just use the full size since that's what Media in 3.5 uses
|
1325 |
+
$attachment_meta = (array)wp_get_attachment_metadata( $attachment->id );
|
1326 |
|
1327 |
// only images return the 'file' key
|
1328 |
if ( ! isset( $attachment_meta['file'] ) ) {
|
css/attachments.css
CHANGED
@@ -300,4 +300,20 @@ a.attachments-invoke {
|
|
300 |
|
301 |
.attachment-details .delete-attachment {
|
302 |
float:right;
|
303 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
300 |
|
301 |
.attachment-details .delete-attachment {
|
302 |
float:right;
|
303 |
+
}
|
304 |
+
|
305 |
+
.attachments-container {
|
306 |
+
position: relative;
|
307 |
+
}
|
308 |
+
|
309 |
+
.attachments-toggler {
|
310 |
+
display: block;
|
311 |
+
position: absolute;
|
312 |
+
top: 0;
|
313 |
+
right: 0;
|
314 |
+
cursor: pointer;
|
315 |
+
}
|
316 |
+
|
317 |
+
.attachments-toggler:only-child {
|
318 |
+
display: none;
|
319 |
+
}
|
docs/changelog.md
CHANGED
@@ -3,6 +3,8 @@ This is a WordPress plugin. [Official download available on WordPress.org](http:
|
|
3 |
## [Docs TOC](TOC.md) / Changelog
|
4 |
|
5 |
<dl>
|
|
|
|
|
6 |
<dt>3.5.7</dt>
|
7 |
<dd>Fixed a regression that prevented attaching multiple files at once</dd>
|
8 |
<dt>3.5.6</dt>
|
3 |
## [Docs TOC](TOC.md) / Changelog
|
4 |
|
5 |
<dl>
|
6 |
+
<dt>3.5.8</dt>
|
7 |
+
<dd>Fixed a potential issue when migrating from Attachments Pro</dd>
|
8 |
<dt>3.5.7</dt>
|
9 |
<dd>Fixed a regression that prevented attaching multiple files at once</dd>
|
10 |
<dt>3.5.6</dt>
|
docs/usage.md
CHANGED
@@ -9,7 +9,7 @@ Attachments is based on *instances* which correlate directly with the meta boxes
|
|
9 |
Attachments ships with a `Settings` screen (found under the `Settings` menu in the main WordPress admin navigation) that facilitates data migration from version 1.x and also offers some code snippets. If you would like to *disable the Settings screen* add the following to your `wp-config.php` *before* `require_once(ABSPATH . 'wp-settings.php');`
|
10 |
|
11 |
```php
|
12 |
-
|
13 |
```
|
14 |
|
15 |
### Setting Up Instances
|
9 |
Attachments ships with a `Settings` screen (found under the `Settings` menu in the main WordPress admin navigation) that facilitates data migration from version 1.x and also offers some code snippets. If you would like to *disable the Settings screen* add the following to your `wp-config.php` *before* `require_once(ABSPATH . 'wp-settings.php');`
|
10 |
|
11 |
```php
|
12 |
+
define( 'ATTACHMENTS_SETTINGS_SCREEN', false ); // disable the Settings screen
|
13 |
```
|
14 |
|
15 |
### Setting Up Instances
|
humans.txt
CHANGED
@@ -1,16 +1,15 @@
|
|
1 |
/* TEAM */
|
2 |
Name: Jonathan Christopher
|
3 |
-
Site:
|
4 |
-
Title:
|
5 |
Twitter: @jchristopher
|
6 |
-
|
7 |
-
Location: Troy, NY, USA
|
8 |
|
9 |
/* THANKS */
|
10 |
JR Tashjian http://jrtashjian.com
|
11 |
|
12 |
/* META */
|
13 |
-
Updated:
|
14 |
Standards: HTML5, CSS3
|
15 |
Components: WordPress, jQuery, Underscore.js, Backbone.js
|
16 |
-
Software: Sublime Text
|
1 |
/* TEAM */
|
2 |
Name: Jonathan Christopher
|
3 |
+
Site: https://mondaybynoon.com
|
4 |
+
Title: Developer
|
5 |
Twitter: @jchristopher
|
6 |
+
Location: New York, USA
|
|
|
7 |
|
8 |
/* THANKS */
|
9 |
JR Tashjian http://jrtashjian.com
|
10 |
|
11 |
/* META */
|
12 |
+
Updated: 10/10/2017
|
13 |
Standards: HTML5, CSS3
|
14 |
Components: WordPress, jQuery, Underscore.js, Backbone.js
|
15 |
+
Software: Sublime Text
|
index.php
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
* Description: Attachments gives the ability to append any number of Media Library items to Pages, Posts, and Custom Post Types
|
7 |
* Author: Jonathan Christopher
|
8 |
* Author URI: http://mondaybynoon.com/
|
9 |
-
* Version: 3.5.
|
10 |
* Text Domain: attachments
|
11 |
* Domain Path: /languages/
|
12 |
* License: GPLv2 or later
|
@@ -15,16 +15,18 @@
|
|
15 |
|
16 |
// Exit if accessed directly
|
17 |
if ( ! defined( 'ABSPATH' ) ) {
|
18 |
-
|
19 |
}
|
20 |
|
21 |
-
|
22 |
-
|
23 |
-
|
|
|
|
|
24 |
} else {
|
25 |
-
|
26 |
-
|
27 |
|
28 |
-
|
29 |
-
|
30 |
}
|
6 |
* Description: Attachments gives the ability to append any number of Media Library items to Pages, Posts, and Custom Post Types
|
7 |
* Author: Jonathan Christopher
|
8 |
* Author URI: http://mondaybynoon.com/
|
9 |
+
* Version: 3.5.9
|
10 |
* Text Domain: attachments
|
11 |
* Domain Path: /languages/
|
12 |
* License: GPLv2 or later
|
15 |
|
16 |
// Exit if accessed directly
|
17 |
if ( ! defined( 'ABSPATH' ) ) {
|
18 |
+
exit;
|
19 |
}
|
20 |
|
21 |
+
$wp_version = get_bloginfo( 'version' );
|
22 |
+
|
23 |
+
if ( ( defined( 'ATTACHMENTS_LEGACY' ) && ATTACHMENTS_LEGACY === true ) || version_compare( $wp_version, '3.5', '<' ) ) {
|
24 |
+
// load deprecated version of Attachments
|
25 |
+
require_once dirname( __FILE__ ) . '/deprecated/attachments.php';
|
26 |
} else {
|
27 |
+
define( 'ATTACHMENTS_DIR', plugin_dir_path( __FILE__ ) );
|
28 |
+
define( 'ATTACHMENTS_URL', plugin_dir_url( __FILE__ ) );
|
29 |
|
30 |
+
// load current version of Attachments
|
31 |
+
require_once dirname( __FILE__ ) . '/classes/class.attachments.php';
|
32 |
}
|
js/attachments.js
CHANGED
@@ -96,4 +96,23 @@ jQuery(document).ready(function($){
|
|
96 |
$(this).parents('.attachments-attachment').find('.attachments-fields').toggle();
|
97 |
return false;
|
98 |
});
|
99 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
96 |
$(this).parents('.attachments-attachment').find('.attachments-fields').toggle();
|
97 |
return false;
|
98 |
});
|
99 |
+
$('.attachments-container').each(function(){
|
100 |
+
$(this).append('<span class="attachments-toggler">Collapse</span>');
|
101 |
+
});
|
102 |
+
$('body').on('click', '.attachments-toggler', function(e) {
|
103 |
+
e.stopPropagation();
|
104 |
+
var $this = $(this);
|
105 |
+
var $parent = $this.parents('.postbox');
|
106 |
+
var $attachments = $parent.find('.attachments-attachment');
|
107 |
+
if(!$parent.data('collapsed')){
|
108 |
+
$attachments.find('.attachments-fields').height(105)
|
109 |
+
$parent.data('collapsed', true);
|
110 |
+
$this.text('Expand');
|
111 |
+
} else {
|
112 |
+
$attachments.find('.attachments-fields').css('height','');
|
113 |
+
$parent.data('collapsed', false);
|
114 |
+
$this.text('Collapse');
|
115 |
+
}
|
116 |
+
return false;
|
117 |
+
});
|
118 |
+
});
|
languages/attachments-nl_NL.mo
ADDED
Binary file
|
languages/attachments-nl_NL.po
ADDED
@@ -0,0 +1,336 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: attachments-0.1\n"
|
4 |
+
"POT-Creation-Date: 2013-04-10 01:55+0100\n"
|
5 |
+
"PO-Revision-Date: 2016-01-11 16:33+0100\n"
|
6 |
+
"MIME-Version: 1.0\n"
|
7 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
+
"Content-Transfer-Encoding: 8bit\n"
|
9 |
+
"X-Generator: Poedit 1.8.6\n"
|
10 |
+
"X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e;_n:1,2;_n_noop:1,2;"
|
11 |
+
"_nx:1,2;_nx_noop:1,2\n"
|
12 |
+
"X-Poedit-Basepath: .\n"
|
13 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
14 |
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
15 |
+
"Language-Team: \n"
|
16 |
+
"Last-Translator: Dennis Hunink <dennishunink@me.com>\n"
|
17 |
+
"Language: nl\n"
|
18 |
+
"X-Poedit-SearchPath-0: ..\n"
|
19 |
+
"X-Poedit-SearchPath-1: ../views\n"
|
20 |
+
"X-Poedit-SearchPath-2: ../classes\n"
|
21 |
+
"X-Poedit-SearchPath-3: ../classes/fields\n"
|
22 |
+
"X-Poedit-SearchPath-4: ..\n"
|
23 |
+
|
24 |
+
#: ../index.php:30
|
25 |
+
msgid ""
|
26 |
+
"Attachments requires PHP 5.2+. Attachments has been automatically "
|
27 |
+
"deactivated."
|
28 |
+
msgstr ""
|
29 |
+
"Attachments vereist PHP 5.2 of nieuw. Attachments is automatisch "
|
30 |
+
"uitgeschakeld."
|
31 |
+
|
32 |
+
#: ../classes/class.attachments.legacy.php:112
|
33 |
+
msgid ""
|
34 |
+
"<strong>Attachments has detected legacy Attachments data.</strong> A lot has "
|
35 |
+
"changed since Attachments 1.x."
|
36 |
+
msgstr ""
|
37 |
+
"<strong>Attachments heeft verouderde Attachments data gevonden.</strong> Er "
|
38 |
+
"is een een heleboel veranderd sinds versie 1.x."
|
39 |
+
|
40 |
+
#: ../classes/class.attachments.legacy.php:112
|
41 |
+
msgid "Find out more"
|
42 |
+
msgstr "Meer te weten komen"
|
43 |
+
|
44 |
+
#: ../classes/class.attachments.migrate.php:162
|
45 |
+
#: ../classes/class.attachments.migrate.php:218 ../views/options.php:13
|
46 |
+
msgid "Invalid request"
|
47 |
+
msgstr "Ongeldig verzoek"
|
48 |
+
|
49 |
+
#: ../classes/class.attachments.migrate.php:164
|
50 |
+
msgid "Migration Step 1"
|
51 |
+
msgstr "Migratie stap 1"
|
52 |
+
|
53 |
+
#: ../classes/class.attachments.migrate.php:165
|
54 |
+
msgid ""
|
55 |
+
"In order to migrate Attachments 1.x data, you need to set which instance and "
|
56 |
+
"fields in version 3.0+ you'd like to use:"
|
57 |
+
msgstr ""
|
58 |
+
"Om Attachments 1.x data te migreren moet je aangeven welke instance en "
|
59 |
+
"velden van versie 3.0+ je wilt gebruiken: "
|
60 |
+
|
61 |
+
#: ../classes/class.attachments.migrate.php:174
|
62 |
+
msgid "Attachments 3.x Instance"
|
63 |
+
msgstr "Attachments 3.x Instance"
|
64 |
+
|
65 |
+
#: ../classes/class.attachments.migrate.php:178
|
66 |
+
msgid "The instance name you would like to use in the migration. Required."
|
67 |
+
msgstr "De naam van de instance die je wilt migreren. Verplicht."
|
68 |
+
|
69 |
+
#: ../classes/class.attachments.migrate.php:183
|
70 |
+
msgid "Attachments 3.x Title"
|
71 |
+
msgstr "Attachments 3.x Titel"
|
72 |
+
|
73 |
+
#: ../classes/class.attachments.migrate.php:187
|
74 |
+
msgid ""
|
75 |
+
"The <code>Title</code> field data will be migrated to this field name in "
|
76 |
+
"Attachments 3.x. Leave empty to disregard."
|
77 |
+
msgstr ""
|
78 |
+
"De data van het <code>Titel</code> veld zal worden gemigreerd naar deze "
|
79 |
+
"veldnaam in Attachments 3.x. Laat leeg om te negeren."
|
80 |
+
|
81 |
+
#: ../classes/class.attachments.migrate.php:192
|
82 |
+
msgid "Attachments 3.x Caption"
|
83 |
+
msgstr "Attachments 3.x onderschrift"
|
84 |
+
|
85 |
+
#: ../classes/class.attachments.migrate.php:196
|
86 |
+
msgid ""
|
87 |
+
"The <code>Caption</code> field data will be migrated to this field name in "
|
88 |
+
"Attachments 3.x. Leave empty to disregard."
|
89 |
+
msgstr ""
|
90 |
+
"De data van het <code>Onderschrift</code> veld zal worden gemigreerd naar "
|
91 |
+
"deze veldnaam in Attachments 3.x. Laat leeg om te negeren."
|
92 |
+
|
93 |
+
#: ../classes/class.attachments.migrate.php:224
|
94 |
+
msgid "Migration Complete!"
|
95 |
+
msgstr "Migratie voltooid!"
|
96 |
+
|
97 |
+
#: ../classes/class.attachments.migrate.php:225
|
98 |
+
msgid "The migration has completed."
|
99 |
+
msgstr "De migratie is voltooid."
|
100 |
+
|
101 |
+
#: ../classes/class.attachments.migrate.php:225
|
102 |
+
msgid "Migrated"
|
103 |
+
msgstr "Gemigreerd"
|
104 |
+
|
105 |
+
#: ../classes/class.attachments.migrate.php:227
|
106 |
+
msgid "Migration has already Run!"
|
107 |
+
msgstr "Migratie is al uitgevoerd!"
|
108 |
+
|
109 |
+
#: ../classes/class.attachments.migrate.php:228
|
110 |
+
msgid ""
|
111 |
+
"The migration has already been run. The migration process has not been "
|
112 |
+
"repeated."
|
113 |
+
msgstr ""
|
114 |
+
"De migratie is al een keer uitgevoerd. Het migratie proces dient niet "
|
115 |
+
"meermaals uitgevoerd te worden."
|
116 |
+
|
117 |
+
#: ../classes/class.attachments.php:769 ../classes/class.attachments.php:843
|
118 |
+
#: ../deprecated/attachments.php:365 ../languages/class.attachments.php:769
|
119 |
+
#: ../languages/class.attachments.php:843
|
120 |
+
msgid "Title"
|
121 |
+
msgstr "Titel"
|
122 |
+
|
123 |
+
#: ../classes/class.attachments.php:805 ../classes/class.attachments.php:1524
|
124 |
+
#: ../deprecated/attachments.php:417 ../languages/class.attachments.php:805
|
125 |
+
#: ../languages/class.attachments.php:1524 ../views/options.php:24
|
126 |
+
msgid "Attachments"
|
127 |
+
msgstr "Bijlagen"
|
128 |
+
|
129 |
+
#: ../classes/class.attachments.php:830 ../classes/class.attachments.php:833
|
130 |
+
#: ../deprecated/attachments.php:312 ../languages/class.attachments.php:830
|
131 |
+
#: ../languages/class.attachments.php:833
|
132 |
+
msgid "Attach"
|
133 |
+
msgstr "Voeg toe"
|
134 |
+
|
135 |
+
#: ../classes/class.attachments.php:849 ../deprecated/attachments.php:369
|
136 |
+
#: ../languages/class.attachments.php:849
|
137 |
+
msgid "Caption"
|
138 |
+
msgstr "Bijschrift"
|
139 |
+
|
140 |
+
#: ../classes/class.attachments.php:1100
|
141 |
+
#: ../languages/class.attachments.php:1100
|
142 |
+
msgid "Remove"
|
143 |
+
msgstr "Verwijder"
|
144 |
+
|
145 |
+
#: ../classes/class.attachments.php:1101
|
146 |
+
#: ../languages/class.attachments.php:1101
|
147 |
+
msgid "Toggle Fields"
|
148 |
+
msgstr "Velden tonen/verbergen"
|
149 |
+
|
150 |
+
#: ../deprecated/attachments.php:51
|
151 |
+
msgid ""
|
152 |
+
"Attachments requires PHP 5.2 or higher, as does WordPress 3.2+. Attachments "
|
153 |
+
"has been automatically deactivated."
|
154 |
+
msgstr ""
|
155 |
+
"Attachments vereist PHP 5.2 of nieuwer, net zoals Wordpress 3.2+. "
|
156 |
+
"Attachments is automatisch gedeactiveerd."
|
157 |
+
|
158 |
+
#: ../deprecated/attachments.php:361
|
159 |
+
msgid "Delete"
|
160 |
+
msgstr "Verwijderen"
|
161 |
+
|
162 |
+
#: ../views/options.php:29
|
163 |
+
msgid ""
|
164 |
+
"<strong>Attachments has changed significantly since it's last update.</"
|
165 |
+
"strong> These changes <em>will affect your themes and plugins</em>."
|
166 |
+
msgstr ""
|
167 |
+
"<strong>Attachments is behoorlijk veranderd sinds de laatste update.</"
|
168 |
+
"strong> Deze aanpassingen hebben <em>flinke</em> invloed op je thema’s en "
|
169 |
+
"plugins."
|
170 |
+
|
171 |
+
#: ../views/options.php:32
|
172 |
+
msgid "Immediate Reversal to Attachments 1.x"
|
173 |
+
msgstr "Direct teruggaan naar Attachments 1.x"
|
174 |
+
|
175 |
+
#: ../views/options.php:34
|
176 |
+
msgid ""
|
177 |
+
"If you would like to immediately <em>revert to the old version of "
|
178 |
+
"Attachments</em> you may do so by downgrading the plugin install itself, or "
|
179 |
+
"adding the following to your"
|
180 |
+
msgstr ""
|
181 |
+
"Als je direct terug wilt gaan naar de <em>oude versie van Attachments</em> "
|
182 |
+
"dan kan dat door de plugin te downgraden of door het volgende toe te voegen "
|
183 |
+
"aan je"
|
184 |
+
|
185 |
+
#: ../views/options.php:38
|
186 |
+
msgid "Overview of changes from Attachments 1.x"
|
187 |
+
msgstr "Overzicht van de veranderingen sinds Attachments 1.x"
|
188 |
+
|
189 |
+
#: ../views/options.php:40
|
190 |
+
msgid ""
|
191 |
+
"A lot has changed since Attachments 1.x. The entire codebase was rewritten "
|
192 |
+
"to not only make better use of the stellar Media updates in WordPress 3.5, "
|
193 |
+
"but to also facilitate some exciting features coming down the line. With "
|
194 |
+
"this rewrite came significant changes to the way you will work with "
|
195 |
+
"Attachments. One of the biggest changes in Attachments 3.0 is the ability to "
|
196 |
+
"create multiple meta boxes of Attachments, each with any number of custom "
|
197 |
+
"fields you define. By default, Attachments will re-implement the meta box "
|
198 |
+
"you've been using until now, but <strong>you will need to trigger a "
|
199 |
+
"migration to the new format</strong>."
|
200 |
+
msgstr ""
|
201 |
+
"Er is een hoop veranderd sinds Attachments 1.x. De volledig code is "
|
202 |
+
"herschreven om zo optimaal mogelijk gebruik te maken van de Media updates "
|
203 |
+
"van WordPress 3.5 en om een aantal nieuwe toepassingen mogelijk te maken. "
|
204 |
+
"Doordat de code helemaal is herschreven, is de manier waarop je werkt met "
|
205 |
+
"Attachments flink anders geworden. Misschien wel de meest belangrijke "
|
206 |
+
"verandering is de mogelijkheid om meerdere meta-boxes voor Attachments toe "
|
207 |
+
"te voegen, waarbij elke meta-box zijn eigen velden kan hebben. De "
|
208 |
+
"Attachments plugin zal standaard de meta-box die je nu gebruikt opnieuw "
|
209 |
+
"toepassen, maar je <strong>moet daarvoor wel eenmalig een migratieproces "
|
210 |
+
"starten</strong> om alle data aan te passen naar het nieuwe formaat."
|
211 |
+
|
212 |
+
#: ../views/options.php:42
|
213 |
+
msgid "Migrating Attachments 1.x data to Attachments 3.x"
|
214 |
+
msgstr "Attachments 1.x data aan het migreren naar Attachments 3.x"
|
215 |
+
|
216 |
+
#: ../views/options.php:44
|
217 |
+
msgid ""
|
218 |
+
"If you have existing Attachments 1.x data and are using it, a migration "
|
219 |
+
"script has been bundled here and you can use it below. If you would like to "
|
220 |
+
"directly migrate from Attachments 1.x to Attachments 3.x you can use the "
|
221 |
+
"defaults put in place and your data will be migrated to the new format "
|
222 |
+
"quickly and easily. Alternatively, if you'd like to customize the fields "
|
223 |
+
"you're using a bit, you can do that first and then adjust the migration "
|
224 |
+
"parameters to map the old fields to your new ones."
|
225 |
+
msgstr ""
|
226 |
+
"Mocht je al Attachments 1.x data hebben die je gebruikt dan kun je gebruik "
|
227 |
+
"maken van het migratie script dat hieronder beschikbaar is. Als je direct "
|
228 |
+
"wil migreren van Attachments 1.x naar Attachments 3.x dan kun je de "
|
229 |
+
"standaard waarden gebruiken. Je data wordt dan eenvoudig en snel omgezet "
|
230 |
+
"naar het nieuwe formaat. Je kunt er echter ook voor kiezen om de velden die "
|
231 |
+
"je gebruikt aan te passen. In dat geval pas je hieronder de migratie "
|
232 |
+
"instellingen aan zodat je oude velden worden omgezet naar nieuwe."
|
233 |
+
|
234 |
+
#: ../views/options.php:46
|
235 |
+
msgid "Setting up Instances"
|
236 |
+
msgstr "Instances gebruiken"
|
237 |
+
|
238 |
+
#: ../views/options.php:48
|
239 |
+
msgid ""
|
240 |
+
"Attachments 3.0 ships with what are called <em>instances</em>. An instance "
|
241 |
+
"is equivalent to a meta box on an edit screen and it has a number of "
|
242 |
+
"properties you can customize. Please read the README for more information."
|
243 |
+
msgstr ""
|
244 |
+
"Attachments 3.0 werkt op basis van zogenaamde <em>instances</em>. Een enkele "
|
245 |
+
"instance komt overeen met een metabox zoals je die ziet in het scherm waarin "
|
246 |
+
"je berichten en pagina’s bewerkt. Elke instance heeft een reeks "
|
247 |
+
"eigenschappen die je naar eigen inzicht kunt aanpassen. Lees het README "
|
248 |
+
"bestand voor meer informatie."
|
249 |
+
|
250 |
+
#: ../views/options.php:48 ../views/options.php:52
|
251 |
+
msgid "Additinoal instructions"
|
252 |
+
msgstr "Overige instructies"
|
253 |
+
|
254 |
+
#: ../views/options.php:50
|
255 |
+
msgid "Retrieving Attachments in your theme"
|
256 |
+
msgstr "Bijlagen tonen in een thema"
|
257 |
+
|
258 |
+
#: ../views/options.php:52
|
259 |
+
msgid ""
|
260 |
+
"As always has been the case with Attachments, editing your theme files is "
|
261 |
+
"required. The syntax to do so has changed in Attachments 3.0. Please read the"
|
262 |
+
msgstr ""
|
263 |
+
"Het is noodzakelijk om de bestanden van je thema aan te passen, zoals dat "
|
264 |
+
"altijd al zo is geweest bij het gebruik van Attachments. De manier waarop je "
|
265 |
+
"die aanpassingen doet is echter wel veranderd sinds versie 3.0. Lees "
|
266 |
+
"alsjeblieft de documentatie."
|
267 |
+
|
268 |
+
#: ../views/options.php:85
|
269 |
+
msgid "Migrate legacy Attachments data"
|
270 |
+
msgstr "Migreer verouderde Attachments data"
|
271 |
+
|
272 |
+
#: ../views/options.php:86
|
273 |
+
msgid ""
|
274 |
+
"Attachments has found records from version 1.x. Would you like to migrate "
|
275 |
+
"them to version 3?"
|
276 |
+
msgstr ""
|
277 |
+
"Attachments heeft data gevonden van v1.x. Wil je deze data migreren naar "
|
278 |
+
"versie 3?"
|
279 |
+
|
280 |
+
#: ../views/options.php:87
|
281 |
+
msgid "Migrate legacy data"
|
282 |
+
msgstr "Migreer verouderde data"
|
283 |
+
|
284 |
+
#: ../views/options.php:89
|
285 |
+
msgid "You have already migrated your legacy Attachments data."
|
286 |
+
msgstr "Je hebt de verouderde data al gemigreerd."
|
287 |
+
|
288 |
+
#: ../views/options.php:92
|
289 |
+
msgid "Revert to version 1.x"
|
290 |
+
msgstr "Terug naar versie 1.x"
|
291 |
+
|
292 |
+
#: ../views/options.php:93
|
293 |
+
msgid ""
|
294 |
+
"If you would like to forcefully revert to the 1.x version branch of "
|
295 |
+
"Attachments, add the following to your"
|
296 |
+
msgstr ""
|
297 |
+
"Mocht je geforceerd terug willen naar versie 1.x van Attachments, voeg dan "
|
298 |
+
"het volgende toe"
|
299 |
+
|
300 |
+
#: ../views/options.php:95
|
301 |
+
msgid "Meta box customization"
|
302 |
+
msgstr "Meta-box aanpassingen"
|
303 |
+
|
304 |
+
#: ../views/options.php:96
|
305 |
+
msgid ""
|
306 |
+
"By default, Attachments implements a single meta box on Posts and Pages with "
|
307 |
+
"two fields. You can disable this default instance by adding the following to "
|
308 |
+
"your"
|
309 |
+
msgstr ""
|
310 |
+
"Attachments voegt standaard een meta-box toe aan je Berichten en Pagina’s "
|
311 |
+
"bewerk pagina. Deze meta-box heeft standaard twee velden. Je kunt deze "
|
312 |
+
"standaard meta-box uitschakelen door het volgende toe te voegen"
|
313 |
+
|
314 |
+
#: ../views/options.php:98
|
315 |
+
msgid ""
|
316 |
+
"Your Attachments meta box(es) can be customized by adding the following to "
|
317 |
+
"your theme's"
|
318 |
+
msgstr ""
|
319 |
+
"Je Attachments meta-box(en) kunnen aangepast worden door het volgende toe te "
|
320 |
+
"voegen aan je thema"
|
321 |
+
|
322 |
+
#: ../views/options.php:100
|
323 |
+
msgid "Using Attachments data in your theme"
|
324 |
+
msgstr "Attachments gebruiken in je thema"
|
325 |
+
|
326 |
+
#: ../views/options.php:101
|
327 |
+
msgid ""
|
328 |
+
"Attachments does not directly integrate with your theme out of the box, you "
|
329 |
+
"will need to edit your theme's template files where appropriate. You can add "
|
330 |
+
"the following within The Loop to retrieve all Attachments data for the "
|
331 |
+
"current post:"
|
332 |
+
msgstr ""
|
333 |
+
"Attachments is niet direct geïntegreerd in je thema nadat je de plugin hebt "
|
334 |
+
"geïnstalleerd. Je zult de template bestanden van je thema aan moeten passen. "
|
335 |
+
"Voeg het volgende toe aan de Loop om alle Attachment data op te halen voor "
|
336 |
+
"het huidige bericht:"
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: jchristopher
|
|
3 |
Donate link: http://mondaybynoon.com/donate/
|
4 |
Tags: post, page, posts, pages, images, PDF, doc, Word, image, jpg, jpeg, picture, pictures, photos, attachment
|
5 |
Requires at least: 3.0
|
6 |
-
Tested up to: 4.2
|
7 |
-
Stable tag: 3.5.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -91,6 +91,15 @@ Please see [Issues on GitHub](https://github.com/jchristopher/attachments/issues
|
|
91 |
|
92 |
Please see [Attachments' changelog on GitHub](https://github.com/jchristopher/attachments/docs/changelog.md)
|
93 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
94 |
= 3.5.7 =
|
95 |
* Fixed a regression that prevented attaching multiple files at once
|
96 |
|
3 |
Donate link: http://mondaybynoon.com/donate/
|
4 |
Tags: post, page, posts, pages, images, PDF, doc, Word, image, jpg, jpeg, picture, pictures, photos, attachment
|
5 |
Requires at least: 3.0
|
6 |
+
Tested up to: 4.8.2
|
7 |
+
Stable tag: 3.5.9
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
91 |
|
92 |
Please see [Attachments' changelog on GitHub](https://github.com/jchristopher/attachments/docs/changelog.md)
|
93 |
|
94 |
+
= 3.5.9 =
|
95 |
+
* Added link to collapse Attachments to make sorting easier
|
96 |
+
* Fixes PHP Notice on installation
|
97 |
+
* Fixes illegal offset error on PHP7
|
98 |
+
* Added Dutch translation
|
99 |
+
|
100 |
+
= 3.5.8 =
|
101 |
+
* Fixed a potential issue when migrating from Attachments Pro
|
102 |
+
|
103 |
= 3.5.7 =
|
104 |
* Fixed a regression that prevented attaching multiple files at once
|
105 |
|