Simple Download Monitor - Version 3.6.1

Version Description

  • Tweaked a newly added function's parameter to make it compatible with an older PHP version.
Download this release

Release Info

Developer mra13
Plugin Icon 128x128 Simple Download Monitor
Version 3.6.1
Comparing to
See all releases

Code changes from version 3.5.9 to 3.6.1

css/sdm_wp_styles.css CHANGED
@@ -55,6 +55,10 @@
55
  .sdm_download_button_box_default{
56
  margin: 10px 0;
57
  }
 
 
 
 
58
  /********************************************/
59
  /*** Individual Download Item View Styles ***/
60
  /********************************************/
55
  .sdm_download_button_box_default{
56
  margin: 10px 0;
57
  }
58
+
59
+ .sdm-g-recaptcha{
60
+ margin-bottom: 10px;
61
+ }
62
  /********************************************/
63
  /*** Individual Download Item View Styles ***/
64
  /********************************************/
includes/sdm-admin-menu-handler.php CHANGED
@@ -12,24 +12,90 @@ function sdm_handle_admin_menu() {
12
  $sdm_addons_page = add_submenu_page('edit.php?post_type=sdm_downloads', __('Add-ons', 'simple-download-monitor'), __('Add-ons', 'simple-download-monitor'), 'manage_options', 'sdm-addons', 'sdm_create_addons_page');
13
  }
14
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  /*
16
  * Settings menu page
17
  */
18
 
19
  function sdm_create_settings_page() {
 
20
  echo '<div class="wrap">';
21
  //echo '<div id="poststuff"><div id="post-body">';
22
  ?>
23
  <h1><?php _e('Simple Download Monitor Settings Page', 'simple-download-monitor') ?></h1>
24
 
25
  <div style="background: #FFF6D5; border: 1px solid #D1B655; color: #3F2502; padding: 15px 10px">
26
- Read the full plugin usage documentation <a href="https://www.tipsandtricks-hq.com/simple-wordpress-download-monitor-plugin" target="_blank">here</a>.
27
  You can also <a href="https://www.tipsandtricks-hq.com/development-center" target="_blank"><?php _e('follow us', 'simple-download-monitor'); ?></a> <?php _e('on Twitter, Google+ or via Email to stay upto date about the new features of this plugin.', 'simple-download-monitor'); ?>
28
  </div>
29
 
30
  <!-- settings page form -->
31
  <form method="post" action="options.php">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
 
 
 
 
33
  <!-- BEGIN GENERAL OPTIONS DIV -->
34
  <?php
35
  // This prints out all hidden setting fields
@@ -40,6 +106,7 @@ function sdm_create_settings_page() {
40
  ?>
41
  <!-- END GENERAL OPTIONS DIV -->
42
 
 
43
  <!-- BEGIN ADMIN OPTIONS DIV -->
44
  <?php
45
  // This prints out all hidden setting fields
@@ -110,17 +177,23 @@ function sdm_create_settings_page() {
110
  });
111
  });
112
  </script>
 
 
113
 
114
- <!-- End of settings page form -->
115
- </form>
116
-
117
- <div style="background: none repeat scroll 0 0 #FFF6D5;border: 1px solid #D1B655;color: #3F2502;margin: 10px 0;padding: 5px 5px 5px 10px;text-shadow: 1px 1px #FFFFFF;">
118
- <p><?php _e('If you need a feature rich and supported plugin for selling your digital items then checkout our', 'simple-download-monitor'); ?> <a href="https://www.tipsandtricks-hq.com/wordpress-estore-plugin-complete-solution-to-sell-digital-products-from-your-wordpress-blog-securely-1059" target="_blank"><?php _e('WP eStore Plugin', 'simple-download-monitor'); ?></a>
119
- </p>
120
- </div>
 
 
121
 
 
 
 
122
  <?php
123
- echo '</div>'; //end of wrap
124
  }
125
 
126
  /*
12
  $sdm_addons_page = add_submenu_page('edit.php?post_type=sdm_downloads', __('Add-ons', 'simple-download-monitor'), __('Add-ons', 'simple-download-monitor'), 'manage_options', 'sdm-addons', 'sdm_create_addons_page');
13
  }
14
 
15
+ add_filter('whitelist_options', 'sdm_admin_menu_function_hook');
16
+
17
+ /**
18
+ * sdm_admin_menu_function_hook
19
+ * Its hook for add advanced testings tab, and working on saving options to db, if not used, you receive error "options page not found"
20
+ * @param array $whitelist_options
21
+ * @return string
22
+ */
23
+ function sdm_admin_menu_function_hook($whitelist_options = array())
24
+ {
25
+ $whitelist_options['recaptcha_options_section'] = array('sdm_advanced_options');
26
+ return $whitelist_options;
27
+ }
28
+
29
  /*
30
  * Settings menu page
31
  */
32
 
33
  function sdm_create_settings_page() {
34
+
35
  echo '<div class="wrap">';
36
  //echo '<div id="poststuff"><div id="post-body">';
37
  ?>
38
  <h1><?php _e('Simple Download Monitor Settings Page', 'simple-download-monitor') ?></h1>
39
 
40
  <div style="background: #FFF6D5; border: 1px solid #D1B655; color: #3F2502; padding: 15px 10px">
41
+ Read the full plugin usage documentation <a href="https://simple-download-monitor.com/download-monitor-tutorials/" target="_blank">here</a>.
42
  You can also <a href="https://www.tipsandtricks-hq.com/development-center" target="_blank"><?php _e('follow us', 'simple-download-monitor'); ?></a> <?php _e('on Twitter, Google+ or via Email to stay upto date about the new features of this plugin.', 'simple-download-monitor'); ?>
43
  </div>
44
 
45
  <!-- settings page form -->
46
  <form method="post" action="options.php">
47
+
48
+ <?php
49
+ $wpsdm_plugin_tabs = array(
50
+ 'sdm-settings' => __('General Settings', 'simple-download-monitor'),
51
+ 'sdm-settings&action=advanced-settings' => __('Advanced Settings', 'simple-download-monitor'),
52
+ );
53
+ $current = "";
54
+ if (isset($_GET['page'])) {
55
+ $current = sanitize_text_field($_GET['page']);
56
+ if (isset($_GET['action'])) {
57
+ $current .= "&action=" . sanitize_text_field($_GET['action']);
58
+ }
59
+ }
60
+ $content = '';
61
+ $content .= '<h2 class="nav-tab-wrapper">';
62
+ foreach ($wpsdm_plugin_tabs as $location => $tabname) {
63
+ if ($current == $location) {
64
+ $class = ' nav-tab-active';
65
+ } else {
66
+ $class = '';
67
+ }
68
+ $content .= '<a class="nav-tab' . $class . '" href="?post_type=sdm_downloads&page=' . $location . '">' . $tabname . '</a>';
69
+ }
70
+ $content .= '</h2>';
71
+ echo $content;
72
+
73
+ if (isset($_GET['action'])) {
74
+ switch ($_GET['action']) {
75
+ case 'advanced-settings':
76
+ sdm_admin_menu_advanced_settings();
77
+ break;
78
+ }
79
+ } else {
80
+ sdm_admin_menu_general_settings();
81
+ }
82
+ ?>
83
+
84
+ <!-- End of settings page form -->
85
+ </form>
86
+
87
+ <div style="background: none repeat scroll 0 0 #FFF6D5;border: 1px solid #D1B655;color: #3F2502;margin: 10px 0;padding: 5px 5px 5px 10px;text-shadow: 1px 1px #FFFFFF;">
88
+ <p><?php _e('If you need a feature rich and supported plugin for selling your digital items then checkout our', 'simple-download-monitor'); ?> <a href="https://www.tipsandtricks-hq.com/wordpress-estore-plugin-complete-solution-to-sell-digital-products-from-your-wordpress-blog-securely-1059" target="_blank"><?php _e('WP eStore Plugin', 'simple-download-monitor'); ?></a>
89
+ </p>
90
+ </div>
91
+
92
+ <?php
93
+ echo '</div>'; //end of wrap
94
+ }
95
 
96
+ function sdm_admin_menu_general_settings()
97
+ {
98
+ ?>
99
  <!-- BEGIN GENERAL OPTIONS DIV -->
100
  <?php
101
  // This prints out all hidden setting fields
106
  ?>
107
  <!-- END GENERAL OPTIONS DIV -->
108
 
109
+
110
  <!-- BEGIN ADMIN OPTIONS DIV -->
111
  <?php
112
  // This prints out all hidden setting fields
177
  });
178
  });
179
  </script>
180
+ <?php
181
+ }
182
 
183
+ function sdm_admin_menu_advanced_settings()
184
+ {
185
+ //At the moment we only have the captcha options in the advanced settings. More options will be added here in the future.
186
+ ?>
187
+ <!-- BEGIN RECAPTCHA OPTIONS DIV -->
188
+ <?php
189
+ // This prints out all hidden setting fields
190
+ do_settings_sections('recaptcha_options_section');
191
+ settings_fields('recaptcha_options_section');
192
 
193
+ submit_button();
194
+ ?>
195
+ <!-- END RECAPTCHA OPTIONS DIV -->
196
  <?php
 
197
  }
198
 
199
  /*
includes/sdm-download-request-handler.php CHANGED
@@ -16,6 +16,8 @@ function handle_sdm_download_via_direct_post() {
16
  wp_die(__('Error! This download item (' . $download_id . ') does not have any download link. Edit this item and specify a downloadable file URL for it.', 'simple-download-monitor'));
17
  }
18
 
 
 
19
  //Check download password (if applicable for this download)
20
  $post_object = get_post($download_id); // Get post object
21
  $post_pass = $post_object->post_password; // Get post password
@@ -201,3 +203,32 @@ function sdm_dispatch_file($filename) {
201
  readfile($filename);
202
  exit;
203
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  wp_die(__('Error! This download item (' . $download_id . ') does not have any download link. Edit this item and specify a downloadable file URL for it.', 'simple-download-monitor'));
17
  }
18
 
19
+ sdm_recaptcha_verify();
20
+
21
  //Check download password (if applicable for this download)
22
  $post_object = get_post($download_id); // Get post object
23
  $post_pass = $post_object->post_password; // Get post password
203
  readfile($filename);
204
  exit;
205
  }
206
+
207
+ /**
208
+ * If reCAPTCHA Enabled verify answer, send it to google API
209
+ * @return boolean
210
+ */
211
+ function sdm_recaptcha_verify()
212
+ {
213
+ $main_advanced_opts = get_option('sdm_advanced_options');
214
+ $recaptcha_enable = isset($main_advanced_opts['recaptcha_enable']) ? true : false;
215
+ if ($recaptcha_enable) {
216
+ if ($_SERVER["REQUEST_METHOD"] == "POST" && isset($_POST["g-recaptcha-response"])) {
217
+ $recaptcha_secret_key = $main_advanced_opts['recaptcha_secret_key'];
218
+ $recaptcha_response = filter_input(INPUT_POST, "g-recaptcha-response", FILTER_SANITIZE_FULL_SPECIAL_CHARS);
219
+ $response = wp_remote_get("https://www.google.com/recaptcha/api/siteverify?secret={$recaptcha_secret_key}&response={$recaptcha_response}");
220
+ $response = json_decode($response["body"], 1);
221
+
222
+ if ($response["success"]) {
223
+ return true;
224
+ } else {
225
+ wp_die("<p><strong>" . __("ERROR:", 'simple-download-monitor') . "</strong> " . __("Google reCAPTCHA verification failed.", 'simple-download-monitor') . "</p>\n\n<p><a href=" . wp_get_referer() . ">&laquo; " . __("Back", 'simple-download-monitor') . "</a>", "", 403);
226
+ return false;
227
+ }
228
+ } else {
229
+ wp_die("<p><strong>" . __("ERROR:", 'simple-download-monitor') . "</strong> " . __("Google reCAPTCHA verification failed.", 'simple-download-monitor') . " " . __("Do you have JavaScript enabled?", 'simple-download-monitor') . "</p>\n\n<p><a href=" . wp_get_referer() . ">&laquo; " . __("Back", 'simple-download-monitor') . "</a>", "", 403);
230
+ return false;
231
+ }
232
+ }
233
+ return true;
234
+ }
includes/sdm-latest-downloads.php CHANGED
@@ -44,7 +44,7 @@ function sdm_show_latest_downloads($args){
44
  }
45
  // Else iterate cpt's
