Version Description
- Fix config page to work with multibyte tab names.
- Japanese locale by hide92795
- Admin CSS/script conditonally loaded
- Versions are now strtolower to be compatible with version_compare and to standardise numbers.
Download this release
Release Info
| Developer | mikejolley |
| Plugin | |
| Version | 1.0.3 |
| Comparing to | |
| See all releases | |
Code changes from version 1.0.2 to 1.0.3
- assets/css/admin.css +0 -61
- assets/css/admin.less +0 -67
- assets/css/dashboard.css +49 -0
- assets/css/dashboard.less +50 -0
- assets/css/menu.css +12 -0
- assets/css/menu.less +15 -0
- download-monitor.php +2 -2
- includes/admin/class-dlm-admin-writepanels.php +1 -1
- includes/admin/class-dlm-admin.php +26 -6
- includes/class-dlm-download-version.php +1 -1
- includes/class-dlm-download.php +1 -1
- languages/download_monitor-ja.mo +0 -0
- languages/download_monitor-ja.po +830 -0
- readme.txt +8 -2
assets/css/admin.css
CHANGED
|
@@ -1,64 +1,3 @@
|
|
| 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 |
-
}
|
| 13 |
-
/* Widgets */
|
| 14 |
-
table.download_chart {
|
| 15 |
-
width: 100%;
|
| 16 |
-
}
|
| 17 |
-
table.download_chart thead {
|
| 18 |
-
display: none;
|
| 19 |
-
}
|
| 20 |
-
table.download_chart td,
|
| 21 |
-
table.download_chart th {
|
| 22 |
-
padding: 5px;
|
| 23 |
-
vertical-align: middle;
|
| 24 |
-
line-height: 1.5em;
|
| 25 |
-
}
|
| 26 |
-
table.download_chart th {
|
| 27 |
-
text-align: left;
|
| 28 |
-
font-weight: normal;
|
| 29 |
-
padding-left: 0;
|
| 30 |
-
}
|
| 31 |
-
table.download_chart td:last-child {
|
| 32 |
-
padding-right: 0;
|
| 33 |
-
}
|
| 34 |
-
table.download_chart tr:first-child td,
|
| 35 |
-
table.download_chart tr:first-child th {
|
| 36 |
-
padding-top: 0;
|
| 37 |
-
}
|
| 38 |
-
table.download_chart tr:last-child td,
|
| 39 |
-
table.download_chart tr:last-child th {
|
| 40 |
-
border-bottom: 0;
|
| 41 |
-
padding-bottom: 0;
|
| 42 |
-
}
|
| 43 |
-
table.download_chart span.bar {
|
| 44 |
-
padding: 0 0 0 1px;
|
| 45 |
-
height: 1.5em;
|
| 46 |
-
float: left;
|
| 47 |
-
margin-right: 5px;
|
| 48 |
-
-moz-box-sizing: border-box;
|
| 49 |
-
-webkit-box-sizing: border-box;
|
| 50 |
-
box-sizing: border-box;
|
| 51 |
-
-moz-border-radius: 2px;
|
| 52 |
-
-webkit-border-radius: 2px;
|
| 53 |
-
border-radius: 2px;
|
| 54 |
-
bprder: 1px solid ##6e6e6e;
|
| 55 |
-
background: #6e6e6e;
|
| 56 |
-
background-image: -webkit-gradient(linear, left bottom, left top, from(#747474), to(#6e6e6e));
|
| 57 |
-
background-image: -webkit-linear-gradient(bottom, #747474, #6e6e6e);
|
| 58 |
-
background-image: -moz-linear-gradient(bottom, #747474, #6e6e6e);
|
| 59 |
-
background-image: -o-linear-gradient(bottom, #747474, #6e6e6e);
|
| 60 |
-
background-image: linear-gradient(to top, #747474, #6e6e6e);
|
| 61 |
-
}
|
| 62 |
/* Logs */
|
| 63 |
#dlm_logs .tablenav.top {
|
| 64 |
display: none;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
/* Logs */
|
| 2 |
#dlm_logs .tablenav.top {
|
| 3 |
display: none;
|
assets/css/admin.less
CHANGED
|
@@ -1,70 +1,3 @@
|
|
| 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 |
-
}
|
| 16 |
-
|
| 17 |
-
/* Widgets */
|
| 18 |
-
table.download_chart {
|
| 19 |
-
width: 100%;
|
| 20 |
-
thead {
|
| 21 |
-
display: none;
|
| 22 |
-
}
|
| 23 |
-
td, th {
|
| 24 |
-
padding: 5px;
|
| 25 |
-
vertical-align: middle;
|
| 26 |
-
line-height: 1.5em;
|
| 27 |
-
}
|
| 28 |
-
th {
|
| 29 |
-
text-align: left;
|
| 30 |
-
font-weight: normal;
|
| 31 |
-
padding-left: 0;
|
| 32 |
-
}
|
| 33 |
-
td:last-child {
|
| 34 |
-
padding-right: 0;
|
| 35 |
-
}
|
| 36 |
-
tr:first-child {
|
| 37 |
-
td, th {
|
| 38 |
-
padding-top: 0;
|
| 39 |
-
}
|
| 40 |
-
}
|
| 41 |
-
tr:last-child {
|
| 42 |
-
td, th {
|
| 43 |
-
border-bottom: 0;
|
| 44 |
-
padding-bottom: 0;
|
| 45 |
-
}
|
| 46 |
-
}
|
| 47 |
-
span.bar {
|
| 48 |
-
padding: 0 0 0 1px;
|
| 49 |
-
height: 1.5em;
|
| 50 |
-
float: left;
|
| 51 |
-
margin-right: 5px;
|
| 52 |
-
-moz-box-sizing: border-box;
|
| 53 |
-
-webkit-box-sizing: border-box;
|
| 54 |
-
box-sizing: border-box;
|
| 55 |
-
-moz-border-radius: 2px;
|
| 56 |
-
-webkit-border-radius: 2px;
|
| 57 |
-
border-radius: 2px;
|
| 58 |
-
bprder:1px solid ##6e6e6e;
|
| 59 |
-
background:#6e6e6e;
|
| 60 |
-
background-image:-webkit-gradient(linear,left bottom,left top,from(#747474),to(#6e6e6e));
|
| 61 |
-
background-image:-webkit-linear-gradient(bottom,#747474,#6e6e6e);
|
| 62 |
-
background-image:-moz-linear-gradient(bottom,#747474,#6e6e6e);
|
| 63 |
-
background-image:-o-linear-gradient(bottom,#747474,#6e6e6e);
|
| 64 |
-
background-image:linear-gradient(to top,#747474,#6e6e6e);
|
| 65 |
-
}
|
| 66 |
-
}
|
| 67 |
-
|
| 68 |
/* Logs */
|
| 69 |
#dlm_logs {
|
| 70 |
.tablenav.top {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
/* Logs */
|
| 2 |
#dlm_logs {
|
| 3 |
.tablenav.top {
|
assets/css/dashboard.css
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* Widgets */
|
| 2 |
+
table.download_chart {
|
| 3 |
+
width: 100%;
|
| 4 |
+
}
|
| 5 |
+
table.download_chart thead {
|
| 6 |
+
display: none;
|
| 7 |
+
}
|
| 8 |
+
table.download_chart td,
|
| 9 |
+
table.download_chart th {
|
| 10 |
+
padding: 5px;
|
| 11 |
+
vertical-align: middle;
|
| 12 |
+
line-height: 1.5em;
|
| 13 |
+
}
|
| 14 |
+
table.download_chart th {
|
| 15 |
+
text-align: left;
|
| 16 |
+
font-weight: normal;
|
| 17 |
+
padding-left: 0;
|
| 18 |
+
}
|
| 19 |
+
table.download_chart td:last-child {
|
| 20 |
+
padding-right: 0;
|
| 21 |
+
}
|
| 22 |
+
table.download_chart tr:first-child td,
|
| 23 |
+
table.download_chart tr:first-child th {
|
| 24 |
+
padding-top: 0;
|
| 25 |
+
}
|
| 26 |
+
table.download_chart tr:last-child td,
|
| 27 |
+
table.download_chart tr:last-child th {
|
| 28 |
+
border-bottom: 0;
|
| 29 |
+
padding-bottom: 0;
|
| 30 |
+
}
|
| 31 |
+
table.download_chart span.bar {
|
| 32 |
+
padding: 0 0 0 1px;
|
| 33 |
+
height: 1.5em;
|
| 34 |
+
float: left;
|
| 35 |
+
margin-right: 5px;
|
| 36 |
+
-moz-box-sizing: border-box;
|
| 37 |
+
-webkit-box-sizing: border-box;
|
| 38 |
+
box-sizing: border-box;
|
| 39 |
+
-moz-border-radius: 2px;
|
| 40 |
+
-webkit-border-radius: 2px;
|
| 41 |
+
border-radius: 2px;
|
| 42 |
+
bprder: 1px solid ##6e6e6e;
|
| 43 |
+
background: #6e6e6e;
|
| 44 |
+
background-image: -webkit-gradient(linear, left bottom, left top, from(#747474), to(#6e6e6e));
|
| 45 |
+
background-image: -webkit-linear-gradient(bottom, #747474, #6e6e6e);
|
| 46 |
+
background-image: -moz-linear-gradient(bottom, #747474, #6e6e6e);
|
| 47 |
+
background-image: -o-linear-gradient(bottom, #747474, #6e6e6e);
|
| 48 |
+
background-image: linear-gradient(to top, #747474, #6e6e6e);
|
| 49 |
+
}
|
assets/css/dashboard.less
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* Widgets */
|
| 2 |
+
table.download_chart {
|
| 3 |
+
width: 100%;
|
| 4 |
+
thead {
|
| 5 |
+
display: none;
|
| 6 |
+
}
|
| 7 |
+
td, th {
|
| 8 |
+
padding: 5px;
|
| 9 |
+
vertical-align: middle;
|
| 10 |
+
line-height: 1.5em;
|
| 11 |
+
}
|
| 12 |
+
th {
|
| 13 |
+
text-align: left;
|
| 14 |
+
font-weight: normal;
|
| 15 |
+
padding-left: 0;
|
| 16 |
+
}
|
| 17 |
+
td:last-child {
|
| 18 |
+
padding-right: 0;
|
| 19 |
+
}
|
| 20 |
+
tr:first-child {
|
| 21 |
+
td, th {
|
| 22 |
+
padding-top: 0;
|
| 23 |
+
}
|
| 24 |
+
}
|
| 25 |
+
tr:last-child {
|
| 26 |
+
td, th {
|
| 27 |
+
border-bottom: 0;
|
| 28 |
+
padding-bottom: 0;
|
| 29 |
+
}
|
| 30 |
+
}
|
| 31 |
+
span.bar {
|
| 32 |
+
padding: 0 0 0 1px;
|
| 33 |
+
height: 1.5em;
|
| 34 |
+
float: left;
|
| 35 |
+
margin-right: 5px;
|
| 36 |
+
-moz-box-sizing: border-box;
|
| 37 |
+
-webkit-box-sizing: border-box;
|
| 38 |
+
box-sizing: border-box;
|
| 39 |
+
-moz-border-radius: 2px;
|
| 40 |
+
-webkit-border-radius: 2px;
|
| 41 |
+
border-radius: 2px;
|
| 42 |
+
bprder:1px solid ##6e6e6e;
|
| 43 |
+
background:#6e6e6e;
|
| 44 |
+
background-image:-webkit-gradient(linear,left bottom,left top,from(#747474),to(#6e6e6e));
|
| 45 |
+
background-image:-webkit-linear-gradient(bottom,#747474,#6e6e6e);
|
| 46 |
+
background-image:-moz-linear-gradient(bottom,#747474,#6e6e6e);
|
| 47 |
+
background-image:-o-linear-gradient(bottom,#747474,#6e6e6e);
|
| 48 |
+
background-image:linear-gradient(to top,#747474,#6e6e6e);
|
| 49 |
+
}
|
| 50 |
+
}
|
assets/css/menu.css
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
}
|
assets/css/menu.less
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
}
|
download-monitor.php
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
Plugin Name: Download Monitor
|
| 4 |
Plugin URI: http://mikejolley.com/projects/download-monitor/
|
| 5 |
Description: A full solution for managing downloadable files, monitoring downloads and outputting download links and file information on your WordPress powered site.
|
| 6 |
-
Version: 1.0.
|
| 7 |
Author: Mike Jolley
|
| 8 |
Author URI: http://mikejolley.com
|
| 9 |
Requires at least: 3.5
|
|
@@ -39,7 +39,7 @@ class WP_DLM {
|
|
| 39 |
global $wpdb;
|
| 40 |
|
| 41 |
// Define constants
|
| 42 |
-
define( 'DLM_VERSION', '1.0.
|
| 43 |
|
| 44 |
// Table for logs
|
| 45 |
$wpdb->download_log = $wpdb->prefix . 'download_log';
|
| 3 |
Plugin Name: Download Monitor
|
| 4 |
Plugin URI: http://mikejolley.com/projects/download-monitor/
|
| 5 |
Description: A full solution for managing downloadable files, monitoring downloads and outputting download links and file information on your WordPress powered site.
|
| 6 |
+
Version: 1.0.3
|
| 7 |
Author: Mike Jolley
|
| 8 |
Author URI: http://mikejolley.com
|
| 9 |
Requires at least: 3.5
|
| 39 |
global $wpdb;
|
| 40 |
|
| 41 |
// Define constants
|
| 42 |
+
define( 'DLM_VERSION', '1.0.3' );
|
| 43 |
|
| 44 |
// Table for logs
|
| 45 |
$wpdb->download_log = $wpdb->prefix . 'download_log';
|
includes/admin/class-dlm-admin-writepanels.php
CHANGED
|
@@ -414,7 +414,7 @@ class DLM_Admin_Writepanels {
|
|
| 414 |
|
| 415 |
$file_id = absint( $downloadable_file_id[ $i ] );
|
| 416 |
$file_menu_order = absint( $downloadable_file_menu_order[ $i ] );
|
| 417 |
-
$file_version = sanitize_text_field( $downloadable_file_version[ $i ] );
|
| 418 |
$file_date_hour = absint( $downloadable_file_date_hour[ $i ] );
|
| 419 |
$file_date_minute = absint( $downloadable_file_date_minute[ $i ] );
|
| 420 |
$file_date = sanitize_text_field( $downloadable_file_date[ $i ] );
|
| 414 |
|
| 415 |
$file_id = absint( $downloadable_file_id[ $i ] );
|
| 416 |
$file_menu_order = absint( $downloadable_file_menu_order[ $i ] );
|
| 417 |
+
$file_version = strtolower( sanitize_text_field( $downloadable_file_version[ $i ] ) );
|
| 418 |
$file_date_hour = absint( $downloadable_file_date_hour[ $i ] );
|
| 419 |
$file_date_minute = absint( $downloadable_file_date_minute[ $i ] );
|
| 420 |
$file_date = sanitize_text_field( $downloadable_file_date[ $i ] );
|
includes/admin/class-dlm-admin.php
CHANGED
|
@@ -183,8 +183,28 @@ class DLM_Admin {
|
|
| 183 |
* @access public
|
| 184 |
* @return void
|
| 185 |
*/
|
| 186 |
-
public function admin_enqueue_scripts() {
|
| 187 |
-
global $download_monitor;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 188 |
|
| 189 |
wp_enqueue_script( 'jquery-blockui', $download_monitor->plugin_url() . '/assets/js/blockui.min.js', '2.61', array( 'jquery' ) );
|
| 190 |
wp_enqueue_script( 'jquery-ui-sortable' );
|
|
@@ -225,8 +245,8 @@ class DLM_Admin {
|
|
| 225 |
|
| 226 |
<h2 class="nav-tab-wrapper">
|
| 227 |
<?php
|
| 228 |
-
foreach ( $this->settings as $section ) {
|
| 229 |
-
echo '<a href="#settings-' . sanitize_title( $
|
| 230 |
}
|
| 231 |
?>
|
| 232 |
</h2><br/>
|
|
@@ -237,9 +257,9 @@ class DLM_Admin {
|
|
| 237 |
echo '<div class="updated fade"><p>' . __( 'Settings successfully saved', 'download_monitor' ) . '</p></div>';
|
| 238 |
}
|
| 239 |
|
| 240 |
-
foreach ( $this->settings as $section ) {
|
| 241 |
|
| 242 |
-
echo '<div id="settings-' . sanitize_title( $
|
| 243 |
|
| 244 |
echo '<table class="form-table">';
|
| 245 |
|
| 183 |
* @access public
|
| 184 |
* @return void
|
| 185 |
*/
|
| 186 |
+
public function admin_enqueue_scripts( $hook ) {
|
| 187 |
+
global $download_monitor, $post;
|
| 188 |
+
|
| 189 |
+
wp_enqueue_style( 'download_monitor_menu_css', $download_monitor->plugin_url() . '/assets/css/menu.css' );
|
| 190 |
+
|
| 191 |
+
if ( $hook == 'index.php' )
|
| 192 |
+
wp_enqueue_style( 'download_monitor_dashboard_css', $download_monitor->plugin_url() . '/assets/css/dashboard.css' );
|
| 193 |
+
|
| 194 |
+
$enqueue = false;
|
| 195 |
+
|
| 196 |
+
if ( $hook == 'post-new.php' || $hook == 'post.php' || $hook == 'edit.php' )
|
| 197 |
+
if ( 'dlm_download' === $post->post_type )
|
| 198 |
+
$enqueue = true;
|
| 199 |
+
|
| 200 |
+
if ( strstr( $hook, 'dlm_download_page' ) )
|
| 201 |
+
$enqueue = true;
|
| 202 |
+
|
| 203 |
+
if ( $hook == 'edit-tags.php' && strstr( $_GET['taxonomy'], 'dlm_download' ) )
|
| 204 |
+
$enqueue = true;
|
| 205 |
+
|
| 206 |
+
if ( ! $enqueue )
|
| 207 |
+
return;
|
| 208 |
|
| 209 |
wp_enqueue_script( 'jquery-blockui', $download_monitor->plugin_url() . '/assets/js/blockui.min.js', '2.61', array( 'jquery' ) );
|
| 210 |
wp_enqueue_script( 'jquery-ui-sortable' );
|
| 245 |
|
| 246 |
<h2 class="nav-tab-wrapper">
|
| 247 |
<?php
|
| 248 |
+
foreach ( $this->settings as $key => $section ) {
|
| 249 |
+
echo '<a href="#settings-' . sanitize_title( $key ) . '" class="nav-tab">' . esc_html( $section[0] ) . '</a>';
|
| 250 |
}
|
| 251 |
?>
|
| 252 |
</h2><br/>
|
| 257 |
echo '<div class="updated fade"><p>' . __( 'Settings successfully saved', 'download_monitor' ) . '</p></div>';
|
| 258 |
}
|
| 259 |
|
| 260 |
+
foreach ( $this->settings as $key => $section ) {
|
| 261 |
|
| 262 |
+
echo '<div id="settings-' . sanitize_title( $key ) . '" class="settings_panel">';
|
| 263 |
|
| 264 |
echo '<table class="form-table">';
|
| 265 |
|
includes/class-dlm-download-version.php
CHANGED
|
@@ -20,7 +20,7 @@ class DLM_Download_Version {
|
|
| 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 = 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 |
|
| 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 |
|
includes/class-dlm-download.php
CHANGED
|
@@ -389,7 +389,7 @@ class DLM_Download {
|
|
| 389 |
$versions = $this->get_file_versions();
|
| 390 |
|
| 391 |
foreach ( $versions as $version_id => $version )
|
| 392 |
-
if ( version_compare( $version->version, $version_string, '=' ) )
|
| 393 |
return $version_id;
|
| 394 |
}
|
| 395 |
|
| 389 |
$versions = $this->get_file_versions();
|
| 390 |
|
| 391 |
foreach ( $versions as $version_id => $version )
|
| 392 |
+
if ( version_compare( $version->version, strtolower( $version_string ), '=' ) )
|
| 393 |
return $version_id;
|
| 394 |
}
|
| 395 |
|
languages/download_monitor-ja.mo
ADDED
|
Binary file
|
languages/download_monitor-ja.po
ADDED
|
@@ -0,0 +1,830 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
msgid ""
|
| 2 |
+
msgstr ""
|
| 3 |
+
"Project-Id-Version: Download Monitor v1.0.2\n"
|
| 4 |
+
"Report-Msgid-Bugs-To: \n"
|
| 5 |
+
"POT-Creation-Date: \n"
|
| 6 |
+
"PO-Revision-Date: 2013-07-12 22:54+0900\n"
|
| 7 |
+
"Last-Translator: hide92795 <hide92795@gmail.com>\n"
|
| 8 |
+
"Language-Team: hide92795 <hide92795@gmail.com>\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-SourceCharset: UTF-8\n"
|
| 14 |
+
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
|
| 15 |
+
"_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
|
| 16 |
+
"X-Textdomain-Support: yes\n"
|
| 17 |
+
"Language: ja\n"
|
| 18 |
+
"X-Poedit-Basepath: .\n"
|
| 19 |
+
"Plural-Forms: nplurals=2; plural=n == 1 ? 0 : 1;\n"
|
| 20 |
+
"X-Poedit-SearchPath-0: .\n"
|
| 21 |
+
|
| 22 |
+
#: download-monitor.php:90 includes/admin/class-dlm-admin.php:206
|
| 23 |
+
msgid "Settings"
|
| 24 |
+
msgstr "設定"
|
| 25 |
+
|
| 26 |
+
#: download-monitor.php:91
|
| 27 |
+
msgid "Add-ons"
|
| 28 |
+
msgstr "アドオン"
|
| 29 |
+
|
| 30 |
+
#: download-monitor.php:92
|
| 31 |
+
msgid "Docs"
|
| 32 |
+
msgstr "ドキュメント"
|
| 33 |
+
|
| 34 |
+
#: download-monitor.php:240 download-monitor.php:242
|
| 35 |
+
#: includes/admin/class-dlm-admin-cpt.php:174
|
| 36 |
+
msgid "Categories"
|
| 37 |
+
msgstr "カテゴリ"
|
| 38 |
+
|
| 39 |
+
#: download-monitor.php:243
|
| 40 |
+
msgid "Download Category"
|
| 41 |
+
msgstr "ダウンロードカテゴリ"
|
| 42 |
+
|
| 43 |
+
#: download-monitor.php:244
|
| 44 |
+
msgid "Search Download Categories"
|
| 45 |
+
msgstr "ダウンロードカテゴリを検索"
|
| 46 |
+
|
| 47 |
+
#: download-monitor.php:245
|
| 48 |
+
msgid "All Download Categories"
|
| 49 |
+
msgstr "全てのダウンロードカテゴリ"
|
| 50 |
+
|
| 51 |
+
#: download-monitor.php:246
|
| 52 |
+
msgid "Parent Download Category"
|
| 53 |
+
msgstr "親のダウンロードカテゴリ"
|
| 54 |
+
|
| 55 |
+
#: download-monitor.php:247
|
| 56 |
+
msgid "Parent Download Category:"
|
| 57 |
+
msgstr "親のダウンロードカテゴリ:"
|
| 58 |
+
|
| 59 |
+
#: download-monitor.php:248
|
| 60 |
+
msgid "Edit Download Category"
|
| 61 |
+
msgstr "ダウンロードカテゴリを編集"
|
| 62 |
+
|
| 63 |
+
#: download-monitor.php:249
|
| 64 |
+
msgid "Update Download Category"
|
| 65 |
+
msgstr "ダウンロードカテゴリを更新"
|
| 66 |
+
|
| 67 |
+
#: download-monitor.php:250
|
| 68 |
+
msgid "Add New Download Category"
|
| 69 |
+
msgstr "新しいダウンロードカテゴリを追加"
|
| 70 |
+
|
| 71 |
+
#: download-monitor.php:251
|
| 72 |
+
msgid "New Download Category Name"
|
| 73 |
+
msgstr "新しいダウンロードカテゴリの名前"
|
| 74 |
+
|
| 75 |
+
#: download-monitor.php:269 download-monitor.php:271
|
| 76 |
+
#: includes/admin/class-dlm-admin-cpt.php:175
|
| 77 |
+
msgid "Tags"
|
| 78 |
+
msgstr "タグ"
|
| 79 |
+
|
| 80 |
+
#: download-monitor.php:272
|
| 81 |
+
msgid "Download Tag"
|
| 82 |
+
msgstr "ダウンロードタグ"
|
| 83 |
+
|
| 84 |
+
#: download-monitor.php:273
|
| 85 |
+
msgid "Search Download Tags"
|
| 86 |
+
msgstr "ダウンロードタグを検索"
|
| 87 |
+
|
| 88 |
+
#: download-monitor.php:274
|
| 89 |
+
msgid "All Download Tags"
|
| 90 |
+
msgstr "全てのダウンロードタグ"
|
| 91 |
+
|
| 92 |
+
#: download-monitor.php:275
|
| 93 |
+
msgid "Parent Download Tag"
|
| 94 |
+
msgstr "親のダウンロードタグ"
|
| 95 |
+
|
| 96 |
+
#: download-monitor.php:276
|
| 97 |
+
msgid "Parent Download Tag:"
|
| 98 |
+
msgstr "親のダウンロードタグ:"
|
| 99 |
+
|
| 100 |
+
#: download-monitor.php:277
|
| 101 |
+
msgid "Edit Download Tag"
|
| 102 |
+
msgstr "ダウンロードタグを編集"
|
| 103 |
+
|
| 104 |
+
#: download-monitor.php:278
|
| 105 |
+
msgid "Update Download Tag"
|
| 106 |
+
msgstr "ダウンロードタグを更新"
|
| 107 |
+
|
| 108 |
+
#: download-monitor.php:279
|
| 109 |
+
msgid "Add New Download Tag"
|
| 110 |
+
msgstr "新しいダウンロードタグを追加"
|
| 111 |
+
|
| 112 |
+
#: download-monitor.php:280
|
| 113 |
+
msgid "New Download Tag Name"
|
| 114 |
+
msgstr "新しいダウンロードタグの名前"
|
| 115 |
+
|
| 116 |
+
#: download-monitor.php:300
|
| 117 |
+
msgid "Downloads"
|
| 118 |
+
msgstr "ダウンロード"
|
| 119 |
+
|
| 120 |
+
#: download-monitor.php:301 includes/admin/class-dlm-admin-dashboard.php:67
|
| 121 |
+
#: includes/admin/class-dlm-logging-list-table.php:116
|
| 122 |
+
msgid "Download"
|
| 123 |
+
msgstr "ダウンロード"
|
| 124 |
+
|
| 125 |
+
#: download-monitor.php:302
|
| 126 |
+
msgid "Add New"
|
| 127 |
+
msgstr "新規作成"
|
| 128 |
+
|
| 129 |
+
#: download-monitor.php:303
|
| 130 |
+
msgid "Add Download"
|
| 131 |
+
msgstr "ダウンロードを追加"
|
| 132 |
+
|
| 133 |
+
#: download-monitor.php:304
|
| 134 |
+
msgid "Edit"
|
| 135 |
+
msgstr "編集"
|
| 136 |
+
|
| 137 |
+
#: download-monitor.php:305
|
| 138 |
+
msgid "Edit Download"
|
| 139 |
+
msgstr "ダウンロードを編集"
|
| 140 |
+
|
| 141 |
+
#: download-monitor.php:306
|
| 142 |
+
msgid "New Download"
|
| 143 |
+
msgstr "新しいダウンロード"
|
| 144 |
+
|
| 145 |
+
#: download-monitor.php:307 download-monitor.php:308
|
| 146 |
+
msgid "View Download"
|
| 147 |
+
msgstr "ダウンロードを表示"
|
| 148 |
+
|
| 149 |
+
#: download-monitor.php:309
|
| 150 |
+
msgid "Search Downloads"
|
| 151 |
+
msgstr "ダウンロードを検索"
|
| 152 |
+
|
| 153 |
+
#: download-monitor.php:310
|
| 154 |
+
msgid "No Downloads found"
|
| 155 |
+
msgstr "ダウンロードはありません。"
|
| 156 |
+
|
| 157 |
+
#: download-monitor.php:311
|
| 158 |
+
msgid "No Downloads found in trash"
|
| 159 |
+
msgstr "ゴミ箱にダウンロードはありません。"
|
| 160 |
+
|
| 161 |
+
#: download-monitor.php:312
|
| 162 |
+
msgid "Parent Download"
|
| 163 |
+
msgstr "親のダウンロード"
|
| 164 |
+
|
| 165 |
+
#: download-monitor.php:314
|
| 166 |
+
msgid "This is where you can create and manage downloads for your site."
|
| 167 |
+
msgstr "あなたのサイトのためのダウンロードの作成及び管理ができます。"
|
| 168 |
+
|
| 169 |
+
#: includes/admin/class-dlm-admin-cpt.php:64
|
| 170 |
+
msgid "Select a category"
|
| 171 |
+
msgstr "カテゴリを選択"
|
| 172 |
+
|
| 173 |
+
#: includes/admin/class-dlm-admin-cpt.php:124
|
| 174 |
+
msgid "Download title"
|
| 175 |
+
msgstr "タイトル"
|
| 176 |
+
|
| 177 |
+
#: includes/admin/class-dlm-admin-cpt.php:140
|
| 178 |
+
#: includes/admin/class-dlm-admin-cpt.php:143
|
| 179 |
+
msgid "Download updated."
|
| 180 |
+
msgstr "ダウンロードを更新しました。"
|
| 181 |
+
|
| 182 |
+
#: includes/admin/class-dlm-admin-cpt.php:141
|
| 183 |
+
msgid "Custom field updated."
|
| 184 |
+
msgstr "カスタムフィールドを更新しました。"
|
| 185 |
+
|
| 186 |
+
#: includes/admin/class-dlm-admin-cpt.php:142
|
| 187 |
+
msgid "Custom field deleted."
|
| 188 |
+
msgstr "カスタムフィールドを削除しました。"
|
| 189 |
+
|
| 190 |
+
#: includes/admin/class-dlm-admin-cpt.php:144
|
| 191 |
+
#, php-format
|
| 192 |
+
msgid "Download restored to revision from %s"
|
| 193 |
+
msgstr "リビジョン %s へダウンロードを復元しました。"
|
| 194 |
+
|
| 195 |
+
#: includes/admin/class-dlm-admin-cpt.php:145
|
| 196 |
+
msgid "Download published."
|
| 197 |
+
msgstr "ダウンロードを共有しました。"
|
| 198 |
+
|
| 199 |
+
#: includes/admin/class-dlm-admin-cpt.php:146
|
| 200 |
+
msgid "Download saved."
|
| 201 |
+
msgstr "ダウンロードを保存しました。"
|
| 202 |
+
|
| 203 |
+
#: includes/admin/class-dlm-admin-cpt.php:147
|
| 204 |
+
msgid "Download submitted."
|
| 205 |
+
msgstr "ダウンロードを投稿しました。"
|
| 206 |
+
|
| 207 |
+
#: includes/admin/class-dlm-admin-cpt.php:148
|
| 208 |
+
#, php-format
|
| 209 |
+
msgid "Download scheduled for: <strong>%1$s</strong>."
|
| 210 |
+
msgstr "ダウンロードスケジュール: <strong>%1$s</strong>."
|
| 211 |
+
|
| 212 |
+
#: includes/admin/class-dlm-admin-cpt.php:149
|
| 213 |
+
msgid "M j, Y @ G:i"
|
| 214 |
+
msgstr "j F Y @ G:i"
|
| 215 |
+
|
| 216 |
+
#: includes/admin/class-dlm-admin-cpt.php:150
|
| 217 |
+
msgid "Download draft updated."
|
| 218 |
+
msgstr "ダウンロード案を更新しました。"
|
| 219 |
+
|
| 220 |
+
#: includes/admin/class-dlm-admin-cpt.php:169
|
| 221 |
+
msgid "Image"
|
| 222 |
+
msgstr "画像"
|
| 223 |
+
|
| 224 |
+
#: includes/admin/class-dlm-admin-cpt.php:170
|
| 225 |
+
#: includes/widgets/class-dlm-widget-downloads.php:171
|
| 226 |
+
msgid "Title"
|
| 227 |
+
msgstr "タイトル"
|
| 228 |
+
|
| 229 |
+
#: includes/admin/class-dlm-admin-cpt.php:171
|
| 230 |
+
#: includes/widgets/class-dlm-widget-downloads.php:173
|
| 231 |
+
msgid "ID"
|
| 232 |
+
msgstr "ID"
|
| 233 |
+
|
| 234 |
+
#: includes/admin/class-dlm-admin-cpt.php:172
|
| 235 |
+
#: includes/admin/class-dlm-logging-list-table.php:117
|
| 236 |
+
msgid "File"
|
| 237 |
+
msgstr "ファイル"
|
| 238 |
+
|
| 239 |
+
#: includes/admin/class-dlm-admin-cpt.php:173
|
| 240 |
+
#: includes/admin/class-dlm-admin-insert.php:211
|
| 241 |
+
#: includes/admin/html-downloadable-file-version.php:13
|
| 242 |
+
msgid "Version"
|
| 243 |
+
msgstr "バージョン"
|
| 244 |
+
|
| 245 |
+
#: includes/admin/class-dlm-admin-cpt.php:177
|
| 246 |
+
msgid "download_count"
|
| 247 |
+
msgstr "download_count"
|
| 248 |
+
|
| 249 |
+
#: includes/admin/class-dlm-admin-cpt.php:178
|
| 250 |
+
msgid "Featured"
|
| 251 |
+
msgstr "注目"
|
| 252 |
+
|
| 253 |
+
#: includes/admin/class-dlm-admin-cpt.php:179
|
| 254 |
+
#: includes/admin/class-dlm-admin-writepanels.php:63
|
| 255 |
+
msgid "Members only"
|
| 256 |
+
msgstr "メンバーズオンリー"
|
| 257 |
+
|
| 258 |
+
#: includes/admin/class-dlm-admin-cpt.php:181
|
| 259 |
+
msgid "Date posted"
|
| 260 |
+
msgstr "投稿日時"
|
| 261 |
+
|
| 262 |
+
#: includes/admin/class-dlm-admin-dashboard.php:21
|
| 263 |
+
msgid "Popular Downloads"
|
| 264 |
+
msgstr "トップダウンロード"
|
| 265 |
+
|
| 266 |
+
#: includes/admin/class-dlm-admin-dashboard.php:53
|
| 267 |
+
msgid "There are no stats available yet!"
|
| 268 |
+
msgstr "まだ統計がありません!"
|
| 269 |
+
|
| 270 |
+
#: includes/admin/class-dlm-admin-dashboard.php:68
|
| 271 |
+
#: includes/admin/html-downloadable-file-version.php:29
|
| 272 |
+
#: includes/widgets/class-dlm-widget-downloads.php:176
|
| 273 |
+
msgid "Download count"
|
| 274 |
+
msgstr "ダウンロードカウント"
|
| 275 |
+
|
| 276 |
+
#: includes/admin/class-dlm-admin-insert.php:32
|
| 277 |
+
#: includes/admin/class-dlm-admin-insert.php:40
|
| 278 |
+
#: includes/admin/class-dlm-admin-insert.php:71
|
| 279 |
+
msgid "Insert Download"
|
| 280 |
+
msgstr "ダウンロードを挿入"
|
| 281 |
+
|
| 282 |
+
#: includes/admin/class-dlm-admin-insert.php:81
|
| 283 |
+
#: includes/admin/class-dlm-admin-insert.php:182
|
| 284 |
+
msgid "Insert Shortcode"
|
| 285 |
+
msgstr "ショートコードを挿入"
|
| 286 |
+
|
| 287 |
+
#: includes/admin/class-dlm-admin-insert.php:81
|
| 288 |
+
msgid "Quick-add download"
|
| 289 |
+
msgstr "ダウンロードを即時挿入"
|
| 290 |
+
|
| 291 |
+
#: includes/admin/class-dlm-admin-insert.php:124
|
| 292 |
+
msgid "Error: File was not created."
|
| 293 |
+
msgstr "エラー:ファイルが作成されませんでした。"
|
| 294 |
+
|
| 295 |
+
#: includes/admin/class-dlm-admin-insert.php:143
|
| 296 |
+
msgid "Download successfully created."
|
| 297 |
+
msgstr "ダウンロードが作成されました。"
|
| 298 |
+
|
| 299 |
+
#: includes/admin/class-dlm-admin-insert.php:145
|
| 300 |
+
msgid "Error: Download was not created."
|
| 301 |
+
msgstr "エラー:ダウンロードは作成されていません。"
|
| 302 |
+
|
| 303 |
+
#: includes/admin/class-dlm-admin-insert.php:163
|
| 304 |
+
msgid "Choose a download"
|
| 305 |
+
msgstr "ダウンロードを選択"
|
| 306 |
+
|
| 307 |
+
#: includes/admin/class-dlm-admin-insert.php:175
|
| 308 |
+
msgid "Template"
|
| 309 |
+
msgstr "テンプレート"
|
| 310 |
+
|
| 311 |
+
#: includes/admin/class-dlm-admin-insert.php:176
|
| 312 |
+
msgid "Template Name"
|
| 313 |
+
msgstr "テンプレート名"
|
| 314 |
+
|
| 315 |
+
#: includes/admin/class-dlm-admin-insert.php:178
|
| 316 |
+
#: includes/admin/class-dlm-admin.php:94
|
| 317 |
+
msgid ""
|
| 318 |
+
"Leaving this blank will use the default <code>content-download.php</code> "
|
| 319 |
+
"template file. If you enter, for example, <code>image</code>, the "
|
| 320 |
+
"<code>content-download-image.php</code> template will be used instead."
|
| 321 |
+
msgstr ""
|
| 322 |
+
"空白にするとデフォルトのテンプレート <code>content-download.php</code> が使用"
|
| 323 |
+
"されます。例えば、<code>image</code>と入力すると、<code>content-download-"
|
| 324 |
+
"image.php</code>のテンプレートが使用されます。"
|
| 325 |
+
|
| 326 |
+
#: includes/admin/class-dlm-admin-insert.php:193
|
| 327 |
+
msgid "Drop file here"
|
| 328 |
+
msgstr "ファイルをここにドロップ"
|
| 329 |
+
|
| 330 |
+
#: includes/admin/class-dlm-admin-insert.php:194
|
| 331 |
+
#: includes/admin/class-dlm-admin-insert.php:196
|
| 332 |
+
msgid "or"
|
| 333 |
+
msgstr "もしくは"
|
| 334 |
+
|
| 335 |
+
#: includes/admin/class-dlm-admin-insert.php:195
|
| 336 |
+
msgid "Select File"
|
| 337 |
+
msgstr "ファイルを選択"
|
| 338 |
+
|
| 339 |
+
#: includes/admin/class-dlm-admin-insert.php:197
|
| 340 |
+
msgid "Enter URL manually"
|
| 341 |
+
msgstr "手動でURLを入力"
|
| 342 |
+
|
| 343 |
+
#: includes/admin/class-dlm-admin-insert.php:203
|
| 344 |
+
msgid "Download URL"
|
| 345 |
+
msgstr "ダウンロードURL"
|
| 346 |
+
|
| 347 |
+
#: includes/admin/class-dlm-admin-insert.php:204
|
| 348 |
+
msgid "Required URL"
|
| 349 |
+
msgstr "URLが必要です。"
|
| 350 |
+
|
| 351 |
+
#: includes/admin/class-dlm-admin-insert.php:207
|
| 352 |
+
msgid "Download Title"
|
| 353 |
+
msgstr "タイトル"
|
| 354 |
+
|
| 355 |
+
#: includes/admin/class-dlm-admin-insert.php:208
|
| 356 |
+
msgid "Required title"
|
| 357 |
+
msgstr "タイトルが必要です。"
|
| 358 |
+
|
| 359 |
+
#: includes/admin/class-dlm-admin-insert.php:212
|
| 360 |
+
msgid "Optional version number"
|
| 361 |
+
msgstr "任意のバージョン番号"
|
| 362 |
+
|
| 363 |
+
#: includes/admin/class-dlm-admin-insert.php:215
|
| 364 |
+
msgid "Save Download"
|
| 365 |
+
msgstr "ダウンロードを保存しました。"
|
| 366 |
+
|
| 367 |
+
#: includes/admin/class-dlm-admin-insert.php:273
|
| 368 |
+
msgid "Allowed Files"
|
| 369 |
+
msgstr "許可されたファイル"
|
| 370 |
+
|
| 371 |
+
#: includes/admin/class-dlm-admin-insert.php:323
|
| 372 |
+
msgid "Please wait..."
|
| 373 |
+
msgstr "お待ちください..."
|
| 374 |
+
|
| 375 |
+
#: includes/admin/class-dlm-admin-media-browser.php:31
|
| 376 |
+
#: includes/admin/class-dlm-admin-writepanels.php:245
|
| 377 |
+
msgid "Browse for a file"
|
| 378 |
+
msgstr "ファイルを参照"
|
| 379 |
+
|
| 380 |
+
#: includes/admin/class-dlm-admin-media-browser.php:100
|
| 381 |
+
msgid "No files found"
|
| 382 |
+
msgstr "ファイルが見つかりません。"
|
| 383 |
+
|
| 384 |
+
#: includes/admin/class-dlm-admin-writepanels.php:29
|
| 385 |
+
msgid "Download Options"
|
| 386 |
+
msgstr "ダウンロードオプション"
|
| 387 |
+
|
| 388 |
+
#: includes/admin/class-dlm-admin-writepanels.php:30
|
| 389 |
+
msgid "Downloadable File Versions"
|
| 390 |
+
msgstr "ダウンロード出来るファイルのバージョン"
|
| 391 |
+
|
| 392 |
+
#: includes/admin/class-dlm-admin-writepanels.php:35
|
| 393 |
+
msgid "Short Description"
|
| 394 |
+
msgstr "短い説明"
|
| 395 |
+
|
| 396 |
+
#: includes/admin/class-dlm-admin-writepanels.php:57
|
| 397 |
+
msgid "Featured download"
|
| 398 |
+
msgstr "注目のダウンロード"
|
| 399 |
+
|
| 400 |
+
#: includes/admin/class-dlm-admin-writepanels.php:58
|
| 401 |
+
msgid "Mark this download as featured. Used by shortcodes and widgets."
|
| 402 |
+
msgstr ""
|
| 403 |
+
"このダウンロードを注目としてマークすると、ショートコードとウィジェットが使わ"
|
| 404 |
+
"れます。"
|
| 405 |
+
|
| 406 |
+
#: includes/admin/class-dlm-admin-writepanels.php:64
|
| 407 |
+
msgid ""
|
| 408 |
+
"Only logged in users will be able to access the file via a download link if "
|
| 409 |
+
"this is enabled."
|
| 410 |
+
msgstr ""
|
| 411 |
+
"ユーザーがログインし、これが有効になっている場合のみ、ダウンロードリンクを介"
|
| 412 |
+
"してファイルにアクセスすることができるようになります。"
|
| 413 |
+
|
| 414 |
+
#: includes/admin/class-dlm-admin-writepanels.php:86
|
| 415 |
+
msgid "Add version"
|
| 416 |
+
msgstr "バージョンを追加"
|
| 417 |
+
|
| 418 |
+
#: includes/admin/class-dlm-admin-writepanels.php:87
|
| 419 |
+
msgid "Close all"
|
| 420 |
+
msgstr "すべて閉じる"
|
| 421 |
+
|
| 422 |
+
#: includes/admin/class-dlm-admin-writepanels.php:87
|
| 423 |
+
msgid "Expand all"
|
| 424 |
+
msgstr "すべて展開"
|
| 425 |
+
|
| 426 |
+
#: includes/admin/class-dlm-admin-writepanels.php:210
|
| 427 |
+
msgid "Are you sure you want to delete this file?"
|
| 428 |
+
msgstr "本当にこのファイルを削除しますか?"
|
| 429 |
+
|
| 430 |
+
#: includes/admin/class-dlm-admin.php:87
|
| 431 |
+
msgid "General"
|
| 432 |
+
msgstr "一般"
|
| 433 |
+
|
| 434 |
+
#: includes/admin/class-dlm-admin.php:93
|
| 435 |
+
msgid "Default Template"
|
| 436 |
+
msgstr "デフォルトテンプレート"
|
| 437 |
+
|
| 438 |
+
#: includes/admin/class-dlm-admin.php:94
|
| 439 |
+
msgid ""
|
| 440 |
+
"Choose which template is used for <code>[download]</code> shortcodes by "
|
| 441 |
+
"default (this can be overridden by the <code>format</code> argument)."
|
| 442 |
+
msgstr ""
|
| 443 |
+
"デフォルトの<code>[download]</code>ショートコードで使われるテンプレートを選択"
|
| 444 |
+
"肢てください。(この設定は <code>format</code> 引数で上書きできます。)"
|
| 445 |
+
|
| 446 |
+
#: includes/admin/class-dlm-admin.php:99
|
| 447 |
+
msgid "Endpoint"
|
| 448 |
+
msgstr "エンドポイント"
|
| 449 |
+
|
| 450 |
+
#: includes/admin/class-dlm-admin.php:104
|
| 451 |
+
msgid "download"
|
| 452 |
+
msgstr "download"
|
| 453 |
+
|
| 454 |
+
#: includes/admin/class-dlm-admin.php:105
|
| 455 |
+
msgid "Download Endpoint"
|
| 456 |
+
msgstr "ダウンロードエンドポイント"
|
| 457 |
+
|
| 458 |
+
#: includes/admin/class-dlm-admin.php:106
|
| 459 |
+
#, php-format
|
| 460 |
+
msgid ""
|
| 461 |
+
"Define what endpoint should be used for download links. By default this will "
|
| 462 |
+
"be <code>%s</code>."
|
| 463 |
+
msgstr ""
|
| 464 |
+
"どのエンドポイントがダウンロードリンクに使われるかを定義します。デフォルトで"
|
| 465 |
+
"は <code>%s</code> が使われます。"
|
| 466 |
+
|
| 467 |
+
#: includes/admin/class-dlm-admin.php:111
|
| 468 |
+
msgid "Endpoint Value"
|
| 469 |
+
msgstr "エンドポイント値"
|
| 470 |
+
|
| 471 |
+
#: includes/admin/class-dlm-admin.php:112
|
| 472 |
+
#, php-format
|
| 473 |
+
msgid ""
|
| 474 |
+
"Define what unique value should be used on the end of your endpoint to "
|
| 475 |
+
"identify the downloadable file. e.g. ID would give a link like <code>%s</"
|
| 476 |
+
"code>"
|
| 477 |
+
msgstr ""
|
| 478 |
+
"どの任意の値がダウンロード可能なファイルを識別するためにエンドポイントの最後"
|
| 479 |
+
"に使われるかを定義します。例えば、IDは <code>%s</code> のようなリンクを与えま"
|
| 480 |
+
"す。"
|
| 481 |
+
|
| 482 |
+
#: includes/admin/class-dlm-admin.php:115
|
| 483 |
+
#: includes/admin/class-dlm-admin.php:369
|
| 484 |
+
msgid "Download ID"
|
| 485 |
+
msgstr "ダウンロードID"
|
| 486 |
+
|
| 487 |
+
#: includes/admin/class-dlm-admin.php:116
|
| 488 |
+
msgid "Download slug"
|
| 489 |
+
msgstr "ダウンロードスラグ"
|
| 490 |
+
|
| 491 |
+
#: includes/admin/class-dlm-admin.php:122
|
| 492 |
+
msgid "X-Accel-Redirect / X-Sendfile"
|
| 493 |
+
msgstr "X-Accel-Redirect / X-Sendfile"
|
| 494 |
+
|
| 495 |
+
#: includes/admin/class-dlm-admin.php:123
|
| 496 |
+
#: includes/admin/class-dlm-admin.php:134
|
| 497 |
+
msgid "Enable"
|
| 498 |
+
msgstr "有効"
|
| 499 |
+
|
| 500 |
+
#: includes/admin/class-dlm-admin.php:124
|
| 501 |
+
msgid ""
|
| 502 |
+
"If supported, <code>X-Accel-Redirect</code> / <code>X-Sendfile</code> can be "
|
| 503 |
+
"used to serve downloads instead of PHP (server requires <code>mod_xsendfile</"
|
| 504 |
+
"code>)."
|
| 505 |
+
msgstr ""
|
| 506 |
+
"もし有効ならば、<code>X-Accel-Redirect</code> / <code>X-Sendfile</code> をPHP"
|
| 507 |
+
"の代わりにダウンロードサービスを使えます。(サーバー側での "
|
| 508 |
+
"<code>mod_xsendfile</code> の設定が必要です。)"
|
| 509 |
+
|
| 510 |
+
#: includes/admin/class-dlm-admin.php:130
|
| 511 |
+
msgid "Logging"
|
| 512 |
+
msgstr "ロギング"
|
| 513 |
+
|
| 514 |
+
#: includes/admin/class-dlm-admin.php:136
|
| 515 |
+
msgid "Download Log"
|
| 516 |
+
msgstr "ダウンロードログ"
|
| 517 |
+
|
| 518 |
+
#: includes/admin/class-dlm-admin.php:137
|
| 519 |
+
msgid "Log download attempts, IP addresses and more."
|
| 520 |
+
msgstr "ダウンロードを試みたIPアドレスなどを記録します。"
|
| 521 |
+
|
| 522 |
+
#: includes/admin/class-dlm-admin.php:143
|
| 523 |
+
msgid "Blacklist IPs"
|
| 524 |
+
msgstr "IPブラックリスト"
|
| 525 |
+
|
| 526 |
+
#: includes/admin/class-dlm-admin.php:144
|
| 527 |
+
msgid ""
|
| 528 |
+
"List IP Addresses to blacklist, 1 per line. Use <code>*</code> for a "
|
| 529 |
+
"wildcard."
|
| 530 |
+
msgstr ""
|
| 531 |
+
"リストにあるIPアドレスをブラックリストに指定します。1行に1つのIPを書いてく"
|
| 532 |
+
"ださい。<code>*</code> がワイルドカードとして使えます。"
|
| 533 |
+
|
| 534 |
+
#: includes/admin/class-dlm-admin.php:151
|
| 535 |
+
msgid "Blacklist user agents"
|
| 536 |
+
msgstr "ユーザーエージェントブラックリスト"
|
| 537 |
+
|
| 538 |
+
#: includes/admin/class-dlm-admin.php:152
|
| 539 |
+
msgid "List browser user agents to blacklist, 1 per line."
|
| 540 |
+
msgstr "リストにあるユーザーエージェントをブラックリストに指定します。"
|
| 541 |
+
|
| 542 |
+
#: includes/admin/class-dlm-admin.php:204
|
| 543 |
+
msgid "Logs"
|
| 544 |
+
msgstr "ログ"
|
| 545 |
+
|
| 546 |
+
#: includes/admin/class-dlm-admin.php:237
|
| 547 |
+
msgid "Settings successfully saved"
|
| 548 |
+
msgstr "設定を保存しました。"
|
| 549 |
+
|
| 550 |
+
#: includes/admin/class-dlm-admin.php:304
|
| 551 |
+
msgid "Save Changes"
|
| 552 |
+
msgstr "設定を保存"
|
| 553 |
+
|
| 554 |
+
#: includes/admin/class-dlm-admin.php:341
|
| 555 |
+
msgid "Download Logs"
|
| 556 |
+
msgstr "ダウンロードログ"
|
| 557 |
+
|
| 558 |
+
#: includes/admin/class-dlm-admin.php:341
|
| 559 |
+
msgid "Export CSV"
|
| 560 |
+
msgstr "CSVで出力"
|
| 561 |
+
|
| 562 |
+
#: includes/admin/class-dlm-admin.php:370
|
| 563 |
+
msgid "Version ID"
|
| 564 |
+
msgstr "バージョンID"
|
| 565 |
+
|
| 566 |
+
#: includes/admin/class-dlm-admin.php:371
|
| 567 |
+
msgid "User ID"
|
| 568 |
+
msgstr "ユーザーID"
|
| 569 |
+
|
| 570 |
+
#: includes/admin/class-dlm-admin.php:372
|
| 571 |
+
msgid "User IP"
|
| 572 |
+
msgstr "IPアドレス"
|
| 573 |
+
|
| 574 |
+
#: includes/admin/class-dlm-admin.php:373
|
| 575 |
+
#: includes/admin/class-dlm-logging-list-table.php:120
|
| 576 |
+
msgid "User Agent"
|
| 577 |
+
msgstr "ユーザーエージェント"
|
| 578 |
+
|
| 579 |
+
#: includes/admin/class-dlm-admin.php:374
|
| 580 |
+
#: includes/admin/class-dlm-logging-list-table.php:121
|
| 581 |
+
msgid "Date"
|
| 582 |
+
msgstr "日時"
|
| 583 |
+
|
| 584 |
+
#: includes/admin/class-dlm-admin.php:375
|
| 585 |
+
msgid "Status"
|
| 586 |
+
msgstr "ステータス"
|
| 587 |
+
|
| 588 |
+
#: includes/admin/class-dlm-logging-list-table.php:43
|
| 589 |
+
msgid "Download Complete"
|
| 590 |
+
msgstr "ダウンロードしました。"
|
| 591 |
+
|
| 592 |
+
#: includes/admin/class-dlm-logging-list-table.php:50
|
| 593 |
+
#, php-format
|
| 594 |
+
msgid "%s ago"
|
| 595 |
+
msgstr "%s 前"
|
| 596 |
+
|
| 597 |
+
#: includes/admin/class-dlm-logging-list-table.php:57
|
| 598 |
+
#, php-format
|
| 599 |
+
msgid "Download #%d (no longer exists)"
|
| 600 |
+
msgstr "#%d をダウンロード (存在しません)"
|
| 601 |
+
|
| 602 |
+
#: includes/admin/class-dlm-logging-list-table.php:65
|
| 603 |
+
#, php-format
|
| 604 |
+
msgid "v%s"
|
| 605 |
+
msgstr "v%s"
|
| 606 |
+
|
| 607 |
+
#: includes/admin/class-dlm-logging-list-table.php:85
|
| 608 |
+
msgid "Non-member"
|
| 609 |
+
msgstr "非メンバー"
|
| 610 |
+
|
| 611 |
+
#: includes/admin/class-dlm-logging-list-table.php:118
|
| 612 |
+
msgid "User"
|
| 613 |
+
msgstr "ユーザー"
|
| 614 |
+
|
| 615 |
+
#: includes/admin/class-dlm-logging-list-table.php:119
|
| 616 |
+
msgid "IP Address"
|
| 617 |
+
msgstr "IPアドレス"
|
| 618 |
+
|
| 619 |
+
#: includes/admin/html-downloadable-file-version.php:3
|
| 620 |
+
msgid "Remove"
|
| 621 |
+
msgstr "削除"
|
| 622 |
+
|
| 623 |
+
#: includes/admin/html-downloadable-file-version.php:4
|
| 624 |
+
msgid "Click to toggle"
|
| 625 |
+
msgstr "切り替えるにはクリック"
|
| 626 |
+
|
| 627 |
+
#: includes/admin/html-downloadable-file-version.php:5
|
| 628 |
+
#, php-format
|
| 629 |
+
msgid "Version <span class=\"version\">%s</span> (%s)"
|
| 630 |
+
msgstr "Version <span class=\"version\">%s</span> (%s)"
|
| 631 |
+
|
| 632 |
+
#: includes/admin/html-downloadable-file-version.php:5
|
| 633 |
+
#: includes/admin/html-downloadable-file-version.php:14
|
| 634 |
+
msgid "n/a"
|
| 635 |
+
msgstr "n/a"
|
| 636 |
+
|
| 637 |
+
#: includes/admin/html-downloadable-file-version.php:5
|
| 638 |
+
#, php-format
|
| 639 |
+
msgid "Downloaded %s time"
|
| 640 |
+
msgid_plural "Downloaded %s times"
|
| 641 |
+
msgstr[0] "%sダウンロード"
|
| 642 |
+
msgstr[1] "%sダウンロード"
|
| 643 |
+
|
| 644 |
+
#: includes/admin/html-downloadable-file-version.php:18
|
| 645 |
+
msgid "File URL(s)"
|
| 646 |
+
msgstr "ファイルのURL"
|
| 647 |
+
|
| 648 |
+
#: includes/admin/html-downloadable-file-version.php:19
|
| 649 |
+
msgid ""
|
| 650 |
+
"Enter one file path/URL per line - multiple files will be used as mirrors "
|
| 651 |
+
"(chosen at random)."
|
| 652 |
+
msgstr ""
|
| 653 |
+
"1行に1つのファイルパス、もしくはURLを入力してください。複数ファイルがある場"
|
| 654 |
+
"合はミラーとして使われます。(ランダムで選択)"
|
| 655 |
+
|
| 656 |
+
#: includes/admin/html-downloadable-file-version.php:21
|
| 657 |
+
msgid "Choose a file"
|
| 658 |
+
msgstr "ファイルを選択"
|
| 659 |
+
|
| 660 |
+
#: includes/admin/html-downloadable-file-version.php:21
|
| 661 |
+
msgid "Insert file URL"
|
| 662 |
+
msgstr "URLを挿入"
|
| 663 |
+
|
| 664 |
+
#: includes/admin/html-downloadable-file-version.php:21
|
| 665 |
+
msgid "Upload file"
|
| 666 |
+
msgstr "ファイルをアップロード"
|
| 667 |
+
|
| 668 |
+
#: includes/admin/html-downloadable-file-version.php:22
|
| 669 |
+
msgid "Browse for file"
|
| 670 |
+
msgstr "ファイルを参照"
|
| 671 |
+
|
| 672 |
+
#: includes/admin/html-downloadable-file-version.php:35
|
| 673 |
+
msgid "File Date"
|
| 674 |
+
msgstr "ファイル日時"
|
| 675 |
+
|
| 676 |
+
#: includes/admin/html-downloadable-file-version.php:36
|
| 677 |
+
msgid "h"
|
| 678 |
+
msgstr "時"
|
| 679 |
+
|
| 680 |
+
#: includes/admin/html-downloadable-file-version.php:36
|
| 681 |
+
msgid "m"
|
| 682 |
+
msgstr "分"
|
| 683 |
+
|
| 684 |
+
#: includes/class-dlm-download-handler.php:121
|
| 685 |
+
msgid "Download does not exist."
|
| 686 |
+
msgstr "ダウンロードが存在しません。"
|
| 687 |
+
|
| 688 |
+
#: includes/class-dlm-download-handler.php:121
|
| 689 |
+
#: includes/class-dlm-download-handler.php:140
|
| 690 |
+
#: includes/class-dlm-download-handler.php:145
|
| 691 |
+
#: includes/class-dlm-download-handler.php:154
|
| 692 |
+
#: includes/class-dlm-download-handler.php:286
|
| 693 |
+
msgid "Go to homepage →"
|
| 694 |
+
msgstr "&rarr のホームページへ行きます。"
|
| 695 |
+
|
| 696 |
+
#: includes/class-dlm-download-handler.php:121
|
| 697 |
+
#: includes/class-dlm-download-handler.php:140
|
| 698 |
+
#: includes/class-dlm-download-handler.php:145
|
| 699 |
+
#: includes/class-dlm-download-handler.php:154
|
| 700 |
+
#: includes/class-dlm-download-handler.php:286
|
| 701 |
+
msgid "Download Error"
|
| 702 |
+
msgstr "ダウンロードエラー"
|
| 703 |
+
|
| 704 |
+
#: includes/class-dlm-download-handler.php:140
|
| 705 |
+
#: includes/class-dlm-download-handler.php:145
|
| 706 |
+
msgid "No file paths defined."
|
| 707 |
+
msgstr "ファイルパスが指定されていません。"
|
| 708 |
+
|
| 709 |
+
#: includes/class-dlm-download-handler.php:154
|
| 710 |
+
msgid "You do not have permission to access this download."
|
| 711 |
+
msgstr "このダウンロードへのアクセスする権限を持っていません。"
|
| 712 |
+
|
| 713 |
+
#: includes/class-dlm-download-handler.php:168
|
| 714 |
+
#: includes/class-dlm-download-handler.php:252
|
| 715 |
+
#: includes/class-dlm-download-handler.php:258
|
| 716 |
+
#: includes/class-dlm-download-handler.php:264
|
| 717 |
+
msgid "Redirected to file"
|
| 718 |
+
msgstr "ファイルへリダイレクトします。"
|
| 719 |
+
|
| 720 |
+
#: includes/class-dlm-download-handler.php:279
|
| 721 |
+
msgid "Redirected to remote file."
|
| 722 |
+
msgstr "外部ファイルへリダイレクトします。"
|
| 723 |
+
|
| 724 |
+
#: includes/class-dlm-download-handler.php:284
|
| 725 |
+
msgid "File not found"
|
| 726 |
+
msgstr "ファイルが見つかりません"
|
| 727 |
+
|
| 728 |
+
#: includes/class-dlm-download-handler.php:286
|
| 729 |
+
msgid "File not found."
|
| 730 |
+
msgstr "ファイルが見つかりません。"
|
| 731 |
+
|
| 732 |
+
#: includes/class-dlm-shortcodes.php:102
|
| 733 |
+
msgid "Download not found"
|
| 734 |
+
msgstr "ダウンロードが見つかりません"
|
| 735 |
+
|
| 736 |
+
#: includes/widgets/class-dlm-widget-downloads.php:27
|
| 737 |
+
msgid "Display a list of your downloads."
|
| 738 |
+
msgstr "ダウンロードリストを表示します。"
|
| 739 |
+
|
| 740 |
+
#: includes/widgets/class-dlm-widget-downloads.php:29
|
| 741 |
+
msgid "Downloads List"
|
| 742 |
+
msgstr "ダウンロードリスト"
|
| 743 |
+
|
| 744 |
+
#: includes/widgets/class-dlm-widget-downloads.php:52
|
| 745 |
+
#: includes/widgets/class-dlm-widget-downloads.php:148
|
| 746 |
+
msgid "Featured Downloads"
|
| 747 |
+
msgstr "注目のダウンロード"
|
| 748 |
+
|
| 749 |
+
#: includes/widgets/class-dlm-widget-downloads.php:157
|
| 750 |
+
msgid "Title:"
|
| 751 |
+
msgstr "タイトル:"
|
| 752 |
+
|
| 753 |
+
#: includes/widgets/class-dlm-widget-downloads.php:161
|
| 754 |
+
msgid "Limit:"
|
| 755 |
+
msgstr "制限:"
|
| 756 |
+
|
| 757 |
+
#: includes/widgets/class-dlm-widget-downloads.php:165
|
| 758 |
+
msgid "Output template:"
|
| 759 |
+
msgstr "出力テンプレート:"
|
| 760 |
+
|
| 761 |
+
#: includes/widgets/class-dlm-widget-downloads.php:166
|
| 762 |
+
msgid "Default template"
|
| 763 |
+
msgstr "デフォルトテンプレート"
|
| 764 |
+
|
| 765 |
+
#: includes/widgets/class-dlm-widget-downloads.php:169
|
| 766 |
+
msgid "Order by:"
|
| 767 |
+
msgstr "表示順序:"
|
| 768 |
+
|
| 769 |
+
#: includes/widgets/class-dlm-widget-downloads.php:172
|
| 770 |
+
msgid "Random"
|
| 771 |
+
msgstr "ランダム"
|
| 772 |
+
|
| 773 |
+
#: includes/widgets/class-dlm-widget-downloads.php:174
|
| 774 |
+
msgid "Date added"
|
| 775 |
+
msgstr "追加日時"
|
| 776 |
+
|
| 777 |
+
#: includes/widgets/class-dlm-widget-downloads.php:175
|
| 778 |
+
msgid "Date modified"
|
| 779 |
+
msgstr "変更日時"
|
| 780 |
+
|
| 781 |
+
#: includes/widgets/class-dlm-widget-downloads.php:180
|
| 782 |
+
msgid "Order:"
|
| 783 |
+
msgstr "順序:"
|
| 784 |
+
|
| 785 |
+
#: includes/widgets/class-dlm-widget-downloads.php:182
|
| 786 |
+
msgid "ASC"
|
| 787 |
+
msgstr "ASC"
|
| 788 |
+
|
| 789 |
+
#: includes/widgets/class-dlm-widget-downloads.php:183
|
| 790 |
+
msgid "DESC"
|
| 791 |
+
msgstr "DESC"
|
| 792 |
+
|
| 793 |
+
#: includes/widgets/class-dlm-widget-downloads.php:188
|
| 794 |
+
msgid "Show only featured downloads"
|
| 795 |
+
msgstr "注目のダウンロードのみに表示されます。"
|
| 796 |
+
|
| 797 |
+
#: includes/widgets/class-dlm-widget-downloads.php:192
|
| 798 |
+
msgid "Show only members only downloads"
|
| 799 |
+
msgstr "メンバーズオンリーのダウンロードのみに表示されます。"
|
| 800 |
+
|
| 801 |
+
#: templates/content-download-bouton-perso.php:11
|
| 802 |
+
#: templates/content-download-box.php:20
|
| 803 |
+
#: templates/content-download-filename.php:8 templates/content-download.php:8
|
| 804 |
+
#, php-format
|
| 805 |
+
msgid "Version %s"
|
| 806 |
+
msgstr "バージョン %s"
|
| 807 |
+
|
| 808 |
+
#: templates/content-download-box.php:12
|
| 809 |
+
#: templates/content-download-filename.php:9 templates/content-download.php:9
|
| 810 |
+
#, php-format
|
| 811 |
+
msgid "1 download"
|
| 812 |
+
msgid_plural "%d downloads"
|
| 813 |
+
msgstr[0] "1ダウンロード"
|
| 814 |
+
msgstr[1] "%dダウンロード"
|
| 815 |
+
|
| 816 |
+
#: templates/content-download-box.php:21
|
| 817 |
+
msgid "Download File"
|
| 818 |
+
msgstr "ファイルをダウンロード"
|
| 819 |
+
|
| 820 |
+
#: templates/content-download-button.php:9
|
| 821 |
+
#, php-format
|
| 822 |
+
msgid "Download “%s”"
|
| 823 |
+
msgstr "“%s” をダウンロード"
|
| 824 |
+
|
| 825 |
+
#: templates/content-download-button.php:10
|
| 826 |
+
#, php-format
|
| 827 |
+
msgid "Downloaded 1 time"
|
| 828 |
+
msgid_plural "Downloaded %d times"
|
| 829 |
+
msgstr[0] "1回ダウンロードされました"
|
| 830 |
+
msgstr[1] "%d回ダウンロードされました"
|
readme.txt
CHANGED
|
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=mike.jol
|
|
| 4 |
Tags: download, downloads, monitor, hits, download monitor, tracking, admin, count, counter, files, versions, download count, logging
|
| 5 |
Requires at least: 3.5
|
| 6 |
Tested up to: 3.5
|
| 7 |
-
Stable tag: 1.0.
|
| 8 |
License: GPLv3
|
| 9 |
|
| 10 |
Download Monitor is a plugin for uploading and managing downloads, tracking downloads, and displaying links.
|
|
@@ -34,7 +34,7 @@ Documentation will be maintained on the [GitHub Wiki here](https://github.com/mi
|
|
| 34 |
|
| 35 |
= Add-ons =
|
| 36 |
|
| 37 |
-
Add-ons, such as the __legacy importer__ and __page addon__
|
| 38 |
|
| 39 |
= Contributing and reporting bugs =
|
| 40 |
|
|
@@ -108,6 +108,12 @@ Admin hits are not counted, log out and try!
|
|
| 108 |
|
| 109 |
== Changelog ==
|
| 110 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 111 |
= 1.0.2 =
|
| 112 |
* Only use wp_remote_head to get fielsize on remote files. Prevents timeouts when a file doesn't exist.
|
| 113 |
* If a filesize cannot be found, set to -1 to prevent re-tries.
|
| 4 |
Tags: download, downloads, monitor, hits, download monitor, tracking, admin, count, counter, files, versions, download count, logging
|
| 5 |
Requires at least: 3.5
|
| 6 |
Tested up to: 3.5
|
| 7 |
+
Stable tag: 1.0.3
|
| 8 |
License: GPLv3
|
| 9 |
|
| 10 |
Download Monitor is a plugin for uploading and managing downloads, tracking downloads, and displaying links.
|
| 34 |
|
| 35 |
= Add-ons =
|
| 36 |
|
| 37 |
+
Add-ons, such as the __legacy importer__ and __page addon__ can be [found here](http://mikejolley.com/projects/download-monitor/add-ons/). Take a look!
|
| 38 |
|
| 39 |
= Contributing and reporting bugs =
|
| 40 |
|
| 108 |
|
| 109 |
== Changelog ==
|
| 110 |
|
| 111 |
+
= 1.0.3 =
|
| 112 |
+
* Fix config page to work with multibyte tab names.
|
| 113 |
+
* Japanese locale by hide92795
|
| 114 |
+
* Admin CSS/script conditonally loaded
|
| 115 |
+
* Versions are now strtolower to be compatible with version_compare and to standardise numbers.
|
| 116 |
+
|
| 117 |
= 1.0.2 =
|
| 118 |
* Only use wp_remote_head to get fielsize on remote files. Prevents timeouts when a file doesn't exist.
|
| 119 |
* If a filesize cannot be found, set to -1 to prevent re-tries.
|
