Download Monitor - Version 1.4.0

Version Description

  • MP6/3.8 admin styling. Requires 3.8.
  • Polish translation.
  • Turkish translation.
  • Change capability required to view dashboard widget.
  • Don't show "insert download" when editing a download.
  • Allow pagination for the [downloads] shortcode. Simply add paginate=true to the shortcode.
  • Reverted flush change in download handler to reduce memory usage on some hosting envrionments
  • changed download handlers and fixed corruption when resuming files
  • Calculate md5/sha1/crc32 hashes for files. Obtainable via methods or download_data, e.g. [download_data id="86" data="md5"]
  • Added file_date data
Download this release

Release Info

Developer mikejolley
Plugin Icon 128x128 Download Monitor
Version 1.4.0
Comparing to
See all releases

Code changes from version 1.3.2 to 1.4.0

assets/css/admin.css CHANGED
@@ -1 +1 @@
1
- #dlm_logs td{padding:7px 7px;vertical-align:middle}#dlm_logs .column-status{width:4em}#dlm_logs td.column-status{font-size:10px;vertical-align:middle;text-align:center}#dlm_logs td.column-status span{color:#fff;font-weight:normal;-moz-border-radius:50%;-webkit-border-radius:50%;border-radius:50%;height:16px;line-height:16px;width:16px;display:inline-block}#dlm_logs td.column-status .failed{background-color:#df9d1d}#dlm_logs td.column-status .redirected{background-color:#74a721}#dlm_logs td.column-status .completed{background-color:#1c769b}#dlm_logs td.column-user_ip,#dlm_logs td.column-user_agent{font-family:monospace;font-weight:normal}#dlm_logs span.description{font-weight:normal}#dlm_logs .column-download,#dlm_logs .column-file,#dlm_logs .column-user,#dlm_logs .column-user_ua{width:16%!important}#dlm_logs .column-user_ip,#dlm_logs .column-date{width:6%!important}.icon32-posts-dlm_download{background:url(../images/downloads-icon.gif) no-repeat scroll -7px -5px!important}ul.download_monitor_file_browser{list-style:none outside;margin:0;border:1px solid #ddd;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;background:#f9f9f9;padding:5px 5px;-moz-box-shadow:inset 0 0 0 1px #fff;-webkit-box-shadow:inset 0 0 0 1px #fff;box-shadow:inset 0 0 0 1px #fff}ul.download_monitor_file_browser li{padding:0;margin:0}ul.download_monitor_file_browser li a{color:#21759b;display:block;padding:4px 0 4px 28px;background:#fff url(../images/filetype_icons/document.png) no-repeat 4px center;text-decoration:none}ul.download_monitor_file_browser li a:hover{background-color:#eaf2fa}ul.download_monitor_file_browser li a.folder{background-image:url(../images/folder-horizontal.png)}ul.download_monitor_file_browser li a.folder_open{background-image:url(../images/folder-horizontal-open.png)}ul.download_monitor_file_browser li a.filetype-html,ul.download_monitor_file_browser li a.filetype-js,ul.download_monitor_file_browser li a.filetype-htm,ul.download_monitor_file_browser li a.filetype-php,ul.download_monitor_file_browser li a.filetype-asp,ul.download_monitor_file_browser li a.filetype-css{background-image:url(../images/filetype_icons/document-code.png)}ul.download_monitor_file_browser li a.filetype-xlsx,ul.download_monitor_file_browser li a.filetype-xlsm,ul.download_monitor_file_browser li a.filetype-xlsb,ul.download_monitor_file_browser li a.filetype-xltx,ul.download_monitor_file_browser li a.filetype-xltm,ul.download_monitor_file_browser li a.filetype-xls,ul.download_monitor_file_browser li a.filetype-xlt{background-image:url(../images/filetype_icons/document-excel.png)}ul.download_monitor_file_browser li a.filetype-mov,ul.download_monitor_file_browser li a.filetype-avi,ul.download_monitor_file_browser li a.filetype-3g2,ul.download_monitor_file_browser li a.filetype-3gp,ul.download_monitor_file_browser li a.filetype-asf,ul.download_monitor_file_browser li a.filetype-asx,ul.download_monitor_file_browser li a.filetype-mp4,ul.download_monitor_file_browser li a.filetype-mpg,ul.download_monitor_file_browser li a.filetype-rm,ul.download_monitor_file_browser li a.filetype-srt,ul.download_monitor_file_browser li a.filetype-vob,ul.download_monitor_file_browser li a.filetype-wmv{background-image:url(../images/filetype_icons/document-film.png)}ul.download_monitor_file_browser li a.filetype-flv,ul.download_monitor_file_browser li a.filetype-swf{background-image:url(../images/filetype_icons/document-flash-movie.png)}ul.download_monitor_file_browser li a.filetype-ai,ul.download_monitor_file_browser li a.filetype-eps,ul.download_monitor_file_browser li a.filetype-ps,ul.download_monitor_file_browser li a.filetype-svg{background-image:url(../images/filetype_icons/document-illustrator.png)}ul.download_monitor_file_browser li a.filetype-bmp,ul.download_monitor_file_browser li a.filetype-dds,ul.download_monitor_file_browser li a.filetype-gif,ul.download_monitor_file_browser li a.filetype-jpg,ul.download_monitor_file_browser li a.filetype-jpeg,ul.download_monitor_file_browser li a.filetype-png,ul.download_monitor_file_browser li a.filetype-pspimage,ul.download_monitor_file_browser li a.filetype-tga,ul.download_monitor_file_browser li a.filetype-thm,ul.download_monitor_file_browser li a.filetype-tif,ul.download_monitor_file_browser li a.filetype-yuv,ul.download_monitor_file_browser li a.filetype-ico{background-image:url(../images/filetype_icons/document-image.png)}ul.download_monitor_file_browser li a.filetype-mp3,ul.download_monitor_file_browser li a.filetype-aif,ul.download_monitor_file_browser li a.filetype-iff,ul.download_monitor_file_browser li a.filetype-m3u,ul.download_monitor_file_browser li a.filetype-m4a,ul.download_monitor_file_browser li a.filetype-mid,ul.download_monitor_file_browser li a.filetype-midi,ul.download_monitor_file_browser li a.filetype-mpa,ul.download_monitor_file_browser li a.filetype-ra,ul.download_monitor_file_browser li a.filetype-wav,ul.download_monitor_file_browser li a.filetype-wma{background-image:url(../images/filetype_icons/document-music.png)}ul.download_monitor_file_browser li a.filetype-pdf{background-image:url(../images/filetype_icons/document-pdf.png)}ul.download_monitor_file_browser li a.filetype-psd{background-image:url(../images/filetype_icons/document-photoshop.png)}ul.download_monitor_file_browser li a.filetype-pps,ul.download_monitor_file_browser li a.filetype-ppt,ul.download_monitor_file_browser li a.filetype-pptx{background-image:url(../images/filetype_icons/document-powerpoint.png)}ul.download_monitor_file_browser li a.filetype-rtf,ul.download_monitor_file_browser li a.filetype-wpd,ul.download_monitor_file_browser li a.filetype-wps,ul.download_monitor_file_browser li a.filetype-odt,ul.download_monitor_file_browser li a.filetype-pages{background-image:url(../images/filetype_icons/document-text-image.png)}ul.download_monitor_file_browser li a.filetype-txt,ul.download_monitor_file_browser li a.filetype-tex,ul.download_monitor_file_browser li a.filetype-wps,ul.download_monitor_file_browser li a.filetype-odt,ul.download_monitor_file_browser li a.filetype-log,ul.download_monitor_file_browser li a.filetype-csv,ul.download_monitor_file_browser li a.filetype-xml{background-image:url(../images/filetype_icons/document-text.png)}ul.download_monitor_file_browser li a.filetype-doc,ul.download_monitor_file_browser li a.filetype-docx{background-image:url(../images/filetype_icons/document-word-text.png)}ul.download_monitor_file_browser li a.filetype-7z,ul.download_monitor_file_browser li a.filetype-zip,ul.download_monitor_file_browser li a.filetype-rar,ul.download_monitor_file_browser li a.filetype-zipx,ul.download_monitor_file_browser li a.filetype-sit,ul.download_monitor_file_browser li a.filetype-sitx,ul.download_monitor_file_browser li a.filetype-gz,ul.download_monitor_file_browser li a.filetype-tax-gz{background-image:url(../images/filetype_icons/document-zipper.png)}ul.download_monitor_file_browser li.nofiles{color:#999;font-style:italic;padding:4px 0}ul.download_monitor_file_browser li ul{list-style:none outside;margin:0;padding:0 0 0 28px}ul.download_monitor_file_browser li ul.loading{background:url(../images/ajax-loader.gif) no-repeat 24px 0;height:32px}table.wp-list-table .column-thumb{width:52px;text-align:center;white-space:nowrap}table.wp-list-table .column-dlm_download_cat,table.wp-list-table .column-dlm_download_tag,table.wp-list-table .column-file{width:11%!important}table.wp-list-table .column-download_id,table.wp-list-table .column-version{width:6%}table.wp-list-table td.column-members_only,table.wp-list-table td.column-redirect_only,table.wp-list-table td.column-featured{width:46px;text-align:left;padding-left:11px}table.wp-list-table td.column-download_count{width:6%;text-align:left;padding-left:11px}table.wp-list-table th.column-members_only,table.wp-list-table th.column-redirect_only,table.wp-list-table th.column-featured{width:46px}table.wp-list-table th.column-members_only img,table.wp-list-table th.column-redirect_only img,table.wp-list-table th.column-featured img{padding-top:3px!important}table.wp-list-table th.column-download_count{width:6%}table.wp-list-table th.column-download_count img{padding-top:3px!important}table.wp-list-table img{margin:1px 2px}table.wp-list-table .column-thumb img{padding:2px;margin:0;border:1px solid #dfdfdf;vertical-align:middle;width:32px;height:32px}table.wp-list-table span.na{color:#999}#download-monitor-file .inside{padding:0;margin:0}#download-monitor-file .dlm-metaboxes-wrapper .expand_all,#download-monitor-file .dlm-metaboxes-wrapper .close_all{float:right;margin-left:9px;line-height:22px}#download-monitor-file .dlm-metaboxes-wrapper .expand_all{padding-left:14px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAI0lEQVQYV2PcvXv3fwY8gJEoBa6urozYDAFpBpswGBTg8yYA3kYtiYVhDhIAAAAASUVORK5CYII=) no-repeat left}#download-monitor-file .dlm-metaboxes-wrapper .close_all{padding-left:14px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAHUlEQVQYV2NkIAAYd+/e/R+fGsIKCFpBUAHt3QAASf0MyQbFJwoAAAAASUVORK5CYII=) no-repeat left}#download-monitor-file .dlm-metaboxes-wrapper p.toolbar{margin:0!important;border-top:1px solid white;border-bottom:1px solid #dfdfdf;padding:7px 12px!important;overflow:hidden;zoom:1}#download-monitor-file .dlm-metaboxes-wrapper p.toolbar a.button{float:left;margin:0}#download-monitor-file .dlm-metaboxes-wrapper select.attribute_taxonomy,#download-monitor-file .dlm-metaboxes-wrapper button.add_attribute,#download-monitor-file .dlm-metaboxes-wrapper button.add_variable_attribute,#download-monitor-file .dlm-metaboxes-wrapper .fr{float:right;margin:0 0 0 6px}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metaboxes{padding:0 12px 0}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox-sortable-placeholder{border-color:#bbb;background-color:#f5f5f5;margin:9px 0;border-width:1px;border-style:dashed}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox{background:#ececec;border:1px solid #ececec;margin:9px 0!important}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox h3{margin:0!important;padding:6px!important;font-size:1em!important;overflow:hidden;zoom:1;cursor:move}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox h3 button{float:right}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox h3 strong{font-weight:normal;line-height:24px}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox h3 select{font-family:sans-serif}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox h3 .handlediv{background-position:6px 5px!important;display:none;height:24px}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox:hover h3 .handlediv{display:block}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table{width:100%;position:relative;background:#fff;padding:3px}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table td{text-align:left;padding:6px 6px;vertical-align:top;border:0;line-height:26px}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table td label{text-align:left;display:block;line-height:21px}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table td input{float:left;min-width:200px}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table td input,#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table td textarea{width:100%;margin:0;display:block;font-size:14px;padding:4px;color:#555}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table td textarea{height:7.5em}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table td select{width:100%}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table td input.short{width:200px}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table td input.checkbox{width:auto;min-width:inherit;vertical-align:middle;display:inline;float:none}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table td input.date-picker-field{width:50%;min-width:inherit;float:none;display:inline}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table td input.minute,#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table td input.hour{width:2em;min-width:inherit;float:none;display:inline}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table td.attribute_name{width:200px}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table .plus,#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table .minus{margin-top:6px}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table .fl{float:left}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table .fr{float:right}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox:first-child h3{background:#eaf2fa;background-image:linear-gradient(bottom,#dae6f2 0,#eaf2fa 100%);background-image:-o-linear-gradient(bottom,#dae6f2 0,#eaf2fa 100%);background-image:-moz-linear-gradient(bottom,#dae6f2 0,#eaf2fa 100%);background-image:-webkit-linear-gradient(bottom,#dae6f2 0,#eaf2fa 100%);background-image:-ms-linear-gradient(bottom,#dae6f2 0,#eaf2fa 100%);background-image:-webkit-gradient(linear,left bottom,left top,color-stop(0,#dae6f2),color-stop(1,#eaf2fa));border-color:#d3deea;color:#21759b}#download-monitor-file .dlm-metaboxes-wrapper .plus{padding-left:20px;background:#fefefe url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAARklEQVQYGWP8//8/AzGACV3Rnj17/oMwujiGQnQFMD7RChlBbsRmFcwkEO3i4sJImonIumGmg0xBFifaRKIVgj2DbAUuNgCfThpracSKqwAAAABJRU5ErkJggg==) no-repeat 7px 5px}#download-monitor-file .dlm-metaboxes-wrapper .minus{padding-left:20px;background:#fefefe url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAKUlEQVQYlWP8//8/Az7AhFeWGAUsDAwMDHv27MFqj4uLCyNBExhp70gAohwKC5KJ+HQAAAAASUVORK5CYII=) no-repeat 7px 6px}#download-monitor-file .dlm-metaboxes-wrapper .dlm_upload_file{padding-left:20px;background:#fefefe url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAMklEQVQYV2NkQAK7d+/+D+K6uroywoThDJgkTAKmCKwAXRJZESMuSQwrkE3C6gbaKQAAYS4fOXZlROQAAAAASUVORK5CYII=) no-repeat 7px 5px}#download-monitor-file .dlm-metaboxes-wrapper .dlm_browse_for_file{padding-left:20px;background:#fefefe url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAK0lEQVQYV2NkIAAYd+/e/R+mxtXVlRFdPYoCbIaBFWDTCVIMkqOXAnw+BQCbpycpLX4gIQAAAABJRU5ErkJggg==) no-repeat 7px 5px}#download-monitor-options .inside{padding:0;margin:0}#download-monitor-options .form-field-checkbox label{display:inline;padding:0 0 4px}#download-monitor-options .form-field-checkbox input{display:inline;width:auto;vertical-align:middle}#download-monitor-options .form-field-checkbox .description{padding:4px 0 0 0;display:block}#download-monitor-options .access_permissions{margin:0!important;border-top:1px solid white;border-bottom:1px solid #dfdfdf;padding:7px 12px!important;overflow:hidden;zoom:1}#download-monitor-options .access_permissions h4{margin-bottom:.5em;margin:0 0 .5em}#download-monitor-options .access_permissions ul{background:#fff;border:1px solid #dfdfdf;height:110px;overflow:auto;padding:.5em .9em;margin:0}#download-monitor-options p{margin:0!important;border-top:1px solid white;border-bottom:1px solid #dfdfdf;padding:7px 12px!important;overflow:hidden;zoom:1}#insert-download{padding:20px 20px}#insert-download .updated,#insert-download .error{margin-left:0;margin-right:0}#insert-download h2{margin-top:0}#insert-download label{margin:0 0 .25em 0;display:block;font-size:1.1em}#insert-download span.description{display:block}#insert-download select.input,#insert-download input.input{margin:0 0 .25em 0;display:block;width:100%;font-size:1.1em}#insert-download .add_link{float:right}.dlm_addons_wrap .items{overflow:hidden}.dlm_addons_wrap .items li{display:inline-block;margin:0 10px 10px 0!important;padding:0;vertical-align:top;width:250px;border:1px solid #ddd;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.2),inset 0 -1px 0 rgba(0,0,0,0.1);box-shadow:inset 0 1px 0 rgba(255,255,255,0.2),inset 0 -1px 0 rgba(0,0,0,0.1);overflow:hidden;position:relative}.dlm_addons_wrap .items li a{color:inherit;text-decoration:none}.dlm_addons_wrap .items li img{max-width:100%;height:auto;display:block;margin:0;background:#fff}.dlm_addons_wrap .items li h2{margin:0!important;padding:10px 20px!important;line-height:1;background:rgba(255,255,255,0.8);color:#000;position:absolute;max-width:280px;top:20px;left:0;font-size:18px;text-shadow:none}.dlm_addons_wrap .items li .third_party{display:none}.dlm_addons_wrap .items li p{padding:20px!important;margin:0!important;border-top:1px solid #f1f1f1}.dlm_addons_wrap .items li .cost{display:none}
1
+ #dlm_logs td{padding:7px;vertical-align:middle}#dlm_logs .column-status{width:4em}#dlm_logs td.column-status{font-size:10px;vertical-align:middle;text-align:center}#dlm_logs td.column-status span{color:#fff;font-weight:400;-moz-border-radius:50%;-webkit-border-radius:50%;border-radius:50%;height:16px;line-height:16px;width:16px;display:inline-block}#dlm_logs td.column-status .failed{background-color:#df9d1d}#dlm_logs td.column-status .redirected{background-color:#74a721}#dlm_logs td.column-status .completed{background-color:#1c769b}#dlm_logs td.column-user_ip,#dlm_logs td.column-user_agent{font-family:monospace;font-weight:400}#dlm_logs span.description{font-weight:400}#dlm_logs .column-download,#dlm_logs .column-file,#dlm_logs .column-user,#dlm_logs .column-user_ua{width:16%!important}#dlm_logs .column-user_ip,#dlm_logs .column-date{width:6%!important}ul.download_monitor_file_browser{list-style:none outside;margin:0;border:1px solid #ddd;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;background:#f9f9f9;padding:5px;-moz-box-shadow:inset 0 0 0 1px #fff;-webkit-box-shadow:inset 0 0 0 1px #fff;box-shadow:inset 0 0 0 1px #fff}ul.download_monitor_file_browser li{padding:0;margin:0}ul.download_monitor_file_browser li a{color:#21759B;display:block;padding:4px 0 4px 4px;text-decoration:none}ul.download_monitor_file_browser li a:hover{background-color:#eaf2fa}ul.download_monitor_file_browser li a:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f123";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}ul.download_monitor_file_browser li a.folder:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f318";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}ul.download_monitor_file_browser li a.filetype-mov:before,ul.download_monitor_file_browser li a.filetype-avi:before,ul.download_monitor_file_browser li a.filetype-3g2:before,ul.download_monitor_file_browser li a.filetype-3gp:before,ul.download_monitor_file_browser li a.filetype-asf:before,ul.download_monitor_file_browser li a.filetype-asx:before,ul.download_monitor_file_browser li a.filetype-mp4:before,ul.download_monitor_file_browser li a.filetype-mpg:before,ul.download_monitor_file_browser li a.filetype-rm:before,ul.download_monitor_file_browser li a.filetype-srt:before,ul.download_monitor_file_browser li a.filetype-vob:before,ul.download_monitor_file_browser li a.filetype-wmv:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f126";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}ul.download_monitor_file_browser li a.filetype-mp3:before,ul.download_monitor_file_browser li a.filetype-aif:before,ul.download_monitor_file_browser li a.filetype-iff:before,ul.download_monitor_file_browser li a.filetype-m3u:before,ul.download_monitor_file_browser li a.filetype-m4a:before,ul.download_monitor_file_browser li a.filetype-mid:before,ul.download_monitor_file_browser li a.filetype-midi:before,ul.download_monitor_file_browser li a.filetype-mpa:before,ul.download_monitor_file_browser li a.filetype-ra:before,ul.download_monitor_file_browser li a.filetype-wav:before,ul.download_monitor_file_browser li a.filetype-wma:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f127";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}ul.download_monitor_file_browser li a.filetype-psd:before,ul.download_monitor_file_browser li a.filetype-ai:before,ul.download_monitor_file_browser li a.filetype-eps:before,ul.download_monitor_file_browser li a.filetype-ps:before,ul.download_monitor_file_browser li a.filetype-svg:before,ul.download_monitor_file_browser li a.filetype-bmp:before,ul.download_monitor_file_browser li a.filetype-dds:before,ul.download_monitor_file_browser li a.filetype-gif:before,ul.download_monitor_file_browser li a.filetype-jpg:before,ul.download_monitor_file_browser li a.filetype-jpeg:before,ul.download_monitor_file_browser li a.filetype-png:before,ul.download_monitor_file_browser li a.filetype-pspimage:before,ul.download_monitor_file_browser li a.filetype-tga:before,ul.download_monitor_file_browser li a.filetype-thm:before,ul.download_monitor_file_browser li a.filetype-tif:before,ul.download_monitor_file_browser li a.filetype-yuv:before,ul.download_monitor_file_browser li a.filetype-ico:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f128";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}ul.download_monitor_file_browser li.nofiles{color:#999;font-style:italic;padding:4px 0}ul.download_monitor_file_browser li ul{list-style:none outside;margin:0;padding:0 0 0 28px}ul.download_monitor_file_browser li ul.loading{background:url(../images/ajax-loader.gif) no-repeat 24px 0;height:32px}table.wp-list-table .column-thumb{width:44px;text-align:center;white-space:nowrap}table.wp-list-table .column-dlm_download_cat,table.wp-list-table .column-dlm_download_tag,table.wp-list-table .column-file{width:11%!important}table.wp-list-table .column-title,table.wp-list-table .column-file{width:17%!important}table.wp-list-table .column-download_id,table.wp-list-table .column-version{width:5em}table.wp-list-table th.column-thumb span:first-child,table.wp-list-table th.column-download_count span:first-child,table.wp-list-table th.column-members_only span:first-child,table.wp-list-table th.column-redirect_only span:first-child,table.wp-list-table th.column-featured span:first-child{float:none;display:inline-block;width:1em;height:1em;line-height:1em;padding:2px 0 0;overflow:hidden}table.wp-list-table th.column-thumb .sorting-indicator,table.wp-list-table th.column-download_count .sorting-indicator,table.wp-list-table th.column-members_only .sorting-indicator,table.wp-list-table th.column-redirect_only .sorting-indicator,table.wp-list-table th.column-featured .sorting-indicator{float:right}table.wp-list-table th.column-thumb{width:52px;text-align:center}table.wp-list-table th.column-thumb span:first-child:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f128";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}table.wp-list-table th.column-download_count{width:5em}table.wp-list-table th.column-download_count span:first-child:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f346";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}table.wp-list-table th.column-members_only{width:3.5em}table.wp-list-table th.column-members_only span:first-child:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f338";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}table.wp-list-table th.column-redirect_only{width:3.5em}table.wp-list-table th.column-redirect_only span:first-child:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f103";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}table.wp-list-table th.column-featured{width:3.5em}table.wp-list-table th.column-featured span:first-child:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f155";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}table.wp-list-table td.column-download_count,table.wp-list-table td.column-members_only,table.wp-list-table td.column-redirect_only,table.wp-list-table td.column-featured{text-align:left;padding-left:11px}table.wp-list-table td.column-download_count span.na,table.wp-list-table td.column-members_only span.na,table.wp-list-table td.column-redirect_only span.na,table.wp-list-table td.column-featured span.na{color:#999;width:1em;height:1em;line-height:1em;display:inline-block;overflow:hidden;vertical-align:middle}table.wp-list-table td.column-download_count span.na:before,table.wp-list-table td.column-members_only span.na:before,table.wp-list-table td.column-redirect_only span.na:before,table.wp-list-table td.column-featured span.na:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f460";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}table.wp-list-table td.column-download_count span.yes,table.wp-list-table td.column-members_only span.yes,table.wp-list-table td.column-redirect_only span.yes,table.wp-list-table td.column-featured span.yes{width:1em;height:1em;line-height:1em;display:inline-block;overflow:hidden;vertical-align:middle}table.wp-list-table td.column-download_count span.yes:before,table.wp-list-table td.column-members_only span.yes:before,table.wp-list-table td.column-redirect_only span.yes:before,table.wp-list-table td.column-featured span.yes:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f147";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}table.wp-list-table .column-thumb img{padding:2px;margin:0;border:1px solid #dfdfdf;vertical-align:middle;width:32px;height:32px}#download-monitor-file .inside{padding:0;margin:0}#download-monitor-file .dlm-metaboxes-wrapper .expand_all,#download-monitor-file .dlm-metaboxes-wrapper .close_all{float:right;margin-left:1em;line-height:22px;text-decoration:none}#download-monitor-file .dlm-metaboxes-wrapper .expand_all:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f168";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}#download-monitor-file .dlm-metaboxes-wrapper .close_all:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f460";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}#download-monitor-file .dlm-metaboxes-wrapper p.toolbar{margin:0!important;border-top:1px solid #fff;border-bottom:1px solid #DFDFDF;padding:7px 12px!important;overflow:hidden;zoom:1}#download-monitor-file .dlm-metaboxes-wrapper p.toolbar a.button{float:left;margin:0}#download-monitor-file .dlm-metaboxes-wrapper select.attribute_taxonomy,#download-monitor-file .dlm-metaboxes-wrapper button.add_attribute,#download-monitor-file .dlm-metaboxes-wrapper button.add_variable_attribute,#download-monitor-file .dlm-metaboxes-wrapper .fr{float:right;margin:0 0 0 6px}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metaboxes{padding:0 12px}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox-sortable-placeholder{border-color:#bbb;background-color:#f5f5f5;margin:9px 0;border-width:1px;border-style:dashed}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox{background:#ececec;border:1px solid #ececec;margin:9px 0!important}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox h3{margin:0!important;padding:6px!important;font-size:1em!important;overflow:hidden;zoom:1;cursor:move}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox h3 button{float:right}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox h3 strong{font-weight:400;line-height:24px}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox h3 select{font-family:sans-serif}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox h3 .handlediv{background-position:6px 5px!important;display:none;height:24px}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox:hover h3 .handlediv{display:block}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table{width:100%;position:relative;background:#fff;padding:3px}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table td{text-align:left;padding:6px;vertical-align:top;border:0;line-height:26px}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table td label{text-align:left;display:block;line-height:21px}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table td input{float:left;min-width:200px}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table td input,#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table td textarea{width:100%;margin:0;display:block;font-size:14px;padding:4px;color:#555}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table td textarea{height:7.5em}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table td select{width:100%}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table td input.short{width:200px}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table td input.checkbox{width:auto;min-width:inherit;vertical-align:middle;display:inline;float:none}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table td input.date-picker-field{width:50%;min-width:inherit;float:none;display:inline}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table td input.minute,#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table td input.hour{width:2em;min-width:inherit;float:none;display:inline}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table td.attribute_name{width:200px}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table .plus,#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table .minus{margin-top:6px}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table .fl{float:left}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox table .fr{float:right}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox:first-child{}#download-monitor-file .dlm-metaboxes-wrapper .dlm-metabox:first-child h3{background:#EAF2FA;background-image:linear-gradient(bottom,#dae6f2 0,#eaf2fa 100%);background-image:-o-linear-gradient(bottom,#dae6f2 0,#eaf2fa 100%);background-image:-moz-linear-gradient(bottom,#dae6f2 0,#eaf2fa 100%);background-image:-webkit-linear-gradient(bottom,#dae6f2 0,#eaf2fa 100%);background-image:-ms-linear-gradient(bottom,#dae6f2 0,#eaf2fa 100%);background-image:-webkit-gradient(linear,left bottom,left top,color-stop(0,#dae6f2),color-stop(1,#eaf2fa));border-color:#d3deea;color:#21759B}#download-monitor-file .dlm-metaboxes-wrapper .plus:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f132";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}#download-monitor-file .dlm-metaboxes-wrapper .minus:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f460";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}#download-monitor-file .dlm-metaboxes-wrapper .dlm_upload_file:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f317";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}#download-monitor-file .dlm-metaboxes-wrapper .dlm_browse_for_file:before{font-family:dashicons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0 4px 0 0;content:"\f322";top:1px;left:-1px;font-size:1em;line-height:inherit;position:relative;vertical-align:top}#download-monitor-options .inside{padding:0;margin:0}#download-monitor-options .form-field-checkbox label{display:inline;padding:0 0 4px}#download-monitor-options .form-field-checkbox input{display:inline-block;width:auto;vertical-align:middle}#download-monitor-options .form-field-checkbox .description{padding:4px 0 0;display:block}#download-monitor-options .access_permissions{margin:0!important;border-top:1px solid #fff;border-bottom:1px solid #DFDFDF;padding:7px 12px!important;overflow:hidden;zoom:1}#download-monitor-options .access_permissions h4{margin-bottom:.5em;margin:0 0 .5em}#download-monitor-options .access_permissions ul{background:#fff;border:1px solid #dfdfdf;height:110px;overflow:auto;padding:.5em .9em;margin:0}#download-monitor-options p{margin:0!important;border-top:1px solid #fff;border-bottom:1px solid #DFDFDF;padding:7px 12px!important;overflow:hidden;zoom:1}#insert-download{padding:20px}#insert-download .updated,#insert-download .error{margin-left:0;margin-right:0}#insert-download h2{margin-top:0}#insert-download label{margin:0 0 .25em;display:block;font-size:1.1em}#insert-download span.description{display:block}#insert-download select.input,#insert-download input.input{margin:0 0 .25em;display:block;width:100%;font-size:1.1em}#insert-download .add_link{float:right}.dlm_addons_wrap .items{overflow:hidden}.dlm_addons_wrap .items li{display:inline-block;margin:0 10px 10px 0!important;padding:0;vertical-align:top;width:250px;border:1px solid #ddd;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),inset 0 -1px 0 rgba(0,0,0,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),inset 0 -1px 0 rgba(0,0,0,.1);overflow:hidden;position:relative}.dlm_addons_wrap .items li a{color:inherit;text-decoration:none}.dlm_addons_wrap .items li img{max-width:100%;height:auto;display:block;margin:0;background:#fff}.dlm_addons_wrap .items li h2{margin:0!important;padding:10px 20px!important;line-height:1;background:rgba(255,255,255,.8);color:#000;position:absolute;max-width:280px;top:20px;left:0;font-size:18px;text-shadow:none}.dlm_addons_wrap .items li .third_party{display:none}.dlm_addons_wrap .items li p{padding:20px!important;margin:0!important;border-top:1px solid #f1f1f1}.dlm_addons_wrap .items li .cost{display:none}
assets/css/admin.less CHANGED
@@ -1,3 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  /* Logs */
2
  #dlm_logs {
3
  td {
@@ -47,11 +65,6 @@
47
  }
48
  }
49
 
50
- /* Admin icon */
51
- .icon32-posts-dlm_download {
52
- background: url(../images/downloads-icon.gif) no-repeat scroll -7px -5px !important;
53
- }
54
-
55
  /* File lists */
