Download Monitor - Version 1.0.2

Version Description

  • Only use wp_remote_head to get fielsize on remote files. Prevents timeouts when a file doesn't exist.
  • If a filesize cannot be found, set to -1 to prevent re-tries.
  • Insert button added to all CPT except downloads.
  • French locale by Jean-Michel MEYER.
Download this release

Release Info

Developer jolley_small
Plugin Icon 128x128 Download Monitor
Version 1.0.2
Comparing to
See all releases

Code changes from version 1.0.1 to 1.0.2

download-monitor.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Download Monitor
4
  Plugin URI: http://mikejolley.com/projects/download-monitor/
5
  Description: A full solution for managing downloadable files, monitoring downloads and outputting download links and file information on your WordPress powered site.
6
- Version: 1.0.1
7
  Author: Mike Jolley
8
  Author URI: http://mikejolley.com
9
  Requires at least: 3.5
@@ -527,6 +527,60 @@ class WP_DLM {
527
  }
528
  }
529
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
530
  }
531
 
532
  /**
3
  Plugin Name: Download Monitor
4
  Plugin URI: http://mikejolley.com/projects/download-monitor/
5
  Description: A full solution for managing downloadable files, monitoring downloads and outputting download links and file information on your WordPress powered site.
6
+ Version: 1.0.2
7
  Author: Mike Jolley
8
  Author URI: http://mikejolley.com
9
  Requires at least: 3.5
527
  }
528
  }
529
  }
530
+
531
+ /**
532
+ * Gets the filesize of a path or URL.
533
+ *
534
+ * @access public
535
+ * @return string size on success, -1 on failure
536
+ */
537
+ public function get_filesize( $file_path ) {
538
+ if ( $file_path ) {
539
+ if ( ! is_multisite() ) {
540
+
541
+ $file_path = str_replace( site_url( '/', 'https' ), ABSPATH, $file_path );
542
+ $file_path = str_replace( site_url( '/', 'http' ), ABSPATH, $file_path );
543
+
544
+ } else {
545
+
546
+ // Try to replace network url
547
+ $file_path = str_replace( network_admin_url( '/', 'https' ), ABSPATH, $file_path );
548
+ $file_path = str_replace( network_admin_url( '/', 'http' ), ABSPATH, $file_path );
549
+
550
+ // Try to replace upload URL
551
+ $upload_dir = wp_upload_dir();
552
+ $file_path = str_replace( $upload_dir['baseurl'], $upload_dir['basedir'], $file_path );
553
+ }
554
+
555
+ // See if its local or remote
556
+ if ( strstr( $file_path, 'http:' ) || strstr( $file_path, 'https:' ) || strstr( $file_path, 'ftp:' ) ) {
557
+ $remote_file = true;
558
+ } else {
559
+ $remote_file = false;
560
+ $real_file_path = realpath( current( explode( '?', $file_path ) ) );
561
+
562
+ if ( ! empty( $real_file_path ) )
563
+ $file_path = $real_file_path;
564
+
565
+ // See if we need to add abspath if this is a relative URL
566
+ if ( ! file_exists( $file_path ) && file_exists( ABSPATH . $file_path ) )
567
+ $file_path = ABSPATH . $file_path;
568
+ }
569
+
570
+ if ( $remote_file ) {
571
+ $file = wp_remote_head( $file_path );
572
+
573
+ if ( ! is_wp_error( $file ) && ! empty( $file['headers']['content-length'] ) )
574
+ return $file['headers']['content-length'];
575
+ } else {
576
+ if ( file_exists( $file_path ) && ( $filesize = filesize( $file_path ) ) ) {
577
+ return $filesize;
578
+ }
579
+ }
580
+ }
581
+
582
+ return -1;
583
+ }
584
  }
585
 
