Duplicate Post - Version 2.3

Version Description

Fixes a bunch of bugs + copy attachments + choose where to show the links.

Download this release

Release Info

Developer lopo
Plugin Icon 128x128 Duplicate Post
Version 2.3
Comparing to
See all releases

Code changes from version 2.2 to 2.3

duplicate-post-admin.php CHANGED
@@ -28,24 +28,27 @@ function duplicate_post_plugin_upgrade() {
28
  $installed_version = duplicate_post_get_installed_version();
29
 
30
  if (empty($installed_version)) { // first install
31
-
32
  // Add capability to admin and editors
33
-
34
  // Get default roles
35
  $default_roles = array(
36
- 3 => 'editor',
37
- 8 => 'administrator',
38
  );
39
-
40
  // Cycle all roles and assign capability if its level >= duplicate_post_copy_user_level
41
  foreach ($default_roles as $level => $name){
42
  $role = get_role($name);
43
- $role->add_cap( 'copy_posts' );
44
  }
45
 
46
  add_option('duplicate_post_copyexcerpt','1');
47
  add_option('duplicate_post_copystatus','0');
48
  add_option('duplicate_post_taxonomies_blacklist',array());
 
 
 
49
  } else if ( $installed_version==duplicate_post_get_current_version() ) { //re-install
50
  // do nothing
51
  } else { //upgrade form previous version
@@ -54,11 +57,11 @@ function duplicate_post_plugin_upgrade() {
54
  delete_option('duplicate_post_create_user_level');
55
  delete_option('duplicate_post_view_user_level');
56
  delete_option('dp_notice');
57
-
58
  /*
59
  * Convert old userlevel option to new capability scheme
60
  */
61
-
62
  // Get old duplicate_post_copy_user_level option
63
  $min_user_level = get_option('duplicate_post_copy_user_level');
64
 
@@ -70,7 +73,7 @@ function duplicate_post_plugin_upgrade() {
70
  3 => 'editor',
71
  8 => 'administrator',
72
  );
73
-
74
  // Cycle all roles and assign capability if its level >= duplicate_post_copy_user_level
75
  foreach ($default_roles as $level => $name){
76
  $role = get_role($name);
@@ -81,18 +84,24 @@ function duplicate_post_plugin_upgrade() {
81
  // delete old option
82
  delete_option('duplicate_post_copy_user_level');
83
  }
84
-
85
  add_option('duplicate_post_copyexcerpt','1');
 
86
  add_option('duplicate_post_copystatus','0');
87
  add_option('duplicate_post_taxonomies_blacklist',array());
 
 
 
88
  }
89
  // Update version number
90
  update_option( 'duplicate_post_version', duplicate_post_get_current_version() );
91
 
92
  }
93
 
94
- add_filter('post_row_actions', 'duplicate_post_make_duplicate_link_row',10,2);
95
- add_filter('page_row_actions', 'duplicate_post_make_duplicate_link_row',10,2);
 
 
96
 
97
  /**
98
  * Add the link to action list for post_row_actions
@@ -112,7 +121,9 @@ function duplicate_post_make_duplicate_link_row($actions, $post) {
112
  /**
113
  * Add a button in the post/page edit screen to create a clone
114
  */
115
- add_action( 'post_submitbox_start', 'duplicate_post_add_duplicate_post_button' );
 
 
116
 
117
  function duplicate_post_add_duplicate_post_button() {
118
  if ( isset( $_GET['post'] ) && duplicate_post_is_current_user_allowed_to_copy()) {
@@ -222,6 +233,7 @@ add_action('dp_duplicate_page', 'duplicate_post_copy_post_taxonomies', 10, 2);
222
  */
223
  function duplicate_post_copy_post_meta_info($new_id, $post) {
224
  $post_meta_keys = get_post_custom_keys($post->ID);
 
225
  $meta_blacklist = explode(",",get_option('duplicate_post_blacklist'));
226
  if ($meta_blacklist == "") $meta_blacklist = array();
227
  $meta_keys = array_diff($post_meta_keys, $meta_blacklist);
@@ -229,9 +241,8 @@ function duplicate_post_copy_post_meta_info($new_id, $post) {
229
  foreach ($meta_keys as $meta_key) {
230
  $meta_values = get_post_custom_values($meta_key, $post->ID);
231
  foreach ($meta_values as $meta_value) {
232
- $meta_obj = unserialize($meta_value);
233
- if(!$meta_obj) add_post_meta($new_id, $meta_key, $meta_value);
234
- else add_post_meta($new_id, $meta_key, $meta_obj);
235
  }
236
  }
237
  }
@@ -240,11 +251,62 @@ function duplicate_post_copy_post_meta_info($new_id, $post) {
240
  add_action('dp_duplicate_post', 'duplicate_post_copy_post_meta_info', 10, 2);
241
  add_action('dp_duplicate_page', 'duplicate_post_copy_post_meta_info', 10, 2);
242
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
243
  /**
244
  * Create a duplicate from a post
245
  */
246
  function duplicate_post_create_duplicate($post, $status = '') {
247
- global $wpdb;
248
  $prefix = get_option('duplicate_post_title_prefix');
249
  $suffix = get_option('duplicate_post_title_suffix');
250
  if (!empty($prefix)) $prefix.= " ";
@@ -279,7 +341,7 @@ function duplicate_post_create_duplicate($post, $status = '') {
279
  do_action( 'dp_duplicate_page', $new_post_id, $post );
280
  else
281
  do_action( 'dp_duplicate_post', $new_post_id, $post );
282
-
283
  delete_post_meta($new_post_id, '_dp_original');
284
  add_post_meta($new_post_id, '_dp_original', $post->ID);
285
 
28
  $installed_version = duplicate_post_get_installed_version();
29
 
30
  if (empty($installed_version)) { // first install
31
+
32
  // Add capability to admin and editors
33
+
34
  // Get default roles
35
  $default_roles = array(
36
+ 3 => 'editor',
37
+ 8 => 'administrator',
38
  );
39
+
40
  // Cycle all roles and assign capability if its level >= duplicate_post_copy_user_level
41
  foreach ($default_roles as $level => $name){
42
  $role = get_role($name);
43
+ if(!empty($role)) $role->add_cap( 'copy_posts' );
44
  }
45
 
46
  add_option('duplicate_post_copyexcerpt','1');
47
  add_option('duplicate_post_copystatus','0');
48
  add_option('duplicate_post_taxonomies_blacklist',array());
49
+ add_option('duplicate_post_show_row','1');
50
+ add_option('duplicate_post_show_adminbar','1');
51
+ add_option('duplicate_post_show_submitbox','1');
52
  } else if ( $installed_version==duplicate_post_get_current_version() ) { //re-install
53
  // do nothing
54
  } else { //upgrade form previous version
57
  delete_option('duplicate_post_create_user_level');
58
  delete_option('duplicate_post_view_user_level');
59
  delete_option('dp_notice');
60
+
61
  /*
62
  * Convert old userlevel option to new capability scheme
63
  */
64
+
65
  // Get old duplicate_post_copy_user_level option
66
  $min_user_level = get_option('duplicate_post_copy_user_level');
67
 
73
  3 => 'editor',
74
  8 => 'administrator',
75
  );
76
+
77
  // Cycle all roles and assign capability if its level >= duplicate_post_copy_user_level
78
  foreach ($default_roles as $level => $name){
79
  $role = get_role($name);
84
  // delete old option
85
  delete_option('duplicate_post_copy_user_level');
86
  }
87
+
88
  add_option('duplicate_post_copyexcerpt','1');
89
+ add_option('duplicate_post_copyattachments','0');
90
  add_option('duplicate_post_copystatus','0');
91
  add_option('duplicate_post_taxonomies_blacklist',array());
92
+ add_option('duplicate_post_show_row','1');
93
+ add_option('duplicate_post_show_adminbar','1');
94
+ add_option('duplicate_post_show_submitbox','1');
95
  }
96
  // Update version number
97
  update_option( 'duplicate_post_version', duplicate_post_get_current_version() );
98
 
99
  }
100
 
101
+ if (get_option('duplicate_post_show_row') == 1){
102
+ add_filter('post_row_actions', 'duplicate_post_make_duplicate_link_row',10,2);
103
+ add_filter('page_row_actions', 'duplicate_post_make_duplicate_link_row',10,2);
104
+ }
105
 
106
  /**
107
  * Add the link to action list for post_row_actions
121
  /**
122
  * Add a button in the post/page edit screen to create a clone
123
  */
124
+ if (get_option('duplicate_post_show_submitbox') == 1){
125
+ add_action( 'post_submitbox_start', 'duplicate_post_add_duplicate_post_button' );
126
+ }
127
 
128
  function duplicate_post_add_duplicate_post_button() {
129
  if ( isset( $_GET['post'] ) && duplicate_post_is_current_user_allowed_to_copy()) {
233
  */
234
  function duplicate_post_copy_post_meta_info($new_id, $post) {
235
  $post_meta_keys = get_post_custom_keys($post->ID);
236
+ if (empty($post_meta_keys)) return;
237
  $meta_blacklist = explode(",",get_option('duplicate_post_blacklist'));
238
  if ($meta_blacklist == "") $meta_blacklist = array();
239
  $meta_keys = array_diff($post_meta_keys, $meta_blacklist);
241
  foreach ($meta_keys as $meta_key) {
242
  $meta_values = get_post_custom_values($meta_key, $post->ID);
243
  foreach ($meta_values as $meta_value) {
244
+ $meta_value = maybe_unserialize($meta_value);
245
+ add_post_meta($new_id, $meta_key, $meta_value);
 
246
  }
247
  }
248
  }
251
  add_action('dp_duplicate_post', 'duplicate_post_copy_post_meta_info', 10, 2);
252
  add_action('dp_duplicate_page', 'duplicate_post_copy_post_meta_info', 10, 2);
253
 
254
+ /**
255
+ * Copy the attachments
256
+ * It simply copies the table entries, actual file won't be duplicated
257
+ */
258
+ function duplicate_post_copy_attachments($new_id, $post){
259
+ if (get_option('duplicate_post_copyattachments') == 0) return;
260
+
261
+ // get old attachments
262
+ $attachments = get_posts(array( 'post_type' => 'attachment', 'numberposts' => -1, 'post_status' => null, 'post_parent' => $post->ID ));
263
+ // clone old attachments
264
+ foreach($attachments as $att){
265
+ $new_att_author = duplicate_post_get_current_user();
266
+
267
+ $new_att = array(
268
+ 'menu_order' => $att->menu_order,
269
+ 'comment_status' => $att->comment_status,
270
+ 'guid' => $att->guid,
271
+ 'ping_status' => $att->ping_status,
272
+ 'pinged' => $att->pinged,
273
+ 'post_author' => $new_att_author->ID,
274
+ 'post_content' => $att->post_content,
275
+ 'post_date' => $new_att_date = (get_option('duplicate_post_copydate') == 1) ? $att->post_date : current_time('mysql'),
276
+ 'post_date_gmt' => get_gmt_from_date($new_att_date),
277
+ 'post_excerpt' => $att->post_excerpt,
278
+ 'post_mime_type' => $att->post_mime_type,
279
+ 'post_parent' => $new_id,
280
+ 'post_password' => $att->post_password,
281
+ 'post_status' => $att->post_status,
282
+ 'post_title' => $att->post_title,
283
+ 'post_type' => $att->post_type,
284
+ 'to_ping' => $att->to_ping
285
+ );
286
+
287
+ $new_att_id = wp_insert_post($new_att);
288
+
289
+ // get and apply a unique slug
290
+ $att_name = wp_unique_post_slug($att->post_name, $new_att_id, $att->post_status, $att->post_type, $new_id);
291
+ $new_att = array();
292
+ $new_att['ID'] = $new_att_id;
293
+ $new_att['post_name'] = $att_name;
294
+
295
+ wp_update_post( $new_att );
296
+
297
+ // call hooks to copy attachement metadata
298
+ do_action( 'dp_duplicate_post', $new_att_id, $att );
299
+ }
300
+ }
301
+ // Using our action hooks to copy attachments
302
+ add_action('dp_duplicate_post', 'duplicate_post_copy_attachments', 10, 2);
303
+ add_action('dp_duplicate_page', 'duplicate_post_copy_attachments', 10, 2);
304
+
305
+
306
  /**
307
  * Create a duplicate from a post
308
  */
309
  function duplicate_post_create_duplicate($post, $status = '') {
 
310
  $prefix = get_option('duplicate_post_title_prefix');
311
  $suffix = get_option('duplicate_post_title_suffix');
312
  if (!empty($prefix)) $prefix.= " ";
341
  do_action( 'dp_duplicate_page', $new_post_id, $post );
342
  else
343
  do_action( 'dp_duplicate_post', $new_post_id, $post );
344
+
345
  delete_post_meta($new_post_id, '_dp_original');
346
  add_post_meta($new_post_id, '_dp_original', $post->ID);
347
 
duplicate-post-common.php CHANGED
@@ -14,7 +14,7 @@ function duplicate_post_get_copy_user_level() {
14
  return get_option( 'duplicate_post_copy_user_level' );
15
  }
16
 
17
- // Template tag2
18
  /**
19
  * Retrieve duplicate post link for post.
20
  *
@@ -79,12 +79,12 @@ function duplicate_post_clone_post_link( $link = null, $before = '', $after = ''
79
  * @return mixed Post data
80
  */
81
  function duplicate_post_get_original($id = 0 , $output = OBJECT){
82
- if ( !$post = &get_post( $id ) )
83
- return;
84
- $original_ID = get_post_meta( $post->ID, '_dp_original');
85
- if (empty($original_ID)) return null;
86
- $original_post = &get_post($original_ID[0], $output);
87
- return $original_post;
88
  }
89
  // Admin bar
90
  function duplicate_post_admin_bar_render() {
@@ -101,10 +101,12 @@ function duplicate_post_admin_bar_render() {
101
  'parent' => 'edit',
102
  'id' => 'new_draft',
103
  'title' => __("Copy to a new draft", DUPLICATE_POST_I18N_DOMAIN),
104
- 'href' => duplicate_post_get_clone_post_link( $post->ID )
105
  ) );
106
  }
107
  }
108
 
109
- add_action( 'wp_before_admin_bar_render', 'duplicate_post_admin_bar_render' );
 
 
110
  ?>
14
  return get_option( 'duplicate_post_copy_user_level' );
15
  }
16
 
17
+ // Template tag
18
  /**
19
  * Retrieve duplicate post link for post.
20
  *
79
  * @return mixed Post data
80
  */
81
  function duplicate_post_get_original($id = 0 , $output = OBJECT){
82
+ if ( !$post = &get_post( $id ) )
83
+ return;
84
+ $original_ID = get_post_meta( $post->ID, '_dp_original');
85
+ if (empty($original_ID)) return null;
86
+ $original_post = &get_post($original_ID[0], $output);
87
+ return $original_post;
88
  }
89
  // Admin bar
90
  function duplicate_post_admin_bar_render() {
101
  'parent' => 'edit',
102
  'id' => 'new_draft',
103
  'title' => __("Copy to a new draft", DUPLICATE_POST_I18N_DOMAIN),
104
+ 'href' => duplicate_post_get_clone_post_link( $current_object->ID )
105
  ) );
106
  }
107
  }
108
 
109
+ if (get_option('duplicate_post_show_adminbar') == 1){
110
+ add_action( 'wp_before_admin_bar_render', 'duplicate_post_admin_bar_render' );
111
+ }
112
  ?>
duplicate-post-options.php CHANGED
@@ -10,12 +10,16 @@ if ( is_admin() ){ // admin actions
10
  function duplicate_post_register_settings() { // whitelist options
11
  register_setting( 'duplicate_post_group', 'duplicate_post_copydate');
12
  register_setting( 'duplicate_post_group', 'duplicate_post_copyexcerpt');
 
13
  register_setting( 'duplicate_post_group', 'duplicate_post_copystatus');
14
  register_setting( 'duplicate_post_group', 'duplicate_post_blacklist');
15
  register_setting( 'duplicate_post_group', 'duplicate_post_taxonomies_blacklist');
16
  register_setting( 'duplicate_post_group', 'duplicate_post_title_prefix');
17
  register_setting( 'duplicate_post_group', 'duplicate_post_title_suffix');
18
  register_setting( 'duplicate_post_group', 'duplicate_post_roles');
 
 
 
19
  }
20
 
21
 
@@ -25,7 +29,7 @@ function duplicate_post_menu() {
25
 
26
  function duplicate_post_options() {
27
 
28
- if ( current_user_can( 'edit_users' ) && $_GET['settings-updated'] == true){
29
  global $wp_roles;
30
  $roles = $wp_roles->get_names();
31
 
@@ -50,15 +54,19 @@ function duplicate_post_options() {
50
 
51
  ?>
52
  <div class="wrap">
53
- <div id="icon-options-general" class="icon32"><br></div>
 
 
54
  <h2>
55
  <?php _e("Duplicate Post Options", DUPLICATE_POST_I18N_DOMAIN); ?>
56
  </h2>
57
 
58
- <div style="border: solid 1px #aaaaaa; background-color: #eeeeee; margin:9px 15px 4px 0; padding: 5px; text-align: center; font-weight: bold; float: left;">
59
- <a href="http://lopo.it/duplicate-post-plugin"><?php _e('Visit plugin site'); ?></a> -
60
- <a href="http://lopo.it/duplicate-post-plugin"><?php _e('Donate', DUPLICATE_POST_I18N_DOMAIN); ?></a> -
61
- <a href="http://lopo.it/duplicate-post-plugin"><?php _e('Translate', DUPLICATE_POST_I18N_DOMAIN); ?></a>
 
 
62
  </div>
63
 
64
  <form method="post" action="options.php">
@@ -92,6 +100,15 @@ function duplicate_post_options() {
92
  </span>
93
  </td>
94
  </tr>
 
 
 
 
 
 
 
 
 
95
  <tr valign="top">
96
  <th scope="row"><?php _e("Do not copy these fields", DUPLICATE_POST_I18N_DOMAIN); ?>
97
  </th>
@@ -150,15 +167,27 @@ function duplicate_post_options() {
150
  <label style="display: block;"> <input type="checkbox"
151
  name="duplicate_post_roles[]" value="<?php echo $name ?>"
152
  <?php if($role->has_cap('copy_posts')) echo 'checked="checked"'?> />
153
- <?php echo _x($display_name, "User role", "default") ?> </label>
154
  <?php endforeach; ?>
155
  </div> <span class="description"><?php _e("Warning: users will be able to copy all posts, even those of other users", DUPLICATE_POST_I18N_DOMAIN); ?>
156
  </span>
157
  </td>
158
  </tr>
159
-
 
 
 
 
 
 
 
 
 
 
 
 
 
160
  </table>
161
-
162
  <p class="submit">
163
  <input type="submit" class="button-primary"
164
  value="<?php _e('Save Changes', DUPLICATE_POST_I18N_DOMAIN) ?>" />
10
  function duplicate_post_register_settings() { // whitelist options
11
  register_setting( 'duplicate_post_group', 'duplicate_post_copydate');
12
  register_setting( 'duplicate_post_group', 'duplicate_post_copyexcerpt');
13
+ register_setting( 'duplicate_post_group', 'duplicate_post_copyattachments');
14
  register_setting( 'duplicate_post_group', 'duplicate_post_copystatus');
15
  register_setting( 'duplicate_post_group', 'duplicate_post_blacklist');
16
  register_setting( 'duplicate_post_group', 'duplicate_post_taxonomies_blacklist');
17
  register_setting( 'duplicate_post_group', 'duplicate_post_title_prefix');
18
  register_setting( 'duplicate_post_group', 'duplicate_post_title_suffix');
19
  register_setting( 'duplicate_post_group', 'duplicate_post_roles');
20
+ register_setting( 'duplicate_post_group', 'duplicate_post_show_row');
21
+ register_setting( 'duplicate_post_group', 'duplicate_post_show_adminbar');
22
+ register_setting( 'duplicate_post_group', 'duplicate_post_show_submitbox');
23
  }
24
 
25
 
29
 
30
  function duplicate_post_options() {
31
 
32
+ if ( current_user_can( 'edit_users' ) && (isset($_GET['settings-updated']) && $_GET['settings-updated'] == true)){
33
  global $wp_roles;
34
  $roles = $wp_roles->get_names();
35
 
54
 
55
  ?>
56
  <div class="wrap">
57
+ <div id="icon-options-general" class="icon32">
58
+ <br>
59
+ </div>
60
  <h2>
61
  <?php _e("Duplicate Post Options", DUPLICATE_POST_I18N_DOMAIN); ?>
62
  </h2>
63
 
64
+ <div
65
+ style="border: solid 1px #aaaaaa; background-color: #eeeeee; margin: 9px 15px 4px 0; padding: 5px; text-align: center; font-weight: bold; float: left;">
66
+ <a href="http://lopo.it/duplicate-post-plugin"><?php _e('Visit plugin site'); ?>
67
+ </a> - <a href="http://lopo.it/duplicate-post-plugin"><?php _e('Donate', DUPLICATE_POST_I18N_DOMAIN); ?>
68
+ </a> - <a href="http://lopo.it/duplicate-post-plugin"><?php _e('Translate', DUPLICATE_POST_I18N_DOMAIN); ?>
69
+ </a>
70
  </div>
71
 
72
  <form method="post" action="options.php">
100
  </span>
101
  </td>
102
  </tr>
103
+ <tr valign="top">
104
+ <th scope="row"><?php _e("Copy attachments", DUPLICATE_POST_I18N_DOMAIN); ?>
105
+ </th>
106
+ <td><input type="checkbox" name="duplicate_post_copyattachments"
107
+ value="1" <?php if(get_option('duplicate_post_copyattachments') == 1) echo 'checked="checked"'; ?>"/>
108
+ <span class="description"><?php _e("Copy the attachments from the original post/page", DUPLICATE_POST_I18N_DOMAIN); ?>
109
+ </span>
110
+ </td>
111
+ </tr>
112
  <tr valign="top">
113
  <th scope="row"><?php _e("Do not copy these fields", DUPLICATE_POST_I18N_DOMAIN); ?>
114
  </th>
167
  <label style="display: block;"> <input type="checkbox"
168
  name="duplicate_post_roles[]" value="<?php echo $name ?>"
169
  <?php if($role->has_cap('copy_posts')) echo 'checked="checked"'?> />
170
+ <?php echo translate_user_role($display_name); ?> </label>
171
  <?php endforeach; ?>
172
  </div> <span class="description"><?php _e("Warning: users will be able to copy all posts, even those of other users", DUPLICATE_POST_I18N_DOMAIN); ?>
173
  </span>
174
  </td>
175
  </tr>
176
+ <tr valign="top">
177
+ <th scope="row"><?php _e("Show links in", DUPLICATE_POST_I18N_DOMAIN); ?>
178
+ </th>
179
+ <td><label style="display: block"><input type="checkbox"
180
+ name="duplicate_post_show_row" value="1" <?php if(get_option('duplicate_post_show_row') == 1) echo 'checked="checked"'; ?>"/>
181
+ <?php _e("Post list", DUPLICATE_POST_I18N_DOMAIN); ?> </label> <label
182
+ style="display: block"><input type="checkbox"
183
+ name="duplicate_post_show_submitbox" value="1" <?php if(get_option('duplicate_post_show_submitbox') == 1) echo 'checked="checked"'; ?>"/>
184
+ <?php _e("Edit screen", DUPLICATE_POST_I18N_DOMAIN); ?> </label> <label
185
+ style="display: block"><input type="checkbox"
186
+ name="duplicate_post_show_adminbar" value="1" <?php if(get_option('duplicate_post_show_adminbar') == 1) echo 'checked="checked"'; ?>"/>
187
+ <?php _e("Admin bar", DUPLICATE_POST_I18N_DOMAIN); ?> (WP 3.1+)</label>
188
+ </td>
189
+ </tr>
190
  </table>
 
191
  <p class="submit">
192
  <input type="submit" class="button-primary"
193
  value="<?php _e('Save Changes', DUPLICATE_POST_I18N_DOMAIN) ?>" />
duplicate-post.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Duplicate Post
4
  Plugin URI: http://lopo.it/duplicate-post-plugin/
5
  Description: Clone posts and pages.
6
- Version: 2.2
7
  Author: Enrico Battocchi
8
  Author URI: http://lopo.it
9
  Text Domain: duplicate-post
@@ -30,7 +30,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
30
  define('DUPLICATE_POST_I18N_DOMAIN', 'duplicate-post');
31
 
32
  // Version of the plugin
33
- define('DUPLICATE_POST_CURRENT_VERSION', '2.2' );
34
 
35
  /**
36
  * Initialise the internationalisation domain
3
  Plugin Name: Duplicate Post
4
  Plugin URI: http://lopo.it/duplicate-post-plugin/
5
  Description: Clone posts and pages.
6
+ Version: 2.3
7
  Author: Enrico Battocchi
8
  Author URI: http://lopo.it
9
  Text Domain: duplicate-post
30
  define('DUPLICATE_POST_I18N_DOMAIN', 'duplicate-post');
31
 
32
  // Version of the plugin
33
+ define('DUPLICATE_POST_CURRENT_VERSION', '2.3' );
34
 
35
  /**
36
  * Initialise the internationalisation domain
languages/duplicate-post-cs_CZ.mo CHANGED
Binary file
languages/duplicate-post-cs_CZ.po CHANGED
@@ -7,134 +7,181 @@ msgid ""
7
  msgstr ""
8
  "Project-Id-Version: duplicate-post\n"
9
  "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10
- "POT-Creation-Date: 2011-11-11 13:14+0000\n"
11
- "PO-Revision-Date: 2011-12-02 16:29+0000\n"
12
- "Last-Translator: František Zatloukal <Unknown>\n"
13
  "Language-Team: Czech <cs@li.org>\n"
14
  "MIME-Version: 1.0\n"
15
  "Content-Type: text/plain; charset=UTF-8\n"
16
  "Content-Transfer-Encoding: 8bit\n"
17
- "X-Launchpad-Export-Date: 2011-12-07 15:04+0000\n"
18
- "X-Generator: Launchpad (build 14443)\n"
19
 
20
- #: duplicate-post-admin.php:78 duplicate-post-common.php:67
21
  msgid "Clone this item"
22
  msgstr "Klonovat tuto položku"
23
 
24
- #: duplicate-post-admin.php:79
25
- msgid "Duplicate"
26
- msgstr "Duplikovat"
27
 
28
- #: duplicate-post-admin.php:97
 
 
29
  msgid "Copy to a new draft"
30
- msgstr "Duplikovat"
 
 
 
 
31
 
32
- #: duplicate-post-admin.php:124
33
  msgid "No post to duplicate has been supplied!"
34
  msgstr "Nebyl poskytnut příspěvek k duplikování!"
35
 
36
- #: duplicate-post-admin.php:146
37
  msgid "Copy creation failed, could not find original:"
38
  msgstr "Vytvoření kopie selhalo, nemohu nalézt originál:"
39
 
40
- #: duplicate-post-admin.php:293
41
  msgid "Donate"
42
  msgstr "Přispět"
43
 
44
- #: duplicate-post-admin.php:294
45
  msgid "Translate"
46
  msgstr "Přeložit"
47
 
48
- #: duplicate-post-options.php:22
49
  msgid "Duplicate Post Options"
50
  msgstr "Možnosti duplikace příspěvku"
51
 
52
- #. #-#-#-#-# plugin.pot (Duplicate Post 2.0) #-#-#-#-#
53
  #. Plugin Name of the plugin/theme
54
- #: duplicate-post-options.php:22 duplicate-post-options.php:29
55
  msgid "Duplicate Post"
56
  msgstr "Duplikování"
57
 
58
- #: duplicate-post-options.php:38
 
 
 
 
59
  msgid "Copy post/page date also"
60
  msgstr "Kopírovat i čas publikování"
61
 
62
- #: duplicate-post-options.php:41
63
  msgid ""
64
- "Normally, the new draft has publication date set to current time: check the "
65
- "box to copy the original post/page date"
66
  msgstr ""
67
- "Nezatrhnuto znamená, že datum publikování duplikátu je vždy nastaveno na "
68
- "aktuální čas."
69
 
70
- #: duplicate-post-options.php:46
71
- msgid "Copy excerpt"
 
 
 
 
 
 
72
  msgstr ""
73
 
74
- #: duplicate-post-options.php:50
 
 
 
 
75
  msgid "Copy the excerpt from the original post/page"
 
 
 
 
 
 
 
 
76
  msgstr ""
77
 
78
- #: duplicate-post-options.php:55
79
  msgid "Do not copy these fields"
80
  msgstr "Nekopírovat tyto uživatelská pole"
81
 
82
- #: duplicate-post-options.php:59
83
- msgid ""
84
- "Comma-separated list of meta fields that must not be copied when cloning a "
85
- "post/page"
86
- msgstr "Jména polí oddělte čárkou"
87
 
88
- #: duplicate-post-options.php:64
89
  msgid "Do not copy these taxonomies"
90
- msgstr ""
91
 
92
- #: duplicate-post-options.php:78
93
  msgid "Select the taxonomies you don't want to be copied"
94
- msgstr ""
95
 
96
- #: duplicate-post-options.php:83
97
  msgid "Title prefix"
98
  msgstr "Prefix titulku"
99
 
100
- #: duplicate-post-options.php:87
101
  msgid ""
102
- "Prefix to be added before the original title when cloning a post/page, e.g. "
103
- "\"Copy of\" (blank for no prefix)"
104
  msgstr ""
105
- "Text přidávaný kopii na začátek názvu. (Můžete nechat prázdné, anebo zadat "
106
- "např. \\\"Kopie\\\" .)"
107
 
108
- #: duplicate-post-options.php:92
109
  msgid "Title suffix"
110
- msgstr ""
111
 
112
- #: duplicate-post-options.php:96
113
  msgid ""
114
- "Suffix to be added after the original title when cloning a post/page, e.g. "
115
- "\"(dup)\" (blank for no suffix)"
116
  msgstr ""
117
 
118
- #: duplicate-post-options.php:101
119
- msgid "Minimum level to copy posts"
120
- msgstr "Minimální úroveň uživatele"
121
 
122
- #: duplicate-post-options.php:120
123
  msgid ""
124
- "Warning: users will be able to copy all posts, even those of higher level "
125
- "users"
 
 
 
126
  msgstr ""
127
- "Pozor! Uživatelé budou moci kopírovat všechny příspěvky, včetně příspěvků "
128
- "uživatelů vyšší úrovně"
129
 
130
- #: duplicate-post-options.php:129
 
 
 
 
 
 
 
 
 
 
 
 
131
  msgid "Save Changes"
132
  msgstr "Uložit změny"
133
 
134
- #: duplicate-post-common.php:63
135
- msgid "Clone"
 
 
 
 
136
  msgstr ""
137
 
138
  #. Description of the plugin/theme
139
- msgid "Creates a copy of a post."
140
- msgstr "Vytvoří kopii příspěvku."
 
 
 
 
 
 
 
 
7
  msgstr ""
8
  "Project-Id-Version: duplicate-post\n"
9
  "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10
+ "POT-Creation-Date: 2012-04-02 13:27+0000\n"
11
+ "PO-Revision-Date: 2012-03-12 14:51+0000\n"
12
+ "Last-Translator: IdeFixx <Unknown>\n"
13
  "Language-Team: Czech <cs@li.org>\n"
14
  "MIME-Version: 1.0\n"
15
  "Content-Type: text/plain; charset=UTF-8\n"
16
  "Content-Transfer-Encoding: 8bit\n"
17
+ "X-Launchpad-Export-Date: 2012-04-06 11:16+0000\n"
18
+ "X-Generator: Launchpad (build 15060)\n"
19
 
20
+ #: duplicate-post-admin.php:112
21
  msgid "Clone this item"
22
  msgstr "Klonovat tuto položku"
23
 
24
+ #: duplicate-post-admin.php:113
25
+ msgid "Clone"
26
+ msgstr "Klonovat"
27
 
28
+ #: duplicate-post-admin.php:115 duplicate-post-admin.php:133
29
+ #: duplicate-post-common.php:66 duplicate-post-common.php:70
30
+ #: duplicate-post-common.php:103
31
  msgid "Copy to a new draft"
32
+ msgstr "Kopírovat jako koncept"
33
+
34
+ #: duplicate-post-admin.php:116
35
+ msgid "New Draft"
36
+ msgstr ""
37
 
38
+ #: duplicate-post-admin.php:160
39
  msgid "No post to duplicate has been supplied!"
40
  msgstr "Nebyl poskytnut příspěvek k duplikování!"
41
 
42
+ #: duplicate-post-admin.php:182
43
  msgid "Copy creation failed, could not find original:"
44
  msgstr "Vytvoření kopie selhalo, nemohu nalézt originál:"
45
 
46
+ #: duplicate-post-admin.php:368 duplicate-post-options.php:67
47
  msgid "Donate"
48
  msgstr "Přispět"
49
 
50
+ #: duplicate-post-admin.php:369 duplicate-post-options.php:68
51
  msgid "Translate"
52
  msgstr "Přeložit"
53
 
54
+ #: duplicate-post-options.php:27 duplicate-post-options.php:61
55
  msgid "Duplicate Post Options"
56
  msgstr "Možnosti duplikace příspěvku"
57
 
58
+ #. #-#-#-#-# plugin.pot (Duplicate Post 2.3) #-#-#-#-#
59
  #. Plugin Name of the plugin/theme
60
+ #: duplicate-post-options.php:27
61
  msgid "Duplicate Post"
62
  msgstr "Duplikování"
63
 
64
+ #: duplicate-post-options.php:66
65
+ msgid "Visit plugin site"
66
+ msgstr ""
67
+
68
+ #: duplicate-post-options.php:78
69
  msgid "Copy post/page date also"
70
  msgstr "Kopírovat i čas publikování"
71
 
72
+ #: duplicate-post-options.php:81
73
  msgid ""
74
+ "Normally, the new copy has its publication date set to current time: check "
75
+ "the box to copy the original post/page date"
76
  msgstr ""
 
 
77
 
78
+ #: duplicate-post-options.php:86
79
+ msgid "Copy post/page status"
80
+ msgstr ""
81
+
82
+ #: duplicate-post-options.php:90
83
+ msgid ""
84
+ "Copy the original post status (draft, published, pending) when cloning from "
85
+ "the post list."
86
  msgstr ""
87
 
88
+ #: duplicate-post-options.php:95
89
+ msgid "Copy excerpt"
90
+ msgstr "Kopírovat výňatek (stručný výpis)"
91
+
92
+ #: duplicate-post-options.php:99
93
  msgid "Copy the excerpt from the original post/page"
94
+ msgstr "Kopírovat výňatek (stručný výpis) z původního příspěvku/stránky"
95
+
96
+ #: duplicate-post-options.php:104
97
+ msgid "Copy attachments"
98
+ msgstr ""
99
+
100
+ #: duplicate-post-options.php:108
101
+ msgid "Copy the attachments from the original post/page"
102
  msgstr ""
103
 
104
+ #: duplicate-post-options.php:113
105
  msgid "Do not copy these fields"
106
  msgstr "Nekopírovat tyto uživatelská pole"
107
 
108
+ #: duplicate-post-options.php:117
109
+ msgid "Comma-separated list of meta fields that must not be copied"
110
+ msgstr ""
 
 
111
 
112
+ #: duplicate-post-options.php:122
113
  msgid "Do not copy these taxonomies"
114
+ msgstr "Nekopírovat tyto taxonomie"
115
 
116
+ #: duplicate-post-options.php:136
117
  msgid "Select the taxonomies you don't want to be copied"
118
+ msgstr "Vyberte taxonomie, které nechcete zkopírovat"
119
 
120
+ #: duplicate-post-options.php:141
121
  msgid "Title prefix"
122
  msgstr "Prefix titulku"
123
 
124
+ #: duplicate-post-options.php:145
125
  msgid ""
126
+ "Prefix to be added before the original title, e.g. \"Copy of\" (blank for no "
127
+ "prefix)"
128
  msgstr ""
 
 
129
 
130
+ #: duplicate-post-options.php:150
131
  msgid "Title suffix"
132
+ msgstr "Přípona titulku"
133
 
134
+ #: duplicate-post-options.php:154
135
  msgid ""
136
+ "Suffix to be added after the original title, e.g. \"(dup)\" (blank for no "
137
+ "suffix)"
138
  msgstr ""
139
 
140
+ #: duplicate-post-options.php:159
141
+ msgid "Roles allowed to copy"
142
+ msgstr ""
143
 
144
+ #: duplicate-post-options.php:172
145
  msgid ""
146
+ "Warning: users will be able to copy all posts, even those of other users"
147
+ msgstr ""
148
+
149
+ #: duplicate-post-options.php:177
150
+ msgid "Show links in"
151
  msgstr ""
 
 
152
 
153
+ #: duplicate-post-options.php:181
154
+ msgid "Post list"
155
+ msgstr ""
156
+
157
+ #: duplicate-post-options.php:184
158
+ msgid "Admin bar"
159
+ msgstr ""
160
+
161
+ #: duplicate-post-options.php:187
162
+ msgid "Edit screen"
163
+ msgstr ""
164
+
165
+ #: duplicate-post-options.php:193
166
  msgid "Save Changes"
167
  msgstr "Uložit změny"
168
 
169
+ #: duplicate-post.php:44
170
+ msgid "Settings"
171
+ msgstr ""
172
+
173
+ #. Plugin URI of the plugin/theme
174
+ msgid "http://lopo.it/duplicate-post-plugin/"
175
  msgstr ""
176
 
177
  #. Description of the plugin/theme
178
+ msgid "Clone posts and pages."
179
+ msgstr ""
180
+
181
+ #. Author of the plugin/theme
182
+ msgid "Enrico Battocchi"
183
+ msgstr ""
184
+
185
+ #. Author URI of the plugin/theme
186
+ msgid "http://lopo.it"
187
+ msgstr ""
languages/duplicate-post-de_DE.mo CHANGED
Binary file
languages/duplicate-post-de_DE.po CHANGED
@@ -7,128 +7,192 @@ msgid ""
7
  msgstr ""
8
  "Project-Id-Version: duplicate-post\n"
9
  "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10
- "POT-Creation-Date: 2010-05-21 10:01+0000\n"
11
- "PO-Revision-Date: 2010-05-22 09:33+0000\n"
12
- "Last-Translator: Enrico Battocchi <Unknown>\n"
13
  "Language-Team: German <de@li.org>\n"
14
  "MIME-Version: 1.0\n"
15
  "Content-Type: text/plain; charset=UTF-8\n"
16
  "Content-Transfer-Encoding: 8bit\n"
17
- "X-Launchpad-Export-Date: 2010-06-23 21:48+0000\n"
18
- "X-Generator: Launchpad (build Unknown)\n"
19
 
20
- #: duplicate-post.php:39
21
- msgid "No post to duplicate has been supplied!"
22
- msgstr "Es wurde kein Artikel zum Duplizieren gefunden!"
23
 
24
- #: duplicate-post.php:58 duplicate-post.php:86
25
- msgid "Post creation failed, could not find original post:"
26
- msgstr "Duplizieren fehlgeschlagen! Original Seite/Artikel nicht gefunden:"
27
 
28
- #: duplicate-post.php:67
29
- msgid "No page to duplicate has been supplied!"
30
- msgstr "Es wurde keine Seite zum Duplizieren gefunden!"
 
 
31
 
32
- #: duplicate-post.php:164 duplicate-post.php:195
33
- msgid "Make a duplicate from this post"
34
- msgstr "Duplikat von diesem Artikel erstellen."
35
 
36
- #: duplicate-post.php:165 duplicate-post.php:179 duplicate-post.php:196
37
- #: duplicate-post.php:207
38
- msgid "Duplicate"
39
- msgstr "Duplizieren"
40
 
41
- #: duplicate-post.php:178 duplicate-post.php:206
42
- msgid "Make a duplicate from this page"
43
- msgstr "Duplikat von dieser Seite erstellen"
 
44
 
45
- #: duplicate-post.php:225
46
- msgid "Copy to a new draft"
47
- msgstr "Seite/Artikel als Entwurf duplizieren"
48
 
49
- #: duplicate-post.php:519
 
 
 
 
50
  msgid "Duplicate Post Options"
51
  msgstr "Duplicate Post Optionen"
52
 
53
- #. #-#-#-#-# plugin.pot (Duplicate Post 1.1) #-#-#-#-#
54
  #. Plugin Name of the plugin/theme
55
- #: duplicate-post.php:519 duplicate-post.php:525
56
  msgid "Duplicate Post"
57
  msgstr "Duplicate Post"
58
 
59
- #: duplicate-post.php:532
 
 
 
 
60
  msgid "Copy post/page date also"
61
  msgstr "Datum aus Artikel/Seite übernehmen"
62
 
63
- #: duplicate-post.php:534
 
 
 
 
 
 
 
 
 
 
 
 
 
64
  msgid ""
65
- "Normally, the new draft has publication date set to current time: check the "
66
- "box to copy the original post/page date"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
67
  msgstr ""
68
- "Normalerweise wird das Datum des neuen Entwurfs automatisch auf die jeweils "
69
- "aktuelle Zeit gesetzt. Diese Option setzt das Datum auf die Zeit des "
70
- "Originals."
71
 
72
- #: duplicate-post.php:538
73
  msgid "Do not copy these fields"
74
  msgstr "Diese Felder nicht kopieren"
75
 
76
- #: duplicate-post.php:541
77
- msgid ""
78
- "Comma-separated list of meta fields that must not be copied when cloning a "
79
- "post/page"
80
  msgstr ""
81
- "Komma-separierte Liste aller benutzerdefinierten Felder, die nicht in das "
82
- "Duplikat übernommen werden sollen."
83
 
84
- #: duplicate-post.php:545
 
 
 
 
 
 
 
 
85
  msgid "Title prefix"
86
  msgstr "Titel Prefix"
87
 
88
- #: duplicate-post.php:548
89
  msgid ""
90
- "Prefix to be added before the original title when cloning a post/page, e.g. "
91
- "\"Copy of\" (blank for no prefix)"
92
  msgstr ""
93
- "Optionaler Prefix zur Verwendung vor dem Titel des Originals - z.B. 'Kopie "
94
- "von'."
95
 
96
- #: duplicate-post.php:552
97
- msgid "Minimum level to copy posts"
98
- msgstr "Minimum Benutzerlevel zur Nutzung von Duplicate Post"
99
 
100
- #: duplicate-post.php:576
101
  msgid ""
102
- "Warning: users will be able to copy all posts, even those of higher level "
103
- "users"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
104
  msgstr ""
105
- "Achtung: Der Benutzer wird Seiten und Artikel duplizieren können, auch "
106
- "solche von Benutzern mit höherem Benutzerlevel."
107
 
108
- #: duplicate-post.php:583
 
 
 
 
 
 
 
 
 
 
 
 
109
  msgid "Save Changes"
110
  msgstr "Änderungen speichern"
111
 
112
- #: duplicate-post.php:595
113
- msgid "Donate"
114
- msgstr "Spenden"
115
-
116
- #: duplicate-post.php:596
117
- msgid "Translate"
118
- msgstr "Übersetzen"
119
 
120
  #. Plugin URI of the plugin/theme
121
- msgid "http://www.lopo.it/duplicate-post-plugin/"
122
- msgstr "http://www.lopo.it/duplicate-post-plugin/"
123
 
124
  #. Description of the plugin/theme
125
- msgid "Creates a copy of a post."
126
- msgstr "Erstellt eine Kopie dieses Artikels."
127
 
128
  #. Author of the plugin/theme
129
  msgid "Enrico Battocchi"
130
  msgstr "Enrico Battocchi"
131
 
132
  #. Author URI of the plugin/theme
133
- msgid "http://www.lopo.it"
134
- msgstr "http://www.lopo.it"
7
  msgstr ""
8
  "Project-Id-Version: duplicate-post\n"
9
  "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10
+ "POT-Creation-Date: 2012-04-02 13:27+0000\n"
11
+ "PO-Revision-Date: 2012-03-30 23:20+0000\n"
12
+ "Last-Translator: Dennis Baudys <Unknown>\n"
13
  "Language-Team: German <de@li.org>\n"
14
  "MIME-Version: 1.0\n"
15
  "Content-Type: text/plain; charset=UTF-8\n"
16
  "Content-Transfer-Encoding: 8bit\n"
17
+ "X-Launchpad-Export-Date: 2012-04-06 11:16+0000\n"
18
+ "X-Generator: Launchpad (build 15060)\n"
19
 
20
+ #: duplicate-post-admin.php:112
21
+ msgid "Clone this item"
22
+ msgstr "Dieses Element duplizieren"
23
 
24
+ #: duplicate-post-admin.php:113
25
+ msgid "Clone"
26
+ msgstr "Duplizieren"
27
 
28
+ #: duplicate-post-admin.php:115 duplicate-post-admin.php:133
29
+ #: duplicate-post-common.php:66 duplicate-post-common.php:70
30
+ #: duplicate-post-common.php:103
31
+ msgid "Copy to a new draft"
32
+ msgstr "Seite/Artikel als Entwurf duplizieren"
33
 
34
+ #: duplicate-post-admin.php:116
35
+ msgid "New Draft"
36
+ msgstr "Neuer Entwurf"
37
 
38
+ #: duplicate-post-admin.php:160
39
+ msgid "No post to duplicate has been supplied!"
40
+ msgstr "Es wurde kein Artikel zum Duplizieren gefunden!"
 
41
 
42
+ #: duplicate-post-admin.php:182
43
+ msgid "Copy creation failed, could not find original:"
44
+ msgstr ""
45
+ "Anlegen der Kopie gescheitert. Das Original konnte nicht gefunden werden:"
46
 
47
+ #: duplicate-post-admin.php:368 duplicate-post-options.php:67
48
+ msgid "Donate"
49
+ msgstr "Spenden"
50
 
51
+ #: duplicate-post-admin.php:369 duplicate-post-options.php:68
52
+ msgid "Translate"
53
+ msgstr "Übersetzen"
54
+
55
+ #: duplicate-post-options.php:27 duplicate-post-options.php:61
56
  msgid "Duplicate Post Options"
57
  msgstr "Duplicate Post Optionen"
58
 
59
+ #. #-#-#-#-# plugin.pot (Duplicate Post 2.3) #-#-#-#-#
60
  #. Plugin Name of the plugin/theme
61
+ #: duplicate-post-options.php:27
62
  msgid "Duplicate Post"
63
  msgstr "Duplicate Post"
64
 
65
+ #: duplicate-post-options.php:66
66
+ msgid "Visit plugin site"
67
+ msgstr ""
68
+
69
+ #: duplicate-post-options.php:78
70
  msgid "Copy post/page date also"
71
  msgstr "Datum aus Artikel/Seite übernehmen"
72
 
73
+ #: duplicate-post-options.php:81
74
+ msgid ""
75
+ "Normally, the new copy has its publication date set to current time: check "
76
+ "the box to copy the original post/page date"
77
+ msgstr ""
78
+ "Normalerweise hat die neue Kopie das Veröffentlichungsdatum des aktuellen "
79
+ "Zeitpunkts: Markieren Sie das Ankreuzfeld, um das original "
80
+ "Veröffentlichungsdatum des/der Artikels/Seite zu kopieren"
81
+
82
+ #: duplicate-post-options.php:86
83
+ msgid "Copy post/page status"
84
+ msgstr "Artikel/Seiten-Status duplizieren"
85
+
86
+ #: duplicate-post-options.php:90
87
  msgid ""
88
+ "Copy the original post status (draft, published, pending) when cloning from "
89
+ "the post list."
90
+ msgstr ""
91
+ "Original Artikelstatus (Entwurf, veröffentlicht, wartend) kopieren, wenn aus "
92
+ "der Artikelliste heraus dupliziert wird."
93
+
94
+ #: duplicate-post-options.php:95
95
+ msgid "Copy excerpt"
96
+ msgstr "Kurzfassung duplizieren"
97
+
98
+ #: duplicate-post-options.php:99
99
+ msgid "Copy the excerpt from the original post/page"
100
+ msgstr "Die Kurzfassung des/der originalen Artikels/Seite kopieren"
101
+
102
+ #: duplicate-post-options.php:104
103
+ msgid "Copy attachments"
104
+ msgstr ""
105
+
106
+ #: duplicate-post-options.php:108
107
+ msgid "Copy the attachments from the original post/page"
108
  msgstr ""
 
 
 
109
 
110
+ #: duplicate-post-options.php:113
111
  msgid "Do not copy these fields"
112
  msgstr "Diese Felder nicht kopieren"
113
 
114
+ #: duplicate-post-options.php:117
115
+ msgid "Comma-separated list of meta fields that must not be copied"
 
 
116
  msgstr ""
117
+ "Kommata-getrennte Liste der Meta-Felder, die nicht kopiert werden dürfen"
 
118
 
119
+ #: duplicate-post-options.php:122
120
+ msgid "Do not copy these taxonomies"
121
+ msgstr "Diese Schlagworte nicht kopieren"
122
+
123
+ #: duplicate-post-options.php:136
124
+ msgid "Select the taxonomies you don't want to be copied"
125
+ msgstr "Wählen Sie die Schlagworte aus, die nicht kopiert werden sollen"
126
+
127
+ #: duplicate-post-options.php:141
128
  msgid "Title prefix"
129
  msgstr "Titel Prefix"
130
 
131
+ #: duplicate-post-options.php:145
132
  msgid ""
133
+ "Prefix to be added before the original title, e.g. \"Copy of\" (blank for no "
134
+ "prefix)"
135
  msgstr ""
136
+ "Präfix, der vor den original Titel eingefügt werden soll, z.B. »Kopie von« "
137
+ "(freilassen, wenn kein Präfix)"
138
 
139
+ #: duplicate-post-options.php:150
140
+ msgid "Title suffix"
141
+ msgstr "Titel-Suffix"
142
 
143
+ #: duplicate-post-options.php:154
144
  msgid ""
145
+ "Suffix to be added after the original title, e.g. \"(dup)\" (blank for no "
146
+ "suffix)"
147
+ msgstr ""
148
+ "Suffix, der hinter den original Titel angehängt werden soll, z.B. "
149
+ "»(Duplikat)« (freilassen, wenn kein Suffix)"
150
+
151
+ #: duplicate-post-options.php:159
152
+ msgid "Roles allowed to copy"
153
+ msgstr ""
154
+
155
+ #: duplicate-post-options.php:172
156
+ msgid ""
157
+ "Warning: users will be able to copy all posts, even those of other users"
158
+ msgstr ""
159
+
160
+ #: duplicate-post-options.php:177
161
+ msgid "Show links in"
162
  msgstr ""
 
 
163
 
164
+ #: duplicate-post-options.php:181
165
+ msgid "Post list"
166
+ msgstr ""
167
+
168
+ #: duplicate-post-options.php:184
169
+ msgid "Admin bar"
170
+ msgstr ""
171
+
172
+ #: duplicate-post-options.php:187
173
+ msgid "Edit screen"
174
+ msgstr ""
175
+
176
+ #: duplicate-post-options.php:193
177
  msgid "Save Changes"
178
  msgstr "Änderungen speichern"
179
 
180
+ #: duplicate-post.php:44
181
+ msgid "Settings"
182
+ msgstr ""
 
 
 
 
183
 
184
  #. Plugin URI of the plugin/theme
185
+ msgid "http://lopo.it/duplicate-post-plugin/"
186
+ msgstr "http://lopo.it/duplicate-post-plugin/"
187
 
188
  #. Description of the plugin/theme
189
+ msgid "Clone posts and pages."
190
+ msgstr "Artikel und Seiten duplizieren."
191
 
192
  #. Author of the plugin/theme
193
  msgid "Enrico Battocchi"
194
  msgstr "Enrico Battocchi"
195
 
196
  #. Author URI of the plugin/theme
197
+ msgid "http://lopo.it"
198
+ msgstr "http://lopo.it"
languages/duplicate-post-fr_FR.mo CHANGED
Binary file
languages/duplicate-post-fr_FR.po CHANGED
@@ -7,130 +7,181 @@ msgid ""
7
  msgstr ""
8
  "Project-Id-Version: duplicate-post\n"
9
  "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10
- "POT-Creation-Date: 2010-05-21 10:01+0000\n"
11
- "PO-Revision-Date: 2010-06-15 12:06+0000\n"
12
- "Last-Translator: Enrico Battocchi <Unknown>\n"
13
  "Language-Team: French <fr@li.org>\n"
14
  "MIME-Version: 1.0\n"
15
  "Content-Type: text/plain; charset=UTF-8\n"
16
  "Content-Transfer-Encoding: 8bit\n"
17
- "X-Launchpad-Export-Date: 2010-06-23 21:48+0000\n"
18
- "X-Generator: Launchpad (build Unknown)\n"
19
 
20
- #: duplicate-post.php:39
21
- msgid "No post to duplicate has been supplied!"
22
- msgstr "Aucun article à copier!"
23
 
24
- #: duplicate-post.php:58 duplicate-post.php:86
25
- msgid "Post creation failed, could not find original post:"
26
- msgstr ""
27
- "La création de l&rsquo;article a échoué, il n&rsquo;était pas possible de "
28
- "trouver l&rsquo;article original"
29
 
30
- #: duplicate-post.php:67
31
- msgid "No page to duplicate has been supplied!"
32
- msgstr "Aucune page à copier!"
 
 
 
 
 
 
33
 
34
- #: duplicate-post.php:164 duplicate-post.php:195
35
- msgid "Make a duplicate from this post"
36
- msgstr "Copier cet article"
37
 
38
- #: duplicate-post.php:165 duplicate-post.php:179 duplicate-post.php:196
39
- #: duplicate-post.php:207
40
- msgid "Duplicate"
41
- msgstr "Copier"
42
 
43
- #: duplicate-post.php:178 duplicate-post.php:206
44
- msgid "Make a duplicate from this page"
45
- msgstr "Copier cette page"
46
 
47
- #: duplicate-post.php:225
48
- msgid "Copy to a new draft"
49
- msgstr "Copier dans un nouveau brouillon"
50
 
51
- #: duplicate-post.php:519
52
  msgid "Duplicate Post Options"
53
  msgstr "Options de Duplicate Post"
54
 
55
- #. #-#-#-#-# plugin.pot (Duplicate Post 1.1) #-#-#-#-#
56
  #. Plugin Name of the plugin/theme
57
- #: duplicate-post.php:519 duplicate-post.php:525
58
  msgid "Duplicate Post"
59
  msgstr "Duplicate Post"
60
 
61
- #: duplicate-post.php:532
 
 
 
 
62
  msgid "Copy post/page date also"
63
  msgstr "Copiez également la date de l'article/de la page"
64
 
65
- #: duplicate-post.php:534
66
  msgid ""
67
- "Normally, the new draft has publication date set to current time: check the "
68
- "box to copy the original post/page date"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
69
  msgstr ""
70
- "Normalement la date de publication du nouveau brouillon est réglée sur "
71
- "l'heure actuelle: cochez la case pour copier la date de l'article/de la page "
72
- "d'origine"
73
 
74
- #: duplicate-post.php:538
75
  msgid "Do not copy these fields"
76
  msgstr "Ne pas copier ces champs"
77
 
78
- #: duplicate-post.php:541
79
- msgid ""
80
- "Comma-separated list of meta fields that must not be copied when cloning a "
81
- "post/page"
 
 
82
  msgstr ""
83
- "Les champs personnalisés séparés par des virgules ne doivent pas être copiés "
84
- "lors du clonage d'un article/d'une page"
85
 
86
- #: duplicate-post.php:545
 
 
 
 
87
  msgid "Title prefix"
88
  msgstr "Prefixe du titre"
89
 
90
- #: duplicate-post.php:548
 
 
 
 
 
 
 
 
 
 
91
  msgid ""
92
- "Prefix to be added before the original title when cloning a post/page, e.g. "
93
- "\"Copy of\" (blank for no prefix)"
94
  msgstr ""
95
- "Préfixe à ajouter avant le titre original lors du clonage d'un article/d'une "
96
- "page, par exemple : \"Copie de\" (Laisser vide pour ne pas mettre de préfixe)"
97
 
98
- #: duplicate-post.php:552
99
- msgid "Minimum level to copy posts"
100
- msgstr "Le niveau minimum pour copier les articles"
101
 
102
- #: duplicate-post.php:576
103
  msgid ""
104
- "Warning: users will be able to copy all posts, even those of higher level "
105
- "users"
 
 
 
 
 
 
 
 
 
 
 
106
  msgstr ""
107
- "Attention: les utilisateurs pourront copier tous les articles, même ceux des "
108
- "utilisateurs des niveaux plus élevés"
109
 
110
- #: duplicate-post.php:583
 
 
 
 
111
  msgid "Save Changes"
112
  msgstr "Sauver les changements"
113
 
114
- #: duplicate-post.php:595
115
- msgid "Donate"
116
- msgstr "Donation"
117
-
118
- #: duplicate-post.php:596
119
- msgid "Translate"
120
- msgstr "Traduire"
121
 
122
  #. Plugin URI of the plugin/theme
123
- msgid "http://www.lopo.it/duplicate-post-plugin/"
124
- msgstr "http://www.lopo.it/duplicate-post-plugin/"
125
 
126
  #. Description of the plugin/theme
127
- msgid "Creates a copy of a post."
128
- msgstr "Pour copier les articles."
129
 
130
  #. Author of the plugin/theme
131
  msgid "Enrico Battocchi"
132
- msgstr "Enrico Battocchi"
133
 
134
  #. Author URI of the plugin/theme
135
- msgid "http://www.lopo.it"
136
- msgstr "http://www.lopo.it"
7
  msgstr ""
8
  "Project-Id-Version: duplicate-post\n"
9
  "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10
+ "POT-Creation-Date: 2012-04-02 13:27+0000\n"
11
+ "PO-Revision-Date: 2012-02-09 12:22+0000\n"
12
+ "Last-Translator: Wazomba <wazemba@yahoo.fr>\n"
13
  "Language-Team: French <fr@li.org>\n"
14
  "MIME-Version: 1.0\n"
15
  "Content-Type: text/plain; charset=UTF-8\n"
16
  "Content-Transfer-Encoding: 8bit\n"
17
+ "X-Launchpad-Export-Date: 2012-04-06 11:20+0000\n"
18
+ "X-Generator: Launchpad (build 15060)\n"
19
 
20
+ #: duplicate-post-admin.php:112
21
+ msgid "Clone this item"
22
+ msgstr "Dupliquer ce post"
23
 
24
+ #: duplicate-post-admin.php:113
25
+ msgid "Clone"
26
+ msgstr "Dupliquer"
 
 
27
 
28
+ #: duplicate-post-admin.php:115 duplicate-post-admin.php:133
29
+ #: duplicate-post-common.php:66 duplicate-post-common.php:70
30
+ #: duplicate-post-common.php:103
31
+ msgid "Copy to a new draft"
32
+ msgstr "Copier dans un nouveau brouillon"
33
+
34
+ #: duplicate-post-admin.php:116
35
+ msgid "New Draft"
36
+ msgstr "Nouveau brouillon"
37
 
38
+ #: duplicate-post-admin.php:160
39
+ msgid "No post to duplicate has been supplied!"
40
+ msgstr "Aucun article à copier!"
41
 
42
+ #: duplicate-post-admin.php:182
43
+ msgid "Copy creation failed, could not find original:"
44
+ msgstr "Echec de la duplication, impossible de trouver l'original"
 
45
 
46
+ #: duplicate-post-admin.php:368 duplicate-post-options.php:67
47
+ msgid "Donate"
48
+ msgstr "Faire un don"
49
 
50
+ #: duplicate-post-admin.php:369 duplicate-post-options.php:68
51
+ msgid "Translate"
52
+ msgstr "Traduire"
53
 
54
+ #: duplicate-post-options.php:27 duplicate-post-options.php:61
55
  msgid "Duplicate Post Options"
56
  msgstr "Options de Duplicate Post"
57
 
58
+ #. #-#-#-#-# plugin.pot (Duplicate Post 2.3) #-#-#-#-#
59
  #. Plugin Name of the plugin/theme
60
+ #: duplicate-post-options.php:27
61
  msgid "Duplicate Post"
62
  msgstr "Duplicate Post"
63
 
64
+ #: duplicate-post-options.php:66
65
+ msgid "Visit plugin site"
66
+ msgstr ""
67
+
68
+ #: duplicate-post-options.php:78
69
  msgid "Copy post/page date also"
70
  msgstr "Copiez également la date de l'article/de la page"
71
 
72
+ #: duplicate-post-options.php:81
73
  msgid ""
74
+ "Normally, the new copy has its publication date set to current time: check "
75
+ "the box to copy the original post/page date"
76
+ msgstr ""
77
+
78
+ #: duplicate-post-options.php:86
79
+ msgid "Copy post/page status"
80
+ msgstr ""
81
+
82
+ #: duplicate-post-options.php:90
83
+ msgid ""
84
+ "Copy the original post status (draft, published, pending) when cloning from "
85
+ "the post list."
86
+ msgstr ""
87
+
88
+ #: duplicate-post-options.php:95
89
+ msgid "Copy excerpt"
90
+ msgstr ""
91
+
92
+ #: duplicate-post-options.php:99
93
+ msgid "Copy the excerpt from the original post/page"
94
+ msgstr ""
95
+
96
+ #: duplicate-post-options.php:104
97
+ msgid "Copy attachments"
98
+ msgstr ""
99
+
100
+ #: duplicate-post-options.php:108
101
+ msgid "Copy the attachments from the original post/page"
102
  msgstr ""
 
 
 
103
 
104
+ #: duplicate-post-options.php:113
105
  msgid "Do not copy these fields"
106
  msgstr "Ne pas copier ces champs"
107
 
108
+ #: duplicate-post-options.php:117
109
+ msgid "Comma-separated list of meta fields that must not be copied"
110
+ msgstr ""
111
+
112
+ #: duplicate-post-options.php:122
113
+ msgid "Do not copy these taxonomies"
114
  msgstr ""
 
 
115
 
116
+ #: duplicate-post-options.php:136
117
+ msgid "Select the taxonomies you don't want to be copied"
118
+ msgstr ""
119
+
120
+ #: duplicate-post-options.php:141
121
  msgid "Title prefix"
122
  msgstr "Prefixe du titre"
123
 
124
+ #: duplicate-post-options.php:145
125
+ msgid ""
126
+ "Prefix to be added before the original title, e.g. \"Copy of\" (blank for no "
127
+ "prefix)"
128
+ msgstr ""
129
+
130
+ #: duplicate-post-options.php:150
131
+ msgid "Title suffix"
132
+ msgstr ""
133
+
134
+ #: duplicate-post-options.php:154
135
  msgid ""
136
+ "Suffix to be added after the original title, e.g. \"(dup)\" (blank for no "
137
+ "suffix)"
138
  msgstr ""
 
 
139
 
140
+ #: duplicate-post-options.php:159
141
+ msgid "Roles allowed to copy"
142
+ msgstr ""
143
 
144
+ #: duplicate-post-options.php:172
145
  msgid ""
146
+ "Warning: users will be able to copy all posts, even those of other users"
147
+ msgstr ""
148
+
149
+ #: duplicate-post-options.php:177
150
+ msgid "Show links in"
151
+ msgstr ""
152
+
153
+ #: duplicate-post-options.php:181
154
+ msgid "Post list"
155
+ msgstr ""
156
+
157
+ #: duplicate-post-options.php:184
158
+ msgid "Admin bar"
159
  msgstr ""
 
 
160
 
161
+ #: duplicate-post-options.php:187
162
+ msgid "Edit screen"
163
+ msgstr ""
164
+
165
+ #: duplicate-post-options.php:193
166
  msgid "Save Changes"
167
  msgstr "Sauver les changements"
168
 
169
+ #: duplicate-post.php:44
170
+ msgid "Settings"
171
+ msgstr ""
 
 
 
 
172
 
173
  #. Plugin URI of the plugin/theme
174
+ msgid "http://lopo.it/duplicate-post-plugin/"
175
+ msgstr ""
176
 
177
  #. Description of the plugin/theme
178
+ msgid "Clone posts and pages."
179
+ msgstr ""
180
 
181
  #. Author of the plugin/theme
182
  msgid "Enrico Battocchi"
183
+ msgstr ""
184
 
185
  #. Author URI of the plugin/theme
186
+ msgid "http://lopo.it"
187
+ msgstr ""
languages/duplicate-post-it_IT.mo CHANGED
Binary file
languages/duplicate-post-it_IT.po CHANGED
@@ -6,139 +6,180 @@
6
  msgid ""
7
  msgstr ""
8
  "Project-Id-Version: duplicate-post\n"
9
- "Report-Msgid-Bugs-To: http://wordpress.org/tag/duplicate-post\n"
10
- "POT-Creation-Date: 2011-12-30 15:27:45+00:00\n"
11
- "PO-Revision-Date: 2011-12-30 16:29+0100\n"
12
- "Last-Translator: Enrico Battocchi <enrico.battocchi@gmail.com>\n"
13
  "Language-Team: Italian <it@li.org>\n"
14
- "Language: it\n"
15
  "MIME-Version: 1.0\n"
16
  "Content-Type: text/plain; charset=UTF-8\n"
17
  "Content-Transfer-Encoding: 8bit\n"
18
- "X-Launchpad-Export-Date: 2011-12-12 13:36+0000\n"
19
- "X-Generator: Launchpad (build 14458)\n"
20
 
21
- #: duplicate-post-options.php:23
22
- #: duplicate-post-options.php:55
23
- msgid "Duplicate Post Options"
24
- msgstr "Opzioni di Duplicate Post"
25
 
26
- #. #-#-#-#-# plugin.pot (Duplicate Post 2.1) #-#-#-#-#
27
- #. Plugin Name of the plugin/theme
28
- #: duplicate-post-options.php:23
29
- #: duplicate-post-options.php:59
30
- msgid "Duplicate Post"
31
- msgstr "Duplicate Post"
 
 
 
 
 
 
 
32
 
33
- #: duplicate-post-options.php:61
34
- #: duplicate-post-admin.php:301
 
 
 
 
 
 
 
35
  msgid "Donate"
36
  msgstr "Invia una donazione"
37
 
38
- #: duplicate-post-options.php:62
39
- #: duplicate-post-admin.php:302
40
  msgid "Translate"
41
  msgstr "Traduci"
42
 
43
- #: duplicate-post-options.php:71
 
 
 
 
 
 
 
 
 
 
 
 
 
 
44
  msgid "Copy post/page date also"
45
  msgstr "Copia anche la data dell'articolo o pagina"
46
 
47
- #: duplicate-post-options.php:74
48
- msgid "Normally, the new copy has its publication date set to current time: check the box to copy the original post/page date"
49
- msgstr "Normalmente, la nuova copia ha la data di pubblicazione impostata all'istante corrente: spunta la casella per copiare la data dell'articolo/pagina originale"
 
 
 
 
 
50
 
51
- #: duplicate-post-options.php:79
52
  msgid "Copy post/page status"
53
  msgstr "Copia anche lo stato dell'articolo o della pagina"
54
 
55
- #: duplicate-post-options.php:83
56
- msgid "Copy the original post status (draft, published, pending) when cloning from the post list."
57
- msgstr "Copia lo stato (bozza, pubblicato, in sospeso) dell'articolo originale quando si clona dalla lista degli articoli"
 
 
 
 
58
 
59
- #: duplicate-post-options.php:88
60
  msgid "Copy excerpt"
61
  msgstr "Copia il riassunto"
62
 
63
- #: duplicate-post-options.php:92
64
  msgid "Copy the excerpt from the original post/page"
65
  msgstr "Copia il riassunto dall'articolo o pagina originale"
66
 
67
- #: duplicate-post-options.php:97
 
 
 
 
 
 
 
 
68
  msgid "Do not copy these fields"
69
  msgstr "Non copiare questi campi"
70
 
71
- #: duplicate-post-options.php:101
72
  msgid "Comma-separated list of meta fields that must not be copied"
73
  msgstr "Lista separata da virgole di campi personalizzati da non copiare"
74
 
75
- #: duplicate-post-options.php:106
76
  msgid "Do not copy these taxonomies"
77
  msgstr "Non copiare queste tassonomie"
78
 
79
- #: duplicate-post-options.php:120
80
  msgid "Select the taxonomies you don't want to be copied"
81
  msgstr "Seleziona le tassonomie che non vuoi copiare"
82
 
83
- #: duplicate-post-options.php:125
84
  msgid "Title prefix"
85
  msgstr "Prefisso del titolo"
86
 
87
- #: duplicate-post-options.php:129
88
- msgid "Prefix to be added before the original title, e.g. \"Copy of\" (blank for no prefix)"
89
- msgstr "Prefisso da aggiungere prima del titolo originale, es. \"Copia di\" (lasciare vuoto per nessun prefisso)"
 
 
 
 
90
 
91
- #: duplicate-post-options.php:134
92
  msgid "Title suffix"
93
  msgstr "Suffisso del titolo"
94
 
95
- #: duplicate-post-options.php:138
96
- msgid "Suffix to be added after the original title, e.g. \"(dup)\" (blank for no suffix)"
97
- msgstr "Suffisso da aggiungere prima del titolo originale, es. \"(copia)\" (lasciare vuoto per nessun suffisso)"
 
 
 
 
98
 
99
- #: duplicate-post-options.php:143
100
  msgid "Roles allowed to copy"
101
  msgstr "Ruoli abilitati alla copia"
102
 
103
- #: duplicate-post-options.php:156
104
- msgid "Warning: users will be able to copy all posts, even those of other users"
105
- msgstr "Attenzione: gli utenti potranno copiare tutti gli articoli, anche quelli di altri utenti"
106
-
107
- #: duplicate-post-options.php:165
108
- msgid "Save Changes"
109
- msgstr "Salva le modifiche"
110
-
111
- #: duplicate-post-admin.php:86
112
- msgid "<strong>Duplicate Post</strong> now has two different ways to work: you can clone immediately or you can copy to a new draft to edit.<br/>Learn more on the <a href=\"%s\">plugin page</a>."
113
- msgstr "<strong>Duplicate Post</strong> adesso ha due diverse modalità di funzionamento: si può clonare immediatamente o copiare in una nuova bozza da modificare.<br/>Maggiori informazioni nella <a href=\"%s\">pagina del plugin</a>."
114
 
115
- #: duplicate-post-admin.php:102
116
- msgid "Clone this item"
117
- msgstr "Clona questo elemento"
118
 
119
- #: duplicate-post-admin.php:103
120
- msgid "Clone"
121
- msgstr "Clona"
122
 
123
- #: duplicate-post-admin.php:105
124
- #: duplicate-post-admin.php:121
125
- #: duplicate-post-common.php:68
126
- #: duplicate-post-common.php:72
127
- #: duplicate-post-common.php:91
128
- msgid "Copy to a new draft"
129
- msgstr "Copia in una nuova bozza"
130
 
131
- #: duplicate-post-admin.php:106
132
- msgid "New Draft"
133
- msgstr "Nuova bozza"
134
 
135
- #: duplicate-post-admin.php:148
136
- msgid "No post to duplicate has been supplied!"
137
- msgstr "Non è stato fornito alcun articolo da copiare!"
138
 
139
- #: duplicate-post-admin.php:170
140
- msgid "Copy creation failed, could not find original:"
141
- msgstr "Creazione della copia fallita, impossibile trovare l'originale:"
142
 
143
  #. Plugin URI of the plugin/theme
144
  msgid "http://lopo.it/duplicate-post-plugin/"
@@ -155,50 +196,3 @@ msgstr "Enrico Battocchi"
155
  #. Author URI of the plugin/theme
156
  msgid "http://lopo.it"
157
  msgstr "http://lopo.it"
158
-
159
- #~ msgid "Minimum level to copy posts"
160
- #~ msgstr "Livello minimo per copiare gli articoli"
161
-
162
- #~ msgid "Duplicate"
163
- #~ msgstr "Duplica"
164
-
165
- #~ msgid ""
166
- #~ "Comma-separated list of meta fields that must not be copied when cloning "
167
- #~ "a post/page"
168
- #~ msgstr ""
169
- #~ "Lista separata da virgole di campi personalizzati da non copiare quando "
170
- #~ "viene clonato un post o una pagina"
171
-
172
- #~ msgid ""
173
- #~ "Prefix to be added before the original title when cloning a post/page, e."
174
- #~ "g. \"Copy of\" (blank for no prefix)"
175
- #~ msgstr ""
176
- #~ "Prefisso da aggiungere prima del titolo originale quando si clona un post "
177
- #~ "o una pagina, es. \"Copia di\" (lasciare vuoto per nessun prefisso)"
178
-
179
- #~ msgid "Creates a copy of a post."
180
- #~ msgstr "Crea una copia di un articolo."
181
-
182
- #~ msgid ""
183
- #~ "Normally, the new draft has publication date set to current time: check "
184
- #~ "the box to copy the original post/page date"
185
- #~ msgstr ""
186
- #~ "Normalmente, la nuova bozza ha la data di pubblicazione impostata "
187
- #~ "all'istante corrente: spunta la casella per copiare la data dell'articolo/"
188
- #~ "pagina originale"
189
-
190
- #~ msgid ""
191
- #~ "Suffix to be added after the original title when cloning a post/page, e."
192
- #~ "g. \"(dup)\" (blank for no suffix)"
193
- #~ msgstr ""
194
- #~ "Suffisso da aggiungere prima del titolo originale quando si clona un post "
195
- #~ "o una pagina, es. \"(copia)\" (lasciare vuoto per nessun suffisso)"
196
-
197
- #~ msgid ""
198
- #~ "Copy the original post status (draft, published, pending) when cloning "
199
- #~ "from the post list. Cloning from the edit screen will always create a new "
200
- #~ "draft."
201
- #~ msgstr ""
202
- #~ "Copia lo stato dell'articolo originale (bozza, pubblicato, in sospeso) "
203
- #~ "quando si clona dalla lista degli articoli. La duplicazione dalla "
204
- #~ "schermata di modifica crerà sempre una nuova bozza."
6
  msgid ""
7
  msgstr ""
8
  "Project-Id-Version: duplicate-post\n"
9
+ "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10
+ "POT-Creation-Date: 2012-04-02 13:27+0000\n"
11
+ "PO-Revision-Date: 2012-04-02 21:04+0000\n"
12
+ "Last-Translator: Enrico Battocchi <Unknown>\n"
13
  "Language-Team: Italian <it@li.org>\n"
 
14
  "MIME-Version: 1.0\n"
15
  "Content-Type: text/plain; charset=UTF-8\n"
16
  "Content-Transfer-Encoding: 8bit\n"
17
+ "X-Launchpad-Export-Date: 2012-04-06 11:16+0000\n"
18
+ "X-Generator: Launchpad (build 15060)\n"
19
 
20
+ #: duplicate-post-admin.php:112
21
+ msgid "Clone this item"
22
+ msgstr "Clona questo elemento"
 
23
 
24
+ #: duplicate-post-admin.php:113
25
+ msgid "Clone"
26
+ msgstr "Clona"
27
+
28
+ #: duplicate-post-admin.php:115 duplicate-post-admin.php:133
29
+ #: duplicate-post-common.php:66 duplicate-post-common.php:70
30
+ #: duplicate-post-common.php:103
31
+ msgid "Copy to a new draft"
32
+ msgstr "Copia in una nuova bozza"
33
+
34
+ #: duplicate-post-admin.php:116
35
+ msgid "New Draft"
36
+ msgstr "Nuova bozza"
37
 
38
+ #: duplicate-post-admin.php:160
39
+ msgid "No post to duplicate has been supplied!"
40
+ msgstr "Non è stato fornito alcun articolo da copiare!"
41
+
42
+ #: duplicate-post-admin.php:182
43
+ msgid "Copy creation failed, could not find original:"
44
+ msgstr "Creazione della copia fallita, impossibile trovare l'originale:"
45
+
46
+ #: duplicate-post-admin.php:368 duplicate-post-options.php:67
47
  msgid "Donate"
48
  msgstr "Invia una donazione"
49
 
50
+ #: duplicate-post-admin.php:369 duplicate-post-options.php:68
 
51
  msgid "Translate"
52
  msgstr "Traduci"
53
 
54
+ #: duplicate-post-options.php:27 duplicate-post-options.php:61
55
+ msgid "Duplicate Post Options"
56
+ msgstr "Opzioni di Duplicate Post"
57
+
58
+ #. #-#-#-#-# plugin.pot (Duplicate Post 2.3) #-#-#-#-#
59
+ #. Plugin Name of the plugin/theme
60
+ #: duplicate-post-options.php:27
61
+ msgid "Duplicate Post"
62
+ msgstr "Duplicate Post"
63
+
64
+ #: duplicate-post-options.php:66
65
+ msgid "Visit plugin site"
66
+ msgstr "Visita il sito del plugin"
67
+
68
+ #: duplicate-post-options.php:78
69
  msgid "Copy post/page date also"
70
  msgstr "Copia anche la data dell'articolo o pagina"
71
 
72
+ #: duplicate-post-options.php:81
73
+ msgid ""
74
+ "Normally, the new copy has its publication date set to current time: check "
75
+ "the box to copy the original post/page date"
76
+ msgstr ""
77
+ "Normalmente, la nuova copia ha la data di pubblicazione impostata "
78
+ "all'istante corrente: spunta la casella per copiare la data "
79
+ "dell'articolo/pagina originale"
80
 
81
+ #: duplicate-post-options.php:86
82
  msgid "Copy post/page status"
83
  msgstr "Copia anche lo stato dell'articolo o della pagina"
84
 
85
+ #: duplicate-post-options.php:90
86
+ msgid ""
87
+ "Copy the original post status (draft, published, pending) when cloning from "
88
+ "the post list."
89
+ msgstr ""
90
+ "Copia lo stato (bozza, pubblicato, in sospeso) dell'articolo originale "
91
+ "quando si clona dalla lista degli articoli"
92
 
93
+ #: duplicate-post-options.php:95
94
  msgid "Copy excerpt"
95
  msgstr "Copia il riassunto"
96
 
97
+ #: duplicate-post-options.php:99
98
  msgid "Copy the excerpt from the original post/page"
99
  msgstr "Copia il riassunto dall'articolo o pagina originale"
100
 
101
+ #: duplicate-post-options.php:104
102
+ msgid "Copy attachments"
103
+ msgstr "Copia gli allegati"
104
+
105
+ #: duplicate-post-options.php:108
106
+ msgid "Copy the attachments from the original post/page"
107
+ msgstr "Copia gli allegati dall'articolo/pagina originale"
108
+
109
+ #: duplicate-post-options.php:113
110
  msgid "Do not copy these fields"
111
  msgstr "Non copiare questi campi"
112
 
113
+ #: duplicate-post-options.php:117
114
  msgid "Comma-separated list of meta fields that must not be copied"
115
  msgstr "Lista separata da virgole di campi personalizzati da non copiare"
116
 
117
+ #: duplicate-post-options.php:122
118
  msgid "Do not copy these taxonomies"
119
  msgstr "Non copiare queste tassonomie"
120
 
121
+ #: duplicate-post-options.php:136
122
  msgid "Select the taxonomies you don't want to be copied"
123
  msgstr "Seleziona le tassonomie che non vuoi copiare"
124
 
125
+ #: duplicate-post-options.php:141
126
  msgid "Title prefix"
127
  msgstr "Prefisso del titolo"
128
 
129
+ #: duplicate-post-options.php:145
130
+ msgid ""
131
+ "Prefix to be added before the original title, e.g. \"Copy of\" (blank for no "
132
+ "prefix)"
133
+ msgstr ""
134
+ "Prefisso da aggiungere prima del titolo originale, es. \"Copia di\" "
135
+ "(lasciare vuoto per nessun prefisso)"
136
 
137
+ #: duplicate-post-options.php:150
138
  msgid "Title suffix"
139
  msgstr "Suffisso del titolo"
140
 
141
+ #: duplicate-post-options.php:154
142
+ msgid ""
143
+ "Suffix to be added after the original title, e.g. \"(dup)\" (blank for no "
144
+ "suffix)"
145
+ msgstr ""
146
+ "Suffisso da aggiungere prima del titolo originale, es. \"(copia)\" (lasciare "
147
+ "vuoto per nessun suffisso)"
148
 
149
+ #: duplicate-post-options.php:159
150
  msgid "Roles allowed to copy"
151
  msgstr "Ruoli abilitati alla copia"
152
 
153
+ #: duplicate-post-options.php:172
154
+ msgid ""
155
+ "Warning: users will be able to copy all posts, even those of other users"
156
+ msgstr ""
157
+ "Attenzione: gli utenti potranno copiare tutti gli articoli, anche quelli di "
158
+ "altri utenti"
 
 
 
 
 
159
 
160
+ #: duplicate-post-options.php:177
161
+ msgid "Show links in"
162
+ msgstr "Mostra i link in"
163
 
164
+ #: duplicate-post-options.php:181
165
+ msgid "Post list"
166
+ msgstr "Lista articoli"
167
 
168
+ #: duplicate-post-options.php:184
169
+ msgid "Admin bar"
170
+ msgstr "Barra di amministrazione"
 
 
 
 
171
 
172
+ #: duplicate-post-options.php:187
173
+ msgid "Edit screen"
174
+ msgstr "Schermata di modifica"
175
 
176
+ #: duplicate-post-options.php:193
177
+ msgid "Save Changes"
178
+ msgstr "Salva le modifiche"
179
 
180
+ #: duplicate-post.php:44
181
+ msgid "Settings"
182
+ msgstr "Impostazioni"
183
 
184
  #. Plugin URI of the plugin/theme
185
  msgid "http://lopo.it/duplicate-post-plugin/"
196
  #. Author URI of the plugin/theme
197
  msgid "http://lopo.it"
198
  msgstr "http://lopo.it"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/duplicate-post.pot CHANGED
@@ -1,143 +1,168 @@
1
- # Copyright (C) 2010 Duplicate Post
2
  # This file is distributed under the same license as the Duplicate Post package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Duplicate Post 2.1\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/duplicate-post\n"
7
- "POT-Creation-Date: 2011-12-30 15:27:45+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
- "PO-Revision-Date: 2010-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
15
- #: duplicate-post-options.php:23 duplicate-post-options.php:55
16
- msgid "Duplicate Post Options"
17
  msgstr ""
18
 
19
- #. #-#-#-#-# plugin.pot (Duplicate Post 2.1) #-#-#-#-#
20
- #. Plugin Name of the plugin/theme
21
- #: duplicate-post-options.php:23 duplicate-post-options.php:59
22
- msgid "Duplicate Post"
 
 
 
 
 
 
 
 
23
  msgstr ""
24
 
25
- #: duplicate-post-options.php:61 duplicate-post-admin.php:301
 
 
 
 
 
 
 
 
26
  msgid "Donate"
27
  msgstr ""
28
 
29
- #: duplicate-post-options.php:62 duplicate-post-admin.php:302
30
  msgid "Translate"
31
  msgstr ""
32
 
33
- #: duplicate-post-options.php:71
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
  msgid "Copy post/page date also"
35
  msgstr ""
36
 
37
- #: duplicate-post-options.php:74
38
  msgid ""
39
  "Normally, the new copy has its publication date set to current time: check "
40
  "the box to copy the original post/page date"
41
  msgstr ""
42
 
43
- #: duplicate-post-options.php:79
44
  msgid "Copy post/page status"
45
  msgstr ""
46
 
47
- #: duplicate-post-options.php:83
48
  msgid ""
49
  "Copy the original post status (draft, published, pending) when cloning from "
50
  "the post list."
51
  msgstr ""
52
 
53
- #: duplicate-post-options.php:88
54
  msgid "Copy excerpt"
55
  msgstr ""
56
 
57
- #: duplicate-post-options.php:92
58
  msgid "Copy the excerpt from the original post/page"
59
  msgstr ""
60
 
61
- #: duplicate-post-options.php:97
 
 
 
 
 
 
 
 
62
  msgid "Do not copy these fields"
63
  msgstr ""
64
 
65
- #: duplicate-post-options.php:101
66
  msgid "Comma-separated list of meta fields that must not be copied"
67
  msgstr ""
68
 
69
- #: duplicate-post-options.php:106
70
  msgid "Do not copy these taxonomies"
71
  msgstr ""
72
 
73
- #: duplicate-post-options.php:120
74
  msgid "Select the taxonomies you don't want to be copied"
75
  msgstr ""
76
 
77
- #: duplicate-post-options.php:125
78
  msgid "Title prefix"
79
  msgstr ""
80
 
81
- #: duplicate-post-options.php:129
82
  msgid ""
83
  "Prefix to be added before the original title, e.g. \"Copy of\" (blank for no "
84
  "prefix)"
85
  msgstr ""
86
 
87
- #: duplicate-post-options.php:134
88
  msgid "Title suffix"
89
  msgstr ""
90
 
91
- #: duplicate-post-options.php:138
92
  msgid ""
93
  "Suffix to be added after the original title, e.g. \"(dup)\" (blank for no "
94
  "suffix)"
95
  msgstr ""
96
 
97
- #: duplicate-post-options.php:143
98
  msgid "Roles allowed to copy"
99
  msgstr ""
100
 
101
- #: duplicate-post-options.php:156
102
  msgid ""
103
  "Warning: users will be able to copy all posts, even those of other users"
104
  msgstr ""
105
 
106
- #: duplicate-post-options.php:165
107
- msgid "Save Changes"
108
  msgstr ""
109
 
110
- #: duplicate-post-admin.php:86
111
- msgid ""
112
- "<strong>Duplicate Post</strong> now has two different ways to work: you can "
113
- "clone immediately or you can copy to a new draft to edit.<br/>Learn more on "
114
- "the <a href=\"%s\">plugin page</a>."
115
  msgstr ""
116
 
117
- #: duplicate-post-admin.php:102
118
- msgid "Clone this item"
119
  msgstr ""
120
 
121
- #: duplicate-post-admin.php:103
122
- msgid "Clone"
123
- msgstr ""
124
-
125
- #: duplicate-post-admin.php:105 duplicate-post-admin.php:121
126
- #: duplicate-post-common.php:68 duplicate-post-common.php:72
127
- #: duplicate-post-common.php:91
128
- msgid "Copy to a new draft"
129
- msgstr ""
130
-
131
- #: duplicate-post-admin.php:106
132
- msgid "New Draft"
133
  msgstr ""
134
 
135
- #: duplicate-post-admin.php:148
136
- msgid "No post to duplicate has been supplied!"
137
  msgstr ""
138
 
139
- #: duplicate-post-admin.php:170
140
- msgid "Copy creation failed, could not find original:"
141
  msgstr ""
142
 
143
  #. Plugin URI of the plugin/theme
1
+ # Copyright (C) 2012 Duplicate Post
2
  # This file is distributed under the same license as the Duplicate Post package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Duplicate Post 2.3\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/duplicate-post\n"
7
+ "POT-Creation-Date: 2012-04-02 13:27:03+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
+ "PO-Revision-Date: 2012-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
15
+ #: duplicate-post-admin.php:112
16
+ msgid "Clone this item"
17
  msgstr ""
18
 
19
+ #: duplicate-post-admin.php:113
20
+ msgid "Clone"
21
+ msgstr ""
22
+
23
+ #: duplicate-post-admin.php:115 duplicate-post-admin.php:133
24
+ #: duplicate-post-common.php:66 duplicate-post-common.php:70
25
+ #: duplicate-post-common.php:103
26
+ msgid "Copy to a new draft"
27
+ msgstr ""
28
+
29
+ #: duplicate-post-admin.php:116
30
+ msgid "New Draft"
31
  msgstr ""
32
 
33
+ #: duplicate-post-admin.php:160
34
+ msgid "No post to duplicate has been supplied!"
35
+ msgstr ""
36
+
37
+ #: duplicate-post-admin.php:182
38
+ msgid "Copy creation failed, could not find original:"
39
+ msgstr ""
40
+
41
+ #: duplicate-post-admin.php:368 duplicate-post-options.php:67
42
  msgid "Donate"
43
  msgstr ""
44
 
45
+ #: duplicate-post-admin.php:369 duplicate-post-options.php:68
46
  msgid "Translate"
47
  msgstr ""
48
 
49
+ #: duplicate-post-options.php:27 duplicate-post-options.php:61
50
+ msgid "Duplicate Post Options"
51
+ msgstr ""
52
+
53
+ #. #-#-#-#-# plugin.pot (Duplicate Post 2.3) #-#-#-#-#
54
+ #. Plugin Name of the plugin/theme
55
+ #: duplicate-post-options.php:27
56
+ msgid "Duplicate Post"
57
+ msgstr ""
58
+
59
+ #: duplicate-post-options.php:66
60
+ msgid "Visit plugin site"
61
+ msgstr ""
62
+
63
+ #: duplicate-post-options.php:78
64
  msgid "Copy post/page date also"
65
  msgstr ""
66
 
67
+ #: duplicate-post-options.php:81
68
  msgid ""
69
  "Normally, the new copy has its publication date set to current time: check "
70
  "the box to copy the original post/page date"
71
  msgstr ""
72
 
73
+ #: duplicate-post-options.php:86
74
  msgid "Copy post/page status"
75
  msgstr ""
76
 
77
+ #: duplicate-post-options.php:90
78
  msgid ""
79
  "Copy the original post status (draft, published, pending) when cloning from "
80
  "the post list."
81
  msgstr ""
82
 
83
+ #: duplicate-post-options.php:95
84
  msgid "Copy excerpt"
85
  msgstr ""
86
 
87
+ #: duplicate-post-options.php:99
88
  msgid "Copy the excerpt from the original post/page"
89
  msgstr ""
90
 
91
+ #: duplicate-post-options.php:104
92
+ msgid "Copy attachments"
93
+ msgstr ""
94
+
95
+ #: duplicate-post-options.php:108
96
+ msgid "Copy the attachments from the original post/page"
97
+ msgstr ""
98
+
99
+ #: duplicate-post-options.php:113
100
  msgid "Do not copy these fields"
101
  msgstr ""
102
 
103
+ #: duplicate-post-options.php:117
104
  msgid "Comma-separated list of meta fields that must not be copied"
105
  msgstr ""
106
 
107
+ #: duplicate-post-options.php:122
108
  msgid "Do not copy these taxonomies"
109
  msgstr ""
110
 
111
+ #: duplicate-post-options.php:136
112
  msgid "Select the taxonomies you don't want to be copied"
113
  msgstr ""
114
 
115
+ #: duplicate-post-options.php:141
116
  msgid "Title prefix"
117
  msgstr ""
118
 
119
+ #: duplicate-post-options.php:145
120
  msgid ""
121
  "Prefix to be added before the original title, e.g. \"Copy of\" (blank for no "
122
  "prefix)"
123
  msgstr ""
124
 
125
+ #: duplicate-post-options.php:150
126
  msgid "Title suffix"
127
  msgstr ""
128
 
129
+ #: duplicate-post-options.php:154
130
  msgid ""
131
  "Suffix to be added after the original title, e.g. \"(dup)\" (blank for no "
132
  "suffix)"
133
  msgstr ""
134
 
135
+ #: duplicate-post-options.php:159
136
  msgid "Roles allowed to copy"
137
  msgstr ""
138
 
139
+ #: duplicate-post-options.php:172
140
  msgid ""
141
  "Warning: users will be able to copy all posts, even those of other users"
142
  msgstr ""
143
 
144
+ #: duplicate-post-options.php:177
145
+ msgid "Show links in"
146
  msgstr ""
147
 
148
+ #: duplicate-post-options.php:181
149
+ msgid "Post list"
 
 
 
150
  msgstr ""
151
 
152
+ #: duplicate-post-options.php:184
153
+ msgid "Admin bar"
154
  msgstr ""
155
 
156
+ #: duplicate-post-options.php:187
157
+ msgid "Edit screen"
 
 
 
 
 
 
 
 
 
 
158
  msgstr ""
159
 
160
+ #: duplicate-post-options.php:193
161
+ msgid "Save Changes"
162
  msgstr ""
163
 
164
+ #: duplicate-post.php:44
165
+ msgid "Settings"
166
  msgstr ""
167
 
168
  #. Plugin URI of the plugin/theme
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://lopo.it/duplicate-post-plugin/
4
  Tags: duplicate post, copy, clone
5
  Requires at least: 3.0
6
  Tested up to: 3.3.1
7
- Stable tag: 2.2
8
 
9
  Clone posts and pages.
10
 
@@ -29,8 +29,9 @@ There is also a **template tag**, so you can put it in your templates and clone
29
  In the Options page under Settings it is now possible to choose what to copy:
30
 
31
  * the original post/page date
32
- * the original post/page status (draft, published, pending), when cloning from the posts list.
33
  * the original post/page excerpt
 
34
  * which taxonomies and custom fields
35
 
36
  You can also set a prefix (or a suffix) to place before (or after) the title of the cloned post/page, and the roles allowed to clone posts or pages.
@@ -60,7 +61,7 @@ First, check your version of WordPress: the plugin is not supposed to work on ol
60
 
61
  Then try to deactivate and re-activate it, some user have reported that this fixes the problem.
62
 
63
- Pay attention also to the new "Roles allowed to copy" option: it should convert the former "user level" option to the new standard, but unknown problems may arise. Make sure that your role is enabled.
64
 
65
  If not, maybe there is some kind of conflict with other plugins: feel free to write me and we'll try to discover a solution (it will be *really* helpful if you try to deactivate all your other plugins one by one to see which one conflicts with mine... But do it only if you know what you're doing, I will not be responsible of any problem you may experience).
66
 
@@ -80,6 +81,9 @@ There is an open ticket in WordPress Trac, as other plugin developers too are in
80
 
81
  == Upgrade Notice ==
82
 
 
 
 
83
  = 2.2 =
84
  VERY IMPORTANT UPGRADE to get rid of problems with complex custom fields, afflicting both 2.1.* releases.
85
 
@@ -106,6 +110,12 @@ New features and customization, WP 3.0 compatibility: you should upgrade if you
106
 
107
  == Changelog ==
108
 
 
 
 
 
 
 
109
  = 2.2 =
110
  * Fix for problems when copying serialized meta fields
111
  * Fix for multiple _dp_original field
4
  Tags: duplicate post, copy, clone
5
  Requires at least: 3.0
6
  Tested up to: 3.3.1
7
+ Stable tag: 2.3
8
 
9
  Clone posts and pages.
10
 
29
  In the Options page under Settings it is now possible to choose what to copy:
30
 
31
  * the original post/page date
32
+ * the original post/page status (draft, published, pending), when cloning from the posts list
33
  * the original post/page excerpt
34
+ * the original post/page attachments (actual files won't be copied)
35
  * which taxonomies and custom fields
36
 
37
  You can also set a prefix (or a suffix) to place before (or after) the title of the cloned post/page, and the roles allowed to clone posts or pages.
61
 
62
  Then try to deactivate and re-activate it, some user have reported that this fixes the problem.
63
 
64
+ Pay also attention to the new "Roles allowed to copy" option: it should convert the former "user level" option to the new standard, but unknown problems may arise. Make sure that your role is enabled.
65
 
66
  If not, maybe there is some kind of conflict with other plugins: feel free to write me and we'll try to discover a solution (it will be *really* helpful if you try to deactivate all your other plugins one by one to see which one conflicts with mine... But do it only if you know what you're doing, I will not be responsible of any problem you may experience).
67
 
81
 
82
  == Upgrade Notice ==
83
 
84
+ = 2.3 =
85
+ Fixes a bunch of bugs + copy attachments + choose where to show the links.
86
+
87
  = 2.2 =
88
  VERY IMPORTANT UPGRADE to get rid of problems with complex custom fields, afflicting both 2.1.* releases.
89
 
110
 
111
  == Changelog ==
112
 
113
+ = 2.3 =
114
+ * Added options to choose where to show the "Clone" links
115
+ * Clone attachments (i.e. references in the DB, not physical files)
116
+ * Fix for untranslated user roles
117
+ * Some other fixes (missing checks, PHP warnings and errors, etc.)
118
+
119
  = 2.2 =
120
  * Fix for problems when copying serialized meta fields
121
  * Fix for multiple _dp_original field
screenshot-1.png DELETED
Binary file
screenshot-2.png DELETED
Binary file
screenshot-3.png DELETED
Binary file
screenshot-4.png DELETED
Binary file
screenshot-5.png DELETED
Binary file