56
  ul.download_monitor_file_browser {
57
  list-style: none outside;
@@ -72,45 +85,39 @@ ul.download_monitor_file_browser {
72
  a {
73
  color: #21759B;
74
  display: block;
75
- padding: 4px 0 4px 28px;
76
- background: #fff url(../images/filetype_icons/document.png) no-repeat 4px center;
77
  text-decoration: none;
78
 
79
  &:hover {
80
  background-color: #eaf2fa;
81
  }
 
 
 
 
 
 
82
 
83
- &.folder { background-image: url(../images/folder-horizontal.png); }
84
-
85
- &.folder_open { background-image: url(../images/folder-horizontal-open.png); }
86
-
87
- &.filetype-html, &.filetype-js, &.filetype-htm, &.filetype-php, &.filetype-asp, &.filetype-css { background-image: url(../images/filetype_icons/document-code.png); }
88
-
89
- &.filetype-xlsx, &.filetype-xlsm, &.filetype-xlsb, &.filetype-xltx, &.filetype-xltm, &.filetype-xls, &.filetype-xlt { background-image: url(../images/filetype_icons/document-excel.png); }
90
-
91
- &.filetype-mov, &.filetype-avi, &.filetype-3g2, &.filetype-3gp, &.filetype-asf, &.filetype-asx, &.filetype-mp4, &.filetype-mpg, &.filetype-rm, &.filetype-srt, &.filetype-vob, &.filetype-wmv { background-image: url(../images/filetype_icons/document-film.png); }
92
-
93
- &.filetype-flv, &.filetype-swf { background-image: url(../images/filetype_icons/document-flash-movie.png); }
94
-
95
- &.filetype-ai, &.filetype-eps, &.filetype-ps, &.filetype-svg { background-image: url(../images/filetype_icons/document-illustrator.png); }
96
-
97
- &.filetype-bmp, &.filetype-dds, &.filetype-gif, &.filetype-jpg, &.filetype-jpeg, &.filetype-png, &.filetype-pspimage, &.filetype-tga, &.filetype-thm, &.filetype-tif, &.filetype-yuv, &.filetype-ico { background-image: url(../images/filetype_icons/document-image.png); }
98
-
99
- &.filetype-mp3, &.filetype-aif, &.filetype-iff, &.filetype-m3u, &.filetype-m4a, &.filetype-mid, &.filetype-midi, &.filetype-mpa, &.filetype-ra, &.filetype-wav, &.filetype-wma { background-image: url(../images/filetype_icons/document-music.png); }
100
-
101
- &.filetype-pdf { background-image: url(../images/filetype_icons/document-pdf.png); }
102
-
103
- &.filetype-psd { background-image: url(../images/filetype_icons/document-photoshop.png); }
104
-
105
- &.filetype-pps, &.filetype-ppt, &.filetype-pptx { background-image: url(../images/filetype_icons/document-powerpoint.png); }
106
-
107
- &.filetype-rtf, &.filetype-wpd, &.filetype-wps, &.filetype-odt, &.filetype-pages { background-image: url(../images/filetype_icons/document-text-image.png); }
108
-
109
- &.filetype-txt, &.filetype-tex, &.filetype-wps, &.filetype-odt, &.filetype-log, &.filetype-csv, &.filetype-xml { background-image: url(../images/filetype_icons/document-text.png); }
110
 
111
- &.filetype-doc, &.filetype-docx { background-image: url(../images/filetype_icons/document-word-text.png); }
 
 
 
 
 
112
 
113
- &.filetype-7z, &.filetype-zip, &.filetype-rar, &.filetype-zipx, &.filetype-sit, &.filetype-sitx, &.filetype-gz, &.filetype-tax-gz { background-image: url(../images/filetype_icons/document-zipper.png); }
 
 
 
 
 
114
  }
115
 
116
  &.nofiles {
@@ -135,40 +142,100 @@ ul.download_monitor_file_browser {
135
  /* Download list */
136
  table.wp-list-table {
137
  .column-thumb {
138
- width: 52px;
139
  text-align: center;
140
  white-space: nowrap
141
  }
142
  .column-dlm_download_cat, .column-dlm_download_tag, .column-file {
143
  width: 11% !important;
144
  }
 
 
 
145
  .column-download_id, .column-version {
146
- width: 6%;
147
  }
148
- td.column-members_only, td.column-redirect_only, td.column-featured {
149
- width: 46px;
150
- text-align: left;
151
- padding-left: 11px;
 
 
 
 
 
 
 
 
 
152
  }
153
- td.column-download_count {
154
- width: 6%;
155
- text-align: left;
156
- padding-left: 11px;
 
 
 
 
 
 
 
 
 
 
 
 
157
  }
158
- th.column-members_only, th.column-redirect_only, th.column-featured {
159
- width: 46px;
160
- img {
161
- padding-top: 3px !important;
 
 
162
  }
163
  }
164
- th.column-download_count {
165
- width: 6%;
166
- img {
167
- padding-top: 3px !important;
 
 
 
 
 
 
 
 
 
 
168
  }
169
  }
170
- img {
171
- margin: 1px 2px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
172
  }
173
  .column-thumb img {
174
  padding: 2px;
@@ -178,9 +245,6 @@ table.wp-list-table {
178
  width: 32px;
179
  height: 32px;
180
  }
181
- span.na {
182
- color: #999;
183
- }
184
  }
185
 
186
  /* Meta boxes */
@@ -192,16 +256,19 @@ table.wp-list-table {
192
  .dlm-metaboxes-wrapper {
193
  .expand_all, .close_all {
194
  float: right;
195
- margin-left: 9px;
196
  line-height: 22px;
 
197
  }
198
  .expand_all {
199
- padding-left: 14px;
200
- background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAI0lEQVQYV2PcvXv3fwY8gJEoBa6urozYDAFpBpswGBTg8yYA3kYtiYVhDhIAAAAASUVORK5CYII=) no-repeat left;
 
201
  }
202
  .close_all {
203
- padding-left: 14px;
204
- background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAHUlEQVQYV2NkIAAYd+/e/R+fGsIKCFpBUAHt3QAASf0MyQbFJwoAAAAASUVORK5CYII=) no-repeat left;
 
205
  }
206
  p.toolbar {
207
  margin: 0 !important;
@@ -352,21 +419,17 @@ table.wp-list-table {
352
  }
353
  }
354
  }
355
- .plus {
356
- padding-left: 20px;
357
- background: #fefefe url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAARklEQVQYGWP8//8/AzGACV3Rnj17/oMwujiGQnQFMD7RChlBbsRmFcwkEO3i4sJImonIumGmg0xBFifaRKIVgj2DbAUuNgCfThpracSKqwAAAABJRU5ErkJggg==) no-repeat 7px 5px;
358
  }
359
- .minus {
360
- padding-left: 20px;
361
- background: #fefefe url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAKUlEQVQYlWP8//8/Az7AhFeWGAUsDAwMDHv27MFqj4uLCyNBExhp70gAohwKC5KJ+HQAAAAASUVORK5CYII=) no-repeat 7px 6px;
362
  }
363
- .dlm_upload_file {
364
- padding-left: 20px;
365
- background: #fefefe url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAMklEQVQYV2NkQAK7d+/+D+K6uroywoThDJgkTAKmCKwAXRJZESMuSQwrkE3C6gbaKQAAYS4fOXZlROQAAAAASUVORK5CYII=) no-repeat 7px 5px;
366
  }
367
- .dlm_browse_for_file {
368
- padding-left: 20px;
369
- background: #fefefe url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAK0lEQVQYV2NkIAAYd+/e/R+mxtXVlRFdPYoCbIaBFWDTCVIMkqOXAnw+BQCbpycpLX4gIQAAAABJRU5ErkJggg==) no-repeat 7px 5px;
370
  }
371
  }
372
  }
@@ -383,7 +446,7 @@ table.wp-list-table {
383
  padding: 0 0 4px;
384
  }
385
  input {
386
- display: inline;
387
  width: auto;
388
  vertical-align: middle;
389
  }
1
+ .iconbefore( @glyph: "\f333" ) {
2
+ font-family: dashicons !important;
3
+ speak: none;
4
+ font-weight: normal;
5
+ font-variant: normal;
6
+ text-transform: none;
7
+ -webkit-font-smoothing: antialiased;
8
+ -moz-osx-font-smoothing: grayscale;
9
+ margin: 0 4px 0 0;
10
+ content: @glyph;
11
+ top: 1px;
12
+ left: -1px;
13
+ font-size: 1em;
14
+ line-height: inherit;
15
+ position: relative;
16
+ vertical-align: top;
17
+ }
18
+
19
  /* Logs */
20
  #dlm_logs {
21
  td {
65
  }
66
  }
67
 
 
 
 
 
 
68
  /* File lists */
69
  ul.download_monitor_file_browser {
70
  list-style: none outside;
85
  a {
86
  color: #21759B;
87
  display: block;
88
+ padding: 4px 0 4px 4px;
 
89
  text-decoration: none;
90
 
91
  &:hover {
92
  background-color: #eaf2fa;
93
  }
94
+ &:before {
95
+ .iconbefore( "\f123" );
96
+ }
97
+ &.folder:before {
98
+ .iconbefore( "\f318" );
99
+ }
100
 
101
+ // Videos
102
+ &.filetype-mov, &.filetype-avi, &.filetype-3g2, &.filetype-3gp, &.filetype-asf, &.filetype-asx, &.filetype-mp4, &.filetype-mpg, &.filetype-rm, &.filetype-srt, &.filetype-vob, &.filetype-wmv {
103
+ &:before {
104
+ .iconbefore( "\f126" );
105
+ }
106
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
107
 
108
+ // Audio
109
+ &.filetype-mp3, &.filetype-aif, &.filetype-iff, &.filetype-m3u, &.filetype-m4a, &.filetype-mid, &.filetype-midi, &.filetype-mpa, &.filetype-ra, &.filetype-wav, &.filetype-wma {
110
+ &:before {
111
+ .iconbefore( "\f127" );
112
+ }
113
+ }
114
 
115
+ // Images
116
+ &.filetype-psd, &.filetype-ai, &.filetype-eps, &.filetype-ps, &.filetype-svg, &.filetype-bmp, &.filetype-dds, &.filetype-gif, &.filetype-jpg, &.filetype-jpeg, &.filetype-png, &.filetype-pspimage, &.filetype-tga, &.filetype-thm, &.filetype-tif, &.filetype-yuv, &.filetype-ico {
117
+ &:before {
118
+ .iconbefore( "\f128" );
119
+ }
120
+ }
121
  }
122
 
123
  &.nofiles {
142
  /* Download list */
143
  table.wp-list-table {
144
  .column-thumb {
145
+ width: 44px;
146
  text-align: center;
147
  white-space: nowrap
148
  }
149
  .column-dlm_download_cat, .column-dlm_download_tag, .column-file {
150
  width: 11% !important;
151
  }
152
+ .column-title, .column-file {
153
+ width: 17% !important;
154
+ }
155
  .column-download_id, .column-version {
156
+ width: 5em;
157
  }
158
+ th.column-thumb, th.column-download_count, th.column-members_only, th.column-redirect_only, th.column-featured {
159
+ span:first-child {
160
+ float: none;
161
+ display: inline-block;
162
+ width: 1em;
163
+ height: 1em;
164
+ line-height: 1em;
165
+ padding: 2px 0 0 0;
166
+ overflow: hidden;
167
+ }
168
+ .sorting-indicator {
169
+ float: right;
170
+ }
171
  }
172
+ th.column-thumb {
173
+ width: 52px;
174
+ text-align: center;
175
+ span:first-child {
176
+ &:before {
177
+ .iconbefore( "\f128" );
178
+ }
179
+ }
180
+ }
181
+ th.column-download_count {
182
+ width: 5em;
183
+ span:first-child {
184
+ &:before {
185
+ .iconbefore( "\f346" );
186
+ }
187
+ }
188
  }
189
+ th.column-members_only {
190
+ width: 3.5em;
191
+ span:first-child {
192
+ &:before {
193
+ .iconbefore( "\f338" );
194
+ }
195
  }
196
  }
197
+ th.column-redirect_only {
198
+ width: 3.5em;
199
+ span:first-child {
200
+ &:before {
201
+ .iconbefore( "\f103" );
202
+ }
203
+ }
204
+ }
205
+ th.column-featured {
206
+ width: 3.5em;
207
+ span:first-child {
208
+ &:before {
209
+ .iconbefore( "\f155" );
210
+ }
211
  }
212
  }
213
+ td.column-download_count, td.column-members_only, td.column-redirect_only, td.column-featured {
214
+ text-align: left;
215
+ padding-left: 11px;
216
+ span.na {
217
+ color: #999;
218
+ width: 1em;
219
+ height: 1em;
220
+ line-height: 1em;
221
+ display: inline-block;
222
+ overflow: hidden;
223
+ vertical-align: middle;
224
+ &:before {
225
+ .iconbefore( "\f460" );
226
+ }
227
+ }
228
+ span.yes {
229
+ width: 1em;
230
+ height: 1em;
231
+ line-height: 1em;
232
+ display: inline-block;
233
+ overflow: hidden;
234
+ vertical-align: middle;
235
+ &:before {
236
+ .iconbefore( "\f147" );
237
+ }
238
+ }
239
  }
240
  .column-thumb img {
241
  padding: 2px;
245
  width: 32px;
246
  height: 32px;
247
  }
 
 
 
248
  }
249
 
250
  /* Meta boxes */
256
  .dlm-metaboxes-wrapper {
257
  .expand_all, .close_all {
258
  float: right;
259
+ margin-left: 1em;
260
  line-height: 22px;
261
+ text-decoration: none;
262
  }
263
  .expand_all {
264
+ &:before {
265
+ .iconbefore( "\f168" );
266
+ }
267
  }
268
  .close_all {
269
+ &:before {
270
+ .iconbefore( "\f460" );
271
+ }
272
  }
273
  p.toolbar {
274
  margin: 0 !important;
419
  }
420
  }
421
  }
422
+ .plus:before {
423
+ .iconbefore( "\f132" );
 
424
  }
425
+ .minus:before {
426
+ .iconbefore( "\f460" );
 
427
  }
428
+ .dlm_upload_file:before {
429
+ .iconbefore( "\f317" );
 
430
  }
431
+ .dlm_browse_for_file:before {
432
+ .iconbefore( "\f322" );
 
433
  }
434
  }
435
  }
446
  padding: 0 0 4px;
447
  }
448
  input {
449
+ display: inline-block;
450
  width: auto;
451
  vertical-align: middle;
452
  }
assets/css/frontend.css CHANGED
@@ -1 +1 @@
1
- .download-box{width:250px;border:1px solid #ccc;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;text-align:center;position:relative;margin:1em auto;box-shadow:0 2px 4px rgba(0,0,0,0.1),inset 0 1px 0 rgba(255,255,255,0.4)}.download-box img.wp-post-image{margin:0;padding:0;display:block;width:100%;-moz-border-radius:0;-webkit-border-radius:0;-moz-border-top-left-radius:3px;-moz-border-top-right-radius:3px;-webkit-border-top-left-radius:3px;-webkit-border-top-right-radius:3px;border-radius:0;border-top-left-radius:3px;border-top-right-radius:3px;box-shadow:inset 0 1px 0 rgba(255,255,255,0.4)}.download-box .download-box-content{padding:0 1em 1em}.download-box .download-count{-moz-border-radius:1em;-webkit-border-radius:1em;border-radius:1em;color:#777;text-shadow:0 1px 0 rgba(255,255,255,0.5);background:#ddd;box-shadow:0 2px 4px rgba(0,0,0,0.1),inset 0 1px 0 rgba(255,255,255,0.4);position:absolute;top:0;right:0;padding:.5em;height:1em;width:auto;min-width:1em;font-size:1em;text-align:center;vertical-align:middle;line-height:1em;border:1px solid #bbb;margin:-0.5em -0.5em 0 0}.download-button{text-align:center;text-decoration:none;padding:.75em 1em;color:#fff;display:block;font-size:1.2em;line-height:1.5em;background-color:#09c;background-image:-webkit-linear-gradient(#009fd4,#09c,#0086b2);background-image:-moz-linear-gradient(#009fd4,#09c,#0086b2);-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;text-shadow:0 -1px 0 rgba(0,0,0,0.5);box-shadow:0 2px 4px rgba(0,0,0,0.3),inset 0 1px 0 rgba(255,255,255,0.4);border:1px solid #0086b2;cursor:pointer}.download-button:hover{color:#fff;background-color:#09c;background-image:-webkit-linear-gradient(#09c,#0086b2);background-image:-moz-linear-gradient(#09c,#0086b2)}.download-button small{font-size:.8em;opacity:.8;display:block}.filetype-icon{padding-left:19px;background-repeat:no-repeat;background-position:left;background-image:url(../images/filetypes/document.png)}.filetype-pdf{background-image:url(../images/filetypes/document-pdf.png)}.filetype-m4r,.filetype-au,.filetype-snd,.filetype-mid,.filetype-midi,.filetype-kar,.filetype-mpga,.filetype-mp2,.filetype-mp3,.filetype-aif,.filetype-aiff,.filetype-aifc,.filetype-m3u,.filetype-ram,.filetype-rm,.filetype-rpm,.filetype-ra,.filetype-wav,.filetype-wave{background-image:url(../images/filetypes/document-music.png)}.filetype-mpeg,.filetype-mpg,.filetype-mpe,.filetype-qt,.filetype-mov,.filetype-mxu,.filetype-avi,.filetype-movie,.filetype-mp4,.filetype-divx{background-image:url(../images/filetypes/document-film.png)}.filetype-zip,.filetype-gz,.filetype-rar,.filetype-sit,.filetype-tar,.filetype-7z{background-image:url(../images/filetypes/document-zipper.png)}.filetype-xls,.filetype-tsv,.filetype-csv{background-image:url(../images/filetypes/document-excel.png)}.filetype-doc{background-image:url(../images/filetypes/document-word-text.png)}.filetype-ai{background-image:url(../images/filetypes/document-illustrator.png)}.filetype-swf{background-image:url(../images/filetypes/document-flash-movie.png)}.filetype-eps,.filetype-ps,.filetype-bmp,.filetype-gif,.filetype-ief,.filetype-jpeg,.filetype-jpg,.filetype-jpe,.filetype-png,.filetype-tiff,.filetype-tif,.filetype-djv,.filetype-wbmp,.filetype-ras,.filetype-pnm,.filetype-pbm,.filetype-pgm,.filetype-ppm,.filetype-rgb,.filetype-xbm,.filetype-xpm,.filetype-xwd{background-image:url(../images/filetypes/document-image.png)}.filetype-psd{background-image:url(../images/filetypes/document-photoshop.png)}.filetype-ppt{background-image:url(../images/filetypes/document-powerpoint.png)}.filetype-js,.filetype-css,.filetype-as,.filetype-htm,.filetype-htaccess,.filetype-sql,.filetype-html,.filetype-php,.filetype-xml,.filetype-xsl{background-image:url(../images/filetypes/document-code.png)}.filetype-rtx,.filetype-rtf{background-image:url(../images/filetypes/document-text-image.png)}.filetype-txt{background-image:url(../images/filetypes/document-text.png)}
1
+ .download-box{width:250px;border:1px solid #ccc;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;text-align:center;position:relative;margin:1em auto;box-shadow:0 2px 4px rgba(0,0,0,.1),inset 0 1px 0 rgba(255,255,255,.4)}.download-box img.wp-post-image{margin:0;padding:0;display:block;width:100%;-moz-border-radius:0;-webkit-border-radius:0;-moz-border-top-left-radius:3px;-moz-border-top-right-radius:3px;-webkit-border-top-left-radius:3px;-webkit-border-top-right-radius:3px;border-radius:0;border-top-left-radius:3px;border-top-right-radius:3px;box-shadow:inset 0 1px 0 rgba(255,255,255,.4)}.download-box .download-box-content{padding:0 1em 1em}.download-box .download-count{-moz-border-radius:1em;-webkit-border-radius:1em;border-radius:1em;color:#777;text-shadow:0 1px 0 rgba(255,255,255,.5);background:#ddd;box-shadow:0 2px 4px rgba(0,0,0,.1),inset 0 1px 0 rgba(255,255,255,.4);position:absolute;top:0;right:0;padding:.5em;height:1em;width:auto;min-width:1em;font-size:1em;text-align:center;vertical-align:middle;line-height:1em;border:1px solid #bbb;margin:-.5em -.5em 0 0}.download-button{text-align:center;text-decoration:none;padding:.75em 1em;color:#fff;display:block;font-size:1.2em;line-height:1.5em;background-color:#09c;background-image:-webkit-linear-gradient(#009fd4,#09c,#0086b2);background-image:-moz-linear-gradient(#009fd4,#09c,#0086b2);-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;text-shadow:0 -1px 0 rgba(0,0,0,.5);box-shadow:0 2px 4px rgba(0,0,0,.3),inset 0 1px 0 rgba(255,255,255,.4);border:1px solid #0086b2;cursor:pointer}.download-button:hover{color:#fff;background-color:#09c;background-image:-webkit-linear-gradient(#09c,#0086b2);background-image:-moz-linear-gradient(#09c,#0086b2)}.download-button small{font-size:.8em;opacity:.8;display:block}.filetype-icon{padding-left:19px;background-repeat:no-repeat;background-position:left;background-image:url(../images/filetypes/document.png)}.filetype-pdf{background-image:url(../images/filetypes/document-pdf.png)}.filetype-m4r,.filetype-au,.filetype-snd,.filetype-mid,.filetype-midi,.filetype-kar,.filetype-mpga,.filetype-mp2,.filetype-mp3,.filetype-aif,.filetype-aiff,.filetype-aifc,.filetype-m3u,.filetype-ram,.filetype-rm,.filetype-rpm,.filetype-ra,.filetype-wav,.filetype-wave{background-image:url(../images/filetypes/document-music.png)}.filetype-mpeg,.filetype-mpg,.filetype-mpe,.filetype-qt,.filetype-mov,.filetype-mxu,.filetype-avi,.filetype-movie,.filetype-mp4,.filetype-divx{background-image:url(../images/filetypes/document-film.png)}.filetype-zip,.filetype-gz,.filetype-rar,.filetype-sit,.filetype-tar,.filetype-7z{background-image:url(../images/filetypes/document-zipper.png)}.filetype-xls,.filetype-tsv,.filetype-csv{background-image:url(../images/filetypes/document-excel.png)}.filetype-doc{background-image:url(../images/filetypes/document-word-text.png)}.filetype-ai{background-image:url(../images/filetypes/document-illustrator.png)}.filetype-swf{background-image:url(../images/filetypes/document-flash-movie.png)}.filetype-eps,.filetype-ps,.filetype-bmp,.filetype-gif,.filetype-ief,.filetype-jpeg,.filetype-jpg,.filetype-jpe,.filetype-png,.filetype-tiff,.filetype-tif,.filetype-djv,.filetype-wbmp,.filetype-ras,.filetype-pnm,.filetype-pbm,.filetype-pgm,.filetype-ppm,.filetype-rgb,.filetype-xbm,.filetype-xpm,.filetype-xwd{background-image:url(../images/filetypes/document-image.png)}.filetype-psd{background-image:url(../images/filetypes/document-photoshop.png)}.filetype-ppt{background-image:url(../images/filetypes/document-powerpoint.png)}.filetype-js,.filetype-css,.filetype-as,.filetype-htm,.filetype-htaccess,.filetype-sql,.filetype-html,.filetype-php,.filetype-xml,.filetype-xsl{background-image:url(../images/filetypes/document-code.png)}.filetype-rtx,.filetype-rtf{background-image:url(../images/filetypes/document-text-image.png)}.filetype-txt{background-image:url(../images/filetypes/document-text.png)}nav.download-monitor-pagination,#content nav.download-monitor-pagination{text-align:center}nav.download-monitor-pagination ul,#content nav.download-monitor-pagination ul{display:inline-block;white-space:nowrap;padding:0;clear:both;border:1px solid #eee;border-right:0;margin:1px}nav.download-monitor-pagination ul li,#content nav.download-monitor-pagination ul li{border-right:1px solid #eee;padding:0;margin:0;float:left;display:inline;overflow:hidden}nav.download-monitor-pagination ul li a,#content nav.download-monitor-pagination ul li a,nav.download-monitor-pagination ul li span,#content nav.download-monitor-pagination ul li span{margin:0;text-decoration:none;padding:0;line-height:1em;font-size:1em;font-weight:400;padding:.5em;min-width:1em;display:block}nav.download-monitor-pagination ul li span.current,#content nav.download-monitor-pagination ul li span.current,nav.download-monitor-pagination ul li a:hover,#content nav.download-monitor-pagination ul li a:hover,nav.download-monitor-pagination ul li a:focus,#content nav.download-monitor-pagination ul li a:focus{background:#eee;color:#888}
assets/css/frontend.less CHANGED
@@ -134,4 +134,40 @@
134
  }
135
  .filetype-txt {
136
  background-image: url(../images/filetypes/document-text.png);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
137
  }
134
  }
135
  .filetype-txt {
136
  background-image: url(../images/filetypes/document-text.png);
137
+ }
138
+
139
+ nav.download-monitor-pagination, #content nav.download-monitor-pagination {
140
+ text-align: center;
141
+ ul {
142
+ display: inline-block;
143
+ white-space: nowrap;
144
+ padding:0;
145
+ clear: both;
146
+ border: 1px solid #eee;
147
+ border-right: 0;
148
+ margin: 1px;
149
+ li {
150
+ border-right: 1px solid #eee;
151
+ padding: 0;
152
+ margin: 0;
153
+ float: left;
154
+ display: inline;
155
+ overflow: hidden;
156
+ a, span {
157
+ margin: 0;
158
+ text-decoration: none;
159
+ padding: 0;
160
+ line-height: 1em;
161
+ font-size: 1em;
162
+ font-weight: normal;
163
+ padding: .5em;
164
+ min-width: 1em;
165
+ display: block;
166
+ }
167
+ span.current, a:hover, a:focus {
168
+ background: #eee;
169
+ color: darken( #eee, 40 );
170
+ }
171
+ }
172
+ }
173
  }
assets/css/menu.css CHANGED
@@ -1,12 +1 @@
1
- /* Menu */
2
- #adminmenu #menu-posts-dlm_download div.wp-menu-image {
3
- background: transparent url(../images/menu_icon.png) no-repeat 1px -28px;
4
- height: 23px;
5
- }
6
- #adminmenu #menu-posts-dlm_download.wp-menu-open div.wp-menu-image,
7
- #adminmenu #menu-posts-dlm_download:hover div.wp-menu-image {
8
- background-position: 1px 0;
9
- }
10
- #adminmenu #menu-posts-dlm_download img {
11
- display: none;
12
- }
1
+ #adminmenu #menu-posts-dlm_download .wp-menu-image:before{content:"\f316";font-family:dashicons!important;font-style:normal;font-weight:400;speak:none;display:inline-block;text-decoration:inherit;width:1em;text-align:center;font-variant:normal;text-transform:none;line-height:1em}
 
 
 
 
 
 
 
 
 
 
 
assets/css/menu.less CHANGED
@@ -1,15 +1,24 @@
1
  /* Menu */
2
  #adminmenu {
3
  #menu-posts-dlm_download {
4
- div.wp-menu-image {
5
- background: transparent url(../images/menu_icon.png) no-repeat 1px -28px;
6
- height: 23px;
7
- }
8
- &.wp-menu-open div.wp-menu-image, &:hover div.wp-menu-image {
9
- background-position: 1px 0;
10
- }
11
- img {
12
- display: none;
 
 
 
 
 
 
 
 
 
13
  }
14
  }
15
  }
1
  /* Menu */
2
  #adminmenu {
3
  #menu-posts-dlm_download {
4
+ .wp-menu-image:before {
5
+ content: "\f316";
6
+ font-family: "dashicons" !important;
7
+ font-style: normal;
8
+ font-weight: normal;
9
+ speak: none;
10
+
11
+ display: inline-block;
12
+ text-decoration: inherit;
13
+ width: 1em;
14
+ text-align: center;
15
+
16
+ /* For safety - reset parent styles, that can break glyph codes*/
17
+ font-variant: normal;
18
+ text-transform: none;
19
+
20
+ /* fix buttons height, for twitter bootstrap */
21
+ line-height: 1em;
22
  }
23
  }
24
  }
download-monitor.php CHANGED
@@ -3,23 +3,21 @@
3
  Plugin Name: Download Monitor
4
  Plugin URI: http://mikejolley.com/projects/download-monitor/
5
  Description: A full solution for managing downloadable files, monitoring downloads and outputting download links and file information on your WordPress powered site.
6
- Version: 1.3.2
7
  Author: Mike Jolley
8
  Author URI: http://mikejolley.com
9
- Requires at least: 3.5
10
- Tested up to: 3.6
11
 
12
- Copyright: 2013 Mike Jolley.
13
  License: GNU General Public License v3.0
14
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
15
-
16
- Filetype icons from the Fugue Icon Pack by Yusuke Kamiyamane.
17
  */
18
 
19
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
20
 
21
  /**
22
- * WP_Download_Monitor class.
23
  *
24
  * Main Class which inits the CPT and plugin
25
  */