586
  /**
includes/admin/class-dlm-admin-cpt.php CHANGED
@@ -226,9 +226,12 @@ class DLM_Admin_CPT {
226
 
227
  break;
228
  case "file" :
229
- if ( $file )
230
- echo '<code>' . $file->filename . '</code>';
231
- else
 
 
 
232
  echo '<span class="na">&ndash;</span>';
233
  break;
234
  case "version" :
226
 
227
  break;
228
  case "file" :
229
+ if ( $file ) {
230
+ echo '<code>' . $file->filename;
231
+ if ( $size = $download->get_the_filesize() )
232
+ echo ' &ndash; ' . $size;
233
+ echo '</code>';
234
+ } else
235
  echo '<span class="na">&ndash;</span>';
236
  break;
237
  case "version" :
includes/admin/class-dlm-admin-insert.php CHANGED
@@ -26,7 +26,7 @@ class DLM_Admin_Insert {
26
  public function media_buttons( $editor_id = 'content' ) {
27
  global $download_monitor, $post;
28
 
29
- if ( ! isset( $post->post_type ) || ! in_array( $post->post_type, array( 'post', 'page' ) ) )
30
  return;
31
 
32
  echo '<a href="#" class="button insert-download add_download" data-editor="' . esc_attr( $editor_id ) . '" title="' . esc_attr__( 'Insert Download', 'download_monitor' ) . '">' . __( 'Insert Download', 'download_monitor' ) . '</a>';
@@ -126,19 +126,7 @@ class DLM_Admin_Insert {
126
  // Meta
127
  update_post_meta( $file_id, '_version', $version );
128
  update_post_meta( $file_id, '_files', array( $url ) );
129
-
130
- $filesize = null;
131
-
132
- if ( file_exists( $url ) && ( $filesize = filesize( $url ) ) )
133
- $filesize = $filesize;
134
- else {
135
- $file = wp_remote_head( $url );
136
-
137
- if ( ! is_wp_error( $file ) && ! empty( $file['headers']['content-length'] ) )
138
- $filesize = $file['headers']['content-length'];
139
- }
140
-
141
- update_post_meta( $file_id, '_filesize', $filesize );
142
 
143
  echo '<div class="updated"><p>' . __( 'Download successfully created.', 'download_monitor' ) . '</p></div>';
144
 
26
  public function media_buttons( $editor_id = 'content' ) {
27
  global $download_monitor, $post;
28
 
29
+ if ( ! isset( $post->post_type ) || in_array( $post->post_type, array( 'dlm_download' ) ) )
30
  return;
31
 
32
  echo '<a href="#" class="button insert-download add_download" data-editor="' . esc_attr( $editor_id ) . '" title="' . esc_attr__( 'Insert Download', 'download_monitor' ) . '">' . __( 'Insert Download', 'download_monitor' ) . '</a>';
126
  // Meta
127
  update_post_meta( $file_id, '_version', $version );
128
  update_post_meta( $file_id, '_files', array( $url ) );
129
+ update_post_meta( $file_id, '_filesize', $download_monitor->get_filesize( $url ) );
 
 
 
 
 
 
 
 
 
 
 
 
130
 
131
  echo '<div class="updated"><p>' . __( 'Download successfully created.', 'download_monitor' ) . '</p></div>';
132
 
includes/admin/class-dlm-admin-writepanels.php CHANGED
@@ -412,14 +412,14 @@ class DLM_Admin_Writepanels {
412
  if ( ! isset( $downloadable_file_id[ $i ] ) )
413
  continue;
414
 
415
- $file_id = absint( $downloadable_file_id[ $i ] );
416
- $file_menu_order = absint( $downloadable_file_menu_order[ $i ] );
417
- $file_version = sanitize_text_field( $downloadable_file_version[ $i ] );
418
- $file_date_hour = absint( $downloadable_file_date_hour[ $i ] );
419
- $file_date_minute = absint( $downloadable_file_date_minute[ $i ] );
420
- $file_date = sanitize_text_field( $downloadable_file_date[ $i ] );
421
- $file_download_count = sanitize_text_field( $downloadable_file_download_count[ $i ] );
422
- $files = array_filter( array_map( 'trim', explode( "\n", $downloadable_file_urls[ $i ] ) ) );
423
 
424
  if ( ! $file_id )
425
  continue;
@@ -446,17 +446,11 @@ class DLM_Admin_Writepanels {
446
  update_post_meta( $file_id, '_version', $file_version );
447
  update_post_meta( $file_id, '_files', $files );
448
 
449
- $filesize = null;
450
- $url = current( $files );
451
 
452
- if ( file_exists( $url ) && ( $filesize = filesize( $url ) ) )
453
- $filesize = $filesize;
454
- else {
455
- $file = wp_remote_head( $url );
456
-
457
- if ( ! is_wp_error( $file ) && ! empty( $file['headers']['content-length'] ) )
458
- $filesize = $file['headers']['content-length'];
459
- }
460
 
461
  update_post_meta( $file_id, '_filesize', $filesize );
462
 
412
  if ( ! isset( $downloadable_file_id[ $i ] ) )
413
  continue;
414
 
415
+ $file_id = absint( $downloadable_file_id[ $i ] );
416
+ $file_menu_order = absint( $downloadable_file_menu_order[ $i ] );
417
+ $file_version = sanitize_text_field( $downloadable_file_version[ $i ] );
418
+ $file_date_hour = absint( $downloadable_file_date_hour[ $i ] );
419
+ $file_date_minute = absint( $downloadable_file_date_minute[ $i ] );
420
+ $file_date = sanitize_text_field( $downloadable_file_date[ $i ] );
421
+ $file_download_count = sanitize_text_field( $downloadable_file_download_count[ $i ] );
422
+ $files = array_filter( array_map( 'trim', explode( "\n", $downloadable_file_urls[ $i ] ) ) );
423
 
424
  if ( ! $file_id )
425
  continue;
446
  update_post_meta( $file_id, '_version', $file_version );
447
  update_post_meta( $file_id, '_files', $files );
448
 
449
+ $filesize = -1;
450
+ $main_file_path = current( $files );
451
 
452
+ if ( $main_file_path )
453
+ $filesize = $download_monitor->get_filesize( $main_file_path );
 
 
 
 
 
 
454
 
455
  update_post_meta( $file_id, '_filesize', $filesize );
456
 
includes/class-dlm-download-version.php CHANGED
@@ -25,7 +25,7 @@ class DLM_Download_Version {
25
  $this->filesize = get_post_meta( $this->id, '_filesize', true );
26
 
27
  // If data is not set, load it
28
- if ( ! $this->filesize )
29
  $this->filesize = $this->get_filesize( $this->url );
30
  }
31
 
@@ -53,33 +53,9 @@ class DLM_Download_Version {
53
  * @return void
54
  */
55
  public function get_filesize( $file_path ) {
 
56
 
57
- $filesize = null;
58
-
59
- if ( ! is_multisite() ) {
60
-
61
- $file_path = str_replace( site_url( '/', 'https' ), ABSPATH, $file_path );
62
- $file_path = str_replace( site_url( '/', 'http' ), ABSPATH, $file_path );
63
-
64
- } else {
65
-
66
- // Try to replace network url
67
- $file_path = str_replace( network_admin_url( '/', 'https' ), ABSPATH, $file_path );
68
- $file_path = str_replace( network_admin_url( '/', 'http' ), ABSPATH, $file_path );
69
-
70
- // Try to replace upload URL
71
- $upload_dir = wp_upload_dir();
72
- $file_path = str_replace( $upload_dir['baseurl'], $upload_dir['basedir'], $file_path );
73
- }
74
-
75
- if ( file_exists( $file_path ) && ( $filesize = filesize( $file_path ) ) )
76
- $filesize = $filesize;
77
- else {
78
- $file = wp_remote_head( $file_path );
79
-
80
- if ( ! is_wp_error( $file ) && ! empty( $file['headers']['content-length'] ) )
81
- $filesize = $file['headers']['content-length'];
82
- }
83
 
84
  update_post_meta( $this->id, '_filesize', $filesize );
85
 
25
  $this->filesize = get_post_meta( $this->id, '_filesize', true );
26
 
27
  // If data is not set, load it
28
+ if ( $this->filesize == "" )
29
  $this->filesize = $this->get_filesize( $this->url );
30
  }
31
 
53
  * @return void
54
  */
