Version Description
- Switched the column location of "Title" and "Image" in the downloads admin interface. This helps with the downloads admin interface working better in all devices.
- Fixed a CSS class name in the "Image" column.
- French langauge file updated.
Download this release
Release Info
| Developer | mra13 |
| Plugin | |
| Version | 3.6.4 |
| Comparing to | |
| See all releases | |
Code changes from version 3.6.3 to 3.6.4
- includes/sdm-admin-menu-handler.php +357 -285
- languages/simple-download-monitor-fr_FR.mo +0 -0
- languages/simple-download-monitor-fr_FR.po +322 -152
- main.php +5 -18
- readme.txt +6 -1
includes/sdm-admin-menu-handler.php
CHANGED
|
@@ -6,14 +6,13 @@
|
|
| 6 |
function sdm_handle_admin_menu() {
|
| 7 |
|
| 8 |
//***** Create the 'logs' and 'settings' submenu pages
|
| 9 |
-
$sdm_logs_page
|
| 10 |
-
$sdm_logs_page
|
| 11 |
-
$sdm_settings_page
|
| 12 |
-
$sdm_addons_page
|
| 13 |
}
|
| 14 |
|
| 15 |
-
add_filter('whitelist_options', 'sdm_admin_menu_function_hook');
|
| 16 |
-
|
| 17 |
|
| 18 |
/**
|
| 19 |
* sdm_admin_menu_function_hook
|
|
@@ -21,10 +20,9 @@ add_filter('whitelist_options', 'sdm_admin_menu_function_hook');
|
|
| 21 |
* @param array $whitelist_options
|
| 22 |
* @return string
|
| 23 |
*/
|
| 24 |
-
function sdm_admin_menu_function_hook($whitelist_options = array())
|
| 25 |
-
|
| 26 |
-
$whitelist_options['
|
| 27 |
-
$whitelist_options['termscond_options_section'] = array('sdm_advanced_options');
|
| 28 |
return $whitelist_options;
|
| 29 |
}
|
| 30 |
|
|
@@ -33,61 +31,137 @@ function sdm_admin_menu_function_hook($whitelist_options = array())
|
|
| 33 |
*/
|
| 34 |
|
| 35 |
function sdm_create_settings_page() {
|
| 36 |
-
|
| 37 |
echo '<div class="wrap">';
|
| 38 |
//echo '<div id="poststuff"><div id="post-body">';
|
| 39 |
?>
|
| 40 |
-
<
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
<?php
|
| 51 |
-
$wpsdm_plugin_tabs = array(
|
| 52 |
-
'sdm-settings' => __('General Settings', 'simple-download-monitor'),
|
| 53 |
-
'sdm-settings&action=advanced-settings' => __('Advanced Settings', 'simple-download-monitor'),
|
| 54 |
-
);
|
| 55 |
-
$current = "";
|
| 56 |
-
if (isset($_GET['page'])) {
|
| 57 |
-
$current = sanitize_text_field($_GET['page']);
|
| 58 |
-
if (isset($_GET['action'])) {
|
| 59 |
-
$current .= "&action=" . sanitize_text_field($_GET['action']);
|
| 60 |
-
}
|
| 61 |
}
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
foreach ($wpsdm_plugin_tabs as $location => $tabname) {
|
| 65 |
-
if ($current == $location) {
|
| 66 |
-
$class = ' nav-tab-active';
|
| 67 |
-
} else {
|
| 68 |
-
$class = '';
|
| 69 |
-
}
|
| 70 |
-
$content .= '<a class="nav-tab' . $class . '" href="?post_type=sdm_downloads&page=' . $location . '">' . $tabname . '</a>';
|
| 71 |
}
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
if (isset($_GET['action'])) {
|
| 76 |
-
switch ($_GET['action']) {
|
| 77 |
-
case 'advanced-settings':
|
| 78 |
-
sdm_admin_menu_advanced_settings();
|
| 79 |
-
break;
|
| 80 |
-
}
|
| 81 |
-
} else {
|
| 82 |
-
sdm_admin_menu_general_settings();
|
| 83 |
}
|
| 84 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 85 |
|
| 86 |
-
|
| 87 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 88 |
|
| 89 |
<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;">
|
| 90 |
-
<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>
|
| 91 |
</p>
|
| 92 |
</div>
|
| 93 |
|
|
@@ -95,108 +169,106 @@ function sdm_create_settings_page() {
|
|
| 95 |
echo '</div>'; //end of wrap
|
| 96 |
}
|
| 97 |
|
| 98 |
-
function sdm_admin_menu_general_settings()
|
| 99 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 100 |
?>
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
|
| 114 |
-
|
| 115 |
-
|
| 116 |
-
|
| 117 |
-
|
| 118 |
-
|
| 119 |
-
|
| 120 |
-
|
| 121 |
-
|
| 122 |
-
|
| 123 |
-
|
| 124 |
-
|
| 125 |
-
|
| 126 |
-
|
| 127 |
-
|
| 128 |
-
|
| 129 |
-
|
| 130 |
-
|
| 131 |
-
|
| 132 |
-
|
| 133 |
-
|
| 134 |
-
|
| 135 |
-
|
| 136 |
-
|
| 137 |
-
|
| 138 |
-
|
| 139 |
-
|
| 140 |
-
|
| 141 |
-
|
| 142 |
-
|
| 143 |
-
|
| 144 |
-
|
| 145 |
-
|
| 146 |
-
|
| 147 |
-
|
| 148 |
-
|
| 149 |
-
|
| 150 |
-
|
| 151 |
-
|
| 152 |
-
|
| 153 |
-
|
| 154 |
-
|
| 155 |
-
|
| 156 |
-
|
| 157 |
-
|
| 158 |
-
|
| 159 |
-
|
| 160 |
-
|
| 161 |
-
|
| 162 |
-
|
| 163 |
-
|
| 164 |
-
|
| 165 |
-
|
| 166 |
-
|
| 167 |
-
|
| 168 |
-
|
| 169 |
-
|
| 170 |
-
|
| 171 |
-
|
| 172 |
-
|
| 173 |
-
|
| 174 |
-
|
| 175 |
-
function (result) {
|
| 176 |
-
if (result === '1') {
|
| 177 |
-
alert('Log has been reset.');
|
| 178 |
-
}
|
| 179 |
-
});
|
| 180 |
-
});
|
| 181 |
-
</script>
|
| 182 |
-
<?php
|
| 183 |
}
|
| 184 |
|
| 185 |
-
function sdm_admin_menu_advanced_settings()
|
| 186 |
-
{
|
| 187 |
//At the moment we only have the captcha options in the advanced settings. More options will be added here in the future.
|
| 188 |
?>
|
| 189 |
<!-- BEGIN RECAPTCHA OPTIONS DIV -->
|
| 190 |
<?php
|
| 191 |
// This prints out all hidden setting fields
|
| 192 |
-
do_settings_sections('recaptcha_options_section');
|
| 193 |
-
settings_fields('recaptcha_options_section');
|
| 194 |
|
| 195 |
submit_button();
|
| 196 |
-
|
| 197 |
-
do_settings_sections('termscond_options_section');
|
| 198 |
-
settings_fields('termscond_options_section');
|
| 199 |
-
|
| 200 |
submit_button();
|
| 201 |
?>
|
| 202 |
<!-- END RECAPTCHA OPTIONS DIV -->
|
|
@@ -210,23 +282,23 @@ function sdm_admin_menu_advanced_settings()
|
|
| 210 |
function sdm_create_logs_page() {
|
| 211 |
global $wpdb;
|
| 212 |
|
| 213 |
-
if (isset($_POST['sdm_export_log_entries'])) {
|
| 214 |
//Export log entries
|
| 215 |
-
|
| 216 |
-
|
| 217 |
-
|
| 218 |
-
|
| 219 |
-
|
| 220 |
}
|
| 221 |
|
| 222 |
-
if (isset($_POST['sdm_reset_log_entries'])) {
|
| 223 |
//Reset log entries
|
| 224 |
-
|
| 225 |
-
|
| 226 |
-
|
| 227 |
-
|
| 228 |
-
|
| 229 |
-
|
| 230 |
}
|
| 231 |
|
| 232 |
/* Display the logs table */
|
|
@@ -237,51 +309,51 @@ function sdm_create_logs_page() {
|
|
| 237 |
?>
|
| 238 |
<div class="wrap">
|
| 239 |
|
| 240 |
-
<h2><?php _e('Download Logs', 'simple-download-monitor'); ?></h2>
|
| 241 |
|
| 242 |
<div style="background:#ECECEC;border:1px solid #CCC;padding:0 10px;margin-top:5px;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;">
|
| 243 |
-
|
| 244 |
</div>
|
| 245 |
|
| 246 |
<div id="poststuff"><div id="post-body">
|
| 247 |
|
| 248 |
-
|
| 249 |
-
|
| 250 |
-
|
| 251 |
-
|
| 252 |
-
|
| 253 |
-
|
| 254 |
-
|
| 255 |
-
|
| 256 |
-
|
| 257 |
-
|
| 258 |
-
|
| 259 |
-
|
| 260 |
-
|
| 261 |
-
|
| 262 |
-
|
| 263 |
-
|
| 264 |
-
|
| 265 |
-
|
| 266 |
-
|
| 267 |
-
|
| 268 |
-
|
| 269 |
-
|
| 270 |
-
|
| 271 |
|
| 272 |
<!-- Forms are NOT created automatically, so you need to wrap the table in one to use features like bulk actions -->
|
| 273 |
<form id="sdm_downloads-filter" method="post">
|
| 274 |
-
|
| 275 |
-
|
| 276 |
-
|
| 277 |
</form>
|
| 278 |
|
| 279 |
</div><!-- end of wrap -->
|
| 280 |
<script type="text/javascript">
|
| 281 |
jQuery(document).ready(function ($) {
|
| 282 |
-
|
| 283 |
-
|
| 284 |
-
|
| 285 |
});
|
| 286 |
</script>
|
| 287 |
<?php
|
|
@@ -289,75 +361,75 @@ function sdm_create_logs_page() {
|
|
| 289 |
|
| 290 |
function sdm_create_stats_page() {
|
| 291 |
|
| 292 |
-
$main_opts = get_option('sdm_downloads_options');
|
| 293 |
|
| 294 |
-
if (isset($main_opts['admin_no_logs'])) {
|
| 295 |
-
|
| 296 |
-
|
| 297 |
-
|
| 298 |
}
|
| 299 |
-
wp_enqueue_script('sdm_google_charts');
|
| 300 |
-
wp_enqueue_script('jquery-ui-datepicker');
|
| 301 |
-
wp_enqueue_style('sdm_jquery_ui_style');
|
| 302 |
|
| 303 |
-
if (isset($_POST['sdm_stats_start_date'])) {
|
| 304 |
-
|
| 305 |
} else {
|
| 306 |
// default start date is 30 days back
|
| 307 |
-
|
| 308 |
}
|
| 309 |
|
| 310 |
-
if (isset($_POST['sdm_stats_end_date'])) {
|
| 311 |
-
|
| 312 |
} else {
|
| 313 |
-
|
| 314 |
}
|
| 315 |
-
if (isset($_REQUEST['sdm_active_tab']) && !empty($_REQUEST['sdm_active_tab'])) {
|
| 316 |
-
|
| 317 |
} else {
|
| 318 |
-
|
| 319 |
}
|
| 320 |
-
$downloads_by_date = sdm_get_downloads_by_date($start_date, $end_date);
|
| 321 |
|
| 322 |
-
$downloads_by_country = sdm_get_downloads_by_country($start_date, $end_date);
|
| 323 |
?>
|
| 324 |
<div class="wrap">
|
| 325 |
-
<h2><?php _e('Stats', 'simple-download-monitor'); ?></h2>
|
| 326 |
<div id="poststuff"><div id="post-body">
|
| 327 |
|
| 328 |
-
|
| 329 |
-
|
| 330 |
-
|
| 331 |
-
|
| 332 |
-
|
| 333 |
-
|
| 334 |
-
|
| 335 |
-
|
| 336 |
-
|
| 337 |
-
|
| 338 |
-
|
| 339 |
-
|
| 340 |
-
|
| 341 |
-
|
| 342 |
-
|
| 343 |
-
|
| 344 |
-
|
| 345 |
-
|
| 346 |
-
|
| 347 |
-
|
| 348 |
-
|
| 349 |
-
|
| 350 |
-
|
| 351 |
-
|
| 352 |
-
|
| 353 |
-
|
| 354 |
-
|
| 355 |
-
|
| 356 |
-
|
| 357 |
-
|
| 358 |
-
|
| 359 |
-
|
| 360 |
-
|
| 361 |
</div>
|
| 362 |
<script>
|
| 363 |
var sdm = [];
|
|
@@ -365,59 +437,59 @@ function sdm_create_stats_page() {
|
|
| 365 |
sdm.geochart = false;
|
| 366 |
sdm.activeTab = '<?php echo $active_tab; ?>';
|
| 367 |
jQuery('#sdm_date_buttons button').click(function (e) {
|
| 368 |
-
|
| 369 |
-
|
| 370 |
});
|
| 371 |
function sdm_init_chart(tab) {
|
| 372 |
-
|
| 373 |
-
|
| 374 |
-
|
| 375 |
-
|
| 376 |
-
|
| 377 |
-
|
| 378 |
-
|
| 379 |
-
|
| 380 |
-
|
| 381 |
}
|
| 382 |
function sdm_drawDateChart() {
|
| 383 |
-
|
| 384 |
-
|
| 385 |
-
|
| 386 |
-
|
| 387 |
-
|
| 388 |
-
|
| 389 |
-
|
| 390 |
-
|
| 391 |
-
|
| 392 |
-
|
| 393 |
-
|
| 394 |
}
|
| 395 |
function sdm_drawGeoChart() {
|
| 396 |
|
| 397 |
-
|
| 398 |
|
| 399 |
-
|
| 400 |
|
| 401 |
-
|
| 402 |
|
| 403 |
-
|
| 404 |
|
| 405 |
}
|
| 406 |
jQuery(function () {
|
| 407 |
-
|
| 408 |
-
|
| 409 |
-
|
| 410 |
-
|
| 411 |
-
|
| 412 |
-
|
| 413 |
-
|
| 414 |
-
|
| 415 |
-
|
| 416 |
-
|
| 417 |
-
|
| 418 |
-
|
| 419 |
-
|
| 420 |
-
|
| 421 |
});
|
| 422 |
</script>
|
| 423 |
<?php
|
| 6 |
function sdm_handle_admin_menu() {
|
| 7 |
|
| 8 |
//***** Create the 'logs' and 'settings' submenu pages
|
| 9 |
+
$sdm_logs_page = add_submenu_page( 'edit.php?post_type=sdm_downloads', __( 'Logs', 'simple-download-monitor' ), __( 'Logs', 'simple-download-monitor' ), 'manage_options', 'logs', 'sdm_create_logs_page' );
|
| 10 |
+
$sdm_logs_page = add_submenu_page( 'edit.php?post_type=sdm_downloads', __( 'Stats', 'simple-download-monitor' ), __( 'Stats', 'simple-download-monitor' ), 'manage_options', 'sdm-stats', 'sdm_create_stats_page' );
|
| 11 |
+
$sdm_settings_page = add_submenu_page( 'edit.php?post_type=sdm_downloads', __( 'Settings', 'simple-download-monitor' ), __( 'Settings', 'simple-download-monitor' ), 'manage_options', 'sdm-settings', 'sdm_create_settings_page' );
|
| 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
|
| 20 |
* @param array $whitelist_options
|
| 21 |
* @return string
|
| 22 |
*/
|
| 23 |
+
function sdm_admin_menu_function_hook( $whitelist_options = array() ) {
|
| 24 |
+
$whitelist_options[ 'recaptcha_options_section' ] = array( 'sdm_advanced_options' );
|
| 25 |
+
$whitelist_options[ 'termscond_options_section' ] = array( 'sdm_advanced_options' );
|
|
|
|
| 26 |
return $whitelist_options;
|
| 27 |
}
|
| 28 |
|
| 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 |
+
<style>
|
| 39 |
+
div.sdm-settings-grid {
|
| 40 |
+
display: inline-block;
|
| 41 |
+
}
|
| 42 |
+
div.sdm-main-cont {
|
| 43 |
+
width: 80%;
|
| 44 |
+
}
|
| 45 |
+
div.sdm-sidebar-cont {
|
| 46 |
+
width: 19%;
|
| 47 |
+
float: right;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
}
|
| 49 |
+
div#poststuff {
|
| 50 |
+
min-width: 19%;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 51 |
}
|
| 52 |
+
.sdm-stars-container {
|
| 53 |
+
text-align: center;
|
| 54 |
+
margin-top: 10px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 55 |
}
|
| 56 |
+
.sdm-stars-container span {
|
| 57 |
+
vertical-align: text-top;
|
| 58 |
+
color: #ffb900;
|
| 59 |
+
}
|
| 60 |
+
.sdm-stars-container a {
|
| 61 |
+
text-decoration: none;
|
| 62 |
+
}
|
| 63 |
+
@media (max-width: 782px) {
|
| 64 |
+
div.sdm-settings-grid {
|
| 65 |
+
display: block;
|
| 66 |
+
float: none;
|
| 67 |
+
width: 100%;
|
| 68 |
+
}
|
| 69 |
+
}
|
| 70 |
+
</style>
|
| 71 |
+
<h1><?php _e( 'Simple Download Monitor Settings Page', 'simple-download-monitor' ) ?></h1>
|
| 72 |
|
| 73 |
+
<?php
|
| 74 |
+
ob_start();
|
| 75 |
+
$wpsdm_plugin_tabs = array(
|
| 76 |
+
'sdm-settings' => __( 'General Settings', 'simple-download-monitor' ),
|
| 77 |
+
'sdm-settings&action=advanced-settings' => __( 'Advanced Settings', 'simple-download-monitor' ),
|
| 78 |
+
);
|
| 79 |
+
$current = "";
|
| 80 |
+
if ( isset( $_GET[ 'page' ] ) ) {
|
| 81 |
+
$current = sanitize_text_field( $_GET[ 'page' ] );
|
| 82 |
+
if ( isset( $_GET[ 'action' ] ) ) {
|
| 83 |
+
$current .= "&action=" . sanitize_text_field( $_GET[ 'action' ] );
|
| 84 |
+
}
|
| 85 |
+
}
|
| 86 |
+
$nav_tabs = '';
|
| 87 |
+
$nav_tabs .= '<h2 class="nav-tab-wrapper">';
|
| 88 |
+
foreach ( $wpsdm_plugin_tabs as $location => $tabname ) {
|
| 89 |
+
if ( $current == $location ) {
|
| 90 |
+
$class = ' nav-tab-active';
|
| 91 |
+
} else {
|
| 92 |
+
$class = '';
|
| 93 |
+
}
|
| 94 |
+
$nav_tabs .= '<a class="nav-tab' . $class . '" href="?post_type=sdm_downloads&page=' . $location . '">' . $tabname . '</a>';
|
| 95 |
+
}
|
| 96 |
+
$nav_tabs .= '</h2>';
|
| 97 |
+
|
| 98 |
+
if ( isset( $_GET[ 'action' ] ) ) {
|
| 99 |
+
switch ( $_GET[ 'action' ] ) {
|
| 100 |
+
case 'advanced-settings':
|
| 101 |
+
sdm_admin_menu_advanced_settings();
|
| 102 |
+
break;
|
| 103 |
+
}
|
| 104 |
+
} else {
|
| 105 |
+
sdm_admin_menu_general_settings();
|
| 106 |
+
}
|
| 107 |
+
$settings_cont = ob_get_clean();
|
| 108 |
+
echo $nav_tabs;
|
| 109 |
+
?>
|
| 110 |
+
<div class="sdm-settings-cont">
|
| 111 |
+
<div class="sdm-settings-grid sdm-main-cont">
|
| 112 |
+
<!-- settings page form -->
|
| 113 |
+
<form method="post" action="options.php">
|
| 114 |
+
<?php echo $settings_cont; ?>
|
| 115 |
+
<!-- End of settings page form -->
|
| 116 |
+
</form>
|
| 117 |
+
</div>
|
| 118 |
+
<div id="poststuff" class="sdm-settings-grid sdm-sidebar-cont">
|
| 119 |
+
<div class="postbox" style="min-width: inherit;">
|
| 120 |
+
<h3 class="hndle"><label for="title"><?php _e( 'Plugin Documentation', 'simple-download-monitor' ); ?></label></h3>
|
| 121 |
+
<div class="inside">
|
| 122 |
+
<?php echo sprintf( __( 'Please read the <a target="_blank" href="%s">Simple Download Monitor</a> plugin setup instructions and tutorials to learn how to configure and use it.', 'simple-download-monitor' ), 'https://simple-download-monitor.com/download-monitor-tutorials/' ); ?>
|
| 123 |
+
</div>
|
| 124 |
+
</div>
|
| 125 |
+
<div class="postbox" style="min-width: inherit;">
|
| 126 |
+
<h3 class="hndle"><label for="title"><?php _e( 'Add-ons', 'simple-download-monitor' ); ?></label></h3>
|
| 127 |
+
<div class="inside">
|
| 128 |
+
<?php echo sprintf( __( 'Want additional functionality? Check out our <a target="_blank" href="%s">Add-Ons!</a>', 'simple-download-monitor' ), 'edit.php?post_type=sdm_downloads&page=sdm-addons' ); ?>
|
| 129 |
+
</div>
|
| 130 |
+
</div>
|
| 131 |
+
<div class="postbox" style="min-width: inherit;">
|
| 132 |
+
<h3 class="hndle"><label for="title"><?php _e( 'Rate Us', 'simple-download-monitor' ); ?></label></h3>
|
| 133 |
+
<div class="inside">
|
| 134 |
+
<?php echo sprintf( __( 'Like the plugin? Please give us a <a href="%s" target="_blank">rating!</a>', 'simple-download-monitor' ), 'https://wordpress.org/support/plugin/simple-download-monitor/reviews/?filter=5' ); ?>
|
| 135 |
+
<div class="sdm-stars-container">
|
| 136 |
+
<a href="https://wordpress.org/support/plugin/simple-download-monitor/reviews/?filter=5" target="_blank">
|
| 137 |
+
<span class="dashicons dashicons-star-filled"></span>
|
| 138 |
+
<span class="dashicons dashicons-star-filled"></span>
|
| 139 |
+
<span class="dashicons dashicons-star-filled"></span>
|
| 140 |
+
<span class="dashicons dashicons-star-filled"></span>
|
| 141 |
+
<span class="dashicons dashicons-star-filled"></span>
|
| 142 |
+
</a>
|
| 143 |
+
</div>
|
| 144 |
+
</div>
|
| 145 |
+
</div>
|
| 146 |
+
<div class="postbox" style="min-width: inherit;">
|
| 147 |
+
<h3 class="hndle"><label for="title"><?php _e( 'Our Other Plugins', 'simple-download-monitor' ); ?></label></h3>
|
| 148 |
+
<div class="inside">
|
| 149 |
+
<?php echo sprintf( __( 'Check out <a target="_blank" href="%s">our other plugins</a>', 'simple-download-monitor' ), 'https://www.tipsandtricks-hq.com/development-center' ); ?>
|
| 150 |
+
</div>
|
| 151 |
+
</div>
|
| 152 |
+
<div class="postbox" style="min-width: inherit;">
|
| 153 |
+
<h3 class="hndle"><label for="title"><?php _e( 'Social', 'simple-download-monitor' ); ?></label></h3>
|
| 154 |
+
<div class="inside">
|
| 155 |
+
<?php echo sprintf( __( '<a target="_blank" href="%s">Facebook</a>', 'simple-download-monitor' ), 'https://www.facebook.com/Tips-and-Tricks-HQ-681802408532789/' ); ?> |
|
| 156 |
+
<?php echo sprintf( __( '<a target="_blank" href="%s">Google Plus</a>', 'simple-download-monitor' ), 'https://plus.google.com/+Tipsandtricks-hq/' ); ?> |
|
| 157 |
+
<?php echo sprintf( __( '<a target="_blank" href="%s">Twitter</a>', 'simple-download-monitor' ), 'https://twitter.com/TipsAndTricksHQ' ); ?>
|
| 158 |
+
</div>
|
| 159 |
+
</div>
|
| 160 |
+
</div>
|
| 161 |
+
</div>
|
| 162 |
|
| 163 |
<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;">
|
| 164 |
+
<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>
|
| 165 |
</p>
|
| 166 |
</div>
|
| 167 |
|
| 169 |
echo '</div>'; //end of wrap
|
| 170 |
}
|
| 171 |
|
| 172 |
+
function sdm_admin_menu_general_settings() {
|
| 173 |
+
?>
|
| 174 |
+
<!-- BEGIN GENERAL OPTIONS DIV -->
|
| 175 |
+
<?php
|
| 176 |
+
// This prints out all hidden setting fields
|
| 177 |
+
do_settings_sections( 'general_options_section' );
|
| 178 |
+
settings_fields( 'sdm_downloads_options' );
|
| 179 |
+
|
| 180 |
+
submit_button();
|
| 181 |
?>
|
| 182 |
+
<!-- END GENERAL OPTIONS DIV -->
|
| 183 |
+
|
| 184 |
+
|
| 185 |
+
<!-- BEGIN ADMIN OPTIONS DIV -->
|
| 186 |
+
<?php
|
| 187 |
+
// This prints out all hidden setting fields
|
| 188 |
+
do_settings_sections( 'admin_options_section' );
|
| 189 |
+
settings_fields( 'sdm_downloads_options' );
|
| 190 |
+
|
| 191 |
+
submit_button();
|
| 192 |
+
?>
|
| 193 |
+
<!-- END ADMIN OPTIONS DIV -->
|
| 194 |
+
|
| 195 |
+
<!-- BEGIN COLORS DIV -->
|
| 196 |
+
<?php
|
| 197 |
+
// This prints out all hidden setting fields
|
| 198 |
+
do_settings_sections( 'sdm_colors_section' );
|
| 199 |
+
settings_fields( 'sdm_downloads_options' );
|
| 200 |
+
|
| 201 |
+
submit_button();
|
| 202 |
+
?>
|
| 203 |
+
<!-- END COLORS OPTIONS DIV -->
|
| 204 |
+
|
| 205 |
+
<!-- BEGIN DEBUG OPTIONS DIV -->
|
| 206 |
+
<?php
|
| 207 |
+
// This prints out all hidden setting fields
|
| 208 |
+
do_settings_sections( 'sdm_debug_section' );
|
| 209 |
+
settings_fields( 'sdm_downloads_options' );
|
| 210 |
+
|
| 211 |
+
submit_button();
|
| 212 |
+
?>
|
| 213 |
+
<!-- END DEBUG OPTIONS DIV -->
|
| 214 |
+
<!-- BEGIN DELDATA OPTIONS DIV -->
|
| 215 |
+
<?php
|
| 216 |
+
// This prints out all hidden setting fields
|
| 217 |
+
do_settings_sections( 'sdm_deldata_section' );
|
| 218 |
+
settings_fields( 'sdm_downloads_options' );
|
| 219 |
+
|
| 220 |
+
$deldataNonce = wp_create_nonce( 'sdm_delete_data' );
|
| 221 |
+
?>
|
| 222 |
+
<!-- END DELDATA OPTIONS DIV -->
|
| 223 |
+
|
| 224 |
+
<script>
|
| 225 |
+
jQuery('button#sdmDeleteData').click(function (e) {
|
| 226 |
+
e.preventDefault();
|
| 227 |
+
jQuery(this).attr('disabled', 'disabled');
|
| 228 |
+
if (confirm("<?php echo __( "Are you sure want to delete all plugin's data and deactivate plugin?", 'simple-download-monitor' ); ?>")) {
|
| 229 |
+
jQuery.post(ajaxurl,
|
| 230 |
+
{'action': 'sdm_delete_data', 'nonce': '<?php echo $deldataNonce; ?>'},
|
| 231 |
+
function (result) {
|
| 232 |
+
if (result === '1') {
|
| 233 |
+
alert('<?php echo __( 'Data has been deleted and plugin deactivated. Click OK to go to Plugins page.', 'simple-download-monitor' ); ?>');
|
| 234 |
+
jQuery(location).attr('href', '<?php echo get_admin_url() . 'plugins.php'; ?>');
|
| 235 |
+
return true;
|
| 236 |
+
} else {
|
| 237 |
+
alert('<?php echo __( 'Error occured.', 'simple-download-monitor' ); ?>');
|
| 238 |
+
}
|
| 239 |
+
});
|
| 240 |
+
} else {
|
| 241 |
+
jQuery(this).removeAttr('disabled');
|
| 242 |
+
}
|
| 243 |
+
});
|
| 244 |
+
jQuery('a#sdm-reset-log').click(function (e) {
|
| 245 |
+
e.preventDefault();
|
| 246 |
+
jQuery.post(ajaxurl,
|
| 247 |
+
{'action': 'sdm_reset_log'},
|
| 248 |
+
function (result) {
|
| 249 |
+
if (result === '1') {
|
| 250 |
+
alert('Log has been reset.');
|
| 251 |
+
}
|
| 252 |
+
});
|
| 253 |
+
});
|
| 254 |
+
</script>
|
| 255 |
+
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 256 |
}
|
| 257 |
|
| 258 |
+
function sdm_admin_menu_advanced_settings() {
|
|
|
|
| 259 |
//At the moment we only have the captcha options in the advanced settings. More options will be added here in the future.
|
| 260 |
?>
|
| 261 |
<!-- BEGIN RECAPTCHA OPTIONS DIV -->
|
| 262 |
<?php
|
| 263 |
// This prints out all hidden setting fields
|
| 264 |
+
do_settings_sections( 'recaptcha_options_section' );
|
| 265 |
+
settings_fields( 'recaptcha_options_section' );
|
| 266 |
|
| 267 |
submit_button();
|
| 268 |
+
|
| 269 |
+
do_settings_sections( 'termscond_options_section' );
|
| 270 |
+
settings_fields( 'termscond_options_section' );
|
| 271 |
+
|
| 272 |
submit_button();
|
| 273 |
?>
|
| 274 |
<!-- END RECAPTCHA OPTIONS DIV -->
|
| 282 |
function sdm_create_logs_page() {
|
| 283 |
global $wpdb;
|
| 284 |
|
| 285 |
+
if ( isset( $_POST[ 'sdm_export_log_entries' ] ) ) {
|
| 286 |
//Export log entries
|
| 287 |
+
$log_file_url = sdm_export_download_logs_to_csv();
|
| 288 |
+
echo '<div id="message" class="updated"><p>';
|
| 289 |
+
_e( 'Log entries exported! Click on the following link to download the file.', 'simple-download-monitor' );
|
| 290 |
+
echo '<br /><br /><a href="' . $log_file_url . '">' . __( 'Download Logs CSV File', 'simple-download-monitor' ) . '</a>';
|
| 291 |
+
echo '</p></div>';
|
| 292 |
}
|
| 293 |
|
| 294 |
+
if ( isset( $_POST[ 'sdm_reset_log_entries' ] ) ) {
|
| 295 |
//Reset log entries
|
| 296 |
+
$table_name = $wpdb->prefix . 'sdm_downloads';
|
| 297 |
+
$query = "TRUNCATE $table_name";
|
| 298 |
+
$result = $wpdb->query( $query );
|
| 299 |
+
echo '<div id="message" class="updated fade"><p>';
|
| 300 |
+
_e( 'Download log entries deleted!', 'simple-download-monitor' );
|
| 301 |
+
echo '</p></div>';
|
| 302 |
}
|
| 303 |
|
| 304 |
/* Display the logs table */
|
| 309 |
?>
|
| 310 |
<div class="wrap">
|
| 311 |
|
| 312 |
+
<h2><?php _e( 'Download Logs', 'simple-download-monitor' ); ?></h2>
|
| 313 |
|
| 314 |
<div style="background:#ECECEC;border:1px solid #CCC;padding:0 10px;margin-top:5px;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;">
|
| 315 |
+
<p><?php _e( 'This page lists all tracked downloads.', 'simple-download-monitor' ); ?></p>
|
| 316 |
</div>
|
| 317 |
|
| 318 |
<div id="poststuff"><div id="post-body">
|
| 319 |
|
| 320 |
+
<!-- Log export button -->
|
| 321 |
+
<div class="postbox">
|
| 322 |
+
<h3 class="hndle"><label for="title"><?php _e( 'Export Download Log Entries', 'simple-download-monitor' ); ?></label></h3>
|
| 323 |
+
<div class="inside">
|
| 324 |
+
<form method="post" action="" onSubmit="return confirm('Are you sure you want to export all the log entries?');" >
|
| 325 |
+
<div class="submit">
|
| 326 |
+
<input type="submit" class="button" name="sdm_export_log_entries" value="<?php _e( 'Export Log Entries to CSV File', 'simple-download-monitor' ); ?>" />
|
| 327 |
+
</div>
|
| 328 |
+
</form>
|
| 329 |
+
</div></div>
|
| 330 |
+
|
| 331 |
+
<!-- Log reset button -->
|
| 332 |
+
<div class="postbox">
|
| 333 |
+
<h3 class="hndle"><label for="title"><?php _e( 'Reset Download Log Entries', 'simple-download-monitor' ); ?></label></h3>
|
| 334 |
+
<div class="inside">
|
| 335 |
+
<form method="post" action="" onSubmit="return confirm('Are you sure you want to reset all the log entries to a CSV file?');" >
|
| 336 |
+
<div class="submit">
|
| 337 |
+
<input type="submit" class="button" name="sdm_reset_log_entries" value="<?php _e( 'Reset Log Entries', 'simple-download-monitor' ); ?>" />
|
| 338 |
+
</div>
|
| 339 |
+
</form>
|
| 340 |
+
</div></div>
|
| 341 |
+
|
| 342 |
+
</div></div><!-- end of .poststuff and .post-body -->
|
| 343 |
|
| 344 |
<!-- Forms are NOT created automatically, so you need to wrap the table in one to use features like bulk actions -->
|
| 345 |
<form id="sdm_downloads-filter" method="post">
|
| 346 |
+
<input type="hidden" name="page" value="<?php echo esc_attr( $_REQUEST[ 'page' ] ) ?>" />
|
| 347 |
+
<!-- Now we can render the completed list table -->
|
| 348 |
+
<?php $sdmListTable->display() ?>
|
| 349 |
</form>
|
| 350 |
|
| 351 |
</div><!-- end of wrap -->
|
| 352 |
<script type="text/javascript">
|
| 353 |
jQuery(document).ready(function ($) {
|
| 354 |
+
$('.fade').click(function () {
|
| 355 |
+
$(this).fadeOut('slow');
|
| 356 |
+
});
|
| 357 |
});
|
| 358 |
</script>
|
| 359 |
<?php
|
| 361 |
|
| 362 |
function sdm_create_stats_page() {
|
| 363 |
|
| 364 |
+
$main_opts = get_option( 'sdm_downloads_options' );
|
| 365 |
|
| 366 |
+
if ( isset( $main_opts[ 'admin_no_logs' ] ) ) {
|
| 367 |
+
?>
|
| 368 |
+
<div class="notice notice-warning"><p><b>Download Logs are disabled in <a href="?post_type=sdm_downloads&page=settings">plugin settings</a>. Please enable Download Logs to see current stats.</b></p></div>
|
| 369 |
+
<?php
|
| 370 |
}
|
| 371 |
+
wp_enqueue_script( 'sdm_google_charts' );
|
| 372 |
+
wp_enqueue_script( 'jquery-ui-datepicker' );
|
| 373 |
+
wp_enqueue_style( 'sdm_jquery_ui_style' );
|
| 374 |
|
| 375 |
+
if ( isset( $_POST[ 'sdm_stats_start_date' ] ) ) {
|
| 376 |
+
$start_date = sanitize_text_field( $_POST[ 'sdm_stats_start_date' ] );
|
| 377 |
} else {
|
| 378 |
// default start date is 30 days back
|
| 379 |
+
$start_date = date( 'Y-m-d', time() - 60 * 60 * 24 * 30 );
|
| 380 |
}
|
| 381 |
|
| 382 |
+
if ( isset( $_POST[ 'sdm_stats_end_date' ] ) ) {
|
| 383 |
+
$end_date = sanitize_text_field( $_POST[ 'sdm_stats_end_date' ] );
|
| 384 |
} else {
|
| 385 |
+
$end_date = date( 'Y-m-d', time() );
|
| 386 |
}
|
| 387 |
+
if ( isset( $_REQUEST[ 'sdm_active_tab' ] ) && ! empty( $_REQUEST[ 'sdm_active_tab' ] ) ) {
|
| 388 |
+
$active_tab = sanitize_text_field( $_REQUEST[ 'sdm_active_tab' ] );
|
| 389 |
} else {
|
| 390 |
+
$active_tab = 'datechart';
|
| 391 |
}
|
| 392 |
+
$downloads_by_date = sdm_get_downloads_by_date( $start_date, $end_date );
|
| 393 |
|
| 394 |
+
$downloads_by_country = sdm_get_downloads_by_country( $start_date, $end_date );
|
| 395 |
?>
|
| 396 |
<div class="wrap">
|
| 397 |
+
<h2><?php _e( 'Stats', 'simple-download-monitor' ); ?></h2>
|
| 398 |
<div id="poststuff"><div id="post-body">
|
| 399 |
|
| 400 |
+
<div class="postbox">
|
| 401 |
+
<h3 class="hndle"><label for="title"><?php _e( 'Choose Date Range (yyyy-mm-dd)', 'simple-download-monitor' ); ?></label></h3>
|
| 402 |
+
<div class="inside">
|
| 403 |
+
<form id="sdm_choose_date" method="post">
|
| 404 |
+
<input type="hidden" name="sdm_active_tab" value="<?php echo $active_tab; ?>">
|
| 405 |
+
<?php _e( 'Start Date: ', 'simple-download-monitor' ); ?><input type="text" class="datepicker" name="sdm_stats_start_date" value="<?php echo $start_date; ?>">
|
| 406 |
+
<?php _e( 'End Date: ', 'simple-download-monitor' ); ?><input type="text" class="datepicker" name="sdm_stats_end_date" value="<?php echo $end_date; ?>">
|
| 407 |
+
<p id="sdm_date_buttons">
|
| 408 |
+
<button type="button" data-start-date="<?php echo date( 'Y-m-01' ); ?>" data-end-date="<?php echo date( 'Y-m-d' ); ?>"><?php _e( 'This Month', 'simple-download-monitor' ); ?></button>
|
| 409 |
+
<button type="button" data-start-date="<?php echo date( 'Y-m-d', strtotime( 'first day of last month' ) ); ?>" data-end-date="<?php echo date( 'Y-m-d', strtotime( 'last day of last month' ) ); ?>"><?php _e( 'Last Month', 'simple-download-monitor' ); ?></button>
|
| 410 |
+
<button button type="button" data-start-date="<?php echo date( 'Y-01-01' ); ?>" data-end-date="<?php echo date( 'Y-m-d' ); ?>"><?php _e( 'This Year', 'simple-download-monitor' ); ?></button>
|
| 411 |
+
<button button type="button" data-start-date="<?php echo date( "Y-01-01", strtotime( "-1 year" ) ); ?>" data-end-date="<?php echo date( "Y-12-31", strtotime( 'last year' ) ); ?>"><?php _e( 'Last Year', 'simple-download-monitor' ); ?></button>
|
| 412 |
+
<button button type="button" data-start-date="<?php echo "1970-01-01"; ?>" data-end-date="<?php echo date( 'Y-m-d' ); ?>"><?php _e( 'All Time', 'simple-download-monitor' ); ?></button>
|
| 413 |
+
</p>
|
| 414 |
+
<div class="submit">
|
| 415 |
+
<input type="submit" class="button-primary" value="<?php _e( 'View Stats', 'simple-download-monitor' ); ?>">
|
| 416 |
+
</div>
|
| 417 |
+
</form>
|
| 418 |
+
</div>
|
| 419 |
+
</div>
|
| 420 |
+
<div class="nav-tab-wrapper sdm-tabs">
|
| 421 |
+
<a href="edit.php?post_type=sdm_downloads&page=stats&sdm_active_tab=datechart" class="nav-tab<?php echo ($active_tab == 'datechart' ? ' nav-tab-active' : ''); ?>" data-tab-name="datechart"><?php _e( 'Downloads by date', 'simple-download-monitor' ); ?></a>
|
| 422 |
+
<a href="edit.php?post_type=sdm_downloads&page=stats&sdm_active_tab=geochart" href="" class="nav-tab<?php echo ($active_tab == 'geochart' ? ' nav-tab-active' : ''); ?>" data-tab-name="geochart"><?php _e( 'Downloads by country', 'simple-download-monitor' ); ?></a>
|
| 423 |
+
</div>
|
| 424 |
+
<div class="sdm-tabs-content-wrapper" style="height: 500px;margin-top: 10px;">
|
| 425 |
+
<div data-tab-name="datechart" class="sdm-tab"<?php echo ($active_tab == 'datechart' ? '' : ' style="display:none;"'); ?>>
|
| 426 |
+
<div id="downloads_chart" style="width: 700px;"></div>
|
| 427 |
+
</div>
|
| 428 |
+
<div data-tab-name="geochart" class="sdm-tab"<?php echo ($active_tab == 'geochart' ? '' : ' style="display:none;"'); ?>>
|
| 429 |
+
<div id="country_chart" style="width: 700px;height:437px;"></div>
|
| 430 |
+
</div>
|
| 431 |
+
</div>
|
| 432 |
+
</div></div>
|
| 433 |
</div>
|
| 434 |
<script>
|
| 435 |
var sdm = [];
|
| 437 |
sdm.geochart = false;
|
| 438 |
sdm.activeTab = '<?php echo $active_tab; ?>';
|
| 439 |
jQuery('#sdm_date_buttons button').click(function (e) {
|
| 440 |
+
jQuery('#sdm_choose_date').find('input[name="sdm_stats_start_date"]').val(jQuery(this).attr('data-start-date'));
|
| 441 |
+
jQuery('#sdm_choose_date').find('input[name="sdm_stats_end_date"]').val(jQuery(this).attr('data-end-date'));
|
| 442 |
});
|
| 443 |
function sdm_init_chart(tab) {
|
| 444 |
+
if (!sdm.datechart && tab == 'datechart') {
|
| 445 |
+
sdm.datechart = true;
|
| 446 |
+
google.charts.load('current', {'packages': ['corechart']});
|
| 447 |
+
google.charts.setOnLoadCallback(sdm_drawDateChart);
|
| 448 |
+
} else if (!sdm.geochart && tab == 'geochart') {
|
| 449 |
+
sdm.geochart = true;
|
| 450 |
+
google.charts.load('current', {'packages': ['geochart'], 'mapsApiKey': 'AIzaSyAjtHaEc8TX3JbzxWgjS96MiN7p7ePQilM'});
|
| 451 |
+
google.charts.setOnLoadCallback(sdm_drawGeoChart);
|
| 452 |
+
}
|
| 453 |
}
|
| 454 |
function sdm_drawDateChart() {
|
| 455 |
+
var sdm_dateData = new google.visualization.DataTable();
|
| 456 |
+
sdm_dateData.addColumn('string', '<?php _e( 'Date', 'simple-download-monitor' ); ?>');
|
| 457 |
+
sdm_dateData.addColumn('number', '<?php _e( 'Number of downloads', 'simple-download-monitor' ); ?>');
|
| 458 |
+
sdm_dateData.addRows([<?php echo $downloads_by_date; ?>]);
|
| 459 |
+
|
| 460 |
+
var sdm_dateChart = new google.visualization.AreaChart(document.getElementById('downloads_chart'));
|
| 461 |
+
sdm_dateChart.draw(sdm_dateData, {width: 700, height: 300, title: '<?php _e( 'Downloads by Date', 'simple-download-monitor' ); ?>', colors: ['#3366CC', '#9AA2B4', '#FFE1C9'],
|
| 462 |
+
hAxis: {title: 'Date', titleTextStyle: {color: 'black'}},
|
| 463 |
+
vAxis: {title: 'Downloads', titleTextStyle: {color: 'black'}},
|
| 464 |
+
legend: 'top',
|
| 465 |
+
});
|
| 466 |
}
|
| 467 |
function sdm_drawGeoChart() {
|
| 468 |
|
| 469 |
+
var sdm_countryData = google.visualization.arrayToDataTable([<?php echo $downloads_by_country; ?>]);
|
| 470 |
|
| 471 |
+
var sdm_countryOptions = {colorAxis: {colors: ['#ddf', '#00f']}};
|
| 472 |
|
| 473 |
+
var sdm_countryChart = new google.visualization.GeoChart(document.getElementById('country_chart'));
|
| 474 |
|
| 475 |
+
sdm_countryChart.draw(sdm_countryData, sdm_countryOptions);
|
| 476 |
|
| 477 |
}
|
| 478 |
jQuery(function () {
|
| 479 |
+
sdm_init_chart(sdm.activeTab);
|
| 480 |
+
jQuery('div.sdm-tabs a').click(function (e) {
|
| 481 |
+
e.preventDefault();
|
| 482 |
+
var tab = jQuery(this).attr('data-tab-name');
|
| 483 |
+
jQuery('div.sdm-tabs').find('a').removeClass('nav-tab-active');
|
| 484 |
+
jQuery(this).addClass('nav-tab-active');
|
| 485 |
+
jQuery('div.sdm-tabs-content-wrapper').find('div.sdm-tab').hide();
|
| 486 |
+
jQuery('div.sdm-tabs-content-wrapper').find('div[data-tab-name="' + tab + '"]').fadeIn('fast');
|
| 487 |
+
sdm_init_chart(tab);
|
| 488 |
+
jQuery('#sdm_choose_date').find('input[name="sdm_active_tab"]').val(tab);
|
| 489 |
+
});
|
| 490 |
+
jQuery('.datepicker').datepicker({
|
| 491 |
+
dateFormat: 'yy-mm-dd'
|
| 492 |
+
});
|
| 493 |
});
|
| 494 |
</script>
|
| 495 |
<?php
|
languages/simple-download-monitor-fr_FR.mo
CHANGED
|
Binary file
|
languages/simple-download-monitor-fr_FR.po
CHANGED
|
@@ -1,10 +1,10 @@
|
|
| 1 |
msgid ""
|
| 2 |
msgstr ""
|
| 3 |
"Project-Id-Version: simple-download-monitor-fr\n"
|
| 4 |
-
"POT-Creation-Date: 2018-
|
| 5 |
-
"PO-Revision-Date: 2018-
|
| 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"
|
|
@@ -36,7 +36,7 @@ msgid "Logs"
|
|
| 36 |
msgstr "Logs"
|
| 37 |
|
| 38 |
#: includes/sdm-admin-menu-handler.php:10
|
| 39 |
-
#: includes/sdm-admin-menu-handler.php:
|
| 40 |
msgid "Stats"
|
| 41 |
msgstr "Statistiques"
|
| 42 |
|
|
@@ -48,15 +48,32 @@ msgstr "Paramètres"
|
|
| 48 |
msgid "Add-ons"
|
| 49 |
msgstr "Modules additionnels"
|
| 50 |
|
| 51 |
-
#: includes/sdm-admin-menu-handler.php:
|
| 52 |
msgid "Simple Download Monitor Settings Page"
|
| 53 |
msgstr "Page de Paramètres SDM "
|
| 54 |
|
| 55 |
-
#: includes/sdm-admin-menu-handler.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 56 |
msgid "follow us"
|
| 57 |
msgstr "nous suivre"
|
| 58 |
|
| 59 |
-
#: includes/sdm-admin-menu-handler.php:
|
| 60 |
msgid ""
|
| 61 |
"on Twitter, Google+ or via Email to stay upto date about the new features of "
|
| 62 |
"this plugin."
|
|
@@ -64,117 +81,137 @@ 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:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 ?"
|
| 72 |
|
| 73 |
-
#: includes/sdm-admin-menu-handler.php:
|
| 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:
|
| 81 |
msgid "Error occured."
|
| 82 |
msgstr "Une erreur a été rencontrée."
|
| 83 |
|
| 84 |
-
#: includes/sdm-admin-menu-handler.php:
|
| 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 ! Cliquez sur le lien suivant pour "
|
| 100 |
"télécharger le fichier."
|
| 101 |
|
| 102 |
-
#: includes/sdm-admin-menu-handler.php:
|
| 103 |
msgid "Download Logs CSV File"
|
| 104 |
msgstr "Télécharger le fichier CSV des journaux"
|
| 105 |
|
| 106 |
-
#: includes/sdm-admin-menu-handler.php:
|
| 107 |
msgid "Download log entries deleted!"
|
| 108 |
msgstr "Télécharger les entrées de journal supprimées !"
|
| 109 |
|
| 110 |
-
#: includes/sdm-admin-menu-handler.php:
|
| 111 |
msgid "Download Logs"
|
| 112 |
msgstr "Télécharger le journal"
|
| 113 |
|
| 114 |
-
#: includes/sdm-admin-menu-handler.php:
|
| 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:
|
| 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:
|
| 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:
|
| 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:
|
| 131 |
msgid "Reset Log Entries"
|
| 132 |
msgstr "Réinitialiser les entrées de journal"
|
| 133 |
|
| 134 |
-
#: includes/sdm-admin-menu-handler.php:
|
| 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:
|
| 139 |
msgid "Start Date: "
|
| 140 |
msgstr "Date de début : "
|
| 141 |
|
| 142 |
-
#: includes/sdm-admin-menu-handler.php:
|
| 143 |
msgid "End Date: "
|
| 144 |
msgstr "Date de fin "
|
| 145 |
|
| 146 |
-
#: includes/sdm-admin-menu-handler.php:
|
| 147 |
msgid "This Month"
|
| 148 |
msgstr "Ce mois-ci"
|
| 149 |
|
| 150 |
-
#: includes/sdm-admin-menu-handler.php:
|
| 151 |
msgid "Last Month"
|
| 152 |
msgstr "Dernier mois"
|
| 153 |
|
| 154 |
-
#: includes/sdm-admin-menu-handler.php:
|
| 155 |
msgid "This Year"
|
| 156 |
msgstr "Cette année"
|
| 157 |
|
| 158 |
-
#: includes/sdm-admin-menu-handler.php:
|
| 159 |
msgid "Last Year"
|
| 160 |
msgstr "Dernière année"
|
| 161 |
|
| 162 |
-
#: includes/sdm-admin-menu-handler.php:
|
| 163 |
msgid "All Time"
|
| 164 |
msgstr "Tout le temps"
|
| 165 |
|
| 166 |
-
#: includes/sdm-admin-menu-handler.php:
|
| 167 |
msgid "View Stats"
|
| 168 |
msgstr "Afficher les statistiques"
|
| 169 |
|
| 170 |
-
#: includes/sdm-admin-menu-handler.php:
|
| 171 |
msgid "Downloads by date"
|
| 172 |
msgstr "Téléchargements par date"
|
| 173 |
|
| 174 |
-
#: includes/sdm-admin-menu-handler.php:
|
| 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 ! Identifiant de l’élément de téléchargement incorrect."
|
|
@@ -183,43 +220,43 @@ msgstr "Erreur ! Identifiant de l’élément de téléchargement incorrect
|
|
| 183 |
msgid "Error! This download item ("
|
| 184 |
msgstr "Erreur ! Cet article de téléchargement ("
|
| 185 |
|
| 186 |
-
#: includes/sdm-download-request-handler.php:
|
| 187 |
msgid "Error! This download requires a password."
|
| 188 |
msgstr "Erreur ! Ce téléchargement nécessite un mot de passe."
|
| 189 |
|
| 190 |
-
#: includes/sdm-download-request-handler.php:
|
| 191 |
msgid "Click here"
|
| 192 |
msgstr "Cliquer ici"
|
| 193 |
|
| 194 |
-
#: includes/sdm-download-request-handler.php:
|
| 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:
|
| 199 |
msgid "Error! Incorrect password. This download requires a valid password."
|
| 200 |
msgstr ""
|
| 201 |
"Erreur ! Mot de passe incorrect. Ce téléchargement nécessite un mot de "
|
| 202 |
"passe valide."
|
| 203 |
|
| 204 |
-
#: includes/sdm-download-request-handler.php:
|
| 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:
|
| 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:
|
| 213 |
msgid "Not Logged In"
|
| 214 |
msgstr "Non connecté"
|
| 215 |
|
| 216 |
-
#: includes/sdm-download-request-handler.php:
|
| 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:
|
| 223 |
msgid ""
|
| 224 |
"Error! The URL value is empty. Please specify a correct URL value to "
|
| 225 |
"redirect to!"
|
|
@@ -227,22 +264,41 @@ 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:
|
| 237 |
-
#: sdm-post-type-content-handler.php:
|
| 238 |
msgid "Download"
|
| 239 |
msgstr "Telecharger"
|
| 240 |
|
| 241 |
#: includes/sdm-logs-list-table.php:20
|
| 242 |
-
#: includes/templates/fancy1/sdm-fancy-1.php:
|
| 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:
|
| 246 |
msgid "Downloads"
|
| 247 |
msgstr "téléchargements"
|
| 248 |
|
|
@@ -254,11 +310,11 @@ msgstr "Éditer (Modifier)"
|
|
| 254 |
msgid "Delete"
|
| 255 |
msgstr "Effacer"
|
| 256 |
|
| 257 |
-
#: includes/sdm-logs-list-table.php:70 main.php:
|
| 258 |
msgid "Title"
|
| 259 |
msgstr " Titre"
|
| 260 |
|
| 261 |
-
#: includes/sdm-logs-list-table.php:71 main.php:
|
| 262 |
msgid "File"
|
| 263 |
msgstr "Fichier"
|
| 264 |
|
|
@@ -266,10 +322,6 @@ msgstr "Fichier"
|
|
| 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"
|
|
@@ -370,12 +422,13 @@ msgstr "Orange"
|
|
| 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:
|
| 379 |
msgid "Download Now!"
|
| 380 |
msgstr "Télécharger le catalogue"
|
| 381 |
|
|
@@ -383,100 +436,108 @@ msgstr "Télécharger le catalogue"
|
|
| 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:
|
| 392 |
-
#: includes/templates/fancy2/sdm-fancy-2.php:
|
| 393 |
-
#: sdm-post-type-content-handler.php:
|
| 394 |
msgid "Size: "
|
| 395 |
msgstr "Taille : "
|
| 396 |
|
| 397 |
-
#: includes/templates/fancy1/sdm-fancy-1.php:
|
| 398 |
-
#: includes/templates/fancy2/sdm-fancy-2.php:
|
| 399 |
-
#: sdm-post-type-content-handler.php:
|
| 400 |
msgid "Version: "
|
| 401 |
msgstr "Version : "
|
| 402 |
|
| 403 |
-
#: main.php:
|
| 404 |
msgid "Select File"
|
| 405 |
msgstr "Sélectionnez un fichier"
|
| 406 |
|
| 407 |
-
#: main.php:
|
| 408 |
msgid "Select Thumbnail"
|
| 409 |
msgstr "Sélectionnez une miniature"
|
| 410 |
|
| 411 |
-
#: main.php:
|
| 412 |
msgid "Insert"
|
| 413 |
msgstr "Insérer"
|
| 414 |
|
| 415 |
-
#: main.php:
|
| 416 |
msgid "Image Successfully Removed"
|
| 417 |
msgstr "Image supprimée avec succès"
|
| 418 |
|
| 419 |
-
#: main.php:
|
| 420 |
msgid "Error with AJAX"
|
| 421 |
msgstr "Erreur avec AJAX"
|
| 422 |
|
| 423 |
-
#: main.php:
|
| 424 |
msgid "Please select a Download Item:"
|
| 425 |
msgstr "Veuillez sélectionner un téléchargement :"
|
| 426 |
|
| 427 |
-
#: main.php:
|
| 428 |
msgid "Download Title"
|
| 429 |
msgstr "Titre du Téléchargement"
|
| 430 |
|
| 431 |
-
#: main.php:
|
| 432 |
msgid "Include Fancy Box"
|
| 433 |
msgstr "Inclure la Fancy Box"
|
| 434 |
|
| 435 |
-
#: main.php:
|
| 436 |
msgid "Open New Window"
|
| 437 |
msgstr "Ouvrir une nouvelle fenêtre"
|
| 438 |
|
| 439 |
-
#: main.php:
|
| 440 |
msgid "Button Color"
|
| 441 |
msgstr "Couleur du bouton"
|
| 442 |
|
| 443 |
-
#: main.php:
|
| 444 |
msgid "Insert SDM Shortcode"
|
| 445 |
msgstr "Insérez le Shortcode SDM"
|
| 446 |
|
| 447 |
-
#: main.php:
|
| 448 |
msgid "Description"
|
| 449 |
msgstr "Description"
|
| 450 |
|
| 451 |
-
#: main.php:
|
| 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:
|
| 456 |
msgid "PHP Dispatch or Redirect"
|
| 457 |
msgstr "Envoi PHP ou redirection"
|
| 458 |
|
| 459 |
-
#: main.php:
|
| 460 |
msgid "File Thumbnail (Optional)"
|
| 461 |
msgstr "La miniature du fichier (Facultatif)"
|
| 462 |
|
| 463 |
-
#: main.php:
|
| 464 |
msgid "Statistics"
|
| 465 |
msgstr "Statistiques"
|
| 466 |
|
| 467 |
-
#: main.php:
|
| 468 |
msgid "Other Details (Optional)"
|
| 469 |
msgstr "Autres détails (facultatif)"
|
| 470 |
|
| 471 |
-
#: main.php:
|
| 472 |
msgid "Shortcodes"
|
| 473 |
msgstr "Shortcodes"
|
| 474 |
|
| 475 |
-
#: main.php:
|
| 476 |
msgid "Add a description for this download item."
|
| 477 |
msgstr "Ajouter une description pour ce fichier."
|
| 478 |
|
| 479 |
-
#: main.php:
|
| 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."
|
|
@@ -485,13 +546,31 @@ msgstr ""
|
|
| 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:
|
| 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 :"
|
| 493 |
|
| 494 |
-
#: main.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 "
|
|
@@ -503,7 +582,7 @@ msgstr ""
|
|
| 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:
|
| 507 |
msgid ""
|
| 508 |
"Manually enter a valid URL, or click \"Select Image\" to upload (or choose) "
|
| 509 |
"the file thumbnail image."
|
|
@@ -511,15 +590,15 @@ 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:
|
| 515 |
msgid "Select Image"
|
| 516 |
msgstr "Selectionnez une image"
|
| 517 |
|
| 518 |
-
#: main.php:
|
| 519 |
msgid "Remove Image"
|
| 520 |
msgstr "Supprimer I’image"
|
| 521 |
|
| 522 |
-
#: main.php:
|
| 523 |
msgid ""
|
| 524 |
"This thumbnail image will be used to create a fancy file download box if you "
|
| 525 |
"want to use it."
|
|
@@ -527,19 +606,19 @@ 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:
|
| 531 |
msgid "These are the statistics for this download item."
|
| 532 |
msgstr "Voici les statistiques pour ce téléchargement."
|
| 533 |
|
| 534 |
-
#: main.php:
|
| 535 |
msgid "Number of Downloads:"
|
| 536 |
msgstr "Nombre de téléchargements:"
|
| 537 |
|
| 538 |
-
#: main.php:
|
| 539 |
msgid "Offset Count: "
|
| 540 |
msgstr "Décalage du compteur : "
|
| 541 |
|
| 542 |
-
#: main.php:
|
| 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)."
|
|
@@ -548,15 +627,15 @@ msgstr ""
|
|
| 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:
|
| 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:
|
| 556 |
msgid "File Size: "
|
| 557 |
msgstr "Taille du fichier : "
|
| 558 |
|
| 559 |
-
#: main.php:
|
| 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."
|
|
@@ -565,7 +644,7 @@ msgstr ""
|
|
| 565 |
"pouvez afficher cette valeur dans l’affichage fantaisie en utilisant un "
|
| 566 |
"paramètre de code court."
|
| 567 |
|
| 568 |
-
#: main.php:
|
| 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."
|
|
@@ -574,7 +653,7 @@ msgstr ""
|
|
| 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:
|
| 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 "
|
|
@@ -586,94 +665,132 @@ msgstr ""
|
|
| 586 |
"l’éditeur de publication) pour ajouter ce code court à un article ou à une "
|
| 587 |
"page."
|
| 588 |
|
| 589 |
-
#: main.php:
|
| 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:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 597 |
msgid "General Options"
|
| 598 |
msgstr "Options générales"
|
| 599 |
|
| 600 |
-
#: main.php:
|
| 601 |
msgid "Admin Options"
|
| 602 |
msgstr "Option d’administration"
|
| 603 |
|
| 604 |
-
#: main.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 605 |
msgid "Colors"
|
| 606 |
msgstr "Couleurs"
|
| 607 |
|
| 608 |
-
#: main.php:
|
| 609 |
msgid "Debug"
|
| 610 |
msgstr "Débogage"
|
| 611 |
|
| 612 |
-
#: main.php:
|
| 613 |
msgid "Delete Plugin Data"
|
| 614 |
msgstr "Supprimer les données de l’extension"
|
| 615 |
|
| 616 |
-
#: main.php:
|
| 617 |
msgid "Hide Download Count"
|
| 618 |
msgstr "Masquer le nombre de téléchargements"
|
| 619 |
|
| 620 |
-
#: main.php:
|
| 621 |
msgid "PHP Dispatching"
|
| 622 |
msgstr "Envoi PHP"
|
| 623 |
|
| 624 |
-
#: main.php:
|
| 625 |
msgid "Only Allow Logged-in Users to Download"
|
| 626 |
msgstr "Autoriser uniquement les utilisateurs connectés à télécharger"
|
| 627 |
|
| 628 |
-
#: main.php:
|
| 629 |
msgid "Login Page URL"
|
| 630 |
msgstr "URL de la page de connexion"
|
| 631 |
|
| 632 |
-
#: main.php:
|
| 633 |
msgid "Remove Tinymce Button"
|
| 634 |
msgstr "Supprimer le bouton Tinymce"
|
| 635 |
|
| 636 |
-
#: main.php:
|
| 637 |
msgid "Log Unique IP"
|
| 638 |
msgstr "Entrée IP unique"
|
| 639 |
|
| 640 |
-
#: main.php:
|
| 641 |
msgid "Do Not Capture IP Address"
|
| 642 |
msgstr "Ne pas capturer l’adresse IP"
|
| 643 |
|
| 644 |
-
#: main.php:
|
| 645 |
msgid "Do Not Count Downloads from Bots"
|
| 646 |
msgstr "Ne pas compter les téléchargements des bots."
|
| 647 |
|
| 648 |
-
#: main.php:
|
| 649 |
msgid "Disable Download Logs"
|
| 650 |
msgstr "Désactiver les journaux de téléchargement"
|
| 651 |
|
| 652 |
-
#: main.php:
|
| 653 |
msgid "Download Button Color"
|
| 654 |
msgstr "Couleur du bouton de Téléchargement"
|
| 655 |
|
| 656 |
-
#: main.php:
|
| 657 |
msgid "Enable Debug"
|
| 658 |
msgstr "Activer le mode de débogage"
|
| 659 |
|
| 660 |
-
#: main.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 661 |
msgid "General options settings"
|
| 662 |
msgstr "Paramètres généraux d’options"
|
| 663 |
|
| 664 |
-
#: main.php:
|
| 665 |
msgid "Admin options settings"
|
| 666 |
msgstr "Paramètres des options d’administration"
|
| 667 |
|
| 668 |
-
#: main.php:
|
| 669 |
msgid "Front End colors settings"
|
| 670 |
msgstr "Paramètres de couleurs de l’interface utilisateur"
|
| 671 |
|
| 672 |
-
#: main.php:
|
| 673 |
msgid "Debug settings"
|
| 674 |
msgstr "Paramètres de débogage"
|
| 675 |
|
| 676 |
-
#: main.php:
|
| 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 "
|
|
@@ -683,11 +800,11 @@ msgstr ""
|
|
| 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:
|
| 687 |
msgid "Warning"
|
| 688 |
msgstr "Attention"
|
| 689 |
|
| 690 |
-
#: main.php:
|
| 691 |
msgid ""
|
| 692 |
"this can't be undone. All settings, download items, download logs will be "
|
| 693 |
"deleted."
|
|
@@ -695,17 +812,42 @@ 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:
|
| 699 |
msgid "Delete all data and deactivate plugin"
|
| 700 |
msgstr "Supprimer toutes les données et désactiver l’extension."
|
| 701 |
|
| 702 |
-
#: main.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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:
|
| 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 "
|
|
@@ -715,7 +857,7 @@ msgstr ""
|
|
| 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:
|
| 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 "
|
|
@@ -726,7 +868,7 @@ msgstr ""
|
|
| 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:
|
| 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 "
|
|
@@ -737,15 +879,15 @@ msgstr ""
|
|
| 737 |
"uniquement les utilisateurs connectés à télécharger. Ce lien sera ajouté au "
|
| 738 |
"message affiché aux utilisateurs anonymes."
|
| 739 |
|
| 740 |
-
#: main.php:
|
| 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:
|
| 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:
|
| 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."
|
|
@@ -753,13 +895,13 @@ 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:
|
| 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:
|
| 763 |
msgid ""
|
| 764 |
"Disables all download logs. (This global option overrides the individual "
|
| 765 |
"download item option.)"
|
|
@@ -767,39 +909,51 @@ 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:
|
| 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:
|
| 775 |
msgid " to view log file."
|
| 776 |
msgstr " pour afficher le fichier journal."
|
| 777 |
|
| 778 |
-
#: main.php:
|
| 779 |
msgid " to reset log file."
|
| 780 |
msgstr " pour réinitialiser le fichier journal."
|
| 781 |
|
| 782 |
-
#: main.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 783 |
msgid "Permission denied!"
|
| 784 |
msgstr "Permission refusée !"
|
| 785 |
|
| 786 |
-
#: main.php:
|
| 787 |
msgid "Image"
|
| 788 |
msgstr "Image"
|
| 789 |
|
| 790 |
-
#: main.php:
|
| 791 |
msgid "ID"
|
| 792 |
msgstr "ID "
|
| 793 |
|
| 794 |
-
#: main.php:
|
| 795 |
msgid "Categories"
|
| 796 |
msgstr "Catégories"
|
| 797 |
|
| 798 |
-
#: main.php:
|
| 799 |
msgid "Tags"
|
| 800 |
msgstr "Mots clés "
|
| 801 |
|
| 802 |
-
#: main.php:
|
| 803 |
msgid "Date Posted"
|
| 804 |
msgstr "Date de Publication"
|
| 805 |
|
|
@@ -835,6 +989,14 @@ msgstr "Aucun téléchargement trouvé dans la poubelle"
|
|
| 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"
|
|
@@ -867,6 +1029,14 @@ msgstr "Ajouter une nouvelle catégorie"
|
|
| 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"
|
|
@@ -899,11 +1069,11 @@ msgstr "Ajouter un nouveau mot clé"
|
|
| 899 |
msgid "New Tag"
|
| 900 |
msgstr "Nouveau tag"
|
| 901 |
|
| 902 |
-
#: sdm-shortcodes.php:81 sdm-shortcodes.php:
|
| 903 |
msgid "Error! Please enter an ID value with this shortcode."
|
| 904 |
msgstr "Erreur ! Veuillez entrer une valeur d’ID avec ce raccourci."
|
| 905 |
|
| 906 |
-
#: sdm-shortcodes.php:
|
| 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."
|
|
@@ -912,11 +1082,11 @@ msgstr ""
|
|
| 912 |
"raccourci. Reportez-vous à la documentation pour obtenir des instructions "
|
| 913 |
"d’utilisation."
|
| 914 |
|
| 915 |
-
#: sdm-shortcodes.php:
|
| 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:
|
| 920 |
msgid ""
|
| 921 |
"Error! You must enter a numeric number for the \"pagination\" parameter of "
|
| 922 |
"the shortcode. Refer to the usage documentation."
|
|
@@ -924,7 +1094,7 @@ msgstr ""
|
|
| 924 |
"Erreur ! 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:
|
| 928 |
msgid "There are no download items matching this category criteria."
|
| 929 |
msgstr ""
|
| 930 |
"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-05-17 16:33+0200\n"
|
| 5 |
+
"PO-Revision-Date: 2018-05-17 16:48+0200\n"
|
| 6 |
"Last-Translator: FreePixel <contact@freepixel.net>\n"
|
| 7 |
+
"Language-Team: FreePixel\n"
|
| 8 |
"Language: fr_FR\n"
|
| 9 |
"MIME-Version: 1.0\n"
|
| 10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
| 36 |
msgstr "Logs"
|
| 37 |
|
| 38 |
#: includes/sdm-admin-menu-handler.php:10
|
| 39 |
+
#: includes/sdm-admin-menu-handler.php:325
|
| 40 |
msgid "Stats"
|
| 41 |
msgstr "Statistiques"
|
| 42 |
|
| 48 |
msgid "Add-ons"
|
| 49 |
msgstr "Modules additionnels"
|
| 50 |
|
| 51 |
+
#: includes/sdm-admin-menu-handler.php:40
|
| 52 |
msgid "Simple Download Monitor Settings Page"
|
| 53 |
msgstr "Page de Paramètres SDM "
|
| 54 |
|
| 55 |
+
#: includes/sdm-admin-menu-handler.php:43
|
| 56 |
+
msgid ""
|
| 57 |
+
"Read the full plugin usage documentation <a href=\"https://simple-download-"
|
| 58 |
+
"monitor.com/download-monitor-tutorials/\" target=\"_blank\">here</a>."
|
| 59 |
+
msgstr ""
|
| 60 |
+
"Consultez la documentation complète de l’extension <a href=\"https://simple-"
|
| 61 |
+
"download-monitor.com/download-monitor-tutorials/\" target=\"_blank\">par "
|
| 62 |
+
"ici</a>."
|
| 63 |
+
|
| 64 |
+
#: includes/sdm-admin-menu-handler.php:44
|
| 65 |
+
msgid ""
|
| 66 |
+
"You can also <a href=\"https://www.tipsandtricks-hq.com/development-center\" "
|
| 67 |
+
"target=\"_blank\">"
|
| 68 |
+
msgstr ""
|
| 69 |
+
"Vous pouvez aussi <a href=\"https://www.tipsandtricks-hq.com/development-"
|
| 70 |
+
"center\" target=\"_blank\">"
|
| 71 |
+
|
| 72 |
+
#: includes/sdm-admin-menu-handler.php:44
|
| 73 |
msgid "follow us"
|
| 74 |
msgstr "nous suivre"
|
| 75 |
|
| 76 |
+
#: includes/sdm-admin-menu-handler.php:44
|
| 77 |
msgid ""
|
| 78 |
"on Twitter, Google+ or via Email to stay upto date about the new features of "
|
| 79 |
"this plugin."
|
| 81 |
"sur Twitter, Google +, ou par Email pour être tenu à jour sur les nouvelles "
|
| 82 |
"fonctionnalités de ce plugin."
|
| 83 |
|
| 84 |
+
#: includes/sdm-admin-menu-handler.php:52
|
| 85 |
+
msgid "General Settings"
|
| 86 |
+
msgstr "Paramètres généraux"
|
| 87 |
+
|
| 88 |
+
#: includes/sdm-admin-menu-handler.php:53
|
| 89 |
+
msgid "Advanced Settings"
|
| 90 |
+
msgstr "Paramètres avancés"
|
| 91 |
+
|
| 92 |
+
#: includes/sdm-admin-menu-handler.php:90
|
| 93 |
+
msgid ""
|
| 94 |
+
"If you need a feature rich and supported plugin for selling your digital "
|
| 95 |
+
"items then checkout our"
|
| 96 |
+
msgstr ""
|
| 97 |
+
"Si vous avez besoin d’une extension riche en fonctionnalités pour la vente "
|
| 98 |
+
"de vos objets numériques alors allez voir sur"
|
| 99 |
+
|
| 100 |
+
#: includes/sdm-admin-menu-handler.php:90
|
| 101 |
+
msgid "WP eStore Plugin"
|
| 102 |
+
msgstr "WP eStore Plugin"
|
| 103 |
+
|
| 104 |
+
#: includes/sdm-admin-menu-handler.php:155
|
| 105 |
msgid "Are you sure want to delete all plugin's data and deactivate plugin?"
|
| 106 |
msgstr ""
|
| 107 |
"Êtes-vous sûr de vouloir supprimer toutes les données de l’extension et "
|
| 108 |
"désactiver l’extension ?"
|
| 109 |
|
| 110 |
+
#: includes/sdm-admin-menu-handler.php:160
|
| 111 |
msgid ""
|
| 112 |
"Data has been deleted and plugin deactivated. Click OK to go to Plugins page."
|
| 113 |
msgstr ""
|
| 114 |
"Les données ont été supprimées et l’extension désactivée. Cliquez sur OK "
|
| 115 |
"pour accéder à la page Extensions."
|
| 116 |
|
| 117 |
+
#: includes/sdm-admin-menu-handler.php:164
|
| 118 |
msgid "Error occured."
|
| 119 |
msgstr "Une erreur a été rencontrée."
|
| 120 |
|
| 121 |
+
#: includes/sdm-admin-menu-handler.php:217
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 122 |
msgid "Log entries exported! Click on the following link to download the file."
|
| 123 |
msgstr ""
|
| 124 |
"Entrées de journal exportées ! Cliquez sur le lien suivant pour "
|
| 125 |
"télécharger le fichier."
|
| 126 |
|
| 127 |
+
#: includes/sdm-admin-menu-handler.php:218
|
| 128 |
msgid "Download Logs CSV File"
|
| 129 |
msgstr "Télécharger le fichier CSV des journaux"
|
| 130 |
|
| 131 |
+
#: includes/sdm-admin-menu-handler.php:228
|
| 132 |
msgid "Download log entries deleted!"
|
| 133 |
msgstr "Télécharger les entrées de journal supprimées !"
|
| 134 |
|
| 135 |
+
#: includes/sdm-admin-menu-handler.php:240
|
| 136 |
msgid "Download Logs"
|
| 137 |
msgstr "Télécharger le journal"
|
| 138 |
|
| 139 |
+
#: includes/sdm-admin-menu-handler.php:243
|
| 140 |
msgid "This page lists all tracked downloads."
|
| 141 |
msgstr "Cette page liste les suivis de téléchargements."
|
| 142 |
|
| 143 |
+
#: includes/sdm-admin-menu-handler.php:250
|
| 144 |
msgid "Export Download Log Entries"
|
| 145 |
msgstr "Exporter les entrées de journal de téléchargement"
|
| 146 |
|
| 147 |
+
#: includes/sdm-admin-menu-handler.php:254
|
| 148 |
msgid "Export Log Entries to CSV File"
|
| 149 |
msgstr "Exporter les entrées de journal vers un fichier CSV"
|
| 150 |
|
| 151 |
+
#: includes/sdm-admin-menu-handler.php:261
|
| 152 |
msgid "Reset Download Log Entries"
|
| 153 |
msgstr "Réinitialiser les entrées de journal de téléchargement"
|
| 154 |
|
| 155 |
+
#: includes/sdm-admin-menu-handler.php:265
|
| 156 |
msgid "Reset Log Entries"
|
| 157 |
msgstr "Réinitialiser les entrées de journal"
|
| 158 |
|
| 159 |
+
#: includes/sdm-admin-menu-handler.php:329
|
| 160 |
msgid "Choose Date Range (yyyy-mm-dd)"
|
| 161 |
msgstr "Choisir la plage de dates (aaaa-mm-jj)"
|
| 162 |
|
| 163 |
+
#: includes/sdm-admin-menu-handler.php:333
|
| 164 |
msgid "Start Date: "
|
| 165 |
msgstr "Date de début : "
|
| 166 |
|
| 167 |
+
#: includes/sdm-admin-menu-handler.php:334
|
| 168 |
msgid "End Date: "
|
| 169 |
msgstr "Date de fin "
|
| 170 |
|
| 171 |
+
#: includes/sdm-admin-menu-handler.php:336
|
| 172 |
msgid "This Month"
|
| 173 |
msgstr "Ce mois-ci"
|
| 174 |
|
| 175 |
+
#: includes/sdm-admin-menu-handler.php:337
|
| 176 |
msgid "Last Month"
|
| 177 |
msgstr "Dernier mois"
|
| 178 |
|
| 179 |
+
#: includes/sdm-admin-menu-handler.php:338
|
| 180 |
msgid "This Year"
|
| 181 |
msgstr "Cette année"
|
| 182 |
|
| 183 |
+
#: includes/sdm-admin-menu-handler.php:339
|
| 184 |
msgid "Last Year"
|
| 185 |
msgstr "Dernière année"
|
| 186 |
|
| 187 |
+
#: includes/sdm-admin-menu-handler.php:340
|
| 188 |
msgid "All Time"
|
| 189 |
msgstr "Tout le temps"
|
| 190 |
|
| 191 |
+
#: includes/sdm-admin-menu-handler.php:343
|
| 192 |
msgid "View Stats"
|
| 193 |
msgstr "Afficher les statistiques"
|
| 194 |
|
| 195 |
+
#: includes/sdm-admin-menu-handler.php:349
|
| 196 |
msgid "Downloads by date"
|
| 197 |
msgstr "Téléchargements par date"
|
| 198 |
|
| 199 |
+
#: includes/sdm-admin-menu-handler.php:350
|
| 200 |
msgid "Downloads by country"
|
| 201 |
msgstr "Téléchargements par pays"
|
| 202 |
|
| 203 |
+
#: includes/sdm-admin-menu-handler.php:384 includes/sdm-logs-list-table.php:73
|
| 204 |
+
msgid "Date"
|
| 205 |
+
msgstr "Date"
|
| 206 |
+
|
| 207 |
+
#: includes/sdm-admin-menu-handler.php:385
|
| 208 |
+
msgid "Number of downloads"
|
| 209 |
+
msgstr "Nombre de téléchargements"
|
| 210 |
+
|
| 211 |
+
#: includes/sdm-admin-menu-handler.php:389
|
| 212 |
+
msgid "Downloads by Date"
|
| 213 |
+
msgstr "Téléchargements par date"
|
| 214 |
+
|
| 215 |
#: includes/sdm-download-request-handler.php:13
|
| 216 |
msgid "Error! Incorrect download item id."
|
| 217 |
msgstr "Erreur ! Identifiant de l’élément de téléchargement incorrect."
|
| 220 |
msgid "Error! This download item ("
|
| 221 |
msgstr "Erreur ! Cet article de téléchargement ("
|
| 222 |
|
| 223 |
+
#: includes/sdm-download-request-handler.php:28
|
| 224 |
msgid "Error! This download requires a password."
|
| 225 |
msgstr "Erreur ! Ce téléchargement nécessite un mot de passe."
|
| 226 |
|
| 227 |
+
#: includes/sdm-download-request-handler.php:30 main.php:740 main.php:742
|
| 228 |
msgid "Click here"
|
| 229 |
msgstr "Cliquer ici"
|
| 230 |
|
| 231 |
+
#: includes/sdm-download-request-handler.php:31
|
| 232 |
msgid " and enter a valid password for this item"
|
| 233 |
msgstr " et entrez un mot de passe valide pour cet élément"
|
| 234 |
|
| 235 |
+
#: includes/sdm-download-request-handler.php:37
|
| 236 |
msgid "Error! Incorrect password. This download requires a valid password."
|
| 237 |
msgstr ""
|
| 238 |
"Erreur ! Mot de passe incorrect. Ce téléchargement nécessite un mot de "
|
| 239 |
"passe valide."
|
| 240 |
|
| 241 |
+
#: includes/sdm-download-request-handler.php:65
|
| 242 |
msgid "__Click here__ to go to login page."
|
| 243 |
msgstr "__Cliquez ici__ pour accéder à la page de connexion."
|
| 244 |
|
| 245 |
+
#: includes/sdm-download-request-handler.php:68
|
| 246 |
msgid "You need to be logged in to download this file."
|
| 247 |
msgstr "Vous devez être connecté pour télécharger ce fichier."
|
| 248 |
|
| 249 |
+
#: includes/sdm-download-request-handler.php:72
|
| 250 |
msgid "Not Logged In"
|
| 251 |
msgstr "Non connecté"
|
| 252 |
|
| 253 |
+
#: includes/sdm-download-request-handler.php:130
|
| 254 |
msgid "Error! Failed to log the download request in the database table"
|
| 255 |
msgstr ""
|
| 256 |
"Erreur! Impossible de se connecter à la demande de téléchargement dans la "
|
| 257 |
"table de base de données"
|
| 258 |
|
| 259 |
+
#: includes/sdm-download-request-handler.php:162
|
| 260 |
msgid ""
|
| 261 |
"Error! The URL value is empty. Please specify a correct URL value to "
|
| 262 |
"redirect to!"
|
| 264 |
"Erreur! La valeur de l’URL est vide. S’il vous plaît spécifier une valeur "
|
| 265 |
"d’URL correcte pour rediriger vers elle!"
|
| 266 |
|
| 267 |
+
#: includes/sdm-download-request-handler.php:225
|
| 268 |
+
#: includes/sdm-download-request-handler.php:229
|
| 269 |
+
msgid "ERROR:"
|
| 270 |
+
msgstr "ERREUR :"
|
| 271 |
+
|
| 272 |
+
#: includes/sdm-download-request-handler.php:225
|
| 273 |
+
#: includes/sdm-download-request-handler.php:229
|
| 274 |
+
msgid "Google reCAPTCHA verification failed."
|
| 275 |
+
msgstr "La vérification Google reCAPTCHA a échouée."
|
| 276 |
+
|
| 277 |
+
#: includes/sdm-download-request-handler.php:225
|
| 278 |
+
#: includes/sdm-download-request-handler.php:229
|
| 279 |
+
msgid "Back"
|
| 280 |
+
msgstr "Retour "
|
| 281 |
+
|
| 282 |
+
#: includes/sdm-download-request-handler.php:229
|
| 283 |
+
msgid "Do you have JavaScript enabled?"
|
| 284 |
+
msgstr "Avez-vous Javascript activé ?"
|
| 285 |
+
|
| 286 |
#: includes/sdm-latest-downloads.php:43
|
| 287 |
msgid "There are no download items matching this shortcode criteria."
|
| 288 |
msgstr ""
|
| 289 |
"Aucun élément de téléchargement ne correspond à ce critère de code court."
|
| 290 |
|
| 291 |
#: includes/sdm-logs-list-table.php:19
|
| 292 |
+
#: includes/templates/fancy1/sdm-fancy-1.php:111
|
| 293 |
+
#: sdm-post-type-content-handler.php:77 sdm-shortcodes.php:162
|
| 294 |
msgid "Download"
|
| 295 |
msgstr "Telecharger"
|
| 296 |
|
| 297 |
#: includes/sdm-logs-list-table.php:20
|
| 298 |
+
#: includes/templates/fancy1/sdm-fancy-1.php:111 main.php:875
|
| 299 |
#: sdm-post-type-and-taxonomy.php:7 sdm-post-type-and-taxonomy.php:8
|
| 300 |
#: sdm-post-type-and-taxonomy.php:13 sdm-post-type-and-taxonomy.php:19
|
| 301 |
+
#: sdm-post-type-content-handler.php:77 sdm-shortcodes.php:162
|
| 302 |
msgid "Downloads"
|
| 303 |
msgstr "téléchargements"
|
| 304 |
|
| 310 |
msgid "Delete"
|
| 311 |
msgstr "Effacer"
|
| 312 |
|
| 313 |
+
#: includes/sdm-logs-list-table.php:70 main.php:870
|
| 314 |
msgid "Title"
|
| 315 |
msgstr " Titre"
|
| 316 |
|
| 317 |
+
#: includes/sdm-logs-list-table.php:71 main.php:872
|
| 318 |
msgid "File"
|
| 319 |
msgstr "Fichier"
|
| 320 |
|
| 322 |
msgid "Visitor IP"
|
| 323 |
msgstr "IP du visiteur"
|
| 324 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 325 |
#: includes/sdm-logs-list-table.php:74
|
| 326 |
msgid "Country"
|
| 327 |
msgstr "Pays"
|
| 422 |
msgid "White"
|
| 423 |
msgstr "Blanc"
|
| 424 |
|
| 425 |
+
#: includes/sdm-utility-functions.php:62 includes/sdm-utility-functions.php:228
|
| 426 |
+
#: includes/sdm-utility-functions.php:278
|
| 427 |
#: includes/templates/fancy0/sdm-fancy-0.php:75
|
| 428 |
#: includes/templates/fancy1/sdm-fancy-1.php:43
|
| 429 |
#: includes/templates/fancy2/sdm-fancy-2.php:60
|
| 430 |
#: sdm-post-type-content-handler.php:44 sdm-shortcodes.php:68
|
| 431 |
+
#: sdm-shortcodes.php:176
|
| 432 |
msgid "Download Now!"
|
| 433 |
msgstr "Télécharger le catalogue"
|
| 434 |
|
| 436 |
msgid "Enter Password to Download:"
|
| 437 |
msgstr "Entrez le mot de passe pour télécharger :"
|
| 438 |
|
| 439 |
+
#: includes/sdm-utility-functions.php:264
|
| 440 |
+
msgid "I agree to the "
|
| 441 |
+
msgstr "J’accepte "
|
| 442 |
+
|
| 443 |
+
#: includes/sdm-utility-functions.php:264
|
| 444 |
+
msgid "terms and conditions"
|
| 445 |
+
msgstr "les Conditions Générales d’Utilisation"
|
| 446 |
+
|
| 447 |
#: includes/templates/fancy0/sdm-fancy-0.php:64
|
| 448 |
#: sdm-post-type-content-handler.php:39
|
| 449 |
msgid "green"
|
| 450 |
msgstr "vert"
|
| 451 |
|
| 452 |
+
#: includes/templates/fancy1/sdm-fancy-1.php:127
|
| 453 |
+
#: includes/templates/fancy2/sdm-fancy-2.php:139
|
| 454 |
+
#: sdm-post-type-content-handler.php:101
|
| 455 |
msgid "Size: "
|
| 456 |
msgstr "Taille : "
|
| 457 |
|
| 458 |
+
#: includes/templates/fancy1/sdm-fancy-1.php:134
|
| 459 |
+
#: includes/templates/fancy2/sdm-fancy-2.php:146 main.php:445
|
| 460 |
+
#: sdm-post-type-content-handler.php:108
|
| 461 |
msgid "Version: "
|
| 462 |
msgstr "Version : "
|
| 463 |
|
| 464 |
+
#: main.php:238 main.php:332
|
| 465 |
msgid "Select File"
|
| 466 |
msgstr "Sélectionnez un fichier"
|
| 467 |
|
| 468 |
+
#: main.php:239
|
| 469 |
msgid "Select Thumbnail"
|
| 470 |
msgstr "Sélectionnez une miniature"
|
| 471 |
|
| 472 |
+
#: main.php:240
|
| 473 |
msgid "Insert"
|
| 474 |
msgstr "Insérer"
|
| 475 |
|
| 476 |
+
#: main.php:241
|
| 477 |
msgid "Image Successfully Removed"
|
| 478 |
msgstr "Image supprimée avec succès"
|
| 479 |
|
| 480 |
+
#: main.php:242
|
| 481 |
msgid "Error with AJAX"
|
| 482 |
msgstr "Erreur avec AJAX"
|
| 483 |
|
| 484 |
+
#: main.php:253
|
| 485 |
msgid "Please select a Download Item:"
|
| 486 |
msgstr "Veuillez sélectionner un téléchargement :"
|
| 487 |
|
| 488 |
+
#: main.php:254
|
| 489 |
msgid "Download Title"
|
| 490 |
msgstr "Titre du Téléchargement"
|
| 491 |
|
| 492 |
+
#: main.php:255
|
| 493 |
msgid "Include Fancy Box"
|
| 494 |
msgstr "Inclure la Fancy Box"
|
| 495 |
|
| 496 |
+
#: main.php:256
|
| 497 |
msgid "Open New Window"
|
| 498 |
msgstr "Ouvrir une nouvelle fenêtre"
|
| 499 |
|
| 500 |
+
#: main.php:257
|
| 501 |
msgid "Button Color"
|
| 502 |
msgstr "Couleur du bouton"
|
| 503 |
|
| 504 |
+
#: main.php:258
|
| 505 |
msgid "Insert SDM Shortcode"
|
| 506 |
msgstr "Insérez le Shortcode SDM"
|
| 507 |
|
| 508 |
+
#: main.php:300
|
| 509 |
msgid "Description"
|
| 510 |
msgstr "Description"
|
| 511 |
|
| 512 |
+
#: main.php:301
|
| 513 |
msgid "Downloadable File (Visitors will download this item)"
|
| 514 |
msgstr "Fichier téléchargeable (Les visiteurs téléchargeront cet élément)"
|
| 515 |
|
| 516 |
+
#: main.php:302
|
| 517 |
msgid "PHP Dispatch or Redirect"
|
| 518 |
msgstr "Envoi PHP ou redirection"
|
| 519 |
|
| 520 |
+
#: main.php:303
|
| 521 |
msgid "File Thumbnail (Optional)"
|
| 522 |
msgstr "La miniature du fichier (Facultatif)"
|
| 523 |
|
| 524 |
+
#: main.php:304
|
| 525 |
msgid "Statistics"
|
| 526 |
msgstr "Statistiques"
|
| 527 |
|
| 528 |
+
#: main.php:305
|
| 529 |
msgid "Other Details (Optional)"
|
| 530 |
msgstr "Autres détails (facultatif)"
|
| 531 |
|
| 532 |
+
#: main.php:306
|
| 533 |
msgid "Shortcodes"
|
| 534 |
msgstr "Shortcodes"
|
| 535 |
|
| 536 |
+
#: main.php:310
|
| 537 |
msgid "Add a description for this download item."
|
| 538 |
msgstr "Ajouter une description pour ce fichier."
|
| 539 |
|
| 540 |
+
#: main.php:324
|
| 541 |
msgid ""
|
| 542 |
"Manually enter a valid URL of the file in the text box below, or click "
|
| 543 |
"\"Select File\" button to upload (or choose) the downloadable file."
|
| 546 |
"dessous, ou cliquez sur le bouton \"Sélectionner un fichier\" pour "
|
| 547 |
"télécharger (ou choisir) le fichier téléchargeable."
|
| 548 |
|
| 549 |
+
#: main.php:335
|
| 550 |
msgid "Steps to upload a file or choose one from your media library:"
|
| 551 |
msgstr ""
|
| 552 |
"Étapes pour télécharger un fichier ou en choisir un dans votre bibliothèque "
|
| 553 |
"multimédia :"
|
| 554 |
|
| 555 |
+
#: main.php:337
|
| 556 |
+
msgid "Hit the \"Select File\" button."
|
| 557 |
+
msgstr "Appuyez sur le bouton \"Sélectionner un fichier\"."
|
| 558 |
+
|
| 559 |
+
#: main.php:338
|
| 560 |
+
msgid "Upload a new file or choose an existing one from your media library."
|
| 561 |
+
msgstr ""
|
| 562 |
+
"Téléchargez un nouveau fichier ou choisissez-en un existant dans votre "
|
| 563 |
+
"médiathèque."
|
| 564 |
+
|
| 565 |
+
#: main.php:339
|
| 566 |
+
msgid ""
|
| 567 |
+
"Click the \"Insert\" button, this will populate the uploaded file's URL in "
|
| 568 |
+
"the above text field."
|
| 569 |
+
msgstr ""
|
| 570 |
+
"Cliquez sur le bouton \"Insérer\", cela remplira l’URL du fichier téléchargé "
|
| 571 |
+
"dans le champ de texte ci-dessus."
|
| 572 |
+
|
| 573 |
+
#: main.php:360
|
| 574 |
msgid ""
|
| 575 |
"Dispatch the file via PHP directly instead of redirecting to it. PHP "
|
| 576 |
"Dispatching keeps the download URL hidden. Dispatching works only for local "
|
| 582 |
"fichiers locaux (fichiers que vous avez téléchargés sur ce site via ce "
|
| 583 |
"plugin ou cette bibliothèque multimédia)."
|
| 584 |
|
| 585 |
+
#: main.php:368
|
| 586 |
msgid ""
|
| 587 |
"Manually enter a valid URL, or click \"Select Image\" to upload (or choose) "
|
| 588 |
"the file thumbnail image."
|
| 590 |
"Saisissez manuellement une URL valide ou cliquez sur \"Sélectionner une image"
|
| 591 |
"\" pour télécharger (ou choisir) l’image miniature du fichier."
|
| 592 |
|
| 593 |
+
#: main.php:373
|
| 594 |
msgid "Select Image"
|
| 595 |
msgstr "Selectionnez une image"
|
| 596 |
|
| 597 |
+
#: main.php:374
|
| 598 |
msgid "Remove Image"
|
| 599 |
msgstr "Supprimer I’image"
|
| 600 |
|
| 601 |
+
#: main.php:388
|
| 602 |
msgid ""
|
| 603 |
"This thumbnail image will be used to create a fancy file download box if you "
|
| 604 |
"want to use it."
|
| 606 |
"Cette image miniature sera utilisée pour créer une boîte de téléchargement "
|
| 607 |
"de fichiers stylisée si vous voulez l’utiliser."
|
| 608 |
|
| 609 |
+
#: main.php:402
|
| 610 |
msgid "These are the statistics for this download item."
|
| 611 |
msgstr "Voici les statistiques pour ce téléchargement."
|
| 612 |
|
| 613 |
+
#: main.php:409
|
| 614 |
msgid "Number of Downloads:"
|
| 615 |
msgstr "Nombre de téléchargements:"
|
| 616 |
|
| 617 |
+
#: main.php:414
|
| 618 |
msgid "Offset Count: "
|
| 619 |
msgstr "Décalage du compteur : "
|
| 620 |
|
| 621 |
+
#: main.php:417
|
| 622 |
msgid ""
|
| 623 |
"Enter any positive or negative numerical value; to offset the download count "
|
| 624 |
"shown to the visitors (when using the download counter shortcode)."
|
| 627 |
"de téléchargements indiqué aux visiteurs (lors de l’utilisation du code "
|
| 628 |
"court du compteur de téléchargement)."
|
| 629 |
|
| 630 |
+
#: main.php:424
|
| 631 |
msgid "Disable download logging for this item."
|
| 632 |
msgstr "Désactiver les entrées de téléchargement pour cet élément."
|
| 633 |
|
| 634 |
+
#: main.php:438
|
| 635 |
msgid "File Size: "
|
| 636 |
msgstr "Taille du fichier : "
|
| 637 |
|
| 638 |
+
#: main.php:441
|
| 639 |
msgid ""
|
| 640 |
"Enter the size of this file (example value: 2.15 MB). You can show this "
|
| 641 |
"value in the fancy display by using a shortcode parameter."
|
| 644 |
"pouvez afficher cette valeur dans l’affichage fantaisie en utilisant un "
|
| 645 |
"paramètre de code court."
|
| 646 |
|
| 647 |
+
#: main.php:448
|
| 648 |
msgid ""
|
| 649 |
"Enter the version number for this item if any (example value: v2.5.10). You "
|
| 650 |
"can show this value in the fancy display by using a shortcode parameter."
|
| 653 |
"valeur: v2.5.10). Vous pouvez afficher cette valeur dans l’affichage "
|
| 654 |
"fantaisie en utilisant un paramètre de code court."
|
| 655 |
|
| 656 |
+
#: main.php:455
|
| 657 |
msgid ""
|
| 658 |
"The following shortcode can be used on posts or pages to embed a download "
|
| 659 |
"now button for this file. You can also use the shortcode inserter (in the "
|
| 665 |
"l’éditeur de publication) pour ajouter ce code court à un article ou à une "
|
| 666 |
"page."
|
| 667 |
|
| 668 |
+
#: main.php:461
|
| 669 |
msgid ""
|
| 670 |
"The following shortcode can be used to show a download counter for this item."
|
| 671 |
msgstr ""
|
| 672 |
"Le code court suivant peut être utilisé pour afficher un compteur de "
|
| 673 |
"téléchargement pour cet élément."
|
| 674 |
|
| 675 |
+
#: main.php:467
|
| 676 |
+
msgid ""
|
| 677 |
+
"Read the full shortcode usage documentation <a href=\"https://www."
|
| 678 |
+
"tipsandtricks-hq.com/simple-wordpress-download-monitor-plugin\" target="
|
| 679 |
+
"\"_blank\">here</a>."
|
| 680 |
+
msgstr ""
|
| 681 |
+
"Consultez la documentation sur l’utilisation des codes courts <a href="
|
| 682 |
+
"\"https://www.tipsandtricks-hq.com/simple-wordpress-download-monitor-plugin"
|
| 683 |
+
"\" target=\"_blank\">par ici</a>."
|
| 684 |
+
|
| 685 |
+
#: main.php:569
|
| 686 |
msgid "General Options"
|
| 687 |
msgstr "Options générales"
|
| 688 |
|
| 689 |
+
#: main.php:570
|
| 690 |
msgid "Admin Options"
|
| 691 |
msgstr "Option d’administration"
|
| 692 |
|
| 693 |
+
#: main.php:573
|
| 694 |
+
msgid "Google Captcha (reCAPTCHA)"
|
| 695 |
+
msgstr "Google Captcha (reCAPTCHA)"
|
| 696 |
+
|
| 697 |
+
#: main.php:574
|
| 698 |
+
msgid "Terms and Conditions"
|
| 699 |
+
msgstr "Conditions Générales d’Utilisation"
|
| 700 |
+
|
| 701 |
+
#: main.php:576
|
| 702 |
msgid "Colors"
|
| 703 |
msgstr "Couleurs"
|
| 704 |
|
| 705 |
+
#: main.php:577
|
| 706 |
msgid "Debug"
|
| 707 |
msgstr "Débogage"
|
| 708 |
|
| 709 |
+
#: main.php:578
|
| 710 |
msgid "Delete Plugin Data"
|
| 711 |
msgstr "Supprimer les données de l’extension"
|
| 712 |
|
| 713 |
+
#: main.php:581
|
| 714 |
msgid "Hide Download Count"
|
| 715 |
msgstr "Masquer le nombre de téléchargements"
|
| 716 |
|
| 717 |
+
#: main.php:582
|
| 718 |
msgid "PHP Dispatching"
|
| 719 |
msgstr "Envoi PHP"
|
| 720 |
|
| 721 |
+
#: main.php:583
|
| 722 |
msgid "Only Allow Logged-in Users to Download"
|
| 723 |
msgstr "Autoriser uniquement les utilisateurs connectés à télécharger"
|
| 724 |
|
| 725 |
+
#: main.php:584
|
| 726 |
msgid "Login Page URL"
|
| 727 |
msgstr "URL de la page de connexion"
|
| 728 |
|
| 729 |
+
#: main.php:586
|
| 730 |
msgid "Remove Tinymce Button"
|
| 731 |
msgstr "Supprimer le bouton Tinymce"
|
| 732 |
|
| 733 |
+
#: main.php:587
|
| 734 |
msgid "Log Unique IP"
|
| 735 |
msgstr "Entrée IP unique"
|
| 736 |
|
| 737 |
+
#: main.php:588
|
| 738 |
msgid "Do Not Capture IP Address"
|
| 739 |
msgstr "Ne pas capturer l’adresse IP"
|
| 740 |
|
| 741 |
+
#: main.php:589
|
| 742 |
msgid "Do Not Count Downloads from Bots"
|
| 743 |
msgstr "Ne pas compter les téléchargements des bots."
|
| 744 |
|
| 745 |
+
#: main.php:590
|
| 746 |
msgid "Disable Download Logs"
|
| 747 |
msgstr "Désactiver les journaux de téléchargement"
|
| 748 |
|
| 749 |
+
#: main.php:592
|
| 750 |
msgid "Download Button Color"
|
| 751 |
msgstr "Couleur du bouton de Téléchargement"
|
| 752 |
|
| 753 |
+
#: main.php:594
|
| 754 |
msgid "Enable Debug"
|
| 755 |
msgstr "Activer le mode de débogage"
|
| 756 |
|
| 757 |
+
#: main.php:597
|
| 758 |
+
msgid "Enable reCAPTCHA"
|
| 759 |
+
msgstr "Activer reCAPTCHA"
|
| 760 |
+
|
| 761 |
+
#: main.php:598
|
| 762 |
+
msgid "Site Key"
|
| 763 |
+
msgstr "Clé du site"
|
| 764 |
+
|
| 765 |
+
#: main.php:599
|
| 766 |
+
msgid "Secret Key"
|
| 767 |
+
msgstr "Clé secrète"
|
| 768 |
+
|
| 769 |
+
#: main.php:602
|
| 770 |
+
msgid "Enable Terms and Conditions"
|
| 771 |
+
msgstr "Activer l’acceptation des Conditions Générales d’Utilisation"
|
| 772 |
+
|
| 773 |
+
#: main.php:603
|
| 774 |
+
msgid "Terms Page URL"
|
| 775 |
+
msgstr "URL de la page des CGU"
|
| 776 |
+
|
| 777 |
+
#: main.php:608
|
| 778 |
msgid "General options settings"
|
| 779 |
msgstr "Paramètres généraux d’options"
|
| 780 |
|
| 781 |
+
#: main.php:613
|
| 782 |
msgid "Admin options settings"
|
| 783 |
msgstr "Paramètres des options d’administration"
|
| 784 |
|
| 785 |
+
#: main.php:618
|
| 786 |
msgid "Front End colors settings"
|
| 787 |
msgstr "Paramètres de couleurs de l’interface utilisateur"
|
| 788 |
|
| 789 |
+
#: main.php:623
|
| 790 |
msgid "Debug settings"
|
| 791 |
msgstr "Paramètres de débogage"
|
| 792 |
|
| 793 |
+
#: main.php:628
|
| 794 |
msgid ""
|
| 795 |
"You can delete all the data related to this plugin from database using the "
|
| 796 |
"button below. Useful when you're uninstalling the plugin and don't want any "
|
| 800 |
"base de données en utilisant le bouton ci-dessous. Utile lorsque vous "
|
| 801 |
"désinstallez l’extension et que vous ne voulez pas qu’il reste des données."
|
| 802 |
|
| 803 |
+
#: main.php:629
|
| 804 |
msgid "Warning"
|
| 805 |
msgstr "Attention"
|
| 806 |
|
| 807 |
+
#: main.php:629
|
| 808 |
msgid ""
|
| 809 |
"this can't be undone. All settings, download items, download logs will be "
|
| 810 |
"deleted."
|
| 812 |
"cela ne peut pas être annulé. Tous les paramètres, télécharger des éléments, "
|
| 813 |
"télécharger les journaux seront supprimés."
|
| 814 |
|
| 815 |
+
#: main.php:630
|
| 816 |
msgid "Delete all data and deactivate plugin"
|
| 817 |
msgstr "Supprimer toutes les données et désactiver l’extension."
|
| 818 |
|
| 819 |
+
#: main.php:636
|
| 820 |
+
msgid "Google Captcha (reCAPTCHA) options"
|
| 821 |
+
msgstr "Options Google Captcha (reCAPTCHA)"
|
| 822 |
+
|
| 823 |
+
#: main.php:646
|
| 824 |
+
msgid ""
|
| 825 |
+
"Check this box if you want to use <a href=\"https://www.google.com/recaptcha/"
|
| 826 |
+
"admin\" target=\"_blank\">reCAPTCHA</a>. "
|
| 827 |
+
msgstr ""
|
| 828 |
+
"Cochez cette case si vous voulez utiliser <a href=\"https://www.google.com/"
|
| 829 |
+
"recaptcha/admin\" target=\"_blank\">reCAPTCHA</a>. "
|
| 830 |
+
|
| 831 |
+
#: main.php:647
|
| 832 |
+
msgid "The captcha option adds a captcha to the download now buttons."
|
| 833 |
+
msgstr ""
|
| 834 |
+
"L’option captcha ajoute un captcha aux boutons de téléchargement désormais."
|
| 835 |
+
|
| 836 |
+
#: main.php:654
|
| 837 |
+
msgid "The site key for the reCAPTCHA API"
|
| 838 |
+
msgstr "La clé du site pour l’API reCAPTCHA"
|
| 839 |
+
|
| 840 |
+
#: main.php:661
|
| 841 |
+
msgid "The secret key for the reCAPTCHA API"
|
| 842 |
+
msgstr "La clé secrète pour l’API reCAPTCHA"
|
| 843 |
+
|
| 844 |
+
#: main.php:667
|
| 845 |
msgid "Hide the download count that is shown in some of the fancy templates."
|
| 846 |
msgstr ""
|
| 847 |
"Masquez le nombre de téléchargements indiqué dans certains des modèles "
|
| 848 |
"stylisés."
|
| 849 |
|
| 850 |
+
#: main.php:674
|
| 851 |
msgid ""
|
| 852 |
"When you create a new download item, The PHP Dispatching option should be "
|
| 853 |
"enabled by default. PHP Dispatching keeps the URL of the downloadable files "
|
| 857 |
"PHP doit être activée par défaut. Envoi de PHP conserve l’URL des fichiers "
|
| 858 |
"téléchargeables cachés."
|
| 859 |
|
| 860 |
+
#: main.php:681
|
| 861 |
msgid ""
|
| 862 |
"Enable this option if you want to allow downloads only for logged-in users. "
|
| 863 |
"When enabled, anonymous users clicking on the download button will receive "
|
| 868 |
"activée, les utilisateurs anonymes qui cliquent sur le bouton de "
|
| 869 |
"téléchargement recevront un message d’erreur."
|
| 870 |
|
| 871 |
+
#: main.php:688
|
| 872 |
msgid ""
|
| 873 |
"(Optional) Specify a login page URL where users can login. This is useful if "
|
| 874 |
"you only allow logged in users to be able to download. This link will be "
|
| 879 |
"uniquement les utilisateurs connectés à télécharger. Ce lien sera ajouté au "
|
| 880 |
"message affiché aux utilisateurs anonymes."
|
| 881 |
|
| 882 |
+
#: main.php:694
|
| 883 |
msgid "Removes the SDM Downloads button from the WP content editor."
|
| 884 |
msgstr "Supprime le bouton Téléchargements SDM de l’éditeur de contenu de WP."
|
| 885 |
|
| 886 |
+
#: main.php:700
|
| 887 |
msgid "Only logs downloads from unique IP addresses."
|
| 888 |
msgstr "Seuls les journaux sont téléchargés à partir d’adresses IP uniques."
|
| 889 |
|
| 890 |
+
#: main.php:706
|
| 891 |
msgid ""
|
| 892 |
"Use this if you do not want to capture the IP address and Country of the "
|
| 893 |
"visitors when they download an item."
|
| 895 |
"Utilisez cette option si vous ne souhaitez pas capturer l’adresse IP et le "
|
| 896 |
"pays des visiteurs lorsqu’ils téléchargent un élément."
|
| 897 |
|
| 898 |
+
#: main.php:712
|
| 899 |
msgid "When enabled, the plugin won't count and log downloads from bots."
|
| 900 |
msgstr ""
|
| 901 |
"Lorsque cette option est activée, l’extension ne compte pas et enregistre "
|
| 902 |
"les téléchargements depuis les robots."
|
| 903 |
|
| 904 |
+
#: main.php:718
|
| 905 |
msgid ""
|
| 906 |
"Disables all download logs. (This global option overrides the individual "
|
| 907 |
"download item option.)"
|
| 909 |
"Désactive tous les journaux de téléchargement. (Cette option globale "
|
| 910 |
"remplace l’option d’élément de téléchargement individuel.)"
|
| 911 |
|
| 912 |
+
#: main.php:738
|
| 913 |
msgid "Check this option to enable debug logging."
|
| 914 |
msgstr "Cochez cette option pour activer la journalisation du débogage."
|
| 915 |
|
| 916 |
+
#: main.php:741
|
| 917 |
msgid " to view log file."
|
| 918 |
msgstr " pour afficher le fichier journal."
|
| 919 |
|
| 920 |
+
#: main.php:743
|
| 921 |
msgid " to reset log file."
|
| 922 |
msgstr " pour réinitialiser le fichier journal."
|
| 923 |
|
| 924 |
+
#: main.php:749
|
| 925 |
+
msgid ""
|
| 926 |
+
"You can use this option to make the visitors agree to your terms before they "
|
| 927 |
+
"can download the item."
|
| 928 |
+
msgstr ""
|
| 929 |
+
"Vous pouvez utiliser cette option pour que les visiteurs acceptent vos "
|
| 930 |
+
"conditions avant de pouvoir télécharger l’élément."
|
| 931 |
+
|
| 932 |
+
#: main.php:756
|
| 933 |
+
msgid "Enter the URL of your terms and conditions page."
|
| 934 |
+
msgstr "Entrez l’URL de votre page de Conditions Générales d’Utilisation."
|
| 935 |
+
|
| 936 |
+
#: main.php:793
|
| 937 |
msgid "Permission denied!"
|
| 938 |
msgstr "Permission refusée !"
|
| 939 |
|
| 940 |
+
#: main.php:869
|
| 941 |
msgid "Image"
|
| 942 |
msgstr "Image"
|
| 943 |
|
| 944 |
+
#: main.php:871
|
| 945 |
msgid "ID"
|
| 946 |
msgstr "ID "
|
| 947 |
|
| 948 |
+
#: main.php:873 sdm-post-type-and-taxonomy.php:56
|
| 949 |
msgid "Categories"
|
| 950 |
msgstr "Catégories"
|
| 951 |
|
| 952 |
+
#: main.php:874 sdm-post-type-and-taxonomy.php:80
|
| 953 |
msgid "Tags"
|
| 954 |
msgstr "Mots clés "
|
| 955 |
|
| 956 |
+
#: main.php:876
|
| 957 |
msgid "Date Posted"
|
| 958 |
msgstr "Date de Publication"
|
| 959 |
|
| 989 |
msgid "Parent Download"
|
| 990 |
msgstr "Téléchargement Parent"
|
| 991 |
|
| 992 |
+
#: sdm-post-type-and-taxonomy.php:46
|
| 993 |
+
msgid "Download Categories"
|
| 994 |
+
msgstr "Catégories de téléchargement"
|
| 995 |
+
|
| 996 |
+
#: sdm-post-type-and-taxonomy.php:47
|
| 997 |
+
msgid "Download Category"
|
| 998 |
+
msgstr "Catégorie de téléchargement"
|
| 999 |
+
|
| 1000 |
#: sdm-post-type-and-taxonomy.php:48
|
| 1001 |
msgid "Search Categories"
|
| 1002 |
msgstr "Chercher dans Catégories"
|
| 1029 |
msgid "New Category"
|
| 1030 |
msgstr "Nouvelle catégorie"
|
| 1031 |
|
| 1032 |
+
#: sdm-post-type-and-taxonomy.php:70
|
| 1033 |
+
msgid "Download Tags"
|
| 1034 |
+
msgstr "Étiquettes de téléchargement"
|
| 1035 |
+
|
| 1036 |
+
#: sdm-post-type-and-taxonomy.php:71
|
| 1037 |
+
msgid "Download Tag"
|
| 1038 |
+
msgstr "Étiquette de téléchargement"
|
| 1039 |
+
|
| 1040 |
#: sdm-post-type-and-taxonomy.php:72
|
| 1041 |
msgid "Search Tags"
|
| 1042 |
msgstr "Rechercher parmi les mots-clés"
|
| 1069 |
msgid "New Tag"
|
| 1070 |
msgstr "Nouveau tag"
|
| 1071 |
|
| 1072 |
+
#: sdm-shortcodes.php:81 sdm-shortcodes.php:142 sdm-shortcodes.php:156
|
| 1073 |
msgid "Error! Please enter an ID value with this shortcode."
|
| 1074 |
msgstr "Erreur ! Veuillez entrer une valeur d’ID avec ce raccourci."
|
| 1075 |
|
| 1076 |
+
#: sdm-shortcodes.php:189
|
| 1077 |
msgid ""
|
| 1078 |
"Error! You must enter a category slug OR a category id with this shortcode. "
|
| 1079 |
"Refer to the documentation for usage instructions."
|
| 1082 |
"raccourci. Reportez-vous à la documentation pour obtenir des instructions "
|
| 1083 |
"d’utilisation."
|
| 1084 |
|
| 1085 |
+
#: sdm-shortcodes.php:194
|
| 1086 |
msgid "Error! Please enter a category slug OR id; not both."
|
| 1087 |
msgstr "Erreur ! Veuillez saisir une catégorie OU un ID pas les deux."
|
| 1088 |
|
| 1089 |
+
#: sdm-shortcodes.php:224
|
| 1090 |
msgid ""
|
| 1091 |
"Error! You must enter a numeric number for the \"pagination\" parameter of "
|
| 1092 |
"the shortcode. Refer to the usage documentation."
|
| 1094 |
"Erreur ! Vous devez entrer un numéro numérique pour le paramètre "
|
| 1095 |
"\"pagination\" du code court. Reportez-vous à la documentation d’utilisation."
|
| 1096 |
|
| 1097 |
+
#: sdm-shortcodes.php:249
|
| 1098 |
msgid "There are no download items matching this category criteria."
|
| 1099 |
msgstr ""
|
| 1100 |
"Il n’y a pas de téléchargement correspondant à ces critères de catégorie."
|
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.6.
|
| 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.6.
|
| 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__));
|
|
@@ -865,9 +865,9 @@ function sdm_create_columns($cols) {
|
|
| 865 |
unset($cols['taxonomy-sdm_tags']);
|
| 866 |
unset($cols['taxonomy-sdm_categories']);
|
| 867 |
unset($cols['date']);
|
| 868 |
-
|
| 869 |
-
$cols['sdm_downloads_thumbnail'] = __('Image', 'simple-download-monitor');
|
| 870 |
$cols['title'] = __('Title', 'simple-download-monitor');
|
|
|
|
| 871 |
$cols['sdm_downloads_id'] = __('ID', 'simple-download-monitor');
|
| 872 |
$cols['sdm_downloads_file'] = __('File', 'simple-download-monitor');
|
| 873 |
$cols['taxonomy-sdm_categories'] = __('Categories', 'simple-download-monitor');
|
|
@@ -893,7 +893,7 @@ function sdm_downloads_columns_content($column_name, $post_ID) {
|
|
| 893 |
$old_thumbnail = get_post_meta($post_ID, 'sdm_upload_thumbnail', true);
|
| 894 |
//$old_value = isset($old_thumbnail) ? $old_thumbnail : '';
|
| 895 |
if ($old_thumbnail) {
|
| 896 |
-
echo '<p class="
|
| 897 |
}
|
| 898 |
}
|
| 899 |
if ($column_name == 'sdm_downloads_id') {
|
|
@@ -911,19 +911,6 @@ function sdm_downloads_columns_content($column_name, $post_ID) {
|
|
| 911 |
}
|
| 912 |
}
|
| 913 |
|
| 914 |
-
// Adjust admin column widths
|
| 915 |
-
add_action('admin_head', 'sdm_admin_column_width'); // Adjust column width in admin panel
|
| 916 |
-
|
| 917 |
-
function sdm_admin_column_width() {
|
| 918 |
-
|
| 919 |
-
echo '<style type="text/css">';
|
| 920 |
-
echo '.column-sdm_downloads_thumbnail { width:75px !important; overflow:hidden }';
|
| 921 |
-
echo '.column-sdm_downloads_id { width:100px !important; overflow:hidden }';
|
| 922 |
-
echo '.column-taxonomy-sdm_categories { width:200px !important; overflow:hidden }';
|
| 923 |
-
echo '.column-taxonomy-sdm_tags { width:200px !important; overflow:hidden }';
|
| 924 |
-
echo '</style>';
|
| 925 |
-
}
|
| 926 |
-
|
| 927 |
/*
|
| 928 |
* * Register Tinymce Button
|
| 929 |
*/
|
| 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.4
|
| 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.4');
|
| 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__));
|
| 865 |
unset($cols['taxonomy-sdm_tags']);
|
| 866 |
unset($cols['taxonomy-sdm_categories']);
|
| 867 |
unset($cols['date']);
|
| 868 |
+
|
|
|
|
| 869 |
$cols['title'] = __('Title', 'simple-download-monitor');
|
| 870 |
+
$cols['sdm_downloads_thumbnail'] = __('Image', 'simple-download-monitor');
|
| 871 |
$cols['sdm_downloads_id'] = __('ID', 'simple-download-monitor');
|
| 872 |
$cols['sdm_downloads_file'] = __('File', 'simple-download-monitor');
|
| 873 |
$cols['taxonomy-sdm_categories'] = __('Categories', 'simple-download-monitor');
|
| 893 |
$old_thumbnail = get_post_meta($post_ID, 'sdm_upload_thumbnail', true);
|
| 894 |
//$old_value = isset($old_thumbnail) ? $old_thumbnail : '';
|
| 895 |
if ($old_thumbnail) {
|
| 896 |
+
echo '<p class="sdm_downloads_thumbnail_in_admin_listing"><img src="' . $old_thumbnail . '" style="width:50px;height:50px;" /></p>';
|
| 897 |
}
|
| 898 |
}
|
| 899 |
if ($column_name == 'sdm_downloads_id') {
|
| 911 |
}
|
| 912 |
}
|
| 913 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 914 |
/*
|
| 915 |
* * Register Tinymce Button
|
| 916 |
*/
|
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.6.
|
| 8 |
License: GPLv2 or later
|
| 9 |
|
| 10 |
Easily manage downloadable files and monitor downloads of your digital files from your WordPress site.
|
|
@@ -181,6 +181,11 @@ For screenshots please visit the [download monitor plugin page](https://www.tips
|
|
| 181 |
|
| 182 |
== Changelog ==
|
| 183 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 184 |
= 3.6.3 =
|
| 185 |
- German translation file updated. Thanks to Thorsten.
|
| 186 |
- When there are multiple download now buttons on a page and the terms checkbox is enabled, it needs to be accepted on every download button.
|
| 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.4
|
| 8 |
License: GPLv2 or later
|
| 9 |
|
| 10 |
Easily manage downloadable files and monitor downloads of your digital files from your WordPress site.
|
| 181 |
|
| 182 |
== Changelog ==
|
| 183 |
|
| 184 |
+
= 3.6.4 =
|
| 185 |
+
- Switched the column location of "Title" and "Image" in the downloads admin interface. This helps with the downloads admin interface working better in all devices.
|
| 186 |
+
- Fixed a CSS class name in the "Image" column.
|
| 187 |
+
- French langauge file updated.
|
| 188 |
+
|
| 189 |
= 3.6.3 =
|
| 190 |
- German translation file updated. Thanks to Thorsten.
|
| 191 |
- When there are multiple download now buttons on a page and the terms checkbox is enabled, it needs to be accepted on every download button.
|