@@ -39,7 +37,7 @@ class WP_DLM {
39
  global $wpdb;
40
 
41
  // Define constants
42
- define( 'DLM_VERSION', '1.3.2' );
43
 
44
  // Table for logs
45
  $wpdb->download_log = $wpdb->prefix . 'download_log';
@@ -61,12 +59,12 @@ class WP_DLM {
61
  include_once( 'includes/class-dlm-shortcodes.php' );
62
 
63
  // Activation
64
- register_activation_hook( __FILE__, array( $this, 'init_user_roles' ), 10 );
65
- register_activation_hook( __FILE__, array( $this, 'init_taxonomy' ), 10 );
66
- register_activation_hook( __FILE__, array( $this, 'install_tables' ), 10 );
67
- register_activation_hook( __FILE__, array( $this, 'directory_protection' ), 10 );
68
- register_activation_hook( __FILE__, array( $GLOBALS['DLM_Download_Handler'], 'add_endpoint' ), 10 );
69
- register_activation_hook( __FILE__, 'flush_rewrite_rules', 11 );
70
 
71
  // Actions
72
  add_filter( 'plugin_action_links_' . plugin_basename( __FILE__ ), array( $this, 'plugin_links' ) );
@@ -532,43 +530,65 @@ class WP_DLM {
532
  }
533
 
534
  /**
535
- * Gets the filesize of a path or URL.
536
- *
537
- * @access public
538
- * @return string size on success, -1 on failure
539
  */
540
- public function get_filesize( $file_path ) {
541
- if ( $file_path ) {
542
- if ( ! is_multisite() ) {
 
 
543
 
544
- $file_path = str_replace( site_url( '/', 'https' ), ABSPATH, $file_path );
545
- $file_path = str_replace( site_url( '/', 'http' ), ABSPATH, $file_path );
546
 
547
- } else {
548
 
549
- // Try to replace network url
550
- $file_path = str_replace( network_admin_url( '/', 'https' ), ABSPATH, $file_path );
551
- $file_path = str_replace( network_admin_url( '/', 'http' ), ABSPATH, $file_path );
 
552
 
553
- // Try to replace upload URL
554
- $upload_dir = wp_upload_dir();
555
- $file_path = str_replace( $upload_dir['baseurl'], $upload_dir['basedir'], $file_path );
556
- }
557
 
558
- // See if its local or remote
559
- if ( strstr( $file_path, 'http:' ) || strstr( $file_path, 'https:' ) || strstr( $file_path, 'ftp:' ) ) {
560
- $remote_file = true;
561
- } else {
562
- $remote_file = false;
563
- $real_file_path = realpath( current( explode( '?', $file_path ) ) );
564
 
565
- if ( ! empty( $real_file_path ) )
566
- $file_path = $real_file_path;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
567
 
568
- // See if we need to add abspath if this is a relative URL
569
- if ( ! file_exists( $file_path ) && file_exists( ABSPATH . $file_path ) )
570
- $file_path = ABSPATH . $file_path;
571
- }
 
 
 
 
 
 
 
 
572
 
573
  if ( $remote_file ) {
574
  $file = wp_remote_head( $file_path );
@@ -584,6 +604,28 @@ class WP_DLM {
584
 
585
  return -1;
586
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
587
  }
588
 
589
  /**
3
  Plugin Name: Download Monitor
4
  Plugin URI: http://mikejolley.com/projects/download-monitor/
5
  Description: A full solution for managing downloadable files, monitoring downloads and outputting download links and file information on your WordPress powered site.
6
+ Version: 1.4.0
7
  Author: Mike Jolley
8
  Author URI: http://mikejolley.com
9
+ Requires at least: 3.8
10
+ Tested up to: 3.8
11
 
12
+ Copyright: © 2013 Mike Jolley.
13
  License: GNU General Public License v3.0
14
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
 
 
15
  */
16
 
17
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
18
 
19
  /**
20
+ * WP_DLM class.
21
  *
22
  * Main Class which inits the CPT and plugin
23
  */
37
  global $wpdb;
38
 
39
  // Define constants
40
+ define( 'DLM_VERSION', '1.4.0' );
41
 
42
  // Table for logs
43
  $wpdb->download_log = $wpdb->prefix . 'download_log';
59
  include_once( 'includes/class-dlm-shortcodes.php' );
60
 
61
  // Activation
62
+ register_activation_hook( basename( dirname( __FILE__ ) ) . '/' . basename( __FILE__ ), array( $this, 'init_user_roles' ), 10 );
63
+ register_activation_hook( basename( dirname( __FILE__ ) ) . '/' . basename( __FILE__ ), array( $this, 'init_taxonomy' ), 10 );
64
+ register_activation_hook( basename( dirname( __FILE__ ) ) . '/' . basename( __FILE__ ), array( $this, 'install_tables' ), 10 );
65
+ register_activation_hook( basename( dirname( __FILE__ ) ) . '/' . basename( __FILE__ ), array( $this, 'directory_protection' ), 10 );
66
+ register_activation_hook( basename( dirname( __FILE__ ) ) . '/' . basename( __FILE__ ), array( $GLOBALS['DLM_Download_Handler'], 'add_endpoint' ), 10 );
67
+ register_activation_hook( basename( dirname( __FILE__ ) ) . '/' . basename( __FILE__ ), 'flush_rewrite_rules', 11 );
68
 
69
  // Actions
70
  add_filter( 'plugin_action_links_' . plugin_basename( __FILE__ ), array( $this, 'plugin_links' ) );
530
  }
531
 
532
  /**
533
+ * Parse a file path and return the new path and whether or not it's remote
534
+ * @param string $file_path
535
+ * @return array
 
536
  */
537
+ public function parse_file_path( $file_path ) {
538
+ $remote_file = true;
539
+ $parsed_file_path = parse_url( $file_path );
540
+
541
+ if ( ( ! isset( $parsed_file_path['scheme'] ) || ! in_array( $parsed_file_path['scheme'], array( 'http', 'https', 'ftp' ) ) ) && isset( $parsed_file_path['path'] ) && file_exists( $parsed_file_path ) ) {
542
 
543
+ /** This is an absolute path */
544
+ $remote_file = false;
545
 
546
+ } elseif( strpos( $file_path, WP_CONTENT_URL ) !== false ) {
547
 
548
+ /** This is a local file given by URL so we need to figure out the path */
549
+ $remote_file = false;
550
+ $file_path = str_replace( WP_CONTENT_URL, WP_CONTENT_DIR, $file_path );
551
+ $file_path = realpath( $file_path );
552
 
553
+ } elseif( strpos( $file_path, ABSPATH ) !== false ) {
 
 
 
554
 
555
+ /** This is a local file outside of wp-content so figure out the path */
556
+ $remote_file = false;
 
 
 
 
557
 
558
+ if ( ! is_multisite() ) {
559
+ $file_path = str_replace( site_url( '/', 'https' ), ABSPATH, $file_path );
560
+ $file_path = str_replace( site_url( '/', 'http' ), ABSPATH, $file_path );
561
+ } else {
562
+ // Try to replace network url
563
+ $file_path = str_replace( network_admin_url( '/', 'https' ), ABSPATH, $file_path );
564
+ $file_path = str_replace( network_admin_url( '/', 'http' ), ABSPATH, $file_path );
565
+ // Try to replace upload URL
566
+ $upload_dir = wp_upload_dir();
567
+ $file_path = str_replace( $upload_dir['baseurl'], $upload_dir['basedir'], $file_path );
568
+ }
569
+
570
+ $file_path = realpath( $file_path );
571
+
572
+ } elseif ( file_exists( ABSPATH . $file_path ) ) {
573
+
574
+ /** Path needs an abspath to work */
575
+ $remote_file = false;
576
+ $file_path = ABSPATH . $file_path;
577
+ $file_path = realpath( $file_path );
578
+ }
579
 
580
+ return array( $file_path, $remote_file );
581
+ }
582
+
583
+ /**
584
+ * Gets the filesize of a path or URL.
585
+ *
586
+ * @access public
587
+ * @return string size on success, -1 on failure
588
+ */
589
+ public function get_filesize( $file_path ) {
590
+ if ( $file_path ) {
591
+ list( $file_path, $remote_file ) = $this->parse_file_path( $file_path );
592
 
593
  if ( $remote_file ) {
594
  $file = wp_remote_head( $file_path );
604
 
605
  return -1;
606
  }
607
+
608
+ /**
609
+ * Gets md5, sha1 and crc32 hashes for a file
610
+ *
611
+ * @access public
612
+ * @return array of sizes
613
+ */
614
+ public function get_file_hashes( $file_path ) {
615
+ $md5 = '';
616
+ $sha1 = '';
617
+ $crc32 = '';
618
+
619
+ if ( $file_path ) {
620
+ list( $file_path, $remote_file ) = $this->parse_file_path( $file_path );
621
+
622
+ $md5 = hash_file( 'md5', $file_path );
623
+ $sha1 = hash_file( 'sha1', $file_path );
624
+ $crc32 = hash_file( 'crc32b', $file_path );
625
+ }
626
+
627
+ return array( 'md5' => $md5, 'sha1' => $sha1, 'crc32' => $crc32 );
628
+ }
629
  }
630
 
631
  /**
includes/admin/class-dlm-admin-cpt.php CHANGED
@@ -161,25 +161,21 @@ class DLM_Admin_CPT {
161
  * @return void
162
  */
163
  public function columns( $columns ) {
164
- global $download_monitor;
165
-
166
  $columns = array();
167
 
168
- $columns["cb"] = "<input type=\"checkbox\" />";
169
- $columns["thumb"] = __("Image", 'download_monitor');
170
- $columns["title"] = __("Title", 'download_monitor');
171
- $columns["download_id"] = __("ID", 'download_monitor');
172
- $columns["file"] = __("File", 'download_monitor');
173
- $columns["version"] = __("Version", 'download_monitor');
174
- $columns["download_cat"] = __("Categories", 'download_monitor');
175
- $columns["download_tag"] = __("Tags", 'download_monitor');
176
-
177
- $columns["download_count"] = '<img src="' . $download_monitor->plugin_url() . '/assets/images/download_count_head.png" alt="' . __("download_count", 'download_monitor') . '" />';
178
- $columns["featured"] = '<img src="' . $download_monitor->plugin_url() . '/assets/images/featured_head.png" alt="' . __("Featured", 'download_monitor') . '" />';
179
- $columns["members_only"] = '<img src="' . $download_monitor->plugin_url() . '/assets/images/member_head.png" alt="' . __("Members only", 'download_monitor') . '" />';
180
- $columns["redirect_only"] = '<img src="' . $download_monitor->plugin_url() . '/assets/images/redirect_head.png" alt="' . __("Redirect only", 'download_monitor') . '" />';
181
-
182
- $columns["date"] = __("Date posted", 'download_monitor');
183
 
184
  return $columns;
185
  }
@@ -213,7 +209,7 @@ class DLM_Admin_CPT {
213
  case "featured" :
214
 
215
  if ( $download->is_featured() )
216
- echo '<img src="' . $download_monitor->plugin_url() . '/assets/images/on.png" alt="yes" />';
217
  else
218
  echo '<span class="na">&ndash;</span>';
219
 
@@ -221,7 +217,7 @@ class DLM_Admin_CPT {
221
  case "members_only" :
222
 
223
  if ( $download->is_members_only() )
224
- echo '<img src="' . $download_monitor->plugin_url() . '/assets/images/on.png" alt="yes" />';
225
  else
226
  echo '<span class="na">&ndash;</span>';
227
 
@@ -229,7 +225,7 @@ class DLM_Admin_CPT {
229
  case "redirect_only" :
230
 
231
  if ( $download->redirect_only() )
232
- echo '<img src="' . $download_monitor->plugin_url() . '/assets/images/on.png" alt="yes" />';
233
  else
234
  echo '<span class="na">&ndash;</span>';
235
 
@@ -244,7 +240,7 @@ class DLM_Admin_CPT {
244
  echo '<span class="na">&ndash;</span>';
245
  break;
246
  case "version" :
247
- if ( $file )
248
  echo $file->version;
249
  else
250
  echo '<span class="na">&ndash;</span>';
161
  * @return void
162
  */
163
  public function columns( $columns ) {
 
 
164
  $columns = array();
165
 
166
+ $columns["cb"] = "<input type=\"checkbox\" />";
167
+ $columns["thumb"] = '<span>' . __("Image", 'download_monitor') . '</span>';
168
+ $columns["title"] = __("Title", 'download_monitor');
169
+ $columns["download_id"] = __("ID", 'download_monitor');
170
+ $columns["file"] = __("File", 'download_monitor');
171
+ $columns["version"] = __("Version", 'download_monitor');
172
+ $columns["download_cat"] = __("Categories", 'download_monitor');
173
+ $columns["download_tag"] = __("Tags", 'download_monitor');
174
+ $columns["download_count"] = __( "Download count", 'download_monitor' );
175
+ $columns["featured"] = __( "Featured", 'download_monitor' );
176
+ $columns["members_only"] = __( "Members only", 'download_monitor' );
177
+ $columns["redirect_only"] = __( "Redirect only", 'download_monitor' );
178
+ $columns["date"] = __("Date posted", 'download_monitor');
 
 
179
 
180
  return $columns;
181
  }
209
  case "featured" :
210
 
211
  if ( $download->is_featured() )
212
+ echo '<span class="yes">' . __( 'Yes', 'download_monitor' ) . '</span>';
213
  else
214
  echo '<span class="na">&ndash;</span>';
215
 
217
  case "members_only" :
218
 
219
  if ( $download->is_members_only() )
220
+ echo '<span class="yes">' . __( 'Yes', 'download_monitor' ) . '</span>';
221
  else
222
  echo '<span class="na">&ndash;</span>';
223
 
225
  case "redirect_only" :
226
 
227
  if ( $download->redirect_only() )
228
+ echo '<span class="yes">' . __( 'Yes', 'download_monitor' ) . '</span>';
229
  else
230
  echo '<span class="na">&ndash;</span>';
231
 
240
  echo '<span class="na">&ndash;</span>';
241
  break;
242
  case "version" :
243
+ if ( $file && $file->version )
244
  echo $file->version;
245
  else
246
  echo '<span class="na">&ndash;</span>';
includes/admin/class-dlm-admin-dashboard.php CHANGED
@@ -15,7 +15,7 @@ class DLM_Admin_Dashboard {
15
  */
16
  public function __construct() {
17
 
18
- if ( ! current_user_can( 'manage_options' ) )
19
  return;
20
 
21
  wp_add_dashboard_widget( 'dlm_popular_downloads', __( 'Popular Downloads', 'download_monitor' ), array( $this, 'popular_downloads' ) );
15
  */
16
  public function __construct() {
17
 
18
+ if ( ! current_user_can( 'manage_downloads' ) )
19
  return;
20
 
21
  wp_add_dashboard_widget( 'dlm_popular_downloads', __( 'Popular Downloads', 'download_monitor' ), array( $this, 'popular_downloads' ) );
includes/admin/class-dlm-admin-insert.php CHANGED
@@ -26,6 +26,9 @@ class DLM_Admin_Insert {
26
  public function media_buttons( $editor_id = 'content' ) {
27
  global $download_monitor, $post;
28
 
 
 
 
29
  echo '<a href="#" class="button insert-download add_download" data-editor="' . esc_attr( $editor_id ) . '" title="' . esc_attr__( 'Insert Download', 'download_monitor' ) . '">' . __( 'Insert Download', 'download_monitor' ) . '</a>';
30
 
31
  ob_start();
@@ -57,13 +60,12 @@ class DLM_Admin_Insert {
57
  // Enqueue scripts and styles for panel
58
  wp_enqueue_script( 'chosen', $download_monitor->plugin_url() . '/assets/js/chosen/chosen.jquery.min.js' );
59
  wp_enqueue_style( 'chosen', $download_monitor->plugin_url() . '/assets/js/chosen/chosen.css' );
60
- wp_enqueue_style( 'download_monitor_admin_css', $download_monitor->plugin_url() . '/assets/css/admin.css' );
61
-
62
  wp_enqueue_script( 'common' );
63
  wp_enqueue_style( 'global' );
64
  wp_enqueue_style( 'wp-admin' );
65
  wp_enqueue_style( 'colors' );
66
- wp_enqueue_script('plupload-all');
67
 
68
  echo '<!DOCTYPE html><html lang="en"><head><title>' . __( 'Insert Download', 'download_monitor' ) . '</title><meta charset="utf-8" />';
69
 
@@ -126,6 +128,12 @@ class DLM_Admin_Insert {
126
  update_post_meta( $file_id, '_files', array( $url ) );
127
  update_post_meta( $file_id, '_filesize', $download_monitor->get_filesize( $url ) );
128
 
 
 
 
 
 
 
129
  echo '<div class="updated"><p>' . __( 'Download successfully created.', 'download_monitor' ) . '</p></div>';
130
 
131
  } else throw new Exception( __( 'Error: Download was not created.', 'download_monitor' ) );
26
  public function media_buttons( $editor_id = 'content' ) {
27
  global $download_monitor, $post;
28
 
29
+ if ( $post->post_type == 'dlm_download' )
30
+ return;
31
+
32
  echo '<a href="#" class="button insert-download add_download" data-editor="' . esc_attr( $editor_id ) . '" title="' . esc_attr__( 'Insert Download', 'download_monitor' ) . '">' . __( 'Insert Download', 'download_monitor' ) . '</a>';
33
 
34
  ob_start();
60
  // Enqueue scripts and styles for panel
61
  wp_enqueue_script( 'chosen', $download_monitor->plugin_url() . '/assets/js/chosen/chosen.jquery.min.js' );
62
  wp_enqueue_style( 'chosen', $download_monitor->plugin_url() . '/assets/js/chosen/chosen.css' );
63
+ wp_enqueue_style( 'download_monitor_admin_css', $download_monitor->plugin_url() . '/assets/css/admin.css', array( 'dashicons' ) );
 
64
  wp_enqueue_script( 'common' );
65
  wp_enqueue_style( 'global' );
66
  wp_enqueue_style( 'wp-admin' );
67
  wp_enqueue_style( 'colors' );
68
+ wp_enqueue_script( 'plupload-all' );
69
 
70
  echo '<!DOCTYPE html><html lang="en"><head><title>' . __( 'Insert Download', 'download_monitor' ) . '</title><meta charset="utf-8" />';
71
 
128
  update_post_meta( $file_id, '_files', array( $url ) );
129
  update_post_meta( $file_id, '_filesize', $download_monitor->get_filesize( $url ) );
130
 
131
+ $hashes = $download_monitor->get_file_hashes( $url );
132
+
133
+ update_post_meta( $file_id, '_md5', $hashes['md5'] );
134
+ update_post_meta( $file_id, '_sha1', $hashes['sha1'] );
135
+ update_post_meta( $file_id, '_crc32', $hashes['crc32'] );
136
+
137
  echo '<div class="updated"><p>' . __( 'Download successfully created.', 'download_monitor' ) . '</p></div>';
138
 
139
  } else throw new Exception( __( 'Error: Download was not created.', 'download_monitor' ) );
includes/admin/class-dlm-admin-media-browser.php CHANGED
@@ -30,11 +30,12 @@ class DLM_Admin_Media_Browser {
30
 
31
  echo '<!DOCTYPE html><html lang="en"><head><title>' . __( 'Browse for a file', 'download_monitor' ) . '</title>';
32
 
 
33
  do_action( 'admin_print_styles' );
34
  do_action( 'admin_print_scripts' );
35
  do_action( 'admin_head' );
36
 
37
- echo '<meta charset="utf-8" /><link rel="stylesheet" type="text/css" href="' . $download_monitor->plugin_url() . '/assets/css/admin.css" /></head><body>';
38
 
39
  echo '<ul class="download_monitor_file_browser">';
40
 
30
 
31
  echo '<!DOCTYPE html><html lang="en"><head><title>' . __( 'Browse for a file', 'download_monitor' ) . '</title>';
32
 
33
+ wp_enqueue_style( 'download_monitor_admin_css', $download_monitor->plugin_url() . '/assets/css/admin.css', array( 'dashicons' ) );
34
  do_action( 'admin_print_styles' );
35
  do_action( 'admin_print_scripts' );
36
  do_action( 'admin_head' );
37
 
38
+ echo '<meta charset="utf-8" /></head><body>';
39
 
40
  echo '<ul class="download_monitor_file_browser">';
41
 
includes/admin/class-dlm-admin-writepanels.php CHANGED
@@ -27,7 +27,7 @@ class DLM_Admin_Writepanels {
27
  */
28
  public function add_meta_boxes() {
29
  add_meta_box( 'download-monitor-options', __( 'Download Options', 'download_monitor' ), array( $this, 'download_options' ), 'dlm_download', 'side', 'high' );
30
- add_meta_box( 'download-monitor-file', __( 'Downloadable File Versions', 'download_monitor' ), array( $this, 'download_files' ), 'dlm_download', 'normal', 'high' );
31
 
32
  // Excerpt
33
  if ( function_exists('wp_editor') ) {
@@ -91,7 +91,7 @@ class DLM_Admin_Writepanels {
91
  <?php do_action( 'dlm_download_monitor_files_writepanel_start' ); ?>
92
 
93
  <p class="toolbar">
94
- <a href="#" class="button plus add_file"><?php _e('Add version', 'download_monitor'); ?></a>
95
  <a href="#" class="close_all"><?php _e('Close all', 'download_monitor'); ?></a><a href="#" class="expand_all"><?php _e('Expand all', 'download_monitor'); ?></a>
96
  </p>
97
 
@@ -461,10 +461,19 @@ class DLM_Admin_Writepanels {
461
  $filesize = -1;
462
  $main_file_path = current( $files );
463
 
464
- if ( $main_file_path )
465
  $filesize = $download_monitor->get_filesize( $main_file_path );
466
-
467
- update_post_meta( $file_id, '_filesize', $filesize );
 
 
 
 
 
 
 
 
 
468
 
469
  if ( $file_download_count !== '' ) {
470
  update_post_meta( $file_id, '_download_count', absint( $file_download_count ) );
27
  */
28
  public function add_meta_boxes() {
29
  add_meta_box( 'download-monitor-options', __( 'Download Options', 'download_monitor' ), array( $this, 'download_options' ), 'dlm_download', 'side', 'high' );
30
+ add_meta_box( 'download-monitor-file', __( 'Downloadable Files/Versions', 'download_monitor' ), array( $this, 'download_files' ), 'dlm_download', 'normal', 'high' );
31
 
32
  // Excerpt
33
  if ( function_exists('wp_editor') ) {
91
  <?php do_action( 'dlm_download_monitor_files_writepanel_start' ); ?>
92
 
93
  <p class="toolbar">
94
+ <a href="#" class="button plus add_file"><?php _e('Add file', 'download_monitor'); ?></a>
95
  <a href="#" class="close_all"><?php _e('Close all', 'download_monitor'); ?></a><a href="#" class="expand_all"><?php _e('Expand all', 'download_monitor'); ?></a>
96
  </p>
97
 
461
  $filesize = -1;
462
  $main_file_path = current( $files );
463
 
464
+ if ( $main_file_path ) {
465
  $filesize = $download_monitor->get_filesize( $main_file_path );
466
+ $hashes = $download_monitor->get_file_hashes( $main_file_path );
467
+ update_post_meta( $file_id, '_filesize', $filesize );
468
+ update_post_meta( $file_id, '_md5', $hashes['md5'] );
469
+ update_post_meta( $file_id, '_sha1', $hashes['sha1'] );
470
+ update_post_meta( $file_id, '_crc32', $hashes['crc32'] );
471
+ } else {
472
+ update_post_meta( $file_id, '_filesize', $filesize );
473
+ update_post_meta( $file_id, '_md5', '' );
474
+ update_post_meta( $file_id, '_sha1', '' );
475
+ update_post_meta( $file_id, '_crc32', '' );
476
+ }
477
 
478
  if ( $file_download_count !== '' ) {
479
  update_post_meta( $file_id, '_download_count', absint( $file_download_count ) );
includes/admin/class-dlm-admin.php CHANGED
@@ -233,7 +233,7 @@ class DLM_Admin {
233
  wp_enqueue_script( 'jquery-ui-sortable' );
234
  wp_enqueue_script( 'jquery-ui-datepicker' );
235
  wp_enqueue_style( 'jquery-ui-style', (is_ssl()) ? 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/smoothness/jquery-ui.css' : 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/smoothness/jquery-ui.css' );
236
- wp_enqueue_style( 'download_monitor_admin_css', $download_monitor->plugin_url() . '/assets/css/admin.css' );
237
  }
238
 
239
  /**
233
  wp_enqueue_script( 'jquery-ui-sortable' );
234
  wp_enqueue_script( 'jquery-ui-datepicker' );
235
  wp_enqueue_style( 'jquery-ui-style', (is_ssl()) ? 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/smoothness/jquery-ui.css' : 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/smoothness/jquery-ui.css' );
236
+ wp_enqueue_style( 'download_monitor_admin_css', $download_monitor->plugin_url() . '/assets/css/admin.css', array( 'dashicons' ) );
237
  }
238
 
239
  /**
includes/class-dlm-download-handler.php CHANGED
@@ -127,6 +127,15 @@ class DLM_Download_Handler {
127
  }
128
  }
129
 
 
 
 
 
 
 
 
 
 
130
  /**
131
  * trigger function.
132
  *
@@ -135,8 +144,8 @@ class DLM_Download_Handler {
135
  * @return void
136
  */
137
  private function trigger( $download ) {
138
- global $is_IE;
139
-
140
  $version = $download->get_file_version();
141
  $file_paths = $version->mirrors;
142
 
@@ -169,56 +178,98 @@ class DLM_Download_Handler {
169
 
170
  // Set cookie to prevent double logging
171
  setcookie( 'wp_dlm_downloading', $download->id, time()+60, COOKIEPATH, COOKIE_DOMAIN, false );
172
-
173
- // Logging
174
- $this->log = function_exists( 'dlm_create_log' );
175
- } else {
176
- $this->log = false;
177
  }
178
 
179
  // Redirect to the file...
180
  if ( $download->redirect_only() || apply_filters( 'dlm_do_not_force', false, $download, $version ) ) {
181
- if ( $this->log )
182
- dlm_create_log( 'download', 'redirected', __( 'Redirected to file', 'download_monitor' ), $download, $version );
183
 
 
184
  $file_path = str_replace( ABSPATH, site_url( '/', 'http' ), $file_path );
185
 
186
  header( 'Location: ' . $file_path );
187
  exit;
188
  }
189
 
190
- // ...or serve it
191
- if ( ! is_multisite() ) {
192
 
193
- $file_path = str_replace( site_url( '/', 'https' ), ABSPATH, $file_path );
194
- $file_path = str_replace( site_url( '/', 'http' ), ABSPATH, $file_path );
195
 
196
- } else {
 
197
 
198
- // Try to replace network url
199
- $file_path = str_replace( network_admin_url( '/', 'https' ), ABSPATH, $file_path );
200
- $file_path = str_replace( network_admin_url( '/', 'http' ), ABSPATH, $file_path );
201
 
202
- // Try to replace upload URL
203
- $upload_dir = wp_upload_dir();
204
- $file_path = str_replace( $upload_dir['baseurl'], $upload_dir['basedir'], $file_path );
205
- }
206
 
207
- // See if its local or remote
208
- if ( strstr( $file_path, 'http:' ) || strstr( $file_path, 'https:' ) || strstr( $file_path, 'ftp:' ) ) {
209
- $remote_file = true;
210
- } else {
211
- $remote_file = false;
212
- $real_file_path = realpath( current( explode( '?', $file_path ) ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
213
 
214
- if ( ! empty( $real_file_path ) )
215
- $file_path = $real_file_path;
216
 
217
- // See if we need to add abspath if this is a relative URL
218
- if ( ! file_exists( $file_path ) && file_exists( ABSPATH . $file_path ) )
219
- $file_path = ABSPATH . $file_path;
 
 
 
220
  }
221
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
222
  // Get Mime Type
223
  $mime_type = "application/octet-stream";
224
 
@@ -231,7 +282,7 @@ class DLM_Download_Handler {
231
  }
232
 
233
  // Get file name
234
- $file_name = basename( $file_path );
235
 
236
  if ( strstr( $file_name, '?' ) )
237
  $file_name = current( explode( '?', $file_name ) );
@@ -249,7 +300,15 @@ class DLM_Download_Handler {
249
  @session_write_close();
250
  @ini_set( 'zlib.output_compression', 'Off' );
251
  @error_reporting(0);
252
- @ob_clean(); // Clear the output buffer
 
 
 
 
 
 
 
 
253
 
254
  if ( $is_IE && is_ssl() ) {
255
  // IE bug prevents download via SSL when Cache Control and Pragma no-cache headers set.
@@ -269,80 +328,6 @@ class DLM_Download_Handler {
269
  header( "Content-Length: " . $version->filesize );
270
  header( "Accept-Ranges: bytes" );
271
  }
272
-
273
- if ( get_option( 'dlm_xsendfile_enabled' ) ) {
274
- if ( getcwd() )
275
- $file_path = trim( preg_replace( '`^' . str_replace( '\\', '/', getcwd() ) . '`' , '', $file_path ), '/' );
276
-
277
- if ( function_exists( 'apache_get_modules' ) && in_array( 'mod_xsendfile', apache_get_modules() ) ) {
278
-
279
- if ( $this->log )
280
- dlm_create_log( 'download', 'redirected', __( 'Redirected to file', 'download_monitor' ), $download, $version );
281
-
282
- header("X-Sendfile: $file_path");
283
- exit;
284
-
285
- } elseif ( stristr( getenv( 'SERVER_SOFTWARE' ), 'lighttpd' ) ) {
286
-
287
- if ( $this->log )
288
- dlm_create_log( 'download', 'redirected', __( 'Redirected to file', 'download_monitor' ), $download, $version );
289
-
290
- header( "X-LIGHTTPD-send-file: $file_path" );
291
- exit;
292
-
293
- } elseif ( stristr( getenv( 'SERVER_SOFTWARE' ), 'nginx' ) || stristr( getenv( 'SERVER_SOFTWARE' ), 'cherokee' ) ) {
294
-
295
- if ( $this->log )
296
- dlm_create_log( 'download', 'redirected', __( 'Redirected to file', 'download_monitor' ), $download, $version );
297
-
298
- header( "X-Accel-Redirect: /$file_path" );
299
- exit;
300
- }
301
- }
302
-
303
- // multipart-download and download resuming support - http://www.phpgang.com/force-to-download-a-file-in-php_112.html
304
- if ( isset( $_SERVER['HTTP_RANGE'] ) && $version->filesize ) {
305
- list( $a, $range ) = explode( "=", $_SERVER['HTTP_RANGE'],2 );
306
- list( $range ) = explode( ",",$range, 2 );
307
- list( $range, $range_end ) = explode( "-", $range );
308
- $range = intval( $range );
309
-
310
- if ( ! $range_end ) {
311
- $range_end = $version->filesize - 1;
312
- } else {
313
- $range_end = intval( $range_end );
314
- }
315
-
316
- $new_length = $range_end - $range + 1;
317
-
318
- header( "HTTP/1.1 206 Partial Content" );
319
- header( "Content-Length: $new_length" );
320
- header( "Content-Range: bytes {$range}-{$range_end}/{$version->filesize}" );
321
- } else {
322
- $range = false;
323
- }
324
-
325
- if ( $this->readfile_chunked( $file_path, $range ) ) {
326
-
327
- // Complete!
328
- if ( $this->log )
329
- dlm_create_log( 'download', 'completed', '', $download, $version );
330
-
331
- } elseif ( $remote_file ) {
332
-
333
- // Redirect - we can't track if this completes or not
334
- if ( $this->log )
335
- dlm_create_log( 'download', 'redirected', __( 'Redirected to remote file.', 'download_monitor' ), $download, $version );
336
-
337
- header( 'Location: ' . $file_path );
338
-
339
- } else {
340
- if ( $this->log )
341
- dlm_create_log( 'download', 'failed', __( 'File not found', 'download_monitor' ), $download, $version );
342
-
343
- wp_die( __( 'File not found.', 'download_monitor' ) . ' <a href="' . home_url() . '">' . __( 'Go to homepage &rarr;', 'download_monitor' ) . '</a>', __( 'Download Error', 'download_monitor' ), array( 'response' => 404 ) );
344
- }
345
- exit;
346
  }
347
 
348
  /**
127
  }
128
  }
129
 
130
+ /**
131
+ * Create a log if logging is enabled
132
+ */
133
+ private function log( $type = '', $status = '', $message = '', $download, $version ) {
134
+ if ( function_exists( 'dlm_create_log' ) ) {
135
+ dlm_create_log( $type, $status, $message, $download, $version );
136
+ }
137
+ }
138
+
139
  /**
140
  * trigger function.
141
  *
144
  * @return void
145
  */
146
  private function trigger( $download ) {
147
+ global $download_monitor;
148
+
149
  $version = $download->get_file_version();
150
  $file_paths = $version->mirrors;
151
 
178
 
179
  // Set cookie to prevent double logging
180
  setcookie( 'wp_dlm_downloading', $download->id, time()+60, COOKIEPATH, COOKIE_DOMAIN, false );
 
 
 
 
 
181
  }
182
 
183
  // Redirect to the file...
184
  if ( $download->redirect_only() || apply_filters( 'dlm_do_not_force', false, $download, $version ) ) {
185
+ $this->log( 'download', 'redirected', __( 'Redirected to file', 'download_monitor' ), $download, $version );
 
186
 
187
+ // Ensure we have a valid URL, not a file path
188
  $file_path = str_replace( ABSPATH, site_url( '/', 'http' ), $file_path );
189
 
190
  header( 'Location: ' . $file_path );
191
  exit;
192
  }
193
 
194
+ list( $file_path, $remote_file ) = $download_monitor->parse_file_path( $file_path );
 
195
 
196
+ $this->download_headers( $file_path, $download, $version );
 
197
 
198
+ if ( get_option( 'dlm_xsendfile_enabled' ) ) {
199
+ if ( function_exists( 'apache_get_modules' ) && in_array( 'mod_xsendfile', apache_get_modules() ) ) {
200
 
201
+ $this->log( 'download', 'redirected', __( 'Redirected to file', 'download_monitor' ), $download, $version );
 
 
202
 
203
+ header( "X-Sendfile: $file_path" );
204
+ exit;
 
 
205
 
206
+ } elseif ( stristr( getenv( 'SERVER_SOFTWARE' ), 'lighttpd' ) ) {
207
+
208
+ $this->log( 'download', 'redirected', __( 'Redirected to file', 'download_monitor' ), $download, $version );
209
+
210
+ header( "X-LIGHTTPD-send-file: $file_path" );
211
+ exit;
212
+
213
+ } elseif ( stristr( getenv( 'SERVER_SOFTWARE' ), 'nginx' ) || stristr( getenv( 'SERVER_SOFTWARE' ), 'cherokee' ) ) {
214
+
215
+ $this->log( 'download', 'redirected', __( 'Redirected to file', 'download_monitor' ), $download, $version );
216
+
217
+ $file_path = str_ireplace( $_SERVER[ 'DOCUMENT_ROOT' ], '', $file_path );
218
+ header( "X-Accel-Redirect: /$file_path" );
219
+ exit;
220
+ }
221
+ }
222
+
223
+ // multipart-download and download resuming support - http://www.phpgang.com/force-to-download-a-file-in-php_112.html
224
+ if ( isset( $_SERVER['HTTP_RANGE'] ) && $version->filesize ) {
225
+ list( $a, $range ) = explode( "=", $_SERVER['HTTP_RANGE'], 2 );
226
+ list( $range ) = explode( ",",$range, 2 );
227
+ list( $range, $range_end ) = explode( "-", $range );
228
+ $range = intval( $range );
229
+
230
+ if ( ! $range_end ) {
231
+ $range_end = $version->filesize - 1;
232
+ } else {
233
+ $range_end = intval( $range_end );
234
+ }
235
 
236
+ $new_length = $range_end - $range;
 
237
 
238
+ header( "HTTP/1.1 206 Partial Content" );
239
+ header( "Content-Length: $new_length" );
240
+ header( "Content-Range: bytes {$range}-{$range_end}/{$version->filesize}" );
241
+
242
+ } else {
243
+ $range = false;
244
  }
245
 
246
+ if ( $this->readfile_chunked( $file_path, $range ) ) {
247
+
248
+ // Complete!
249
+ $this->log( 'download', 'completed', '', $download, $version );
250
+
251
+ } elseif ( $remote_file ) {
252
+
253
+ // Redirect - we can't track if this completes or not
254
+ $this->log( 'download', 'redirected', __( 'Redirected to remote file.', 'download_monitor' ), $download, $version );
255
+
256
+ header( 'Location: ' . $file_path );
257
+
258
+ } else {
259
+ $this->log( 'download', 'failed', __( 'File not found', 'download_monitor' ), $download, $version );
260
+
261
+ wp_die( __( 'File not found.', 'download_monitor' ) . ' <a href="' . home_url() . '">' . __( 'Go to homepage &rarr;', 'download_monitor' ) . '</a>', __( 'Download Error', 'download_monitor' ), array( 'response' => 404 ) );
262
+ }
263
+
264
+ exit;
265
+ }
266
+
267
+ /**
268
+ * Output download headers
269
+ */
270
+ private function download_headers( $file_path, $download, $version ) {
271
+ global $is_IE;
272
+
273
  // Get Mime Type
274
  $mime_type = "application/octet-stream";
275
 
282
  }
283
 
284
  // Get file name
285
+ $file_name = urldecode( basename( $file_path ) );
286
 
287
  if ( strstr( $file_name, '?' ) )
288
  $file_name = current( explode( '?', $file_name ) );
300
  @session_write_close();
301
  @ini_set( 'zlib.output_compression', 'Off' );
302
  @error_reporting(0);
303
+
304
+ /**
305
+ * Prevents errors, for example: transfer closed with 3 bytes remaining to read
306
+ */
307
+ @ob_end_clean(); // Clear the output buffer
308
+
309
+ if ( ob_get_level() ) {
310
+ @ob_end_clean(); // Zip corruption fix
311
+ }
312
 
313
  if ( $is_IE && is_ssl() ) {
314
  // IE bug prevents download via SSL when Cache Control and Pragma no-cache headers set.
328
  header( "Content-Length: " . $version->filesize );
329
  header( "Accept-Ranges: bytes" );
330
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
331
  }
332
 
333
  /**
includes/class-dlm-download-version.php CHANGED
@@ -12,21 +12,31 @@ class DLM_Download_Version {
12
  * @return void
13
  */
14
  public function __construct( $version_id, $download_id ) {
15
- $this->id = absint( $version_id );
16
- $this->download_id = absint( $download_id );
17
-
18
  // Get Version Data
19
- $this->mirrors = array_filter( (array) get_post_meta( $this->id, '_files', true ) );
20
- $this->url = current( $this->mirrors );
21
- $this->filename = current( explode( '?', basename( $this->url ) ) );
22
- $this->filetype = strtolower( substr( strrchr( $this->filename, "." ), 1 ) );
23
- $this->version = strtolower( get_post_meta( $this->id, '_version', true ) );
24
- $this->download_count = get_post_meta( $this->id, '_download_count', true );
25
- $this->filesize = get_post_meta( $this->id, '_filesize', true );
 
 
 
26
 
27
- // If data is not set, load it
28
  if ( $this->filesize == "" )
29
  $this->filesize = $this->get_filesize( $this->url );
 
 
 
 
 
 
 
30
  }
31
 
32
  /**
@@ -50,7 +60,7 @@ class DLM_Download_Version {
50
  *
51
  * @access public
52
  * @param mixed $file
53
- * @return void
54
  */
55
  public function get_filesize( $file_path ) {
56
  global $download_monitor;
@@ -61,4 +71,23 @@ class DLM_Download_Version {
61
 
62
  return $filesize;
63
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
64
  }
12
  * @return void
13
  */
14
  public function __construct( $version_id, $download_id ) {
15
+ $this->id = absint( $version_id );
16
+ $this->download_id = absint( $download_id );
17
+
18
  // Get Version Data
19
+ $this->mirrors = array_filter( (array) get_post_meta( $this->id, '_files', true ) );
20
+ $this->url = current( $this->mirrors );
21
+ $this->filename = current( explode( '?', basename( $this->url ) ) );
22
+ $this->filetype = strtolower( substr( strrchr( $this->filename, "." ), 1 ) );
23
+ $this->version = strtolower( get_post_meta( $this->id, '_version', true ) );
24
+ $this->download_count = get_post_meta( $this->id, '_download_count', true );
25
+ $this->filesize = get_post_meta( $this->id, '_filesize', true );
26
+ $this->md5 = get_post_meta( $this->id, '_md5', true );
27
+ $this->sha1 = get_post_meta( $this->id, '_sha1', true );
28
+ $this->crc32 = get_post_meta( $this->id, '_crc32', true );
29
 
30
+ // If any data is not set, set it
31
  if ( $this->filesize == "" )
32
  $this->filesize = $this->get_filesize( $this->url );
33
+
34
+ if ( $this->md5 == "" || $this->sha1 == "" || $this->crc32 == "" ) {
35
+ $hashes = $this->get_file_hashes( $this->url );
36
+ $this->md5 = $hashes['md5'];
37
+ $this->sha1 = $hashes['sha1'];
38
+ $this->crc32 = $hashes['crc32'];
39
+ }
40
  }
41
 
42
  /**
60
  *
61
  * @access public
62
  * @param mixed $file
63
+ * @return string
64
  */
65
  public function get_filesize( $file_path ) {
66
  global $download_monitor;
71
 
72
  return $filesize;
73
  }
74
+
75
+ /**
76
+ * get_file_hashes function.
77
+ *
78
+ * @access public
79
+ * @param mixed $file
80
+ * @return array
81
+ */
82
+ public function get_file_hashes( $file_path ) {
83
+ global $download_monitor;
84
+
85
+ $hashes = $download_monitor->get_file_hashes( $file_path );
86
+
87
+ update_post_meta( $this->id, '_md5', $hashes['md5'] );
88
+ update_post_meta( $this->id, '_sha1', $hashes['sha1'] );
89
+ update_post_meta( $this->id, '_crc32', $hashes['crc32'] );
90
+
91
+ return $hashes;
92
+ }
93
  }
includes/class-dlm-download.php CHANGED
@@ -302,11 +302,23 @@ class DLM_Download {
302
  echo $this->get_the_filename();
303
  }
304
 
 
 
 
 
 
 
 
 
 
 
 
 
305
  /**
306
  * get_the_filesize function.
307
  *
308
  * @access public
309
- * @return void
310
  */
311
  public function get_the_filesize() {
312
  $filesize = $this->get_file_version()->filesize;
@@ -325,6 +337,25 @@ class DLM_Download {
325
  echo $this->get_the_filesize();
326
  }
327
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
328
  /**
329
  * get_the_filetype function.
330
  *
302
  echo $this->get_the_filename();
303
  }
304
 
305
+ /**
306
+ * get_the_file_date function.
307
+ *
308
+ * @access public
309
+ * @return string
310
+ */
311
+ public function get_the_file_date() {
312
+ $post = get_post( $this->get_file_version()->id );
313
+
314
+ return $post->post_date;
315
+ }
316
+
317
  /**
318
  * get_the_filesize function.
319
  *
320
  * @access public
321
+ * @return string
322
  */
323
  public function get_the_filesize() {
324
  $filesize = $this->get_file_version()->filesize;
337
  echo $this->get_the_filesize();
338
  }
339
 
340
+ /**
341
+ * Get the hash
342
+ * @param string $type md5, sha1 or crc32
343
+ * @return string
344
+ */
345
+ public function get_the_hash( $type = 'md5' ) {
346
+ $hash = $this->get_file_version()->$type;
347
+ return $hash;
348
+ }
349
+
350
+ /**
351
+ * Get the hash
352
+ * @param string $type md5, sha1 or crc32
353
+ * @return string
354
+ */
355
+ public function the_hash( $type = 'md5' ) {
356
+ echo $this->get_the_hash( $type );
357
+ }
358
+
359
  /**
360
  * get_the_filetype function.
361
  *
includes/class-dlm-shortcodes.php CHANGED
@@ -174,6 +174,12 @@ class DLM_Shortcodes {
174
  return $download->get_the_filetype();
175
  case 'filesize' :
176
  return $download->get_the_filesize();
 
 
 
 
 
 
177
  case 'version' :
178
  return $download->get_the_version_number();
179
 
@@ -189,7 +195,9 @@ class DLM_Shortcodes {
189
  case 'post_content' :
190
  return wpautop( wptexturize( do_shortcode( $download->post->post_content ) ) );
191
  case 'post_date' :
192
- return date_i18n( get_option( 'date_format', $download->post->post_date ) );
 
 
193
  case 'author' :
194
  return $download->get_the_author();
195
 
@@ -215,7 +223,7 @@ class DLM_Shortcodes {
215
  * @return void
216
  */
217
  public function downloads( $atts ) {
218
- global $download_monitor;
219
 
220
  extract( shortcode_atts( array(
221
  // Query args
@@ -236,7 +244,8 @@ class DLM_Shortcodes {
236
  'loop_start' => '<ul class="dlm-downloads">',
237
  'loop_end' => '</ul>',
238
  'before' => '<li>',
239
- 'after' => '</li>'
 
240
  ), $atts ) );
241
 
242
  $post__in = ! empty( $include ) ? explode( ',', $include ) : '';
@@ -259,7 +268,7 @@ class DLM_Shortcodes {
259
  case 'hits' :
260
  case 'count' :
261
  case 'download_count' :
262
- $orderby = 'meta_value';
263
  $meta_key = '_download_count';
264
  break;
265
  default :
@@ -270,8 +279,7 @@ class DLM_Shortcodes {
270
  $args = array(
271
  'post_type' => 'dlm_download',
272
  'posts_per_page' => $per_page,
273
- 'offset' => $offset,
274
- 'no_found_rows' => 1,
275
  'post_status' => 'publish',
276
  'orderby' => $orderby,
277
  'order' => $order,
@@ -321,7 +329,8 @@ class DLM_Shortcodes {
321
 
322
  ob_start();
323
 
324
- $downloads = new WP_Query( $args );
 
325
 
326
  if ( $downloads->have_posts() ) : ?>
327
 
@@ -339,6 +348,8 @@ class DLM_Shortcodes {
339
 
340
  <?php echo html_entity_decode( $loop_end ); ?>
341
 
 
 
342
  <?php endif;
343
 
344
  wp_reset_postdata();
174
  return $download->get_the_filetype();
175
  case 'filesize' :
176
  return $download->get_the_filesize();
177
+ case 'md5' :
178
+ return $download->get_the_hash( 'md5' );
179
+ case 'sha1' :
180
+ return $download->get_the_hash( 'sha1' );
181
+ case 'crc32' :
182
+ return $download->get_the_hash( 'crc32' );
183
  case 'version' :
184
  return $download->get_the_version_number();
185
 
195
  case 'post_content' :
196
  return wpautop( wptexturize( do_shortcode( $download->post->post_content ) ) );
197
  case 'post_date' :
198
+ return date_i18n( get_option( 'date_format' ), strtotime( $download->post->post_date ) );
199
+ case 'file_date' :
200
+ return date_i18n( get_option( 'date_format' ), strtotime( $download->get_the_file_date() ) );
201
  case 'author' :
202
  return $download->get_the_author();
203
 
223
  * @return void
224
  */
225
  public function downloads( $atts ) {
226
+ global $download_monitor, $dlm_max_num_pages;
227
 
228
  extract( shortcode_atts( array(
229
  // Query args
244
  'loop_start' => '<ul class="dlm-downloads">',
245
  'loop_end' => '</ul>',
246
  'before' => '<li>',
247
+ 'after' => '</li>',
248
+ 'paginate' => false
249
  ), $atts ) );
250
 
251
  $post__in = ! empty( $include ) ? explode( ',', $include ) : '';
268
  case 'hits' :
269
  case 'count' :
270
  case 'download_count' :
271
+ $orderby = 'meta_value_num';
272
  $meta_key = '_download_count';
273
  break;
274
  default :
279
  $args = array(
280
  'post_type' => 'dlm_download',
281
  'posts_per_page' => $per_page,
282
+ 'offset' => $paginate ? ( max( 1, get_query_var( 'paged' ) ) - 1 ) * $per_page : $offset,
 
283
  'post_status' => 'publish',
284
  'orderby' => $orderby,
285
  'order' => $order,
329
 
330
  ob_start();
331
 
332
+ $downloads = new WP_Query( $args );
333
+ $dlm_max_num_pages = $downloads->max_num_pages;
334
 
335
  if ( $downloads->have_posts() ) : ?>
336
 
348
 
349
  <?php echo html_entity_decode( $loop_end ); ?>
350
 
351
+ <?php if ( $paginate ) $download_monitor->get_template_part( 'pagination', '' ); ?>
352
+
353
  <?php endif;
354
 
355
  wp_reset_postdata();
languages/download_monitor-es_ES.mo CHANGED
Binary file
languages/download_monitor-es_ES.po CHANGED
@@ -2,312 +2,388 @@
2
  # This file is distributed under the same license as the Download Monitor package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Download Monitor 1.0.4\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/download-monitor\n"
7
- "POT-Creation-Date: 2013-07-28 11:39:08+00:00\n"
 
 
 
 
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
- "PO-Revision-Date: 2013-07-28 16:31+0100\n"
12
- "Last-Translator: Víctor González Fraile <victor.gonfraile@hotmail.es>\n"
13
- "Language-Team: \n"
14
  "X-Generator: Poedit 1.5.7\n"
15
- "Language: es_ES\n"
16
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
-
18
- #: download-monitor.php:90 includes/admin/class-dlm-admin.php:226
 
 
 
 
19
  msgid "Settings"
20
  msgstr "Ajustes"
21
 
22
- #: download-monitor.php:91
 
23
  msgid "Add-ons"
24
- msgstr "Addons"
25
 
26
- #: download-monitor.php:92
27
  msgid "Docs"
28
  msgstr "Documentación"
29
 
30
- #: download-monitor.php:240 download-monitor.php:242
31
- #: includes/admin/class-dlm-admin-cpt.php:174
 
32
  msgid "Categories"
33
  msgstr "Categorías"
34
 
35
- #: download-monitor.php:243
36
  msgid "Download Category"
37
  msgstr "Categoría de descarga"
38
 
39
- #: download-monitor.php:244
40
  msgid "Search Download Categories"
41
  msgstr "Buscar categorías de descarga"
42
 
43
- #: download-monitor.php:245
44
  msgid "All Download Categories"
45
  msgstr "Todas las categorías de descarga"
46
 
47
- #: download-monitor.php:246
48
  msgid "Parent Download Category"
49
  msgstr "Categoría de descarga superior"
50
 
51
- #: download-monitor.php:247
52
  msgid "Parent Download Category:"
53
  msgstr "Categoría de descarga superior:"
54
 
55
- #: download-monitor.php:248
56
  msgid "Edit Download Category"
57
  msgstr "Editar categoría de descarga"
58
 
59
- #: download-monitor.php:249
60
  msgid "Update Download Category"
61
  msgstr "Actualizar categoría de descarga"
62
 
63
- #: download-monitor.php:250
64
  msgid "Add New Download Category"
65
  msgstr "Añadir una categoría de descarga nueva"
66
 
67
- #: download-monitor.php:251
68
  msgid "New Download Category Name"
69
  msgstr "Nombre de la nueva categoría de descarga"
70
 
71
- #: download-monitor.php:269 download-monitor.php:271
72
- #: includes/admin/class-dlm-admin-cpt.php:175
 
73
  msgid "Tags"
74
  msgstr "Etiquetas"
75
 
76
- #: download-monitor.php:272
77
  msgid "Download Tag"
78
  msgstr "Etiqueta de descarga"
79
 
80
- #: download-monitor.php:273
81
  msgid "Search Download Tags"
82
  msgstr "Buscar etiquetas de descarga"
83
 
84
- #: download-monitor.php:274
85
  msgid "All Download Tags"
86
  msgstr "Todas las etiquetas de descarga"
87
 
88
- #: download-monitor.php:275
89
  msgid "Parent Download Tag"
90
  msgstr "Etiqueta de descarga superior"
91
 
92
- #: download-monitor.php:276
93
  msgid "Parent Download Tag:"
94
  msgstr "Etiqueta de descarga superior:"
95
 
96
- #: download-monitor.php:277
97
  msgid "Edit Download Tag"
98
  msgstr "Editar etiqueta de descarga"
99
 
100
- #: download-monitor.php:278
101
  msgid "Update Download Tag"
102
  msgstr "Actualizar etiqueta de descarga"
103
 
104
- #: download-monitor.php:279
105
  msgid "Add New Download Tag"
106
  msgstr "Añadir una etiqueta de descarga nueva"
107
 
108
- #: download-monitor.php:280
109
  msgid "New Download Tag Name"
110
  msgstr "Nombre de la nueva etiqueta de descarga"
111
 
112
- #: download-monitor.php:300
 
 
 
 
113
  msgid "Downloads"
114
  msgstr "Descargas"
115
 
116
- #: download-monitor.php:301 includes/admin/class-dlm-admin-dashboard.php:69
117
- #: includes/admin/class-dlm-logging-list-table.php:123
 
118
  msgid "Download"
119
  msgstr "Descarga"
120
 
121
- #: download-monitor.php:302
122
  msgid "Add New"
123
  msgstr "Añadir nueva"
124
 
125
- #: download-monitor.php:303
126
  msgid "Add Download"
127
  msgstr "Añadir descarga"
128
 
129
- #: download-monitor.php:304
130
  msgid "Edit"
131
  msgstr "Editar"
132
 
133
- #: download-monitor.php:305
134
  msgid "Edit Download"
135
  msgstr "Editar descarga"
136
 
137
- #: download-monitor.php:306
138
  msgid "New Download"
139
  msgstr "Descarga nueva"
140
 
141
- #: download-monitor.php:307 download-monitor.php:308
 
142
  msgid "View Download"
143
  msgstr "Ver descarga"
144
 
145
- #: download-monitor.php:309
146
  msgid "Search Downloads"
147
  msgstr "Buscar descargas"
148
 
149
- #: download-monitor.php:310
150
  msgid "No Downloads found"
151
  msgstr "No se han encontrado descargas"
152
 
153
- #: download-monitor.php:311
154
  msgid "No Downloads found in trash"
155
  msgstr "No se han encontrado descargas en la papelera"
156
 
157
- #: download-monitor.php:312
158
  msgid "Parent Download"
159
  msgstr "Descarga superior"
160
 
161
- #: download-monitor.php:314
162
  msgid "This is where you can create and manage downloads for your site."
163
  msgstr "Aquí puedes crear y gestionar las descargas de tu página web."
164
 
165
- #: includes/admin/class-dlm-admin-cpt.php:64
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
166
  msgid "Select a category"
167
  msgstr "Selecciona una categoría"
168
 
169
- #: includes/admin/class-dlm-admin-cpt.php:124
170
  msgid "Download title"
171
  msgstr "Título de la descarga"
172
 
173
- #: includes/admin/class-dlm-admin-cpt.php:140
174
- #: includes/admin/class-dlm-admin-cpt.php:143
175
  msgid "Download updated."
176
  msgstr "Descarga actualizada."
177
 
178
- #: includes/admin/class-dlm-admin-cpt.php:141
179
  msgid "Custom field updated."
180
  msgstr "Apartado personalizado actualizado."
181
 
182
- #: includes/admin/class-dlm-admin-cpt.php:142
183
  msgid "Custom field deleted."
184
  msgstr "Apartado personalizado eliminado."
185
 
186
- #: includes/admin/class-dlm-admin-cpt.php:144
 
187
  msgid "Download restored to revision from %s"
188
  msgstr "Descarga recuperada desde la revisión %s"
189
 
190
- #: includes/admin/class-dlm-admin-cpt.php:145
191
  msgid "Download published."
192
  msgstr "Descarga publicada."
193
 
194
- #: includes/admin/class-dlm-admin-cpt.php:146
195
  msgid "Download saved."
196
  msgstr "Descarga guardada."
197
 
198
- #: includes/admin/class-dlm-admin-cpt.php:147
199
  msgid "Download submitted."
200
  msgstr "Descarga enviada."
201
 
202
- #: includes/admin/class-dlm-admin-cpt.php:148
 
203
  msgid "Download scheduled for: <strong>%1$s</strong>."
204
  msgstr "Descarga prevista para: <strong>%1$s</strong>."
205
 
206
- #: includes/admin/class-dlm-admin-cpt.php:149
207
  msgid "M j, Y @ G:i"
208
  msgstr "j \"\"d\"\"e F \"\"d\"\"e Y, G:i"
209
 
210
- #: includes/admin/class-dlm-admin-cpt.php:150
211
  msgid "Download draft updated."
212
  msgstr "Borrador de descarga actualizado."
213
 
214
- #: includes/admin/class-dlm-admin-cpt.php:169
215
  msgid "Image"
216
  msgstr "Imagen"
217
 
218
- #: includes/admin/class-dlm-admin-cpt.php:170
219
- #: includes/widgets/class-dlm-widget-downloads.php:171
220
  msgid "Title"
221
  msgstr "Título"
222
 
223
- #: includes/admin/class-dlm-admin-cpt.php:171
224
- #: includes/widgets/class-dlm-widget-downloads.php:173
225
  msgid "ID"
226
  msgstr "ID"
227
 
228
- #: includes/admin/class-dlm-admin-cpt.php:172
229
- #: includes/admin/class-dlm-logging-list-table.php:124
230
  msgid "File"
231
  msgstr "Archivo"
232
 
233
- #: includes/admin/class-dlm-admin-cpt.php:173
234
- #: includes/admin/class-dlm-admin-insert.php:199
235
- #: includes/admin/html-downloadable-file-version.php:13
236
  msgid "Version"
237
  msgstr "Versión"
238
 
239
- #: includes/admin/class-dlm-admin-cpt.php:177
240
  msgid "download_count"
241
  msgstr "download_count"
242
 
243
- #: includes/admin/class-dlm-admin-cpt.php:178
244
  msgid "Featured"
245
  msgstr "Destacado"
246
 
247
- #: includes/admin/class-dlm-admin-cpt.php:179
248
- #: includes/admin/class-dlm-admin-writepanels.php:63
249
  msgid "Members only"
250
  msgstr "Solo para miembros"
251
 
252
- #: includes/admin/class-dlm-admin-cpt.php:181
 
 
 
 
253
  msgid "Date posted"
254
  msgstr "Publicación"
255
 
256
- #: includes/admin/class-dlm-admin-dashboard.php:21
257
  msgid "Popular Downloads"
258
  msgstr "Descargas más populares"
259
 
260
- #: includes/admin/class-dlm-admin-dashboard.php:53
261
  msgid "There are no stats available yet!"
262
  msgstr "¡Aún no hay estadísticas disponibles!"
263
 
264
- #: includes/admin/class-dlm-admin-dashboard.php:70
265
- #: includes/admin/html-downloadable-file-version.php:29
266
- #: includes/widgets/class-dlm-widget-downloads.php:176
267
  msgid "Download count"
268
  msgstr "Cantidad de descargas"
269
 
270
- #: includes/admin/class-dlm-admin-insert.php:32
271
- #: includes/admin/class-dlm-admin-insert.php:40
272
- #: includes/admin/class-dlm-admin-insert.php:71
273
  msgid "Insert Download"
274
  msgstr "Insertar descarga"
275
 
276
- #: includes/admin/class-dlm-admin-insert.php:81
277
- #: includes/admin/class-dlm-admin-insert.php:170
278
  msgid "Insert Shortcode"
279
  msgstr "Insertar código rápido"
280
 
281
- #: includes/admin/class-dlm-admin-insert.php:81
282
  msgid "Quick-add download"
283
  msgstr "Añadir descarga rápidamente"
284
 
285
- #: includes/admin/class-dlm-admin-insert.php:124
286
  msgid "Error: File was not created."
287
  msgstr "Error: No se ha creado el archivo."
288
 
289
- #: includes/admin/class-dlm-admin-insert.php:131
290
  msgid "Download successfully created."
291
  msgstr "Descarga creada correctamente."
292
 
293
- #: includes/admin/class-dlm-admin-insert.php:133
294
  msgid "Error: Download was not created."
295
  msgstr "Error: No se ha creado la descarga."
296
 
297
- #: includes/admin/class-dlm-admin-insert.php:151
298
  msgid "Choose a download"
299
  msgstr "Selecciona una descarga"
300
 
301
- #: includes/admin/class-dlm-admin-insert.php:163
302
  msgid "Template"
303
  msgstr "Plantilla"
304
 
305
- #: includes/admin/class-dlm-admin-insert.php:164
306
  msgid "Template Name"
307
  msgstr "Nombre de la plantilla"
308
 
309
- #: includes/admin/class-dlm-admin-insert.php:166
310
- #: includes/admin/class-dlm-admin.php:94
311
  msgid ""
312
  "Leaving this blank will use the default <code>content-download.php</code> "
313
  "template file. If you enter, for example, <code>image</code>, the "
@@ -318,87 +394,82 @@ msgstr ""
318
  "<code>image</code>, se utilizará en su lugar la plantilla <code>content-"
319
  "download-image.php</code>."
320
 
321
- #: includes/admin/class-dlm-admin-insert.php:181
322
  msgid "Drop file here"
323
  msgstr "suelta aquí el archivo"
324
 
325
- #: includes/admin/class-dlm-admin-insert.php:182
326
- #: includes/admin/class-dlm-admin-insert.php:184
327
  msgid "or"
328
  msgstr "o"
329
 
330
- #: includes/admin/class-dlm-admin-insert.php:183
331
- msgid "Select File"
332
- msgstr "Selecciona un archivo"
333
-
334
- #: includes/admin/class-dlm-admin-insert.php:185
335
  msgid "Enter URL manually"
336
  msgstr "Introducir la dirección URL manualmente"
337
 
338
- #: includes/admin/class-dlm-admin-insert.php:191
339
  msgid "Download URL"
340
  msgstr "URL de descarga"
341
 
342
- #: includes/admin/class-dlm-admin-insert.php:192
343
  msgid "Required URL"
344
  msgstr "URL necesaria"
345
 
346
- #: includes/admin/class-dlm-admin-insert.php:195
347
  msgid "Download Title"
348
  msgstr "Título de la descarga"
349
 
350
- #: includes/admin/class-dlm-admin-insert.php:196
351
  msgid "Required title"
352
  msgstr "Título necesario"
353
 
354
- #: includes/admin/class-dlm-admin-insert.php:200
355
  msgid "Optional version number"
356
  msgstr "Número de versión opcional"
357
 
358
- #: includes/admin/class-dlm-admin-insert.php:203
359
  msgid "Save Download"
360
  msgstr "Guardar descarga"
361
 
362
- #: includes/admin/class-dlm-admin-insert.php:261
363
  msgid "Allowed Files"
364
  msgstr "Archivos permitidos"
365
 
366
- #: includes/admin/class-dlm-admin-insert.php:311
367
  msgid "Please wait..."
368
  msgstr "Espera, por favor..."
369
 
370
- #: includes/admin/class-dlm-admin-media-browser.php:31
371
- #: includes/admin/class-dlm-admin-writepanels.php:245
372
  msgid "Browse for a file"
373
  msgstr "Buscar un archivo"
374
 
375
- #: includes/admin/class-dlm-admin-media-browser.php:100
376
  msgid "No files found"
377
  msgstr "No se han encontrado archivos"
378
 
379
- #: includes/admin/class-dlm-admin-writepanels.php:29
380
  msgid "Download Options"
381
  msgstr "Opciones de descarga"
382
 
383
- #: includes/admin/class-dlm-admin-writepanels.php:30
384
  msgid "Downloadable File Versions"
385
  msgstr "Versiones descargables del archivo"
386
 
387
- #: includes/admin/class-dlm-admin-writepanels.php:35
388
  msgid "Short Description"
389
  msgstr "Descripción breve"
390
 
391
- #: includes/admin/class-dlm-admin-writepanels.php:57
392
  msgid "Featured download"
393
  msgstr "Descarga destacada"
394
 
395
- #: includes/admin/class-dlm-admin-writepanels.php:58
396
  msgid "Mark this download as featured. Used by shortcodes and widgets."
397
  msgstr ""
398
  "Marcar esta descarga como destacada. La utilizan los códigos rápidos y los "
399
  "widgets."
400
 
401
- #: includes/admin/class-dlm-admin-writepanels.php:64
402
  msgid ""
403
  "Only logged in users will be able to access the file via a download link if "
404
  "this is enabled."
@@ -406,31 +477,43 @@ msgstr ""
406
  "Al activar esta opción solo podrán acceder al archivo, a través de un enlace "
407
  "de descarga, los usuarios conectados."
408
 
409
- #: includes/admin/class-dlm-admin-writepanels.php:86
 
 
 
 
 
 
 
 
 
 
 
 
410
  msgid "Add version"
411
  msgstr "Añadir versión"
412
 
413
- #: includes/admin/class-dlm-admin-writepanels.php:87
414
  msgid "Close all"
415
  msgstr "Cerrar todo"
416
 
417
- #: includes/admin/class-dlm-admin-writepanels.php:87
418
  msgid "Expand all"
419
  msgstr "Expandir todo"
420
 
421
- #: includes/admin/class-dlm-admin-writepanels.php:210
422
  msgid "Are you sure you want to delete this file?"
423
  msgstr "¿Seguro que quieres eliminar este archivo?"
424
 
425
- #: includes/admin/class-dlm-admin.php:87
426
  msgid "General"
427
  msgstr "General"
428
 
429
- #: includes/admin/class-dlm-admin.php:93
430
  msgid "Default Template"
431
  msgstr "Plantilla predeterminada"
432
 
433
- #: includes/admin/class-dlm-admin.php:94
434
  msgid ""
435
  "Choose which template is used for <code>[download]</code> shortcodes by "
436
  "default (this can be overridden by the <code>format</code> argument)."
@@ -439,19 +522,70 @@ msgstr ""
439
  "code> de forma predeterminada (puede anularse con la cadena <code>format</"
440
  "code>)."
441
 
442
- #: includes/admin/class-dlm-admin.php:99
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
443
  msgid "Endpoint"
444
  msgstr "Término"
445
 
446
- #: includes/admin/class-dlm-admin.php:104
447
  msgid "download"
448
  msgstr "descarga"
449
 
450
- #: includes/admin/class-dlm-admin.php:105
451
  msgid "Download Endpoint"
452
  msgstr "Término de la descarga"
453
 
454
- #: includes/admin/class-dlm-admin.php:106
 
455
  msgid ""
456
  "Define what endpoint should be used for download links. By default this will "
457
  "be <code>%s</code>."
@@ -459,11 +593,12 @@ msgstr ""
459
  "Define qué término se utilizará para los enlaces de descarga. Por defecto se "
460
  "utilizará <code>%s</code>."
461
 
462
- #: includes/admin/class-dlm-admin.php:111
463
  msgid "Endpoint Value"
464
  msgstr "Valor del término"
465
 
466
- #: includes/admin/class-dlm-admin.php:112
 
467
  msgid ""
468
  "Define what unique value should be used on the end of your endpoint to "
469
  "identify the downloadable file. e.g. ID would give a link like <code>%s</"
@@ -473,25 +608,25 @@ msgstr ""
473
  "identificar el archivo descargable. Por ejemplo, una ID mostraría un enlace "
474
  "similar a <code>%s</code>."
475
 
476
- #: includes/admin/class-dlm-admin.php:115
477
- #: includes/admin/class-dlm-admin.php:400
478
  msgid "Download ID"
479
  msgstr "ID de descarga"
480
 
481
- #: includes/admin/class-dlm-admin.php:116
482
  msgid "Download slug"
483
  msgstr "Slug de descarga"
484
 
485
- #: includes/admin/class-dlm-admin.php:122
486
  msgid "X-Accel-Redirect / X-Sendfile"
487
  msgstr "X-Accel-Redirect / X-Sendfile"
488
 
489
- #: includes/admin/class-dlm-admin.php:123
490
- #: includes/admin/class-dlm-admin.php:134
491
  msgid "Enable"
492
  msgstr "Activar"
493
 
494
- #: includes/admin/class-dlm-admin.php:124
495
  msgid ""
496
  "If supported, <code>X-Accel-Redirect</code> / <code>X-Sendfile</code> can be "
497
  "used to serve downloads instead of PHP (server requires <code>mod_xsendfile</"
@@ -501,23 +636,23 @@ msgstr ""
501
  "Sendfile</code> para servir las descargas en vez de PHP (el servidor "
502
  "necesita <code>mod_xsendfile</code>)."
503
 
504
- #: includes/admin/class-dlm-admin.php:130
505
  msgid "Logging"
506
  msgstr "Registros"
507
 
508
- #: includes/admin/class-dlm-admin.php:136
509
  msgid "Download Log"
510
  msgstr "Registro de descargas"
511
 
512
- #: includes/admin/class-dlm-admin.php:137
513
  msgid "Log download attempts, IP addresses and more."
514
  msgstr "Registrar los intentos de descargas, las direcciones IP y más."
515
 
516
- #: includes/admin/class-dlm-admin.php:143
517
  msgid "Blacklist IPs"
518
  msgstr "IPs en lista negra"
519
 
520
- #: includes/admin/class-dlm-admin.php:144
521
  msgid ""
522
  "List IP Addresses to blacklist, 1 per line. Use <code>*</code> for a "
523
  "wildcard."
@@ -525,174 +660,188 @@ msgstr ""
525
  "Indica las direcciones IP que están en la lista negra, a 1 IP por línea. Se "
526
  "puede utilizar el comodín <code>*</code>."
527
 
528
- #: includes/admin/class-dlm-admin.php:151
529
  msgid "Blacklist user agents"
530
  msgstr "Agentes de usuario en lista negra"
531
 
532
- #: includes/admin/class-dlm-admin.php:152
533
  msgid "List browser user agents to blacklist, 1 per line."
534
  msgstr ""
535
  "Indica los agentes de usuario de navegadores que están en la lista negra, a "
536
  "1 por línea."
537
 
538
- #: includes/admin/class-dlm-admin.php:224
539
  msgid "Logs"
540
  msgstr "Registros"
541
 
542
- #: includes/admin/class-dlm-admin.php:257
543
  msgid "Settings successfully saved"
544
  msgstr "Los ajustes se han guardado correctamente"
545
 
546
- #: includes/admin/class-dlm-admin.php:324
547
  msgid "Save Changes"
548
  msgstr "Guardar cambios"
549
 
550
- #: includes/admin/class-dlm-admin.php:361
551
  msgid "Download Logs"
552
  msgstr "Registros de descarga"
553
 
554
- #: includes/admin/class-dlm-admin.php:361
555
  msgid "Export CSV"
556
  msgstr "Exportar CSV"
557
 
558
- #: includes/admin/class-dlm-admin.php:401
 
 
 
 
559
  msgid "Version ID"
560
  msgstr "ID de la versión"
561
 
562
- #: includes/admin/class-dlm-admin.php:402
563
  msgid "Filename"
564
  msgstr "Nombre del archivo"
565
 
566
- #: includes/admin/class-dlm-admin.php:403
567
  msgid "User ID"
568
  msgstr "ID del usuario"
569
 
570
- #: includes/admin/class-dlm-admin.php:404
571
  msgid "User Login"
572
  msgstr "Nombre del usuario"
573
 
574
- #: includes/admin/class-dlm-admin.php:405
575
  msgid "User Email"
576
  msgstr "Email del usuario"
577
 
578
- #: includes/admin/class-dlm-admin.php:406
579
  msgid "User IP"
580
  msgstr "IP del usuario"
581
 
582
- #: includes/admin/class-dlm-admin.php:407
583
- #: includes/admin/class-dlm-logging-list-table.php:127
584
  msgid "User Agent"
585
  msgstr "Agente del usuario"
586
 
587
- #: includes/admin/class-dlm-admin.php:408
588
- #: includes/admin/class-dlm-logging-list-table.php:128
589
  msgid "Date"
590
  msgstr "Fecha"
591
 
592
- #: includes/admin/class-dlm-admin.php:409
593
  msgid "Status"
594
  msgstr "Estado"
595
 
596
- #: includes/admin/class-dlm-logging-list-table.php:50
597
  msgid "Download Complete"
598
  msgstr "Descarga completada"
599
 
600
- #: includes/admin/class-dlm-logging-list-table.php:57
 
601
  msgid "%s ago"
602
  msgstr "Hace %s"
603
 
604
- #: includes/admin/class-dlm-logging-list-table.php:64
 
605
  msgid "Download #%d (no longer exists)"
606
  msgstr "Descarga #%d (ya no existe)"
607
 
608
- #: includes/admin/class-dlm-logging-list-table.php:72
 
609
  msgid "v%s"
610
  msgstr "v%s"
611
 
612
- #: includes/admin/class-dlm-logging-list-table.php:92
613
  msgid "Non-member"
614
  msgstr "Externo"
615
 
616
- #: includes/admin/class-dlm-logging-list-table.php:125
617
  msgid "User"
618
  msgstr "Usuario"
619
 
620
- #: includes/admin/class-dlm-logging-list-table.php:126
621
  msgid "IP Address"
622
  msgstr "Dirección IP"
623
 
624
- #: includes/admin/class-dlm-logging-list-table.php:142
625
  msgid "Any status"
626
  msgstr "Cualquier estado"
627
 
628
- #: includes/admin/class-dlm-logging-list-table.php:143
629
  msgid "Failed"
630
  msgstr "Fallido"
631
 
632
- #: includes/admin/class-dlm-logging-list-table.php:144
633
  msgid "Redirected"
634
  msgstr "Redirigido"
635
 
636
- #: includes/admin/class-dlm-logging-list-table.php:145
637
  msgid "Completed"
638
  msgstr "Completada"
639
 
640
- #: includes/admin/class-dlm-logging-list-table.php:148
641
- msgid "Any month"
642
- msgstr "Cualquier mes"
 
 
 
 
 
643
 
644
- #: includes/admin/class-dlm-logging-list-table.php:172
645
  msgid "25 per page"
646
  msgstr "25 por página"
647
 
648
- #: includes/admin/class-dlm-logging-list-table.php:173
649
  msgid "50 per page"
650
  msgstr "50 por página"
651
 
652
- #: includes/admin/class-dlm-logging-list-table.php:174
653
  msgid "100 per page"
654
  msgstr "100 por página"
655
 
656
- #: includes/admin/class-dlm-logging-list-table.php:175
657
  msgid "200 per page"
658
  msgstr "200 por página"
659
 
660
- #: includes/admin/class-dlm-logging-list-table.php:176
661
  msgid "Show All"
662
  msgstr "Mostrar todo"
663
 
664
- #: includes/admin/class-dlm-logging-list-table.php:180
665
  msgid "Filter"
666
  msgstr "Filtro"
667
 
668
- #: includes/admin/html-downloadable-file-version.php:3
669
  msgid "Remove"
670
  msgstr "Eliminar"
671
 
672
- #: includes/admin/html-downloadable-file-version.php:4
673
  msgid "Click to toggle"
674
  msgstr "Pulsa para alternar"
675
 
676
- #: includes/admin/html-downloadable-file-version.php:5
 
677
  msgid "Version <span class=\"version\">%s</span> (%s)"
678
  msgstr "Versión <span class=\"version\">%s</span> (%s)"
679
 
680
- #: includes/admin/html-downloadable-file-version.php:5
681
- #: includes/admin/html-downloadable-file-version.php:14
682
  msgid "n/a"
683
  msgstr "No disponible"
684
 
685
- #: includes/admin/html-downloadable-file-version.php:5
 
686
  msgid "Downloaded %s time"
687
  msgid_plural "Downloaded %s times"
688
  msgstr[0] "Descargado %s vez"
689
  msgstr[1] "Descargado %s veces"
690
 
691
- #: includes/admin/html-downloadable-file-version.php:18
692
  msgid "File URL(s)"
693
  msgstr "Dirección(es) URL del archivo"
694
 
695
- #: includes/admin/html-downloadable-file-version.php:19
696
  msgid ""
697
  "Enter one file path/URL per line - multiple files will be used as mirrors "
698
  "(chosen at random)."
@@ -700,199 +849,153 @@ msgstr ""
700
  "Introduce una dirección a archivo/dirección URL por línea; si hay varios "
701
  "archivos se utilizarán como descargas alternativas (elegidas al azar)."
702
 
703
- #: includes/admin/html-downloadable-file-version.php:21
 
 
 
 
704
  msgid "Choose a file"
705
  msgstr "Selecciona un archivo"
706
 
707
- #: includes/admin/html-downloadable-file-version.php:21
708
  msgid "Insert file URL"
709
  msgstr "Introduce la dirección URL del archivo"
710
 
711
- #: includes/admin/html-downloadable-file-version.php:21
712
- msgid "Upload file"
713
- msgstr "Subir archivo"
714
-
715
- #: includes/admin/html-downloadable-file-version.php:22
716
  msgid "Browse for file"
717
  msgstr "Buscar archivo"
718
 
719
- #: includes/admin/html-downloadable-file-version.php:35
720
  msgid "File Date"
721
  msgstr "Fecha del archivo"
722
 
723
- #: includes/admin/html-downloadable-file-version.php:36
724
  msgid "h"
725
  msgstr "h"
726
 
727
- #: includes/admin/html-downloadable-file-version.php:36
728
  msgid "m"
729
  msgstr "m"
730
 
731
- #: includes/class-dlm-download-handler.php:121
732
- msgid "Download does not exist."
733
- msgstr "La descarga no existe."
734
-
735
- #: includes/class-dlm-download-handler.php:121
736
- #: includes/class-dlm-download-handler.php:140
737
- #: includes/class-dlm-download-handler.php:145
738
- #: includes/class-dlm-download-handler.php:154
739
- #: includes/class-dlm-download-handler.php:293
740
- msgid "Go to homepage &rarr;"
741
- msgstr "Ir a la página web &rarr;"
742
-
743
- #: includes/class-dlm-download-handler.php:121
744
- #: includes/class-dlm-download-handler.php:140
745
- #: includes/class-dlm-download-handler.php:145
746
- #: includes/class-dlm-download-handler.php:154
747
- #: includes/class-dlm-download-handler.php:293
748
- msgid "Download Error"
749
- msgstr "Error en la descarga"
750
-
751
- #: includes/class-dlm-download-handler.php:140
752
- #: includes/class-dlm-download-handler.php:145
753
- msgid "No file paths defined."
754
- msgstr "No hay una dirección de archivo definida."
755
-
756
- #: includes/class-dlm-download-handler.php:154
757
- msgid "You do not have permission to access this download."
758
- msgstr "No tienes permisos para acceder a esta descarga."
759
-
760
- #: includes/class-dlm-download-handler.php:168
761
- #: includes/class-dlm-download-handler.php:259
762
- #: includes/class-dlm-download-handler.php:265
763
- #: includes/class-dlm-download-handler.php:271
764
- msgid "Redirected to file"
765
- msgstr "Redirigido al archivo"
766
-
767
- #: includes/class-dlm-download-handler.php:286
768
- msgid "Redirected to remote file."
769
- msgstr "Redirigido al archivo remoto."
770
-
771
- #: includes/class-dlm-download-handler.php:291
772
- msgid "File not found"
773
- msgstr "Archivo no encontrado"
774
-
775
- #: includes/class-dlm-download-handler.php:293
776
- msgid "File not found."
777
- msgstr "Archivo no encontrado."
778
-
779
- #: includes/class-dlm-shortcodes.php:102
780
- msgid "Download not found"
781
- msgstr "Descarga no encontrada"
782
-
783
- #: includes/widgets/class-dlm-widget-downloads.php:27
784
  msgid "Display a list of your downloads."
785
  msgstr "Muestra una lista de tus descargas."
786
 
787
- #: includes/widgets/class-dlm-widget-downloads.php:29
788
  msgid "Downloads List"
789
  msgstr "Lista de descargas"
790
 
791
- #: includes/widgets/class-dlm-widget-downloads.php:52
792
- #: includes/widgets/class-dlm-widget-downloads.php:148
793
  msgid "Featured Downloads"
794
  msgstr "Descargas destacadas"
795
 
796
- #: includes/widgets/class-dlm-widget-downloads.php:157
797
  msgid "Title:"
798
  msgstr "Título:"
799
 
800
- #: includes/widgets/class-dlm-widget-downloads.php:161
801
  msgid "Limit:"
802
  msgstr "Límite:"
803
 
804
- #: includes/widgets/class-dlm-widget-downloads.php:165
805
  msgid "Output template:"
806
  msgstr "Plantilla de salida:"
807
 
808
- #: includes/widgets/class-dlm-widget-downloads.php:166
809
  msgid "Default template"
810
  msgstr "Plantilla predeterminada"
811
 
812
- #: includes/widgets/class-dlm-widget-downloads.php:169
813
  msgid "Order by:"
814
  msgstr "Ordenar por:"
815
 
816
- #: includes/widgets/class-dlm-widget-downloads.php:172
817
  msgid "Random"
818
  msgstr "Al azar"
819
 
820
- #: includes/widgets/class-dlm-widget-downloads.php:174
821
  msgid "Date added"
822
  msgstr "Fecha de creación"
823
 
824
- #: includes/widgets/class-dlm-widget-downloads.php:175
825
  msgid "Date modified"
826
  msgstr "Fecha de modificación"
827
 
828
- #: includes/widgets/class-dlm-widget-downloads.php:180
829
  msgid "Order:"
830
  msgstr "Orden:"
831
 
832
- #: includes/widgets/class-dlm-widget-downloads.php:182
833
  msgid "ASC"
834
  msgstr "ASCENDENTE"
835
 
836
- #: includes/widgets/class-dlm-widget-downloads.php:183
837
  msgid "DESC"
838
  msgstr "DESCENDENTE"
839
 
840
- #: includes/widgets/class-dlm-widget-downloads.php:188
841
  msgid "Show only featured downloads"
842
  msgstr "Solo mostrar las descargas destacadas"
843
 
844
- #: includes/widgets/class-dlm-widget-downloads.php:192
845
  msgid "Show only members only downloads"
846
  msgstr "Solo mostrar las descargas a los miembros"
847
 
848
- #: templates/content-download-box.php:12
849
- #: templates/content-download-filename.php:9 templates/content-download.php:9
 
 
850
  msgid "1 download"
851
  msgid_plural "%d downloads"
852
  msgstr[0] "1 descarga"
853
  msgstr[1] "%d descargas"
854
 
855
- #: templates/content-download-box.php:20
856
- #: templates/content-download-filename.php:8 templates/content-download.php:8
 
 
 
857
  msgid "Version %s"
858
  msgstr "Versión %s"
859
 
860
- #: templates/content-download-box.php:21
861
  msgid "Download File"
862
  msgstr "Descargar archivo"
863
 
864
- #: templates/content-download-button.php:9
 
865
  msgid "Download &ldquo;%s&rdquo;"
866
  msgstr "Descargar &ldquo;%s&rdquo;"
867
 
868
- #: templates/content-download-button.php:10
 
 
869
  msgid "Downloaded 1 time"
870
  msgid_plural "Downloaded %d times"
871
  msgstr[0] "Descargado 1 vez"
872
  msgstr[1] "Descargado %d veces"
873
 
874
- #. Plugin Name of the plugin/theme
875
- msgid "Download Monitor"
876
- msgstr "Download Monitor"
877
 
878
- #. Plugin URI of the plugin/theme
879
- msgid "http://mikejolley.com/projects/download-monitor/"
880
- msgstr "http://mikejolley.com/projects/download-monitor/"
881
 
882
- #. Description of the plugin/theme
883
- msgid ""
884
- "A full solution for managing downloadable files, monitoring downloads and "
885
- "outputting download links and file information on your WordPress powered "
886
- "site."
887
- msgstr ""
888
- "Una solución completa para gestionar archivos descargables, controlar las "
889
- "descargas y exportar los enlaces de descarga y la información de archivos a "
890
- "tu web basada en WordPress."
 
 
891
 
892
- #. Author of the plugin/theme
893
- msgid "Mike Jolley"
894
- msgstr "Mike Jolley"
895
 
896
- #. Author URI of the plugin/theme
897
- msgid "http://mikejolley.com"
898
- msgstr "http://mikejolley.com"
2
  # This file is distributed under the same license as the Download Monitor package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Download Monitor 1.3.0\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/download-monitor\n"
7
+ "POT-Creation-Date: 2013-11-22 16:47+0100\n"
8
+ "PO-Revision-Date: 2013-11-22 17:01+0100\n"
9
+ "Last-Translator: Víctor González Fraile <victor.gonfraile@hotmail.es>\n"
10
+ "Language-Team: \n"
11
+ "Language: es_ES\n"
12
  "MIME-Version: 1.0\n"
13
  "Content-Type: text/plain; charset=UTF-8\n"
14
  "Content-Transfer-Encoding: 8bit\n"
 
 
 
15
  "X-Generator: Poedit 1.5.7\n"
16
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
17
+ "X-Poedit-KeywordsList: __;_e;_n:1,2\n"
18
+ "X-Poedit-Basepath: .\n"
19
+ "X-Poedit-SourceCharset: UTF-8\n"
20
+ "X-Poedit-SearchPath-0: download-monitor\n"
21
+
22
+ #: download-monitor/download-monitor.php:91
23
+ #: download-monitor/includes/admin/class-dlm-admin.php:249
24
  msgid "Settings"
25
  msgstr "Ajustes"
26
 
27
+ #: download-monitor/download-monitor.php:92
28
+ #: download-monitor/includes/admin/class-dlm-admin.php:252
29
  msgid "Add-ons"
30
+ msgstr "Complementos"
31
 
32
+ #: download-monitor/download-monitor.php:93
33
  msgid "Docs"
34
  msgstr "Documentación"
35
 
36
+ #: download-monitor/download-monitor.php:240
37
+ #: download-monitor/download-monitor.php:242
38
+ #: download-monitor/includes/admin/class-dlm-admin-cpt.php:174
39
  msgid "Categories"
40
  msgstr "Categorías"
41
 
42
+ #: download-monitor/download-monitor.php:243
43
  msgid "Download Category"
44
  msgstr "Categoría de descarga"
45
 
46
+ #: download-monitor/download-monitor.php:244
47
  msgid "Search Download Categories"
48
  msgstr "Buscar categorías de descarga"
49
 
50
+ #: download-monitor/download-monitor.php:245
51
  msgid "All Download Categories"
52
  msgstr "Todas las categorías de descarga"
53
 
54
+ #: download-monitor/download-monitor.php:246
55
  msgid "Parent Download Category"
56
  msgstr "Categoría de descarga superior"
57
 
58
+ #: download-monitor/download-monitor.php:247
59
  msgid "Parent Download Category:"
60
  msgstr "Categoría de descarga superior:"
61
 
62
+ #: download-monitor/download-monitor.php:248
63
  msgid "Edit Download Category"
64
  msgstr "Editar categoría de descarga"
65
 
66
+ #: download-monitor/download-monitor.php:249
67
  msgid "Update Download Category"
68
  msgstr "Actualizar categoría de descarga"
69
 
70
+ #: download-monitor/download-monitor.php:250
71
  msgid "Add New Download Category"
72
  msgstr "Añadir una categoría de descarga nueva"
73
 
74
+ #: download-monitor/download-monitor.php:251
75
  msgid "New Download Category Name"
76
  msgstr "Nombre de la nueva categoría de descarga"
77
 
78
+ #: download-monitor/download-monitor.php:270
79
+ #: download-monitor/download-monitor.php:272
80
+ #: download-monitor/includes/admin/class-dlm-admin-cpt.php:175
81
  msgid "Tags"
82
  msgstr "Etiquetas"
83
 
84
+ #: download-monitor/download-monitor.php:273
85
  msgid "Download Tag"
86
  msgstr "Etiqueta de descarga"
87
 
88
+ #: download-monitor/download-monitor.php:274
89
  msgid "Search Download Tags"
90
  msgstr "Buscar etiquetas de descarga"
91
 
92
+ #: download-monitor/download-monitor.php:275
93
  msgid "All Download Tags"
94
  msgstr "Todas las etiquetas de descarga"
95
 
96
+ #: download-monitor/download-monitor.php:276
97
  msgid "Parent Download Tag"
98
  msgstr "Etiqueta de descarga superior"
99
 
100
+ #: download-monitor/download-monitor.php:277
101
  msgid "Parent Download Tag:"
102
  msgstr "Etiqueta de descarga superior:"
103
 
104
+ #: download-monitor/download-monitor.php:278
105
  msgid "Edit Download Tag"
106
  msgstr "Editar etiqueta de descarga"
107
 
108
+ #: download-monitor/download-monitor.php:279
109
  msgid "Update Download Tag"
110
  msgstr "Actualizar etiqueta de descarga"
111
 
112
+ #: download-monitor/download-monitor.php:280
113
  msgid "Add New Download Tag"
114
  msgstr "Añadir una etiqueta de descarga nueva"
115
 
116
+ #: download-monitor/download-monitor.php:281
117
  msgid "New Download Tag Name"
118
  msgstr "Nombre de la nueva etiqueta de descarga"
119
 
120
+ #: download-monitor/download-monitor.php:302
121
+ msgid "All Downloads"
122
+ msgstr "Todas las descargas"
123
+
124
+ #: download-monitor/download-monitor.php:303
125
  msgid "Downloads"
126
  msgstr "Descargas"
127
 
128
+ #: download-monitor/download-monitor.php:304
129
+ #: download-monitor/includes/admin/class-dlm-admin-dashboard.php:69
130
+ #: download-monitor/includes/admin/class-dlm-logging-list-table.php:123
131
  msgid "Download"
132
  msgstr "Descarga"
133
 
134
+ #: download-monitor/download-monitor.php:305
135
  msgid "Add New"
136
  msgstr "Añadir nueva"
137
 
138
+ #: download-monitor/download-monitor.php:306
139
  msgid "Add Download"
140
  msgstr "Añadir descarga"
141
 
142
+ #: download-monitor/download-monitor.php:307
143
  msgid "Edit"
144
  msgstr "Editar"
145
 
146
+ #: download-monitor/download-monitor.php:308
147
  msgid "Edit Download"
148
  msgstr "Editar descarga"
149
 
150
+ #: download-monitor/download-monitor.php:309
151
  msgid "New Download"
152
  msgstr "Descarga nueva"
153
 
154
+ #: download-monitor/download-monitor.php:310
155
+ #: download-monitor/download-monitor.php:311
156
  msgid "View Download"
157
  msgstr "Ver descarga"
158
 
159
+ #: download-monitor/download-monitor.php:312
160
  msgid "Search Downloads"
161
  msgstr "Buscar descargas"
162
 
163
+ #: download-monitor/download-monitor.php:313
164
  msgid "No Downloads found"
165
  msgstr "No se han encontrado descargas"
166
 
167
+ #: download-monitor/download-monitor.php:314
168
  msgid "No Downloads found in trash"
169
  msgstr "No se han encontrado descargas en la papelera"
170
 
171
+ #: download-monitor/download-monitor.php:315
172
  msgid "Parent Download"
173
  msgstr "Descarga superior"
174
 
175
+ #: download-monitor/download-monitor.php:317
176
  msgid "This is where you can create and manage downloads for your site."
177
  msgstr "Aquí puedes crear y gestionar las descargas de tu página web."
178
 
179
+ #: download-monitor/includes/class-dlm-download-handler.php:124
180
+ msgid "Download does not exist."
181
+ msgstr "La descarga no existe."
182
+
183
+ #: download-monitor/includes/class-dlm-download-handler.php:124
184
+ #: download-monitor/includes/class-dlm-download-handler.php:144
185
+ #: download-monitor/includes/class-dlm-download-handler.php:149
186
+ #: download-monitor/includes/class-dlm-download-handler.php:158
187
+ #: download-monitor/includes/class-dlm-download-handler.php:343
188
+ msgid "Go to homepage &rarr;"
189
+ msgstr "Ir a la página web &rarr;"
190
+
191
+ #: download-monitor/includes/class-dlm-download-handler.php:124
192
+ #: download-monitor/includes/class-dlm-download-handler.php:144
193
+ #: download-monitor/includes/class-dlm-download-handler.php:149
194
+ #: download-monitor/includes/class-dlm-download-handler.php:158
195
+ #: download-monitor/includes/class-dlm-download-handler.php:343
196
+ msgid "Download Error"
197
+ msgstr "Error en la descarga"
198
+
199
+ #: download-monitor/includes/class-dlm-download-handler.php:144
200
+ #: download-monitor/includes/class-dlm-download-handler.php:149
201
+ msgid "No file paths defined."
202
+ msgstr "No hay una dirección de archivo definida."
203
+
204
+ #: download-monitor/includes/class-dlm-download-handler.php:158
205
+ msgid "You do not have permission to access this download."
206
+ msgstr "No tienes permisos para acceder a esta descarga."
207
+
208
+ #: download-monitor/includes/class-dlm-download-handler.php:182
209
+ #: download-monitor/includes/class-dlm-download-handler.php:280
210
+ #: download-monitor/includes/class-dlm-download-handler.php:288
211
+ #: download-monitor/includes/class-dlm-download-handler.php:296
212
+ msgid "Redirected to file"
213
+ msgstr "Redirigido al archivo"
214
+
215
+ #: download-monitor/includes/class-dlm-download-handler.php:335
216
+ msgid "Redirected to remote file."
217
+ msgstr "Redirigido al archivo remoto."
218
+
219
+ #: download-monitor/includes/class-dlm-download-handler.php:341
220
+ msgid "File not found"
221
+ msgstr "Archivo no encontrado"
222
+
223
+ #: download-monitor/includes/class-dlm-download-handler.php:343
224
+ msgid "File not found."
225
+ msgstr "Archivo no encontrado."
226
+
227
+ #: download-monitor/includes/class-dlm-shortcodes.php:93
228
+ #: download-monitor/includes/class-dlm-shortcodes.php:125
229
+ msgid "Download not found"
230
+ msgstr "Descarga no encontrada"
231
+
232
+ #: download-monitor/includes/admin/class-dlm-addons.php:50
233
+ #: download-monitor/includes/admin/class-dlm-admin.php:252
234
+ msgid "Download Monitor Add-ons"
235
+ msgstr "Complementos de Download Monitor"
236
+
237
+ #: download-monitor/includes/admin/class-dlm-admin-cpt.php:64
238
  msgid "Select a category"
239
  msgstr "Selecciona una categoría"
240
 
241
+ #: download-monitor/includes/admin/class-dlm-admin-cpt.php:124
242
  msgid "Download title"
243
  msgstr "Título de la descarga"
244
 
245
+ #: download-monitor/includes/admin/class-dlm-admin-cpt.php:140
246
+ #: download-monitor/includes/admin/class-dlm-admin-cpt.php:143
247
  msgid "Download updated."
248
  msgstr "Descarga actualizada."
249
 
250
+ #: download-monitor/includes/admin/class-dlm-admin-cpt.php:141
251
  msgid "Custom field updated."
252
  msgstr "Apartado personalizado actualizado."
253
 
254
+ #: download-monitor/includes/admin/class-dlm-admin-cpt.php:142
255
  msgid "Custom field deleted."
256
  msgstr "Apartado personalizado eliminado."
257
 
258
+ #: download-monitor/includes/admin/class-dlm-admin-cpt.php:144
259
+ #, php-format
260
  msgid "Download restored to revision from %s"
261
  msgstr "Descarga recuperada desde la revisión %s"
262
 
263
+ #: download-monitor/includes/admin/class-dlm-admin-cpt.php:145
264
  msgid "Download published."
265
  msgstr "Descarga publicada."
266
 
267
+ #: download-monitor/includes/admin/class-dlm-admin-cpt.php:146
268
  msgid "Download saved."
269
  msgstr "Descarga guardada."
270
 
271
+ #: download-monitor/includes/admin/class-dlm-admin-cpt.php:147
272
  msgid "Download submitted."
273
  msgstr "Descarga enviada."
274
 
275
+ #: download-monitor/includes/admin/class-dlm-admin-cpt.php:148
276
+ #, php-format
277
  msgid "Download scheduled for: <strong>%1$s</strong>."
278
  msgstr "Descarga prevista para: <strong>%1$s</strong>."
279
 
280
+ #: download-monitor/includes/admin/class-dlm-admin-cpt.php:149
281
  msgid "M j, Y @ G:i"
282
  msgstr "j \"\"d\"\"e F \"\"d\"\"e Y, G:i"
283
 
284
+ #: download-monitor/includes/admin/class-dlm-admin-cpt.php:150
285
  msgid "Download draft updated."
286
  msgstr "Borrador de descarga actualizado."
287
 
288
+ #: download-monitor/includes/admin/class-dlm-admin-cpt.php:169
289
  msgid "Image"
290
  msgstr "Imagen"
291
 
292
+ #: download-monitor/includes/admin/class-dlm-admin-cpt.php:170
293
+ #: download-monitor/includes/widgets/class-dlm-widget-downloads.php:171
294
  msgid "Title"
295
  msgstr "Título"
296
 
297
+ #: download-monitor/includes/admin/class-dlm-admin-cpt.php:171
298
+ #: download-monitor/includes/widgets/class-dlm-widget-downloads.php:173
299
  msgid "ID"
300
  msgstr "ID"
301
 
302
+ #: download-monitor/includes/admin/class-dlm-admin-cpt.php:172
303
+ #: download-monitor/includes/admin/class-dlm-logging-list-table.php:124
304
  msgid "File"
305
  msgstr "Archivo"
306
 
307
+ #: download-monitor/includes/admin/class-dlm-admin-cpt.php:173
308
+ #: download-monitor/includes/admin/class-dlm-admin-insert.php:197
309
+ #: download-monitor/includes/admin/html-downloadable-file-version.php:13
310
  msgid "Version"
311
  msgstr "Versión"
312
 
313
+ #: download-monitor/includes/admin/class-dlm-admin-cpt.php:177
314
  msgid "download_count"
315
  msgstr "download_count"
316
 
317
+ #: download-monitor/includes/admin/class-dlm-admin-cpt.php:178
318
  msgid "Featured"
319
  msgstr "Destacado"
320
 
321
+ #: download-monitor/includes/admin/class-dlm-admin-cpt.php:179
322
+ #: download-monitor/includes/admin/class-dlm-admin-writepanels.php:63
323
  msgid "Members only"
324
  msgstr "Solo para miembros"
325
 
326
+ #: download-monitor/includes/admin/class-dlm-admin-cpt.php:180
327
+ msgid "Redirect only"
328
+ msgstr "Solo redirigir"
329
+
330
+ #: download-monitor/includes/admin/class-dlm-admin-cpt.php:182
331
  msgid "Date posted"
332
  msgstr "Publicación"
333
 
334
+ #: download-monitor/includes/admin/class-dlm-admin-dashboard.php:21
335
  msgid "Popular Downloads"
336
  msgstr "Descargas más populares"
337
 
338
+ #: download-monitor/includes/admin/class-dlm-admin-dashboard.php:53
339
  msgid "There are no stats available yet!"
340
  msgstr "¡Aún no hay estadísticas disponibles!"
341
 
342
+ #: download-monitor/includes/admin/class-dlm-admin-dashboard.php:70
343
+ #: download-monitor/includes/admin/html-downloadable-file-version.php:49
344
+ #: download-monitor/includes/widgets/class-dlm-widget-downloads.php:176
345
  msgid "Download count"
346
  msgstr "Cantidad de descargas"
347
 
348
+ #: download-monitor/includes/admin/class-dlm-admin-insert.php:29
349
+ #: download-monitor/includes/admin/class-dlm-admin-insert.php:68
 
350
  msgid "Insert Download"
351
  msgstr "Insertar descarga"
352
 
353
+ #: download-monitor/includes/admin/class-dlm-admin-insert.php:78
354
+ #: download-monitor/includes/admin/class-dlm-admin-insert.php:168
355
  msgid "Insert Shortcode"
356
  msgstr "Insertar código rápido"
357
 
358
+ #: download-monitor/includes/admin/class-dlm-admin-insert.php:78
359
  msgid "Quick-add download"
360
  msgstr "Añadir descarga rápidamente"
361
 
362
+ #: download-monitor/includes/admin/class-dlm-admin-insert.php:122
363
  msgid "Error: File was not created."
364
  msgstr "Error: No se ha creado el archivo."
365
 
366
+ #: download-monitor/includes/admin/class-dlm-admin-insert.php:129
367
  msgid "Download successfully created."
368
  msgstr "Descarga creada correctamente."
369
 
370
+ #: download-monitor/includes/admin/class-dlm-admin-insert.php:131
371
  msgid "Error: Download was not created."
372
  msgstr "Error: No se ha creado la descarga."
373
 
374
+ #: download-monitor/includes/admin/class-dlm-admin-insert.php:149
375
  msgid "Choose a download"
376
  msgstr "Selecciona una descarga"
377
 
378
+ #: download-monitor/includes/admin/class-dlm-admin-insert.php:161
379
  msgid "Template"
380
  msgstr "Plantilla"
381
 
382
+ #: download-monitor/includes/admin/class-dlm-admin-insert.php:162
383
  msgid "Template Name"
384
  msgstr "Nombre de la plantilla"
385
 
386
+ #: download-monitor/includes/admin/class-dlm-admin-insert.php:164
 
387
  msgid ""
388
  "Leaving this blank will use the default <code>content-download.php</code> "
389
  "template file. If you enter, for example, <code>image</code>, the "
394
  "<code>image</code>, se utilizará en su lugar la plantilla <code>content-"
395
  "download-image.php</code>."
396
 
397
+ #: download-monitor/includes/admin/class-dlm-admin-insert.php:179
398
  msgid "Drop file here"
399
  msgstr "suelta aquí el archivo"
400
 
401
+ #: download-monitor/includes/admin/class-dlm-admin-insert.php:180
402
+ #: download-monitor/includes/admin/class-dlm-admin-insert.php:182
403
  msgid "or"
404
  msgstr "o"
405
 
406
+ #: download-monitor/includes/admin/class-dlm-admin-insert.php:183
 
 
 
 
407
  msgid "Enter URL manually"
408
  msgstr "Introducir la dirección URL manualmente"
409
 
410
+ #: download-monitor/includes/admin/class-dlm-admin-insert.php:189
411
  msgid "Download URL"
412
  msgstr "URL de descarga"
413
 
414
+ #: download-monitor/includes/admin/class-dlm-admin-insert.php:190
415
  msgid "Required URL"
416
  msgstr "URL necesaria"
417
 
418
+ #: download-monitor/includes/admin/class-dlm-admin-insert.php:193
419
  msgid "Download Title"
420
  msgstr "Título de la descarga"
421
 
422
+ #: download-monitor/includes/admin/class-dlm-admin-insert.php:194
423
  msgid "Required title"
424
  msgstr "Título necesario"
425
 
426
+ #: download-monitor/includes/admin/class-dlm-admin-insert.php:198
427
  msgid "Optional version number"
428
  msgstr "Número de versión opcional"
429
 
430
+ #: download-monitor/includes/admin/class-dlm-admin-insert.php:201
431
  msgid "Save Download"
432
  msgstr "Guardar descarga"
433
 
434
+ #: download-monitor/includes/admin/class-dlm-admin-insert.php:259
435
  msgid "Allowed Files"
436
  msgstr "Archivos permitidos"
437
 
438
+ #: download-monitor/includes/admin/class-dlm-admin-insert.php:309
439
  msgid "Please wait..."
440
  msgstr "Espera, por favor..."
441
 
442
+ #: download-monitor/includes/admin/class-dlm-admin-media-browser.php:31
 
443
  msgid "Browse for a file"
444
  msgstr "Buscar un archivo"
445
 
446
+ #: download-monitor/includes/admin/class-dlm-admin-media-browser.php:100
447
  msgid "No files found"
448
  msgstr "No se han encontrado archivos"
449
 
450
+ #: download-monitor/includes/admin/class-dlm-admin-writepanels.php:29
451
  msgid "Download Options"
452
  msgstr "Opciones de descarga"
453
 
454
+ #: download-monitor/includes/admin/class-dlm-admin-writepanels.php:30
455
  msgid "Downloadable File Versions"
456
  msgstr "Versiones descargables del archivo"
457
 
458
+ #: download-monitor/includes/admin/class-dlm-admin-writepanels.php:35
459
  msgid "Short Description"
460
  msgstr "Descripción breve"
461
 
462
+ #: download-monitor/includes/admin/class-dlm-admin-writepanels.php:57
463
  msgid "Featured download"
464
  msgstr "Descarga destacada"
465
 
466
+ #: download-monitor/includes/admin/class-dlm-admin-writepanels.php:58
467
  msgid "Mark this download as featured. Used by shortcodes and widgets."
468
  msgstr ""
469
  "Marcar esta descarga como destacada. La utilizan los códigos rápidos y los "
470
  "widgets."
471
 
472
+ #: download-monitor/includes/admin/class-dlm-admin-writepanels.php:64
473
  msgid ""
474
  "Only logged in users will be able to access the file via a download link if "
475
  "this is enabled."
477
  "Al activar esta opción solo podrán acceder al archivo, a través de un enlace "
478
  "de descarga, los usuarios conectados."
479
 
480
+ #: download-monitor/includes/admin/class-dlm-admin-writepanels.php:69
481
+ msgid "Redirect to file"
482
+ msgstr "Redirigir al archivo"
483
+
484
+ #: download-monitor/includes/admin/class-dlm-admin-writepanels.php:70
485
+ msgid ""
486
+ "Don't force download. If the <code>dlm_upload</code> folder is protected you "
487
+ "may need to move your file."
488
+ msgstr ""
489
+ "No forzar la descarga. Si la carpeta <code>dlm_upload</code> está protegida, "
490
+ "quizá necesites mover tu archivo."
491
+
492
+ #: download-monitor/includes/admin/class-dlm-admin-writepanels.php:94
493
  msgid "Add version"
494
  msgstr "Añadir versión"
495
 
496
+ #: download-monitor/includes/admin/class-dlm-admin-writepanels.php:95
497
  msgid "Close all"
498
  msgstr "Cerrar todo"
499
 
500
+ #: download-monitor/includes/admin/class-dlm-admin-writepanels.php:95
501
  msgid "Expand all"
502
  msgstr "Expandir todo"
503
 
504
+ #: download-monitor/includes/admin/class-dlm-admin-writepanels.php:220
505
  msgid "Are you sure you want to delete this file?"
506
  msgstr "¿Seguro que quieres eliminar este archivo?"
507
 
508
+ #: download-monitor/includes/admin/class-dlm-admin.php:95
509
  msgid "General"
510
  msgstr "General"
511
 
512
+ #: download-monitor/includes/admin/class-dlm-admin.php:100
513
  msgid "Default Template"
514
  msgstr "Plantilla predeterminada"
515
 
516
+ #: download-monitor/includes/admin/class-dlm-admin.php:101
517
  msgid ""
518
  "Choose which template is used for <code>[download]</code> shortcodes by "
519
  "default (this can be overridden by the <code>format</code> argument)."
522
  "code> de forma predeterminada (puede anularse con la cadena <code>format</"
523
  "code>)."
524
 
525
+ #: download-monitor/includes/admin/class-dlm-admin.php:104
526
+ msgid "Default - Title and count"
527
+ msgstr "Predeterminado: Título y cantidad de descargas"
528
+
529
+ #: download-monitor/includes/admin/class-dlm-admin.php:105
530
+ msgid "Button - CSS styled button showing title and count"
531
+ msgstr ""
532
+ "Botón: Botón con estilo CSS que muestra el título y la cantidad de descargas."
533
+
534
+ #: download-monitor/includes/admin/class-dlm-admin.php:106
535
+ msgid "Box - Box showing thumbnail, title, count, filename and filesize."
536
+ msgstr ""
537
+ "Caja: Caja que muestra una miniatura, el título, la cantidad de descargas, "
538
+ "el nombre del archivo y su tamaño."
539
+
540
+ #: download-monitor/includes/admin/class-dlm-admin.php:107
541
+ msgid "Filename - Filename and download count"
542
+ msgstr "Nombre de archivo: Nombre de archivo y cantidad de descargas."
543
+
544
+ #: download-monitor/includes/admin/class-dlm-admin.php:108
545
+ msgid "Title - Shows download title only"
546
+ msgstr "Título: Solo muestra el título de la descarga."
547
+
548
+ #: download-monitor/includes/admin/class-dlm-admin.php:109
549
+ msgid "Version list - Lists all download versions in an unordered list"
550
+ msgstr ""
551
+ "Lista de versiones: Muestra todas las versiones de descarga en una lista sin "
552
+ "ordenar."
553
+
554
+ #: download-monitor/includes/admin/class-dlm-admin.php:110
555
+ msgid "Custom template"
556
+ msgstr "Plantilla personalizada"
557
+
558
+ #: download-monitor/includes/admin/class-dlm-admin.php:116
559
+ msgid "Custom Template"
560
+ msgstr "Plantilla personalizada"
561
+
562
+ #: download-monitor/includes/admin/class-dlm-admin.php:117
563
+ msgid ""
564
+ "Leaving this blank will use the default <code>content-download.php</code> "
565
+ "template file. If you enter, for example, <code>image</code>, the "
566
+ "<code>content-download-image.php</code> template will be used instead. You "
567
+ "can add custom templates inside your theme folder."
568
+ msgstr ""
569
+ "Si dejas este cuadro en blanco, se utilizará el archivo de plantilla "
570
+ "predeterminado <code>content-download.php</code>. Si, por ejemplo, escribes "
571
+ "<code>image</code>, se utilizará en su lugar la plantilla <code>content-"
572
+ "download-image.php</code>. Puedes añadir plantillas personalizadas dentro de "
573
+ "la carpeta de tu aspecto."
574
+
575
+ #: download-monitor/includes/admin/class-dlm-admin.php:122
576
  msgid "Endpoint"
577
  msgstr "Término"
578
 
579
+ #: download-monitor/includes/admin/class-dlm-admin.php:127
580
  msgid "download"
581
  msgstr "descarga"
582
 
583
+ #: download-monitor/includes/admin/class-dlm-admin.php:128
584
  msgid "Download Endpoint"
585
  msgstr "Término de la descarga"
586
 
587
+ #: download-monitor/includes/admin/class-dlm-admin.php:129
588
+ #, php-format
589
  msgid ""
590
  "Define what endpoint should be used for download links. By default this will "
591
  "be <code>%s</code>."
593
  "Define qué término se utilizará para los enlaces de descarga. Por defecto se "
594
  "utilizará <code>%s</code>."
595
 
596
+ #: download-monitor/includes/admin/class-dlm-admin.php:134
597
  msgid "Endpoint Value"
598
  msgstr "Valor del término"
599
 
600
+ #: download-monitor/includes/admin/class-dlm-admin.php:135
601
+ #, php-format
602
  msgid ""
603
  "Define what unique value should be used on the end of your endpoint to "
604
  "identify the downloadable file. e.g. ID would give a link like <code>%s</"
608
  "identificar el archivo descargable. Por ejemplo, una ID mostraría un enlace "
609
  "similar a <code>%s</code>."
610
 
611
+ #: download-monitor/includes/admin/class-dlm-admin.php:138
612
+ #: download-monitor/includes/admin/class-dlm-admin.php:452
613
  msgid "Download ID"
614
  msgstr "ID de descarga"
615
 
616
+ #: download-monitor/includes/admin/class-dlm-admin.php:139
617
  msgid "Download slug"
618
  msgstr "Slug de descarga"
619
 
620
+ #: download-monitor/includes/admin/class-dlm-admin.php:145
621
  msgid "X-Accel-Redirect / X-Sendfile"
622
  msgstr "X-Accel-Redirect / X-Sendfile"
623
 
624
+ #: download-monitor/includes/admin/class-dlm-admin.php:146
625
+ #: download-monitor/includes/admin/class-dlm-admin.php:157
626
  msgid "Enable"
627
  msgstr "Activar"
628
 
629
+ #: download-monitor/includes/admin/class-dlm-admin.php:147
630
  msgid ""
631
  "If supported, <code>X-Accel-Redirect</code> / <code>X-Sendfile</code> can be "
632
  "used to serve downloads instead of PHP (server requires <code>mod_xsendfile</"
636
  "Sendfile</code> para servir las descargas en vez de PHP (el servidor "
637
  "necesita <code>mod_xsendfile</code>)."
638
 
639
+ #: download-monitor/includes/admin/class-dlm-admin.php:153
640
  msgid "Logging"
641
  msgstr "Registros"
642
 
643
+ #: download-monitor/includes/admin/class-dlm-admin.php:159
644
  msgid "Download Log"
645
  msgstr "Registro de descargas"
646
 
647
+ #: download-monitor/includes/admin/class-dlm-admin.php:160
648
  msgid "Log download attempts, IP addresses and more."
649
  msgstr "Registrar los intentos de descargas, las direcciones IP y más."
650
 
651
+ #: download-monitor/includes/admin/class-dlm-admin.php:166
652
  msgid "Blacklist IPs"
653
  msgstr "IPs en lista negra"
654
 
655
+ #: download-monitor/includes/admin/class-dlm-admin.php:167
656
  msgid ""
657
  "List IP Addresses to blacklist, 1 per line. Use <code>*</code> for a "
658
  "wildcard."
660
  "Indica las direcciones IP que están en la lista negra, a 1 IP por línea. Se "
661
  "puede utilizar el comodín <code>*</code>."
662
 
663
+ #: download-monitor/includes/admin/class-dlm-admin.php:174
664
  msgid "Blacklist user agents"
665
  msgstr "Agentes de usuario en lista negra"
666
 
667
+ #: download-monitor/includes/admin/class-dlm-admin.php:175
668
  msgid "List browser user agents to blacklist, 1 per line."
669
  msgstr ""
670
  "Indica los agentes de usuario de navegadores que están en la lista negra, a "
671
  "1 por línea."
672
 
673
+ #: download-monitor/includes/admin/class-dlm-admin.php:247
674
  msgid "Logs"
675
  msgstr "Registros"
676
 
677
+ #: download-monitor/includes/admin/class-dlm-admin.php:291
678
  msgid "Settings successfully saved"
679
  msgstr "Los ajustes se han guardado correctamente"
680
 
681
+ #: download-monitor/includes/admin/class-dlm-admin.php:358
682
  msgid "Save Changes"
683
  msgstr "Guardar cambios"
684
 
685
+ #: download-monitor/includes/admin/class-dlm-admin.php:402
686
  msgid "Download Logs"
687
  msgstr "Registros de descarga"
688
 
689
+ #: download-monitor/includes/admin/class-dlm-admin.php:402
690
  msgid "Export CSV"
691
  msgstr "Exportar CSV"
692
 
693
+ #: download-monitor/includes/admin/class-dlm-admin.php:402
694
+ msgid "Delete Logs"
695
+ msgstr "Registros de eliminación"
696
+
697
+ #: download-monitor/includes/admin/class-dlm-admin.php:453
698
  msgid "Version ID"
699
  msgstr "ID de la versión"
700
 
701
+ #: download-monitor/includes/admin/class-dlm-admin.php:454
702
  msgid "Filename"
703
  msgstr "Nombre del archivo"
704
 
705
+ #: download-monitor/includes/admin/class-dlm-admin.php:455
706
  msgid "User ID"
707
  msgstr "ID del usuario"
708
 
709
+ #: download-monitor/includes/admin/class-dlm-admin.php:456
710
  msgid "User Login"
711
  msgstr "Nombre del usuario"
712
 
713
+ #: download-monitor/includes/admin/class-dlm-admin.php:457
714
  msgid "User Email"
715
  msgstr "Email del usuario"
716
 
717
+ #: download-monitor/includes/admin/class-dlm-admin.php:458
718
  msgid "User IP"
719
  msgstr "IP del usuario"
720
 
721
+ #: download-monitor/includes/admin/class-dlm-admin.php:459
722
+ #: download-monitor/includes/admin/class-dlm-logging-list-table.php:127
723
  msgid "User Agent"
724
  msgstr "Agente del usuario"
725
 
726
+ #: download-monitor/includes/admin/class-dlm-admin.php:460
727
+ #: download-monitor/includes/admin/class-dlm-logging-list-table.php:128
728
  msgid "Date"
729
  msgstr "Fecha"
730
 
731
+ #: download-monitor/includes/admin/class-dlm-admin.php:461
732
  msgid "Status"
733
  msgstr "Estado"
734
 
735
+ #: download-monitor/includes/admin/class-dlm-logging-list-table.php:50
736
  msgid "Download Complete"
737
  msgstr "Descarga completada"
738
 
739
+ #: download-monitor/includes/admin/class-dlm-logging-list-table.php:57
740
+ #, php-format
741
  msgid "%s ago"
742
  msgstr "Hace %s"
743
 
744
+ #: download-monitor/includes/admin/class-dlm-logging-list-table.php:64
745
+ #, php-format
746
  msgid "Download #%d (no longer exists)"
747
  msgstr "Descarga #%d (ya no existe)"
748
 
749
+ #: download-monitor/includes/admin/class-dlm-logging-list-table.php:72
750
+ #, php-format
751
  msgid "v%s"
752
  msgstr "v%s"
753
 
754
+ #: download-monitor/includes/admin/class-dlm-logging-list-table.php:92
755
  msgid "Non-member"
756
  msgstr "Externo"
757
 
758
+ #: download-monitor/includes/admin/class-dlm-logging-list-table.php:125
759
  msgid "User"
760
  msgstr "Usuario"
761
 
762
+ #: download-monitor/includes/admin/class-dlm-logging-list-table.php:126
763
  msgid "IP Address"
764
  msgstr "Dirección IP"
765
 
766
+ #: download-monitor/includes/admin/class-dlm-logging-list-table.php:142
767
  msgid "Any status"
768
  msgstr "Cualquier estado"
769
 
770
+ #: download-monitor/includes/admin/class-dlm-logging-list-table.php:143
771
  msgid "Failed"
772
  msgstr "Fallido"
773
 
774
+ #: download-monitor/includes/admin/class-dlm-logging-list-table.php:144
775
  msgid "Redirected"
776
  msgstr "Redirigido"
777
 
778
+ #: download-monitor/includes/admin/class-dlm-logging-list-table.php:145
779
  msgid "Completed"
780
  msgstr "Completada"
781
 
782
+ #: download-monitor/includes/admin/class-dlm-logging-list-table.php:164
783
+ msgid "Show all dates"
784
+ msgstr "Mostrar todas las fechas"
785
+
786
+ #: download-monitor/includes/admin/class-dlm-logging-list-table.php:177
787
+ #, php-format
788
+ msgid "%1$s %2$d"
789
+ msgstr "%1$s %2$d"
790
 
791
+ #: download-monitor/includes/admin/class-dlm-logging-list-table.php:185
792
  msgid "25 per page"
793
  msgstr "25 por página"
794
 
795
+ #: download-monitor/includes/admin/class-dlm-logging-list-table.php:186
796
  msgid "50 per page"
797
  msgstr "50 por página"
798
 
799
+ #: download-monitor/includes/admin/class-dlm-logging-list-table.php:187
800
  msgid "100 per page"
801
  msgstr "100 por página"
802
 
803
+ #: download-monitor/includes/admin/class-dlm-logging-list-table.php:188
804
  msgid "200 per page"
805
  msgstr "200 por página"
806
 
807
+ #: download-monitor/includes/admin/class-dlm-logging-list-table.php:189
808
  msgid "Show All"
809
  msgstr "Mostrar todo"
810
 
811
+ #: download-monitor/includes/admin/class-dlm-logging-list-table.php:193
812
  msgid "Filter"
813
  msgstr "Filtro"
814
 
815
+ #: download-monitor/includes/admin/html-downloadable-file-version.php:3
816
  msgid "Remove"
817
  msgstr "Eliminar"
818
 
819
+ #: download-monitor/includes/admin/html-downloadable-file-version.php:4
820
  msgid "Click to toggle"
821
  msgstr "Pulsa para alternar"
822
 
823
+ #: download-monitor/includes/admin/html-downloadable-file-version.php:5
824
+ #, php-format
825
  msgid "Version <span class=\"version\">%s</span> (%s)"
826
  msgstr "Versión <span class=\"version\">%s</span> (%s)"
827
 
828
+ #: download-monitor/includes/admin/html-downloadable-file-version.php:5
829
+ #: download-monitor/includes/admin/html-downloadable-file-version.php:14
830
  msgid "n/a"
831
  msgstr "No disponible"
832
 
833
+ #: download-monitor/includes/admin/html-downloadable-file-version.php:5
834
+ #, php-format
835
  msgid "Downloaded %s time"
836
  msgid_plural "Downloaded %s times"
837
  msgstr[0] "Descargado %s vez"
838
  msgstr[1] "Descargado %s veces"
839
 
840
+ #: download-monitor/includes/admin/html-downloadable-file-version.php:18
841
  msgid "File URL(s)"
842
  msgstr "Dirección(es) URL del archivo"
843
 
844
+ #: download-monitor/includes/admin/html-downloadable-file-version.php:19
845
  msgid ""
846
  "Enter one file path/URL per line - multiple files will be used as mirrors "
847
  "(chosen at random)."
849
  "Introduce una dirección a archivo/dirección URL por línea; si hay varios "
850
  "archivos se utilizarán como descargas alternativas (elegidas al azar)."
851
 
852
+ #: download-monitor/includes/admin/html-downloadable-file-version.php:24
853
+ msgid "Upload file"
854
+ msgstr "Subir archivo"
855
+
856
+ #: download-monitor/includes/admin/html-downloadable-file-version.php:26
857
  msgid "Choose a file"
858
  msgstr "Selecciona un archivo"
859
 
860
+ #: download-monitor/includes/admin/html-downloadable-file-version.php:27
861
  msgid "Insert file URL"
862
  msgstr "Introduce la dirección URL del archivo"
863
 
864
+ #: download-monitor/includes/admin/html-downloadable-file-version.php:31
 
 
 
 
865
  msgid "Browse for file"
866
  msgstr "Buscar archivo"
867
 
868
+ #: download-monitor/includes/admin/html-downloadable-file-version.php:55
869
  msgid "File Date"
870
  msgstr "Fecha del archivo"
871
 
872
+ #: download-monitor/includes/admin/html-downloadable-file-version.php:56
873
  msgid "h"
874
  msgstr "h"
875
 
876
+ #: download-monitor/includes/admin/html-downloadable-file-version.php:56
877
  msgid "m"
878
  msgstr "m"
879
 
880
+ #: download-monitor/includes/widgets/class-dlm-widget-downloads.php:27
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
881
  msgid "Display a list of your downloads."
882
  msgstr "Muestra una lista de tus descargas."
883
 
884
+ #: download-monitor/includes/widgets/class-dlm-widget-downloads.php:29
885
  msgid "Downloads List"
886
  msgstr "Lista de descargas"
887
 
888
+ #: download-monitor/includes/widgets/class-dlm-widget-downloads.php:52
889
+ #: download-monitor/includes/widgets/class-dlm-widget-downloads.php:148
890
  msgid "Featured Downloads"
891
  msgstr "Descargas destacadas"
892
 
893
+ #: download-monitor/includes/widgets/class-dlm-widget-downloads.php:157
894
  msgid "Title:"
895
  msgstr "Título:"
896
 
897
+ #: download-monitor/includes/widgets/class-dlm-widget-downloads.php:161
898
  msgid "Limit:"
899
  msgstr "Límite:"
900
 
901
+ #: download-monitor/includes/widgets/class-dlm-widget-downloads.php:165
902
  msgid "Output template:"
903
  msgstr "Plantilla de salida:"
904
 
905
+ #: download-monitor/includes/widgets/class-dlm-widget-downloads.php:166
906
  msgid "Default template"
907
  msgstr "Plantilla predeterminada"
908
 
909
+ #: download-monitor/includes/widgets/class-dlm-widget-downloads.php:169
910
  msgid "Order by:"
911
  msgstr "Ordenar por:"
912
 
913
+ #: download-monitor/includes/widgets/class-dlm-widget-downloads.php:172
914
  msgid "Random"
915
  msgstr "Al azar"
916
 
917
+ #: download-monitor/includes/widgets/class-dlm-widget-downloads.php:174
918
  msgid "Date added"
919
  msgstr "Fecha de creación"
920
 
921
+ #: download-monitor/includes/widgets/class-dlm-widget-downloads.php:175
922
  msgid "Date modified"
923
  msgstr "Fecha de modificación"
924
 
925
+ #: download-monitor/includes/widgets/class-dlm-widget-downloads.php:180
926
  msgid "Order:"
927
  msgstr "Orden:"
928
 
929
+ #: download-monitor/includes/widgets/class-dlm-widget-downloads.php:182
930
  msgid "ASC"
931
  msgstr "ASCENDENTE"
932
 
933
+ #: download-monitor/includes/widgets/class-dlm-widget-downloads.php:183
934
  msgid "DESC"
935
  msgstr "DESCENDENTE"
936
 
937
+ #: download-monitor/includes/widgets/class-dlm-widget-downloads.php:188
938
  msgid "Show only featured downloads"
939
  msgstr "Solo mostrar las descargas destacadas"
940
 
941
+ #: download-monitor/includes/widgets/class-dlm-widget-downloads.php:192
942
  msgid "Show only members only downloads"
943
  msgstr "Solo mostrar las descargas a los miembros"
944
 
945
+ #: download-monitor/templates/content-download-box.php:12
946
+ #: download-monitor/templates/content-download-filename.php:9
947
+ #: download-monitor/templates/content-download.php:9
948
+ #, php-format
949
  msgid "1 download"
950
  msgid_plural "%d downloads"
951
  msgstr[0] "1 descarga"
952
  msgstr[1] "%d descargas"
953
 
954
+ #: download-monitor/templates/content-download-box.php:20
955
+ #: download-monitor/templates/content-download-filename.php:8
956
+ #: download-monitor/templates/content-download-title.php:8
957
+ #: download-monitor/templates/content-download.php:8
958
+ #, php-format
959
  msgid "Version %s"
960
  msgstr "Versión %s"
961
 
962
+ #: download-monitor/templates/content-download-box.php:21
963
  msgid "Download File"
964
  msgstr "Descargar archivo"
965
 
966
+ #: download-monitor/templates/content-download-button.php:9
967
+ #, php-format
968
  msgid "Download &ldquo;%s&rdquo;"
969
  msgstr "Descargar &ldquo;%s&rdquo;"
970
 
971
+ #: download-monitor/templates/content-download-button.php:10
972
+ #: download-monitor/templates/content-download-version-list.php:17
973
+ #, php-format
974
  msgid "Downloaded 1 time"
975
  msgid_plural "Downloaded %d times"
976
  msgstr[0] "Descargado 1 vez"
977
  msgstr[1] "Descargado %d veces"
978
 
979
+ #~ msgid "Select File"
980
+ #~ msgstr "Selecciona un archivo"
 
981
 
982
+ #~ msgid "Any month"
983
+ #~ msgstr "Cualquier mes"
 
984
 
985
+ #~ msgid "http://mikejolley.com/projects/download-monitor/"
986
+ #~ msgstr "http://mikejolley.com/projects/download-monitor/"
987
+
988
+ #~ msgid ""
989
+ #~ "A full solution for managing downloadable files, monitoring downloads and "
990
+ #~ "outputting download links and file information on your WordPress powered "
991
+ #~ "site."
992
+ #~ msgstr ""
993
+ #~ "Una solución completa para gestionar archivos descargables, controlar las "
994
+ #~ "descargas y exportar los enlaces de descarga y la información de archivos "
995
+ #~ "a tu web basada en WordPress."
996
 
997
+ #~ msgid "Mike Jolley"
998
+ #~ msgstr "Mike Jolley"
 
999
 
1000
+ #~ msgid "http://mikejolley.com"
1001
+ #~ msgstr "http://mikejolley.com"
 
languages/download_monitor-pl_PL.mo ADDED
Binary file
languages/download_monitor-pl_PL.po ADDED
@@ -0,0 +1,983 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2013 Download Monitor
2
+ # This file is distributed under the same license as the Download Monitor package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: Download Monitor 1.3.2\n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/download-monitor\n"
7
+ "POT-Creation-Date: 2013-12-02 13:56+0100\n"
8
+ "PO-Revision-Date: 2013-12-02 14:01+0100\n"
9
+ "Last-Translator: Krzysztof Machocki <halibutt@gmail.com>\n"
10
+ "Language-Team: Halibutt <halibutt@gmail.com>\n"
11
+ "Language: pl_PL\n"
12
+ "MIME-Version: 1.0\n"
13
+ "Content-Type: text/plain; charset=UTF-8\n"
14
+ "Content-Transfer-Encoding: 8bit\n"
15
+ "X-Generator: Poedit 1.5.7\n"
16
+ "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
17
+ "|| n%100>=20) ? 1 : 2);\n"
18
+ "X-Poedit-KeywordsList: __;_e;_ngettext\n"
19
+ "X-Poedit-Basepath: .\n"
20
+ "X-Poedit-SearchPath-0: ..\n"
21
+
22
+ #: ../download-monitor.php:91 ../includes/admin/class-dlm-admin.php:249
23
+ msgid "Settings"
24
+ msgstr "Ustawienia"
25
+
26
+ #: ../download-monitor.php:92 ../includes/admin/class-dlm-admin.php:252
27
+ msgid "Add-ons"
28
+ msgstr "Dodatki"
29
+
30
+ #: ../download-monitor.php:93
31
+ msgid "Docs"
32
+ msgstr "Dokumentacja"
33
+
34
+ #: ../download-monitor.php:240 ../download-monitor.php:242
35
+ #: ../includes/admin/class-dlm-admin-cpt.php:174
36
+ msgid "Categories"
37
+ msgstr "Kategorie"
38
+
39
+ #: ../download-monitor.php:243
40
+ msgid "Download Category"
41
+ msgstr "Kategoria plików"
42
+
43
+ #: ../download-monitor.php:244
44
+ msgid "Search Download Categories"
45
+ msgstr "Przeszukaj kategorie plików"
46
+
47
+ #: ../download-monitor.php:245
48
+ msgid "All Download Categories"
49
+ msgstr "Wszystkie kategorie plików"
50
+
51
+ #: ../download-monitor.php:246
52
+ msgid "Parent Download Category"
53
+ msgstr "Nadrzędna kategoria plików"
54
+
55
+ #: ../download-monitor.php:247
56
+ msgid "Parent Download Category:"
57
+ msgstr "Nadrzędna kategoria plików:"
58
+
59
+ #: ../download-monitor.php:248
60
+ msgid "Edit Download Category"
61
+ msgstr "Edytuj kategorię plików"
62
+
63
+ #: ../download-monitor.php:249
64
+ msgid "Update Download Category"
65
+ msgstr "Aktualizuj kategorię plików"
66
+
67
+ #: ../download-monitor.php:250
68
+ msgid "Add New Download Category"
69
+ msgstr "Dodaj nową kategorię"
70
+
71
+ #: ../download-monitor.php:251
72
+ msgid "New Download Category Name"
73
+ msgstr "Nazwa nowej kategorii"
74
+
75
+ #: ../download-monitor.php:270 ../download-monitor.php:272
76
+ #: ../includes/admin/class-dlm-admin-cpt.php:175
77
+ msgid "Tags"
78
+ msgstr "Etykiety"
79
+
80
+ #: ../download-monitor.php:273
81
+ msgid "Download Tag"
82
+ msgstr "Etykieta pliku"
83
+
84
+ #: ../download-monitor.php:274
85
+ msgid "Search Download Tags"
86
+ msgstr "Przeszukaj etykiety"
87
+
88
+ #: ../download-monitor.php:275
89
+ msgid "All Download Tags"
90
+ msgstr "Wszystkie etykiety"
91
+
92
+ #: ../download-monitor.php:276
93
+ msgid "Parent Download Tag"
94
+ msgstr "Etykieta nadrzędna"
95
+
96
+ #: ../download-monitor.php:277
97
+ msgid "Parent Download Tag:"
98
+ msgstr "Etykieta nadrzędna:"
99
+
100
+ #: ../download-monitor.php:278
101
+ msgid "Edit Download Tag"
102
+ msgstr "Edytuj etykietę"
103
+
104
+ #: ../download-monitor.php:279
105
+ msgid "Update Download Tag"
106
+ msgstr "Aktualizuj etykietę"
107
+
108
+ #: ../download-monitor.php:280
109
+ msgid "Add New Download Tag"
110
+ msgstr "Dodaj nową etykietę"
111
+
112
+ #: ../download-monitor.php:281
113
+ msgid "New Download Tag Name"
114
+ msgstr "Nazwa nowej etykiety"
115
+
116
+ #: ../download-monitor.php:302
117
+ msgid "All Downloads"
118
+ msgstr "Wszystkie pliki do pobrania"
119
+
120
+ #: ../download-monitor.php:303
121
+ msgid "Downloads"
122
+ msgstr "Pliki"
123
+
124
+ #: ../download-monitor.php:304
125
+ #: ../includes/admin/class-dlm-admin-dashboard.php:69
126
+ #: ../includes/admin/class-dlm-logging-list-table.php:123
127
+ msgid "Download"
128
+ msgstr "Plik"
129
+
130
+ #: ../download-monitor.php:305
131
+ msgid "Add New"
132
+ msgstr "Dodaj nowy"
133
+
134
+ #: ../download-monitor.php:306
135
+ msgid "Add Download"
136
+ msgstr "Dodaj plik"
137
+
138
+ #: ../download-monitor.php:307
139
+ msgid "Edit"
140
+ msgstr "Edytuj"
141
+
142
+ #: ../download-monitor.php:308
143
+ msgid "Edit Download"
144
+ msgstr "Edytuj plik"
145
+
146
+ #: ../download-monitor.php:309
147
+ msgid "New Download"
148
+ msgstr "Nowe plik"
149
+
150
+ #: ../download-monitor.php:310 ../download-monitor.php:311
151
+ msgid "View Download"
152
+ msgstr "Obejrzyj plik"
153
+
154
+ #: ../download-monitor.php:312
155
+ msgid "Search Downloads"
156
+ msgstr "Szukaj plików"
157
+
158
+ #: ../download-monitor.php:313
159
+ msgid "No Downloads found"
160
+ msgstr "Nie znaleziono plików"
161
+
162
+ #: ../download-monitor.php:314
163
+ msgid "No Downloads found in trash"
164
+ msgstr "W koszu też nie znalazłem plików"
165
+
166
+ #: ../download-monitor.php:315
167
+ msgid "Parent Download"
168
+ msgstr "Pobranie nadrzędne"
169
+
170
+ #: ../download-monitor.php:317
171
+ msgid "This is where you can create and manage downloads for your site."
172
+ msgstr "Tu możesz tworzyć i zarządzać plikami do pliku dla swojej strony."
173
+
174
+ #: ../includes/class-dlm-download-handler.php:124
175
+ msgid "Download does not exist."
176
+ msgstr "Plik nie istnieje."
177
+
178
+ #: ../includes/class-dlm-download-handler.php:124
179
+ #: ../includes/class-dlm-download-handler.php:144
180
+ #: ../includes/class-dlm-download-handler.php:149
181
+ #: ../includes/class-dlm-download-handler.php:158
182
+ #: ../includes/class-dlm-download-handler.php:343
183
+ msgid "Go to homepage &rarr;"
184
+ msgstr "Przejdź na stronę główną &rarr;"
185
+
186
+ #: ../includes/class-dlm-download-handler.php:124
187
+ #: ../includes/class-dlm-download-handler.php:144
188
+ #: ../includes/class-dlm-download-handler.php:149
189
+ #: ../includes/class-dlm-download-handler.php:158
190
+ #: ../includes/class-dlm-download-handler.php:343
191
+ msgid "Download Error"
192
+ msgstr "Błąd pobierania"
193
+
194
+ #: ../includes/class-dlm-download-handler.php:144
195
+ #: ../includes/class-dlm-download-handler.php:149
196
+ msgid "No file paths defined."
197
+ msgstr "Nie ustawiono ścieżek."
198
+
199
+ #: ../includes/class-dlm-download-handler.php:158
200
+ msgid "You do not have permission to access this download."
201
+ msgstr "Nie masz uprawnień dostępu do tego pliku."
202
+
203
+ #: ../includes/class-dlm-download-handler.php:182
204
+ #: ../includes/class-dlm-download-handler.php:280
205
+ #: ../includes/class-dlm-download-handler.php:288
206
+ #: ../includes/class-dlm-download-handler.php:296
207
+ msgid "Redirected to file"
208
+ msgstr "Przekierowano do pliku"
209
+
210
+ #: ../includes/class-dlm-download-handler.php:335
211
+ msgid "Redirected to remote file."
212
+ msgstr "Przekierowano do zdalnego pliku."
213
+
214
+ #: ../includes/class-dlm-download-handler.php:341
215
+ msgid "File not found"
216
+ msgstr "Nie znaleziono pliku"
217
+
218
+ #: ../includes/class-dlm-download-handler.php:343
219
+ msgid "File not found."
220
+ msgstr "Nie znaleziono pliku."
221
+
222
+ #: ../includes/class-dlm-shortcodes.php:93
223
+ #: ../includes/class-dlm-shortcodes.php:125
224
+ msgid "Download not found"
225
+ msgstr "Nie znaleziono pliku"
226
+
227
+ #: ../includes/admin/class-dlm-addons.php:50
228
+ #: ../includes/admin/class-dlm-admin.php:252
229
+ msgid "Download Monitor Add-ons"
230
+ msgstr "Dodatki do Download Monitora"
231
+
232
+ #: ../includes/admin/class-dlm-admin-cpt.php:64
233
+ msgid "Select a category"
234
+ msgstr "Wybierz kategorię"
235
+
236
+ #: ../includes/admin/class-dlm-admin-cpt.php:124
237
+ msgid "Download title"
238
+ msgstr "Tytuł pliku"
239
+
240
+ #: ../includes/admin/class-dlm-admin-cpt.php:140
241
+ #: ../includes/admin/class-dlm-admin-cpt.php:143
242
+ msgid "Download updated."
243
+ msgstr "Pobranie zaktualizowano."
244
+
245
+ #: ../includes/admin/class-dlm-admin-cpt.php:141
246
+ msgid "Custom field updated."
247
+ msgstr "Pole spersonalizowane zostało zaktualizowane."
248
+
249
+ #: ../includes/admin/class-dlm-admin-cpt.php:142
250
+ msgid "Custom field deleted."
251
+ msgstr "Pole spersonalizowane zostało skasowane."
252
+
253
+ #: ../includes/admin/class-dlm-admin-cpt.php:144
254
+ #, php-format
255
+ msgid "Download restored to revision from %s"
256
+ msgstr "Strona pobierania przywrócona do wesji z %s"
257
+
258
+ #: ../includes/admin/class-dlm-admin-cpt.php:145
259
+ msgid "Download published."
260
+ msgstr "Strona pobierania została opublikowana."
261
+
262
+ #: ../includes/admin/class-dlm-admin-cpt.php:146
263
+ msgid "Download saved."
264
+ msgstr "Strona pobierania zapisana."
265
+
266
+ #: ../includes/admin/class-dlm-admin-cpt.php:147
267
+ msgid "Download submitted."
268
+ msgstr "Strona pobierania wysłana."
269
+
270
+ #: ../includes/admin/class-dlm-admin-cpt.php:148
271
+ #, php-format
272
+ msgid "Download scheduled for: <strong>%1$s</strong>."
273
+ msgstr "Zaplanowano na: <strong>%1$s</strong>."
274
+
275
+ #: ../includes/admin/class-dlm-admin-cpt.php:149
276
+ msgid "M j, Y @ G:i"
277
+ msgstr "d–n–Y o H:i"
278
+
279
+ #: ../includes/admin/class-dlm-admin-cpt.php:150
280
+ msgid "Download draft updated."
281
+ msgstr "Szkic strony pobierania zaktualizowany."
282
+
283
+ #: ../includes/admin/class-dlm-admin-cpt.php:169
284
+ msgid "Image"
285
+ msgstr "Obraz"
286
+
287
+ #: ../includes/admin/class-dlm-admin-cpt.php:170
288
+ #: ../includes/widgets/class-dlm-widget-downloads.php:171
289
+ msgid "Title"
290
+ msgstr "Tytuł"
291
+
292
+ #: ../includes/admin/class-dlm-admin-cpt.php:171
293
+ #: ../includes/widgets/class-dlm-widget-downloads.php:173
294
+ msgid "ID"
295
+ msgstr "ID"
296
+
297
+ #: ../includes/admin/class-dlm-admin-cpt.php:172
298
+ #: ../includes/admin/class-dlm-logging-list-table.php:124
299
+ msgid "File"
300
+ msgstr "Plik"
301
+
302
+ #: ../includes/admin/class-dlm-admin-cpt.php:173
303
+ #: ../includes/admin/class-dlm-admin-insert.php:197
304
+ #: ../includes/admin/html-downloadable-file-version.php:13
305
+ msgid "Version"
306
+ msgstr "Wersja"
307
+
308
+ #: ../includes/admin/class-dlm-admin-cpt.php:177
309
+ msgid "download_count"
310
+ msgstr "download_count"
311
+
312
+ #: ../includes/admin/class-dlm-admin-cpt.php:178
313
+ msgid "Featured"
314
+ msgstr "Wyróżnione"
315
+
316
+ #: ../includes/admin/class-dlm-admin-cpt.php:179
317
+ #: ../includes/admin/class-dlm-admin-writepanels.php:63
318
+ msgid "Members only"
319
+ msgstr "Tylko dla zarejestrowanych"
320
+
321
+ #: ../includes/admin/class-dlm-admin-cpt.php:180
322
+ msgid "Redirect only"
323
+ msgstr "Tylko przekierowanie"
324
+
325
+ #: ../includes/admin/class-dlm-admin-cpt.php:182
326
+ msgid "Date posted"
327
+ msgstr "Data publikacji"
328
+
329
+ #: ../includes/admin/class-dlm-admin-dashboard.php:21
330
+ msgid "Popular Downloads"
331
+ msgstr "Najpopularniejsze pliku"
332
+
333
+ #: ../includes/admin/class-dlm-admin-dashboard.php:53
334
+ msgid "There are no stats available yet!"
335
+ msgstr "Nie ma jeszcze żadnych statystyk."
336
+
337
+ #: ../includes/admin/class-dlm-admin-dashboard.php:70
338
+ #: ../includes/admin/html-downloadable-file-version.php:49
339
+ #: ../includes/widgets/class-dlm-widget-downloads.php:176
340
+ msgid "Download count"
341
+ msgstr "Licznik plików"
342
+
343
+ #: ../includes/admin/class-dlm-admin-insert.php:29
344
+ #: ../includes/admin/class-dlm-admin-insert.php:68
345
+ msgid "Insert Download"
346
+ msgstr "Wstaw plik"
347
+
348
+ #: ../includes/admin/class-dlm-admin-insert.php:78
349
+ #: ../includes/admin/class-dlm-admin-insert.php:168
350
+ msgid "Insert Shortcode"
351
+ msgstr "Wstaw shortcode"
352
+
353
+ #: ../includes/admin/class-dlm-admin-insert.php:78
354
+ msgid "Quick-add download"
355
+ msgstr "Szybkie dodawanie plików"
356
+
357
+ #: ../includes/admin/class-dlm-admin-insert.php:122
358
+ msgid "Error: File was not created."
359
+ msgstr "Błąd: plik nie został utworzony."
360
+
361
+ #: ../includes/admin/class-dlm-admin-insert.php:129
362
+ msgid "Download successfully created."
363
+ msgstr "Pobranie udało się utworzyć."
364
+
365
+ #: ../includes/admin/class-dlm-admin-insert.php:131
366
+ msgid "Error: Download was not created."
367
+ msgstr "Błąd: nie udało się utworzyć pliku."
368
+
369
+ #: ../includes/admin/class-dlm-admin-insert.php:149
370
+ msgid "Choose a download"
371
+ msgstr "Wybierz plik"
372
+
373
+ #: ../includes/admin/class-dlm-admin-insert.php:161
374
+ msgid "Template"
375
+ msgstr "Szablon"
376
+
377
+ #: ../includes/admin/class-dlm-admin-insert.php:162
378
+ msgid "Template Name"
379
+ msgstr "Nazwa szablonu"
380
+
381
+ #: ../includes/admin/class-dlm-admin-insert.php:164
382
+ msgid ""
383
+ "Leaving this blank will use the default <code>content-download.php</code> "
384
+ "template file. If you enter, for example, <code>image</code>, the "
385
+ "<code>content-download-image.php</code> template will be used instead."
386
+ msgstr ""
387
+ "Jeśli pole pozostanie puste, wtyczka użyje domyślnego szablonu <code>content-"
388
+ "download.php</code>. Jeśli wpiszesz na przykład <code>image</code>, wtyczka "
389
+ "użyje zamiast tego szablonu <code>content-download-image.php</code>."
390
+
391
+ #: ../includes/admin/class-dlm-admin-insert.php:179
392
+ msgid "Drop file here"
393
+ msgstr "Upuść plik tutaj"
394
+
395
+ #: ../includes/admin/class-dlm-admin-insert.php:180
396
+ #: ../includes/admin/class-dlm-admin-insert.php:182
397
+ msgid "or"
398
+ msgstr "albo"
399
+
400
+ #: ../includes/admin/class-dlm-admin-insert.php:183
401
+ msgid "Enter URL manually"
402
+ msgstr "Wybierz URL ręcznie"
403
+
404
+ #: ../includes/admin/class-dlm-admin-insert.php:189
405
+ msgid "Download URL"
406
+ msgstr "URL pliku"
407
+
408
+ #: ../includes/admin/class-dlm-admin-insert.php:190
409
+ msgid "Required URL"
410
+ msgstr "URL jest wymagany"
411
+
412
+ #: ../includes/admin/class-dlm-admin-insert.php:193
413
+ msgid "Download Title"
414
+ msgstr "Tytuł pliku"
415
+
416
+ #: ../includes/admin/class-dlm-admin-insert.php:194
417
+ msgid "Required title"
418
+ msgstr "Tytuł jest wymagany"
419
+
420
+ #: ../includes/admin/class-dlm-admin-insert.php:198
421
+ msgid "Optional version number"
422
+ msgstr "Opcjonalny numer wersji"
423
+
424
+ #: ../includes/admin/class-dlm-admin-insert.php:201
425
+ msgid "Save Download"
426
+ msgstr "Zapisz plik"
427
+
428
+ #: ../includes/admin/class-dlm-admin-insert.php:259
429
+ msgid "Allowed Files"
430
+ msgstr "Dozwolone typy plików"
431
+
432
+ #: ../includes/admin/class-dlm-admin-insert.php:309
433
+ msgid "Please wait..."
434
+ msgstr "Proszę czekać..."
435
+
436
+ #: ../includes/admin/class-dlm-admin-media-browser.php:31
437
+ msgid "Browse for a file"
438
+ msgstr "Wyszukaj plik"
439
+
440
+ #: ../includes/admin/class-dlm-admin-media-browser.php:100
441
+ msgid "No files found"
442
+ msgstr "Nic nie znaleziono"
443
+
444
+ #: ../includes/admin/class-dlm-admin-writepanels.php:29
445
+ msgid "Download Options"
446
+ msgstr "Opcje pobierania"
447
+
448
+ #: ../includes/admin/class-dlm-admin-writepanels.php:30
449
+ msgid "Downloadable File Versions"
450
+ msgstr "Pobieralne wersje pliku"
451
+
452
+ #: ../includes/admin/class-dlm-admin-writepanels.php:35
453
+ msgid "Short Description"
454
+ msgstr "Krótki opis"
455
+
456
+ #: ../includes/admin/class-dlm-admin-writepanels.php:57
457
+ msgid "Featured download"
458
+ msgstr "Plik wyróżniony"
459
+
460
+ #: ../includes/admin/class-dlm-admin-writepanels.php:58
461
+ msgid "Mark this download as featured. Used by shortcodes and widgets."
462
+ msgstr ""
463
+ "Oznacz ten plik jako wyróżniony. Wykorzystują to kody shortcode i widgety."
464
+
465
+ #: ../includes/admin/class-dlm-admin-writepanels.php:64
466
+ msgid ""
467
+ "Only logged in users will be able to access the file via a download link if "
468
+ "this is enabled."
469
+ msgstr "Tylko zalogowani użytkownicy będą mogli pobrać ten plik."
470
+
471
+ #: ../includes/admin/class-dlm-admin-writepanels.php:69
472
+ msgid "Redirect to file"
473
+ msgstr "Przekieruj do pliku"
474
+
475
+ #: ../includes/admin/class-dlm-admin-writepanels.php:70
476
+ msgid ""
477
+ "Don't force download. If the <code>dlm_upload</code> folder is protected you "
478
+ "may need to move your file."
479
+ msgstr ""
480
+ "Nie wymuszaj pobierania. Jeśli folder <code>dlm_upload</code> jest "
481
+ "chroniony, być może będziesz misiał przenieść plik gdzie indziej."
482
+
483
+ #: ../includes/admin/class-dlm-admin-writepanels.php:94
484
+ msgid "Add version"
485
+ msgstr "Dodaj wersję"
486
+
487
+ #: ../includes/admin/class-dlm-admin-writepanels.php:95
488
+ msgid "Close all"
489
+ msgstr "Zamknij wszystko"
490
+
491
+ #: ../includes/admin/class-dlm-admin-writepanels.php:95
492
+ msgid "Expand all"
493
+ msgstr "Rozszerz wszystko"
494
+
495
+ #: ../includes/admin/class-dlm-admin-writepanels.php:220
496
+ msgid "Are you sure you want to delete this file?"
497
+ msgstr "Na serio chcesz skasować ten plik?"
498
+
499
+ #: ../includes/admin/class-dlm-admin.php:95
500
+ msgid "General"
501
+ msgstr "Ogólne"
502
+
503
+ #: ../includes/admin/class-dlm-admin.php:100
504
+ msgid "Default Template"
505
+ msgstr "Szablon domyślny"
506
+
507
+ #: ../includes/admin/class-dlm-admin.php:101
508
+ msgid ""
509
+ "Choose which template is used for <code>[download]</code> shortcodes by "
510
+ "default (this can be overridden by the <code>format</code> argument)."
511
+ msgstr ""
512
+ "Wybierz który szablon ma być użyty do wyświetlania kodów <code>[download]</"
513
+ "code> (ustawienie można zmienić również poprzez użycie argumentu "
514
+ "<code>format</code>)."
515
+
516
+ #: ../includes/admin/class-dlm-admin.php:104
517
+ msgid "Default - Title and count"
518
+ msgstr "Domyślne - Tytuł i licznik"
519
+
520
+ #: ../includes/admin/class-dlm-admin.php:105
521
+ msgid "Button - CSS styled button showing title and count"
522
+ msgstr "Przycisk - CSS button pokazujący tytuł i licznik"
523
+
524
+ #: ../includes/admin/class-dlm-admin.php:106
525
+ msgid "Box - Box showing thumbnail, title, count, filename and filesize."
526
+ msgstr ""
527
+ "Pudełko - ramka pokazująca miniaturkę, tytuł, licznik, nazwę pliku i jego "
528
+ "rozmiar."
529
+
530
+ #: ../includes/admin/class-dlm-admin.php:107
531
+ msgid "Filename - Filename and download count"
532
+ msgstr "Nazwa pliku - Nazwa i licznik plików"
533
+
534
+ #: ../includes/admin/class-dlm-admin.php:108
535
+ msgid "Title - Shows download title only"
536
+ msgstr "Tytuł - Pokazuje jedynie nazwę pliku do pliku"
537
+
538
+ #: ../includes/admin/class-dlm-admin.php:109
539
+ msgid "Version list - Lists all download versions in an unordered list"
540
+ msgstr ""
541
+ "Lista wersji - Wylicza wszystkie wersje pliku do pliku w postaci "
542
+ "nieuporządkowanej listy"
543
+
544
+ #: ../includes/admin/class-dlm-admin.php:110
545
+ msgid "Custom template"
546
+ msgstr "Własny szablon"
547
+
548
+ #: ../includes/admin/class-dlm-admin.php:116
549
+ msgid "Custom Template"
550
+ msgstr "Własny szablon"
551
+
552
+ #: ../includes/admin/class-dlm-admin.php:117
553
+ msgid ""
554
+ "Leaving this blank will use the default <code>content-download.php</code> "
555
+ "template file. If you enter, for example, <code>image</code>, the "
556
+ "<code>content-download-image.php</code> template will be used instead. You "
557
+ "can add custom templates inside your theme folder."
558
+ msgstr ""
559
+ "Jeśli to pole pozostanie puste, wtyczka użyje domyślnego szablonu "
560
+ "<code>content-download.php</code>. Jeśli wpiszesz na przykład <code>image</"
561
+ "code>, użyje zamiast tego szablonu <code>content-download-image.php</code>. "
562
+ "Możesz dodać więcej własnych szablonów w katalogu używanej przez Ciebie "
563
+ "skórki WP."
564
+
565
+ #: ../includes/admin/class-dlm-admin.php:122
566
+ msgid "Endpoint"
567
+ msgstr "Miejsce docelowe"
568
+
569
+ #: ../includes/admin/class-dlm-admin.php:127
570
+ msgid "download"
571
+ msgstr "plik"
572
+
573
+ #: ../includes/admin/class-dlm-admin.php:128
574
+ msgid "Download Endpoint"
575
+ msgstr "Miejsce docelowe plików"
576
+
577
+ #: ../includes/admin/class-dlm-admin.php:129
578
+ #, php-format
579
+ msgid ""
580
+ "Define what endpoint should be used for download links. By default this will "
581
+ "be <code>%s</code>."
582
+ msgstr ""
583
+ "Zdefiniuj dokąd docelowo będą prowadzić linki do plików. Domyślnie jest to "
584
+ "strona <code>%s</code>."
585
+
586
+ #: ../includes/admin/class-dlm-admin.php:134
587
+ msgid "Endpoint Value"
588
+ msgstr "Wartość miejsca docelowego"
589
+
590
+ #: ../includes/admin/class-dlm-admin.php:135
591
+ #, php-format
592
+ msgid ""
593
+ "Define what unique value should be used on the end of your endpoint to "
594
+ "identify the downloadable file. e.g. ID would give a link like <code>%s</"
595
+ "code>"
596
+ msgstr ""
597
+ "Zdefiniuj jaka wartość ma zostać użyta na końcu drogi pliku by "
598
+ "zidentyfikować pobieralny plik. Na przykład ID stworzy link wyglądający tak: "
599
+ "<code>%s</code>"
600
+
601
+ #: ../includes/admin/class-dlm-admin.php:138
602
+ #: ../includes/admin/class-dlm-admin.php:452
603
+ msgid "Download ID"
604
+ msgstr "ID pliku"
605
+
606
+ #: ../includes/admin/class-dlm-admin.php:139
607
+ msgid "Download slug"
608
+ msgstr "Krótki opis pliku"
609
+
610
+ #: ../includes/admin/class-dlm-admin.php:145
611
+ msgid "X-Accel-Redirect / X-Sendfile"
612
+ msgstr "X-Accel-Redirect / X-Sendfile"
613
+
614
+ #: ../includes/admin/class-dlm-admin.php:146
615
+ #: ../includes/admin/class-dlm-admin.php:157
616
+ msgid "Enable"
617
+ msgstr "Włącz"
618
+
619
+ #: ../includes/admin/class-dlm-admin.php:147
620
+ msgid ""
621
+ "If supported, <code>X-Accel-Redirect</code> / <code>X-Sendfile</code> can be "
622
+ "used to serve downloads instead of PHP (server requires <code>mod_xsendfile</"
623
+ "code>)."
624
+ msgstr ""
625
+ "Jeśli ta opcja jest wspierana, <code>X-Accel-Redirect</code> / <code>X-"
626
+ "Sendfile</code> mogą napędzać pobieranie plików zamiast zwykłego PHP (server "
627
+ "musi mieć zainstalowany <code>mod_xsendfile</code>)."
628
+
629
+ #: ../includes/admin/class-dlm-admin.php:153
630
+ msgid "Logging"
631
+ msgstr "Rejestrowanie"
632
+
633
+ #: ../includes/admin/class-dlm-admin.php:159
634
+ msgid "Download Log"
635
+ msgstr "Rejestr plików"
636
+
637
+ #: ../includes/admin/class-dlm-admin.php:160
638
+ msgid "Log download attempts, IP addresses and more."
639
+ msgstr "Rejestruj próby pobrania plików, adresy IP i więcej."
640
+
641
+ #: ../includes/admin/class-dlm-admin.php:166
642
+ msgid "Blacklist IPs"
643
+ msgstr "Czarna lista IP"
644
+
645
+ #: ../includes/admin/class-dlm-admin.php:167
646
+ msgid ""
647
+ "List IP Addresses to blacklist, 1 per line. Use <code>*</code> for a "
648
+ "wildcard."
649
+ msgstr ""
650
+ "Dodaj adresy IP do czarnej listy, po jednym w linii. Kod <code>*</code> "
651
+ "zastępuje inne znaki."
652
+
653
+ #: ../includes/admin/class-dlm-admin.php:174
654
+ msgid "Blacklist user agents"
655
+ msgstr "Roboty na czarnej liście"
656
+
657
+ #: ../includes/admin/class-dlm-admin.php:175
658
+ msgid "List browser user agents to blacklist, 1 per line."
659
+ msgstr "Dodaj roboty przeglądarkowe do czarnej listy, po jednym na linię."
660
+
661
+ #: ../includes/admin/class-dlm-admin.php:247
662
+ msgid "Logs"
663
+ msgstr "Rejestry"
664
+
665
+ #: ../includes/admin/class-dlm-admin.php:291
666
+ msgid "Settings successfully saved"
667
+ msgstr "Ustawienia zostały zapisane"
668
+
669
+ #: ../includes/admin/class-dlm-admin.php:358
670
+ msgid "Save Changes"
671
+ msgstr "Zapisz zmiany"
672
+
673
+ #: ../includes/admin/class-dlm-admin.php:402
674
+ msgid "Download Logs"
675
+ msgstr "Rejestry pobierań"
676
+
677
+ #: ../includes/admin/class-dlm-admin.php:402
678
+ msgid "Export CSV"
679
+ msgstr "Eksportuj CSV"
680
+
681
+ #: ../includes/admin/class-dlm-admin.php:402
682
+ msgid "Delete Logs"
683
+ msgstr "Skasuj rejestry"
684
+
685
+ #: ../includes/admin/class-dlm-admin.php:453
686
+ msgid "Version ID"
687
+ msgstr "ID wersji"
688
+
689
+ #: ../includes/admin/class-dlm-admin.php:454
690
+ msgid "Filename"
691
+ msgstr "Nazwa pliku"
692
+
693
+ #: ../includes/admin/class-dlm-admin.php:455
694
+ msgid "User ID"
695
+ msgstr "ID użytkownika"
696
+
697
+ #: ../includes/admin/class-dlm-admin.php:456
698
+ msgid "User Login"
699
+ msgstr "Login użytkownika"
700
+
701
+ #: ../includes/admin/class-dlm-admin.php:457
702
+ msgid "User Email"
703
+ msgstr "E-mail użytkownika"
704
+
705
+ #: ../includes/admin/class-dlm-admin.php:458
706
+ msgid "User IP"
707
+ msgstr "IP użytkownika"
708
+
709
+ #: ../includes/admin/class-dlm-admin.php:459
710
+ #: ../includes/admin/class-dlm-logging-list-table.php:127
711
+ msgid "User Agent"
712
+ msgstr "Agent użytkownika"
713
+
714
+ #: ../includes/admin/class-dlm-admin.php:460
715
+ #: ../includes/admin/class-dlm-logging-list-table.php:128
716
+ msgid "Date"
717
+ msgstr "Data"
718
+
719
+ #: ../includes/admin/class-dlm-admin.php:461
720
+ msgid "Status"
721
+ msgstr "Status"
722
+
723
+ #: ../includes/admin/class-dlm-logging-list-table.php:50
724
+ msgid "Download Complete"
725
+ msgstr "Pobieranie zakończone"
726
+
727
+ #: ../includes/admin/class-dlm-logging-list-table.php:57
728
+ #, php-format
729
+ msgid "%s ago"
730
+ msgstr "%s temu"
731
+
732
+ #: ../includes/admin/class-dlm-logging-list-table.php:64
733
+ #, php-format
734
+ msgid "Download #%d (no longer exists)"
735
+ msgstr "Plik #%d (już nie istnieje)"
736
+
737
+ #: ../includes/admin/class-dlm-logging-list-table.php:72
738
+ #, php-format
739
+ msgid "v%s"
740
+ msgstr "v%s"
741
+
742
+ #: ../includes/admin/class-dlm-logging-list-table.php:92
743
+ msgid "Non-member"
744
+ msgstr "Zewnętrzny"
745
+
746
+ #: ../includes/admin/class-dlm-logging-list-table.php:125
747
+ msgid "User"
748
+ msgstr "Użytkownik"
749
+
750
+ #: ../includes/admin/class-dlm-logging-list-table.php:126
751
+ msgid "IP Address"
752
+ msgstr "Adres IP"
753
+
754
+ #: ../includes/admin/class-dlm-logging-list-table.php:142
755
+ msgid "Any status"
756
+ msgstr "Dowolny status"
757
+
758
+ #: ../includes/admin/class-dlm-logging-list-table.php:143
759
+ msgid "Failed"
760
+ msgstr "Nieudany"
761
+
762
+ #: ../includes/admin/class-dlm-logging-list-table.php:144
763
+ msgid "Redirected"
764
+ msgstr "Przekierowany"
765
+
766
+ #: ../includes/admin/class-dlm-logging-list-table.php:145
767
+ msgid "Completed"
768
+ msgstr "Zakończony"
769
+
770
+ #: ../includes/admin/class-dlm-logging-list-table.php:164
771
+ msgid "Show all dates"
772
+ msgstr "Pokaż wszystkie"
773
+
774
+ #: ../includes/admin/class-dlm-logging-list-table.php:177
775
+ #, php-format
776
+ msgid "%1$s %2$d"
777
+ msgstr "%1$s %2$d"
778
+
779
+ #: ../includes/admin/class-dlm-logging-list-table.php:185
780
+ msgid "25 per page"
781
+ msgstr "25 na stronę"
782
+
783
+ #: ../includes/admin/class-dlm-logging-list-table.php:186
784
+ msgid "50 per page"
785
+ msgstr "50 na stronę"
786
+
787
+ #: ../includes/admin/class-dlm-logging-list-table.php:187
788
+ msgid "100 per page"
789
+ msgstr "100 na stronę"
790
+
791
+ #: ../includes/admin/class-dlm-logging-list-table.php:188
792
+ msgid "200 per page"
793
+ msgstr "200 na stronę"
794
+
795
+ #: ../includes/admin/class-dlm-logging-list-table.php:189
796
+ msgid "Show All"
797
+ msgstr "Pokaż wszystkie"
798
+
799
+ #: ../includes/admin/class-dlm-logging-list-table.php:193
800
+ msgid "Filter"
801
+ msgstr "Filtr"
802
+
803
+ #: ../includes/admin/html-downloadable-file-version.php:3
804
+ msgid "Remove"
805
+ msgstr "Usuń"
806
+
807
+ #: ../includes/admin/html-downloadable-file-version.php:4
808
+ msgid "Click to toggle"
809
+ msgstr "Kliknij by zmienić"
810
+
811
+ #: ../includes/admin/html-downloadable-file-version.php:5
812
+ #, php-format
813
+ msgid "Version <span class=\"version\">%s</span> (%s)"
814
+ msgstr "Wersja <span class=\"version\">%s</span> (%s)"
815
+
816
+ #: ../includes/admin/html-downloadable-file-version.php:5
817
+ #: ../includes/admin/html-downloadable-file-version.php:14
818
+ msgid "n/a"
819
+ msgstr "Nie dotyczy"
820
+
821
+ #: ../includes/admin/html-downloadable-file-version.php:18
822
+ msgid "File URL(s)"
823
+ msgstr "URL pliku lub plików"
824
+
825
+ #: ../includes/admin/html-downloadable-file-version.php:19
826
+ msgid ""
827
+ "Enter one file path/URL per line - multiple files will be used as mirrors "
828
+ "(chosen at random)."
829
+ msgstr ""
830
+ "Podaj jedną ścieżkę/URL na linię. Więcej linii będzie traktowane jako tzw. "
831
+ "lustra, alternatywne źródła (będą wybierane losowo)."
832
+
833
+ #: ../includes/admin/html-downloadable-file-version.php:24
834
+ msgid "Upload file"
835
+ msgstr "Wgraj plik"
836
+
837
+ #: ../includes/admin/html-downloadable-file-version.php:26
838
+ msgid "Choose a file"
839
+ msgstr "Wybierz plik"
840
+
841
+ #: ../includes/admin/html-downloadable-file-version.php:27
842
+ msgid "Insert file URL"
843
+ msgstr "Wklej tutaj URL do pliku"
844
+
845
+ #: ../includes/admin/html-downloadable-file-version.php:31
846
+ msgid "Browse for file"
847
+ msgstr "Przeglądaj w poszukiwaniu pliku"
848
+
849
+ #: ../includes/admin/html-downloadable-file-version.php:55
850
+ msgid "File Date"
851
+ msgstr "Data pliku"
852
+
853
+ #: ../includes/admin/html-downloadable-file-version.php:56
854
+ msgid "h"
855
+ msgstr "h"
856
+
857
+ #: ../includes/admin/html-downloadable-file-version.php:56
858
+ msgid "m"
859
+ msgstr "m"
860
+
861
+ #: ../includes/widgets/class-dlm-widget-downloads.php:27
862
+ msgid "Display a list of your downloads."
863
+ msgstr "Wyświetl listę plików do pliku."
864
+
865
+ #: ../includes/widgets/class-dlm-widget-downloads.php:29
866
+ msgid "Downloads List"
867
+ msgstr "Listy pobierania"
868
+
869
+ #: ../includes/widgets/class-dlm-widget-downloads.php:52
870
+ #: ../includes/widgets/class-dlm-widget-downloads.php:148
871
+ msgid "Featured Downloads"
872
+ msgstr "Wyróżnione pliki"
873
+
874
+ #: ../includes/widgets/class-dlm-widget-downloads.php:157
875
+ msgid "Title:"
876
+ msgstr "Tytuł:"
877
+
878
+ #: ../includes/widgets/class-dlm-widget-downloads.php:161
879
+ msgid "Limit:"
880
+ msgstr "Limit:"
881
+
882
+ #: ../includes/widgets/class-dlm-widget-downloads.php:165
883
+ msgid "Output template:"
884
+ msgstr "Szablon docelowy:"
885
+
886
+ #: ../includes/widgets/class-dlm-widget-downloads.php:166
887
+ msgid "Default template"
888
+ msgstr "Szablon domyślny:"
889
+
890
+ #: ../includes/widgets/class-dlm-widget-downloads.php:169
891
+ msgid "Order by:"
892
+ msgstr "Uporządkuj wedle:"
893
+
894
+ #: ../includes/widgets/class-dlm-widget-downloads.php:172
895
+ msgid "Random"
896
+ msgstr "Losowo"
897
+
898
+ #: ../includes/widgets/class-dlm-widget-downloads.php:174
899
+ msgid "Date added"
900
+ msgstr "Daty dodania"
901
+
902
+ #: ../includes/widgets/class-dlm-widget-downloads.php:175
903
+ msgid "Date modified"
904
+ msgstr "Daty modyfikacji"
905
+
906
+ #: ../includes/widgets/class-dlm-widget-downloads.php:180
907
+ msgid "Order:"
908
+ msgstr "Porządek:"
909
+
910
+ #: ../includes/widgets/class-dlm-widget-downloads.php:182
911
+ msgid "ASC"
912
+ msgstr "wstępująco"
913
+
914
+ #: ../includes/widgets/class-dlm-widget-downloads.php:183
915
+ msgid "DESC"
916
+ msgstr "zstępująco"
917
+
918
+ #: ../includes/widgets/class-dlm-widget-downloads.php:188
919
+ msgid "Show only featured downloads"
920
+ msgstr "Pokaż jedynie wyróżnione pliki"
921
+
922
+ #: ../includes/widgets/class-dlm-widget-downloads.php:192
923
+ msgid "Show only members only downloads"
924
+ msgstr "Pokaż jedynie pliki do pliku przez zalogowanych"
925
+
926
+ #: ../templates/content-download-box.php:20
927
+ #: ../templates/content-download-filename.php:8
928
+ #: ../templates/content-download-title.php:8
929
+ #: ../templates/content-download.php:8
930
+ #, php-format
931
+ msgid "Version %s"
932
+ msgstr "Wersja %s"
933
+
934
+ #: ../templates/content-download-box.php:21
935
+ msgid "Download File"
936
+ msgstr "Pobierz plik"
937
+
938
+ #: ../templates/content-download-button.php:9
939
+ #, php-format
940
+ msgid "Download &ldquo;%s&rdquo;"
941
+ msgstr "Pobierz &ldquo;%s&rdquo;"
942
+
943
+ #~ msgid "Select File"
944
+ #~ msgstr "Wybierz plik"
945
+
946
+ #~ msgid "Any month"
947
+ #~ msgstr "Dowolny miesiąc"
948
+
949
+ #~ msgid "Downloaded %s time"
950
+ #~ msgid_plural "Downloaded %s times"
951
+ #~ msgstr[0] "Pobrano %s raz"
952
+ #~ msgstr[1] "Pobrano %s razy"
953
+ #~ msgstr[2] "Pobrano %s razy"
954
+
955
+ #~ msgid "1 download"
956
+ #~ msgid_plural "%d downloads"
957
+ #~ msgstr[0] "%d plik"
958
+ #~ msgstr[1] "%d pliki"
959
+ #~ msgstr[2] "%d plików"
960
+
961
+ #~ msgid "Downloaded 1 time"
962
+ #~ msgid_plural "Downloaded %d times"
963
+ #~ msgstr[0] "Pobrano %d raz"
964
+ #~ msgstr[1] "Pobrano %d razy"
965
+ #~ msgstr[2] "Pobrano %d razy"
966
+
967
+ #~ msgid "http://mikejolley.com/projects/download-monitor/"
968
+ #~ msgstr "http://mikejolley.com/projects/download-monitor/"
969
+
970
+ #~ msgid ""
971
+ #~ "A full solution for managing downloadable files, monitoring downloads and "
972
+ #~ "outputting download links and file information on your WordPress powered "
973
+ #~ "site."
974
+ #~ msgstr ""
975
+ #~ "Kompletne rozwiązanie do zarządzania pobieraniem plików, monitorowaniem "
976
+ #~ "plików i informacją o plikach znajdujących się na stronie napędzaniej "
977
+ #~ "przez WordPress."
978
+
979
+ #~ msgid "Mike Jolley"
980
+ #~ msgstr "Mike Jolley"
981
+
982
+ #~ msgid "http://mikejolley.com"
983
+ #~ msgstr "http://mikejolley.com"
languages/download_monitor-tr_TR.mo ADDED
Binary file
languages/download_monitor-tr_TR.po ADDED
@@ -0,0 +1,350 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Download Monitor\n"
4
+ "POT-Creation-Date: 2013-11-26 10:32+0200\n"
5
+ "PO-Revision-Date: 2013-11-26 10:41+0200\n"
6
+ "Last-Translator: Serkan Algur <info@wpadami.com>\n"
7
+ "Language-Team: Serkan Algur <info@wpadami.com>\n"
8
+ "Language: tr_TR\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.5.7\n"
13
+ "X-Poedit-KeywordsList: _;gettext;gettext_noop;_e\n"
14
+ "X-Poedit-Basepath: .\n"
15
+ "X-Poedit-SearchPath-0: C:\\Users\\Ferhan Arman\\Desktop\\download-monitor\n"
16
+
17
+ #: C:\Users\Ferhan
18
+ #: Arman\Desktop\download-monitor/includes/admin/class-dlm-addons.php:50
19
+ msgid "Download Monitor Add-ons"
20
+ msgstr "Download Monitör Eklentileri"
21
+
22
+ #: C:\Users\Ferhan
23
+ #: Arman\Desktop\download-monitor/includes/admin/class-dlm-admin-dashboard.php:69
24
+ msgid "Download"
25
+ msgstr "İndir"
26
+
27
+ #: C:\Users\Ferhan
28
+ #: Arman\Desktop\download-monitor/includes/admin/class-dlm-admin-dashboard.php:70
29
+ #: Arman\Desktop\download-monitor/includes/admin/html-downloadable-file-version.php:49
30
+ #: Arman\Desktop\download-monitor/includes/widgets/class-dlm-widget-downloads.php:176
31
+ msgid "Download count"
32
+ msgstr "İndirme Sayısı"
33
+
34
+ #: C:\Users\Ferhan
35
+ #: Arman\Desktop\download-monitor/includes/admin/class-dlm-admin-insert.php:78
36
+ #: Arman\Desktop\download-monitor/includes/admin/class-dlm-admin-insert.php:168
37
+ msgid "Insert Shortcode"
38
+ msgstr "KısaKod Ekle"
39
+
40
+ #: C:\Users\Ferhan
41
+ #: Arman\Desktop\download-monitor/includes/admin/class-dlm-admin-insert.php:78
42
+ msgid "Quick-add download"
43
+ msgstr "Hızlı Dosya Ekleme"
44
+
45
+ #: C:\Users\Ferhan
46
+ #: Arman\Desktop\download-monitor/includes/admin/class-dlm-admin-insert.php:149
47
+ msgid "Choose a download"
48
+ msgstr "Dosya seç"
49
+
50
+ #: C:\Users\Ferhan
51
+ #: Arman\Desktop\download-monitor/includes/admin/class-dlm-admin-insert.php:161
52
+ msgid "Template"
53
+ msgstr "şablon"
54
+
55
+ #: C:\Users\Ferhan
56
+ #: Arman\Desktop\download-monitor/includes/admin/class-dlm-admin-insert.php:162
57
+ msgid "Template Name"
58
+ msgstr "Şablon Adı"
59
+
60
+ #: C:\Users\Ferhan
61
+ #: Arman\Desktop\download-monitor/includes/admin/class-dlm-admin-insert.php:164
62
+ msgid ""
63
+ "Leaving this blank will use the default <code>content-download.php</code> "
64
+ "template file. If you enter, for example, <code>image</code>, the "
65
+ "<code>content-download-image.php</code> template will be used instead."
66
+ msgstr ""
67
+ "Bu alanı boş bırakmak varsayılan şablonun kullanılmasına <code>content-"
68
+ "download.php</code> neden olacaktır. Mesela <code>image</code> eklerseniz, "
69
+ "<code>content-download-image.php</code> şablon dosyası kullanılacaktir. "
70
+
71
+ #: C:\Users\Ferhan
72
+ #: Arman\Desktop\download-monitor/includes/admin/class-dlm-admin-insert.php:179
73
+ msgid "Drop file here"
74
+ msgstr "Dosyayı buraya sürükleyin"
75
+
76
+ #: C:\Users\Ferhan
77
+ #: Arman\Desktop\download-monitor/includes/admin/class-dlm-admin-insert.php:180
78
+ #: Arman\Desktop\download-monitor/includes/admin/class-dlm-admin-insert.php:182
79
+ msgid "or"
80
+ msgstr "ya da"
81
+
82
+ #: C:\Users\Ferhan
83
+ #: Arman\Desktop\download-monitor/includes/admin/class-dlm-admin-insert.php:183
84
+ msgid "Enter URL manually"
85
+ msgstr "URL elle girin"
86
+
87
+ #: C:\Users\Ferhan
88
+ #: Arman\Desktop\download-monitor/includes/admin/class-dlm-admin-insert.php:189
89
+ msgid "Download URL"
90
+ msgstr "İndirme URL"
91
+
92
+ #: C:\Users\Ferhan
93
+ #: Arman\Desktop\download-monitor/includes/admin/class-dlm-admin-insert.php:190
94
+ msgid "Required URL"
95
+ msgstr "Gerekli URL"
96
+
97
+ #: C:\Users\Ferhan
98
+ #: Arman\Desktop\download-monitor/includes/admin/class-dlm-admin-insert.php:193
99
+ msgid "Download Title"
100
+ msgstr "Dosya Başlığı"
101
+
102
+ #: C:\Users\Ferhan
103
+ #: Arman\Desktop\download-monitor/includes/admin/class-dlm-admin-insert.php:194
104
+ msgid "Required title"
105
+ msgstr "Gerekli Başlık"
106
+
107
+ #: C:\Users\Ferhan
108
+ #: Arman\Desktop\download-monitor/includes/admin/class-dlm-admin-insert.php:197
109
+ #: Arman\Desktop\download-monitor/includes/admin/html-downloadable-file-version.php:13
110
+ msgid "Version"
111
+ msgstr "Versiyon"
112
+
113
+ #: C:\Users\Ferhan
114
+ #: Arman\Desktop\download-monitor/includes/admin/class-dlm-admin-insert.php:198
115
+ msgid "Optional version number"
116
+ msgstr "Opsiyonel versiyon numarası"
117
+
118
+ #: C:\Users\Ferhan
119
+ #: Arman\Desktop\download-monitor/includes/admin/class-dlm-admin-insert.php:201
120
+ msgid "Save Download"
121
+ msgstr "Dosyayı Kaydet"
122
+
123
+ #: C:\Users\Ferhan
124
+ #: Arman\Desktop\download-monitor/includes/admin/class-dlm-admin-insert.php:309
125
+ msgid "Please wait..."
126
+ msgstr "Lütfen bekleyin..."
127
+
128
+ #: C:\Users\Ferhan
129
+ #: Arman\Desktop\download-monitor/includes/admin/class-dlm-admin-media-browser.php:100
130
+ msgid "No files found"
131
+ msgstr "Dosya bulunamadı"
132
+
133
+ #: C:\Users\Ferhan
134
+ #: Arman\Desktop\download-monitor/includes/admin/class-dlm-admin-writepanels.php:94
135
+ msgid "Add version"
136
+ msgstr "Versiyon Ekle"
137
+
138
+ #: C:\Users\Ferhan
139
+ #: Arman\Desktop\download-monitor/includes/admin/class-dlm-admin-writepanels.php:95
140
+ msgid "Close all"
141
+ msgstr "Hepsini Kapat"
142
+
143
+ #: C:\Users\Ferhan
144
+ #: Arman\Desktop\download-monitor/includes/admin/class-dlm-admin-writepanels.php:95
145
+ msgid "Expand all"
146
+ msgstr "Hepsini Aç"
147
+
148
+ #: C:\Users\Ferhan
149
+ #: Arman\Desktop\download-monitor/includes/admin/class-dlm-admin-writepanels.php:220
150
+ msgid "Are you sure you want to delete this file?"
151
+ msgstr "Dosyayı silmek istediğinizden emin misiniz?"
152
+
153
+ #: C:\Users\Ferhan
154
+ #: Arman\Desktop\download-monitor/includes/admin/class-dlm-admin.php:358
155
+ msgid "Save Changes"
156
+ msgstr "Değişiklikleri Kaydet"
157
+
158
+ #: C:\Users\Ferhan
159
+ #: Arman\Desktop\download-monitor/includes/admin/class-dlm-admin.php:402
160
+ msgid "Download Logs"
161
+ msgstr "İndirme Kayıtları"
162
+
163
+ #: C:\Users\Ferhan
164
+ #: Arman\Desktop\download-monitor/includes/admin/class-dlm-admin.php:402
165
+ msgid "Export CSV"
166
+ msgstr "CSV olarak dışa aktar"
167
+
168
+ #: C:\Users\Ferhan
169
+ #: Arman\Desktop\download-monitor/includes/admin/class-dlm-admin.php:402
170
+ msgid "Delete Logs"
171
+ msgstr "Kayıtları Sil"
172
+
173
+ #: C:\Users\Ferhan
174
+ #: Arman\Desktop\download-monitor/includes/admin/class-dlm-logging-list-table.php:142
175
+ msgid "Any status"
176
+ msgstr "Durum"
177
+
178
+ #: C:\Users\Ferhan
179
+ #: Arman\Desktop\download-monitor/includes/admin/class-dlm-logging-list-table.php:143
180
+ msgid "Failed"
181
+ msgstr "Başarısız"
182
+
183
+ #: C:\Users\Ferhan
184
+ #: Arman\Desktop\download-monitor/includes/admin/class-dlm-logging-list-table.php:144
185
+ msgid "Redirected"
186
+ msgstr "Yönlendirildi"
187
+
188
+ #: C:\Users\Ferhan
189
+ #: Arman\Desktop\download-monitor/includes/admin/class-dlm-logging-list-table.php:145
190
+ msgid "Completed"
191
+ msgstr "Tamamlandı"
192
+
193
+ #: C:\Users\Ferhan
194
+ #: Arman\Desktop\download-monitor/includes/admin/class-dlm-logging-list-table.php:164
195
+ msgid "Show all dates"
196
+ msgstr "Tüm tarihleri göster"
197
+
198
+ #: C:\Users\Ferhan
199
+ #: Arman\Desktop\download-monitor/includes/admin/class-dlm-logging-list-table.php:185
200
+ msgid "25 per page"
201
+ msgstr "Sayfa başına 25"
202
+
203
+ #: C:\Users\Ferhan
204
+ #: Arman\Desktop\download-monitor/includes/admin/class-dlm-logging-list-table.php:186
205
+ msgid "50 per page"
206
+ msgstr "Sayfa başına 50"
207
+
208
+ #: C:\Users\Ferhan
209
+ #: Arman\Desktop\download-monitor/includes/admin/class-dlm-logging-list-table.php:187
210
+ msgid "100 per page"
211
+ msgstr "Sayfa başına 100"
212
+
213
+ #: C:\Users\Ferhan
214
+ #: Arman\Desktop\download-monitor/includes/admin/class-dlm-logging-list-table.php:188
215
+ msgid "200 per page"
216
+ msgstr "Sayfa başına 200"
217
+
218
+ #: C:\Users\Ferhan
219
+ #: Arman\Desktop\download-monitor/includes/admin/class-dlm-logging-list-table.php:189
220
+ msgid "Show All"
221
+ msgstr "Tümünü Göster"
222
+
223
+ #: C:\Users\Ferhan
224
+ #: Arman\Desktop\download-monitor/includes/admin/class-dlm-logging-list-table.php:193
225
+ msgid "Filter"
226
+ msgstr "Filtrele"
227
+
228
+ #: C:\Users\Ferhan
229
+ #: Arman\Desktop\download-monitor/includes/admin/html-downloadable-file-version.php:3
230
+ msgid "Remove"
231
+ msgstr "Kaldır"
232
+
233
+ #: C:\Users\Ferhan
234
+ #: Arman\Desktop\download-monitor/includes/admin/html-downloadable-file-version.php:4
235
+ msgid "Click to toggle"
236
+ msgstr "Açmak için tıklayın"
237
+
238
+ #: C:\Users\Ferhan
239
+ #: Arman\Desktop\download-monitor/includes/admin/html-downloadable-file-version.php:14
240
+ msgid "n/a"
241
+ msgstr "n/a"
242
+
243
+ #: C:\Users\Ferhan
244
+ #: Arman\Desktop\download-monitor/includes/admin/html-downloadable-file-version.php:18
245
+ msgid "File URL(s)"
246
+ msgstr "Dosya Link(ler)i"
247
+
248
+ #: C:\Users\Ferhan
249
+ #: Arman\Desktop\download-monitor/includes/admin/html-downloadable-file-version.php:19
250
+ msgid ""
251
+ "Enter one file path/URL per line - multiple files will be used as mirrors "
252
+ "(chosen at random)."
253
+ msgstr ""
254
+ "Lütfen her satıra bir link/dosya yolu ekleyiniz. Çoklu dosyalar ayna "
255
+ "bağlantı olarak kullanılacak (rastgele olarak)"
256
+
257
+ #: C:\Users\Ferhan
258
+ #: Arman\Desktop\download-monitor/includes/admin/html-downloadable-file-version.php:55
259
+ msgid "File Date"
260
+ msgstr "Dosya Tarihi"
261
+
262
+ #: C:\Users\Ferhan
263
+ #: Arman\Desktop\download-monitor/includes/admin/html-downloadable-file-version.php:56
264
+ msgid "h"
265
+ msgstr ""
266
+
267
+ #: C:\Users\Ferhan
268
+ #: Arman\Desktop\download-monitor/includes/admin/html-downloadable-file-version.php:56
269
+ msgid "m"
270
+ msgstr ""
271
+
272
+ #: C:\Users\Ferhan
273
+ #: Arman\Desktop\download-monitor/includes/widgets/class-dlm-widget-downloads.php:157
274
+ msgid "Title:"
275
+ msgstr "Başlık"
276
+
277
+ #: C:\Users\Ferhan
278
+ #: Arman\Desktop\download-monitor/includes/widgets/class-dlm-widget-downloads.php:161
279
+ msgid "Limit:"
280
+ msgstr "Limit:"
281
+
282
+ #: C:\Users\Ferhan
283
+ #: Arman\Desktop\download-monitor/includes/widgets/class-dlm-widget-downloads.php:165
284
+ msgid "Output template:"
285
+ msgstr "Gösterim Şablonu:"
286
+
287
+ #: C:\Users\Ferhan
288
+ #: Arman\Desktop\download-monitor/includes/widgets/class-dlm-widget-downloads.php:166
289
+ msgid "Default template"
290
+ msgstr "Varsayılan Şablon"
291
+
292
+ #: C:\Users\Ferhan
293
+ #: Arman\Desktop\download-monitor/includes/widgets/class-dlm-widget-downloads.php:169
294
+ msgid "Order by:"
295
+ msgstr "Sırala: "
296
+
297
+ #: C:\Users\Ferhan
298
+ #: Arman\Desktop\download-monitor/includes/widgets/class-dlm-widget-downloads.php:171
299
+ msgid "Title"
300
+ msgstr "Başlık"
301
+
302
+ #: C:\Users\Ferhan
303
+ #: Arman\Desktop\download-monitor/includes/widgets/class-dlm-widget-downloads.php:172
304
+ msgid "Random"
305
+ msgstr "Rastgele"
306
+
307
+ #: C:\Users\Ferhan
308
+ #: Arman\Desktop\download-monitor/includes/widgets/class-dlm-widget-downloads.php:173
309
+ msgid "ID"
310
+ msgstr "ID"
311
+
312
+ #: C:\Users\Ferhan
313
+ #: Arman\Desktop\download-monitor/includes/widgets/class-dlm-widget-downloads.php:174
314
+ msgid "Date added"
315
+ msgstr "Eklenme tarihi"
316
+
317
+ #: C:\Users\Ferhan
318
+ #: Arman\Desktop\download-monitor/includes/widgets/class-dlm-widget-downloads.php:175
319
+ msgid "Date modified"
320
+ msgstr "Düzenlenme tarihi"
321
+
322
+ #: C:\Users\Ferhan
323
+ #: Arman\Desktop\download-monitor/includes/widgets/class-dlm-widget-downloads.php:180
324
+ msgid "Order:"
325
+ msgstr "Sorala: "
326
+
327
+ #: C:\Users\Ferhan
328
+ #: Arman\Desktop\download-monitor/includes/widgets/class-dlm-widget-downloads.php:182
329
+ msgid "ASC"
330
+ msgstr "ASC"
331
+
332
+ #: C:\Users\Ferhan
333
+ #: Arman\Desktop\download-monitor/includes/widgets/class-dlm-widget-downloads.php:183
334
+ msgid "DESC"
335
+ msgstr "DESC"
336
+
337
+ #: C:\Users\Ferhan
338
+ #: Arman\Desktop\download-monitor/includes/widgets/class-dlm-widget-downloads.php:188
339
+ msgid "Show only featured downloads"
340
+ msgstr "Sadece öne çıkan dosyaları göster"
341
+
342
+ #: C:\Users\Ferhan
343
+ #: Arman\Desktop\download-monitor/includes/widgets/class-dlm-widget-downloads.php:192
344
+ msgid "Show only members only downloads"
345
+ msgstr "Sadece üyeler için olan dosyaları göster"
346
+
347
+ #: C:\Users\Ferhan
348
+ #: Arman\Desktop\download-monitor/templates/content-download-box.php:21
349
+ msgid "Download File"
350
+ msgstr "Dosyayı İndir"
readme.txt CHANGED
@@ -2,9 +2,9 @@
2
  Contributors: mikejolley
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=mike.jolley@me.com&item_name=Donation+for+Download+Monitor
4
  Tags: download, downloads, monitor, hits, download monitor, tracking, admin, count, counter, files, versions, download count, logging
5
- Requires at least: 3.5
6
- Tested up to: 3.7
7
- Stable tag: 1.3.2
8
  License: GPLv3
9
 
10
  Download Monitor is a plugin for uploading and managing downloads, tracking downloads, and displaying links.
@@ -108,6 +108,18 @@ Admin hits are not counted, log out and try!
108
 
109
  == Changelog ==
110
 
 
 
 
 
 
 
 
 
 
 
 
 
111
  = 1.3.2 =
112
  * Cleaned up log table queries
113
  * Tweaked download handler headers
@@ -184,9 +196,4 @@ Admin hits are not counted, log out and try!
184
  * Workaround root relative URLS
185
 
186
  = 1.0.0 =
187
- * Complete rewrite of the plugin making use of custom post types and other best practices. Fresh start version '1' to prevent auto-updates (legacy importer needs to be used to migrate from old versions).
188
-
189
- == Upgrade Notice ==
190
-
191
- = 1.0.0 =
192
- To update from legacy versions use the legacy importer](http://mikejolley.com/projects/download-monitor/add-ons/legacy-importer/).
2
  Contributors: mikejolley
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=mike.jolley@me.com&item_name=Donation+for+Download+Monitor
4
  Tags: download, downloads, monitor, hits, download monitor, tracking, admin, count, counter, files, versions, download count, logging
5
+ Requires at least: 3.8
6
+ Tested up to: 3.8
7
+ Stable tag: 1.4.0
8
  License: GPLv3
9
 
10
  Download Monitor is a plugin for uploading and managing downloads, tracking downloads, and displaying links.
108
 
109
  == Changelog ==
110
 
111
+ = 1.4.0 =
112
+ * MP6/3.8 admin styling. Requires 3.8.
113
+ * Polish translation.
114
+ * Turkish translation.
115
+ * Change capability required to view dashboard widget.
116
+ * Don't show "insert download" when editing a download.
117
+ * Allow pagination for the [downloads] shortcode. Simply add paginate=true to the shortcode.
118
+ * Reverted flush change in download handler to reduce memory usage on some hosting envrionments
119
+ * changed download handlers and fixed corruption when resuming files
120
+ * Calculate md5/sha1/crc32 hashes for files. Obtainable via methods or download_data, e.g. [download_data id="86" data="md5"]
121
+ * Added file_date data
122
+
123
  = 1.3.2 =
124
  * Cleaned up log table queries
125
  * Tweaked download handler headers
196
  * Workaround root relative URLS
197
 
198
  = 1.0.0 =
199
+ * Complete rewrite of the plugin making use of custom post types and other best practices. Fresh start version '1' to prevent auto-updates (legacy importer needs to be used to migrate from old versions).
 
 
 
 
 
templates/pagination.php ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Pagination - Show numbered pagination.
4
+ */
5
+ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
6
+
7
+ global $dlm_max_num_pages;
8
+
9
+ if ( $dlm_max_num_pages <= 1 )
10
+ return;
11
+ ?>
12
+ <nav class="download-monitor-pagination">
13
+ <?php
14
+ echo paginate_links( apply_filters( 'download_monitor_pagination_args', array(
15
+ 'base' => str_replace( 999999999, '%#%', get_pagenum_link( 999999999 ) ),
16
+ 'format' => '',
17
+ 'current' => max( 1, get_query_var('paged') ),
18
+ 'total' => $dlm_max_num_pages,
19
+ 'prev_text' => '&larr;',
20
+ 'next_text' => '&rarr;',
21
+ 'type' => 'list',
22
+ 'end_size' => 3,
23
+ 'mid_size' => 3
24
+ ) ) );
25
+ ?>
26
+ </nav>