55
  public function get_filesize( $file_path ) {
56
+ global $download_monitor;
57
 
58
+ $filesize = $download_monitor->get_filesize( $file_path );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
59
 
60
  update_post_meta( $this->id, '_filesize', $filesize );
61
 
includes/class-dlm-download.php CHANGED
@@ -308,7 +308,7 @@ class DLM_Download {
308
  public function get_the_filesize() {
309
  $filesize = $this->get_file_version()->filesize;
310
 
311
- if ( $filesize )
312
  return size_format( $filesize );
313
  }
314
 
308
  public function get_the_filesize() {
309
  $filesize = $this->get_file_version()->filesize;
310
 
311
+ if ( $filesize > 0 )
312
  return size_format( $filesize );
313
  }
314
 
languages/download_monitor-fr_FR.mo ADDED
Binary file
languages/download_monitor-fr_FR.po ADDED
@@ -0,0 +1,1009 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Download Monitor v1.0.0\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: \n"
6
+ "PO-Revision-Date: 2013-06-27 20:34+0100\n"
7
+ "Last-Translator: Li-An <lian00@gmail.com>\n"
8
+ "Language-Team: \n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "Plural-Forms: nplurals=2; plural=n>1;\n"
13
+ "X-Generator: Poedit 1.5.5\n"
14
+ "X-Poedit-SourceCharset: utf-8\n"
15
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
16
+ "_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
17
+ "X-Textdomain-Support: yes\n"
18
+ "Language: fr_FR\n"
19
+ "X-Poedit-SearchPath-0: .\n"
20
+
21
+ # @ download_monitor
22
+ #: download-monitor.php:90 includes/admin/class-dlm-admin.php:206
23
+ msgid "Settings"
24
+ msgstr "Réglages"
25
+
26
+ # @ download_monitor
27
+ #: download-monitor.php:91
28
+ msgid "Add-ons"
29
+ msgstr "Extensions"
30
+
31
+ # @ download_monitor
32
+ #: download-monitor.php:92
33
+ msgid "Docs"
34
+ msgstr "Docs"
35
+
36
+ # @ download_monitor
37
+ #: download-monitor.php:240 download-monitor.php:242
38
+ #: includes/admin/class-dlm-admin-cpt.php:174
39
+ msgid "Categories"
40
+ msgstr "Catégories"
41
+
42
+ # @ download_monitor
43
+ #: download-monitor.php:243
44
+ msgid "Download Category"
45
+ msgstr "Catégorie de téléchargement"
46
+
47
+ # @ download_monitor
48
+ #: download-monitor.php:244
49
+ msgid "Search Download Categories"
50
+ msgstr "Recherche dans les catégories de téléchargement"
51
+
52
+ # @ download_monitor
53
+ #: download-monitor.php:245
54
+ msgid "All Download Categories"
55
+ msgstr "Toutes les catégories de téléchargement"
56
+
57
+ # @ download_monitor
58
+ #: download-monitor.php:246
59
+ msgid "Parent Download Category"
60
+ msgstr "Catégorie parent de téléchargement"
61
+
62
+ # @ download_monitor
63
+ #: download-monitor.php:247
64
+ msgid "Parent Download Category:"
65
+ msgstr "Catégorie parent de téléchargement:"
66
+
67
+ # @ download_monitor
68
+ #: download-monitor.php:248
69
+ msgid "Edit Download Category"
70
+ msgstr "Editer la catégorie de téléchargement"
71
+
72
+ # @ download_monitor
73
+ #: download-monitor.php:249
74
+ msgid "Update Download Category"
75
+ msgstr "Mise à jour de la catégorie de téléchargement"
76
+
77
+ # @ download_monitor
78
+ #: download-monitor.php:250
79
+ msgid "Add New Download Category"
80
+ msgstr "Ajouter une nouvelle catégorie de téléchargement"
81
+
82
+ # @ download_monitor
83
+ #: download-monitor.php:251
84
+ msgid "New Download Category Name"
85
+ msgstr "Nouveau nom de catégorie de téléchargement"
86
+
87
+ # @ download_monitor
88
+ #: download-monitor.php:269 download-monitor.php:271
89
+ #: includes/admin/class-dlm-admin-cpt.php:175
90
+ msgid "Tags"
91
+ msgstr "Mots-clef"
92
+
93
+ # @ download_monitor
94
+ #: download-monitor.php:272
95
+ msgid "Download Tag"
96
+ msgstr "Mot-clef de téléchargement"
97
+
98
+ # @ download_monitor
99
+ #: download-monitor.php:273
100
+ msgid "Search Download Tags"
101
+ msgstr "Rechercher dans les mots-clef de téléchargement"
102
+
103
+ # @ download_monitor
104
+ #: download-monitor.php:274
105
+ msgid "All Download Tags"
106
+ msgstr "Tous les mots-clef de téléchargement"
107
+
108
+ # @ download_monitor
109
+ #: download-monitor.php:275
110
+ msgid "Parent Download Tag"
111
+ msgstr "Mot-clef parent de téléchargement"
112
+
113
+ # @ download_monitor
114
+ #: download-monitor.php:276
115
+ msgid "Parent Download Tag:"
116
+ msgstr "Mot-clef parent de téléchargement:"
117
+
118
+ # @ download_monitor
119
+ #: download-monitor.php:277
120
+ msgid "Edit Download Tag"
121
+ msgstr "Éditer mot-clef de téléchargement"
122
+
123
+ # @ download_monitor
124
+ #: download-monitor.php:278
125
+ msgid "Update Download Tag"
126
+ msgstr "Mise à jour mot-clef de téléchargement"
127
+
128
+ # @ download_monitor
129
+ #: download-monitor.php:279
130
+ msgid "Add New Download Tag"
131
+ msgstr "Ajouter mot-clef de téléchargement"
132
+
133
+ # @ download_monitor
134
+ #: download-monitor.php:280
135
+ msgid "New Download Tag Name"
136
+ msgstr "Nouveau nom de mot-clef de téléchargement"
137
+
138
+ # @ download_monitor
139
+ #: download-monitor.php:300
140
+ msgid "Downloads"
141
+ msgstr "Téléchargements"
142
+
143
+ # @ download_monitor
144
+ #: download-monitor.php:301 includes/admin/class-dlm-admin-dashboard.php:67
145
+ #: includes/admin/class-dlm-logging-list-table.php:116
146
+ msgid "Download"
147
+ msgstr "Téléchargement"
148
+
149
+ # @ download_monitor
150
+ #: download-monitor.php:302
151
+ msgid "Add New"
152
+ msgstr "Ajouter nouveau"
153
+
154
+ # @ download_monitor
155
+ #: download-monitor.php:303
156
+ msgid "Add Download"
157
+ msgstr "Ajouter téléchargement"
158
+
159
+ # @ download_monitor
160
+ #: download-monitor.php:304
161
+ msgid "Edit"
162
+ msgstr "Éditer"
163
+
164
+ # @ download_monitor
165
+ #: download-monitor.php:305
166
+ msgid "Edit Download"
167
+ msgstr "Éditer téléchargement"
168
+
169
+ # @ download_monitor
170
+ #: download-monitor.php:306
171
+ msgid "New Download"
172
+ msgstr "Nouveau téléchargement"
173
+
174
+ # @ download_monitor
175
+ #: download-monitor.php:307 download-monitor.php:308
176
+ msgid "View Download"
177
+ msgstr "Voir téléchargement"
178
+
179
+ # @ download_monitor
180
+ #: download-monitor.php:309
181
+ msgid "Search Downloads"
182
+ msgstr "Rechercher dans les téléchargements"
183
+
184
+ # @ download_monitor
185
+ #: download-monitor.php:310
186
+ msgid "No Downloads found"
187
+ msgstr "Aucun téléchargement de trouvé"
188
+
189
+ # @ download_monitor
190
+ #: download-monitor.php:311
191
+ msgid "No Downloads found in trash"
192
+ msgstr "Aucun téléchargement de trouvé dans la poubelle"
193
+
194
+ # @ download_monitor
195
+ #: download-monitor.php:312
196
+ msgid "Parent Download"
197
+ msgstr "Téléchargement parent"
198
+
199
+ # @ download_monitor
200
+ #: download-monitor.php:314
201
+ msgid "This is where you can create and manage downloads for your site."
202
+ msgstr "Vous pouvez créer et gérer les téléchargements pour votre site ici."
203
+
204
+ # @ download_monitor
205
+ #: includes/admin/class-dlm-admin-cpt.php:64
206
+ msgid "Select a category"
207
+ msgstr "Sélectionner une catégorie"
208
+
209
+ # @ download_monitor
210
+ #: includes/admin/class-dlm-admin-cpt.php:124
211
+ msgid "Download title"
212
+ msgstr "Titre de téléchargement"
213
+
214
+ # @ download_monitor
215
+ #: includes/admin/class-dlm-admin-cpt.php:140
216
+ #: includes/admin/class-dlm-admin-cpt.php:143
217
+ msgid "Download updated."
218
+ msgstr "Téléchargement mis à jour."
219
+
220
+ # @ download_monitor
221
+ #: includes/admin/class-dlm-admin-cpt.php:141
222
+ msgid "Custom field updated."
223
+ msgstr "Champ personnalisé mis à jour."
224
+
225
+ # @ download_monitor
226
+ #: includes/admin/class-dlm-admin-cpt.php:142
227
+ msgid "Custom field deleted."
228
+ msgstr "Champ personnalisé supprimé."
229
+
230
+ # @ download_monitor
231
+ #: includes/admin/class-dlm-admin-cpt.php:144
232
+ #, php-format
233
+ msgid "Download restored to revision from %s"
234
+ msgstr "Téléchargement restauré à partir de la révision %s"
235
+
236
+ # @ download_monitor
237
+ #: includes/admin/class-dlm-admin-cpt.php:145
238
+ msgid "Download published."
239
+ msgstr "Téléchargement publié."
240
+
241
+ # @ download_monitor
242
+ #: includes/admin/class-dlm-admin-cpt.php:146
243
+ msgid "Download saved."
244
+ msgstr "Téléchargement sauvegardé."
245
+
246
+ # @ download_monitor
247
+ #: includes/admin/class-dlm-admin-cpt.php:147
248
+ msgid "Download submitted."
249
+ msgstr "Téléchargement soumis."
250
+
251
+ # @ download_monitor
252
+ #: includes/admin/class-dlm-admin-cpt.php:148
253
+ #, php-format
254
+ msgid "Download scheduled for: <strong>%1$s</strong>."
255
+ msgstr "Téléchargement programmé pour: <strong>%1$s</strong>."
256
+
257
+ # @ download_monitor
258
+ #: includes/admin/class-dlm-admin-cpt.php:149
259
+ msgid "M j, Y @ G:i"
260
+ msgstr "j F Y @ G:i"
261
+
262
+ # @ download_monitor
263
+ #: includes/admin/class-dlm-admin-cpt.php:150
264
+ msgid "Download draft updated."
265
+ msgstr "Brouillon de téléchargement mis à jour."
266
+
267
+ # @ download_monitor
268
+ #: includes/admin/class-dlm-admin-cpt.php:169
269
+ msgid "Image"
270
+ msgstr "Image"
271
+
272
+ # @ download_monitor
273
+ #: includes/admin/class-dlm-admin-cpt.php:170
274
+ #: includes/widgets/class-dlm-widget-downloads.php:171
275
+ msgid "Title"
276
+ msgstr "Titre"
277
+
278
+ # @ download_monitor
279
+ #: includes/admin/class-dlm-admin-cpt.php:171
280
+ #: includes/widgets/class-dlm-widget-downloads.php:173
281
+ msgid "ID"
282
+ msgstr "ID de "
283
+
284
+ # @ download_monitor
285
+ #: includes/admin/class-dlm-admin-cpt.php:172
286
+ #: includes/admin/class-dlm-logging-list-table.php:117
287
+ msgid "File"
288
+ msgstr "Fichier"
289
+
290
+ # @ download_monitor
291
+ #: includes/admin/class-dlm-admin-cpt.php:173
292
+ #: includes/admin/class-dlm-admin-insert.php:211
293
+ #: includes/admin/html-downloadable-file-version.php:13
294
+ msgid "Version"
295
+ msgstr "Version"
296
+
297
+ # @ download_monitor
298
+ #: includes/admin/class-dlm-admin-cpt.php:177
299
+ msgid "download_count"
300
+ msgstr "download_count"
301
+
302
+ # @ download_monitor
303
+ #: includes/admin/class-dlm-admin-cpt.php:178
304
+ msgid "Featured"
305
+ msgstr "À la une"
306
+
307
+ # @ download_monitor
308
+ #: includes/admin/class-dlm-admin-cpt.php:179
309
+ #: includes/admin/class-dlm-admin-writepanels.php:63
310
+ msgid "Members only"
311
+ msgstr "Membres uniquement"
312
+
313
+ # @ download_monitor
314
+ #: includes/admin/class-dlm-admin-cpt.php:181
315
+ msgid "Date posted"
316
+ msgstr "Date de publication"
317
+
318
+ # @ download_monitor
319
+ #: includes/admin/class-dlm-admin-dashboard.php:21
320
+ msgid "Popular Downloads"
321
+ msgstr "Téléchargements populaires"
322
+
323
+ # @ download_monitor
324
+ #: includes/admin/class-dlm-admin-dashboard.php:53
325
+ msgid "There are no stats available yet!"
326
+ msgstr "Il n'y a pas de stats disponibles actuellement !"
327
+
328
+ # @ download_monitor
329
+ #: includes/admin/class-dlm-admin-dashboard.php:68
330
+ #: includes/admin/html-downloadable-file-version.php:29
331
+ #: includes/widgets/class-dlm-widget-downloads.php:176
332
+ msgid "Download count"
333
+ msgstr "Décompte téléchargement"
334
+
335
+ # @ download_monitor
336
+ #: includes/admin/class-dlm-admin-insert.php:32
337
+ #: includes/admin/class-dlm-admin-insert.php:40
338
+ #: includes/admin/class-dlm-admin-insert.php:71
339
+ msgid "Insert Download"
340
+ msgstr "Insérer téléchargement"
341
+
342
+ # @ download_monitor
343
+ #: includes/admin/class-dlm-admin-insert.php:81
344
+ #: includes/admin/class-dlm-admin-insert.php:182
345
+ msgid "Insert Shortcode"
346
+ msgstr "Insérer shortcode"
347
+
348
+ # @ download_monitor
349
+ #: includes/admin/class-dlm-admin-insert.php:81
350
+ msgid "Quick-add download"
351
+ msgstr "Ajouter rapidement un téléchargement"
352
+
353
+ # @ download_monitor
354
+ #: includes/admin/class-dlm-admin-insert.php:124
355
+ msgid "Error: File was not created."
356
+ msgstr "Erreur: le fichier n'a pas été créé."
357
+
358
+ # @ download_monitor
359
+ #: includes/admin/class-dlm-admin-insert.php:143
360
+ msgid "Download successfully created."
361
+ msgstr "Téléchargement créé avec succès."
362
+
363
+ # @ download_monitor
364
+ #: includes/admin/class-dlm-admin-insert.php:145
365
+ msgid "Error: Download was not created."
366
+ msgstr "Erreur: téléchargement non créé."
367
+
368
+ # @ download_monitor
369
+ #: includes/admin/class-dlm-admin-insert.php:163
370
+ msgid "Choose a download"
371
+ msgstr "Choisir un téléchargement"
372
+
373
+ # @ download_monitor
374
+ #: includes/admin/class-dlm-admin-insert.php:175
375
+ msgid "Template"
376
+ msgstr "Template"
377
+
378
+ # @ download_monitor
379
+ #: includes/admin/class-dlm-admin-insert.php:176
380
+ msgid "Template Name"
381
+ msgstr "Nom de template"
382
+
383
+ # @ download_monitor
384
+ #: includes/admin/class-dlm-admin-insert.php:178
385
+ #: includes/admin/class-dlm-admin.php:94
386
+ msgid ""
387
+ "Leaving this blank will use the default <code>content-download.php</code> "
388
+ "template file. If you enter, for example, <code>image</code>, the "
389
+ "<code>content-download-image.php</code> template will be used instead."
390
+ msgstr ""
391
+ "Laisser ce champ vide fera utiliser le fichier template par défaut "
392
+ "<code>content-download.php</code>. Si vous entrez par exemple <code>image</"
393
+ "code>, le template <code>content-download-image.php</code> sera utilisé à la "
394
+ "place. "
395
+
396
+ # @ download_monitor
397
+ #: includes/admin/class-dlm-admin-insert.php:193
398
+ msgid "Drop file here"
399
+ msgstr "Déposer le fichier ici"
400
+
401
+ # @ download_monitor
402
+ #: includes/admin/class-dlm-admin-insert.php:194
403
+ #: includes/admin/class-dlm-admin-insert.php:196
404
+ msgid "or"
405
+ msgstr "ou"
406
+
407
+ # @ download_monitor
408
+ #: includes/admin/class-dlm-admin-insert.php:195
409
+ msgid "Select File"
410
+ msgstr "Sélectionner fichier"
411
+
412
+ # @ download_monitor
413
+ #: includes/admin/class-dlm-admin-insert.php:197
414
+ msgid "Enter URL manually"
415
+ msgstr "Entrer URL manuellement"
416
+
417
+ # @ download_monitor
418
+ #: includes/admin/class-dlm-admin-insert.php:203
419
+ msgid "Download URL"
420
+ msgstr "URL de téléchargement"
421
+
422
+ # @ download_monitor
423
+ #: includes/admin/class-dlm-admin-insert.php:204
424
+ msgid "Required URL"
425
+ msgstr "URL requis"
426
+
427
+ # @ download_monitor
428
+ #: includes/admin/class-dlm-admin-insert.php:207
429
+ msgid "Download Title"
430
+ msgstr "Titre de téléchargement"
431
+
432
+ # @ download_monitor
433
+ #: includes/admin/class-dlm-admin-insert.php:208
434
+ msgid "Required title"
435
+ msgstr "Titre requis"
436
+
437
+ # @ download_monitor
438
+ #: includes/admin/class-dlm-admin-insert.php:212
439
+ msgid "Optional version number"
440
+ msgstr "Numéro de version optionnel"
441
+
442
+ # @ download_monitor
443
+ #: includes/admin/class-dlm-admin-insert.php:215
444
+ msgid "Save Download"
445
+ msgstr "Sauvegarder téléchargement"
446
+
447
+ # @ default
448
+ #: includes/admin/class-dlm-admin-insert.php:273
449
+ msgid "Allowed Files"
450
+ msgstr "Fichiers autorisés"
451
+
452
+ # @ download_monitor
453
+ #: includes/admin/class-dlm-admin-insert.php:323
454
+ msgid "Please wait..."
455
+ msgstr "Veuillez patienter..."
456
+
457
+ # @ download_monitor
458
+ #: includes/admin/class-dlm-admin-media-browser.php:31
459
+ #: includes/admin/class-dlm-admin-writepanels.php:245
460
+ msgid "Browse for a file"
461
+ msgstr "Parcourir à la recherche d'un fichier"
462
+
463
+ # @ download_monitor
464
+ #: includes/admin/class-dlm-admin-media-browser.php:100
465
+ msgid "No files found"
466
+ msgstr "Aucun fichier de trouvé"
467
+
468
+ # @ download_monitor
469
+ #: includes/admin/class-dlm-admin-writepanels.php:29
470
+ msgid "Download Options"
471
+ msgstr "Options de téléchargement"
472
+
473
+ # @ download_monitor
474
+ #: includes/admin/class-dlm-admin-writepanels.php:30
475
+ msgid "Downloadable File Versions"
476
+ msgstr "Versions de fichier téléchargeables"
477
+
478
+ # @ download_monitor
479
+ #: includes/admin/class-dlm-admin-writepanels.php:35
480
+ msgid "Short Description"
481
+ msgstr "Description rapide"
482
+
483
+ # @ download_monitor
484
+ #: includes/admin/class-dlm-admin-writepanels.php:57
485
+ msgid "Featured download"
486
+ msgstr "Téléchargement à la une"
487
+
488
+ # @ download_monitor
489
+ #: includes/admin/class-dlm-admin-writepanels.php:58
490
+ msgid "Mark this download as featured. Used by shortcodes and widgets."
491
+ msgstr ""
492
+ "Marque ce téléchargement comme étant à la une. Utilisé par les shortcodes et "
493
+ "les widgets."
494
+
495
+ # @ download_monitor
496
+ #: includes/admin/class-dlm-admin-writepanels.php:64
497
+ msgid ""
498
+ "Only logged in users will be able to access the file via a download link if "
499
+ "this is enabled."
500
+ msgstr ""
501
+ "Seuls les utilisateurs connectés auront accès au fichier via un lien de "
502
+ "téléchargement si il est disponible."
503
+
504
+ # @ download_monitor
505
+ #: includes/admin/class-dlm-admin-writepanels.php:86
506
+ msgid "Add version"
507
+ msgstr "Ajouter une version"
508
+
509
+ # @ download_monitor
510
+ #: includes/admin/class-dlm-admin-writepanels.php:87
511
+ msgid "Close all"
512
+ msgstr "Fermer tout"
513
+
514
+ # @ download_monitor
515
+ #: includes/admin/class-dlm-admin-writepanels.php:87
516
+ msgid "Expand all"
517
+ msgstr "Développer tout"
518
+
519
+ # @ download_monitor
520
+ #: includes/admin/class-dlm-admin-writepanels.php:210
521
+ msgid "Are you sure you want to delete this file?"
522
+ msgstr "Êtes-vous sûr de vouloir supprimer ce fichier ?"
523
+
524
+ # @ download_monitor
525
+ #: includes/admin/class-dlm-admin.php:87
526
+ msgid "General"
527
+ msgstr "Général"
528
+
529
+ # @ download_monitor
530
+ #: includes/admin/class-dlm-admin.php:93
531
+ msgid "Default Template"
532
+ msgstr "Template par défaut"
533
+
534
+ # @ download_monitor
535
+ #: includes/admin/class-dlm-admin.php:94
536
+ msgid ""
537
+ "Choose which template is used for <code>[download]</code> shortcodes by "
538
+ "default (this can be overridden by the <code>format</code> argument)."
539
+ msgstr ""
540
+ "Veuillez choisir quel template sera utilisé pour les shortcodes <code>"
541
+ "[download]</code> par défaut (vous pouvez passer outre avec l'argument "
542
+ "<code>format</code>)."
543
+
544
+ # @ download_monitor
545
+ #: includes/admin/class-dlm-admin.php:99
546
+ msgid "Endpoint"
547
+ msgstr "Endpoint"
548
+
549
+ # @ download_monitor
550
+ #: includes/admin/class-dlm-admin.php:104
551
+ msgid "download"
552
+ msgstr "download"
553
+
554
+ # @ download_monitor
555
+ #: includes/admin/class-dlm-admin.php:105
556
+ msgid "Download Endpoint"
557
+ msgstr "Endpoint de téléchargement"
558
+
559
+ # @ download_monitor
560
+ #: includes/admin/class-dlm-admin.php:106
561
+ #, php-format
562
+ msgid ""
563
+ "Define what endpoint should be used for download links. By default this will "
564
+ "be <code>%s</code>."
565
+ msgstr ""
566
+ "Définit quet endpoint doit être utilisé pour les liens de téléchargement. "
567
+ "Par défaut, ce sera <code>%s</code>."
568
+
569
+ # @ download_monitor
570
+ #: includes/admin/class-dlm-admin.php:111
571
+ msgid "Endpoint Value"
572
+ msgstr "Valeur de endpoint"
573
+
574
+ # @ download_monitor
575
+ #: includes/admin/class-dlm-admin.php:112
576
+ #, php-format
577
+ msgid ""
578
+ "Define what unique value should be used on the end of your endpoint to "
579
+ "identify the downloadable file. e.g. ID would give a link like <code>%s</"
580
+ "code>"
581
+ msgstr ""
582
+ "Définit quelle unique valeur doit être utilisée à la fin de votre endpoint "
583
+ "pour identifier le fichier téléchargeable, c' à d l'ID donnerait un lien du "
584
+ "genre <code>%s</code>"
585
+
586
+ # @ download_monitor
587
+ #: includes/admin/class-dlm-admin.php:115
588
+ #: includes/admin/class-dlm-admin.php:369
589
+ msgid "Download ID"
590
+ msgstr "ID de téléchargement"
591
+
592
+ # @ download_monitor
593
+ #: includes/admin/class-dlm-admin.php:116
594
+ msgid "Download slug"
595
+ msgstr "Identifiant de téléchargement"
596
+
597
+ # @ download_monitor
598
+ #: includes/admin/class-dlm-admin.php:122
599
+ msgid "X-Accel-Redirect / X-Sendfile"
600
+ msgstr "X-Accel-Redirect / X-Sendfile"
601
+
602
+ # @ download_monitor
603
+ #: includes/admin/class-dlm-admin.php:123
604
+ #: includes/admin/class-dlm-admin.php:134
605
+ msgid "Enable"
606
+ msgstr "Activé"
607
+
608
+ # @ download_monitor
609
+ #: includes/admin/class-dlm-admin.php:124
610
+ msgid ""
611
+ "If supported, <code>X-Accel-Redirect</code> / <code>X-Sendfile</code> can be "
612
+ "used to serve downloads instead of PHP (server requires <code>mod_xsendfile</"
613
+ "code>)."
614
+ msgstr ""
615
+ "Si supporté, <code>X-Accel-Redirect</code> / <code>X-Sendfile</code> peut "
616
+ "être utilisé pour servir les téléchargements plutôt que par PHP (le serveur "
617
+ "nécessite <code>mod_xsendfile</code>)."
618
+
619
+ # @ download_monitor
620
+ #: includes/admin/class-dlm-admin.php:130
621
+ msgid "Logging"
622
+ msgstr "Connexion"
623
+
624
+ # @ download_monitor
625
+ #: includes/admin/class-dlm-admin.php:136
626
+ msgid "Download Log"
627
+ msgstr "Log de téléchargement"
628
+
629
+ # @ download_monitor
630
+ #: includes/admin/class-dlm-admin.php:137
631
+ msgid "Log download attempts, IP addresses and more."
632
+ msgstr "Log de tentatives de téléchargement, adresses IP et plus. "
633
+
634
+ # @ download_monitor
635
+ #: includes/admin/class-dlm-admin.php:143
636
+ msgid "Blacklist IPs"
637
+ msgstr "Liste noire d'IP"
638
+
639
+ # @ download_monitor
640
+ #: includes/admin/class-dlm-admin.php:144
641
+ msgid ""
642
+ "List IP Addresses to blacklist, 1 per line. Use <code>*</code> for a "
643
+ "wildcard."
644
+ msgstr ""
645
+ "Liste d'adresses IP à blacklister, une par ligne. Utilisez <code>*</code> "
646
+ "comme caractère générique."
647
+
648
+ # @ download_monitor
649
+ #: includes/admin/class-dlm-admin.php:151
650
+ msgid "Blacklist user agents"
651
+ msgstr "Liste noire d'user agents"
652
+
653
+ # @ download_monitor
654
+ #: includes/admin/class-dlm-admin.php:152
655
+ msgid "List browser user agents to blacklist, 1 per line."
656
+ msgstr "Liste d'user agents de navigateur à blacklister, un par ligne."
657
+
658
+ # @ download_monitor
659
+ #: includes/admin/class-dlm-admin.php:204
660
+ msgid "Logs"
661
+ msgstr "Logs"
662
+
663
+ # @ download_monitor
664
+ #: includes/admin/class-dlm-admin.php:237
665
+ msgid "Settings successfully saved"
666
+ msgstr "Réglages sauvegardés avec succès"
667
+
668
+ # @ download_monitor
669
+ #: includes/admin/class-dlm-admin.php:304
670
+ msgid "Save Changes"
671
+ msgstr "Sauvegarder les modifications"
672
+
673
+ # @ download_monitor
674
+ #: includes/admin/class-dlm-admin.php:341
675
+ msgid "Download Logs"
676
+ msgstr "Télécharger les logs"
677
+
678
+ # @ download_monitor
679
+ #: includes/admin/class-dlm-admin.php:341
680
+ msgid "Export CSV"
681
+ msgstr "Exporter au format CSV"
682
+
683
+ # @ download_monitor
684
+ #: includes/admin/class-dlm-admin.php:370
685
+ msgid "Version ID"
686
+ msgstr "ID de version"
687
+
688
+ # @ download_monitor
689
+ #: includes/admin/class-dlm-admin.php:371
690
+ msgid "User ID"
691
+ msgstr "ID d'utilisateur"
692
+
693
+ # @ download_monitor
694
+ #: includes/admin/class-dlm-admin.php:372
695
+ msgid "User IP"
696
+ msgstr "IP d'utilisateur"
697
+
698
+ # @ download_monitor
699
+ #: includes/admin/class-dlm-admin.php:373
700
+ #: includes/admin/class-dlm-logging-list-table.php:120
701
+ msgid "User Agent"
702
+ msgstr "User Agent"
703
+
704
+ # @ download_monitor
705
+ #: includes/admin/class-dlm-admin.php:374
706
+ #: includes/admin/class-dlm-logging-list-table.php:121
707
+ msgid "Date"
708
+ msgstr "Date"
709
+
710
+ # @ download_monitor
711
+ #: includes/admin/class-dlm-admin.php:375
712
+ msgid "Status"
713
+ msgstr "Status"
714
+
715
+ # @ download_monitor
716
+ #: includes/admin/class-dlm-logging-list-table.php:43
717
+ msgid "Download Complete"
718
+ msgstr "Téléchargement complété"
719
+
720
+ # @ download_monitor
721
+ #: includes/admin/class-dlm-logging-list-table.php:50
722
+ #, php-format
723
+ msgid "%s ago"
724
+ msgstr "il y a %s"
725
+
726
+ # @ download_monitor
727
+ #: includes/admin/class-dlm-logging-list-table.php:57
728
+ #, php-format
729
+ msgid "Download #%d (no longer exists)"
730
+ msgstr "Le téléchargement #%d (il n'existe plus)"
731
+
732
+ # @ download_monitor
733
+ #: includes/admin/class-dlm-logging-list-table.php:65
734
+ #, php-format
735
+ msgid "v%s"
736
+ msgstr "v%s"
737
+
738
+ # @ download_monitor
739
+ #: includes/admin/class-dlm-logging-list-table.php:85
740
+ msgid "Non-member"
741
+ msgstr "Non membre"
742
+
743
+ # @ download_monitor
744
+ #: includes/admin/class-dlm-logging-list-table.php:118
745
+ msgid "User"
746
+ msgstr "Utilisateur"
747
+
748
+ # @ download_monitor
749
+ #: includes/admin/class-dlm-logging-list-table.php:119
750
+ msgid "IP Address"
751
+ msgstr "Adresse IP"
752
+
753
+ # @ download_monitor
754
+ #: includes/admin/html-downloadable-file-version.php:3
755
+ msgid "Remove"
756
+ msgstr "Retirer"
757
+
758
+ # @ download_monitor
759
+ #: includes/admin/html-downloadable-file-version.php:4
760
+ msgid "Click to toggle"
761
+ msgstr "Cliquer pour déplier"
762
+
763
+ # @ download_monitor
764
+ #: includes/admin/html-downloadable-file-version.php:5
765
+ #, php-format
766
+ msgid "Version <span class=\"version\">%s</span> (%s)"
767
+ msgstr "Version <span class=\"version\">%s</span> (%s)"
768
+
769
+ # @ download_monitor
770
+ #: includes/admin/html-downloadable-file-version.php:5
771
+ #: includes/admin/html-downloadable-file-version.php:14
772
+ msgid "n/a"
773
+ msgstr "n/a"
774
+
775
+ # @ download_monitor
776
+ #: includes/admin/html-downloadable-file-version.php:5
777
+ #, php-format
778
+ msgid "Downloaded %s time"
779
+ msgid_plural "Downloaded %s times"
780
+ msgstr[0] "Téléchargé %s fois"
781
+ msgstr[1] "Téléchargé %s fois"
782
+
783
+ # @ download_monitor
784
+ #: includes/admin/html-downloadable-file-version.php:18
785
+ msgid "File URL(s)"
786
+ msgstr "URL(s) de fichier"
787
+
788
+ # @ download_monitor
789
+ #: includes/admin/html-downloadable-file-version.php:19
790
+ msgid ""
791
+ "Enter one file path/URL per line - multiple files will be used as mirrors "
792
+ "(chosen at random)."
793
+ msgstr ""
794
+ "Entrez un chemin de fichier/une URL par ligne - les fichiers multiples "
795
+ "seront utilisés comme miroirs (choisis au hasard)."
796
+
797
+ # @ woocommerce
798
+ #: includes/admin/html-downloadable-file-version.php:21
799
+ msgid "Choose a file"
800
+ msgstr "Choisir un fichier"
801
+
802
+ # @ woocommerce
803
+ #: includes/admin/html-downloadable-file-version.php:21
804
+ msgid "Insert file URL"
805
+ msgstr "Insérer l'URL de fichier"
806
+
807
+ # @ download_monitor
808
+ #: includes/admin/html-downloadable-file-version.php:21
809
+ msgid "Upload file"
810
+ msgstr "Uploader un fichier"
811
+
812
+ # @ download_monitor
813
+ #: includes/admin/html-downloadable-file-version.php:22
814
+ msgid "Browse for file"
815
+ msgstr "Parcourir à la recherche d'un fichier"
816
+
817
+ # @ download_monitor
818
+ #: includes/admin/html-downloadable-file-version.php:35
819
+ msgid "File Date"
820
+ msgstr "Date de fichier"
821
+
822
+ # @ download_monitor
823
+ #: includes/admin/html-downloadable-file-version.php:36
824
+ msgid "h"
825
+ msgstr "h"
826
+
827
+ # @ download_monitor
828
+ #: includes/admin/html-downloadable-file-version.php:36
829
+ msgid "m"
830
+ msgstr "m"
831
+
832
+ # @ download_monitor
833
+ #: includes/class-dlm-download-handler.php:121
834
+ msgid "Download does not exist."
835
+ msgstr "Le téléchargment n'existe pas."
836
+
837
+ # @ download_monitor
838
+ #: includes/class-dlm-download-handler.php:121
839
+ #: includes/class-dlm-download-handler.php:140
840
+ #: includes/class-dlm-download-handler.php:145
841
+ #: includes/class-dlm-download-handler.php:154
842
+ #: includes/class-dlm-download-handler.php:286
843
+ msgid "Go to homepage &rarr;"
844
+ msgstr "Aller à la page d'accueil &rarr;"
845
+
846
+ # @ download_monitor
847
+ #: includes/class-dlm-download-handler.php:121
848
+ #: includes/class-dlm-download-handler.php:140
849
+ #: includes/class-dlm-download-handler.php:145
850
+ #: includes/class-dlm-download-handler.php:154
851
+ #: includes/class-dlm-download-handler.php:286
852
+ msgid "Download Error"
853
+ msgstr "Erreur de téléchargement"
854
+
855
+ # @ download_monitor
856
+ #: includes/class-dlm-download-handler.php:140
857
+ #: includes/class-dlm-download-handler.php:145
858
+ msgid "No file paths defined."
859
+ msgstr "Aucun chemin de fichier n'est spécifié."
860
+
861
+ # @ download_monitor
862
+ #: includes/class-dlm-download-handler.php:154
863
+ msgid "You do not have permission to access this download."
864
+ msgstr "Vous n'avez pas l'autorisation d'accéder à ce téléchargement."
865
+
866
+ # @ download_monitor
867
+ #: includes/class-dlm-download-handler.php:168
868
+ #: includes/class-dlm-download-handler.php:252
869
+ #: includes/class-dlm-download-handler.php:258
870
+ #: includes/class-dlm-download-handler.php:264
871
+ msgid "Redirected to file"
872
+ msgstr "Rediriger vers le fichier"
873
+
874
+ # @ download_monitor
875
+ #: includes/class-dlm-download-handler.php:279
876
+ msgid "Redirected to remote file."
877
+ msgstr "Rediriger vers le fichier distant."
878
+
879
+ # @ download_monitor
880
+ #: includes/class-dlm-download-handler.php:284
881
+ msgid "File not found"
882
+ msgstr "Fichier non trouvé"
883
+
884
+ # @ download_monitor
885
+ #: includes/class-dlm-download-handler.php:286
886
+ msgid "File not found."
887
+ msgstr "Fichier non trouvé."
888
+
889
+ # @ download_monitor
890
+ #: includes/class-dlm-shortcodes.php:102
891
+ msgid "Download not found"
892
+ msgstr "Téléchargement non trouvé"
893
+
894
+ # @ download_monitor
895
+ #: includes/widgets/class-dlm-widget-downloads.php:27
896
+ msgid "Display a list of your downloads."
897
+ msgstr "Afficher une liste de vos téléchartements."
898
+
899
+ # @ download_monitor
900
+ #: includes/widgets/class-dlm-widget-downloads.php:29
901
+ msgid "Downloads List"
902
+ msgstr "Liste de téléchargements"
903
+
904
+ # @ download_monitor
905
+ #: includes/widgets/class-dlm-widget-downloads.php:52
906
+ #: includes/widgets/class-dlm-widget-downloads.php:148
907
+ msgid "Featured Downloads"
908
+ msgstr "Téléchargements à la une"
909
+
910
+ # @ download_monitor
911
+ #: includes/widgets/class-dlm-widget-downloads.php:157
912
+ msgid "Title:"
913
+ msgstr "Titre:"
914
+
915
+ # @ download_monitor
916
+ #: includes/widgets/class-dlm-widget-downloads.php:161
917
+ msgid "Limit:"
918
+ msgstr "Limite:"
919
+
920
+ # @ download_monitor
921
+ #: includes/widgets/class-dlm-widget-downloads.php:165
922
+ msgid "Output template:"
923
+ msgstr "Template d'affichage:"
924
+
925
+ # @ download_monitor
926
+ #: includes/widgets/class-dlm-widget-downloads.php:166
927
+ msgid "Default template"
928
+ msgstr "Template par défaut"
929
+
930
+ # @ download_monitor
931
+ #: includes/widgets/class-dlm-widget-downloads.php:169
932
+ msgid "Order by:"
933
+ msgstr "Trier par:"
934
+
935
+ # @ download_monitor
936
+ #: includes/widgets/class-dlm-widget-downloads.php:172
937
+ msgid "Random"
938
+ msgstr "au hasard"
939
+
940
+ # @ download_monitor
941
+ #: includes/widgets/class-dlm-widget-downloads.php:174
942
+ msgid "Date added"
943
+ msgstr "date d'ajout"
944
+
945
+ # @ download_monitor
946
+ #: includes/widgets/class-dlm-widget-downloads.php:175
947
+ msgid "Date modified"
948
+ msgstr "date de modification"
949
+
950
+ # @ download_monitor
951
+ #: includes/widgets/class-dlm-widget-downloads.php:180
952
+ msgid "Order:"
953
+ msgstr "Ordre:"
954
+
955
+ # @ download_monitor
956
+ #: includes/widgets/class-dlm-widget-downloads.php:182
957
+ msgid "ASC"
958
+ msgstr "ASC"
959
+
960
+ # @ download_monitor
961
+ #: includes/widgets/class-dlm-widget-downloads.php:183
962
+ msgid "DESC"
963
+ msgstr "DESC"
964
+
965
+ # @ download_monitor
966
+ #: includes/widgets/class-dlm-widget-downloads.php:188
967
+ msgid "Show only featured downloads"
968
+ msgstr "Ne montrer que les téléchargements à la une"
969
+
970
+ # @ download_monitor
971
+ #: includes/widgets/class-dlm-widget-downloads.php:192
972
+ msgid "Show only members only downloads"
973
+ msgstr "Ne montrer que les téléchargements réservés aux membres"
974
+
975
+ # @ download_monitor
976
+ #: templates/content-download-bouton-perso.php:11
977
+ #: templates/content-download-box.php:20
978
+ #: templates/content-download-filename.php:8 templates/content-download.php:8
979
+ #, php-format
980
+ msgid "Version %s"
981
+ msgstr "Version %s"
982
+
983
+ # @ download_monitor
984
+ #: templates/content-download-box.php:12
985
+ #: templates/content-download-filename.php:9 templates/content-download.php:9
986
+ #, php-format
987
+ msgid "1 download"
988
+ msgid_plural "%d downloads"
989
+ msgstr[0] "un téléchargement"
990
+ msgstr[1] "%d téléchargements"
991
+
992
+ # @ download_monitor
993
+ #: templates/content-download-box.php:21
994
+ msgid "Download File"
995
+ msgstr "Télécharger le fichier"
996
+
997
+ # @ download_monitor
998
+ #: templates/content-download-button.php:9
999
+ #, php-format
1000
+ msgid "Download &ldquo;%s&rdquo;"
1001
+ msgstr "Télécharger &ldquo;%s&rdquo;"
1002
+
1003
+ # @ download_monitor
1004
+ #: templates/content-download-button.php:10
1005
+ #, php-format
1006
+ msgid "Downloaded 1 time"
1007
+ msgid_plural "Downloaded %d times"
1008
+ msgstr[0] "Téléchargé une fois"
1009
+ msgstr[1] "Téléchargé %d fois"
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=mike.jol
4
  Tags: download, downloads, monitor, hits, download monitor, tracking, admin, count, counter, files, versions, download count, logging
5
  Requires at least: 3.5
6
  Tested up to: 3.5
7
- Stable tag: 1.0.1
8
  License: GPLv3
9
 
10
  Download Monitor is a plugin for uploading and managing downloads, tracking downloads, and displaying links.
@@ -108,6 +108,12 @@ Admin hits are not counted, log out and try!
108
 
109
  == Changelog ==
110
 
 
 
 
 
 
 
111
  = 1.0.1 =
112
  * Update blockui
113
  * Workaround root relative URLS
4
  Tags: download, downloads, monitor, hits, download monitor, tracking, admin, count, counter, files, versions, download count, logging
5
  Requires at least: 3.5
6
  Tested up to: 3.5
7
+ Stable tag: 1.0.2
8
  License: GPLv3
9
 
10
  Download Monitor is a plugin for uploading and managing downloads, tracking downloads, and displaying links.
108
 
109
  == Changelog ==
110
 
111
+ = 1.0.2 =
112
+ * Only use wp_remote_head to get fielsize on remote files. Prevents timeouts when a file doesn't exist.
113
+ * If a filesize cannot be found, set to -1 to prevent re-tries.
114
+ * Insert button added to all CPT except downloads.
115
+ * French locale by Jean-Michel MEYER.
116
+
117
  = 1.0.1 =
118
  * Update blockui
119
  * Workaround root relative URLS