46
  else {
47
-
48
  $output = '';
49
  if ($fancy == '0') {
50
  include_once(WP_SIMPLE_DL_MONITOR_PATH.'includes/templates/fancy0/sdm-fancy-0.php');
44
  }
45
  // Else iterate cpt's
46
  else {
47
+
48
  $output = '';
49
  if ($fancy == '0') {
50
  include_once(WP_SIMPLE_DL_MONITOR_PATH.'includes/templates/fancy0/sdm-fancy-0.php');
includes/sdm-utility-functions.php CHANGED
@@ -69,6 +69,9 @@ function sdm_get_password_entry_form($id, $args = array(), $class = '') {
69
  $data = __('Enter Password to Download:', 'simple-download-monitor');
70
  $data .= '<form action="' . $action_url . '" method="post" id="' . $uuid . '">';
71
  $data .= '<input type="password" name="pass_text" class="sdm_pass_text" value="" /> ';
 
 
 
72
  $data .= '<span class="sdm-download-button">';
73
  $data .= '<a href="javascript:document.getElementById(\'' . $uuid . '\').submit();" name="sdm_dl_pass_submit" class="pass_sumbit sdm_pass_protected_download ' . $class . '">' . $button_text_string . '</a>';
74
  $data .= '</span>';
@@ -212,3 +215,35 @@ function sdm_visitor_is_bot() {
212
 
213
  return $isBot;
214
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
69
  $data = __('Enter Password to Download:', 'simple-download-monitor');
70
  $data .= '<form action="' . $action_url . '" method="post" id="' . $uuid . '">';
71
  $data .= '<input type="password" name="pass_text" class="sdm_pass_text" value="" /> ';
72
+
73
+ $data .= sdm_get_download_with_recaptcha();
74
+
75
  $data .= '<span class="sdm-download-button">';
76
  $data .= '<a href="javascript:document.getElementById(\'' . $uuid . '\').submit();" name="sdm_dl_pass_submit" class="pass_sumbit sdm_pass_protected_download ' . $class . '">' . $button_text_string . '</a>';
77
  $data .= '</span>';
215
 
216
  return $isBot;
217
  }
218
+
219
+ function sdm_get_download_form_with_recaptcha($id, $args = array(), $class = '') {
220
+ $action_url = WP_SIMPLE_DL_MONITOR_SITE_HOME_URL . '/?smd_process_download=1&download_id=' . $id;
221
+
222
+ //Get the download button text
223
+ $button_text = isset($args['button_text']) ? $args['button_text'] : '';
224
+ if (empty($button_text)) {//Use the default text for the button
225
+ $button_text_string = __('Download Now!', 'simple-download-monitor');
226
+ } else {//Use the custom text
227
+ $button_text_string = $button_text;
228
+ }
229
+
230
+ $uuid = uniqid('sdm-recaptcha-');
231
+
232
+ $data = '<form action="' . $action_url . '" method="post" id="' . $uuid . '" class="sdm-g-recaptcha-form">';
233
+ $data .= '<div class="sdm-recaptcha-button">';
234
+ $data .= '<div class="g-recaptcha sdm-g-recaptcha"></div>';
235
+ $data .= '<a href="javascript:document.getElementById(\'' . $uuid . '\').submit();" name="sdm_dl_recaptcha_submit" class="recaptcha_sumbit sdm_recaptcha_protected_download ' . $class . '">' . $button_text_string . '</a>';
236
+ $data .= '</div>';
237
+ $data .= '<input type="hidden" name="download_id" value="' . $id . '" />';
238
+ $data .= '</form>';
239
+ return $data;
240
+ }
241
+
242
+ function sdm_get_download_with_recaptcha() {
243
+ $main_advanced_opts = get_option('sdm_advanced_options');
244
+ $recaptcha_enable = isset($main_advanced_opts['recaptcha_enable']) ? true : false;
245
+ if ($recaptcha_enable) {
246
+ return '<div class="g-recaptcha sdm-g-recaptcha"></div>';
247
+ }
248
+ return '';
249
+ }
includes/templates/fancy0/sdm-fancy-0.php CHANGED
@@ -89,6 +89,14 @@ function sdm_generate_fancy0_display_output($args) {
89
  // Check to see if the download link cpt is password protected
90
  $get_cpt_object = get_post($id);
91
  $cpt_is_password = !empty($get_cpt_object->post_password) ? 'yes' : 'no'; // yes = download is password protected;
 
 
 
 
 
 
 
 
92
  if ($cpt_is_password !== 'no') {//This is a password protected download so replace the download now button with password requirement
93
  $download_button_code = sdm_get_password_entry_form($id, $args, 'sdm_download ' . $def_color);
94
  }
89
  // Check to see if the download link cpt is password protected
90
  $get_cpt_object = get_post($id);
91
  $cpt_is_password = !empty($get_cpt_object->post_password) ? 'yes' : 'no'; // yes = download is password protected;
92
+
93
+ //Check if reCAPTCHA enabled
94
+ $main_advanced_opts = get_option('sdm_advanced_options');
95
+ $recaptcha_enable = isset($main_advanced_opts['recaptcha_enable']) ? true : false;
96
+ if ($recaptcha_enable && $cpt_is_password == 'no') {
97
+ $download_button_code = sdm_get_download_form_with_recaptcha($id, $args, 'sdm_download ' . $def_color);
98
+ }
99
+
100
  if ($cpt_is_password !== 'no') {//This is a password protected download so replace the download now button with password requirement
101
  $download_button_code = sdm_get_password_entry_form($id, $args, 'sdm_download ' . $def_color);
102
  }
includes/templates/fancy1/sdm-fancy-1.php CHANGED
@@ -87,6 +87,14 @@ function sdm_generate_fancy1_display_output($args) {
87
  // Check to see if the download link cpt is password protected
88
  $get_cpt_object = get_post($id);
89
  $cpt_is_password = !empty($get_cpt_object->post_password) ? 'yes' : 'no'; // yes = download is password protected;
 
 
 
 
 
 
 
 
90
  if ($cpt_is_password !== 'no') {//This is a password protected download so replace the download now button with password requirement
91
  $download_button_code = sdm_get_password_entry_form($id, $shortcode_atts, 'sdm_download ' . $color);
92
  }
@@ -128,5 +136,6 @@ function sdm_generate_fancy1_display_output($args) {
128
  $output .= '</div>'; //end .sdm_download_link
129
  $output .= '</div>'; //end .sdm_download_item
130
 
 
131
  return $output;
132
  }
87
  // Check to see if the download link cpt is password protected
88
  $get_cpt_object = get_post($id);
89
  $cpt_is_password = !empty($get_cpt_object->post_password) ? 'yes' : 'no'; // yes = download is password protected;
90
+
91
+ //Check if reCAPTCHA enabled
92
+ $main_advanced_opts = get_option('sdm_advanced_options');
93
+ $recaptcha_enable = isset($main_advanced_opts['recaptcha_enable']) ? true : false;
94
+ if ($recaptcha_enable && $cpt_is_password == 'no') {
95
+ $download_button_code = sdm_get_download_form_with_recaptcha($id, $shortcode_atts, 'sdm_download ' . $color);
96
+ }
97
+
98
  if ($cpt_is_password !== 'no') {//This is a password protected download so replace the download now button with password requirement
99
  $download_button_code = sdm_get_password_entry_form($id, $shortcode_atts, 'sdm_download ' . $color);
100
  }
136
  $output .= '</div>'; //end .sdm_download_link
137
  $output .= '</div>'; //end .sdm_download_item
138
 
139
+
140
  return $output;
141
  }
includes/templates/fancy2/sdm-fancy-2-styles.css CHANGED
@@ -63,6 +63,10 @@
63
  text-align: center;
64
  }
65
 
 
 
 
 
66
  /*** For smaller devices ***/
67
  @media only screen and (max-width : 480px)
68
  {
63
  text-align: center;
64
  }
65
 
66
+ .sdm_fancy2_item .sdm-g-recaptcha{
67
+ transform:scale(0.60);
68
+ transform-origin:0 0;
69
+ }
70
  /*** For smaller devices ***/
71
  @media only screen and (max-width : 480px)
72
  {
includes/templates/fancy2/sdm-fancy-2.php CHANGED
@@ -84,6 +84,17 @@ function sdm_generate_fancy2_display_output($args) {
84
  // Check to see if the download link cpt is password protected
85
  $get_cpt_object = get_post($id);
86
  $cpt_is_password = !empty($get_cpt_object->post_password) ? 'yes' : 'no'; // yes = download is password protected;
 
 
 
 
 
 
 
 
 
 
 
87
  if ($cpt_is_password !== 'no') {//This is a password protected download so replace the download now button with password requirement
88
  $download_button_code = sdm_get_password_entry_form($id, $shortcode_atts, 'sdm_fancy2_download');
89
  }
@@ -134,6 +145,5 @@ function sdm_generate_fancy2_display_output($args) {
134
 
135
  $output .= '</div>'; //end .sdm_fancy2_item
136
  $output .= '</div>'; //end .sdm_fancy2_wrapper
137
-
138
  return $output;
139
  }
84
  // Check to see if the download link cpt is password protected
85
  $get_cpt_object = get_post($id);
86
  $cpt_is_password = !empty($get_cpt_object->post_password) ? 'yes' : 'no'; // yes = download is password protected;
87
+
88
+ // Read plugin settings
89
+ $main_opts = get_option('sdm_downloads_options');
90
+
91
+ //Check if reCAPTCHA enabled
92
+ $main_advanced_opts = get_option('sdm_advanced_options');
93
+ $recaptcha_enable = isset($main_advanced_opts['recaptcha_enable']) ? true : false;
94
+ if ($recaptcha_enable && $cpt_is_password == 'no') {
95
+ $download_button_code = sdm_get_download_form_with_recaptcha($id, $shortcode_atts, 'sdm_fancy2_download');
96
+ }
97
+
98
  if ($cpt_is_password !== 'no') {//This is a password protected download so replace the download now button with password requirement
99
  $download_button_code = sdm_get_password_entry_form($id, $shortcode_atts, 'sdm_fancy2_download');
100
  }
145
 
146
  $output .= '</div>'; //end .sdm_fancy2_item
147
  $output .= '</div>'; //end .sdm_fancy2_wrapper
 
148
  return $output;
149
  }
js/sdm_g_recaptcha.js ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * sdm_reCaptcha
3
+ * @type {{Object}}
4
+ */
5
+ var sdm_reCaptcha = function () {
6
+ var recaptcha = document.getElementsByClassName("g-recaptcha");
7
+ for (var i = 0; i < recaptcha.length; i++) {
8
+ grecaptcha.render(recaptcha.item(i), {"sitekey": sdm_recaptcha_opt.site_key});
9
+ }
10
+ };
languages/simple-download-monitor-fr_FR.mo CHANGED
Binary file
languages/simple-download-monitor-fr_FR.po CHANGED
@@ -1,534 +1,963 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: SDM 3.1\n"
4
- "POT-Creation-Date: 2016-06-10 12:27+0200\n"
5
- "PO-Revision-Date: 2016-06-10 13:20+0200\n"
 
6
  "Language-Team: \n"
 
7
  "MIME-Version: 1.0\n"
8
  "Content-Type: text/plain; charset=UTF-8\n"
9
  "Content-Transfer-Encoding: 8bit\n"
10
- "X-Generator: Poedit 1.8.8\n"
11
  "X-Poedit-KeywordsList: __;_e\n"
12
- "X-Poedit-Basepath: .\n"
13
- "Last-Translator: \n"
14
  "Plural-Forms: nplurals=2; plural=(n > 1);\n"
15
- "Language: fr_FR\n"
16
- "X-Poedit-SearchPath-0: C:/Users/amin/Desktop/simple-download-monitor\n"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
 
18
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:91
19
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:310
 
 
 
 
20
  msgid "Settings"
21
  msgstr "Paramètres"
22
 
23
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:145
24
- msgid "Image Successfully Removed"
25
- msgstr "Image supprimée avec succès"
26
-
27
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:146
28
- msgid "Error with AJAX"
29
- msgstr "Erreur avec AJAX"
30
-
31
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:156
32
- msgid "Please select a Download Item:"
33
- msgstr "Veuillez sélectionner un téléchargement :"
34
 
35
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:156
36
- msgid "Download Title"
37
- msgstr "Titre du Téléchargement"
38
 
39
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:156
40
- msgid "Include Fancy Box"
41
- msgstr "Inclure la Fancy Box"
42
 
43
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:156
44
- msgid "Insert SDM Shortcode"
45
- msgstr "Insérez le Shortcode SDM"
 
 
 
 
46
 
47
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:166
48
- msgid "Incorrect Password"
49
- msgstr "Mot de passe incorrect"
50
-
51
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:182
52
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:183
53
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:188
54
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:194
55
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:590
56
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:1034
57
- #: C:\Users\amin\Desktop\simple-download-monitor/sdm-post-type-content-handler.php:48
58
- #: C:\Users\amin\Desktop\simple-download-monitor/sdm-shortcodes.php:94
59
- #: C:\Users\amin\Desktop\simple-download-monitor/includes/templates/fancy1/sdm-fancy-1.php:87
60
- msgid "Downloads"
61
- msgstr "Téléchargements"
62
 
63
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:184
64
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:185
65
- msgid "Add New"
66
- msgstr "Ajouter Nouveau"
 
 
67
 
68
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:186
69
- msgid "Edit Download"
70
- msgstr "Modifier Téléchargement"
71
 
72
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:187
73
- msgid "New Download"
74
- msgstr "Nouveau téléchargement"
 
 
 
 
75
 
76
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:189
77
- msgid "View Download"
78
- msgstr "Afficher Téléchargement"
79
 
80
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:190
81
- msgid "Search Downloads"
82
- msgstr "Recherche de téléchargements"
 
 
83
 
84
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:191
85
- msgid "No Downloads found"
86
- msgstr "Aucun Téléchargement Trouvé"
87
 
88
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:192
89
- msgid "No Downloads found in Trash"
90
- msgstr "Aucun téléchargement trouvé dans la poubelle"
91
 
92
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:193
93
- msgid "Parent Download"
94
- msgstr "Téléchargement Parent"
95
 
96
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:221
97
- msgid "Search Categories"
98
- msgstr "Chercher dans Catégories"
99
 
100
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:222
101
- msgid "All Categories"
102
- msgstr "Toutes Catégories"
103
 
104
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:223
105
- msgid "Categories Genre"
106
- msgstr "Types de catégories"
107
 
108
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:224
109
- msgid "Categories Genre:"
110
- msgstr "Types de catégories"
111
 
112
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:225
113
- msgid "Edit Category"
114
- msgstr "Modifier Catégorie"
115
 
116
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:226
117
- msgid "Update Category"
118
- msgstr "\tMettre à jour la catégorie"
119
 
120
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:227
121
- msgid "Add New Category"
122
- msgstr "Ajouter une nouvelle catégorie"
123
 
124
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:228
125
- msgid "New Category"
126
- msgstr "Nouvelle catégorie"
127
 
128
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:229
129
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:1032
130
- msgid "Categories"
131
- msgstr "Catégories"
132
 
133
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:246
134
- msgid "Search Tags"
135
- msgstr "Rechercher parmi les mots-clés"
136
 
137
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:247
138
- msgid "All Tags"
139
- msgstr "Tous les tags"
140
 
141
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:248
142
- msgid "Tags Genre"
143
- msgstr "Genre de mots-clés"
144
 
145
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:249
146
- msgid "Tags Genre:"
147
- msgstr "Genre de mots-clés:"
148
 
149
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:250
150
- msgid "Edit Tag"
151
- msgstr "Modifier le mots-clé"
152
 
153
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:251
154
- msgid "Update Tag"
155
- msgstr "Mettre à jour les mots-clés"
156
 
157
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:252
158
- msgid "Add New Tag"
159
- msgstr "Ajouter un nouveau mot clé"
160
 
161
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:253
162
- msgid "New Tag"
163
- msgstr "Nouveau tag"
164
 
165
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:254
166
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:1033
167
- msgid "Tags"
168
- msgstr "Mots clés "
169
 
170
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:309
171
- msgid "Logs"
172
- msgstr "Logs"
173
 
174
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:317
175
- msgid "Simple Download Monitor Settings Page"
176
- msgstr "Page de Paramètres SDM "
177
 
178
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:320
179
- msgid "Follow us"
180
- msgstr "Nous suivre"
181
 
182
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:320
183
- msgid ""
184
- "on Twitter, Google+ or via Email to stay upto date about the new features of "
185
- "this plugin."
186
  msgstr ""
187
- "sur Twitter, Google +, ou par Email pour être tenu à jour sur les nouvelles "
188
- "fonctionnalités de ce plugin."
189
 
190
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:329
191
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:528
192
- msgid "Admin Options"
193
- msgstr "Option d’administration"
194
 
195
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:332
196
- msgid "Control various plugin features."
197
- msgstr "Contrôlez diverses fonctionnalités plug-in."
198
 
199
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:349
200
- msgid "Color Options"
201
- msgstr "Options de Couleur"
202
 
203
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:352
204
- msgid "Adjust color options"
205
- msgstr "Réglez les options de couleurs"
 
 
206
 
207
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:370
208
  msgid ""
209
- "If you need a feature rich and supported plugin for selling your digital "
210
- "items then checkout our"
211
  msgstr ""
212
- "Si vous avez besoin d'un plugin riche en fonctionnalités pour la vente de "
213
- "vos objets numériques alors allez voir sur"
214
-
215
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:370
216
- msgid "WP eStore Plugin"
217
- msgstr "WP eStore Plugin"
218
 
219
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:383
220
- msgid "Description"
221
- msgstr "Description"
 
222
 
223
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:385
224
- msgid "Upload File"
225
- msgstr "Télécharger un fichier"
 
 
226
 
227
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:387
228
- msgid "File Thumbnail (Optional)"
229
- msgstr "La miniature du fichier (Facultatif)"
 
 
 
 
230
 
231
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:389
232
- msgid "Shortcodes"
233
- msgstr "Shortcodes"
234
 
235
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:391
236
- msgid "Statistics"
237
- msgstr "Statistiques"
238
 
239
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:396
240
- msgid "Add a description for this download item."
241
- msgstr "Ajouter une description pour ce fichier."
242
 
243
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:409
244
- msgid "Click \"Select File\" to upload (or choose) the file."
245
- msgstr ""
246
- "Cliquez sur \"Sélectionner un fichier\" pour Uploader (ou choisir) le "
247
- "fichier."
248
 
249
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:412
250
- msgid "Select File"
251
- msgstr "Sélectionnez un fichier"
252
 
253
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:414
254
- msgid "File URL:"
255
- msgstr "URL du fichier:"
256
 
257
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:422
258
- msgid ""
259
- "Click \"Select Image\" to upload (or choose) the file thumbnail image. This "
260
- "thumbnail image will be used to create a fancy file download box if you want "
261
- "to use it."
262
- msgstr ""
263
- "Cliquez sur \"Sélectionner une Image\" pour uploader (ou choisir) la "
264
- "miniature du fichier. Cette miniature servira à créer une boite de "
265
- "téléchargement si vous souhaitez l'utiliser."
266
 
267
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:427
268
- msgid "Select Image"
269
- msgstr "Selectionnez une image"
270
 
271
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:428
272
- msgid "Remove Image"
273
- msgstr "Supprimer I'image"
274
 
275
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:442
276
- msgid ""
277
- "This is the shortcode which can used on posts or pages to embed a download "
278
- "now button for this file. You can also use the shortcode inserter to add "
279
- "this shortcode to a post or page."
280
- msgstr ""
281
- "Il s'agit d'un raccourci utilisable dans les articles ou pages permettant "
282
- "d'intégrer un bouton de téléchargement pour ce fichier. Vous pouvez "
283
- "également utiliser l'outil d'insertion pour ajouter ce raccourci pour un "
284
- "article ou une page."
285
 
286
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:447
287
- msgid "This shortcode may be used as a download counter."
288
- msgstr "Ce raccourci peut être utilisé comme un compteur de téléchargement."
289
 
290
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:456
291
- msgid "These are the statistics for this download item."
292
- msgstr "Voici les statistiques pour ce téléchargement."
 
 
293
 
294
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:461
295
- msgid "Number of Downloads:"
296
- msgstr "Nombre de téléchargements:"
 
 
297
 
298
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:464
299
- msgid "Offset Count"
300
- msgstr "Décalage de compteur"
301
 
302
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:529
303
- msgid "Colors"
304
- msgstr "Couleurs"
305
 
306
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:531
307
- msgid "Remove Tinymce Button"
308
- msgstr "Supprimer le bouton Tinymce"
309
 
310
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:532
311
- msgid "Download Button Color"
312
- msgstr "Couleur du bouton de Téléchargement"
313
 
314
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:536
315
- msgid "Admin options settings"
316
- msgstr "Paramètres des options d'administration"
317
 
318
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:540
319
- msgid "Front End colors settings"
320
- msgstr "Paramètres de couleurs de l'interface utilisateur"
321
 
322
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:546
323
- msgid "Removes the SDM Downloads button from the WP content editor."
324
- msgstr "Supprime le bouton Téléchargements SDM de l'éditeur de contenu de WP."
325
 
326
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:552
327
  msgid "Green"
328
  msgstr "Vert"
329
 
330
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:552
331
  msgid "Blue"
332
  msgstr "Bleu"
333
 
334
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:552
335
  msgid "Purple"
336
  msgstr "Mauve"
337
 
338
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:552
339
  msgid "Teal"
340
  msgstr "Bleu Canard"
341
 
342
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:552
343
  msgid "Dark Blue"
344
  msgstr "Bleu foncé"
345
 
346
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:552
347
  msgid "Black"
348
  msgstr "noir"
349
 
350
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:552
351
  msgid "Grey"
352
  msgstr "Gris"
353
 
354
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:552
355
  msgid "Pink"
356
  msgstr "Rose"
357
 
358
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:552
359
  msgid "Orange"
360
  msgstr "Orange"
361
 
362
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:552
363
  msgid "White"
364
  msgstr "Blanc"
365
 
366
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:555
367
- msgid "current"
368
- msgstr "Actuel"
 
 
 
 
 
369
 
370
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:561
371
- msgid "Adjusts the color of the \"Download Now\" button."
372
- msgstr "Modifier la couleur du bouton \"Télécharger Maintenant\"."
373
 
374
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:589
375
- #: C:\Users\amin\Desktop\simple-download-monitor/sdm-post-type-content-handler.php:48
376
- #: C:\Users\amin\Desktop\simple-download-monitor/sdm-shortcodes.php:94
377
- #: C:\Users\amin\Desktop\simple-download-monitor/includes/templates/fancy1/sdm-fancy-1.php:87
378
- msgid "Download"
379
- msgstr "Telecharger"
380
 
381
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:613
382
- msgid "Edit"
383
- msgstr "Éditer (Modifier)"
 
 
384
 
385
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:614
386
- msgid "Delete"
387
- msgstr "Effacer"
 
 
388
 
389
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:638
390
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:1029
391
- msgid "Title"
392
- msgstr " Titre"
393
 
394
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:639
395
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:1031
396
- msgid "File"
397
- msgstr "Fichier"
398
 
399
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:640
400
- msgid "Visitor IP"
401
- msgstr "IP du visiteur"
402
 
403
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:641
404
- msgid "Date"
405
- msgstr "Date"
406
 
407
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:642
408
- msgid "Country"
409
- msgstr "Pays"
410
 
411
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:662
412
- msgid "Delete Permanently"
413
- msgstr "Supprimer Définitivement"
414
 
415
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:663
416
- msgid "Export All as Excel"
417
- msgstr "Export Tout sous Excel"
418
 
419
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:678
420
- msgid "Nope! Security check failed!"
421
- msgstr "Zut! Le contrôle de sécurité a échoué !"
422
 
423
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:686
424
- msgid "Download Export File"
425
- msgstr "Télécharger le fichier d'exportation"
426
 
427
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:693
428
- msgid "No entries were selected."
429
- msgstr "Pas d'entrées ont été sélectionnés."
430
 
431
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:693
432
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:709
433
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:711
434
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:728
435
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:730
436
- msgid "Click to Dismiss"
437
- msgstr "Cliquez pour ignorer"
438
 
439
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:709
440
- msgid "Entries Deleted!"
441
- msgstr "Entrées supprimées!"
442
 
443
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:711
444
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:730
445
- msgid "Error"
446
- msgstr "Erreur"
447
 
448
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:728
449
- msgid "Entry Deleted!"
450
- msgstr "Ecriture supprimée !"
451
 
452
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:788
453
- msgid "Download Logs"
454
- msgstr "Télécharger le journal"
455
 
456
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:791
457
- msgid "This page lists all tracked downloads."
458
- msgstr "Cette page liste les suivis de téléchargements."
459
 
460
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:813
461
- msgid "Enter Password to Download:"
462
- msgstr "Entrez le mot de passe pour télécharger :"
 
 
 
 
463
 
464
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:816
465
- msgid "Submit"
466
- msgstr "Soumettre"
467
 
468
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:862
469
- msgid "Error! Failed to log the download request in the database table"
 
 
470
  msgstr ""
471
- "Erreur! Impossible de se connecter à la demande de téléchargement dans la "
472
- "table de base de données"
 
473
 
474
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:871
 
 
 
 
 
 
475
  msgid ""
476
- "Error! The URL value is empty. Please specify a correct URL value to "
477
- "redirect to!"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
478
  msgstr ""
479
- "Erreur! La valeur de l'URL est vide. S'il vous plaît spécifier une valeur "
480
- "d'URL correcte pour rediriger vers elle!"
 
481
 
482
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:1028
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
483
  msgid "Image"
484
  msgstr "Image"
485
 
486
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:1030
487
  msgid "ID"
488
  msgstr "ID "
489
 
490
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:1035
 
 
 
 
 
 
 
 
491
  msgid "Date Posted"
492
  msgstr "Date de Publication"
493
 
494
- #: C:\Users\amin\Desktop\simple-download-monitor/main.php:1036
495
- msgid "Visitor Country"
496
- msgstr "Pays du visiteur"
497
 
498
- #: C:\Users\amin\Desktop\simple-download-monitor/sdm-post-type-content-handler.php:32
499
- #: C:\Users\amin\Desktop\simple-download-monitor/sdm-shortcodes.php:40
500
- #: C:\Users\amin\Desktop\simple-download-monitor/sdm-shortcodes.php:166
501
- #: C:\Users\amin\Desktop\simple-download-monitor/includes/templates/fancy1/sdm-fancy-1.php:42
502
- msgid "green"
503
- msgstr "vert"
504
 
505
- #: C:\Users\amin\Desktop\simple-download-monitor/sdm-post-type-content-handler.php:37
506
- #: C:\Users\amin\Desktop\simple-download-monitor/sdm-shortcodes.php:48
507
- #: C:\Users\amin\Desktop\simple-download-monitor/sdm-shortcodes.php:174
508
- #: C:\Users\amin\Desktop\simple-download-monitor/includes/templates/fancy1/sdm-fancy-1.php:53
509
- #: C:\Users\amin\Desktop\simple-download-monitor/includes/templates/fancy2/sdm-fancy-2.php:57
510
- msgid "Download Now!"
511
- msgstr "Télécharger maintenant!"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
512
 
513
- #: C:\Users\amin\Desktop\simple-download-monitor/sdm-shortcodes.php:27
514
- #: C:\Users\amin\Desktop\simple-download-monitor/sdm-shortcodes.php:88
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
515
  msgid "Error! Please enter an ID value with this shortcode."
516
- msgstr "Erreur ! Veuillez entrer une valeur d'ID avec ce raccourci."
517
 
518
- #: C:\Users\amin\Desktop\simple-download-monitor/sdm-shortcodes.php:118
519
  msgid ""
520
  "Error! You must enter a category slug OR a category id with this shortcode. "
521
  "Refer to the documentation for usage instructions."
522
  msgstr ""
523
  "Erreur ! Veuillez saisir une catégorie ou un id de catégorie avec ce "
524
  "raccourci. Reportez-vous à la documentation pour obtenir des instructions "
525
- "d'utilisation."
526
 
527
- #: C:\Users\amin\Desktop\simple-download-monitor/sdm-shortcodes.php:122
528
  msgid "Error! Please enter a category slug OR id; not both."
529
  msgstr "Erreur ! Veuillez saisir une catégorie OU un ID pas les deux."
530
 
531
- #: C:\Users\amin\Desktop\simple-download-monitor/sdm-shortcodes.php:153
 
 
 
 
 
 
 
 
532
  msgid "There are no download items matching this category criteria."
533
  msgstr ""
534
- "Il n'y a pas de téléchargement correspondant à ces critères de catégorie."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: simple-download-monitor-fr\n"
4
+ "POT-Creation-Date: 2018-04-23 08:37+0200\n"
5
+ "PO-Revision-Date: 2018-04-23 08:38+0200\n"
6
+ "Last-Translator: FreePixel <contact@freepixel.net>\n"
7
  "Language-Team: \n"
8
+ "Language: fr_FR\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.8.12\n"
13
  "X-Poedit-KeywordsList: __;_e\n"
14
+ "X-Poedit-Basepath: simple-download-monitor\n"
 
15
  "Plural-Forms: nplurals=2; plural=(n > 1);\n"
16
+ "X-Poedit-SourceCharset: UTF-8\n"
17
+ "X-Poedit-SearchPath-0: includes/sdm-admin-menu-handler.php\n"
18
+ "X-Poedit-SearchPath-1: includes/sdm-debug.php\n"
19
+ "X-Poedit-SearchPath-2: includes/sdm-download-request-handler.php\n"
20
+ "X-Poedit-SearchPath-3: includes/sdm-latest-downloads.php\n"
21
+ "X-Poedit-SearchPath-4: includes/sdm-logs-list-table.php\n"
22
+ "X-Poedit-SearchPath-5: includes/sdm-search-shortcode-handler.php\n"
23
+ "X-Poedit-SearchPath-6: includes/sdm-utility-functions-admin-side.php\n"
24
+ "X-Poedit-SearchPath-7: includes/sdm-utility-functions.php\n"
25
+ "X-Poedit-SearchPath-8: includes/admin-side/sdm-admin-add-ons-page.php\n"
26
+ "X-Poedit-SearchPath-9: includes/templates/fancy0/sdm-fancy-0.php\n"
27
+ "X-Poedit-SearchPath-10: includes/templates/fancy1/sdm-fancy-1.php\n"
28
+ "X-Poedit-SearchPath-11: includes/templates/fancy2/sdm-fancy-2.php\n"
29
+ "X-Poedit-SearchPath-12: sdm-post-type-and-taxonomy.php\n"
30
+ "X-Poedit-SearchPath-13: sdm-post-type-content-handler.php\n"
31
+ "X-Poedit-SearchPath-14: sdm-shortcodes.php\n"
32
+ "X-Poedit-SearchPath-15: main.php\n"
33
+
34
+ #: includes/sdm-admin-menu-handler.php:9
35
+ msgid "Logs"
36
+ msgstr "Logs"
37
 
38
+ #: includes/sdm-admin-menu-handler.php:10
39
+ #: includes/sdm-admin-menu-handler.php:245
40
+ msgid "Stats"
41
+ msgstr "Statistiques"
42
+
43
+ #: includes/sdm-admin-menu-handler.php:11 main.php:182
44
  msgid "Settings"
45
  msgstr "Paramètres"
46
 
47
+ #: includes/sdm-admin-menu-handler.php:12
48
+ msgid "Add-ons"
49
+ msgstr "Modules additionnels"
 
 
 
 
 
 
 
 
50
 
51
+ #: includes/sdm-admin-menu-handler.php:23
52
+ msgid "Simple Download Monitor Settings Page"
53
+ msgstr "Page de Paramètres SDM "
54
 
55
+ #: includes/sdm-admin-menu-handler.php:27
56
+ msgid "follow us"
57
+ msgstr "nous suivre"
58
 
59
+ #: includes/sdm-admin-menu-handler.php:27
60
+ msgid ""
61
+ "on Twitter, Google+ or via Email to stay upto date about the new features of "
62
+ "this plugin."
63
+ msgstr ""
64
+ "sur Twitter, Google +, ou par Email pour être tenu à jour sur les nouvelles "
65
+ "fonctionnalités de ce plugin."
66
 
67
+ #: includes/sdm-admin-menu-handler.php:86
68
+ msgid "Are you sure want to delete all plugin's data and deactivate plugin?"
69
+ msgstr ""
70
+ "Êtes-vous sûr de vouloir supprimer toutes les données de l’extension et "
71
+ "désactiver l’extension&nbsp;?"
 
 
 
 
 
 
 
 
 
 
72
 
73
+ #: includes/sdm-admin-menu-handler.php:91
74
+ msgid ""
75
+ "Data has been deleted and plugin deactivated. Click OK to go to Plugins page."
76
+ msgstr ""
77
+ "Les données ont été supprimées et l’extension désactivée. Cliquez sur OK "
78
+ "pour accéder à la page Extensions."
79
 
80
+ #: includes/sdm-admin-menu-handler.php:95
81
+ msgid "Error occured."
82
+ msgstr "Une erreur a été rencontrée."
83
 
84
+ #: includes/sdm-admin-menu-handler.php:118
85
+ msgid ""
86
+ "If you need a feature rich and supported plugin for selling your digital "
87
+ "items then checkout our"
88
+ msgstr ""
89
+ "Si vous avez besoin d’une extension riche en fonctionnalités pour la vente "
90
+ "de vos objets numériques alors allez voir sur"
91
 
92
+ #: includes/sdm-admin-menu-handler.php:118
93
+ msgid "WP eStore Plugin"
94
+ msgstr "WP eStore Plugin"
95
 
96
+ #: includes/sdm-admin-menu-handler.php:137
97
+ msgid "Log entries exported! Click on the following link to download the file."
98
+ msgstr ""
99
+ "Entrées de journal exportées&nbsp;! Cliquez sur le lien suivant pour "
100
+ "télécharger le fichier."
101
 
102
+ #: includes/sdm-admin-menu-handler.php:138
103
+ msgid "Download Logs CSV File"
104
+ msgstr "Télécharger le fichier CSV des journaux"
105
 
106
+ #: includes/sdm-admin-menu-handler.php:148
107
+ msgid "Download log entries deleted!"
108
+ msgstr "Télécharger les entrées de journal supprimées&nbsp;!"
109
 
110
+ #: includes/sdm-admin-menu-handler.php:160
111
+ msgid "Download Logs"
112
+ msgstr "Télécharger le journal"
113
 
114
+ #: includes/sdm-admin-menu-handler.php:163
115
+ msgid "This page lists all tracked downloads."
116
+ msgstr "Cette page liste les suivis de téléchargements."
117
 
118
+ #: includes/sdm-admin-menu-handler.php:170
119
+ msgid "Export Download Log Entries"
120
+ msgstr "Exporter les entrées de journal de téléchargement"
121
 
122
+ #: includes/sdm-admin-menu-handler.php:174
123
+ msgid "Export Log Entries to CSV File"
124
+ msgstr "Exporter les entrées de journal vers un fichier CSV"
125
 
126
+ #: includes/sdm-admin-menu-handler.php:181
127
+ msgid "Reset Download Log Entries"
128
+ msgstr "Réinitialiser les entrées de journal de téléchargement"
129
 
130
+ #: includes/sdm-admin-menu-handler.php:185
131
+ msgid "Reset Log Entries"
132
+ msgstr "Réinitialiser les entrées de journal"
133
 
134
+ #: includes/sdm-admin-menu-handler.php:249
135
+ msgid "Choose Date Range (yyyy-mm-dd)"
136
+ msgstr "Choisir la plage de dates (aaaa-mm-jj)"
137
 
138
+ #: includes/sdm-admin-menu-handler.php:253
139
+ msgid "Start Date: "
140
+ msgstr "Date de début&nbsp;: "
141
 
142
+ #: includes/sdm-admin-menu-handler.php:254
143
+ msgid "End Date: "
144
+ msgstr "Date de fin "
145
 
146
+ #: includes/sdm-admin-menu-handler.php:256
147
+ msgid "This Month"
148
+ msgstr "Ce mois-ci"
 
149
 
150
+ #: includes/sdm-admin-menu-handler.php:257
151
+ msgid "Last Month"
152
+ msgstr "Dernier mois"
153
 
154
+ #: includes/sdm-admin-menu-handler.php:258
155
+ msgid "This Year"
156
+ msgstr "Cette année"
157
 
158
+ #: includes/sdm-admin-menu-handler.php:259
159
+ msgid "Last Year"
160
+ msgstr "Dernière année"
161
 
162
+ #: includes/sdm-admin-menu-handler.php:260
163
+ msgid "All Time"
164
+ msgstr "Tout le temps"
165
 
166
+ #: includes/sdm-admin-menu-handler.php:263
167
+ msgid "View Stats"
168
+ msgstr "Afficher les statistiques"
169
 
170
+ #: includes/sdm-admin-menu-handler.php:269
171
+ msgid "Downloads by date"
172
+ msgstr "Téléchargements par date"
173
 
174
+ #: includes/sdm-admin-menu-handler.php:270
175
+ msgid "Downloads by country"
176
+ msgstr "Téléchargements par pays"
177
 
178
+ #: includes/sdm-download-request-handler.php:13
179
+ msgid "Error! Incorrect download item id."
180
+ msgstr "Erreur&nbsp;! Identifiant de l’élément de téléchargement incorrect."
181
 
182
+ #: includes/sdm-download-request-handler.php:16
183
+ msgid "Error! This download item ("
184
+ msgstr "Erreur&nbsp;! Cet article de téléchargement ("
 
185
 
186
+ #: includes/sdm-download-request-handler.php:26
187
+ msgid "Error! This download requires a password."
188
+ msgstr "Erreur&nbsp;! Ce téléchargement nécessite un mot de passe."
189
 
190
+ #: includes/sdm-download-request-handler.php:28 main.php:684 main.php:686
191
+ msgid "Click here"
192
+ msgstr "Cliquer ici"
193
 
194
+ #: includes/sdm-download-request-handler.php:29
195
+ msgid " and enter a valid password for this item"
196
+ msgstr " et entrez un mot de passe valide pour cet élément"
197
 
198
+ #: includes/sdm-download-request-handler.php:35
199
+ msgid "Error! Incorrect password. This download requires a valid password."
 
 
200
  msgstr ""
201
+ "Erreur&nbsp;! Mot de passe incorrect. Ce téléchargement nécessite un mot de "
202
+ "passe valide."
203
 
204
+ #: includes/sdm-download-request-handler.php:63
205
+ msgid "__Click here__ to go to login page."
206
+ msgstr "__Cliquez ici__ pour accéder à la page de connexion."
 
207
 
208
+ #: includes/sdm-download-request-handler.php:66
209
+ msgid "You need to be logged in to download this file."
210
+ msgstr "Vous devez être connecté pour télécharger ce fichier."
211
 
212
+ #: includes/sdm-download-request-handler.php:70
213
+ msgid "Not Logged In"
214
+ msgstr "Non connecté"
215
 
216
+ #: includes/sdm-download-request-handler.php:128
217
+ msgid "Error! Failed to log the download request in the database table"
218
+ msgstr ""
219
+ "Erreur! Impossible de se connecter à la demande de téléchargement dans la "
220
+ "table de base de données"
221
 
222
+ #: includes/sdm-download-request-handler.php:160
223
  msgid ""
224
+ "Error! The URL value is empty. Please specify a correct URL value to "
225
+ "redirect to!"
226
  msgstr ""
227
+ "Erreur! La valeur de l’URL est vide. S’il vous plaît spécifier une valeur "
228
+ "d’URL correcte pour rediriger vers elle!"
 
 
 
 
229
 
230
+ #: includes/sdm-latest-downloads.php:43
231
+ msgid "There are no download items matching this shortcode criteria."
232
+ msgstr ""
233
+ "Aucun élément de téléchargement ne correspond à ce critère de code court."
234
 
235
+ #: includes/sdm-logs-list-table.php:19
236
+ #: includes/templates/fancy1/sdm-fancy-1.php:95
237
+ #: sdm-post-type-content-handler.php:63 sdm-shortcodes.php:148
238
+ msgid "Download"
239
+ msgstr "Telecharger"
240
 
241
+ #: includes/sdm-logs-list-table.php:20
242
+ #: includes/templates/fancy1/sdm-fancy-1.php:95 main.php:807
243
+ #: sdm-post-type-and-taxonomy.php:7 sdm-post-type-and-taxonomy.php:8
244
+ #: sdm-post-type-and-taxonomy.php:13 sdm-post-type-and-taxonomy.php:19
245
+ #: sdm-post-type-content-handler.php:63 sdm-shortcodes.php:148
246
+ msgid "Downloads"
247
+ msgstr "téléchargements"
248
 
249
+ #: includes/sdm-logs-list-table.php:45
250
+ msgid "Edit"
251
+ msgstr "Éditer (Modifier)"
252
 
253
+ #: includes/sdm-logs-list-table.php:46
254
+ msgid "Delete"
255
+ msgstr "Effacer"
256
 
257
+ #: includes/sdm-logs-list-table.php:70 main.php:802
258
+ msgid "Title"
259
+ msgstr " Titre"
260
 
261
+ #: includes/sdm-logs-list-table.php:71 main.php:804
262
+ msgid "File"
263
+ msgstr "Fichier"
 
 
264
 
265
+ #: includes/sdm-logs-list-table.php:72
266
+ msgid "Visitor IP"
267
+ msgstr "IP du visiteur"
268
 
269
+ #: includes/sdm-logs-list-table.php:73
270
+ msgid "Date"
271
+ msgstr "Date"
272
 
273
+ #: includes/sdm-logs-list-table.php:74
274
+ msgid "Country"
275
+ msgstr "Pays"
 
 
 
 
 
 
276
 
277
+ #: includes/sdm-logs-list-table.php:75
278
+ msgid "Username"
279
+ msgstr "Nom d&rsquo;utilisateur"
280
 
281
+ #: includes/sdm-logs-list-table.php:96
282
+ msgid "Delete Permanently"
283
+ msgstr "Supprimer Définitivement"
284
 
285
+ #: includes/sdm-logs-list-table.php:111 includes/sdm-logs-list-table.php:142
286
+ msgid "Nope! Security check failed!"
287
+ msgstr "Zut! Le contrôle de sécurité a échoué !"
 
 
 
 
 
 
 
288
 
289
+ #: includes/sdm-logs-list-table.php:115
290
+ msgid "No entries were selected."
291
+ msgstr "Pas d’entrées ont été sélectionnés."
292
 
293
+ #: includes/sdm-logs-list-table.php:115 includes/sdm-logs-list-table.php:129
294
+ #: includes/sdm-logs-list-table.php:131 includes/sdm-logs-list-table.php:151
295
+ #: includes/sdm-logs-list-table.php:153
296
+ msgid "Click to Dismiss"
297
+ msgstr "Cliquez pour ignorer"
298
 
299
+ #: includes/sdm-logs-list-table.php:122
300
+ msgid "Error! The row id value of a log entry must be numeric."
301
+ msgstr ""
302
+ "Erreur&nbsp;! La valeur d’identifiant de ligne d’une entrée de journal doit "
303
+ "être numérique."
304
 
305
+ #: includes/sdm-logs-list-table.php:129
306
+ msgid "Entries Deleted!"
307
+ msgstr "Entrées supprimées!"
308
 
309
+ #: includes/sdm-logs-list-table.php:131 includes/sdm-logs-list-table.php:153
310
+ msgid "Error"
311
+ msgstr "Erreur"
312
 
313
+ #: includes/sdm-logs-list-table.php:151
314
+ msgid "Entry Deleted!"
315
+ msgstr "Ecriture supprimée !"
316
 
317
+ #: includes/sdm-search-shortcode-handler.php:65
318
+ msgid "Showing search results for "
319
+ msgstr "Affichage des résultats de recherche pour "
320
 
321
+ #: includes/sdm-search-shortcode-handler.php:66
322
+ msgid "Number of items found: "
323
+ msgstr "Nombre d’articles trouvés&nbsp;:"
324
 
325
+ #: includes/sdm-search-shortcode-handler.php:67
326
+ msgid "Keywords searched: "
327
+ msgstr "Mots-clés recherchés&nbsp;: "
328
 
329
+ #: includes/sdm-search-shortcode-handler.php:70
330
+ msgid "Nothing found for "
331
+ msgstr "Rien trouvé pour "
332
 
333
+ #: includes/sdm-utility-functions.php:9
334
  msgid "Green"
335
  msgstr "Vert"
336
 
337
+ #: includes/sdm-utility-functions.php:10
338
  msgid "Blue"
339
  msgstr "Bleu"
340
 
341
+ #: includes/sdm-utility-functions.php:11
342
  msgid "Purple"
343
  msgstr "Mauve"
344
 
345
+ #: includes/sdm-utility-functions.php:12
346
  msgid "Teal"
347
  msgstr "Bleu Canard"
348
 
349
+ #: includes/sdm-utility-functions.php:13
350
  msgid "Dark Blue"
351
  msgstr "Bleu foncé"
352
 
353
+ #: includes/sdm-utility-functions.php:14
354
  msgid "Black"
355
  msgstr "noir"
356
 
357
+ #: includes/sdm-utility-functions.php:15
358
  msgid "Grey"
359
  msgstr "Gris"
360
 
361
+ #: includes/sdm-utility-functions.php:16
362
  msgid "Pink"
363
  msgstr "Rose"
364
 
365
+ #: includes/sdm-utility-functions.php:17
366
  msgid "Orange"
367
  msgstr "Orange"
368
 
369
+ #: includes/sdm-utility-functions.php:18
370
  msgid "White"
371
  msgstr "Blanc"
372
 
373
+ #: includes/sdm-utility-functions.php:62
374
+ #: includes/templates/fancy0/sdm-fancy-0.php:75
375
+ #: includes/templates/fancy1/sdm-fancy-1.php:43
376
+ #: includes/templates/fancy2/sdm-fancy-2.php:60
377
+ #: sdm-post-type-content-handler.php:44 sdm-shortcodes.php:68
378
+ #: sdm-shortcodes.php:162
379
+ msgid "Download Now!"
380
+ msgstr "Télécharger le catalogue"
381
 
382
+ #: includes/sdm-utility-functions.php:69
383
+ msgid "Enter Password to Download:"
384
+ msgstr "Entrez le mot de passe pour télécharger :"
385
 
386
+ #: includes/templates/fancy0/sdm-fancy-0.php:64
387
+ #: sdm-post-type-content-handler.php:39
388
+ msgid "green"
389
+ msgstr "vert"
 
 
390
 
391
+ #: includes/templates/fancy1/sdm-fancy-1.php:111
392
+ #: includes/templates/fancy2/sdm-fancy-2.php:121
393
+ #: sdm-post-type-content-handler.php:87
394
+ msgid "Size: "
395
+ msgstr "Taille&nbsp;: "
396
 
397
+ #: includes/templates/fancy1/sdm-fancy-1.php:118
398
+ #: includes/templates/fancy2/sdm-fancy-2.php:128 main.php:433
399
+ #: sdm-post-type-content-handler.php:94
400
+ msgid "Version: "
401
+ msgstr "Version&nbsp;: "
402
 
403
+ #: main.php:237 main.php:320
404
+ msgid "Select File"
405
+ msgstr "Sélectionnez un fichier"
 
406
 
407
+ #: main.php:238
408
+ msgid "Select Thumbnail"
409
+ msgstr "Sélectionnez une miniature"
 
410
 
411
+ #: main.php:239
412
+ msgid "Insert"
413
+ msgstr "Insérer"
414
 
415
+ #: main.php:240
416
+ msgid "Image Successfully Removed"
417
+ msgstr "Image supprimée avec succès"
418
 
419
+ #: main.php:241
420
+ msgid "Error with AJAX"
421
+ msgstr "Erreur avec AJAX"
422
 
423
+ #: main.php:252
424
+ msgid "Please select a Download Item:"
425
+ msgstr "Veuillez sélectionner un téléchargement :"
426
 
427
+ #: main.php:253
428
+ msgid "Download Title"
429
+ msgstr "Titre du Téléchargement"
430
 
431
+ #: main.php:254
432
+ msgid "Include Fancy Box"
433
+ msgstr "Inclure la Fancy Box"
434
 
435
+ #: main.php:255
436
+ msgid "Open New Window"
437
+ msgstr "Ouvrir une nouvelle fenêtre"
438
 
439
+ #: main.php:256
440
+ msgid "Button Color"
441
+ msgstr "Couleur du bouton"
442
 
443
+ #: main.php:257
444
+ msgid "Insert SDM Shortcode"
445
+ msgstr "Insérez le Shortcode SDM"
 
 
 
 
446
 
447
+ #: main.php:288
448
+ msgid "Description"
449
+ msgstr "Description"
450
 
451
+ #: main.php:289
452
+ msgid "Downloadable File (Visitors will download this item)"
453
+ msgstr "Fichier téléchargeable (Les visiteurs téléchargeront cet élément)"
 
454
 
455
+ #: main.php:290
456
+ msgid "PHP Dispatch or Redirect"
457
+ msgstr "Envoi PHP ou redirection"
458
 
459
+ #: main.php:291
460
+ msgid "File Thumbnail (Optional)"
461
+ msgstr "La miniature du fichier (Facultatif)"
462
 
463
+ #: main.php:292
464
+ msgid "Statistics"
465
+ msgstr "Statistiques"
466
 
467
+ #: main.php:293
468
+ msgid "Other Details (Optional)"
469
+ msgstr "Autres détails (facultatif)"
470
+
471
+ #: main.php:294
472
+ msgid "Shortcodes"
473
+ msgstr "Shortcodes"
474
 
475
+ #: main.php:298
476
+ msgid "Add a description for this download item."
477
+ msgstr "Ajouter une description pour ce fichier."
478
 
479
+ #: main.php:312
480
+ msgid ""
481
+ "Manually enter a valid URL of the file in the text box below, or click "
482
+ "\"Select File\" button to upload (or choose) the downloadable file."
483
  msgstr ""
484
+ "Entrez manuellement une URL valide du fichier dans la zone de texte ci-"
485
+ "dessous, ou cliquez sur le bouton \"Sélectionner un fichier\" pour "
486
+ "télécharger (ou choisir) le fichier téléchargeable."
487
 
488
+ #: main.php:323
489
+ msgid "Steps to upload a file or choose one from your media library:"
490
+ msgstr ""
491
+ "Étapes pour télécharger un fichier ou en choisir un dans votre bibliothèque "
492
+ "multimédia&nbsp;:"
493
+
494
+ #: main.php:348
495
  msgid ""
496
+ "Dispatch the file via PHP directly instead of redirecting to it. PHP "
497
+ "Dispatching keeps the download URL hidden. Dispatching works only for local "
498
+ "files (files that you uploaded to this site via this plugin or media "
499
+ "library)."
500
+ msgstr ""
501
+ "Distribuer le fichier via PHP directement au lieu de le rediriger. Envoi PHP "
502
+ "garde l’URL de téléchargement cachée. L’envoi fonctionne uniquement pour les "
503
+ "fichiers locaux (fichiers que vous avez téléchargés sur ce site via ce "
504
+ "plugin ou cette bibliothèque multimédia)."
505
+
506
+ #: main.php:356
507
+ msgid ""
508
+ "Manually enter a valid URL, or click \"Select Image\" to upload (or choose) "
509
+ "the file thumbnail image."
510
+ msgstr ""
511
+ "Saisissez manuellement une URL valide ou cliquez sur \"Sélectionner une image"
512
+ "\" pour télécharger (ou choisir) l’image miniature du fichier."
513
+
514
+ #: main.php:361
515
+ msgid "Select Image"
516
+ msgstr "Selectionnez une image"
517
+
518
+ #: main.php:362
519
+ msgid "Remove Image"
520
+ msgstr "Supprimer I’image"
521
+
522
+ #: main.php:376
523
+ msgid ""
524
+ "This thumbnail image will be used to create a fancy file download box if you "
525
+ "want to use it."
526
+ msgstr ""
527
+ "Cette image miniature sera utilisée pour créer une boîte de téléchargement "
528
+ "de fichiers stylisée si vous voulez l’utiliser."
529
+
530
+ #: main.php:390
531
+ msgid "These are the statistics for this download item."
532
+ msgstr "Voici les statistiques pour ce téléchargement."
533
+
534
+ #: main.php:397
535
+ msgid "Number of Downloads:"
536
+ msgstr "Nombre de téléchargements:"
537
+
538
+ #: main.php:402
539
+ msgid "Offset Count: "
540
+ msgstr "Décalage du compteur&nbsp;: "
541
+
542
+ #: main.php:405
543
+ msgid ""
544
+ "Enter any positive or negative numerical value; to offset the download count "
545
+ "shown to the visitors (when using the download counter shortcode)."
546
+ msgstr ""
547
+ "Entrez une valeur numérique, positive ou négative, pour compenser le nombre "
548
+ "de téléchargements indiqué aux visiteurs (lors de l’utilisation du code "
549
+ "court du compteur de téléchargement)."
550
+
551
+ #: main.php:412
552
+ msgid "Disable download logging for this item."
553
+ msgstr "Désactiver les entrées de téléchargement pour cet élément."
554
+
555
+ #: main.php:426
556
+ msgid "File Size: "
557
+ msgstr "Taille du fichier&nbsp;: "
558
+
559
+ #: main.php:429
560
+ msgid ""
561
+ "Enter the size of this file (example value: 2.15 MB). You can show this "
562
+ "value in the fancy display by using a shortcode parameter."
563
+ msgstr ""
564
+ "Entrez la taille de ce fichier (valeur d’exemple&nbsp;: 2,15&nbsp;Mo). Vous "
565
+ "pouvez afficher cette valeur dans l’affichage fantaisie en utilisant un "
566
+ "paramètre de code court."
567
+
568
+ #: main.php:436
569
+ msgid ""
570
+ "Enter the version number for this item if any (example value: v2.5.10). You "
571
+ "can show this value in the fancy display by using a shortcode parameter."
572
+ msgstr ""
573
+ "Entrez le numéro de version de cet article, le cas échéant (exemple de "
574
+ "valeur: v2.5.10). Vous pouvez afficher cette valeur dans l’affichage "
575
+ "fantaisie en utilisant un paramètre de code court."
576
+
577
+ #: main.php:443
578
+ msgid ""
579
+ "The following shortcode can be used on posts or pages to embed a download "
580
+ "now button for this file. You can also use the shortcode inserter (in the "
581
+ "post editor) to add this shortcode to a post or page."
582
+ msgstr ""
583
+ "Le code court suivant peut être utilisé sur des publications ou des pages "
584
+ "pour intégrer un bouton de téléchargement maintenant pour ce fichier. Vous "
585
+ "pouvez également utiliser le dispositif d’insertion de code court (dans "
586
+ "l’éditeur de publication) pour ajouter ce code court à un article ou à une "
587
+ "page."
588
+
589
+ #: main.php:449
590
+ msgid ""
591
+ "The following shortcode can be used to show a download counter for this item."
592
+ msgstr ""
593
+ "Le code court suivant peut être utilisé pour afficher un compteur de "
594
+ "téléchargement pour cet élément."
595
+
596
+ #: main.php:557
597
+ msgid "General Options"
598
+ msgstr "Options générales"
599
+
600
+ #: main.php:558
601
+ msgid "Admin Options"
602
+ msgstr "Option d’administration"
603
+
604
+ #: main.php:559
605
+ msgid "Colors"
606
+ msgstr "Couleurs"
607
+
608
+ #: main.php:560
609
+ msgid "Debug"
610
+ msgstr "Débogage"
611
+
612
+ #: main.php:561
613
+ msgid "Delete Plugin Data"
614
+ msgstr "Supprimer les données de l’extension"
615
+
616
+ #: main.php:564
617
+ msgid "Hide Download Count"
618
+ msgstr "Masquer le nombre de téléchargements"
619
+
620
+ #: main.php:565
621
+ msgid "PHP Dispatching"
622
+ msgstr "Envoi PHP"
623
+
624
+ #: main.php:566
625
+ msgid "Only Allow Logged-in Users to Download"
626
+ msgstr "Autoriser uniquement les utilisateurs connectés à télécharger"
627
+
628
+ #: main.php:567
629
+ msgid "Login Page URL"
630
+ msgstr "URL de la page de connexion"
631
+
632
+ #: main.php:569
633
+ msgid "Remove Tinymce Button"
634
+ msgstr "Supprimer le bouton Tinymce"
635
+
636
+ #: main.php:570
637
+ msgid "Log Unique IP"
638
+ msgstr "Entrée IP unique"
639
+
640
+ #: main.php:571
641
+ msgid "Do Not Capture IP Address"
642
+ msgstr "Ne pas capturer l’adresse IP"
643
+
644
+ #: main.php:572
645
+ msgid "Do Not Count Downloads from Bots"
646
+ msgstr "Ne pas compter les téléchargements des bots."
647
+
648
+ #: main.php:573
649
+ msgid "Disable Download Logs"
650
+ msgstr "Désactiver les journaux de téléchargement"
651
+
652
+ #: main.php:575
653
+ msgid "Download Button Color"
654
+ msgstr "Couleur du bouton de Téléchargement"
655
+
656
+ #: main.php:577
657
+ msgid "Enable Debug"
658
+ msgstr "Activer le mode de débogage"
659
+
660
+ #: main.php:582
661
+ msgid "General options settings"
662
+ msgstr "Paramètres généraux d’options"
663
+
664
+ #: main.php:587
665
+ msgid "Admin options settings"
666
+ msgstr "Paramètres des options d’administration"
667
+
668
+ #: main.php:592
669
+ msgid "Front End colors settings"
670
+ msgstr "Paramètres de couleurs de l’interface utilisateur"
671
+
672
+ #: main.php:597
673
+ msgid "Debug settings"
674
+ msgstr "Paramètres de débogage"
675
+
676
+ #: main.php:602
677
+ msgid ""
678
+ "You can delete all the data related to this plugin from database using the "
679
+ "button below. Useful when you're uninstalling the plugin and don't want any "
680
+ "leftovers remaining."
681
+ msgstr ""
682
+ "Vous pouvez supprimer toutes les données relatives à cette extension de la "
683
+ "base de données en utilisant le bouton ci-dessous. Utile lorsque vous "
684
+ "désinstallez l’extension et que vous ne voulez pas qu’il reste des données."
685
+
686
+ #: main.php:603
687
+ msgid "Warning"
688
+ msgstr "Attention"
689
+
690
+ #: main.php:603
691
+ msgid ""
692
+ "this can't be undone. All settings, download items, download logs will be "
693
+ "deleted."
694
+ msgstr ""
695
+ "cela ne peut pas être annulé. Tous les paramètres, télécharger des éléments, "
696
+ "télécharger les journaux seront supprimés."
697
+
698
+ #: main.php:604
699
+ msgid "Delete all data and deactivate plugin"
700
+ msgstr "Supprimer toutes les données et désactiver l’extension."
701
+
702
+ #: main.php:611
703
+ msgid "Hide the download count that is shown in some of the fancy templates."
704
+ msgstr ""
705
+ "Masquez le nombre de téléchargements indiqué dans certains des modèles "
706
+ "stylisés."
707
+
708
+ #: main.php:618
709
+ msgid ""
710
+ "When you create a new download item, The PHP Dispatching option should be "
711
+ "enabled by default. PHP Dispatching keeps the URL of the downloadable files "
712
+ "hidden."
713
  msgstr ""
714
+ "Lorsque vous créez un nouvel élément de téléchargement, l’option Envoi de "
715
+ "PHP doit être activée par défaut. Envoi de PHP conserve l’URL des fichiers "
716
+ "téléchargeables cachés."
717
 
718
+ #: main.php:625
719
+ msgid ""
720
+ "Enable this option if you want to allow downloads only for logged-in users. "
721
+ "When enabled, anonymous users clicking on the download button will receive "
722
+ "an error message."
723
+ msgstr ""
724
+ "Activez cette option si vous souhaitez autoriser les téléchargements "
725
+ "uniquement pour les utilisateurs connectés. Lorsque cette option est "
726
+ "activée, les utilisateurs anonymes qui cliquent sur le bouton de "
727
+ "téléchargement recevront un message d’erreur."
728
+
729
+ #: main.php:632
730
+ msgid ""
731
+ "(Optional) Specify a login page URL where users can login. This is useful if "
732
+ "you only allow logged in users to be able to download. This link will be "
733
+ "added to the message that is shown to anonymous users."
734
+ msgstr ""
735
+ "(Optionnel) Spécifiez une URL de page de connexion dans laquelle les "
736
+ "utilisateurs peuvent se connecter. Ceci est utile si vous autorisez "
737
+ "uniquement les utilisateurs connectés à télécharger. Ce lien sera ajouté au "
738
+ "message affiché aux utilisateurs anonymes."
739
+
740
+ #: main.php:638
741
+ msgid "Removes the SDM Downloads button from the WP content editor."
742
+ msgstr "Supprime le bouton Téléchargements SDM de l’éditeur de contenu de WP."
743
+
744
+ #: main.php:644
745
+ msgid "Only logs downloads from unique IP addresses."
746
+ msgstr "Seuls les journaux sont téléchargés à partir d’adresses IP uniques."
747
+
748
+ #: main.php:650
749
+ msgid ""
750
+ "Use this if you do not want to capture the IP address and Country of the "
751
+ "visitors when they download an item."
752
+ msgstr ""
753
+ "Utilisez cette option si vous ne souhaitez pas capturer l’adresse IP et le "
754
+ "pays des visiteurs lorsqu’ils téléchargent un élément."
755
+
756
+ #: main.php:656
757
+ msgid "When enabled, the plugin won't count and log downloads from bots."
758
+ msgstr ""
759
+ "Lorsque cette option est activée, l’extension ne compte pas et enregistre "
760
+ "les téléchargements depuis les robots."
761
+
762
+ #: main.php:662
763
+ msgid ""
764
+ "Disables all download logs. (This global option overrides the individual "
765
+ "download item option.)"
766
+ msgstr ""
767
+ "Désactive tous les journaux de téléchargement. (Cette option globale "
768
+ "remplace l’option d’élément de téléchargement individuel.)"
769
+
770
+ #: main.php:682
771
+ msgid "Check this option to enable debug logging."
772
+ msgstr "Cochez cette option pour activer la journalisation du débogage."
773
+
774
+ #: main.php:685
775
+ msgid " to view log file."
776
+ msgstr " pour afficher le fichier journal."
777
+
778
+ #: main.php:687
779
+ msgid " to reset log file."
780
+ msgstr " pour réinitialiser le fichier journal."
781
+
782
+ #: main.php:725
783
+ msgid "Permission denied!"
784
+ msgstr "Permission refusée&nbsp;!"
785
+
786
+ #: main.php:801
787
  msgid "Image"
788
  msgstr "Image"
789
 
790
+ #: main.php:803
791
  msgid "ID"
792
  msgstr "ID "
793
 
794
+ #: main.php:805 sdm-post-type-and-taxonomy.php:56
795
+ msgid "Categories"
796
+ msgstr "Catégories"
797
+
798
+ #: main.php:806 sdm-post-type-and-taxonomy.php:80
799
+ msgid "Tags"
800
+ msgstr "Mots clés "
801
+
802
+ #: main.php:808
803
  msgid "Date Posted"
804
  msgstr "Date de Publication"
805
 
806
+ #: sdm-post-type-and-taxonomy.php:9 sdm-post-type-and-taxonomy.php:10
807
+ msgid "Add New"
808
+ msgstr "Ajouter Nouveau"
809
 
810
+ #: sdm-post-type-and-taxonomy.php:11
811
+ msgid "Edit Download"
812
+ msgstr "Modifier Téléchargement"
 
 
 
813
 
814
+ #: sdm-post-type-and-taxonomy.php:12
815
+ msgid "New Download"
816
+ msgstr "Nouveau téléchargement"
817
+
818
+ #: sdm-post-type-and-taxonomy.php:14
819
+ msgid "View Download"
820
+ msgstr "Afficher Téléchargement"
821
+
822
+ #: sdm-post-type-and-taxonomy.php:15
823
+ msgid "Search Downloads"
824
+ msgstr "Recherche de téléchargements"
825
+
826
+ #: sdm-post-type-and-taxonomy.php:16
827
+ msgid "No Downloads found"
828
+ msgstr "Aucun Téléchargement Trouvé"
829
+
830
+ #: sdm-post-type-and-taxonomy.php:17
831
+ msgid "No Downloads found in Trash"
832
+ msgstr "Aucun téléchargement trouvé dans la poubelle"
833
+
834
+ #: sdm-post-type-and-taxonomy.php:18
835
+ msgid "Parent Download"
836
+ msgstr "Téléchargement Parent"
837
+
838
+ #: sdm-post-type-and-taxonomy.php:48
839
+ msgid "Search Categories"
840
+ msgstr "Chercher dans Catégories"
841
+
842
+ #: sdm-post-type-and-taxonomy.php:49
843
+ msgid "All Categories"
844
+ msgstr "Toutes Catégories"
845
+
846
+ #: sdm-post-type-and-taxonomy.php:50
847
+ msgid "Categories Genre"
848
+ msgstr "Types de catégories"
849
+
850
+ #: sdm-post-type-and-taxonomy.php:51
851
+ msgid "Categories Genre:"
852
+ msgstr "Types de catégories"
853
+
854
+ #: sdm-post-type-and-taxonomy.php:52
855
+ msgid "Edit Category"
856
+ msgstr "Modifier Catégorie"
857
+
858
+ #: sdm-post-type-and-taxonomy.php:53
859
+ msgid "Update Category"
860
+ msgstr "Mettre à jour la catégorie"
861
+
862
+ #: sdm-post-type-and-taxonomy.php:54
863
+ msgid "Add New Category"
864
+ msgstr "Ajouter une nouvelle catégorie"
865
 
866
+ #: sdm-post-type-and-taxonomy.php:55
867
+ msgid "New Category"
868
+ msgstr "Nouvelle catégorie"
869
+
870
+ #: sdm-post-type-and-taxonomy.php:72
871
+ msgid "Search Tags"
872
+ msgstr "Rechercher parmi les mots-clés"
873
+
874
+ #: sdm-post-type-and-taxonomy.php:73
875
+ msgid "All Tags"
876
+ msgstr "Tous les tags"
877
+
878
+ #: sdm-post-type-and-taxonomy.php:74
879
+ msgid "Tags Genre"
880
+ msgstr "Genre de mots-clés"
881
+
882
+ #: sdm-post-type-and-taxonomy.php:75
883
+ msgid "Tags Genre:"
884
+ msgstr "Genre de mots-clés:"
885
+
886
+ #: sdm-post-type-and-taxonomy.php:76
887
+ msgid "Edit Tag"
888
+ msgstr "Modifier le mots-clé"
889
+
890
+ #: sdm-post-type-and-taxonomy.php:77
891
+ msgid "Update Tag"
892
+ msgstr "Mettre à jour les mots-clés"
893
+
894
+ #: sdm-post-type-and-taxonomy.php:78
895
+ msgid "Add New Tag"
896
+ msgstr "Ajouter un nouveau mot clé"
897
+
898
+ #: sdm-post-type-and-taxonomy.php:79
899
+ msgid "New Tag"
900
+ msgstr "Nouveau tag"
901
+
902
+ #: sdm-shortcodes.php:81 sdm-shortcodes.php:128 sdm-shortcodes.php:142
903
  msgid "Error! Please enter an ID value with this shortcode."
904
+ msgstr "Erreur ! Veuillez entrer une valeur dID avec ce raccourci."
905
 
906
+ #: sdm-shortcodes.php:175
907
  msgid ""
908
  "Error! You must enter a category slug OR a category id with this shortcode. "
909
  "Refer to the documentation for usage instructions."
910
  msgstr ""
911
  "Erreur ! Veuillez saisir une catégorie ou un id de catégorie avec ce "
912
  "raccourci. Reportez-vous à la documentation pour obtenir des instructions "
913
+ "dutilisation."
914
 
915
+ #: sdm-shortcodes.php:180
916
  msgid "Error! Please enter a category slug OR id; not both."
917
  msgstr "Erreur ! Veuillez saisir une catégorie OU un ID pas les deux."
918
 
919
+ #: sdm-shortcodes.php:210
920
+ msgid ""
921
+ "Error! You must enter a numeric number for the \"pagination\" parameter of "
922
+ "the shortcode. Refer to the usage documentation."
923
+ msgstr ""
924
+ "Erreur&nbsp;! Vous devez entrer un numéro numérique pour le paramètre "
925
+ "\"pagination\" du code court. Reportez-vous à la documentation d’utilisation."
926
+
927
+ #: sdm-shortcodes.php:235
928
  msgid "There are no download items matching this category criteria."
929
  msgstr ""
930
+ "Il ny a pas de téléchargement correspondant à ces critères de catégorie."
931
+
932
+ #~ msgid "Incorrect Password"
933
+ #~ msgstr "Mot de passe incorrect"
934
+
935
+ #~ msgid "Control various plugin features."
936
+ #~ msgstr "Contrôlez diverses fonctionnalités plug-in."
937
+
938
+ #~ msgid "Color Options"
939
+ #~ msgstr "Options de Couleur"
940
+
941
+ #~ msgid "Adjust color options"
942
+ #~ msgstr "Réglez les options de couleurs"
943
+
944
+ #~ msgid "Upload File"
945
+ #~ msgstr "Télécharger un fichier"
946
+
947
+ #~ msgid "current"
948
+ #~ msgstr "Actuel"
949
+
950
+ #~ msgid "Adjusts the color of the \"Download Now\" button."
951
+ #~ msgstr "Modifier la couleur du bouton \"Télécharger Maintenant\"."
952
+
953
+ #~ msgid "Export All as Excel"
954
+ #~ msgstr "Export Tout sous Excel"
955
+
956
+ #~ msgid "Download Export File"
957
+ #~ msgstr "Télécharger le fichier d'exportation"
958
+
959
+ #~ msgid "Submit"
960
+ #~ msgstr "Soumettre"
961
+
962
+ #~ msgid "Visitor Country"
963
+ #~ msgstr "Pays du visiteur"
main.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Simple Download Monitor
4
  * Plugin URI: https://www.tipsandtricks-hq.com/simple-wordpress-download-monitor-plugin
5
  * Description: Easily manage downloadable files and monitor downloads of your digital files from your WordPress site.
6
- * Version: 3.5.9
7
  * Author: Tips and Tricks HQ, Ruhul Amin, Josh Lobe
8
  * Author URI: https://www.tipsandtricks-hq.com/development-center
9
  * License: GPL2
@@ -15,7 +15,7 @@ if (!defined('ABSPATH')) {
15
  exit;
16
  }
17
 
18
- define('WP_SIMPLE_DL_MONITOR_VERSION', '3.5.9');
19
  define('WP_SIMPLE_DL_MONITOR_DIR_NAME', dirname(plugin_basename(__FILE__)));
20
  define('WP_SIMPLE_DL_MONITOR_URL', plugins_url('', __FILE__));
21
  define('WP_SIMPLE_DL_MONITOR_PATH', plugin_dir_path(__FILE__));
@@ -212,6 +212,7 @@ class simpleDownloadManager {
212
  add_action('admin_init', array($this, 'sdm_register_options')); // Register admin options
213
  //add_filter('post_row_actions', array($this, 'sdm_remove_view_link_cpt'), 10, 2); // Remove 'View' link in all downloads list view
214
  }
 
215
  }
216
 
217
  public function sdm_admin_scripts() {
@@ -265,7 +266,18 @@ class simpleDownloadManager {
265
  //Use this function to enqueue fron-end js scripts.
266
  wp_enqueue_style('sdm-styles', WP_SIMPLE_DL_MONITOR_URL . '/css/sdm_wp_styles.css');
267
  wp_register_script('sdm-scripts', WP_SIMPLE_DL_MONITOR_URL . '/js/sdm_wp_scripts.js', array('jquery'));
268
- wp_enqueue_script('sdm-scripts');
 
 
 
 
 
 
 
 
 
 
 
269
 
270
  // Localize ajax script for frontend
271
  wp_localize_script('sdm-scripts', 'sdm_ajax_script', array('ajaxurl' => admin_url('admin-ajax.php')));
@@ -555,11 +567,15 @@ class simpleDownloadManager {
555
 
556
  //Add all the settings section that will go under the main settings
557
  add_settings_section('general_options', __('General Options', 'simple-download-monitor'), array($this, 'general_options_cb'), 'general_options_section');
558
- add_settings_section('admin_options', __('Admin Options', 'simple-download-monitor'), array($this, 'admin_options_cb'), 'admin_options_section');
 
 
 
 
559
  add_settings_section('sdm_colors', __('Colors', 'simple-download-monitor'), array($this, 'sdm_colors_cb'), 'sdm_colors_section');
560
  add_settings_section('sdm_debug', __('Debug', 'simple-download-monitor'), array($this, 'sdm_debug_cb'), 'sdm_debug_section');
561
  add_settings_section('sdm_deldata', __('Delete Plugin Data', 'simple-download-monitor'), array($this, 'sdm_deldata_cb'), 'sdm_deldata_section');
562
-
563
  //Add all the individual settings fields that goes under the sections
564
  add_settings_field('general_hide_donwload_count', __('Hide Download Count', 'simple-download-monitor'), array($this, 'hide_download_count_cb'), 'general_options_section', 'general_options');
565
  add_settings_field('general_default_dispatch_value', __('PHP Dispatching', 'simple-download-monitor'), array($this, 'general_default_dispatch_value_cb'), 'general_options_section', 'general_options');
@@ -575,6 +591,12 @@ class simpleDownloadManager {
575
  add_settings_field('download_button_color', __('Download Button Color', 'simple-download-monitor'), array($this, 'download_button_color_cb'), 'sdm_colors_section', 'sdm_colors');
576
 
577
  add_settings_field('enable_debug', __('Enable Debug', 'simple-download-monitor'), array($this, 'enable_debug_cb'), 'sdm_debug_section', 'sdm_debug');
 
 
 
 
 
 
578
  }
579
 
580
  public function general_options_cb() {
@@ -605,6 +627,32 @@ class simpleDownloadManager {
605
  echo '<br />';
606
  }
607
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
608
  public function hide_download_count_cb() {
609
  $main_opts = get_option('sdm_downloads_options');
610
  echo '<input name="sdm_downloads_options[general_hide_donwload_count]" id="general_hide_download_count" type="checkbox" ' . checked(1, isset($main_opts['general_hide_donwload_count']), false) . ' /> ';
@@ -886,4 +934,4 @@ if ($tiny_button_option != true) {
886
  return $buttons;
887
  }
888
 
889
- }
3
  * Plugin Name: Simple Download Monitor
4
  * Plugin URI: https://www.tipsandtricks-hq.com/simple-wordpress-download-monitor-plugin
5
  * Description: Easily manage downloadable files and monitor downloads of your digital files from your WordPress site.
6
+ * Version: 3.6.1
7
  * Author: Tips and Tricks HQ, Ruhul Amin, Josh Lobe
8
  * Author URI: https://www.tipsandtricks-hq.com/development-center
9
  * License: GPL2
15
  exit;
16
  }
17
 
18
+ define('WP_SIMPLE_DL_MONITOR_VERSION', '3.6.1');
19
  define('WP_SIMPLE_DL_MONITOR_DIR_NAME', dirname(plugin_basename(__FILE__)));
20
  define('WP_SIMPLE_DL_MONITOR_URL', plugins_url('', __FILE__));
21
  define('WP_SIMPLE_DL_MONITOR_PATH', plugin_dir_path(__FILE__));
212
  add_action('admin_init', array($this, 'sdm_register_options')); // Register admin options
213
  //add_filter('post_row_actions', array($this, 'sdm_remove_view_link_cpt'), 10, 2); // Remove 'View' link in all downloads list view
214
  }
215
+
216
  }
217
 
218
  public function sdm_admin_scripts() {
266
  //Use this function to enqueue fron-end js scripts.
267
  wp_enqueue_style('sdm-styles', WP_SIMPLE_DL_MONITOR_URL . '/css/sdm_wp_styles.css');
268
  wp_register_script('sdm-scripts', WP_SIMPLE_DL_MONITOR_URL . '/js/sdm_wp_scripts.js', array('jquery'));
269
+ wp_enqueue_script('sdm-scripts');
270
+
271
+ //Check if reCAPTCHA is enabled.
272
+ $main_advanced_opts = get_option('sdm_advanced_options');
273
+ $recaptcha_enable = isset($main_advanced_opts['recaptcha_enable']) ? true : false;
274
+ if ($recaptcha_enable) {
275
+ wp_register_script('sdm-recaptcha-scripts-js', WP_SIMPLE_DL_MONITOR_URL . '/js/sdm_g_recaptcha.js', array(), true);
276
+ wp_localize_script("sdm-recaptcha-scripts-js", "sdm_recaptcha_opt", array("site_key" => $main_advanced_opts['recaptcha_site_key']));
277
+ wp_register_script('sdm-recaptcha-scripts-lib', "//www.google.com/recaptcha/api.js?hl=".get_locale()."&onload=sdm_reCaptcha&render=explicit", array(), false);
278
+ wp_enqueue_script('sdm-recaptcha-scripts-js');
279
+ wp_enqueue_script('sdm-recaptcha-scripts-lib');
280
+ }
281
 
282
  // Localize ajax script for frontend
283
  wp_localize_script('sdm-scripts', 'sdm_ajax_script', array('ajaxurl' => admin_url('admin-ajax.php')));
567
 
568
  //Add all the settings section that will go under the main settings
569
  add_settings_section('general_options', __('General Options', 'simple-download-monitor'), array($this, 'general_options_cb'), 'general_options_section');
570
+ add_settings_section('admin_options', __('Admin Options', 'simple-download-monitor'), array($this, 'admin_options_cb'), 'admin_options_section');
571
+
572
+ //add reCAPTCHA section
573
+ add_settings_section('recaptcha_options', __('Google Captcha (reCAPTCHA)', 'simple-download-monitor'), array($this, 'recaptcha_options_cb'), 'recaptcha_options_section');
574
+
575
  add_settings_section('sdm_colors', __('Colors', 'simple-download-monitor'), array($this, 'sdm_colors_cb'), 'sdm_colors_section');
576
  add_settings_section('sdm_debug', __('Debug', 'simple-download-monitor'), array($this, 'sdm_debug_cb'), 'sdm_debug_section');
577
  add_settings_section('sdm_deldata', __('Delete Plugin Data', 'simple-download-monitor'), array($this, 'sdm_deldata_cb'), 'sdm_deldata_section');
578
+
579
  //Add all the individual settings fields that goes under the sections
580
  add_settings_field('general_hide_donwload_count', __('Hide Download Count', 'simple-download-monitor'), array($this, 'hide_download_count_cb'), 'general_options_section', 'general_options');
581
  add_settings_field('general_default_dispatch_value', __('PHP Dispatching', 'simple-download-monitor'), array($this, 'general_default_dispatch_value_cb'), 'general_options_section', 'general_options');
591
  add_settings_field('download_button_color', __('Download Button Color', 'simple-download-monitor'), array($this, 'download_button_color_cb'), 'sdm_colors_section', 'sdm_colors');
592
 
593
  add_settings_field('enable_debug', __('Enable Debug', 'simple-download-monitor'), array($this, 'enable_debug_cb'), 'sdm_debug_section', 'sdm_debug');
594
+
595
+ //add reCAPTCHA section fields
596
+ add_settings_field('recaptcha_enable', __('Enable reCAPTCHA', 'simple-download-monitor'), array($this, 'recaptcha_enable_cb'), 'recaptcha_options_section', 'recaptcha_options');
597
+ add_settings_field('recaptcha_site_key', __('Site Key', 'simple-download-monitor'), array($this, 'recaptcha_site_key_cb'), 'recaptcha_options_section', 'recaptcha_options');
598
+ add_settings_field('recaptcha_secret_key', __('Secret Key', 'simple-download-monitor'), array($this, 'recaptcha_secret_key_cb'), 'recaptcha_options_section', 'recaptcha_options');
599
+
600
  }
601
 
602
  public function general_options_cb() {
627
  echo '<br />';
628
  }
629
 
630
+ public function recaptcha_options_cb() {
631
+ //Set the message that will be shown below the debug options settings heading
632
+ _e('Google Captcha (reCAPTCHA) options', 'simple-download-monitor');
633
+ }
634
+
635
+ public function recaptcha_enable_cb() {
636
+ $main_opts = get_option('sdm_advanced_options');
637
+ echo '<input name="sdm_advanced_options[recaptcha_enable]" id="recaptcha_enable" type="checkbox" ' . checked(1, isset($main_opts['recaptcha_enable']), false) . ' /> ';
638
+ echo '<p class="description">' . __('Check this box if you want to use <a href="https://www.google.com/recaptcha/admin" target="_blank">reCAPTCHA</a>. ', 'simple-download-monitor') . '</p>';
639
+ echo '<p class="description">' . __('The captcha option adds a captcha to the download now buttons.', 'simple-download-monitor') . '</p>';
640
+ }
641
+
642
+ public function recaptcha_site_key_cb() {
643
+ $main_opts = get_option('sdm_advanced_options');
644
+ $value = isset($main_opts['recaptcha_site_key']) ? $main_opts['recaptcha_site_key'] : '';
645
+ echo '<input size="100" name="sdm_advanced_options[recaptcha_site_key]" id="recaptcha_site_key" type="text" value="'.$value.'" /> ';
646
+ echo '<p class="description">' . __('The site key for the reCAPTCHA API', 'simple-download-monitor') . '</p>';
647
+ }
648
+
649
+ public function recaptcha_secret_key_cb() {
650
+ $main_opts = get_option('sdm_advanced_options');
651
+ $value = isset($main_opts['recaptcha_secret_key']) ? $main_opts['recaptcha_secret_key'] : '';
652
+ echo '<input size="100" name="sdm_advanced_options[recaptcha_secret_key]" id="recaptcha_secret_key" type="text" value="'.$value.'" /> ';
653
+ echo '<p class="description">' . __('The secret key for the reCAPTCHA API', 'simple-download-monitor') . '</p>';
654
+ }
655
+
656
  public function hide_download_count_cb() {
657
  $main_opts = get_option('sdm_downloads_options');
658
  echo '<input name="sdm_downloads_options[general_hide_donwload_count]" id="general_hide_download_count" type="checkbox" ' . checked(1, isset($main_opts['general_hide_donwload_count']), false) . ' /> ';
934
  return $buttons;
935
  }
936
 
937
+ }
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.tipsandtricks-hq.com
4
  Tags: download, downloads, count, counter, tracker, tracking, hits, logging, monitor, manager, files, media, digital, download monitor, download manager, downloadmanager, file manager, protect downloads, password, download category, file tree, ajax, download template, grid, documents, ip address
5
  Requires at least: 4.1.0
6
  Tested up to: 4.9
7
- Stable tag: 3.5.9
8
  License: GPLv2 or later
9
 
10
  Easily manage downloadable files and monitor downloads of your digital files from your WordPress site.
@@ -68,6 +68,7 @@ https://www.youtube.com/watch?v=utYIH0fILuQ
68
  * Option to specify version number info for the download item so it can be shown to your visitors.
69
  * Option to restrict downloads to logged-in users only.
70
  * Option to ignore download count from bots.
 
71
 
72
  View more details on the [download monitor plugin](https://www.tipsandtricks-hq.com/simple-wordpress-download-monitor-plugin) page.
73
 
@@ -179,6 +180,14 @@ For screenshots please visit the [download monitor plugin page](https://www.tips
179
 
180
  == Changelog ==
181
 
 
 
 
 
 
 
 
 
182
  = 3.5.9 =
183
  - Added a new option in the settings that allows you to disable capturing of visitor's IP address in the download logs menu. Helpful for GDPR
184
 
4
  Tags: download, downloads, count, counter, tracker, tracking, hits, logging, monitor, manager, files, media, digital, download monitor, download manager, downloadmanager, file manager, protect downloads, password, download category, file tree, ajax, download template, grid, documents, ip address
5
  Requires at least: 4.1.0
6
  Tested up to: 4.9
7
+ Stable tag: 3.6.1
8
  License: GPLv2 or later
9
 
10
  Easily manage downloadable files and monitor downloads of your digital files from your WordPress site.
68
  * Option to specify version number info for the download item so it can be shown to your visitors.
69
  * Option to restrict downloads to logged-in users only.
70
  * Option to ignore download count from bots.
71
+ * Option to add Google reCAPTCHA to your download buttons.
72
 
73
  View more details on the [download monitor plugin](https://www.tipsandtricks-hq.com/simple-wordpress-download-monitor-plugin) page.
74
 
180
 
181
  == Changelog ==
182
 
183
+ = 3.6.1 =
184
+ - Tweaked a newly added function's parameter to make it compatible with an older PHP version.
185
+
186
+ = 3.6.0 =
187
+ - Added a new feature to allow addition of Google reCAPTCHA to your download buttons.
188
+ - This new option can be found in the Advanced Settings tab of the plugin.
189
+ - French translation updated. Thanks to @momo-fr.
190
+
191
  = 3.5.9 =
192
  - Added a new option in the settings that allows you to disable capturing of visitor's IP address in the download logs menu. Helpful for GDPR
193
 
sdm-post-type-content-handler.php CHANGED
@@ -47,6 +47,13 @@ function filter_sdm_post_type_content($content) {
47
  $download_url = $homepage . '/?smd_process_download=1&download_id=' . $id;
48
  $download_button_code = '<a href="' . $download_url . '" class="sdm_download ' . $def_color . '" title="' . $isset_item_title . '">' . $button_text_string . '</a>';
49
 
 
 
 
 
 
 
 
50
  if ($cpt_is_password !== 'no') {//This is a password protected download so replace the download now button with password requirement
51
  $download_button_code = sdm_get_password_entry_form($id,array(),'sdm_download ' . $def_color);
52
  }
47
  $download_url = $homepage . '/?smd_process_download=1&download_id=' . $id;
48
  $download_button_code = '<a href="' . $download_url . '" class="sdm_download ' . $def_color . '" title="' . $isset_item_title . '">' . $button_text_string . '</a>';
49
 
50
+ //Check if reCAPTCHA enabled
51
+ $main_advanced_opts = get_option('sdm_advanced_options');
52
+ $recaptcha_enable = isset($main_advanced_opts['recaptcha_enable']) ? true : false;
53
+ if ($recaptcha_enable && $cpt_is_password == 'no') {
54
+ $download_button_code = sdm_get_download_form_with_recaptcha($id,array(),'sdm_download ' . $def_color);
55
+ }
56
+
57
  if ($cpt_is_password !== 'no') {//This is a password protected download so replace the download now button with password requirement
58
  $download_button_code = sdm_get_password_entry_form($id,array(),'sdm_download ' . $def_color);
59
  }
sdm-shortcodes.php CHANGED
@@ -94,11 +94,18 @@ function sdm_create_download_shortcode( $atts ) {
94
  $download_url = $homepage . '/?smd_process_download=1&download_id=' . $id;
95
  $download_button_code = '<a href="' . $download_url . '" class="sdm_download ' . $color . '" title="' . $item_title . '" target="' . $window_target . '">' . $button_text . '</a>';
96
 
 
 
 
 
 
 
 
97
  if ( $cpt_is_password !== 'no' ) {//This is a password protected download so replace the download now button with password requirement
98
  $download_button_code = sdm_get_password_entry_form( $id, $shortcode_atts, 'sdm_download ' . $color );
99
  }
100
  //End of download now button code generation
101
-
102
  $output = '';
103
  switch ( $fancy ) {
104
  case '1':
@@ -264,6 +271,13 @@ function sdm_handle_category_shortcode( $args ) {
264
  // Setup download button code
265
  $download_button_code = '<a href="' . $download_url . '" class="sdm_download ' . $def_color . '" title="' . $item_title . '" target="' . $window_target . '">' . $button_text . '</a>';
266
 
 
 
 
 
 
 
 
267
  // Generate download buttons
268
  $output .= '<div class="sdm_download_link">' . $download_button_code . '</div><br />';
269
  } // End foreach
94
  $download_url = $homepage . '/?smd_process_download=1&download_id=' . $id;
95
  $download_button_code = '<a href="' . $download_url . '" class="sdm_download ' . $color . '" title="' . $item_title . '" target="' . $window_target . '">' . $button_text . '</a>';
96
 
97
+ //Check if reCAPTCHA enabled
98
+ $main_advanced_opts = get_option('sdm_advanced_options');
99
+ $recaptcha_enable = isset($main_advanced_opts['recaptcha_enable']) ? true : false;
100
+ if ($recaptcha_enable && $cpt_is_password == 'no') {
101
+ $download_button_code = sdm_get_download_form_with_recaptcha($id, $shortcode_atts, 'sdm_download ' . $color);
102
+ }
103
+
104
  if ( $cpt_is_password !== 'no' ) {//This is a password protected download so replace the download now button with password requirement
105
  $download_button_code = sdm_get_password_entry_form( $id, $shortcode_atts, 'sdm_download ' . $color );
106
  }
107
  //End of download now button code generation
108
+
109
  $output = '';
110
  switch ( $fancy ) {
111
  case '1':
271
  // Setup download button code
272
  $download_button_code = '<a href="' . $download_url . '" class="sdm_download ' . $def_color . '" title="' . $item_title . '" target="' . $window_target . '">' . $button_text . '</a>';
273
 
274
+ //Check if reCAPTCHA enabled
275
+ $main_advanced_opts = get_option('sdm_advanced_options');
276
+ $recaptcha_enable = isset($main_advanced_opts['recaptcha_enable']) ? true : false;
277
+ if ($recaptcha_enable) {
278
+ $download_button_code = sdm_get_download_form_with_recaptcha($id, $args, 'sdm_download ' . $def_color);
279
+ }
280
+
281
  // Generate download buttons
282
  $output .= '<div class="sdm_download_link">' . $download_button_code . '</div><br />';
283
  } // End foreach